zudoku 0.0.0-f2fd45c → 0.0.0-f36627bd

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 (2110) hide show
  1. package/README.md +34 -14
  2. package/cli.js +10 -0
  3. package/dist/app/ZuploBuildConfig.d.ts +45 -0
  4. package/dist/app/ZuploBuildConfig.js +29 -0
  5. package/dist/app/ZuploBuildConfig.js.map +1 -0
  6. package/dist/app/demo.js +23 -10
  7. package/dist/app/demo.js.map +1 -1
  8. package/dist/app/entry.client.d.ts +6 -2
  9. package/dist/app/entry.client.js +54 -5
  10. package/dist/app/entry.client.js.map +1 -1
  11. package/dist/app/entry.server.d.ts +9 -8
  12. package/dist/app/entry.server.js +20 -18
  13. package/dist/app/entry.server.js.map +1 -1
  14. package/dist/app/env.d.ts +33 -0
  15. package/dist/app/env.js +37 -0
  16. package/dist/app/env.js.map +1 -0
  17. package/dist/app/main.d.ts +4 -3
  18. package/dist/app/main.js +51 -44
  19. package/dist/app/main.js.map +1 -1
  20. package/dist/app/sentry.d.ts +3 -0
  21. package/dist/app/sentry.js +19 -0
  22. package/dist/app/sentry.js.map +1 -0
  23. package/dist/app/standalone.js +12 -11
  24. package/dist/app/standalone.js.map +1 -1
  25. package/dist/cli/build/handler.d.ts +1 -3
  26. package/dist/cli/build/handler.js +18 -2
  27. package/dist/cli/build/handler.js.map +1 -1
  28. package/dist/cli/cli.js +19 -4
  29. package/dist/cli/cli.js.map +1 -1
  30. package/dist/cli/cmds/build.d.ts +11 -3
  31. package/dist/cli/cmds/build.js +21 -13
  32. package/dist/cli/cmds/build.js.map +1 -1
  33. package/dist/cli/cmds/dev.d.ts +1 -1
  34. package/dist/cli/cmds/dev.js +5 -0
  35. package/dist/cli/cmds/dev.js.map +1 -1
  36. package/dist/cli/cmds/preview.d.ts +16 -0
  37. package/dist/cli/cmds/preview.js +25 -0
  38. package/dist/cli/cmds/preview.js.map +1 -0
  39. package/dist/cli/common/analytics/lib.js +1 -1
  40. package/dist/cli/common/analytics/lib.js.map +1 -1
  41. package/dist/cli/common/logger.js +8 -0
  42. package/dist/cli/common/logger.js.map +1 -1
  43. package/dist/cli/common/machine-id/lib.js +3 -1
  44. package/dist/cli/common/machine-id/lib.js.map +1 -1
  45. package/dist/cli/common/outdated.js +4 -2
  46. package/dist/cli/common/outdated.js.map +1 -1
  47. package/dist/cli/common/output.js +2 -3
  48. package/dist/cli/common/output.js.map +1 -1
  49. package/dist/cli/common/utils/box.js +2 -2
  50. package/dist/cli/common/utils/box.js.map +1 -1
  51. package/dist/cli/common/utils/ports.d.ts +1 -1
  52. package/dist/cli/common/utils/ports.js +16 -15
  53. package/dist/cli/common/utils/ports.js.map +1 -1
  54. package/dist/cli/common/validators/lib.js +1 -1
  55. package/dist/cli/common/validators/lib.js.map +1 -1
  56. package/dist/cli/dev/handler.d.ts +1 -0
  57. package/dist/cli/dev/handler.js +14 -15
  58. package/dist/cli/dev/handler.js.map +1 -1
  59. package/dist/cli/preview/handler.d.ts +3 -0
  60. package/dist/cli/preview/handler.js +35 -0
  61. package/dist/cli/preview/handler.js.map +1 -0
  62. package/dist/codegen.d.ts +3 -0
  63. package/dist/codegen.js +45 -0
  64. package/dist/codegen.js.map +1 -0
  65. package/dist/config/config.d.ts +29 -13
  66. package/dist/config/file-exists.d.ts +1 -0
  67. package/dist/config/file-exists.js +5 -0
  68. package/dist/config/file-exists.js.map +1 -0
  69. package/dist/config/loader.d.ts +21 -0
  70. package/dist/config/loader.js +141 -0
  71. package/dist/config/loader.js.map +1 -0
  72. package/dist/config/validators/BuildSchema.d.ts +36 -0
  73. package/dist/config/validators/BuildSchema.js +25 -0
  74. package/dist/config/validators/BuildSchema.js.map +1 -0
  75. package/dist/config/validators/InputNavigationSchema.d.ts +7562 -0
  76. package/dist/config/validators/InputNavigationSchema.js +77 -0
  77. package/dist/config/validators/InputNavigationSchema.js.map +1 -0
  78. package/dist/config/validators/InputNavigationSchema.test-d.js +146 -0
  79. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -0
  80. package/dist/config/validators/NavigationSchema.d.ts +44 -0
  81. package/dist/config/validators/NavigationSchema.js +98 -0
  82. package/dist/config/validators/NavigationSchema.js.map +1 -0
  83. package/dist/config/validators/ProtectedRoutesSchema.d.ts +13 -0
  84. package/dist/config/validators/ProtectedRoutesSchema.js +10 -0
  85. package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -0
  86. package/dist/config/validators/auth.d.ts +2 -2
  87. package/dist/config/validators/auth.js +1 -1
  88. package/dist/config/validators/auth.js.map +1 -1
  89. package/dist/config/validators/icon-types.d.ts +2 -0
  90. package/dist/config/validators/icon-types.js +1853 -0
  91. package/dist/config/validators/icon-types.js.map +1 -0
  92. package/dist/config/validators/validate.d.ts +658 -1568
  93. package/dist/config/validators/validate.js +351 -147
  94. package/dist/config/validators/validate.js.map +1 -1
  95. package/dist/config/validators/validate.test.js +140 -0
  96. package/dist/config/validators/validate.test.js.map +1 -0
  97. package/dist/flat-config.d.ts +331 -0
  98. package/dist/index.d.ts +10 -5
  99. package/dist/index.js +6 -1
  100. package/dist/index.js.map +1 -1
  101. package/dist/lib/MissingIcon.d.ts +2 -0
  102. package/dist/lib/MissingIcon.js +7 -0
  103. package/dist/lib/MissingIcon.js.map +1 -0
  104. package/dist/lib/assets/language-icons/csharp.d.ts +3 -0
  105. package/dist/lib/assets/language-icons/csharp.js +4 -0
  106. package/dist/lib/assets/language-icons/csharp.js.map +1 -0
  107. package/dist/lib/assets/language-icons/css.d.ts +3 -0
  108. package/dist/lib/assets/language-icons/css.js +4 -0
  109. package/dist/lib/assets/language-icons/css.js.map +1 -0
  110. package/dist/lib/assets/language-icons/go.d.ts +3 -0
  111. package/dist/lib/assets/language-icons/go.js +4 -0
  112. package/dist/lib/assets/language-icons/go.js.map +1 -0
  113. package/dist/lib/assets/language-icons/graphql.d.ts +3 -0
  114. package/dist/lib/assets/language-icons/graphql.js +4 -0
  115. package/dist/lib/assets/language-icons/graphql.js.map +1 -0
  116. package/dist/lib/assets/language-icons/html.d.ts +3 -0
  117. package/dist/lib/assets/language-icons/html.js +4 -0
  118. package/dist/lib/assets/language-icons/html.js.map +1 -0
  119. package/dist/lib/assets/language-icons/java.d.ts +3 -0
  120. package/dist/lib/assets/language-icons/java.js +4 -0
  121. package/dist/lib/assets/language-icons/java.js.map +1 -0
  122. package/dist/lib/assets/language-icons/javascript.d.ts +3 -0
  123. package/dist/lib/assets/language-icons/javascript.js +4 -0
  124. package/dist/lib/assets/language-icons/javascript.js.map +1 -0
  125. package/dist/lib/assets/language-icons/json.d.ts +3 -0
  126. package/dist/lib/assets/language-icons/json.js +4 -0
  127. package/dist/lib/assets/language-icons/json.js.map +1 -0
  128. package/dist/lib/assets/language-icons/kotlin.d.ts +3 -0
  129. package/dist/lib/assets/language-icons/kotlin.js +4 -0
  130. package/dist/lib/assets/language-icons/kotlin.js.map +1 -0
  131. package/dist/lib/assets/language-icons/markdown.d.ts +3 -0
  132. package/dist/lib/assets/language-icons/markdown.js +4 -0
  133. package/dist/lib/assets/language-icons/markdown.js.map +1 -0
  134. package/dist/lib/assets/language-icons/mdx.d.ts +3 -0
  135. package/dist/lib/assets/language-icons/mdx.js +4 -0
  136. package/dist/lib/assets/language-icons/mdx.js.map +1 -0
  137. package/dist/lib/assets/language-icons/objectivec.d.ts +3 -0
  138. package/dist/lib/assets/language-icons/objectivec.js +4 -0
  139. package/dist/lib/assets/language-icons/objectivec.js.map +1 -0
  140. package/dist/lib/assets/language-icons/php.d.ts +3 -0
  141. package/dist/lib/assets/language-icons/php.js +4 -0
  142. package/dist/lib/assets/language-icons/php.js.map +1 -0
  143. package/dist/lib/assets/language-icons/python.d.ts +3 -0
  144. package/dist/lib/assets/language-icons/python.js +4 -0
  145. package/dist/lib/assets/language-icons/python.js.map +1 -0
  146. package/dist/lib/assets/language-icons/react.d.ts +3 -0
  147. package/dist/lib/assets/language-icons/react.js +4 -0
  148. package/dist/lib/assets/language-icons/react.js.map +1 -0
  149. package/dist/lib/assets/language-icons/ruby.d.ts +3 -0
  150. package/dist/lib/assets/language-icons/ruby.js +4 -0
  151. package/dist/lib/assets/language-icons/ruby.js.map +1 -0
  152. package/dist/lib/assets/language-icons/rust.d.ts +3 -0
  153. package/dist/lib/assets/language-icons/rust.js +4 -0
  154. package/dist/lib/assets/language-icons/rust.js.map +1 -0
  155. package/dist/lib/assets/language-icons/shell.d.ts +3 -0
  156. package/dist/lib/assets/language-icons/shell.js +4 -0
  157. package/dist/lib/assets/language-icons/shell.js.map +1 -0
  158. package/dist/lib/assets/language-icons/swift.d.ts +3 -0
  159. package/dist/lib/assets/language-icons/swift.js +4 -0
  160. package/dist/lib/assets/language-icons/swift.js.map +1 -0
  161. package/dist/lib/assets/language-icons/toml.d.ts +3 -0
  162. package/dist/lib/assets/language-icons/toml.js +4 -0
  163. package/dist/lib/assets/language-icons/toml.js.map +1 -0
  164. package/dist/lib/assets/language-icons/typescript.d.ts +3 -0
  165. package/dist/lib/assets/language-icons/typescript.js +4 -0
  166. package/dist/lib/assets/language-icons/typescript.js.map +1 -0
  167. package/dist/lib/assets/language-icons/xml.d.ts +3 -0
  168. package/dist/lib/assets/language-icons/xml.js +4 -0
  169. package/dist/lib/assets/language-icons/xml.js.map +1 -0
  170. package/dist/lib/assets/language-icons/yaml.d.ts +3 -0
  171. package/dist/lib/assets/language-icons/yaml.js +4 -0
  172. package/dist/lib/assets/language-icons/yaml.js.map +1 -0
  173. package/dist/lib/auth/issuer.d.ts +2 -0
  174. package/dist/lib/auth/issuer.js +37 -0
  175. package/dist/lib/auth/issuer.js.map +1 -0
  176. package/dist/lib/auth/issuer.test.js +95 -0
  177. package/dist/lib/auth/issuer.test.js.map +1 -0
  178. package/dist/lib/authentication/AuthenticationPlugin.d.ts +6 -4
  179. package/dist/lib/authentication/AuthenticationPlugin.js +4 -1
  180. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  181. package/dist/lib/authentication/authentication.d.ts +6 -7
  182. package/dist/lib/authentication/components/CallbackHandler.js +17 -11
  183. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  184. package/dist/lib/authentication/components/OAuthErrorPage.d.ts +3 -0
  185. package/dist/lib/authentication/components/OAuthErrorPage.js +99 -0
  186. package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -0
  187. package/dist/lib/authentication/components/SignIn.d.ts +1 -1
  188. package/dist/lib/authentication/components/SignIn.js +6 -2
  189. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  190. package/dist/lib/authentication/components/SignOut.js +2 -2
  191. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  192. package/dist/lib/authentication/components/SignUp.d.ts +1 -1
  193. package/dist/lib/authentication/components/SignUp.js +4 -1
  194. package/dist/lib/authentication/components/SignUp.js.map +1 -1
  195. package/dist/lib/authentication/errors.d.ts +6 -12
  196. package/dist/lib/authentication/errors.js +2 -1
  197. package/dist/lib/authentication/errors.js.map +1 -1
  198. package/dist/lib/authentication/hook.d.ts +13 -4
  199. package/dist/lib/authentication/hook.js +12 -4
  200. package/dist/lib/authentication/hook.js.map +1 -1
  201. package/dist/lib/authentication/providers/auth0.d.ts +2 -2
  202. package/dist/lib/authentication/providers/auth0.js +15 -14
  203. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  204. package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
  205. package/dist/lib/authentication/providers/azureb2c.js +147 -0
  206. package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
  207. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  208. package/dist/lib/authentication/providers/clerk.js +111 -49
  209. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  210. package/dist/lib/authentication/providers/openid.d.ts +26 -21
  211. package/dist/lib/authentication/providers/openid.js +112 -73
  212. package/dist/lib/authentication/providers/openid.js.map +1 -1
  213. package/dist/lib/authentication/providers/supabase.d.ts +4 -0
  214. package/dist/lib/authentication/providers/supabase.js +109 -0
  215. package/dist/lib/authentication/providers/supabase.js.map +1 -0
  216. package/dist/lib/authentication/state.d.ts +24 -19
  217. package/dist/lib/authentication/state.js +47 -7
  218. package/dist/lib/authentication/state.js.map +1 -1
  219. package/dist/lib/authentication/use-broadcast/shared.d.ts +48 -0
  220. package/dist/lib/authentication/use-broadcast/shared.js +243 -0
  221. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -0
  222. package/dist/lib/authentication/use-broadcast/useBroadcast.d.ts +24 -0
  223. package/dist/lib/authentication/use-broadcast/useBroadcast.js +106 -0
  224. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -0
  225. package/dist/lib/components/AnchorLink.d.ts +2 -2
  226. package/dist/lib/components/AnchorLink.js +9 -5
  227. package/dist/lib/components/AnchorLink.js.map +1 -1
  228. package/dist/lib/components/Autocomplete.d.ts +13 -0
  229. package/dist/lib/components/Autocomplete.js +47 -0
  230. package/dist/lib/components/Autocomplete.js.map +1 -0
  231. package/dist/lib/components/Banner.js +2 -2
  232. package/dist/lib/components/Banner.js.map +1 -1
  233. package/dist/lib/components/Bootstrap.d.ts +5 -3
  234. package/dist/lib/components/Bootstrap.js +13 -6
  235. package/dist/lib/components/Bootstrap.js.map +1 -1
  236. package/dist/lib/components/BuildCheck.d.ts +5 -0
  237. package/dist/lib/components/BuildCheck.js +45 -0
  238. package/dist/lib/components/BuildCheck.js.map +1 -0
  239. package/dist/lib/components/CategoryHeading.js +1 -1
  240. package/dist/lib/components/CategoryHeading.js.map +1 -1
  241. package/dist/lib/components/ClientOnly.d.ts +4 -2
  242. package/dist/lib/components/ClientOnly.js +1 -1
  243. package/dist/lib/components/ClientOnly.js.map +1 -1
  244. package/dist/lib/components/DeveloperHint.js +2 -1
  245. package/dist/lib/components/DeveloperHint.js.map +1 -1
  246. package/dist/lib/components/ErrorPage.js +2 -2
  247. package/dist/lib/components/ErrorPage.js.map +1 -1
  248. package/dist/lib/components/Footer.d.ts +1 -0
  249. package/dist/lib/components/Footer.js +32 -0
  250. package/dist/lib/components/Footer.js.map +1 -0
  251. package/dist/lib/components/Framed.d.ts +7 -0
  252. package/dist/lib/components/Framed.js +26 -0
  253. package/dist/lib/components/Framed.js.map +1 -0
  254. package/dist/lib/components/Header.js +32 -19
  255. package/dist/lib/components/Header.js.map +1 -1
  256. package/dist/lib/components/Heading.d.ts +10 -6
  257. package/dist/lib/components/Heading.js +8 -3
  258. package/dist/lib/components/Heading.js.map +1 -1
  259. package/dist/lib/components/InlineCode.d.ts +2 -1
  260. package/dist/lib/components/InlineCode.js +2 -9
  261. package/dist/lib/components/InlineCode.js.map +1 -1
  262. package/dist/lib/components/LanguageIcon.d.ts +3 -0
  263. package/dist/lib/components/LanguageIcon.js +118 -0
  264. package/dist/lib/components/LanguageIcon.js.map +1 -0
  265. package/dist/lib/components/Layout.js +10 -24
  266. package/dist/lib/components/Layout.js.map +1 -1
  267. package/dist/lib/components/Main.d.ts +2 -0
  268. package/dist/lib/components/Main.js +18 -0
  269. package/dist/lib/components/Main.js.map +1 -0
  270. package/dist/lib/components/Markdown.d.ts +4 -3
  271. package/dist/lib/components/Markdown.js +14 -14
  272. package/dist/lib/components/Markdown.js.map +1 -1
  273. package/dist/lib/components/Meta.d.ts +2 -0
  274. package/dist/lib/components/Meta.js +11 -0
  275. package/dist/lib/components/Meta.js.map +1 -0
  276. package/dist/lib/components/MobileTopNavigation.js +18 -9
  277. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  278. package/dist/lib/components/NotFoundPage.js +3 -3
  279. package/dist/lib/components/NotFoundPage.js.map +1 -1
  280. package/dist/lib/components/PageProgress.d.ts +1 -0
  281. package/dist/lib/components/PageProgress.js +20 -0
  282. package/dist/lib/components/PageProgress.js.map +1 -0
  283. package/dist/lib/components/Pagination.d.ts +11 -0
  284. package/dist/lib/components/Pagination.js +10 -0
  285. package/dist/lib/components/Pagination.js.map +1 -0
  286. package/dist/lib/components/PathRenderer.d.ts +11 -0
  287. package/dist/lib/components/PathRenderer.js +28 -0
  288. package/dist/lib/components/PathRenderer.js.map +1 -0
  289. package/dist/lib/components/Search.d.ts +3 -1
  290. package/dist/lib/components/Search.js +10 -4
  291. package/dist/lib/components/Search.js.map +1 -1
  292. package/dist/lib/components/Slot.d.ts +17 -0
  293. package/dist/lib/components/Slot.js +24 -0
  294. package/dist/lib/components/Slot.js.map +1 -0
  295. package/dist/lib/components/Slot.test.d.ts +1 -0
  296. package/dist/lib/components/Slot.test.js +172 -0
  297. package/dist/lib/components/Slot.test.js.map +1 -0
  298. package/dist/lib/components/StatusPage.d.ts +7 -0
  299. package/dist/lib/components/StatusPage.js +75 -0
  300. package/dist/lib/components/StatusPage.js.map +1 -0
  301. package/dist/lib/components/ThemeSwitch.d.ts +1 -0
  302. package/dist/lib/components/ThemeSwitch.js +16 -0
  303. package/dist/lib/components/ThemeSwitch.js.map +1 -0
  304. package/dist/lib/components/TopNavigation.d.ts +7 -3
  305. package/dist/lib/components/TopNavigation.js +55 -37
  306. package/dist/lib/components/TopNavigation.js.map +1 -1
  307. package/dist/lib/components/Typography.d.ts +5 -0
  308. package/dist/lib/components/Typography.js +8 -0
  309. package/dist/lib/components/Typography.js.map +1 -0
  310. package/dist/lib/components/Zudoku.d.ts +7 -0
  311. package/dist/lib/components/Zudoku.js +58 -0
  312. package/dist/lib/components/Zudoku.js.map +1 -0
  313. package/dist/lib/components/cache.d.ts +13 -0
  314. package/dist/lib/components/cache.js +20 -0
  315. package/dist/lib/components/cache.js.map +1 -0
  316. package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
  317. package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
  318. package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
  319. package/dist/lib/components/context/ComponentsContext.js.map +1 -1
  320. package/dist/lib/components/context/RouterEventsEmitter.d.ts +1 -0
  321. package/dist/lib/components/context/RouterEventsEmitter.js +17 -0
  322. package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -0
  323. package/dist/lib/components/context/SlotProvider.d.ts +26 -0
  324. package/dist/lib/components/context/SlotProvider.js +83 -0
  325. package/dist/lib/components/context/SlotProvider.js.map +1 -0
  326. package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
  327. package/dist/lib/components/context/ViewportAnchorContext.js +30 -24
  328. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  329. package/dist/lib/components/context/ZudokuContext.d.ts +9 -13
  330. package/dist/lib/components/context/ZudokuContext.js +64 -31
  331. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  332. package/dist/lib/components/context/ZudokuProvider.d.ts +2 -2
  333. package/dist/lib/components/context/ZudokuProvider.js +2 -1
  334. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  335. package/dist/lib/components/index.d.ts +65 -32
  336. package/dist/lib/components/index.js +26 -17
  337. package/dist/lib/components/index.js.map +1 -1
  338. package/dist/lib/components/navigation/Navigation.d.ts +5 -0
  339. package/dist/lib/components/navigation/Navigation.js +12 -0
  340. package/dist/lib/components/navigation/Navigation.js.map +1 -0
  341. package/dist/lib/components/navigation/NavigationBadge.d.ts +26 -0
  342. package/dist/lib/components/navigation/NavigationBadge.js +26 -0
  343. package/dist/lib/components/navigation/NavigationBadge.js.map +1 -0
  344. package/dist/lib/components/navigation/NavigationCategory.d.ts +5 -0
  345. package/dist/lib/components/navigation/NavigationCategory.js +66 -0
  346. package/dist/lib/components/navigation/NavigationCategory.js.map +1 -0
  347. package/dist/lib/components/navigation/NavigationItem.d.ts +6 -0
  348. package/dist/lib/components/navigation/NavigationItem.js +55 -0
  349. package/dist/lib/components/navigation/NavigationItem.js.map +1 -0
  350. package/dist/lib/components/navigation/NavigationWrapper.d.ts +7 -0
  351. package/dist/lib/components/navigation/NavigationWrapper.js +21 -0
  352. package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -0
  353. package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
  354. package/dist/lib/components/navigation/PoweredByZudoku.js +7 -0
  355. package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
  356. package/dist/lib/components/navigation/Toc.js +46 -0
  357. package/dist/lib/components/navigation/Toc.js.map +1 -0
  358. package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
  359. package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
  360. package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
  361. package/dist/lib/components/navigation/ZuploLogo.d.ts +3 -0
  362. package/dist/lib/components/navigation/ZuploLogo.js +4 -0
  363. package/dist/lib/components/navigation/ZuploLogo.js.map +1 -0
  364. package/dist/lib/components/navigation/utils.d.ts +16 -8
  365. package/dist/lib/components/navigation/utils.js +59 -28
  366. package/dist/lib/components/navigation/utils.js.map +1 -1
  367. package/dist/lib/core/RouteGuard.d.ts +2 -0
  368. package/dist/lib/core/RouteGuard.js +52 -0
  369. package/dist/lib/core/RouteGuard.js.map +1 -0
  370. package/dist/lib/core/ZudokuContext.d.ts +115 -0
  371. package/dist/lib/core/ZudokuContext.js +104 -0
  372. package/dist/lib/core/ZudokuContext.js.map +1 -0
  373. package/dist/lib/core/__internal.d.ts +37 -0
  374. package/dist/lib/core/__internal.js +26 -0
  375. package/dist/lib/core/__internal.js.map +1 -0
  376. package/dist/lib/core/plugins.d.ts +37 -19
  377. package/dist/lib/core/plugins.js +4 -0
  378. package/dist/lib/core/plugins.js.map +1 -1
  379. package/dist/lib/core/router.d.ts +1 -0
  380. package/dist/lib/core/router.js +2 -0
  381. package/dist/lib/core/router.js.map +1 -0
  382. package/dist/lib/errors/ErrorAlert.js +5 -2
  383. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  384. package/dist/lib/errors/RouterError.js +1 -1
  385. package/dist/lib/errors/RouterError.js.map +1 -1
  386. package/dist/lib/errors/TopLevelError.d.ts +2 -2
  387. package/dist/lib/errors/TopLevelError.js +1 -2
  388. package/dist/lib/errors/TopLevelError.js.map +1 -1
  389. package/dist/lib/hooks/index.d.ts +28 -0
  390. package/dist/lib/hooks/index.js +16 -0
  391. package/dist/lib/hooks/index.js.map +1 -0
  392. package/dist/lib/hooks/useEvent.d.ts +11 -0
  393. package/dist/lib/hooks/useEvent.js +19 -0
  394. package/dist/lib/hooks/useEvent.js.map +1 -0
  395. package/dist/lib/hooks/useEvent.test.d.ts +1 -0
  396. package/dist/lib/hooks/useEvent.test.js +102 -0
  397. package/dist/lib/hooks/useEvent.test.js.map +1 -0
  398. package/dist/lib/hooks/useHotkey.d.ts +4 -0
  399. package/dist/lib/hooks/useHotkey.js +58 -0
  400. package/dist/lib/hooks/useHotkey.js.map +1 -0
  401. package/dist/lib/icons.d.ts +1 -0
  402. package/dist/lib/icons.js +1 -0
  403. package/dist/lib/icons.js.map +1 -1
  404. package/dist/lib/oas/graphql/circular.d.ts +3 -0
  405. package/dist/lib/oas/graphql/circular.js +43 -0
  406. package/dist/lib/oas/graphql/circular.js.map +1 -0
  407. package/dist/lib/oas/graphql/index.d.ts +25 -1
  408. package/dist/lib/oas/graphql/index.js +236 -70
  409. package/dist/lib/oas/graphql/index.js.map +1 -1
  410. package/dist/lib/oas/parser/dereference/index.js +10 -4
  411. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  412. package/dist/lib/oas/parser/dereference/resolveRef.js +3 -3
  413. package/dist/lib/oas/parser/dereference/resolveRef.js.map +1 -1
  414. package/dist/lib/oas/parser/index.d.ts +8 -3
  415. package/dist/lib/oas/parser/index.js +8 -24
  416. package/dist/lib/oas/parser/index.js.map +1 -1
  417. package/dist/lib/oas/parser/upgrade/index.d.ts +3 -2
  418. package/dist/lib/oas/parser/upgrade/index.js +84 -31
  419. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  420. package/dist/lib/plugins/api-catalog/Catalog.d.ts +4 -0
  421. package/dist/lib/plugins/api-catalog/Catalog.js +32 -0
  422. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
  423. package/dist/lib/plugins/api-catalog/index.d.ts +31 -0
  424. package/dist/lib/plugins/api-catalog/index.js +46 -0
  425. package/dist/lib/plugins/api-catalog/index.js.map +1 -0
  426. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
  427. package/dist/lib/plugins/api-keys/CreateApiKey.js +25 -7
  428. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  429. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.d.ts +11 -0
  430. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js +9 -0
  431. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js.map +1 -0
  432. package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
  433. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
  434. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  435. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +146 -27
  436. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  437. package/dist/lib/plugins/api-keys/index.d.ts +33 -18
  438. package/dist/lib/plugins/api-keys/index.js +65 -31
  439. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  440. package/dist/lib/plugins/custom-pages/index.d.ts +4 -6
  441. package/dist/lib/plugins/custom-pages/index.js +18 -10
  442. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  443. package/dist/lib/plugins/markdown/MdxPage.d.ts +9 -2
  444. package/dist/lib/plugins/markdown/MdxPage.js +43 -10
  445. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  446. package/dist/lib/plugins/markdown/index.d.ts +14 -4
  447. package/dist/lib/plugins/markdown/index.js +9 -26
  448. package/dist/lib/plugins/markdown/index.js.map +1 -1
  449. package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +5 -0
  450. package/dist/lib/plugins/openapi/CollapsibleCode.js +25 -0
  451. package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -0
  452. package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
  453. package/dist/lib/plugins/openapi/ColorizedParam.js +32 -14
  454. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  455. package/dist/lib/plugins/openapi/Endpoint.js +13 -16
  456. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  457. package/dist/lib/plugins/openapi/MCPEndpoint.d.ts +5 -0
  458. package/dist/lib/plugins/openapi/MCPEndpoint.js +65 -0
  459. package/dist/lib/plugins/openapi/MCPEndpoint.js.map +1 -0
  460. package/dist/lib/plugins/openapi/OasProvider.d.ts +8 -0
  461. package/dist/lib/plugins/openapi/OasProvider.js +30 -0
  462. package/dist/lib/plugins/openapi/OasProvider.js.map +1 -0
  463. package/dist/lib/plugins/openapi/OperationList.d.ts +5 -4
  464. package/dist/lib/plugins/openapi/OperationList.js +126 -31
  465. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  466. package/dist/lib/plugins/openapi/OperationListItem.d.ts +5 -3
  467. package/dist/lib/plugins/openapi/OperationListItem.js +18 -8
  468. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  469. package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
  470. package/dist/lib/plugins/openapi/ParamInfos.js +47 -0
  471. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
  472. package/dist/lib/plugins/openapi/ParameterList.d.ts +4 -3
  473. package/dist/lib/plugins/openapi/ParameterList.js +4 -3
  474. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  475. package/dist/lib/plugins/openapi/ParameterListItem.d.ts +2 -3
  476. package/dist/lib/plugins/openapi/ParameterListItem.js +19 -1
  477. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  478. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +5 -4
  479. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +17 -4
  480. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  481. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +4 -5
  482. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +5 -9
  483. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  484. package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +2 -4
  485. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +4 -6
  486. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  487. package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
  488. package/dist/lib/plugins/openapi/SchemaList.js +52 -0
  489. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
  490. package/dist/lib/plugins/openapi/Sidecar.d.ts +3 -3
  491. package/dist/lib/plugins/openapi/Sidecar.js +89 -118
  492. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  493. package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
  494. package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
  495. package/dist/lib/plugins/openapi/SidecarExamples.d.ts +7 -0
  496. package/dist/lib/plugins/openapi/SidecarExamples.js +76 -0
  497. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
  498. package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
  499. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
  500. package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
  501. package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +8 -0
  502. package/dist/lib/plugins/openapi/client/GraphQLClient.js +43 -0
  503. package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -0
  504. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +7 -0
  505. package/dist/lib/plugins/openapi/client/GraphQLContext.js +5 -0
  506. package/dist/lib/plugins/openapi/client/GraphQLContext.js.map +1 -0
  507. package/dist/lib/plugins/openapi/client/createServer.d.ts +3 -1
  508. package/dist/lib/plugins/openapi/client/createServer.js +6 -4
  509. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  510. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +14 -0
  511. package/dist/lib/plugins/openapi/client/useCreateQuery.js +20 -0
  512. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -0
  513. package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
  514. package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
  515. package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
  516. package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
  517. package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
  518. package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
  519. package/dist/lib/plugins/openapi/components/ResponseContent.d.ts +12 -0
  520. package/dist/lib/plugins/openapi/components/ResponseContent.js +21 -0
  521. package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
  522. package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
  523. package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
  524. package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
  525. package/dist/lib/plugins/openapi/context.d.ts +3 -3
  526. package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +3 -3
  527. package/dist/lib/plugins/openapi/graphql/fragment-masking.js +3 -4
  528. package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  529. package/dist/lib/plugins/openapi/graphql/gql.d.ts +8 -46
  530. package/dist/lib/plugins/openapi/graphql/gql.js +5 -13
  531. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  532. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +145 -25
  533. package/dist/lib/plugins/openapi/graphql/graphql.js +242 -662
  534. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  535. package/dist/lib/plugins/openapi/index.d.ts +11 -8
  536. package/dist/lib/plugins/openapi/index.js +107 -104
  537. package/dist/lib/plugins/openapi/index.js.map +1 -1
  538. package/dist/lib/plugins/openapi/interfaces.d.ts +58 -4
  539. package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +5 -0
  540. package/dist/lib/plugins/openapi/playground/BodyPanel.js +26 -0
  541. package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -0
  542. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.d.ts +8 -0
  543. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +11 -0
  544. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -0
  545. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +6 -0
  546. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +9 -0
  547. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -0
  548. package/dist/lib/plugins/openapi/playground/Headers.d.ts +5 -4
  549. package/dist/lib/plugins/openapi/playground/Headers.js +108 -7
  550. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  551. package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
  552. package/dist/lib/plugins/openapi/playground/IdentityDialog.js +15 -0
  553. package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
  554. package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
  555. package/dist/lib/plugins/openapi/playground/IdentitySelector.js +7 -0
  556. package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
  557. package/dist/lib/plugins/openapi/playground/InlineInput.js +1 -1
  558. package/dist/lib/plugins/openapi/playground/InlineInput.js.map +1 -1
  559. package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +9 -0
  560. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +5 -0
  561. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -0
  562. package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
  563. package/dist/lib/plugins/openapi/playground/PathParams.js +4 -7
  564. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  565. package/dist/lib/plugins/openapi/playground/Playground.d.ts +32 -2
  566. package/dist/lib/plugins/openapi/playground/Playground.js +168 -84
  567. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  568. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
  569. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  570. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +4 -4
  571. package/dist/lib/plugins/openapi/playground/QueryParams.js +43 -22
  572. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  573. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +7 -0
  574. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +8 -0
  575. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
  576. package/dist/lib/plugins/openapi/playground/Spinner.d.ts +2 -0
  577. package/dist/lib/plugins/openapi/playground/Spinner.js +63 -0
  578. package/dist/lib/plugins/openapi/playground/Spinner.js.map +1 -0
  579. package/dist/lib/plugins/openapi/playground/fileUtils.d.ts +2 -0
  580. package/dist/lib/plugins/openapi/playground/fileUtils.js +22 -0
  581. package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -0
  582. package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +17 -0
  583. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
  584. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
  585. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.d.ts +3 -0
  586. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js +13 -0
  587. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js.map +1 -0
  588. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.d.ts +1 -0
  589. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +12 -0
  590. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -0
  591. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +12 -0
  592. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js +11 -0
  593. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js.map +1 -0
  594. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.d.ts +8 -0
  595. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +71 -0
  596. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -0
  597. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +14 -0
  598. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +103 -0
  599. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -0
  600. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +11 -0
  601. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +15 -0
  602. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -0
  603. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +10 -0
  604. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +32 -0
  605. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -0
  606. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.d.ts +1 -0
  607. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js +56 -0
  608. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js.map +1 -0
  609. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +16 -0
  610. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +10 -0
  611. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -0
  612. package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +8 -0
  613. package/dist/lib/plugins/openapi/processors/removeExtensions.js +16 -0
  614. package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -0
  615. package/dist/lib/plugins/openapi/processors/removeExtensions.test.d.ts +1 -0
  616. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +195 -0
  617. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
  618. package/dist/lib/plugins/openapi/processors/removeParameters.d.ts +12 -0
  619. package/dist/lib/plugins/openapi/processors/removeParameters.js +66 -0
  620. package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -0
  621. package/dist/lib/plugins/openapi/processors/removeParameters.test.d.ts +1 -0
  622. package/dist/lib/plugins/openapi/processors/removeParameters.test.js +160 -0
  623. package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
  624. package/dist/lib/plugins/openapi/processors/removePaths.d.ts +13 -0
  625. package/dist/lib/plugins/openapi/processors/removePaths.js +33 -0
  626. package/dist/lib/plugins/openapi/processors/removePaths.js.map +1 -0
  627. package/dist/lib/plugins/openapi/processors/removePaths.test.d.ts +1 -0
  628. package/dist/lib/plugins/openapi/processors/removePaths.test.js +144 -0
  629. package/dist/lib/plugins/openapi/processors/removePaths.test.js.map +1 -0
  630. package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -0
  631. package/dist/lib/plugins/openapi/processors/traverse.js +2 -0
  632. package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -0
  633. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.d.ts +5 -0
  634. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js +7 -0
  635. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js.map +1 -0
  636. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.d.ts +4 -0
  637. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js +10 -0
  638. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js.map +1 -0
  639. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.d.ts +5 -0
  640. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js +16 -0
  641. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js.map +1 -0
  642. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
  643. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +15 -0
  644. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
  645. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +8 -0
  646. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +36 -0
  647. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
  648. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +3 -2
  649. package/dist/lib/plugins/openapi/schema/SchemaView.js +45 -51
  650. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  651. package/dist/lib/plugins/openapi/schema/UnionView.d.ts +5 -0
  652. package/dist/lib/plugins/openapi/schema/UnionView.js +36 -0
  653. package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -0
  654. package/dist/lib/plugins/openapi/schema/union-helpers.d.ts +28 -0
  655. package/dist/lib/plugins/openapi/schema/union-helpers.js +72 -0
  656. package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -0
  657. package/dist/lib/plugins/openapi/schema/utils.d.ts +7 -7
  658. package/dist/lib/plugins/openapi/schema/utils.js +16 -10
  659. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  660. package/dist/lib/plugins/openapi/state.d.ts +25 -0
  661. package/dist/lib/plugins/openapi/state.js +18 -0
  662. package/dist/lib/plugins/openapi/state.js.map +1 -0
  663. package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +11 -0
  664. package/dist/lib/plugins/openapi/util/createHttpSnippet.js +89 -0
  665. package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -0
  666. package/dist/lib/plugins/openapi/util/createNavigationCategory.d.ts +9 -0
  667. package/dist/lib/plugins/openapi/util/createNavigationCategory.js +25 -0
  668. package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -0
  669. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +2 -3
  670. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +79 -39
  671. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  672. package/dist/lib/plugins/openapi/util/getRoutes.d.ts +10 -0
  673. package/dist/lib/plugins/openapi/util/getRoutes.js +117 -0
  674. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -0
  675. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +2 -0
  676. package/dist/lib/plugins/openapi/util/methodColorMap.js +10 -0
  677. package/dist/lib/plugins/openapi/util/methodColorMap.js.map +1 -0
  678. package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
  679. package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
  680. package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
  681. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
  682. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
  683. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
  684. package/dist/lib/plugins/redirect/index.d.ts +3 -3
  685. package/dist/lib/plugins/redirect/index.js +1 -1
  686. package/dist/lib/plugins/redirect/index.js.map +1 -1
  687. package/dist/lib/plugins/search-inkeep/index.d.ts +8 -6
  688. package/dist/lib/plugins/search-inkeep/index.js +49 -7
  689. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  690. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +2 -19
  691. package/dist/lib/plugins/search-inkeep/inkeep.js +10 -19
  692. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  693. package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
  694. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +80 -0
  695. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -0
  696. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +8 -0
  697. package/dist/lib/plugins/search-pagefind/ResultList.js +42 -0
  698. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -0
  699. package/dist/lib/plugins/search-pagefind/get-results.d.ts +10 -0
  700. package/dist/lib/plugins/search-pagefind/get-results.js +41 -0
  701. package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -0
  702. package/dist/lib/plugins/search-pagefind/index.d.ts +6 -0
  703. package/dist/lib/plugins/search-pagefind/index.js +9 -0
  704. package/dist/lib/plugins/search-pagefind/index.js.map +1 -0
  705. package/dist/lib/plugins/search-pagefind/types.d.ts +85 -0
  706. package/dist/lib/plugins/search-pagefind/types.js +2 -0
  707. package/dist/lib/plugins/search-pagefind/types.js.map +1 -0
  708. package/dist/lib/shiki.d.ts +32 -0
  709. package/dist/lib/shiki.js +104 -0
  710. package/dist/lib/shiki.js.map +1 -0
  711. package/dist/lib/ui/ActionButton.d.ts +4 -0
  712. package/dist/lib/ui/ActionButton.js +10 -0
  713. package/dist/lib/ui/ActionButton.js.map +1 -0
  714. package/dist/lib/ui/Alert.d.ts +6 -5
  715. package/dist/lib/ui/Alert.js +12 -10
  716. package/dist/lib/ui/Alert.js.map +1 -1
  717. package/dist/lib/ui/Badge.d.ts +2 -2
  718. package/dist/lib/ui/Badge.js +2 -1
  719. package/dist/lib/ui/Badge.js.map +1 -1
  720. package/dist/lib/ui/Breadcrumb.js +1 -1
  721. package/dist/lib/ui/Breadcrumb.js.map +1 -1
  722. package/dist/lib/ui/Button.d.ts +3 -3
  723. package/dist/lib/ui/Button.js +9 -6
  724. package/dist/lib/ui/Button.js.map +1 -1
  725. package/dist/lib/ui/Callout.d.ts +2 -1
  726. package/dist/lib/ui/Callout.js +3 -2
  727. package/dist/lib/ui/Callout.js.map +1 -1
  728. package/dist/lib/ui/Card.js +1 -1
  729. package/dist/lib/ui/Card.js.map +1 -1
  730. package/dist/lib/ui/Carousel.js.map +1 -1
  731. package/dist/lib/ui/Checkbox.js +1 -1
  732. package/dist/lib/ui/Checkbox.js.map +1 -1
  733. package/dist/lib/ui/CodeBlock.d.ts +15 -0
  734. package/dist/lib/ui/CodeBlock.js +18 -0
  735. package/dist/lib/ui/CodeBlock.js.map +1 -0
  736. package/dist/lib/ui/Command.d.ts +18 -4
  737. package/dist/lib/ui/Command.js +7 -7
  738. package/dist/lib/ui/Command.js.map +1 -1
  739. package/dist/lib/ui/Dialog.d.ts +3 -1
  740. package/dist/lib/ui/Dialog.js +2 -2
  741. package/dist/lib/ui/Dialog.js.map +1 -1
  742. package/dist/lib/ui/DropdownMenu.js +4 -4
  743. package/dist/lib/ui/DropdownMenu.js.map +1 -1
  744. package/dist/lib/ui/EmbeddedCodeBlock.d.ts +15 -0
  745. package/dist/lib/ui/EmbeddedCodeBlock.js +18 -0
  746. package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  747. package/dist/lib/ui/Form.d.ts +3 -3
  748. package/dist/lib/ui/HoverCard.js +1 -1
  749. package/dist/lib/ui/HoverCard.js.map +1 -1
  750. package/dist/lib/ui/Input.d.ts +1 -2
  751. package/dist/lib/ui/Input.js +1 -1
  752. package/dist/lib/ui/Input.js.map +1 -1
  753. package/dist/lib/ui/Pagination.d.ts +1 -1
  754. package/dist/lib/ui/Pagination.js +1 -1
  755. package/dist/lib/ui/Pagination.js.map +1 -1
  756. package/dist/lib/ui/Popover.js +1 -1
  757. package/dist/lib/ui/Popover.js.map +1 -1
  758. package/dist/lib/ui/RadioGroup.js +1 -1
  759. package/dist/lib/ui/RadioGroup.js.map +1 -1
  760. package/dist/lib/ui/ReactComponentDoc.d.ts +20 -0
  761. package/dist/lib/ui/ReactComponentDoc.js +10 -0
  762. package/dist/lib/ui/ReactComponentDoc.js.map +1 -0
  763. package/dist/lib/ui/Secret.d.ts +12 -0
  764. package/dist/lib/ui/Secret.js +23 -0
  765. package/dist/lib/ui/Secret.js.map +1 -0
  766. package/dist/lib/ui/Select.js +4 -4
  767. package/dist/lib/ui/Select.js.map +1 -1
  768. package/dist/lib/ui/Slider.js +1 -1
  769. package/dist/lib/ui/Slider.js.map +1 -1
  770. package/dist/lib/ui/Stepper.d.ts +3 -0
  771. package/dist/lib/ui/Stepper.js +7 -0
  772. package/dist/lib/ui/Stepper.js.map +1 -0
  773. package/dist/lib/ui/Switch.js +1 -1
  774. package/dist/lib/ui/Switch.js.map +1 -1
  775. package/dist/lib/ui/SyntaxHighlight.d.ts +12 -0
  776. package/dist/lib/ui/SyntaxHighlight.js +15 -0
  777. package/dist/lib/ui/SyntaxHighlight.js.map +1 -0
  778. package/dist/lib/ui/Tabs.js +2 -2
  779. package/dist/lib/ui/Tabs.js.map +1 -1
  780. package/dist/lib/ui/Textarea.js +1 -1
  781. package/dist/lib/ui/Textarea.js.map +1 -1
  782. package/dist/lib/ui/Toggle.js +1 -1
  783. package/dist/lib/ui/Toggle.js.map +1 -1
  784. package/dist/lib/ui/ToggleGroup.d.ts +1 -1
  785. package/dist/lib/ui/Tooltip.d.ts +2 -1
  786. package/dist/lib/ui/Tooltip.js +2 -1
  787. package/dist/lib/ui/Tooltip.js.map +1 -1
  788. package/dist/lib/ui/Value.d.ts +5 -0
  789. package/dist/lib/ui/Value.js +13 -0
  790. package/dist/lib/ui/Value.js.map +1 -0
  791. package/dist/lib/ui/util.d.ts +2 -0
  792. package/dist/lib/ui/util.js +3 -0
  793. package/dist/lib/ui/util.js.map +1 -0
  794. package/dist/lib/util/MdxComponents.d.ts +38 -21
  795. package/dist/lib/util/MdxComponents.js +23 -17
  796. package/dist/lib/util/MdxComponents.js.map +1 -1
  797. package/dist/lib/util/cn.js.map +1 -1
  798. package/dist/lib/util/createVariantComponent.d.ts +3 -3
  799. package/dist/lib/util/createVariantComponent.js.map +1 -1
  800. package/dist/lib/util/detectOS.d.ts +1 -0
  801. package/dist/lib/util/detectOS.js +11 -0
  802. package/dist/lib/util/detectOS.js.map +1 -0
  803. package/dist/lib/util/ensureArray.d.ts +1 -0
  804. package/dist/lib/util/ensureArray.js +2 -0
  805. package/dist/lib/util/ensureArray.js.map +1 -0
  806. package/dist/lib/util/groupBy.js +1 -0
  807. package/dist/lib/util/groupBy.js.map +1 -1
  808. package/dist/lib/util/humanFileSize.d.ts +6 -0
  809. package/dist/lib/util/humanFileSize.js +14 -0
  810. package/dist/lib/util/humanFileSize.js.map +1 -0
  811. package/dist/lib/util/humanFileSize.test.d.ts +1 -0
  812. package/dist/lib/util/humanFileSize.test.js +22 -0
  813. package/dist/lib/util/humanFileSize.test.js.map +1 -0
  814. package/dist/lib/util/invariant.d.ts +6 -5
  815. package/dist/lib/util/invariant.js +4 -2
  816. package/dist/lib/util/invariant.js.map +1 -1
  817. package/dist/lib/util/joinPath.d.ts +3 -0
  818. package/dist/lib/util/joinPath.js +3 -0
  819. package/dist/lib/util/joinPath.js.map +1 -1
  820. package/dist/lib/util/joinUrl.d.ts +1 -0
  821. package/dist/lib/util/joinUrl.js +40 -0
  822. package/dist/lib/util/joinUrl.js.map +1 -0
  823. package/dist/lib/util/joinUrl.test.d.ts +1 -0
  824. package/dist/lib/util/joinUrl.test.js +43 -0
  825. package/dist/lib/util/joinUrl.test.js.map +1 -0
  826. package/dist/lib/util/os.d.ts +2 -0
  827. package/dist/lib/util/os.js +21 -0
  828. package/dist/lib/util/os.js.map +1 -0
  829. package/dist/lib/util/pastellize.js +2 -2
  830. package/dist/lib/util/pastellize.js.map +1 -1
  831. package/dist/lib/util/scrollIntoViewIfNeeded.d.ts +1 -0
  832. package/dist/lib/util/scrollIntoViewIfNeeded.js +14 -0
  833. package/dist/lib/util/scrollIntoViewIfNeeded.js.map +1 -0
  834. package/dist/lib/util/traverse.d.ts +4 -0
  835. package/dist/lib/util/traverse.js +48 -0
  836. package/dist/lib/util/traverse.js.map +1 -0
  837. package/dist/lib/util/types.d.ts +7 -0
  838. package/dist/lib/util/types.js +2 -0
  839. package/dist/lib/util/types.js.map +1 -0
  840. package/dist/lib/util/url.d.ts +4 -0
  841. package/dist/lib/util/url.js +13 -0
  842. package/dist/lib/util/url.js.map +1 -0
  843. package/dist/lib/util/url.test.d.ts +1 -0
  844. package/dist/lib/util/url.test.js +26 -0
  845. package/dist/lib/util/url.test.js.map +1 -0
  846. package/dist/lib/util/useCopyToClipboard.d.ts +1 -0
  847. package/dist/lib/util/useCopyToClipboard.js +11 -0
  848. package/dist/lib/util/useCopyToClipboard.js.map +1 -0
  849. package/dist/lib/util/useExposedProps.d.ts +8 -1
  850. package/dist/lib/util/useExposedProps.js +1 -1
  851. package/dist/lib/util/useExposedProps.js.map +1 -1
  852. package/dist/lib/util/useIsomorphicLayoutEffect.d.ts +3 -0
  853. package/dist/lib/util/useIsomorphicLayoutEffect.js +4 -0
  854. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -0
  855. package/dist/lib/util/useLatest.d.ts +1 -0
  856. package/dist/lib/util/useLatest.js +15 -0
  857. package/dist/lib/util/useLatest.js.map +1 -0
  858. package/dist/lib/util/useOnScreen.d.ts +5 -0
  859. package/dist/lib/util/useOnScreen.js +19 -0
  860. package/dist/lib/util/useOnScreen.js.map +1 -0
  861. package/dist/lib/util/useScrollToAnchor.d.ts +1 -0
  862. package/dist/lib/util/useScrollToAnchor.js +45 -38
  863. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  864. package/dist/lib/util/useScrollToTop.js +7 -5
  865. package/dist/lib/util/useScrollToTop.js.map +1 -1
  866. package/dist/ts.js +3 -3
  867. package/dist/ts.js.map +1 -1
  868. package/dist/vite/api/SchemaManager.d.ts +36 -0
  869. package/dist/vite/api/SchemaManager.js +145 -0
  870. package/dist/vite/api/SchemaManager.js.map +1 -0
  871. package/dist/vite/api/SchemaManager.test.d.ts +1 -0
  872. package/dist/vite/api/SchemaManager.test.js +106 -0
  873. package/dist/vite/api/SchemaManager.test.js.map +1 -0
  874. package/dist/vite/api/schema-codegen.d.ts +12 -0
  875. package/dist/vite/api/schema-codegen.js +134 -0
  876. package/dist/vite/api/schema-codegen.js.map +1 -0
  877. package/dist/vite/api/schema-codegen.test.d.ts +1 -0
  878. package/dist/vite/api/schema-codegen.test.js +468 -0
  879. package/dist/vite/api/schema-codegen.test.js.map +1 -0
  880. package/dist/vite/build.js +59 -19
  881. package/dist/vite/build.js.map +1 -1
  882. package/dist/vite/config.d.ts +2 -10
  883. package/dist/vite/config.js +120 -112
  884. package/dist/vite/config.js.map +1 -1
  885. package/dist/vite/config.test.js +12 -6
  886. package/dist/vite/config.test.js.map +1 -1
  887. package/dist/vite/create-pagefind-index.d.ts +4 -0
  888. package/dist/vite/create-pagefind-index.js +12 -0
  889. package/dist/vite/create-pagefind-index.js.map +1 -0
  890. package/dist/vite/css/collect.d.ts +2 -0
  891. package/dist/vite/css/collect.js +27 -0
  892. package/dist/vite/css/collect.js.map +1 -0
  893. package/dist/vite/css/plugin.d.ts +4 -0
  894. package/dist/vite/css/plugin.js +91 -0
  895. package/dist/vite/css/plugin.js.map +1 -0
  896. package/dist/vite/dev-server.d.ts +5 -3
  897. package/dist/vite/dev-server.js +82 -23
  898. package/dist/vite/dev-server.js.map +1 -1
  899. package/dist/vite/error-handler.d.ts +3 -3
  900. package/dist/vite/error-handler.js +1 -1
  901. package/dist/vite/error-handler.js.map +1 -1
  902. package/dist/vite/html.d.ts +7 -3
  903. package/dist/vite/html.js +15 -11
  904. package/dist/vite/html.js.map +1 -1
  905. package/dist/vite/mdx/remark-inject-filepath.d.ts +3 -0
  906. package/dist/vite/mdx/remark-inject-filepath.js +6 -0
  907. package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
  908. package/dist/vite/mdx/remark-last-modified.d.ts +3 -0
  909. package/dist/vite/mdx/remark-last-modified.js +28 -0
  910. package/dist/vite/mdx/remark-last-modified.js.map +1 -0
  911. package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
  912. package/dist/vite/mdx/remark-link-rewrite.js +20 -0
  913. package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
  914. package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
  915. package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
  916. package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
  917. package/dist/vite/mdx/remark-static-generation.d.ts +3 -0
  918. package/dist/vite/mdx/remark-static-generation.js +125 -0
  919. package/dist/vite/mdx/remark-static-generation.js.map +1 -0
  920. package/dist/vite/mdx/utils.d.ts +2 -0
  921. package/dist/vite/mdx/utils.js +31 -0
  922. package/dist/vite/mdx/utils.js.map +1 -0
  923. package/dist/vite/output.d.ts +15 -3
  924. package/dist/vite/output.js +46 -16
  925. package/dist/vite/output.js.map +1 -1
  926. package/dist/vite/plugin-api-keys.d.ts +2 -3
  927. package/dist/vite/plugin-api-keys.js +14 -8
  928. package/dist/vite/plugin-api-keys.js.map +1 -1
  929. package/dist/vite/plugin-api.d.ts +1 -2
  930. package/dist/vite/plugin-api.js +147 -33
  931. package/dist/vite/plugin-api.js.map +1 -1
  932. package/dist/vite/plugin-auth.d.ts +2 -3
  933. package/dist/vite/plugin-auth.js +11 -7
  934. package/dist/vite/plugin-auth.js.map +1 -1
  935. package/dist/vite/plugin-component.d.ts +2 -3
  936. package/dist/vite/plugin-component.js +23 -22
  937. package/dist/vite/plugin-component.js.map +1 -1
  938. package/dist/vite/plugin-config-reload.d.ts +3 -4
  939. package/dist/vite/plugin-config-reload.js +31 -23
  940. package/dist/vite/plugin-config-reload.js.map +1 -1
  941. package/dist/vite/plugin-config.d.ts +2 -3
  942. package/dist/vite/plugin-config.js +28 -2
  943. package/dist/vite/plugin-config.js.map +1 -1
  944. package/dist/vite/plugin-custom-pages.d.ts +2 -3
  945. package/dist/vite/plugin-custom-pages.js +8 -7
  946. package/dist/vite/plugin-custom-pages.js.map +1 -1
  947. package/dist/vite/plugin-docs.d.ts +2 -3
  948. package/dist/vite/plugin-docs.js +77 -48
  949. package/dist/vite/plugin-docs.js.map +1 -1
  950. package/dist/vite/plugin-frontmatter.d.ts +1 -2
  951. package/dist/vite/plugin-frontmatter.js +14 -8
  952. package/dist/vite/plugin-frontmatter.js.map +1 -1
  953. package/dist/vite/plugin-mdx.d.ts +2 -9
  954. package/dist/vite/plugin-mdx.js +66 -37
  955. package/dist/vite/plugin-mdx.js.map +1 -1
  956. package/dist/vite/plugin-metadata.d.ts +1 -1
  957. package/dist/vite/plugin-navigation.d.ts +4 -0
  958. package/dist/vite/plugin-navigation.js +63 -0
  959. package/dist/vite/plugin-navigation.js.map +1 -0
  960. package/dist/vite/plugin-redirect.d.ts +2 -3
  961. package/dist/vite/plugin-redirect.js +7 -6
  962. package/dist/vite/plugin-redirect.js.map +1 -1
  963. package/dist/vite/plugin-search.d.ts +2 -3
  964. package/dist/vite/plugin-search.js +9 -4
  965. package/dist/vite/plugin-search.js.map +1 -1
  966. package/dist/vite/plugin-shiki-register.d.ts +2 -0
  967. package/dist/vite/plugin-shiki-register.js +39 -0
  968. package/dist/vite/plugin-shiki-register.js.map +1 -0
  969. package/dist/vite/plugin-theme.d.ts +8 -0
  970. package/dist/vite/plugin-theme.js +274 -0
  971. package/dist/vite/plugin-theme.js.map +1 -0
  972. package/dist/vite/plugin-theme.test.d.ts +1 -0
  973. package/dist/vite/plugin-theme.test.js +314 -0
  974. package/dist/vite/plugin-theme.test.js.map +1 -0
  975. package/dist/vite/plugin.d.ts +2 -4
  976. package/dist/vite/plugin.js +25 -22
  977. package/dist/vite/plugin.js.map +1 -1
  978. package/dist/vite/prerender/FileWritingResponse.d.ts +25 -0
  979. package/dist/vite/prerender/FileWritingResponse.js +53 -0
  980. package/dist/vite/prerender/FileWritingResponse.js.map +1 -0
  981. package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
  982. package/dist/vite/prerender/InMemoryResponse.js +34 -0
  983. package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
  984. package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
  985. package/dist/vite/prerender/PrerenderResponse.js +2 -0
  986. package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
  987. package/dist/vite/prerender/prerender.d.ts +15 -0
  988. package/dist/vite/prerender/prerender.js +109 -0
  989. package/dist/vite/prerender/prerender.js.map +1 -0
  990. package/dist/vite/prerender/worker.d.ts +13 -0
  991. package/dist/vite/prerender/worker.js +63 -0
  992. package/dist/vite/prerender/worker.js.map +1 -0
  993. package/dist/vite/reporter.d.ts +3 -0
  994. package/dist/vite/reporter.js +33 -0
  995. package/dist/vite/reporter.js.map +1 -0
  996. package/dist/vite/shadcn-registry.d.ts +20 -0
  997. package/dist/vite/shadcn-registry.js +29 -0
  998. package/dist/vite/shadcn-registry.js.map +1 -0
  999. package/dist/vite/sitemap.d.ts +1 -1
  1000. package/dist/vite/sitemap.js +16 -14
  1001. package/dist/vite/sitemap.js.map +1 -1
  1002. package/dist/zuplo/enrich-with-zuplo-mcp.d.ts +4 -0
  1003. package/dist/zuplo/enrich-with-zuplo-mcp.js +117 -0
  1004. package/dist/zuplo/enrich-with-zuplo-mcp.js.map +1 -0
  1005. package/dist/zuplo/enrich-with-zuplo.d.ts +6 -0
  1006. package/dist/zuplo/enrich-with-zuplo.js +185 -0
  1007. package/dist/zuplo/enrich-with-zuplo.js.map +1 -0
  1008. package/dist/zuplo/policy-types.d.ts +33 -0
  1009. package/dist/zuplo/policy-types.js +7 -0
  1010. package/dist/zuplo/policy-types.js.map +1 -0
  1011. package/dist/zuplo/with-zuplo-processors.d.ts +3 -0
  1012. package/dist/zuplo/with-zuplo-processors.js +28 -0
  1013. package/dist/zuplo/with-zuplo-processors.js.map +1 -0
  1014. package/dist/zuplo/with-zuplo.d.ts +6 -0
  1015. package/dist/zuplo/with-zuplo.js +10 -0
  1016. package/dist/zuplo/with-zuplo.js.map +1 -0
  1017. package/lib/Button-DTDRi4CT.js +51 -0
  1018. package/lib/Button-DTDRi4CT.js.map +1 -0
  1019. package/lib/Card-hTy9PAnh.js +61 -0
  1020. package/lib/Card-hTy9PAnh.js.map +1 -0
  1021. package/lib/CategoryHeading-BGCNu3VK.js +17 -0
  1022. package/lib/CategoryHeading-BGCNu3VK.js.map +1 -0
  1023. package/lib/ClientOnly-E7hGysn1.js +11 -0
  1024. package/lib/ClientOnly-E7hGysn1.js.map +1 -0
  1025. package/lib/CodeBlock-i0BM_QFf.js +176 -0
  1026. package/lib/CodeBlock-i0BM_QFf.js.map +1 -0
  1027. package/lib/Command-TEBTONf1.js +134 -0
  1028. package/lib/Command-TEBTONf1.js.map +1 -0
  1029. package/lib/Dialog-VIMic7xI.js +114 -0
  1030. package/lib/Dialog-VIMic7xI.js.map +1 -0
  1031. package/lib/Drawer-DM9wJUC6.js +1133 -0
  1032. package/lib/Drawer-DM9wJUC6.js.map +1 -0
  1033. package/lib/ErrorAlert-Diu_w5Po.js +15522 -0
  1034. package/lib/ErrorAlert-Diu_w5Po.js.map +1 -0
  1035. package/lib/MdxPage-CDs_vtjC.js +111 -0
  1036. package/lib/MdxPage-CDs_vtjC.js.map +1 -0
  1037. package/lib/OAuthErrorPage-BbI9XJWR.js +150 -0
  1038. package/lib/OAuthErrorPage-BbI9XJWR.js.map +1 -0
  1039. package/lib/OasProvider-D3Cjaaxr.js +36 -0
  1040. package/lib/OasProvider-D3Cjaaxr.js.map +1 -0
  1041. package/lib/OperationList-BH4cFU-0.js +5454 -0
  1042. package/lib/OperationList-BH4cFU-0.js.map +1 -0
  1043. package/lib/Pagination-BKphudjx.js +37 -0
  1044. package/lib/Pagination-BKphudjx.js.map +1 -0
  1045. package/lib/RouteGuard-nFlgfJqk.js +56 -0
  1046. package/lib/RouteGuard-nFlgfJqk.js.map +1 -0
  1047. package/lib/RouterError-CnS5hYUh.js +41 -0
  1048. package/lib/RouterError-CnS5hYUh.js.map +1 -0
  1049. package/lib/SchemaList-BcJyi2sR.js +150 -0
  1050. package/lib/SchemaList-BcJyi2sR.js.map +1 -0
  1051. package/lib/SchemaView-DnTxmN15.js +458 -0
  1052. package/lib/SchemaView-DnTxmN15.js.map +1 -0
  1053. package/lib/Select-BPQp7Yqx.js +273 -0
  1054. package/lib/Select-BPQp7Yqx.js.map +1 -0
  1055. package/lib/SignUp-tBtnwuXL.js +56 -0
  1056. package/lib/SignUp-tBtnwuXL.js.map +1 -0
  1057. package/lib/Spinner-Cf6E803I.js +7 -0
  1058. package/lib/Spinner-Cf6E803I.js.map +1 -0
  1059. package/lib/SyntaxHighlight-Cqh6cwC3.js +10307 -0
  1060. package/lib/SyntaxHighlight-Cqh6cwC3.js.map +1 -0
  1061. package/lib/Toc-Zzozy3eB.js +92 -0
  1062. package/lib/Toc-Zzozy3eB.js.map +1 -0
  1063. package/lib/ZudokuContext-3cqbu21w.js +1285 -0
  1064. package/lib/ZudokuContext-3cqbu21w.js.map +1 -0
  1065. package/lib/chunk-QMGIS6GS-DqecZ6nq.js +9204 -0
  1066. package/lib/chunk-QMGIS6GS-DqecZ6nq.js.map +1 -0
  1067. package/lib/circular-CokAagii.js +14934 -0
  1068. package/lib/circular-CokAagii.js.map +1 -0
  1069. package/lib/clsx-OuTLNxxd.js +17 -0
  1070. package/lib/clsx-OuTLNxxd.js.map +1 -0
  1071. package/lib/cn-dYga0KKN.js +2731 -0
  1072. package/lib/cn-dYga0KKN.js.map +1 -0
  1073. package/lib/createServer-DW4hIUUB.js +12499 -0
  1074. package/lib/createServer-DW4hIUUB.js.map +1 -0
  1075. package/lib/csharp-rrJEDRrV.js +53 -0
  1076. package/lib/csharp-rrJEDRrV.js.map +1 -0
  1077. package/lib/css-Dpk9bCql.js +54 -0
  1078. package/lib/css-Dpk9bCql.js.map +1 -0
  1079. package/lib/errors-CQLQ5016.js +45 -0
  1080. package/lib/errors-CQLQ5016.js.map +1 -0
  1081. package/lib/go-D8SJIQ0Z.js +25 -0
  1082. package/lib/go-D8SJIQ0Z.js.map +1 -0
  1083. package/lib/graphql-aeVKJNa2.js +25 -0
  1084. package/lib/graphql-aeVKJNa2.js.map +1 -0
  1085. package/lib/hook-ChlxzJwv.js +247 -0
  1086. package/lib/hook-ChlxzJwv.js.map +1 -0
  1087. package/lib/html-D_7om-nA.js +33 -0
  1088. package/lib/html-D_7om-nA.js.map +1 -0
  1089. package/lib/index-7FEjMkZ_.js +1058 -0
  1090. package/lib/index-7FEjMkZ_.js.map +1 -0
  1091. package/lib/index-CF3Ls1wd.js +2094 -0
  1092. package/lib/index-CF3Ls1wd.js.map +1 -0
  1093. package/lib/index-CrcNWbel.js +316 -0
  1094. package/lib/index-CrcNWbel.js.map +1 -0
  1095. package/lib/index-DI5SPFK9.js +36 -0
  1096. package/lib/index-DI5SPFK9.js.map +1 -0
  1097. package/lib/index-QwGs6inR.js +3397 -0
  1098. package/lib/index-QwGs6inR.js.map +1 -0
  1099. package/lib/index-nGbmHh_A.js +4827 -0
  1100. package/lib/index-nGbmHh_A.js.map +1 -0
  1101. package/lib/index.esm-BnYHxCYC.js +683 -0
  1102. package/lib/index.esm-BnYHxCYC.js.map +1 -0
  1103. package/lib/index.esm-CdzlRw50.js +1254 -0
  1104. package/lib/index.esm-CdzlRw50.js.map +1 -0
  1105. package/lib/invariant-Bm-FVUQE.js +44 -0
  1106. package/lib/invariant-Bm-FVUQE.js.map +1 -0
  1107. package/lib/java-DUh-EL8n.js +53 -0
  1108. package/lib/java-DUh-EL8n.js.map +1 -0
  1109. package/lib/javascript-CrY8dcGu.js +10 -0
  1110. package/lib/javascript-CrY8dcGu.js.map +1 -0
  1111. package/lib/json-DLK2_sdf.js +25 -0
  1112. package/lib/json-DLK2_sdf.js.map +1 -0
  1113. package/lib/jsx-runtime-DywqP_6a.js +285 -0
  1114. package/lib/jsx-runtime-DywqP_6a.js.map +1 -0
  1115. package/lib/kotlin-rJMOGl7D.js +37 -0
  1116. package/lib/kotlin-rJMOGl7D.js.map +1 -0
  1117. package/lib/markdown-BD9bIU5J.js +25 -0
  1118. package/lib/markdown-BD9bIU5J.js.map +1 -0
  1119. package/lib/mdx-G25UCvf3.js +32 -0
  1120. package/lib/mdx-G25UCvf3.js.map +1 -0
  1121. package/lib/mutation-DvBlWyBr.js +196 -0
  1122. package/lib/mutation-DvBlWyBr.js.map +1 -0
  1123. package/lib/objectivec-DDpj0aWX.js +32 -0
  1124. package/lib/objectivec-DDpj0aWX.js.map +1 -0
  1125. package/lib/php-BeG18bSy.js +25 -0
  1126. package/lib/php-BeG18bSy.js.map +1 -0
  1127. package/lib/processors/removeExtensions.js +11 -0
  1128. package/lib/processors/removeExtensions.js.map +1 -0
  1129. package/lib/processors/removeParameters.js +47 -0
  1130. package/lib/processors/removeParameters.js.map +1 -0
  1131. package/lib/processors/removePaths.js +28 -0
  1132. package/lib/processors/removePaths.js.map +1 -0
  1133. package/lib/processors/traverse.js +17 -0
  1134. package/lib/processors/traverse.js.map +1 -0
  1135. package/lib/python-BaF2byD-.js +32 -0
  1136. package/lib/python-BaF2byD-.js.map +1 -0
  1137. package/lib/react-CQvDN20M.js +24 -0
  1138. package/lib/react-CQvDN20M.js.map +1 -0
  1139. package/lib/ruby-CmxRVHMR.js +25 -0
  1140. package/lib/ruby-CmxRVHMR.js.map +1 -0
  1141. package/lib/rust-IfSC62c5.js +25 -0
  1142. package/lib/rust-IfSC62c5.js.map +1 -0
  1143. package/lib/shell-BFu0M6m4.js +25 -0
  1144. package/lib/shell-BFu0M6m4.js.map +1 -0
  1145. package/lib/swift-DckbsN4v.js +25 -0
  1146. package/lib/swift-DckbsN4v.js.map +1 -0
  1147. package/lib/toml-BJsCc8TC.js +32 -0
  1148. package/lib/toml-BJsCc8TC.js.map +1 -0
  1149. package/lib/typescript-7qOVMjOC.js +32 -0
  1150. package/lib/typescript-7qOVMjOC.js.map +1 -0
  1151. package/lib/ui/Accordion.js +2 -2
  1152. package/lib/ui/Accordion.js.map +1 -1
  1153. package/lib/ui/ActionButton.js +25 -0
  1154. package/lib/ui/ActionButton.js.map +1 -0
  1155. package/lib/ui/Alert.js +55 -39
  1156. package/lib/ui/Alert.js.map +1 -1
  1157. package/lib/ui/AlertDialog.js +2 -2
  1158. package/lib/ui/AlertDialog.js.map +1 -1
  1159. package/lib/ui/Badge.js +5 -4
  1160. package/lib/ui/Badge.js.map +1 -1
  1161. package/lib/ui/Breadcrumb.js +26 -25
  1162. package/lib/ui/Breadcrumb.js.map +1 -1
  1163. package/lib/ui/Button.js +22 -19
  1164. package/lib/ui/Button.js.map +1 -1
  1165. package/lib/ui/Callout.js +40 -20
  1166. package/lib/ui/Callout.js.map +1 -1
  1167. package/lib/ui/Card.js +3 -3
  1168. package/lib/ui/Card.js.map +1 -1
  1169. package/lib/ui/Carousel.js +552 -546
  1170. package/lib/ui/Carousel.js.map +1 -1
  1171. package/lib/ui/Checkbox.js +14 -13
  1172. package/lib/ui/Checkbox.js.map +1 -1
  1173. package/lib/ui/CodeBlock.js +10 -0
  1174. package/lib/ui/CodeBlock.js.map +1 -0
  1175. package/lib/ui/Command.js +113 -513
  1176. package/lib/ui/Command.js.map +1 -1
  1177. package/lib/ui/Dialog.js +74 -59
  1178. package/lib/ui/Dialog.js.map +1 -1
  1179. package/lib/ui/Drawer.js +14 -1150
  1180. package/lib/ui/Drawer.js.map +1 -1
  1181. package/lib/ui/DropdownMenu.js +35 -35
  1182. package/lib/ui/DropdownMenu.js.map +1 -1
  1183. package/lib/ui/EmbeddedCodeBlock.js +80 -0
  1184. package/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  1185. package/lib/ui/Form.js +6 -6
  1186. package/lib/ui/Form.js.map +1 -1
  1187. package/lib/ui/HoverCard.js +6 -6
  1188. package/lib/ui/HoverCard.js.map +1 -1
  1189. package/lib/ui/Input.js +3 -3
  1190. package/lib/ui/Input.js.map +1 -1
  1191. package/lib/ui/Label.js +3 -3
  1192. package/lib/ui/Label.js.map +1 -1
  1193. package/lib/ui/Pagination.js +30 -31
  1194. package/lib/ui/Pagination.js.map +1 -1
  1195. package/lib/ui/Popover.js +3 -3
  1196. package/lib/ui/Popover.js.map +1 -1
  1197. package/lib/ui/Progress.js +2 -2
  1198. package/lib/ui/Progress.js.map +1 -1
  1199. package/lib/ui/RadioGroup.js +11 -11
  1200. package/lib/ui/RadioGroup.js.map +1 -1
  1201. package/lib/ui/ReactComponentDoc.js +28 -0
  1202. package/lib/ui/ReactComponentDoc.js.map +1 -0
  1203. package/lib/ui/ScrollArea.js +2 -2
  1204. package/lib/ui/ScrollArea.js.map +1 -1
  1205. package/lib/ui/Secret.js +96 -0
  1206. package/lib/ui/Secret.js.map +1 -0
  1207. package/lib/ui/Select.js +34 -34
  1208. package/lib/ui/Select.js.map +1 -1
  1209. package/lib/ui/Skeleton.js +2 -2
  1210. package/lib/ui/Skeleton.js.map +1 -1
  1211. package/lib/ui/Slider.js +6 -6
  1212. package/lib/ui/Slider.js.map +1 -1
  1213. package/lib/ui/Stepper.js +6 -0
  1214. package/lib/ui/Stepper.js.map +1 -0
  1215. package/lib/ui/Switch.js +6 -6
  1216. package/lib/ui/Switch.js.map +1 -1
  1217. package/lib/ui/SyntaxHighlight.js +11 -0
  1218. package/lib/ui/SyntaxHighlight.js.map +1 -0
  1219. package/lib/ui/Tabs.js +17 -17
  1220. package/lib/ui/Tabs.js.map +1 -1
  1221. package/lib/ui/Textarea.js +6 -6
  1222. package/lib/ui/Textarea.js.map +1 -1
  1223. package/lib/ui/Toggle.js +8 -8
  1224. package/lib/ui/Toggle.js.map +1 -1
  1225. package/lib/ui/ToggleGroup.js +2 -2
  1226. package/lib/ui/ToggleGroup.js.map +1 -1
  1227. package/lib/ui/Tooltip.js +15 -8
  1228. package/lib/ui/Tooltip.js.map +1 -1
  1229. package/lib/ui/Value.js +39 -0
  1230. package/lib/ui/Value.js.map +1 -0
  1231. package/lib/ui/util.js +6 -0
  1232. package/lib/ui/util.js.map +1 -0
  1233. package/lib/useCopyToClipboard-B_085nfO.js +14 -0
  1234. package/lib/useCopyToClipboard-B_085nfO.js.map +1 -0
  1235. package/lib/useExposedProps-BH9aq4MD.js +113 -0
  1236. package/lib/useExposedProps-BH9aq4MD.js.map +1 -0
  1237. package/lib/useLatest-hmRS46UF.js +11 -0
  1238. package/lib/useLatest-hmRS46UF.js.map +1 -0
  1239. package/lib/xml-DAaTIkBX.js +25 -0
  1240. package/lib/xml-DAaTIkBX.js.map +1 -0
  1241. package/lib/yaml-DUi-dbfu.js +32 -0
  1242. package/lib/yaml-DUi-dbfu.js.map +1 -0
  1243. package/lib/zudoku.__internal.js +2981 -0
  1244. package/lib/zudoku.__internal.js.map +1 -0
  1245. package/lib/zudoku.auth-auth0.js +32 -30
  1246. package/lib/zudoku.auth-auth0.js.map +1 -1
  1247. package/lib/zudoku.auth-azureb2c.js +137 -0
  1248. package/lib/zudoku.auth-azureb2c.js.map +1 -0
  1249. package/lib/zudoku.auth-clerk.js +111 -60
  1250. package/lib/zudoku.auth-clerk.js.map +1 -1
  1251. package/lib/zudoku.auth-openid.js +600 -623
  1252. package/lib/zudoku.auth-openid.js.map +1 -1
  1253. package/lib/zudoku.auth-supabase.js +98 -0
  1254. package/lib/zudoku.auth-supabase.js.map +1 -0
  1255. package/lib/zudoku.components.js +27 -1464
  1256. package/lib/zudoku.components.js.map +1 -1
  1257. package/lib/zudoku.hooks.js +27 -0
  1258. package/lib/zudoku.hooks.js.map +1 -0
  1259. package/lib/zudoku.icons.js +10 -0
  1260. package/lib/zudoku.icons.js.map +1 -1
  1261. package/lib/zudoku.plugin-api-catalog.js +125 -0
  1262. package/lib/zudoku.plugin-api-catalog.js.map +1 -0
  1263. package/lib/zudoku.plugin-api-keys.js +724 -196
  1264. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  1265. package/lib/zudoku.plugin-custom-pages.js +15 -18
  1266. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  1267. package/lib/zudoku.plugin-markdown.js +20 -93
  1268. package/lib/zudoku.plugin-markdown.js.map +1 -1
  1269. package/lib/zudoku.plugin-openapi.js +8 -10
  1270. package/lib/zudoku.plugin-openapi.js.map +1 -1
  1271. package/lib/zudoku.plugin-redirect.js +3 -3
  1272. package/lib/zudoku.plugin-redirect.js.map +1 -1
  1273. package/lib/zudoku.plugin-search-inkeep.js +61 -36
  1274. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  1275. package/lib/zudoku.plugin-search-pagefind.js +325 -0
  1276. package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
  1277. package/lib/zudoku.plugins.js +15 -0
  1278. package/lib/zudoku.plugins.js.map +1 -0
  1279. package/lib/zudoku.router.js +123 -0
  1280. package/lib/zudoku.router.js.map +1 -0
  1281. package/package.json +185 -104
  1282. package/src/app/ZuploBuildConfig.ts +33 -0
  1283. package/src/app/defaultTheme.css +73 -0
  1284. package/src/app/demo-cdn.html +31 -31
  1285. package/src/app/demo.html +1 -1
  1286. package/src/app/demo.tsx +26 -12
  1287. package/src/app/entry.client.tsx +71 -6
  1288. package/src/app/entry.server.tsx +84 -69
  1289. package/src/app/env.ts +43 -0
  1290. package/src/app/font.geist.css +73 -0
  1291. package/src/app/main.css +172 -129
  1292. package/src/app/main.tsx +86 -52
  1293. package/src/app/sentry.ts +24 -0
  1294. package/src/app/standalone.tsx +15 -13
  1295. package/src/lib/MissingIcon.tsx +22 -0
  1296. package/src/lib/assets/language-icons/csharp.tsx +35 -0
  1297. package/src/lib/assets/language-icons/css.tsx +36 -0
  1298. package/src/lib/assets/language-icons/go.tsx +19 -0
  1299. package/src/lib/assets/language-icons/graphql.tsx +19 -0
  1300. package/src/lib/assets/language-icons/html.tsx +24 -0
  1301. package/src/lib/assets/language-icons/java.tsx +35 -0
  1302. package/src/lib/assets/language-icons/javascript.tsx +11 -0
  1303. package/src/lib/assets/language-icons/json.tsx +19 -0
  1304. package/src/lib/assets/language-icons/kotlin.tsx +30 -0
  1305. package/src/lib/assets/language-icons/markdown.tsx +19 -0
  1306. package/src/lib/assets/language-icons/mdx.tsx +23 -0
  1307. package/src/lib/assets/language-icons/objectivec.tsx +23 -0
  1308. package/src/lib/assets/language-icons/php.tsx +19 -0
  1309. package/src/lib/assets/language-icons/python.tsx +23 -0
  1310. package/src/lib/assets/language-icons/react.tsx +21 -0
  1311. package/src/lib/assets/language-icons/ruby.tsx +19 -0
  1312. package/src/lib/assets/language-icons/rust.tsx +19 -0
  1313. package/src/lib/assets/language-icons/shell.tsx +19 -0
  1314. package/src/lib/assets/language-icons/swift.tsx +19 -0
  1315. package/src/lib/assets/language-icons/toml.tsx +23 -0
  1316. package/src/lib/assets/language-icons/typescript.tsx +23 -0
  1317. package/src/lib/assets/language-icons/xml.tsx +19 -0
  1318. package/src/lib/assets/language-icons/yaml.tsx +23 -0
  1319. package/src/lib/auth/issuer.test.ts +121 -0
  1320. package/src/lib/auth/issuer.ts +41 -0
  1321. package/src/lib/authentication/AuthenticationPlugin.tsx +6 -3
  1322. package/src/lib/authentication/authentication.ts +9 -10
  1323. package/src/lib/authentication/components/CallbackHandler.tsx +29 -12
  1324. package/src/lib/authentication/components/OAuthErrorPage.tsx +171 -0
  1325. package/src/lib/authentication/components/SignIn.tsx +28 -2
  1326. package/src/lib/authentication/components/SignOut.tsx +3 -2
  1327. package/src/lib/authentication/components/SignUp.tsx +35 -1
  1328. package/src/lib/authentication/errors.ts +27 -13
  1329. package/src/lib/authentication/hook.ts +15 -4
  1330. package/src/lib/authentication/providers/auth0.tsx +28 -19
  1331. package/src/lib/authentication/providers/azureb2c.tsx +201 -0
  1332. package/src/lib/authentication/providers/clerk.tsx +131 -54
  1333. package/src/lib/authentication/providers/openid.tsx +169 -88
  1334. package/src/lib/authentication/providers/supabase.tsx +151 -0
  1335. package/src/lib/authentication/state.ts +86 -25
  1336. package/src/lib/authentication/use-broadcast/LICENSE.md +18 -0
  1337. package/src/lib/authentication/use-broadcast/shared.ts +372 -0
  1338. package/src/lib/authentication/use-broadcast/useBroadcast.ts +146 -0
  1339. package/src/lib/components/AnchorLink.tsx +13 -8
  1340. package/src/lib/components/Autocomplete.tsx +114 -0
  1341. package/src/lib/components/Banner.tsx +3 -3
  1342. package/src/lib/components/Bootstrap.tsx +44 -16
  1343. package/src/lib/components/BuildCheck.tsx +86 -0
  1344. package/src/lib/components/CategoryHeading.tsx +4 -1
  1345. package/src/lib/components/ClientOnly.tsx +6 -3
  1346. package/src/lib/components/DeveloperHint.tsx +6 -1
  1347. package/src/lib/components/ErrorPage.tsx +3 -3
  1348. package/src/lib/components/Footer.tsx +136 -0
  1349. package/src/lib/components/Framed.tsx +51 -0
  1350. package/src/lib/components/Header.tsx +122 -83
  1351. package/src/lib/components/Heading.tsx +27 -20
  1352. package/src/lib/components/InlineCode.tsx +13 -16
  1353. package/src/lib/components/LanguageIcon.tsx +136 -0
  1354. package/src/lib/components/Layout.tsx +25 -68
  1355. package/src/lib/components/Main.tsx +51 -0
  1356. package/src/lib/components/Markdown.tsx +45 -30
  1357. package/src/lib/components/Meta.tsx +45 -0
  1358. package/src/lib/components/MobileTopNavigation.tsx +94 -32
  1359. package/src/lib/components/NotFoundPage.tsx +7 -6
  1360. package/src/lib/components/PageProgress.tsx +28 -0
  1361. package/src/lib/components/Pagination.tsx +45 -0
  1362. package/src/lib/components/PathRenderer.tsx +61 -0
  1363. package/src/lib/components/Search.tsx +19 -8
  1364. package/src/lib/components/Slot.test.tsx +465 -0
  1365. package/src/lib/components/Slot.tsx +64 -0
  1366. package/src/lib/components/StatusPage.tsx +96 -0
  1367. package/src/lib/components/ThemeSwitch.tsx +46 -0
  1368. package/src/lib/components/TopNavigation.tsx +91 -61
  1369. package/src/lib/components/Typography.tsx +14 -0
  1370. package/src/lib/components/Zudoku.tsx +119 -0
  1371. package/src/lib/components/cache.ts +23 -0
  1372. package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
  1373. package/src/lib/components/context/ComponentsContext.tsx +2 -2
  1374. package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
  1375. package/src/lib/components/context/SlotProvider.tsx +149 -0
  1376. package/src/lib/components/context/ViewportAnchorContext.tsx +35 -37
  1377. package/src/lib/components/context/ZudokuContext.ts +79 -38
  1378. package/src/lib/components/context/ZudokuProvider.tsx +4 -3
  1379. package/src/lib/components/index.ts +31 -23
  1380. package/src/lib/components/navigation/Navigation.tsx +50 -0
  1381. package/src/lib/components/navigation/NavigationBadge.tsx +48 -0
  1382. package/src/lib/components/navigation/NavigationCategory.tsx +153 -0
  1383. package/src/lib/components/navigation/NavigationItem.tsx +161 -0
  1384. package/src/lib/components/navigation/NavigationWrapper.tsx +49 -0
  1385. package/src/lib/components/navigation/PoweredByZudoku.tsx +33 -0
  1386. package/src/lib/components/navigation/Toc.tsx +126 -0
  1387. package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
  1388. package/src/lib/components/navigation/ZuploLogo.tsx +14 -0
  1389. package/src/lib/components/navigation/utils.ts +83 -43
  1390. package/src/lib/core/RouteGuard.tsx +96 -0
  1391. package/src/lib/core/ZudokuContext.ts +246 -0
  1392. package/src/lib/core/__internal.tsx +30 -0
  1393. package/src/lib/core/plugins.ts +55 -24
  1394. package/src/lib/core/router.ts +1 -0
  1395. package/src/lib/errors/ErrorAlert.tsx +18 -19
  1396. package/src/lib/errors/RouterError.tsx +1 -1
  1397. package/src/lib/errors/TopLevelError.tsx +2 -4
  1398. package/src/lib/hooks/index.ts +16 -0
  1399. package/src/lib/hooks/useEvent.test.tsx +151 -0
  1400. package/src/lib/hooks/useEvent.ts +41 -0
  1401. package/src/lib/hooks/useHotkey.ts +70 -0
  1402. package/src/lib/icons.ts +1 -0
  1403. package/src/lib/oas/graphql/circular.ts +58 -0
  1404. package/src/lib/oas/graphql/index.ts +316 -105
  1405. package/src/lib/oas/parser/dereference/index.ts +12 -5
  1406. package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
  1407. package/src/lib/oas/parser/index.ts +16 -32
  1408. package/src/lib/oas/parser/upgrade/index.ts +105 -39
  1409. package/src/lib/plugins/api-catalog/Catalog.tsx +80 -0
  1410. package/src/lib/plugins/api-catalog/index.tsx +115 -0
  1411. package/src/lib/plugins/api-keys/CreateApiKey.tsx +77 -47
  1412. package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +49 -0
  1413. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
  1414. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +441 -122
  1415. package/src/lib/plugins/api-keys/index.tsx +150 -66
  1416. package/src/lib/plugins/custom-pages/index.tsx +25 -17
  1417. package/src/lib/plugins/markdown/MdxPage.tsx +111 -54
  1418. package/src/lib/plugins/markdown/index.tsx +33 -43
  1419. package/src/lib/plugins/openapi/CollapsibleCode.tsx +86 -0
  1420. package/src/lib/plugins/openapi/ColorizedParam.tsx +51 -23
  1421. package/src/lib/plugins/openapi/Endpoint.tsx +19 -22
  1422. package/src/lib/plugins/openapi/MCPEndpoint.tsx +293 -0
  1423. package/src/lib/plugins/openapi/OasProvider.tsx +52 -0
  1424. package/src/lib/plugins/openapi/OperationList.tsx +247 -75
  1425. package/src/lib/plugins/openapi/OperationListItem.tsx +139 -91
  1426. package/src/lib/plugins/openapi/ParamInfos.tsx +91 -0
  1427. package/src/lib/plugins/openapi/ParameterList.tsx +7 -5
  1428. package/src/lib/plugins/openapi/ParameterListItem.tsx +88 -41
  1429. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +32 -5
  1430. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +16 -33
  1431. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +36 -59
  1432. package/src/lib/plugins/openapi/SchemaList.tsx +157 -0
  1433. package/src/lib/plugins/openapi/Sidecar.tsx +157 -174
  1434. package/src/lib/plugins/openapi/SidecarBox.tsx +4 -16
  1435. package/src/lib/plugins/openapi/SidecarExamples.tsx +162 -0
  1436. package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
  1437. package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
  1438. package/src/lib/plugins/openapi/client/GraphQLClient.tsx +65 -0
  1439. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +16 -0
  1440. package/src/lib/plugins/openapi/client/createServer.ts +9 -4
  1441. package/src/lib/plugins/openapi/client/useCreateQuery.ts +46 -0
  1442. package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
  1443. package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
  1444. package/src/lib/plugins/openapi/components/ResponseContent.tsx +104 -0
  1445. package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
  1446. package/src/lib/plugins/openapi/context.tsx +2 -2
  1447. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +12 -20
  1448. package/src/lib/plugins/openapi/graphql/gql.ts +38 -31
  1449. package/src/lib/plugins/openapi/graphql/graphql.ts +394 -683
  1450. package/src/lib/plugins/openapi/index.tsx +162 -134
  1451. package/src/lib/plugins/openapi/interfaces.ts +61 -4
  1452. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +55 -0
  1453. package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +47 -0
  1454. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +59 -0
  1455. package/src/lib/plugins/openapi/playground/Headers.tsx +284 -53
  1456. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +75 -0
  1457. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +38 -0
  1458. package/src/lib/plugins/openapi/playground/InlineInput.tsx +1 -1
  1459. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +13 -0
  1460. package/src/lib/plugins/openapi/playground/PathParams.tsx +38 -64
  1461. package/src/lib/plugins/openapi/playground/Playground.tsx +405 -288
  1462. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +7 -3
  1463. package/src/lib/plugins/openapi/playground/QueryParams.tsx +134 -90
  1464. package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
  1465. package/src/lib/plugins/openapi/playground/Spinner.tsx +87 -0
  1466. package/src/lib/plugins/openapi/playground/fileUtils.ts +32 -0
  1467. package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
  1468. package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +31 -0
  1469. package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +25 -0
  1470. package/src/lib/plugins/openapi/playground/result-panel/Highlight.tsx +26 -0
  1471. package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +117 -0
  1472. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +271 -0
  1473. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +102 -0
  1474. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.test.ts +64 -0
  1475. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +36 -0
  1476. package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +20 -0
  1477. package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +223 -0
  1478. package/src/lib/plugins/openapi/processors/removeExtensions.ts +29 -0
  1479. package/src/lib/plugins/openapi/processors/removeParameters.test.ts +183 -0
  1480. package/src/lib/plugins/openapi/processors/removeParameters.ts +103 -0
  1481. package/src/lib/plugins/openapi/processors/removePaths.test.ts +167 -0
  1482. package/src/lib/plugins/openapi/processors/removePaths.ts +57 -0
  1483. package/src/lib/plugins/openapi/processors/traverse.ts +1 -0
  1484. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.tsx +36 -0
  1485. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.tsx +25 -0
  1486. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.tsx +42 -0
  1487. package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +39 -0
  1488. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +141 -0
  1489. package/src/lib/plugins/openapi/schema/SchemaView.tsx +113 -139
  1490. package/src/lib/plugins/openapi/schema/UnionView.tsx +143 -0
  1491. package/src/lib/plugins/openapi/schema/union-helpers.ts +124 -0
  1492. package/src/lib/plugins/openapi/schema/utils.ts +30 -13
  1493. package/src/lib/plugins/openapi/state.ts +36 -0
  1494. package/src/lib/plugins/openapi/util/createHttpSnippet.ts +107 -0
  1495. package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +39 -0
  1496. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +95 -45
  1497. package/src/lib/plugins/openapi/util/getRoutes.tsx +198 -0
  1498. package/src/lib/plugins/openapi/util/methodColorMap.tsx +11 -0
  1499. package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
  1500. package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
  1501. package/src/lib/plugins/redirect/index.tsx +4 -4
  1502. package/src/lib/plugins/search-inkeep/index.tsx +83 -32
  1503. package/src/lib/plugins/search-inkeep/inkeep.ts +15 -23
  1504. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +163 -0
  1505. package/src/lib/plugins/search-pagefind/ResultList.tsx +113 -0
  1506. package/src/lib/plugins/search-pagefind/get-results.tsx +74 -0
  1507. package/src/lib/plugins/search-pagefind/index.tsx +21 -0
  1508. package/src/lib/plugins/search-pagefind/types.ts +118 -0
  1509. package/src/lib/shiki.ts +138 -0
  1510. package/src/lib/ui/ActionButton.tsx +30 -0
  1511. package/src/lib/ui/Alert.tsx +45 -39
  1512. package/src/lib/ui/Badge.tsx +3 -2
  1513. package/src/lib/ui/Breadcrumb.tsx +1 -0
  1514. package/src/lib/ui/Button.tsx +12 -7
  1515. package/src/lib/ui/Callout.tsx +30 -10
  1516. package/src/lib/ui/Card.tsx +1 -1
  1517. package/src/lib/ui/Carousel.tsx +1 -0
  1518. package/src/lib/ui/Checkbox.tsx +2 -1
  1519. package/src/lib/ui/CodeBlock.tsx +80 -0
  1520. package/src/lib/ui/Command.tsx +47 -7
  1521. package/src/lib/ui/Dialog.tsx +20 -8
  1522. package/src/lib/ui/DropdownMenu.tsx +4 -4
  1523. package/src/lib/ui/EmbeddedCodeBlock.tsx +94 -0
  1524. package/src/lib/ui/Form.tsx +4 -4
  1525. package/src/lib/ui/HoverCard.tsx +1 -1
  1526. package/src/lib/ui/Input.tsx +2 -3
  1527. package/src/lib/ui/Pagination.tsx +1 -2
  1528. package/src/lib/ui/Popover.tsx +1 -1
  1529. package/src/lib/ui/RadioGroup.tsx +1 -1
  1530. package/src/lib/ui/ReactComponentDoc.tsx +68 -0
  1531. package/src/lib/ui/Secret.tsx +106 -0
  1532. package/src/lib/ui/Select.tsx +4 -4
  1533. package/src/lib/ui/Slider.tsx +1 -1
  1534. package/src/lib/ui/Stepper.tsx +8 -0
  1535. package/src/lib/ui/Switch.tsx +1 -1
  1536. package/src/lib/ui/SyntaxHighlight.tsx +35 -0
  1537. package/src/lib/ui/Tabs.tsx +2 -2
  1538. package/src/lib/ui/Textarea.tsx +1 -1
  1539. package/src/lib/ui/Toggle.tsx +1 -1
  1540. package/src/lib/ui/ToggleGroup.tsx +1 -1
  1541. package/src/lib/ui/Tooltip.tsx +16 -1
  1542. package/src/lib/ui/Value.tsx +42 -0
  1543. package/src/lib/ui/util.tsx +3 -0
  1544. package/src/lib/util/MdxComponents.tsx +60 -25
  1545. package/src/lib/util/cn.ts +1 -1
  1546. package/src/lib/util/createVariantComponent.tsx +3 -3
  1547. package/src/lib/util/detectOS.ts +9 -0
  1548. package/src/lib/util/ensureArray.ts +3 -0
  1549. package/src/lib/util/groupBy.ts +1 -0
  1550. package/src/lib/util/humanFileSize.test.ts +24 -0
  1551. package/src/lib/util/humanFileSize.ts +15 -0
  1552. package/src/lib/util/invariant.ts +8 -5
  1553. package/src/lib/util/joinPath.tsx +3 -0
  1554. package/src/lib/util/joinUrl.test.ts +62 -0
  1555. package/src/lib/util/joinUrl.ts +57 -0
  1556. package/src/lib/util/os.ts +18 -0
  1557. package/src/lib/util/pastellize.ts +2 -2
  1558. package/src/lib/util/scrollIntoViewIfNeeded.ts +18 -0
  1559. package/src/lib/util/traverse.ts +70 -0
  1560. package/src/lib/util/types.ts +7 -0
  1561. package/src/lib/util/url.test.ts +51 -0
  1562. package/src/lib/util/url.ts +18 -0
  1563. package/src/lib/util/useCopyToClipboard.ts +17 -0
  1564. package/src/lib/util/useExposedProps.tsx +13 -2
  1565. package/src/lib/util/useIsomorphicLayoutEffect.ts +6 -0
  1566. package/src/lib/util/useLatest.ts +18 -0
  1567. package/src/lib/util/useOnScreen.ts +34 -0
  1568. package/src/lib/util/useScrollToAnchor.ts +51 -40
  1569. package/src/lib/util/useScrollToTop.ts +9 -4
  1570. package/src/shiki/langs/abap.js +1 -0
  1571. package/src/shiki/langs/actionscript-3.js +1 -0
  1572. package/src/shiki/langs/ada.js +1 -0
  1573. package/src/shiki/langs/angular-expression.js +1 -0
  1574. package/src/shiki/langs/angular-html.js +1 -0
  1575. package/src/shiki/langs/angular-inline-style.js +1 -0
  1576. package/src/shiki/langs/angular-inline-template.js +1 -0
  1577. package/src/shiki/langs/angular-let-declaration.js +1 -0
  1578. package/src/shiki/langs/angular-template-blocks.js +1 -0
  1579. package/src/shiki/langs/angular-template.js +1 -0
  1580. package/src/shiki/langs/angular-ts.js +1 -0
  1581. package/src/shiki/langs/apache.js +1 -0
  1582. package/src/shiki/langs/apex.js +1 -0
  1583. package/src/shiki/langs/apl.js +1 -0
  1584. package/src/shiki/langs/applescript.js +1 -0
  1585. package/src/shiki/langs/ara.js +1 -0
  1586. package/src/shiki/langs/asciidoc.js +1 -0
  1587. package/src/shiki/langs/asm.js +1 -0
  1588. package/src/shiki/langs/astro.js +1 -0
  1589. package/src/shiki/langs/awk.js +1 -0
  1590. package/src/shiki/langs/ballerina.js +1 -0
  1591. package/src/shiki/langs/bat.js +1 -0
  1592. package/src/shiki/langs/beancount.js +1 -0
  1593. package/src/shiki/langs/berry.js +1 -0
  1594. package/src/shiki/langs/bibtex.js +1 -0
  1595. package/src/shiki/langs/bicep.js +1 -0
  1596. package/src/shiki/langs/blade.js +1 -0
  1597. package/src/shiki/langs/bsl.js +1 -0
  1598. package/src/shiki/langs/c.js +1 -0
  1599. package/src/shiki/langs/cadence.js +1 -0
  1600. package/src/shiki/langs/cairo.js +1 -0
  1601. package/src/shiki/langs/clarity.js +1 -0
  1602. package/src/shiki/langs/clojure.js +1 -0
  1603. package/src/shiki/langs/cmake.js +1 -0
  1604. package/src/shiki/langs/cobol.js +1 -0
  1605. package/src/shiki/langs/codeowners.js +1 -0
  1606. package/src/shiki/langs/codeql.js +1 -0
  1607. package/src/shiki/langs/coffee.js +1 -0
  1608. package/src/shiki/langs/common-lisp.js +1 -0
  1609. package/src/shiki/langs/coq.js +1 -0
  1610. package/src/shiki/langs/cpp-macro.js +1 -0
  1611. package/src/shiki/langs/cpp.js +1 -0
  1612. package/src/shiki/langs/crystal.js +1 -0
  1613. package/src/shiki/langs/csharp.js +1 -0
  1614. package/src/shiki/langs/css.js +1 -0
  1615. package/src/shiki/langs/csv.js +1 -0
  1616. package/src/shiki/langs/cue.js +1 -0
  1617. package/src/shiki/langs/cypher.js +1 -0
  1618. package/src/shiki/langs/d.js +1 -0
  1619. package/src/shiki/langs/dart.js +1 -0
  1620. package/src/shiki/langs/dax.js +1 -0
  1621. package/src/shiki/langs/desktop.js +1 -0
  1622. package/src/shiki/langs/diff.js +1 -0
  1623. package/src/shiki/langs/docker.js +1 -0
  1624. package/src/shiki/langs/dotenv.js +1 -0
  1625. package/src/shiki/langs/dream-maker.js +1 -0
  1626. package/src/shiki/langs/edge.js +1 -0
  1627. package/src/shiki/langs/elixir.js +1 -0
  1628. package/src/shiki/langs/elm.js +1 -0
  1629. package/src/shiki/langs/emacs-lisp.js +1 -0
  1630. package/src/shiki/langs/erb.js +1 -0
  1631. package/src/shiki/langs/erlang.js +1 -0
  1632. package/src/shiki/langs/es-tag-css.js +1 -0
  1633. package/src/shiki/langs/es-tag-glsl.js +1 -0
  1634. package/src/shiki/langs/es-tag-html.js +1 -0
  1635. package/src/shiki/langs/es-tag-sql.js +1 -0
  1636. package/src/shiki/langs/es-tag-xml.js +1 -0
  1637. package/src/shiki/langs/fennel.js +1 -0
  1638. package/src/shiki/langs/fish.js +1 -0
  1639. package/src/shiki/langs/fluent.js +1 -0
  1640. package/src/shiki/langs/fortran-fixed-form.js +1 -0
  1641. package/src/shiki/langs/fortran-free-form.js +1 -0
  1642. package/src/shiki/langs/fsharp.js +1 -0
  1643. package/src/shiki/langs/gdresource.js +1 -0
  1644. package/src/shiki/langs/gdscript.js +1 -0
  1645. package/src/shiki/langs/gdshader.js +1 -0
  1646. package/src/shiki/langs/genie.js +1 -0
  1647. package/src/shiki/langs/gherkin.js +1 -0
  1648. package/src/shiki/langs/git-commit.js +1 -0
  1649. package/src/shiki/langs/git-rebase.js +1 -0
  1650. package/src/shiki/langs/gleam.js +1 -0
  1651. package/src/shiki/langs/glimmer-js.js +1 -0
  1652. package/src/shiki/langs/glimmer-ts.js +1 -0
  1653. package/src/shiki/langs/glsl.js +1 -0
  1654. package/src/shiki/langs/gnuplot.js +1 -0
  1655. package/src/shiki/langs/go.js +1 -0
  1656. package/src/shiki/langs/graphql.js +1 -0
  1657. package/src/shiki/langs/groovy.js +1 -0
  1658. package/src/shiki/langs/hack.js +1 -0
  1659. package/src/shiki/langs/haml.js +1 -0
  1660. package/src/shiki/langs/handlebars.js +1 -0
  1661. package/src/shiki/langs/haskell.js +1 -0
  1662. package/src/shiki/langs/haxe.js +1 -0
  1663. package/src/shiki/langs/hcl.js +1 -0
  1664. package/src/shiki/langs/hjson.js +1 -0
  1665. package/src/shiki/langs/hlsl.js +1 -0
  1666. package/src/shiki/langs/html-derivative.js +1 -0
  1667. package/src/shiki/langs/html.js +1 -0
  1668. package/src/shiki/langs/http.js +1 -0
  1669. package/src/shiki/langs/hxml.js +1 -0
  1670. package/src/shiki/langs/hy.js +1 -0
  1671. package/src/shiki/langs/imba.js +1 -0
  1672. package/src/shiki/langs/ini.js +1 -0
  1673. package/src/shiki/langs/java.js +1 -0
  1674. package/src/shiki/langs/javascript.js +1 -0
  1675. package/src/shiki/langs/jinja-html.js +1 -0
  1676. package/src/shiki/langs/jinja.js +1 -0
  1677. package/src/shiki/langs/jison.js +1 -0
  1678. package/src/shiki/langs/json.js +1 -0
  1679. package/src/shiki/langs/json5.js +1 -0
  1680. package/src/shiki/langs/jsonc.js +1 -0
  1681. package/src/shiki/langs/jsonl.js +1 -0
  1682. package/src/shiki/langs/jsonnet.js +1 -0
  1683. package/src/shiki/langs/jssm.js +1 -0
  1684. package/src/shiki/langs/jsx.js +1 -0
  1685. package/src/shiki/langs/julia.js +1 -0
  1686. package/src/shiki/langs/kotlin.js +1 -0
  1687. package/src/shiki/langs/kusto.js +1 -0
  1688. package/src/shiki/langs/latex.js +1 -0
  1689. package/src/shiki/langs/lean.js +1 -0
  1690. package/src/shiki/langs/less.js +1 -0
  1691. package/src/shiki/langs/liquid.js +1 -0
  1692. package/src/shiki/langs/llvm.js +1 -0
  1693. package/src/shiki/langs/log.js +1 -0
  1694. package/src/shiki/langs/logo.js +1 -0
  1695. package/src/shiki/langs/lua.js +1 -0
  1696. package/src/shiki/langs/luau.js +1 -0
  1697. package/src/shiki/langs/make.js +1 -0
  1698. package/src/shiki/langs/markdown-vue.js +1 -0
  1699. package/src/shiki/langs/markdown.js +1 -0
  1700. package/src/shiki/langs/marko.js +1 -0
  1701. package/src/shiki/langs/matlab.js +1 -0
  1702. package/src/shiki/langs/mdc.js +1 -0
  1703. package/src/shiki/langs/mdx.js +1 -0
  1704. package/src/shiki/langs/mermaid.js +1 -0
  1705. package/src/shiki/langs/mipsasm.js +1 -0
  1706. package/src/shiki/langs/mojo.js +1 -0
  1707. package/src/shiki/langs/move.js +1 -0
  1708. package/src/shiki/langs/narrat.js +1 -0
  1709. package/src/shiki/langs/nextflow.js +1 -0
  1710. package/src/shiki/langs/nginx.js +1 -0
  1711. package/src/shiki/langs/nim.js +1 -0
  1712. package/src/shiki/langs/nix.js +1 -0
  1713. package/src/shiki/langs/nushell.js +1 -0
  1714. package/src/shiki/langs/objective-c.js +1 -0
  1715. package/src/shiki/langs/objective-cpp.js +1 -0
  1716. package/src/shiki/langs/ocaml.js +1 -0
  1717. package/src/shiki/langs/pascal.js +1 -0
  1718. package/src/shiki/langs/perl.js +1 -0
  1719. package/src/shiki/langs/php.js +1 -0
  1720. package/src/shiki/langs/plsql.js +1 -0
  1721. package/src/shiki/langs/po.js +1 -0
  1722. package/src/shiki/langs/polar.js +1 -0
  1723. package/src/shiki/langs/postcss.js +1 -0
  1724. package/src/shiki/langs/powerquery.js +1 -0
  1725. package/src/shiki/langs/powershell.js +1 -0
  1726. package/src/shiki/langs/prisma.js +1 -0
  1727. package/src/shiki/langs/prolog.js +1 -0
  1728. package/src/shiki/langs/proto.js +1 -0
  1729. package/src/shiki/langs/pug.js +1 -0
  1730. package/src/shiki/langs/puppet.js +1 -0
  1731. package/src/shiki/langs/purescript.js +1 -0
  1732. package/src/shiki/langs/python.js +1 -0
  1733. package/src/shiki/langs/qml.js +1 -0
  1734. package/src/shiki/langs/qmldir.js +1 -0
  1735. package/src/shiki/langs/qss.js +1 -0
  1736. package/src/shiki/langs/r.js +1 -0
  1737. package/src/shiki/langs/racket.js +1 -0
  1738. package/src/shiki/langs/raku.js +1 -0
  1739. package/src/shiki/langs/razor.js +1 -0
  1740. package/src/shiki/langs/reg.js +1 -0
  1741. package/src/shiki/langs/regexp.js +1 -0
  1742. package/src/shiki/langs/rel.js +1 -0
  1743. package/src/shiki/langs/riscv.js +1 -0
  1744. package/src/shiki/langs/rst.js +1 -0
  1745. package/src/shiki/langs/ruby.js +1 -0
  1746. package/src/shiki/langs/rust.js +1 -0
  1747. package/src/shiki/langs/sas.js +1 -0
  1748. package/src/shiki/langs/sass.js +1 -0
  1749. package/src/shiki/langs/scala.js +1 -0
  1750. package/src/shiki/langs/scheme.js +1 -0
  1751. package/src/shiki/langs/scss.js +1 -0
  1752. package/src/shiki/langs/sdbl.js +1 -0
  1753. package/src/shiki/langs/shaderlab.js +1 -0
  1754. package/src/shiki/langs/shellscript.js +1 -0
  1755. package/src/shiki/langs/shellsession.js +1 -0
  1756. package/src/shiki/langs/smalltalk.js +1 -0
  1757. package/src/shiki/langs/solidity.js +1 -0
  1758. package/src/shiki/langs/soy.js +1 -0
  1759. package/src/shiki/langs/sparql.js +1 -0
  1760. package/src/shiki/langs/splunk.js +1 -0
  1761. package/src/shiki/langs/sql.js +1 -0
  1762. package/src/shiki/langs/ssh-config.js +1 -0
  1763. package/src/shiki/langs/stata.js +1 -0
  1764. package/src/shiki/langs/stylus.js +1 -0
  1765. package/src/shiki/langs/svelte.js +1 -0
  1766. package/src/shiki/langs/swift.js +1 -0
  1767. package/src/shiki/langs/system-verilog.js +1 -0
  1768. package/src/shiki/langs/systemd.js +1 -0
  1769. package/src/shiki/langs/talonscript.js +1 -0
  1770. package/src/shiki/langs/tasl.js +1 -0
  1771. package/src/shiki/langs/tcl.js +1 -0
  1772. package/src/shiki/langs/templ.js +1 -0
  1773. package/src/shiki/langs/terraform.js +1 -0
  1774. package/src/shiki/langs/tex.js +1 -0
  1775. package/src/shiki/langs/toml.js +1 -0
  1776. package/src/shiki/langs/ts-tags.js +1 -0
  1777. package/src/shiki/langs/tsv.js +1 -0
  1778. package/src/shiki/langs/tsx.js +1 -0
  1779. package/src/shiki/langs/turtle.js +1 -0
  1780. package/src/shiki/langs/twig.js +1 -0
  1781. package/src/shiki/langs/typescript.js +1 -0
  1782. package/src/shiki/langs/typespec.js +1 -0
  1783. package/src/shiki/langs/typst.js +1 -0
  1784. package/src/shiki/langs/v.js +1 -0
  1785. package/src/shiki/langs/vala.js +1 -0
  1786. package/src/shiki/langs/vb.js +1 -0
  1787. package/src/shiki/langs/verilog.js +1 -0
  1788. package/src/shiki/langs/vhdl.js +1 -0
  1789. package/src/shiki/langs/viml.js +1 -0
  1790. package/src/shiki/langs/vue-directives.js +1 -0
  1791. package/src/shiki/langs/vue-html.js +1 -0
  1792. package/src/shiki/langs/vue-interpolations.js +1 -0
  1793. package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
  1794. package/src/shiki/langs/vue-vine.js +1 -0
  1795. package/src/shiki/langs/vue.js +1 -0
  1796. package/src/shiki/langs/vyper.js +1 -0
  1797. package/src/shiki/langs/wasm.js +1 -0
  1798. package/src/shiki/langs/wenyan.js +1 -0
  1799. package/src/shiki/langs/wgsl.js +1 -0
  1800. package/src/shiki/langs/wikitext.js +1 -0
  1801. package/src/shiki/langs/wit.js +1 -0
  1802. package/src/shiki/langs/wolfram.js +1 -0
  1803. package/src/shiki/langs/xml.js +1 -0
  1804. package/src/shiki/langs/xsl.js +1 -0
  1805. package/src/shiki/langs/yaml.js +1 -0
  1806. package/src/shiki/langs/zenscript.js +1 -0
  1807. package/src/shiki/langs/zig.js +1 -0
  1808. package/src/shiki/themes/andromeeda.js +1 -0
  1809. package/src/shiki/themes/aurora-x.js +1 -0
  1810. package/src/shiki/themes/ayu-dark.js +1 -0
  1811. package/src/shiki/themes/catppuccin-frappe.js +1 -0
  1812. package/src/shiki/themes/catppuccin-latte.js +1 -0
  1813. package/src/shiki/themes/catppuccin-macchiato.js +1 -0
  1814. package/src/shiki/themes/catppuccin-mocha.js +1 -0
  1815. package/src/shiki/themes/dark-plus.js +1 -0
  1816. package/src/shiki/themes/dracula-soft.js +1 -0
  1817. package/src/shiki/themes/dracula.js +1 -0
  1818. package/src/shiki/themes/everforest-dark.js +1 -0
  1819. package/src/shiki/themes/everforest-light.js +1 -0
  1820. package/src/shiki/themes/github-dark-default.js +1 -0
  1821. package/src/shiki/themes/github-dark-dimmed.js +1 -0
  1822. package/src/shiki/themes/github-dark-high-contrast.js +1 -0
  1823. package/src/shiki/themes/github-dark.js +1 -0
  1824. package/src/shiki/themes/github-light-default.js +1 -0
  1825. package/src/shiki/themes/github-light-high-contrast.js +1 -0
  1826. package/src/shiki/themes/github-light.js +1 -0
  1827. package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
  1828. package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
  1829. package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
  1830. package/src/shiki/themes/gruvbox-light-hard.js +1 -0
  1831. package/src/shiki/themes/gruvbox-light-medium.js +1 -0
  1832. package/src/shiki/themes/gruvbox-light-soft.js +1 -0
  1833. package/src/shiki/themes/houston.js +1 -0
  1834. package/src/shiki/themes/kanagawa-dragon.js +1 -0
  1835. package/src/shiki/themes/kanagawa-lotus.js +1 -0
  1836. package/src/shiki/themes/kanagawa-wave.js +1 -0
  1837. package/src/shiki/themes/laserwave.js +1 -0
  1838. package/src/shiki/themes/light-plus.js +1 -0
  1839. package/src/shiki/themes/material-theme-darker.js +1 -0
  1840. package/src/shiki/themes/material-theme-lighter.js +1 -0
  1841. package/src/shiki/themes/material-theme-ocean.js +1 -0
  1842. package/src/shiki/themes/material-theme-palenight.js +1 -0
  1843. package/src/shiki/themes/material-theme.js +1 -0
  1844. package/src/shiki/themes/min-dark.js +1 -0
  1845. package/src/shiki/themes/min-light.js +1 -0
  1846. package/src/shiki/themes/monokai.js +1 -0
  1847. package/src/shiki/themes/night-owl.js +1 -0
  1848. package/src/shiki/themes/nord.js +1 -0
  1849. package/src/shiki/themes/one-dark-pro.js +1 -0
  1850. package/src/shiki/themes/one-light.js +1 -0
  1851. package/src/shiki/themes/plastic.js +1 -0
  1852. package/src/shiki/themes/poimandres.js +1 -0
  1853. package/src/shiki/themes/red.js +1 -0
  1854. package/src/shiki/themes/rose-pine-dawn.js +1 -0
  1855. package/src/shiki/themes/rose-pine-moon.js +1 -0
  1856. package/src/shiki/themes/rose-pine.js +1 -0
  1857. package/src/shiki/themes/slack-dark.js +1 -0
  1858. package/src/shiki/themes/slack-ochin.js +1 -0
  1859. package/src/shiki/themes/snazzy-light.js +1 -0
  1860. package/src/shiki/themes/solarized-dark.js +1 -0
  1861. package/src/shiki/themes/solarized-light.js +1 -0
  1862. package/src/shiki/themes/synthwave-84.js +1 -0
  1863. package/src/shiki/themes/tokyo-night.js +1 -0
  1864. package/src/shiki/themes/vesper.js +1 -0
  1865. package/src/shiki/themes/vitesse-black.js +1 -0
  1866. package/src/shiki/themes/vitesse-dark.js +1 -0
  1867. package/src/shiki/themes/vitesse-light.js +1 -0
  1868. package/LICENSE.md +0 -9
  1869. package/client.d.ts +0 -1
  1870. package/dist/app/tailwind.d.ts +0 -3
  1871. package/dist/app/tailwind.js +0 -65
  1872. package/dist/app/tailwind.js.map +0 -1
  1873. package/dist/config/validators/InputSidebarSchema.d.ts +0 -201
  1874. package/dist/config/validators/InputSidebarSchema.js +0 -52
  1875. package/dist/config/validators/InputSidebarSchema.js.map +0 -1
  1876. package/dist/config/validators/SidebarSchema.d.ts +0 -46
  1877. package/dist/config/validators/SidebarSchema.js +0 -118
  1878. package/dist/config/validators/SidebarSchema.js.map +0 -1
  1879. package/dist/lib/components/DevPortal.d.ts +0 -7
  1880. package/dist/lib/components/DevPortal.js +0 -54
  1881. package/dist/lib/components/DevPortal.js.map +0 -1
  1882. package/dist/lib/components/SlotletProvider.d.ts +0 -17
  1883. package/dist/lib/components/SlotletProvider.js +0 -18
  1884. package/dist/lib/components/SlotletProvider.js.map +0 -1
  1885. package/dist/lib/components/SyntaxHighlight.d.ts +0 -11
  1886. package/dist/lib/components/SyntaxHighlight.js +0 -53
  1887. package/dist/lib/components/SyntaxHighlight.js.map +0 -1
  1888. package/dist/lib/components/context/PluginSystem.js +0 -2
  1889. package/dist/lib/components/context/PluginSystem.js.map +0 -1
  1890. package/dist/lib/components/context/ThemeContext.d.ts +0 -2
  1891. package/dist/lib/components/context/ThemeContext.js +0 -7
  1892. package/dist/lib/components/context/ThemeContext.js.map +0 -1
  1893. package/dist/lib/components/context/ThemeProvider.d.ts +0 -4
  1894. package/dist/lib/components/context/ThemeProvider.js +0 -23
  1895. package/dist/lib/components/context/ThemeProvider.js.map +0 -1
  1896. package/dist/lib/components/navigation/Sidebar.d.ts +0 -1
  1897. package/dist/lib/components/navigation/Sidebar.js +0 -14
  1898. package/dist/lib/components/navigation/Sidebar.js.map +0 -1
  1899. package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -23
  1900. package/dist/lib/components/navigation/SidebarBadge.js +0 -24
  1901. package/dist/lib/components/navigation/SidebarBadge.js.map +0 -1
  1902. package/dist/lib/components/navigation/SidebarCategory.d.ts +0 -5
  1903. package/dist/lib/components/navigation/SidebarCategory.js +0 -50
  1904. package/dist/lib/components/navigation/SidebarCategory.js.map +0 -1
  1905. package/dist/lib/components/navigation/SidebarItem.d.ts +0 -12
  1906. package/dist/lib/components/navigation/SidebarItem.js +0 -48
  1907. package/dist/lib/components/navigation/SidebarItem.js.map +0 -1
  1908. package/dist/lib/components/navigation/SidebarWrapper.d.ts +0 -6
  1909. package/dist/lib/components/navigation/SidebarWrapper.js +0 -6
  1910. package/dist/lib/components/navigation/SidebarWrapper.js.map +0 -1
  1911. package/dist/lib/core/DevPortalContext.d.ts +0 -75
  1912. package/dist/lib/core/DevPortalContext.js +0 -49
  1913. package/dist/lib/core/DevPortalContext.js.map +0 -1
  1914. package/dist/lib/plugins/custom-pages/CustomPage.d.ts +0 -2
  1915. package/dist/lib/plugins/custom-pages/CustomPage.js +0 -11
  1916. package/dist/lib/plugins/custom-pages/CustomPage.js.map +0 -1
  1917. package/dist/lib/plugins/markdown/Toc.js +0 -48
  1918. package/dist/lib/plugins/markdown/Toc.js.map +0 -1
  1919. package/dist/lib/plugins/markdown/resolver.d.ts +0 -38
  1920. package/dist/lib/plugins/markdown/resolver.js +0 -75
  1921. package/dist/lib/plugins/markdown/resolver.js.map +0 -1
  1922. package/dist/lib/plugins/openapi/Route.d.ts +0 -6
  1923. package/dist/lib/plugins/openapi/Route.js +0 -8
  1924. package/dist/lib/plugins/openapi/Route.js.map +0 -1
  1925. package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +0 -12
  1926. package/dist/lib/plugins/openapi/client/createMemoryClient.js +0 -46
  1927. package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +0 -1
  1928. package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +0 -10
  1929. package/dist/lib/plugins/openapi/client/createWorkerClient.js +0 -61
  1930. package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +0 -1
  1931. package/dist/lib/plugins/openapi/client/interfaces.d.ts +0 -4
  1932. package/dist/lib/plugins/openapi/client/interfaces.js +0 -2
  1933. package/dist/lib/plugins/openapi/client/interfaces.js.map +0 -1
  1934. package/dist/lib/plugins/openapi/client/worker.js +0 -20
  1935. package/dist/lib/plugins/openapi/client/worker.js.map +0 -1
  1936. package/dist/lib/plugins/openapi/playground/ResponseTab.d.ts +0 -4
  1937. package/dist/lib/plugins/openapi/playground/ResponseTab.js +0 -42
  1938. package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +0 -1
  1939. package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +0 -4
  1940. package/dist/lib/plugins/openapi/playground/UrlDisplay.js +0 -22
  1941. package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +0 -1
  1942. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +0 -9
  1943. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +0 -14
  1944. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +0 -1
  1945. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +0 -6
  1946. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +0 -17
  1947. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +0 -1
  1948. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -7
  1949. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +0 -10
  1950. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +0 -1
  1951. package/dist/lib/plugins/openapi/schema/SchemaComponents.d.ts +0 -13
  1952. package/dist/lib/plugins/openapi/schema/SchemaComponents.js +0 -28
  1953. package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
  1954. package/dist/lib/plugins/openapi-worker.d.ts +0 -1
  1955. package/dist/lib/plugins/openapi-worker.js +0 -2
  1956. package/dist/lib/plugins/openapi-worker.js.map +0 -1
  1957. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
  1958. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
  1959. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
  1960. package/dist/lib/themeToggle.d.ts +0 -1
  1961. package/dist/lib/themeToggle.js +0 -7
  1962. package/dist/lib/themeToggle.js.map +0 -1
  1963. package/dist/lib/util/createWaitForNotify.d.ts +0 -1
  1964. package/dist/lib/util/createWaitForNotify.js +0 -15
  1965. package/dist/lib/util/createWaitForNotify.js.map +0 -1
  1966. package/dist/vite/plugin-custom-css.d.ts +0 -6
  1967. package/dist/vite/plugin-custom-css.js +0 -55
  1968. package/dist/vite/plugin-custom-css.js.map +0 -1
  1969. package/dist/vite/plugin-docs.test.js +0 -30
  1970. package/dist/vite/plugin-docs.test.js.map +0 -1
  1971. package/dist/vite/plugin-html-transform.d.ts +0 -2
  1972. package/dist/vite/plugin-html-transform.js +0 -15
  1973. package/dist/vite/plugin-html-transform.js.map +0 -1
  1974. package/dist/vite/plugin-sidebar.d.ts +0 -3
  1975. package/dist/vite/plugin-sidebar.js +0 -47
  1976. package/dist/vite/plugin-sidebar.js.map +0 -1
  1977. package/dist/vite/prerender.d.ts +0 -21
  1978. package/dist/vite/prerender.js +0 -88
  1979. package/dist/vite/prerender.js.map +0 -1
  1980. package/lib/AnchorLink-BbB2q-jx.js +0 -705
  1981. package/lib/AnchorLink-BbB2q-jx.js.map +0 -1
  1982. package/lib/AuthenticationPlugin-C9BHGXlE.js +0 -55
  1983. package/lib/AuthenticationPlugin-C9BHGXlE.js.map +0 -1
  1984. package/lib/CategoryHeading-Bb9dqxD3.js +0 -10
  1985. package/lib/CategoryHeading-Bb9dqxD3.js.map +0 -1
  1986. package/lib/ClientOnly-CVN6leDu.js +0 -11
  1987. package/lib/ClientOnly-CVN6leDu.js.map +0 -1
  1988. package/lib/DeveloperHint-DHdLXGHA.js +0 -16
  1989. package/lib/DeveloperHint-DHdLXGHA.js.map +0 -1
  1990. package/lib/Dialog-k70Qfukb.js +0 -67
  1991. package/lib/Dialog-k70Qfukb.js.map +0 -1
  1992. package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
  1993. package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
  1994. package/lib/Markdown-BDcCAWwm.js +0 -18059
  1995. package/lib/Markdown-BDcCAWwm.js.map +0 -1
  1996. package/lib/MdxPage-DKMH_t0f.js +0 -174
  1997. package/lib/MdxPage-DKMH_t0f.js.map +0 -1
  1998. package/lib/OperationList-Tj7ubW_t.js +0 -604
  1999. package/lib/OperationList-Tj7ubW_t.js.map +0 -1
  2000. package/lib/Route-C3DGB6OS.js +0 -13
  2001. package/lib/Route-C3DGB6OS.js.map +0 -1
  2002. package/lib/Select-Bagt3Bme.js +0 -223
  2003. package/lib/Select-Bagt3Bme.js.map +0 -1
  2004. package/lib/SlotletProvider-Da7eFgd2.js +0 -241
  2005. package/lib/SlotletProvider-Da7eFgd2.js.map +0 -1
  2006. package/lib/Spinner-C6zroowC.js +0 -40
  2007. package/lib/Spinner-C6zroowC.js.map +0 -1
  2008. package/lib/StaggeredRender-DDHSzQKE.js +0 -17
  2009. package/lib/StaggeredRender-DDHSzQKE.js.map +0 -1
  2010. package/lib/ZudokuContext-BKXGJTmu.js +0 -1222
  2011. package/lib/ZudokuContext-BKXGJTmu.js.map +0 -1
  2012. package/lib/__vite-browser-external-BYRIRx8p.js +0 -9
  2013. package/lib/__vite-browser-external-BYRIRx8p.js.map +0 -1
  2014. package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
  2015. package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
  2016. package/lib/assets/index-B_Jk_Yzp.js +0 -4820
  2017. package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
  2018. package/lib/assets/worker-Bf8vjASY.js +0 -18197
  2019. package/lib/assets/worker-Bf8vjASY.js.map +0 -1
  2020. package/lib/cn-BmFQLtkS.js +0 -2279
  2021. package/lib/cn-BmFQLtkS.js.map +0 -1
  2022. package/lib/hook-sn0zMTkE.js +0 -229
  2023. package/lib/hook-sn0zMTkE.js.map +0 -1
  2024. package/lib/index-AjWCJNGC.js +0 -5690
  2025. package/lib/index-AjWCJNGC.js.map +0 -1
  2026. package/lib/index-Bn6Lc9tq.js +0 -9
  2027. package/lib/index-Bn6Lc9tq.js.map +0 -1
  2028. package/lib/index-BuAyrJe3.js +0 -46
  2029. package/lib/index-BuAyrJe3.js.map +0 -1
  2030. package/lib/index-CRo94sKK.js +0 -1783
  2031. package/lib/index-CRo94sKK.js.map +0 -1
  2032. package/lib/index-CkwDvuPt.js +0 -4820
  2033. package/lib/index-CkwDvuPt.js.map +0 -1
  2034. package/lib/index-LNp6rxyU.js +0 -2094
  2035. package/lib/index-LNp6rxyU.js.map +0 -1
  2036. package/lib/index.esm-C5mr_sKO.js +0 -1193
  2037. package/lib/index.esm-C5mr_sKO.js.map +0 -1
  2038. package/lib/invariant-Caa8-XvF.js +0 -26
  2039. package/lib/invariant-Caa8-XvF.js.map +0 -1
  2040. package/lib/jsx-runtime-B6kdoens.js +0 -635
  2041. package/lib/jsx-runtime-B6kdoens.js.map +0 -1
  2042. package/lib/prism-bash.min-DadFsM4Z.js +0 -7
  2043. package/lib/prism-bash.min-DadFsM4Z.js.map +0 -1
  2044. package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
  2045. package/lib/prism-csharp.min-Yizuc34Y.js.map +0 -1
  2046. package/lib/prism-java.min-d5iT_mOd.js +0 -7
  2047. package/lib/prism-java.min-d5iT_mOd.js.map +0 -1
  2048. package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
  2049. package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
  2050. package/lib/prism-json.min-B1GJqK1k.js +0 -2
  2051. package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
  2052. package/lib/prism-markdown.min-F3U-vPBi.js +0 -61
  2053. package/lib/prism-markdown.min-F3U-vPBi.js.map +0 -1
  2054. package/lib/prism-markup-BNGj0Tvm.js +0 -174
  2055. package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
  2056. package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
  2057. package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
  2058. package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
  2059. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
  2060. package/lib/prism-php.min-o7FpoMP_.js +0 -11
  2061. package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
  2062. package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
  2063. package/lib/prism-ruby.min-C7LwcKyz.js.map +0 -1
  2064. package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
  2065. package/lib/prism-typescript.min-oSVeWCAd.js.map +0 -1
  2066. package/lib/router-BsfSoK2j.js +0 -3024
  2067. package/lib/router-BsfSoK2j.js.map +0 -1
  2068. package/lib/state-CsuHT8ZO.js +0 -183
  2069. package/lib/state-CsuHT8ZO.js.map +0 -1
  2070. package/lib/urql-core-KJnLL26g.js +0 -1455
  2071. package/lib/urql-core-KJnLL26g.js.map +0 -1
  2072. package/lib/useExposedProps-ChOIUaS4.js +0 -9
  2073. package/lib/useExposedProps-ChOIUaS4.js.map +0 -1
  2074. package/lib/zudoku.openapi-worker.js +0 -16341
  2075. package/lib/zudoku.openapi-worker.js.map +0 -1
  2076. package/src/app/tailwind.ts +0 -68
  2077. package/src/lib/components/DevPortal.tsx +0 -111
  2078. package/src/lib/components/SlotletProvider.tsx +0 -55
  2079. package/src/lib/components/SyntaxHighlight.tsx +0 -126
  2080. package/src/lib/components/context/PluginSystem.ts +0 -0
  2081. package/src/lib/components/context/ThemeContext.tsx +0 -8
  2082. package/src/lib/components/context/ThemeProvider.tsx +0 -27
  2083. package/src/lib/components/navigation/Sidebar.tsx +0 -39
  2084. package/src/lib/components/navigation/SidebarBadge.tsx +0 -43
  2085. package/src/lib/components/navigation/SidebarCategory.tsx +0 -137
  2086. package/src/lib/components/navigation/SidebarItem.tsx +0 -127
  2087. package/src/lib/components/navigation/SidebarWrapper.tsx +0 -26
  2088. package/src/lib/core/DevPortalContext.ts +0 -136
  2089. package/src/lib/plugins/custom-pages/CustomPage.tsx +0 -18
  2090. package/src/lib/plugins/markdown/Toc.tsx +0 -135
  2091. package/src/lib/plugins/markdown/resolver.ts +0 -92
  2092. package/src/lib/plugins/openapi/Route.tsx +0 -20
  2093. package/src/lib/plugins/openapi/client/createMemoryClient.ts +0 -51
  2094. package/src/lib/plugins/openapi/client/createWorkerClient.ts +0 -75
  2095. package/src/lib/plugins/openapi/client/interfaces.ts +0 -5
  2096. package/src/lib/plugins/openapi/client/worker.ts +0 -30
  2097. package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -76
  2098. package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +0 -32
  2099. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +0 -47
  2100. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +0 -54
  2101. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +0 -30
  2102. package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +0 -126
  2103. package/src/lib/plugins/openapi-worker.ts +0 -1
  2104. package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
  2105. package/src/lib/themeToggle.ts +0 -7
  2106. package/src/lib/util/createWaitForNotify.ts +0 -18
  2107. /package/dist/{lib/components/context/PluginSystem.d.ts → config/validators/InputNavigationSchema.test-d.d.ts} +0 -0
  2108. /package/dist/{lib/plugins/openapi/client/worker.d.ts → config/validators/validate.test.d.ts} +0 -0
  2109. /package/dist/{vite/plugin-docs.test.d.ts → lib/auth/issuer.test.d.ts} +0 -0
  2110. /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
@@ -0,0 +1,2981 @@
1
+ import { a as Fe, H as qe } from "./index.esm-BnYHxCYC.js";
2
+ import { j as a } from "./jsx-runtime-DywqP_6a.js";
3
+ import { S as Me, q as Qe, Q as _t, n as O, r as fe, v as pe, i as T, w as yt, x as wt, y as bt, z as zt, A as me, B as ge, D as xt, h as ve, E as _e, F as kt, G as Zt, g as $t, H as Le, e as jt, d as X, o as Pt, j as Ot } from "./ZudokuContext-3cqbu21w.js";
4
+ import { M as St } from "./mutation-DvBlWyBr.js";
5
+ import * as A from "react";
6
+ import { StrictMode as Be, useEffect as ee, useRef as Ke, useState as Et, Suspense as It } from "react";
7
+ import { h as Tt, m as Dt, aM as We, aQ as At, O as Nt } from "./chunk-QMGIS6GS-DqecZ6nq.js";
8
+ import * as Ct from "react-dom";
9
+ import { a as Rt, u as Ut, P as Ft, H as qt } from "./index-7FEjMkZ_.js";
10
+ import { B as He, R as Mt } from "./RouteGuard-nFlgfJqk.js";
11
+ import { CircleFadingArrowUpIcon as Qt, LoaderCircleIcon as Lt, ExternalLink as Bt, PanelLeftIcon as Kt } from "lucide-react";
12
+ import { Button as Wt } from "./ui/Button.js";
13
+ import { c as S } from "./cn-dYga0KKN.js";
14
+ import { a as N, A as Ht, s as Vt, N as ye, f as Jt, T as Gt, H as Yt, E as Xt } from "./ErrorAlert-Diu_w5Po.js";
15
+ import { d as E, b as en, c as tn } from "./Drawer-DM9wJUC6.js";
16
+ import { VisuallyHidden as nn } from "@radix-ui/react-visually-hidden";
17
+ import { S as rn } from "./Spinner-Cf6E803I.js";
18
+ import { C as on } from "./CategoryHeading-BGCNu3VK.js";
19
+ import { N as sn, R as an } from "./RouterError-CnS5hYUh.js";
20
+ var cn = class extends Me {
21
+ constructor(e = {}) {
22
+ super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
23
+ }
24
+ #e;
25
+ build(e, t, n) {
26
+ const r = t.queryKey, o = t.queryHash ?? Qe(r, t);
27
+ let s = this.get(o);
28
+ return s || (s = new _t({
29
+ client: e,
30
+ queryKey: r,
31
+ queryHash: o,
32
+ options: e.defaultQueryOptions(t),
33
+ state: n,
34
+ defaultOptions: e.getQueryDefaults(r)
35
+ }), this.add(s)), s;
36
+ }
37
+ add(e) {
38
+ this.#e.has(e.queryHash) || (this.#e.set(e.queryHash, e), this.notify({
39
+ type: "added",
40
+ query: e
41
+ }));
42
+ }
43
+ remove(e) {
44
+ const t = this.#e.get(e.queryHash);
45
+ t && (e.destroy(), t === e && this.#e.delete(e.queryHash), this.notify({ type: "removed", query: e }));
46
+ }
47
+ clear() {
48
+ O.batch(() => {
49
+ this.getAll().forEach((e) => {
50
+ this.remove(e);
51
+ });
52
+ });
53
+ }
54
+ get(e) {
55
+ return this.#e.get(e);
56
+ }
57
+ getAll() {
58
+ return [...this.#e.values()];
59
+ }
60
+ find(e) {
61
+ const t = { exact: !0, ...e };
62
+ return this.getAll().find(
63
+ (n) => fe(t, n)
64
+ );
65
+ }
66
+ findAll(e = {}) {
67
+ const t = this.getAll();
68
+ return Object.keys(e).length > 0 ? t.filter((n) => fe(e, n)) : t;
69
+ }
70
+ notify(e) {
71
+ O.batch(() => {
72
+ this.listeners.forEach((t) => {
73
+ t(e);
74
+ });
75
+ });
76
+ }
77
+ onFocus() {
78
+ O.batch(() => {
79
+ this.getAll().forEach((e) => {
80
+ e.onFocus();
81
+ });
82
+ });
83
+ }
84
+ onOnline() {
85
+ O.batch(() => {
86
+ this.getAll().forEach((e) => {
87
+ e.onOnline();
88
+ });
89
+ });
90
+ }
91
+ }, un = class extends Me {
92
+ constructor(e = {}) {
93
+ super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
94
+ }
95
+ #e;
96
+ #t;
97
+ #n;
98
+ build(e, t, n) {
99
+ const r = new St({
100
+ mutationCache: this,
101
+ mutationId: ++this.#n,
102
+ options: e.defaultMutationOptions(t),
103
+ state: n
104
+ });
105
+ return this.add(r), r;
106
+ }
107
+ add(e) {
108
+ this.#e.add(e);
109
+ const t = W(e);
110
+ if (typeof t == "string") {
111
+ const n = this.#t.get(t);
112
+ n ? n.push(e) : this.#t.set(t, [e]);
113
+ }
114
+ this.notify({ type: "added", mutation: e });
115
+ }
116
+ remove(e) {
117
+ if (this.#e.delete(e)) {
118
+ const t = W(e);
119
+ if (typeof t == "string") {
120
+ const n = this.#t.get(t);
121
+ if (n)
122
+ if (n.length > 1) {
123
+ const r = n.indexOf(e);
124
+ r !== -1 && n.splice(r, 1);
125
+ } else n[0] === e && this.#t.delete(t);
126
+ }
127
+ }
128
+ this.notify({ type: "removed", mutation: e });
129
+ }
130
+ canRun(e) {
131
+ const t = W(e);
132
+ if (typeof t == "string") {
133
+ const r = this.#t.get(t)?.find(
134
+ (o) => o.state.status === "pending"
135
+ );
136
+ return !r || r === e;
137
+ } else
138
+ return !0;
139
+ }
140
+ runNext(e) {
141
+ const t = W(e);
142
+ return typeof t == "string" ? this.#t.get(t)?.find((r) => r !== e && r.state.isPaused)?.continue() ?? Promise.resolve() : Promise.resolve();
143
+ }
144
+ clear() {
145
+ O.batch(() => {
146
+ this.#e.forEach((e) => {
147
+ this.notify({ type: "removed", mutation: e });
148
+ }), this.#e.clear(), this.#t.clear();
149
+ });
150
+ }
151
+ getAll() {
152
+ return Array.from(this.#e);
153
+ }
154
+ find(e) {
155
+ const t = { exact: !0, ...e };
156
+ return this.getAll().find(
157
+ (n) => pe(t, n)
158
+ );
159
+ }
160
+ findAll(e = {}) {
161
+ return this.getAll().filter((t) => pe(e, t));
162
+ }
163
+ notify(e) {
164
+ O.batch(() => {
165
+ this.listeners.forEach((t) => {
166
+ t(e);
167
+ });
168
+ });
169
+ }
170
+ resumePausedMutations() {
171
+ const e = this.getAll().filter((t) => t.state.isPaused);
172
+ return O.batch(
173
+ () => Promise.all(
174
+ e.map((t) => t.continue().catch(T))
175
+ )
176
+ );
177
+ }
178
+ };
179
+ function W(e) {
180
+ return e.options.scope?.id;
181
+ }
182
+ function we(e) {
183
+ return {
184
+ onFetch: (t, n) => {
185
+ const r = t.options, o = t.fetchOptions?.meta?.fetchMore?.direction, s = t.state.data?.pages || [], i = t.state.data?.pageParams || [];
186
+ let u = { pages: [], pageParams: [] }, f = 0;
187
+ const d = async () => {
188
+ let g = !1;
189
+ const h = (v) => {
190
+ Object.defineProperty(v, "signal", {
191
+ enumerable: !0,
192
+ get: () => (t.signal.aborted ? g = !0 : t.signal.addEventListener("abort", () => {
193
+ g = !0;
194
+ }), t.signal)
195
+ });
196
+ }, p = yt(t.options, t.fetchOptions), m = async (v, z, P) => {
197
+ if (g)
198
+ return Promise.reject();
199
+ if (z == null && v.pages.length)
200
+ return Promise.resolve(v);
201
+ const j = (() => {
202
+ const D = {
203
+ client: t.client,
204
+ queryKey: t.queryKey,
205
+ pageParam: z,
206
+ direction: P ? "backward" : "forward",
207
+ meta: t.options.meta
208
+ };
209
+ return h(D), D;
210
+ })(), b = await p(j), { maxPages: k } = t.options, q = P ? wt : bt;
211
+ return {
212
+ pages: q(v.pages, b, k),
213
+ pageParams: q(v.pageParams, z, k)
214
+ };
215
+ };
216
+ if (o && s.length) {
217
+ const v = o === "backward", z = v ? ln : be, P = {
218
+ pages: s,
219
+ pageParams: i
220
+ }, $ = z(r, P);
221
+ u = await m(P, $, v);
222
+ } else {
223
+ const v = e ?? s.length;
224
+ do {
225
+ const z = f === 0 ? i[0] ?? r.initialPageParam : be(r, u);
226
+ if (f > 0 && z == null)
227
+ break;
228
+ u = await m(u, z), f++;
229
+ } while (f < v);
230
+ }
231
+ return u;
232
+ };
233
+ t.options.persister ? t.fetchFn = () => t.options.persister?.(
234
+ d,
235
+ {
236
+ client: t.client,
237
+ queryKey: t.queryKey,
238
+ meta: t.options.meta,
239
+ signal: t.signal
240
+ },
241
+ n
242
+ ) : t.fetchFn = d;
243
+ }
244
+ };
245
+ }
246
+ function be(e, { pages: t, pageParams: n }) {
247
+ const r = t.length - 1;
248
+ return t.length > 0 ? e.getNextPageParam(
249
+ t[r],
250
+ t,
251
+ n[r],
252
+ n
253
+ ) : void 0;
254
+ }
255
+ function ln(e, { pages: t, pageParams: n }) {
256
+ return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
257
+ }
258
+ var dn = class {
259
+ #e;
260
+ #t;
261
+ #n;
262
+ #o;
263
+ #s;
264
+ #r;
265
+ #i;
266
+ #a;
267
+ constructor(e = {}) {
268
+ this.#e = e.queryCache || new cn(), this.#t = e.mutationCache || new un(), this.#n = e.defaultOptions || {}, this.#o = /* @__PURE__ */ new Map(), this.#s = /* @__PURE__ */ new Map(), this.#r = 0;
269
+ }
270
+ mount() {
271
+ this.#r++, this.#r === 1 && (this.#i = zt.subscribe(async (e) => {
272
+ e && (await this.resumePausedMutations(), this.#e.onFocus());
273
+ }), this.#a = me.subscribe(async (e) => {
274
+ e && (await this.resumePausedMutations(), this.#e.onOnline());
275
+ }));
276
+ }
277
+ unmount() {
278
+ this.#r--, this.#r === 0 && (this.#i?.(), this.#i = void 0, this.#a?.(), this.#a = void 0);
279
+ }
280
+ isFetching(e) {
281
+ return this.#e.findAll({ ...e, fetchStatus: "fetching" }).length;
282
+ }
283
+ isMutating(e) {
284
+ return this.#t.findAll({ ...e, status: "pending" }).length;
285
+ }
286
+ /**
287
+ * Imperative (non-reactive) way to retrieve data for a QueryKey.
288
+ * Should only be used in callbacks or functions where reading the latest data is necessary, e.g. for optimistic updates.
289
+ *
290
+ * Hint: Do not use this function inside a component, because it won't receive updates.
291
+ * Use `useQuery` to create a `QueryObserver` that subscribes to changes.
292
+ */
293
+ getQueryData(e) {
294
+ const t = this.defaultQueryOptions({ queryKey: e });
295
+ return this.#e.get(t.queryHash)?.state.data;
296
+ }
297
+ ensureQueryData(e) {
298
+ const t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
299
+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(ge(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
300
+ }
301
+ getQueriesData(e) {
302
+ return this.#e.findAll(e).map(({ queryKey: t, state: n }) => {
303
+ const r = n.data;
304
+ return [t, r];
305
+ });
306
+ }
307
+ setQueryData(e, t, n) {
308
+ const r = this.defaultQueryOptions({ queryKey: e }), s = this.#e.get(
309
+ r.queryHash
310
+ )?.state.data, i = xt(t, s);
311
+ if (i !== void 0)
312
+ return this.#e.build(this, r).setData(i, { ...n, manual: !0 });
313
+ }
314
+ setQueriesData(e, t, n) {
315
+ return O.batch(
316
+ () => this.#e.findAll(e).map(({ queryKey: r }) => [
317
+ r,
318
+ this.setQueryData(r, t, n)
319
+ ])
320
+ );
321
+ }
322
+ getQueryState(e) {
323
+ const t = this.defaultQueryOptions({ queryKey: e });
324
+ return this.#e.get(
325
+ t.queryHash
326
+ )?.state;
327
+ }
328
+ removeQueries(e) {
329
+ const t = this.#e;
330
+ O.batch(() => {
331
+ t.findAll(e).forEach((n) => {
332
+ t.remove(n);
333
+ });
334
+ });
335
+ }
336
+ resetQueries(e, t) {
337
+ const n = this.#e;
338
+ return O.batch(() => (n.findAll(e).forEach((r) => {
339
+ r.reset();
340
+ }), this.refetchQueries(
341
+ {
342
+ type: "active",
343
+ ...e
344
+ },
345
+ t
346
+ )));
347
+ }
348
+ cancelQueries(e, t = {}) {
349
+ const n = { revert: !0, ...t }, r = O.batch(
350
+ () => this.#e.findAll(e).map((o) => o.cancel(n))
351
+ );
352
+ return Promise.all(r).then(T).catch(T);
353
+ }
354
+ invalidateQueries(e, t = {}) {
355
+ return O.batch(() => (this.#e.findAll(e).forEach((n) => {
356
+ n.invalidate();
357
+ }), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries(
358
+ {
359
+ ...e,
360
+ type: e?.refetchType ?? e?.type ?? "active"
361
+ },
362
+ t
363
+ )));
364
+ }
365
+ refetchQueries(e, t = {}) {
366
+ const n = {
367
+ ...t,
368
+ cancelRefetch: t.cancelRefetch ?? !0
369
+ }, r = O.batch(
370
+ () => this.#e.findAll(e).filter((o) => !o.isDisabled() && !o.isStatic()).map((o) => {
371
+ let s = o.fetch(void 0, n);
372
+ return n.throwOnError || (s = s.catch(T)), o.state.fetchStatus === "paused" ? Promise.resolve() : s;
373
+ })
374
+ );
375
+ return Promise.all(r).then(T);
376
+ }
377
+ fetchQuery(e) {
378
+ const t = this.defaultQueryOptions(e);
379
+ t.retry === void 0 && (t.retry = !1);
380
+ const n = this.#e.build(this, t);
381
+ return n.isStaleByTime(
382
+ ge(t.staleTime, n)
383
+ ) ? n.fetch(t) : Promise.resolve(n.state.data);
384
+ }
385
+ prefetchQuery(e) {
386
+ return this.fetchQuery(e).then(T).catch(T);
387
+ }
388
+ fetchInfiniteQuery(e) {
389
+ return e.behavior = we(e.pages), this.fetchQuery(e);
390
+ }
391
+ prefetchInfiniteQuery(e) {
392
+ return this.fetchInfiniteQuery(e).then(T).catch(T);
393
+ }
394
+ ensureInfiniteQueryData(e) {
395
+ return e.behavior = we(e.pages), this.ensureQueryData(e);
396
+ }
397
+ resumePausedMutations() {
398
+ return me.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
399
+ }
400
+ getQueryCache() {
401
+ return this.#e;
402
+ }
403
+ getMutationCache() {
404
+ return this.#t;
405
+ }
406
+ getDefaultOptions() {
407
+ return this.#n;
408
+ }
409
+ setDefaultOptions(e) {
410
+ this.#n = e;
411
+ }
412
+ setQueryDefaults(e, t) {
413
+ this.#o.set(ve(e), {
414
+ queryKey: e,
415
+ defaultOptions: t
416
+ });
417
+ }
418
+ getQueryDefaults(e) {
419
+ const t = [...this.#o.values()], n = {};
420
+ return t.forEach((r) => {
421
+ _e(e, r.queryKey) && Object.assign(n, r.defaultOptions);
422
+ }), n;
423
+ }
424
+ setMutationDefaults(e, t) {
425
+ this.#s.set(ve(e), {
426
+ mutationKey: e,
427
+ defaultOptions: t
428
+ });
429
+ }
430
+ getMutationDefaults(e) {
431
+ const t = [...this.#s.values()], n = {};
432
+ return t.forEach((r) => {
433
+ _e(e, r.mutationKey) && Object.assign(n, r.defaultOptions);
434
+ }), n;
435
+ }
436
+ defaultQueryOptions(e) {
437
+ if (e._defaulted)
438
+ return e;
439
+ const t = {
440
+ ...this.#n.queries,
441
+ ...this.getQueryDefaults(e.queryKey),
442
+ ...e,
443
+ _defaulted: !0
444
+ };
445
+ return t.queryHash || (t.queryHash = Qe(
446
+ t.queryKey,
447
+ t
448
+ )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === kt && (t.enabled = !1), t;
449
+ }
450
+ defaultMutationOptions(e) {
451
+ return e?._defaulted ? e : {
452
+ ...this.#n.mutations,
453
+ ...e?.mutationKey && this.getMutationDefaults(e.mutationKey),
454
+ ...e,
455
+ _defaulted: !0
456
+ };
457
+ }
458
+ clear() {
459
+ this.#e.clear(), this.#t.clear();
460
+ }
461
+ };
462
+ function hn(e) {
463
+ return e;
464
+ }
465
+ function ze(e, t, n) {
466
+ if (typeof t != "object" || t === null)
467
+ return;
468
+ const r = e.getMutationCache(), o = e.getQueryCache(), s = n?.defaultOptions?.deserializeData ?? e.getDefaultOptions().hydrate?.deserializeData ?? hn, i = t.mutations || [], u = t.queries || [];
469
+ i.forEach(({ state: f, ...d }) => {
470
+ r.build(
471
+ e,
472
+ {
473
+ ...e.getDefaultOptions().hydrate?.mutations,
474
+ ...n?.defaultOptions?.mutations,
475
+ ...d
476
+ },
477
+ f
478
+ );
479
+ }), u.forEach(
480
+ ({ queryKey: f, state: d, queryHash: g, meta: h, promise: p, dehydratedAt: m }) => {
481
+ const v = p ? Zt(p) : void 0, z = d.data === void 0 ? v?.data : d.data, P = z === void 0 ? z : s(z);
482
+ let $ = o.get(g);
483
+ const j = $?.state.status === "pending", b = $?.state.fetchStatus === "fetching";
484
+ if ($) {
485
+ const k = v && // We only need this undefined check to handle older dehydration
486
+ // payloads that might not have dehydratedAt
487
+ m !== void 0 && m > $.state.dataUpdatedAt;
488
+ if (d.dataUpdatedAt > $.state.dataUpdatedAt || k) {
489
+ const { fetchStatus: q, ...D } = d;
490
+ $.setState({
491
+ ...D,
492
+ data: P
493
+ });
494
+ }
495
+ } else
496
+ $ = o.build(
497
+ e,
498
+ {
499
+ ...e.getDefaultOptions().hydrate?.queries,
500
+ ...n?.defaultOptions?.queries,
501
+ queryKey: f,
502
+ queryHash: g,
503
+ meta: h
504
+ },
505
+ // Reset fetch status to idle to avoid
506
+ // query being stuck in fetching state upon hydration
507
+ {
508
+ ...d,
509
+ data: P,
510
+ fetchStatus: "idle",
511
+ status: P !== void 0 ? "success" : d.status
512
+ }
513
+ );
514
+ p && !j && !b && // Only hydrate if dehydration is newer than any existing data,
515
+ // this is always true for new queries
516
+ (m === void 0 || m > $.state.dataUpdatedAt) && $.fetch(void 0, {
517
+ // RSC transformed promises are not thenable
518
+ initialPromise: Promise.resolve(p).then(s)
519
+ });
520
+ }
521
+ );
522
+ }
523
+ var fn = ({
524
+ children: e,
525
+ options: t = {},
526
+ state: n,
527
+ queryClient: r
528
+ }) => {
529
+ const o = $t(r), s = A.useRef(t);
530
+ s.current = t;
531
+ const i = A.useMemo(() => {
532
+ if (n) {
533
+ if (typeof n != "object")
534
+ return;
535
+ const u = o.getQueryCache(), f = n.queries || [], d = [], g = [];
536
+ for (const h of f) {
537
+ const p = u.get(h.queryHash);
538
+ p ? (h.state.dataUpdatedAt > p.state.dataUpdatedAt || h.promise && p.state.status !== "pending" && p.state.fetchStatus !== "fetching" && h.dehydratedAt !== void 0 && h.dehydratedAt > p.state.dataUpdatedAt) && g.push(h) : d.push(h);
539
+ }
540
+ if (d.length > 0 && ze(o, { queries: d }, s.current), g.length > 0)
541
+ return g;
542
+ }
543
+ }, [o, n]);
544
+ return A.useEffect(() => {
545
+ i && ze(o, { queries: i }, s.current);
546
+ }, [o, i]), e;
547
+ };
548
+ /**
549
+ * react-router v7.6.3
550
+ *
551
+ * Copyright (c) Remix Software Inc.
552
+ *
553
+ * This source code is licensed under the MIT license found in the
554
+ * LICENSE.md file in the root directory of this source tree.
555
+ *
556
+ * @license MIT
557
+ */
558
+ function pn(e) {
559
+ return /* @__PURE__ */ A.createElement(Tt, { flushSync: Ct.flushSync, ...e });
560
+ }
561
+ const mn = new dn({
562
+ defaultOptions: {
563
+ queries: {
564
+ staleTime: 1e3 * 60 * 5
565
+ }
566
+ }
567
+ }), gn = ({
568
+ router: e,
569
+ hydrate: t = !1
570
+ }) => /* @__PURE__ */ a.jsx(Be, { children: /* @__PURE__ */ a.jsx(Le, { client: mn, children: /* @__PURE__ */ a.jsx(fn, { state: t ? window.DATA : void 0, children: /* @__PURE__ */ a.jsx(He, { value: !1, children: /* @__PURE__ */ a.jsx(Fe, { children: /* @__PURE__ */ a.jsx(Rt.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ a.jsx(pn, { router: e }) }) }) }) }) }) }), vn = ({
571
+ router: e,
572
+ context: t,
573
+ queryClient: n,
574
+ helmetContext: r,
575
+ bypassProtection: o = !1
576
+ }) => /* @__PURE__ */ a.jsx(Be, { children: /* @__PURE__ */ a.jsx(Le, { client: n, children: /* @__PURE__ */ a.jsx(Fe, { context: r, children: /* @__PURE__ */ a.jsx(He, { value: o, children: /* @__PURE__ */ a.jsx(Dt, { router: e, context: t }) }) }) }) });
577
+ function c(e, t, n) {
578
+ function r(u, f) {
579
+ var d;
580
+ Object.defineProperty(u, "_zod", {
581
+ value: u._zod ?? {},
582
+ enumerable: !1
583
+ }), (d = u._zod).traits ?? (d.traits = /* @__PURE__ */ new Set()), u._zod.traits.add(e), t(u, f);
584
+ for (const g in i.prototype)
585
+ g in u || Object.defineProperty(u, g, { value: i.prototype[g].bind(u) });
586
+ u._zod.constr = i, u._zod.def = f;
587
+ }
588
+ const o = n?.Parent ?? Object;
589
+ class s extends o {
590
+ }
591
+ Object.defineProperty(s, "name", { value: e });
592
+ function i(u) {
593
+ var f;
594
+ const d = n?.Parent ? new s() : this;
595
+ r(d, u), (f = d._zod).deferred ?? (f.deferred = []);
596
+ for (const g of d._zod.deferred)
597
+ g();
598
+ return d;
599
+ }
600
+ return Object.defineProperty(i, "init", { value: r }), Object.defineProperty(i, Symbol.hasInstance, {
601
+ value: (u) => n?.Parent && u instanceof n.Parent ? !0 : u?._zod?.traits?.has(e)
602
+ }), Object.defineProperty(i, "name", { value: e }), i;
603
+ }
604
+ class L extends Error {
605
+ constructor() {
606
+ super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
607
+ }
608
+ }
609
+ const Ve = {};
610
+ function C(e) {
611
+ return Ve;
612
+ }
613
+ function _n(e) {
614
+ const t = Object.values(e).filter((r) => typeof r == "number");
615
+ return Object.entries(e).filter(([r, o]) => t.indexOf(+r) === -1).map(([r, o]) => o);
616
+ }
617
+ function oe(e, t) {
618
+ return typeof t == "bigint" ? t.toString() : t;
619
+ }
620
+ function Je(e) {
621
+ return {
622
+ get value() {
623
+ {
624
+ const t = e();
625
+ return Object.defineProperty(this, "value", { value: t }), t;
626
+ }
627
+ }
628
+ };
629
+ }
630
+ function ue(e) {
631
+ return e == null;
632
+ }
633
+ function le(e) {
634
+ const t = e.startsWith("^") ? 1 : 0, n = e.endsWith("$") ? e.length - 1 : e.length;
635
+ return e.slice(t, n);
636
+ }
637
+ function _(e, t, n) {
638
+ Object.defineProperty(e, t, {
639
+ get() {
640
+ {
641
+ const r = n();
642
+ return e[t] = r, r;
643
+ }
644
+ },
645
+ set(r) {
646
+ Object.defineProperty(e, t, {
647
+ value: r
648
+ // configurable: true,
649
+ });
650
+ },
651
+ configurable: !0
652
+ });
653
+ }
654
+ function U(e, t, n) {
655
+ Object.defineProperty(e, t, {
656
+ value: n,
657
+ writable: !0,
658
+ enumerable: !0,
659
+ configurable: !0
660
+ });
661
+ }
662
+ function M(...e) {
663
+ const t = {};
664
+ for (const n of e) {
665
+ const r = Object.getOwnPropertyDescriptors(n);
666
+ Object.assign(t, r);
667
+ }
668
+ return Object.defineProperties({}, t);
669
+ }
670
+ function xe(e) {
671
+ return JSON.stringify(e);
672
+ }
673
+ const Ge = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
674
+ };
675
+ function se(e) {
676
+ return typeof e == "object" && e !== null && !Array.isArray(e);
677
+ }
678
+ const yn = Je(() => {
679
+ if (typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare"))
680
+ return !1;
681
+ try {
682
+ const e = Function;
683
+ return new e(""), !0;
684
+ } catch {
685
+ return !1;
686
+ }
687
+ });
688
+ function ie(e) {
689
+ if (se(e) === !1)
690
+ return !1;
691
+ const t = e.constructor;
692
+ if (t === void 0)
693
+ return !0;
694
+ const n = t.prototype;
695
+ return !(se(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
696
+ }
697
+ const wn = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
698
+ function te(e) {
699
+ return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
700
+ }
701
+ function F(e, t, n) {
702
+ const r = new e._zod.constr(t ?? e._zod.def);
703
+ return (!t || n?.parent) && (r._zod.parent = e), r;
704
+ }
705
+ function l(e) {
706
+ const t = e;
707
+ if (!t)
708
+ return {};
709
+ if (typeof t == "string")
710
+ return { error: () => t };
711
+ if (t?.message !== void 0) {
712
+ if (t?.error !== void 0)
713
+ throw new Error("Cannot specify both `message` and `error` params");
714
+ t.error = t.message;
715
+ }
716
+ return delete t.message, typeof t.error == "string" ? { ...t, error: () => t.error } : t;
717
+ }
718
+ function bn(e) {
719
+ return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
720
+ }
721
+ function zn(e, t) {
722
+ const n = e._zod.def, r = M(e._zod.def, {
723
+ get shape() {
724
+ const o = {};
725
+ for (const s in t) {
726
+ if (!(s in n.shape))
727
+ throw new Error(`Unrecognized key: "${s}"`);
728
+ t[s] && (o[s] = n.shape[s]);
729
+ }
730
+ return U(this, "shape", o), o;
731
+ },
732
+ checks: []
733
+ });
734
+ return F(e, r);
735
+ }
736
+ function xn(e, t) {
737
+ const n = e._zod.def, r = M(e._zod.def, {
738
+ get shape() {
739
+ const o = { ...e._zod.def.shape };
740
+ for (const s in t) {
741
+ if (!(s in n.shape))
742
+ throw new Error(`Unrecognized key: "${s}"`);
743
+ t[s] && delete o[s];
744
+ }
745
+ return U(this, "shape", o), o;
746
+ },
747
+ checks: []
748
+ });
749
+ return F(e, r);
750
+ }
751
+ function kn(e, t) {
752
+ if (!ie(t))
753
+ throw new Error("Invalid input to extend: expected a plain object");
754
+ const n = M(e._zod.def, {
755
+ get shape() {
756
+ const r = { ...e._zod.def.shape, ...t };
757
+ return U(this, "shape", r), r;
758
+ },
759
+ checks: []
760
+ });
761
+ return F(e, n);
762
+ }
763
+ function Zn(e, t) {
764
+ const n = M(e._zod.def, {
765
+ get shape() {
766
+ const r = { ...e._zod.def.shape, ...t._zod.def.shape };
767
+ return U(this, "shape", r), r;
768
+ },
769
+ get catchall() {
770
+ return t._zod.def.catchall;
771
+ },
772
+ checks: []
773
+ // delete existing checks
774
+ });
775
+ return F(e, n);
776
+ }
777
+ function $n(e, t, n) {
778
+ const r = M(t._zod.def, {
779
+ get shape() {
780
+ const o = t._zod.def.shape, s = { ...o };
781
+ if (n)
782
+ for (const i in n) {
783
+ if (!(i in o))
784
+ throw new Error(`Unrecognized key: "${i}"`);
785
+ n[i] && (s[i] = e ? new e({
786
+ type: "optional",
787
+ innerType: o[i]
788
+ }) : o[i]);
789
+ }
790
+ else
791
+ for (const i in o)
792
+ s[i] = e ? new e({
793
+ type: "optional",
794
+ innerType: o[i]
795
+ }) : o[i];
796
+ return U(this, "shape", s), s;
797
+ },
798
+ checks: []
799
+ });
800
+ return F(t, r);
801
+ }
802
+ function jn(e, t, n) {
803
+ const r = M(t._zod.def, {
804
+ get shape() {
805
+ const o = t._zod.def.shape, s = { ...o };
806
+ if (n)
807
+ for (const i in n) {
808
+ if (!(i in s))
809
+ throw new Error(`Unrecognized key: "${i}"`);
810
+ n[i] && (s[i] = new e({
811
+ type: "nonoptional",
812
+ innerType: o[i]
813
+ }));
814
+ }
815
+ else
816
+ for (const i in o)
817
+ s[i] = new e({
818
+ type: "nonoptional",
819
+ innerType: o[i]
820
+ });
821
+ return U(this, "shape", s), s;
822
+ },
823
+ checks: []
824
+ });
825
+ return F(t, r);
826
+ }
827
+ function Q(e, t = 0) {
828
+ for (let n = t; n < e.issues.length; n++)
829
+ if (e.issues[n]?.continue !== !0)
830
+ return !0;
831
+ return !1;
832
+ }
833
+ function Ye(e, t) {
834
+ return t.map((n) => {
835
+ var r;
836
+ return (r = n).path ?? (r.path = []), n.path.unshift(e), n;
837
+ });
838
+ }
839
+ function H(e) {
840
+ return typeof e == "string" ? e : e?.message;
841
+ }
842
+ function R(e, t, n) {
843
+ const r = { ...e, path: e.path ?? [] };
844
+ if (!e.message) {
845
+ const o = H(e.inst?._zod.def?.error?.(e)) ?? H(t?.error?.(e)) ?? H(n.customError?.(e)) ?? H(n.localeError?.(e)) ?? "Invalid input";
846
+ r.message = o;
847
+ }
848
+ return delete r.inst, delete r.continue, t?.reportInput || delete r.input, r;
849
+ }
850
+ function de(e) {
851
+ return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
852
+ }
853
+ function B(...e) {
854
+ const [t, n, r] = e;
855
+ return typeof t == "string" ? {
856
+ message: t,
857
+ code: "custom",
858
+ input: n,
859
+ inst: r
860
+ } : { ...t };
861
+ }
862
+ const Xe = (e, t) => {
863
+ e.name = "$ZodError", Object.defineProperty(e, "_zod", {
864
+ value: e._zod,
865
+ enumerable: !1
866
+ }), Object.defineProperty(e, "issues", {
867
+ value: t,
868
+ enumerable: !1
869
+ }), e.message = JSON.stringify(t, oe, 2), Object.defineProperty(e, "toString", {
870
+ value: () => e.message,
871
+ enumerable: !1
872
+ });
873
+ }, et = c("$ZodError", Xe), tt = c("$ZodError", Xe, { Parent: Error });
874
+ function Pn(e, t = (n) => n.message) {
875
+ const n = {}, r = [];
876
+ for (const o of e.issues)
877
+ o.path.length > 0 ? (n[o.path[0]] = n[o.path[0]] || [], n[o.path[0]].push(t(o))) : r.push(t(o));
878
+ return { formErrors: r, fieldErrors: n };
879
+ }
880
+ function On(e, t) {
881
+ const n = t || function(s) {
882
+ return s.message;
883
+ }, r = { _errors: [] }, o = (s) => {
884
+ for (const i of s.issues)
885
+ if (i.code === "invalid_union" && i.errors.length)
886
+ i.errors.map((u) => o({ issues: u }));
887
+ else if (i.code === "invalid_key")
888
+ o({ issues: i.issues });
889
+ else if (i.code === "invalid_element")
890
+ o({ issues: i.issues });
891
+ else if (i.path.length === 0)
892
+ r._errors.push(n(i));
893
+ else {
894
+ let u = r, f = 0;
895
+ for (; f < i.path.length; ) {
896
+ const d = i.path[f];
897
+ f === i.path.length - 1 ? (u[d] = u[d] || { _errors: [] }, u[d]._errors.push(n(i))) : u[d] = u[d] || { _errors: [] }, u = u[d], f++;
898
+ }
899
+ }
900
+ };
901
+ return o(e), r;
902
+ }
903
+ const Sn = (e) => (t, n, r, o) => {
904
+ const s = r ? Object.assign(r, { async: !1 }) : { async: !1 }, i = t._zod.run({ value: n, issues: [] }, s);
905
+ if (i instanceof Promise)
906
+ throw new L();
907
+ if (i.issues.length) {
908
+ const u = new (o?.Err ?? e)(i.issues.map((f) => R(f, s, C())));
909
+ throw Ge(u, o?.callee), u;
910
+ }
911
+ return i.value;
912
+ }, En = (e) => async (t, n, r, o) => {
913
+ const s = r ? Object.assign(r, { async: !0 }) : { async: !0 };
914
+ let i = t._zod.run({ value: n, issues: [] }, s);
915
+ if (i instanceof Promise && (i = await i), i.issues.length) {
916
+ const u = new (o?.Err ?? e)(i.issues.map((f) => R(f, s, C())));
917
+ throw Ge(u, o?.callee), u;
918
+ }
919
+ return i.value;
920
+ }, nt = (e) => (t, n, r) => {
921
+ const o = r ? { ...r, async: !1 } : { async: !1 }, s = t._zod.run({ value: n, issues: [] }, o);
922
+ if (s instanceof Promise)
923
+ throw new L();
924
+ return s.issues.length ? {
925
+ success: !1,
926
+ error: new (e ?? et)(s.issues.map((i) => R(i, o, C())))
927
+ } : { success: !0, data: s.value };
928
+ }, In = /* @__PURE__ */ nt(tt), rt = (e) => async (t, n, r) => {
929
+ const o = r ? Object.assign(r, { async: !0 }) : { async: !0 };
930
+ let s = t._zod.run({ value: n, issues: [] }, o);
931
+ return s instanceof Promise && (s = await s), s.issues.length ? {
932
+ success: !1,
933
+ error: new e(s.issues.map((i) => R(i, o, C())))
934
+ } : { success: !0, data: s.value };
935
+ }, Tn = /* @__PURE__ */ rt(tt), Dn = /^[cC][^\s-]{8,}$/, An = /^[0-9a-z]+$/, Nn = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, Cn = /^[0-9a-vA-V]{20}$/, Rn = /^[A-Za-z0-9]{27}$/, Un = /^[a-zA-Z0-9_-]{21}$/, Fn = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, qn = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, ke = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/, Mn = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Qn = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
936
+ function Ln() {
937
+ return new RegExp(Qn, "u");
938
+ }
939
+ const Bn = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, Kn = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/, Wn = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, Hn = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Vn = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, ot = /^[A-Za-z0-9_-]*$/, Jn = /^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/, Gn = /^\+(?:[0-9]){6,14}[0-9]$/, st = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", Yn = /* @__PURE__ */ new RegExp(`^${st}$`);
940
+ function it(e) {
941
+ const t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
942
+ return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
943
+ }
944
+ function Xn(e) {
945
+ return new RegExp(`^${it(e)}$`);
946
+ }
947
+ function er(e) {
948
+ const t = it({ precision: e.precision }), n = ["Z"];
949
+ e.local && n.push(""), e.offset && n.push("([+-]\\d{2}:\\d{2})");
950
+ const r = `${t}(?:${n.join("|")})`;
951
+ return new RegExp(`^${st}T(?:${r})$`);
952
+ }
953
+ const tr = (e) => {
954
+ const t = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
955
+ return new RegExp(`^${t}$`);
956
+ }, nr = /^[^A-Z]*$/, rr = /^[^a-z]*$/, I = /* @__PURE__ */ c("$ZodCheck", (e, t) => {
957
+ var n;
958
+ e._zod ?? (e._zod = {}), e._zod.def = t, (n = e._zod).onattach ?? (n.onattach = []);
959
+ }), or = /* @__PURE__ */ c("$ZodCheckMaxLength", (e, t) => {
960
+ var n;
961
+ I.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
962
+ const o = r.value;
963
+ return !ue(o) && o.length !== void 0;
964
+ }), e._zod.onattach.push((r) => {
965
+ const o = r._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
966
+ t.maximum < o && (r._zod.bag.maximum = t.maximum);
967
+ }), e._zod.check = (r) => {
968
+ const o = r.value;
969
+ if (o.length <= t.maximum)
970
+ return;
971
+ const i = de(o);
972
+ r.issues.push({
973
+ origin: i,
974
+ code: "too_big",
975
+ maximum: t.maximum,
976
+ inclusive: !0,
977
+ input: o,
978
+ inst: e,
979
+ continue: !t.abort
980
+ });
981
+ };
982
+ }), sr = /* @__PURE__ */ c("$ZodCheckMinLength", (e, t) => {
983
+ var n;
984
+ I.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
985
+ const o = r.value;
986
+ return !ue(o) && o.length !== void 0;
987
+ }), e._zod.onattach.push((r) => {
988
+ const o = r._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
989
+ t.minimum > o && (r._zod.bag.minimum = t.minimum);
990
+ }), e._zod.check = (r) => {
991
+ const o = r.value;
992
+ if (o.length >= t.minimum)
993
+ return;
994
+ const i = de(o);
995
+ r.issues.push({
996
+ origin: i,
997
+ code: "too_small",
998
+ minimum: t.minimum,
999
+ inclusive: !0,
1000
+ input: o,
1001
+ inst: e,
1002
+ continue: !t.abort
1003
+ });
1004
+ };
1005
+ }), ir = /* @__PURE__ */ c("$ZodCheckLengthEquals", (e, t) => {
1006
+ var n;
1007
+ I.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
1008
+ const o = r.value;
1009
+ return !ue(o) && o.length !== void 0;
1010
+ }), e._zod.onattach.push((r) => {
1011
+ const o = r._zod.bag;
1012
+ o.minimum = t.length, o.maximum = t.length, o.length = t.length;
1013
+ }), e._zod.check = (r) => {
1014
+ const o = r.value, s = o.length;
1015
+ if (s === t.length)
1016
+ return;
1017
+ const i = de(o), u = s > t.length;
1018
+ r.issues.push({
1019
+ origin: i,
1020
+ ...u ? { code: "too_big", maximum: t.length } : { code: "too_small", minimum: t.length },
1021
+ inclusive: !0,
1022
+ exact: !0,
1023
+ input: r.value,
1024
+ inst: e,
1025
+ continue: !t.abort
1026
+ });
1027
+ };
1028
+ }), ne = /* @__PURE__ */ c("$ZodCheckStringFormat", (e, t) => {
1029
+ var n, r;
1030
+ I.init(e, t), e._zod.onattach.push((o) => {
1031
+ const s = o._zod.bag;
1032
+ s.format = t.format, t.pattern && (s.patterns ?? (s.patterns = /* @__PURE__ */ new Set()), s.patterns.add(t.pattern));
1033
+ }), t.pattern ? (n = e._zod).check ?? (n.check = (o) => {
1034
+ t.pattern.lastIndex = 0, !t.pattern.test(o.value) && o.issues.push({
1035
+ origin: "string",
1036
+ code: "invalid_format",
1037
+ format: t.format,
1038
+ input: o.value,
1039
+ ...t.pattern ? { pattern: t.pattern.toString() } : {},
1040
+ inst: e,
1041
+ continue: !t.abort
1042
+ });
1043
+ }) : (r = e._zod).check ?? (r.check = () => {
1044
+ });
1045
+ }), ar = /* @__PURE__ */ c("$ZodCheckRegex", (e, t) => {
1046
+ ne.init(e, t), e._zod.check = (n) => {
1047
+ t.pattern.lastIndex = 0, !t.pattern.test(n.value) && n.issues.push({
1048
+ origin: "string",
1049
+ code: "invalid_format",
1050
+ format: "regex",
1051
+ input: n.value,
1052
+ pattern: t.pattern.toString(),
1053
+ inst: e,
1054
+ continue: !t.abort
1055
+ });
1056
+ };
1057
+ }), cr = /* @__PURE__ */ c("$ZodCheckLowerCase", (e, t) => {
1058
+ t.pattern ?? (t.pattern = nr), ne.init(e, t);
1059
+ }), ur = /* @__PURE__ */ c("$ZodCheckUpperCase", (e, t) => {
1060
+ t.pattern ?? (t.pattern = rr), ne.init(e, t);
1061
+ }), lr = /* @__PURE__ */ c("$ZodCheckIncludes", (e, t) => {
1062
+ I.init(e, t);
1063
+ const n = te(t.includes), r = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${n}` : n);
1064
+ t.pattern = r, e._zod.onattach.push((o) => {
1065
+ const s = o._zod.bag;
1066
+ s.patterns ?? (s.patterns = /* @__PURE__ */ new Set()), s.patterns.add(r);
1067
+ }), e._zod.check = (o) => {
1068
+ o.value.includes(t.includes, t.position) || o.issues.push({
1069
+ origin: "string",
1070
+ code: "invalid_format",
1071
+ format: "includes",
1072
+ includes: t.includes,
1073
+ input: o.value,
1074
+ inst: e,
1075
+ continue: !t.abort
1076
+ });
1077
+ };
1078
+ }), dr = /* @__PURE__ */ c("$ZodCheckStartsWith", (e, t) => {
1079
+ I.init(e, t);
1080
+ const n = new RegExp(`^${te(t.prefix)}.*`);
1081
+ t.pattern ?? (t.pattern = n), e._zod.onattach.push((r) => {
1082
+ const o = r._zod.bag;
1083
+ o.patterns ?? (o.patterns = /* @__PURE__ */ new Set()), o.patterns.add(n);
1084
+ }), e._zod.check = (r) => {
1085
+ r.value.startsWith(t.prefix) || r.issues.push({
1086
+ origin: "string",
1087
+ code: "invalid_format",
1088
+ format: "starts_with",
1089
+ prefix: t.prefix,
1090
+ input: r.value,
1091
+ inst: e,
1092
+ continue: !t.abort
1093
+ });
1094
+ };
1095
+ }), hr = /* @__PURE__ */ c("$ZodCheckEndsWith", (e, t) => {
1096
+ I.init(e, t);
1097
+ const n = new RegExp(`.*${te(t.suffix)}$`);
1098
+ t.pattern ?? (t.pattern = n), e._zod.onattach.push((r) => {
1099
+ const o = r._zod.bag;
1100
+ o.patterns ?? (o.patterns = /* @__PURE__ */ new Set()), o.patterns.add(n);
1101
+ }), e._zod.check = (r) => {
1102
+ r.value.endsWith(t.suffix) || r.issues.push({
1103
+ origin: "string",
1104
+ code: "invalid_format",
1105
+ format: "ends_with",
1106
+ suffix: t.suffix,
1107
+ input: r.value,
1108
+ inst: e,
1109
+ continue: !t.abort
1110
+ });
1111
+ };
1112
+ }), fr = /* @__PURE__ */ c("$ZodCheckOverwrite", (e, t) => {
1113
+ I.init(e, t), e._zod.check = (n) => {
1114
+ n.value = t.tx(n.value);
1115
+ };
1116
+ });
1117
+ class pr {
1118
+ constructor(t = []) {
1119
+ this.content = [], this.indent = 0, this && (this.args = t);
1120
+ }
1121
+ indented(t) {
1122
+ this.indent += 1, t(this), this.indent -= 1;
1123
+ }
1124
+ write(t) {
1125
+ if (typeof t == "function") {
1126
+ t(this, { execution: "sync" }), t(this, { execution: "async" });
1127
+ return;
1128
+ }
1129
+ const r = t.split(`
1130
+ `).filter((i) => i), o = Math.min(...r.map((i) => i.length - i.trimStart().length)), s = r.map((i) => i.slice(o)).map((i) => " ".repeat(this.indent * 2) + i);
1131
+ for (const i of s)
1132
+ this.content.push(i);
1133
+ }
1134
+ compile() {
1135
+ const t = Function, n = this?.args, o = [...(this?.content ?? [""]).map((s) => ` ${s}`)];
1136
+ return new t(...n, o.join(`
1137
+ `));
1138
+ }
1139
+ }
1140
+ const mr = {
1141
+ major: 4,
1142
+ minor: 0,
1143
+ patch: 10
1144
+ }, x = /* @__PURE__ */ c("$ZodType", (e, t) => {
1145
+ var n;
1146
+ e ?? (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = mr;
1147
+ const r = [...e._zod.def.checks ?? []];
1148
+ e._zod.traits.has("$ZodCheck") && r.unshift(e);
1149
+ for (const o of r)
1150
+ for (const s of o._zod.onattach)
1151
+ s(e);
1152
+ if (r.length === 0)
1153
+ (n = e._zod).deferred ?? (n.deferred = []), e._zod.deferred?.push(() => {
1154
+ e._zod.run = e._zod.parse;
1155
+ });
1156
+ else {
1157
+ const o = (s, i, u) => {
1158
+ let f = Q(s), d;
1159
+ for (const g of i) {
1160
+ if (g._zod.def.when) {
1161
+ if (!g._zod.def.when(s))
1162
+ continue;
1163
+ } else if (f)
1164
+ continue;
1165
+ const h = s.issues.length, p = g._zod.check(s);
1166
+ if (p instanceof Promise && u?.async === !1)
1167
+ throw new L();
1168
+ if (d || p instanceof Promise)
1169
+ d = (d ?? Promise.resolve()).then(async () => {
1170
+ await p, s.issues.length !== h && (f || (f = Q(s, h)));
1171
+ });
1172
+ else {
1173
+ if (s.issues.length === h)
1174
+ continue;
1175
+ f || (f = Q(s, h));
1176
+ }
1177
+ }
1178
+ return d ? d.then(() => s) : s;
1179
+ };
1180
+ e._zod.run = (s, i) => {
1181
+ const u = e._zod.parse(s, i);
1182
+ if (u instanceof Promise) {
1183
+ if (i.async === !1)
1184
+ throw new L();
1185
+ return u.then((f) => o(f, r, i));
1186
+ }
1187
+ return o(u, r, i);
1188
+ };
1189
+ }
1190
+ e["~standard"] = {
1191
+ validate: (o) => {
1192
+ try {
1193
+ const s = In(e, o);
1194
+ return s.success ? { value: s.data } : { issues: s.error?.issues };
1195
+ } catch {
1196
+ return Tn(e, o).then((i) => i.success ? { value: i.data } : { issues: i.error?.issues });
1197
+ }
1198
+ },
1199
+ vendor: "zod",
1200
+ version: 1
1201
+ };
1202
+ }), he = /* @__PURE__ */ c("$ZodString", (e, t) => {
1203
+ x.init(e, t), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? tr(e._zod.bag), e._zod.parse = (n, r) => {
1204
+ if (t.coerce)
1205
+ try {
1206
+ n.value = String(n.value);
1207
+ } catch {
1208
+ }
1209
+ return typeof n.value == "string" || n.issues.push({
1210
+ expected: "string",
1211
+ code: "invalid_type",
1212
+ input: n.value,
1213
+ inst: e
1214
+ }), n;
1215
+ };
1216
+ }), y = /* @__PURE__ */ c("$ZodStringFormat", (e, t) => {
1217
+ ne.init(e, t), he.init(e, t);
1218
+ }), gr = /* @__PURE__ */ c("$ZodGUID", (e, t) => {
1219
+ t.pattern ?? (t.pattern = qn), y.init(e, t);
1220
+ }), vr = /* @__PURE__ */ c("$ZodUUID", (e, t) => {
1221
+ if (t.version) {
1222
+ const r = {
1223
+ v1: 1,
1224
+ v2: 2,
1225
+ v3: 3,
1226
+ v4: 4,
1227
+ v5: 5,
1228
+ v6: 6,
1229
+ v7: 7,
1230
+ v8: 8
1231
+ }[t.version];
1232
+ if (r === void 0)
1233
+ throw new Error(`Invalid UUID version: "${t.version}"`);
1234
+ t.pattern ?? (t.pattern = ke(r));
1235
+ } else
1236
+ t.pattern ?? (t.pattern = ke());
1237
+ y.init(e, t);
1238
+ }), _r = /* @__PURE__ */ c("$ZodEmail", (e, t) => {
1239
+ t.pattern ?? (t.pattern = Mn), y.init(e, t);
1240
+ }), yr = /* @__PURE__ */ c("$ZodURL", (e, t) => {
1241
+ y.init(e, t), e._zod.check = (n) => {
1242
+ try {
1243
+ const r = n.value.trim(), o = new URL(r);
1244
+ t.hostname && (t.hostname.lastIndex = 0, t.hostname.test(o.hostname) || n.issues.push({
1245
+ code: "invalid_format",
1246
+ format: "url",
1247
+ note: "Invalid hostname",
1248
+ pattern: Jn.source,
1249
+ input: n.value,
1250
+ inst: e,
1251
+ continue: !t.abort
1252
+ })), t.protocol && (t.protocol.lastIndex = 0, t.protocol.test(o.protocol.endsWith(":") ? o.protocol.slice(0, -1) : o.protocol) || n.issues.push({
1253
+ code: "invalid_format",
1254
+ format: "url",
1255
+ note: "Invalid protocol",
1256
+ pattern: t.protocol.source,
1257
+ input: n.value,
1258
+ inst: e,
1259
+ continue: !t.abort
1260
+ })), t.normalize ? n.value = o.href : n.value = r;
1261
+ return;
1262
+ } catch {
1263
+ n.issues.push({
1264
+ code: "invalid_format",
1265
+ format: "url",
1266
+ input: n.value,
1267
+ inst: e,
1268
+ continue: !t.abort
1269
+ });
1270
+ }
1271
+ };
1272
+ }), wr = /* @__PURE__ */ c("$ZodEmoji", (e, t) => {
1273
+ t.pattern ?? (t.pattern = Ln()), y.init(e, t);
1274
+ }), br = /* @__PURE__ */ c("$ZodNanoID", (e, t) => {
1275
+ t.pattern ?? (t.pattern = Un), y.init(e, t);
1276
+ }), zr = /* @__PURE__ */ c("$ZodCUID", (e, t) => {
1277
+ t.pattern ?? (t.pattern = Dn), y.init(e, t);
1278
+ }), xr = /* @__PURE__ */ c("$ZodCUID2", (e, t) => {
1279
+ t.pattern ?? (t.pattern = An), y.init(e, t);
1280
+ }), kr = /* @__PURE__ */ c("$ZodULID", (e, t) => {
1281
+ t.pattern ?? (t.pattern = Nn), y.init(e, t);
1282
+ }), Zr = /* @__PURE__ */ c("$ZodXID", (e, t) => {
1283
+ t.pattern ?? (t.pattern = Cn), y.init(e, t);
1284
+ }), $r = /* @__PURE__ */ c("$ZodKSUID", (e, t) => {
1285
+ t.pattern ?? (t.pattern = Rn), y.init(e, t);
1286
+ }), jr = /* @__PURE__ */ c("$ZodISODateTime", (e, t) => {
1287
+ t.pattern ?? (t.pattern = er(t)), y.init(e, t);
1288
+ }), Pr = /* @__PURE__ */ c("$ZodISODate", (e, t) => {
1289
+ t.pattern ?? (t.pattern = Yn), y.init(e, t);
1290
+ }), Or = /* @__PURE__ */ c("$ZodISOTime", (e, t) => {
1291
+ t.pattern ?? (t.pattern = Xn(t)), y.init(e, t);
1292
+ }), Sr = /* @__PURE__ */ c("$ZodISODuration", (e, t) => {
1293
+ t.pattern ?? (t.pattern = Fn), y.init(e, t);
1294
+ }), Er = /* @__PURE__ */ c("$ZodIPv4", (e, t) => {
1295
+ t.pattern ?? (t.pattern = Bn), y.init(e, t), e._zod.onattach.push((n) => {
1296
+ const r = n._zod.bag;
1297
+ r.format = "ipv4";
1298
+ });
1299
+ }), Ir = /* @__PURE__ */ c("$ZodIPv6", (e, t) => {
1300
+ t.pattern ?? (t.pattern = Kn), y.init(e, t), e._zod.onattach.push((n) => {
1301
+ const r = n._zod.bag;
1302
+ r.format = "ipv6";
1303
+ }), e._zod.check = (n) => {
1304
+ try {
1305
+ new URL(`http://[${n.value}]`);
1306
+ } catch {
1307
+ n.issues.push({
1308
+ code: "invalid_format",
1309
+ format: "ipv6",
1310
+ input: n.value,
1311
+ inst: e,
1312
+ continue: !t.abort
1313
+ });
1314
+ }
1315
+ };
1316
+ }), Tr = /* @__PURE__ */ c("$ZodCIDRv4", (e, t) => {
1317
+ t.pattern ?? (t.pattern = Wn), y.init(e, t);
1318
+ }), Dr = /* @__PURE__ */ c("$ZodCIDRv6", (e, t) => {
1319
+ t.pattern ?? (t.pattern = Hn), y.init(e, t), e._zod.check = (n) => {
1320
+ const [r, o] = n.value.split("/");
1321
+ try {
1322
+ if (!o)
1323
+ throw new Error();
1324
+ const s = Number(o);
1325
+ if (`${s}` !== o)
1326
+ throw new Error();
1327
+ if (s < 0 || s > 128)
1328
+ throw new Error();
1329
+ new URL(`http://[${r}]`);
1330
+ } catch {
1331
+ n.issues.push({
1332
+ code: "invalid_format",
1333
+ format: "cidrv6",
1334
+ input: n.value,
1335
+ inst: e,
1336
+ continue: !t.abort
1337
+ });
1338
+ }
1339
+ };
1340
+ });
1341
+ function at(e) {
1342
+ if (e === "")
1343
+ return !0;
1344
+ if (e.length % 4 !== 0)
1345
+ return !1;
1346
+ try {
1347
+ return atob(e), !0;
1348
+ } catch {
1349
+ return !1;
1350
+ }
1351
+ }
1352
+ const Ar = /* @__PURE__ */ c("$ZodBase64", (e, t) => {
1353
+ t.pattern ?? (t.pattern = Vn), y.init(e, t), e._zod.onattach.push((n) => {
1354
+ n._zod.bag.contentEncoding = "base64";
1355
+ }), e._zod.check = (n) => {
1356
+ at(n.value) || n.issues.push({
1357
+ code: "invalid_format",
1358
+ format: "base64",
1359
+ input: n.value,
1360
+ inst: e,
1361
+ continue: !t.abort
1362
+ });
1363
+ };
1364
+ });
1365
+ function Nr(e) {
1366
+ if (!ot.test(e))
1367
+ return !1;
1368
+ const t = e.replace(/[-_]/g, (r) => r === "-" ? "+" : "/"), n = t.padEnd(Math.ceil(t.length / 4) * 4, "=");
1369
+ return at(n);
1370
+ }
1371
+ const Cr = /* @__PURE__ */ c("$ZodBase64URL", (e, t) => {
1372
+ t.pattern ?? (t.pattern = ot), y.init(e, t), e._zod.onattach.push((n) => {
1373
+ n._zod.bag.contentEncoding = "base64url";
1374
+ }), e._zod.check = (n) => {
1375
+ Nr(n.value) || n.issues.push({
1376
+ code: "invalid_format",
1377
+ format: "base64url",
1378
+ input: n.value,
1379
+ inst: e,
1380
+ continue: !t.abort
1381
+ });
1382
+ };
1383
+ }), Rr = /* @__PURE__ */ c("$ZodE164", (e, t) => {
1384
+ t.pattern ?? (t.pattern = Gn), y.init(e, t);
1385
+ });
1386
+ function Ur(e, t = null) {
1387
+ try {
1388
+ const n = e.split(".");
1389
+ if (n.length !== 3)
1390
+ return !1;
1391
+ const [r] = n;
1392
+ if (!r)
1393
+ return !1;
1394
+ const o = JSON.parse(atob(r));
1395
+ return !("typ" in o && o?.typ !== "JWT" || !o.alg || t && (!("alg" in o) || o.alg !== t));
1396
+ } catch {
1397
+ return !1;
1398
+ }
1399
+ }
1400
+ const Fr = /* @__PURE__ */ c("$ZodJWT", (e, t) => {
1401
+ y.init(e, t), e._zod.check = (n) => {
1402
+ Ur(n.value, t.alg) || n.issues.push({
1403
+ code: "invalid_format",
1404
+ format: "jwt",
1405
+ input: n.value,
1406
+ inst: e,
1407
+ continue: !t.abort
1408
+ });
1409
+ };
1410
+ }), qr = /* @__PURE__ */ c("$ZodUnknown", (e, t) => {
1411
+ x.init(e, t), e._zod.parse = (n) => n;
1412
+ }), Mr = /* @__PURE__ */ c("$ZodNever", (e, t) => {
1413
+ x.init(e, t), e._zod.parse = (n, r) => (n.issues.push({
1414
+ expected: "never",
1415
+ code: "invalid_type",
1416
+ input: n.value,
1417
+ inst: e
1418
+ }), n);
1419
+ });
1420
+ function Ze(e, t, n) {
1421
+ e.issues.length && t.issues.push(...Ye(n, e.issues)), t.value[n] = e.value;
1422
+ }
1423
+ const Qr = /* @__PURE__ */ c("$ZodArray", (e, t) => {
1424
+ x.init(e, t), e._zod.parse = (n, r) => {
1425
+ const o = n.value;
1426
+ if (!Array.isArray(o))
1427
+ return n.issues.push({
1428
+ expected: "array",
1429
+ code: "invalid_type",
1430
+ input: o,
1431
+ inst: e
1432
+ }), n;
1433
+ n.value = Array(o.length);
1434
+ const s = [];
1435
+ for (let i = 0; i < o.length; i++) {
1436
+ const u = o[i], f = t.element._zod.run({
1437
+ value: u,
1438
+ issues: []
1439
+ }, r);
1440
+ f instanceof Promise ? s.push(f.then((d) => Ze(d, n, i))) : Ze(f, n, i);
1441
+ }
1442
+ return s.length ? Promise.all(s).then(() => n) : n;
1443
+ };
1444
+ });
1445
+ function V(e, t, n, r) {
1446
+ e.issues.length && t.issues.push(...Ye(n, e.issues)), e.value === void 0 ? n in r && (t.value[n] = void 0) : t.value[n] = e.value;
1447
+ }
1448
+ const Lr = /* @__PURE__ */ c("$ZodObject", (e, t) => {
1449
+ x.init(e, t);
1450
+ const n = Je(() => {
1451
+ const h = Object.keys(t.shape);
1452
+ for (const m of h)
1453
+ if (!(t.shape[m] instanceof x))
1454
+ throw new Error(`Invalid element at key "${m}": expected a Zod schema`);
1455
+ const p = bn(t.shape);
1456
+ return {
1457
+ shape: t.shape,
1458
+ keys: h,
1459
+ keySet: new Set(h),
1460
+ numKeys: h.length,
1461
+ optionalKeys: new Set(p)
1462
+ };
1463
+ });
1464
+ _(e._zod, "propValues", () => {
1465
+ const h = t.shape, p = {};
1466
+ for (const m in h) {
1467
+ const v = h[m]._zod;
1468
+ if (v.values) {
1469
+ p[m] ?? (p[m] = /* @__PURE__ */ new Set());
1470
+ for (const z of v.values)
1471
+ p[m].add(z);
1472
+ }
1473
+ }
1474
+ return p;
1475
+ });
1476
+ const r = (h) => {
1477
+ const p = new pr(["shape", "payload", "ctx"]), m = n.value, v = (j) => {
1478
+ const b = xe(j);
1479
+ return `shape[${b}]._zod.run({ value: input[${b}], issues: [] }, ctx)`;
1480
+ };
1481
+ p.write("const input = payload.value;");
1482
+ const z = /* @__PURE__ */ Object.create(null);
1483
+ let P = 0;
1484
+ for (const j of m.keys)
1485
+ z[j] = `key_${P++}`;
1486
+ p.write("const newResult = {}");
1487
+ for (const j of m.keys) {
1488
+ const b = z[j], k = xe(j);
1489
+ p.write(`const ${b} = ${v(j)};`), p.write(`
1490
+ if (${b}.issues.length) {
1491
+ payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
1492
+ ...iss,
1493
+ path: iss.path ? [${k}, ...iss.path] : [${k}]
1494
+ })));
1495
+ }
1496
+
1497
+ if (${b}.value === undefined) {
1498
+ if (${k} in input) {
1499
+ newResult[${k}] = undefined;
1500
+ }
1501
+ } else {
1502
+ newResult[${k}] = ${b}.value;
1503
+ }
1504
+ `);
1505
+ }
1506
+ p.write("payload.value = newResult;"), p.write("return payload;");
1507
+ const $ = p.compile();
1508
+ return (j, b) => $(h, j, b);
1509
+ };
1510
+ let o;
1511
+ const s = se, i = !Ve.jitless, f = i && yn.value, d = t.catchall;
1512
+ let g;
1513
+ e._zod.parse = (h, p) => {
1514
+ g ?? (g = n.value);
1515
+ const m = h.value;
1516
+ if (!s(m))
1517
+ return h.issues.push({
1518
+ expected: "object",
1519
+ code: "invalid_type",
1520
+ input: m,
1521
+ inst: e
1522
+ }), h;
1523
+ const v = [];
1524
+ if (i && f && p?.async === !1 && p.jitless !== !0)
1525
+ o || (o = r(t.shape)), h = o(h, p);
1526
+ else {
1527
+ h.value = {};
1528
+ const b = g.shape;
1529
+ for (const k of g.keys) {
1530
+ const D = b[k]._zod.run({ value: m[k], issues: [] }, p);
1531
+ D instanceof Promise ? v.push(D.then((vt) => V(vt, h, k, m))) : V(D, h, k, m);
1532
+ }
1533
+ }
1534
+ if (!d)
1535
+ return v.length ? Promise.all(v).then(() => h) : h;
1536
+ const z = [], P = g.keySet, $ = d._zod, j = $.def.type;
1537
+ for (const b of Object.keys(m)) {
1538
+ if (P.has(b))
1539
+ continue;
1540
+ if (j === "never") {
1541
+ z.push(b);
1542
+ continue;
1543
+ }
1544
+ const k = $.run({ value: m[b], issues: [] }, p);
1545
+ k instanceof Promise ? v.push(k.then((q) => V(q, h, b, m))) : V(k, h, b, m);
1546
+ }
1547
+ return z.length && h.issues.push({
1548
+ code: "unrecognized_keys",
1549
+ keys: z,
1550
+ input: m,
1551
+ inst: e
1552
+ }), v.length ? Promise.all(v).then(() => h) : h;
1553
+ };
1554
+ });
1555
+ function $e(e, t, n, r) {
1556
+ for (const s of e)
1557
+ if (s.issues.length === 0)
1558
+ return t.value = s.value, t;
1559
+ const o = e.filter((s) => !Q(s));
1560
+ return o.length === 1 ? (t.value = o[0].value, o[0]) : (t.issues.push({
1561
+ code: "invalid_union",
1562
+ input: t.value,
1563
+ inst: n,
1564
+ errors: e.map((s) => s.issues.map((i) => R(i, r, C())))
1565
+ }), t);
1566
+ }
1567
+ const Br = /* @__PURE__ */ c("$ZodUnion", (e, t) => {
1568
+ x.init(e, t), _(e._zod, "optin", () => t.options.some((n) => n._zod.optin === "optional") ? "optional" : void 0), _(e._zod, "optout", () => t.options.some((n) => n._zod.optout === "optional") ? "optional" : void 0), _(e._zod, "values", () => {
1569
+ if (t.options.every((n) => n._zod.values))
1570
+ return new Set(t.options.flatMap((n) => Array.from(n._zod.values)));
1571
+ }), _(e._zod, "pattern", () => {
1572
+ if (t.options.every((n) => n._zod.pattern)) {
1573
+ const n = t.options.map((r) => r._zod.pattern);
1574
+ return new RegExp(`^(${n.map((r) => le(r.source)).join("|")})$`);
1575
+ }
1576
+ }), e._zod.parse = (n, r) => {
1577
+ let o = !1;
1578
+ const s = [];
1579
+ for (const i of t.options) {
1580
+ const u = i._zod.run({
1581
+ value: n.value,
1582
+ issues: []
1583
+ }, r);
1584
+ if (u instanceof Promise)
1585
+ s.push(u), o = !0;
1586
+ else {
1587
+ if (u.issues.length === 0)
1588
+ return u;
1589
+ s.push(u);
1590
+ }
1591
+ }
1592
+ return o ? Promise.all(s).then((i) => $e(i, n, e, r)) : $e(s, n, e, r);
1593
+ };
1594
+ }), Kr = /* @__PURE__ */ c("$ZodIntersection", (e, t) => {
1595
+ x.init(e, t), e._zod.parse = (n, r) => {
1596
+ const o = n.value, s = t.left._zod.run({ value: o, issues: [] }, r), i = t.right._zod.run({ value: o, issues: [] }, r);
1597
+ return s instanceof Promise || i instanceof Promise ? Promise.all([s, i]).then(([f, d]) => je(n, f, d)) : je(n, s, i);
1598
+ };
1599
+ });
1600
+ function ae(e, t) {
1601
+ if (e === t)
1602
+ return { valid: !0, data: e };
1603
+ if (e instanceof Date && t instanceof Date && +e == +t)
1604
+ return { valid: !0, data: e };
1605
+ if (ie(e) && ie(t)) {
1606
+ const n = Object.keys(t), r = Object.keys(e).filter((s) => n.indexOf(s) !== -1), o = { ...e, ...t };
1607
+ for (const s of r) {
1608
+ const i = ae(e[s], t[s]);
1609
+ if (!i.valid)
1610
+ return {
1611
+ valid: !1,
1612
+ mergeErrorPath: [s, ...i.mergeErrorPath]
1613
+ };
1614
+ o[s] = i.data;
1615
+ }
1616
+ return { valid: !0, data: o };
1617
+ }
1618
+ if (Array.isArray(e) && Array.isArray(t)) {
1619
+ if (e.length !== t.length)
1620
+ return { valid: !1, mergeErrorPath: [] };
1621
+ const n = [];
1622
+ for (let r = 0; r < e.length; r++) {
1623
+ const o = e[r], s = t[r], i = ae(o, s);
1624
+ if (!i.valid)
1625
+ return {
1626
+ valid: !1,
1627
+ mergeErrorPath: [r, ...i.mergeErrorPath]
1628
+ };
1629
+ n.push(i.data);
1630
+ }
1631
+ return { valid: !0, data: n };
1632
+ }
1633
+ return { valid: !1, mergeErrorPath: [] };
1634
+ }
1635
+ function je(e, t, n) {
1636
+ if (t.issues.length && e.issues.push(...t.issues), n.issues.length && e.issues.push(...n.issues), Q(e))
1637
+ return e;
1638
+ const r = ae(t.value, n.value);
1639
+ if (!r.valid)
1640
+ throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`);
1641
+ return e.value = r.data, e;
1642
+ }
1643
+ const Wr = /* @__PURE__ */ c("$ZodEnum", (e, t) => {
1644
+ x.init(e, t);
1645
+ const n = _n(t.entries), r = new Set(n);
1646
+ e._zod.values = r, e._zod.pattern = new RegExp(`^(${n.filter((o) => wn.has(typeof o)).map((o) => typeof o == "string" ? te(o) : o.toString()).join("|")})$`), e._zod.parse = (o, s) => {
1647
+ const i = o.value;
1648
+ return r.has(i) || o.issues.push({
1649
+ code: "invalid_value",
1650
+ values: n,
1651
+ input: i,
1652
+ inst: e
1653
+ }), o;
1654
+ };
1655
+ }), Hr = /* @__PURE__ */ c("$ZodTransform", (e, t) => {
1656
+ x.init(e, t), e._zod.parse = (n, r) => {
1657
+ const o = t.transform(n.value, n);
1658
+ if (r.async)
1659
+ return (o instanceof Promise ? o : Promise.resolve(o)).then((i) => (n.value = i, n));
1660
+ if (o instanceof Promise)
1661
+ throw new L();
1662
+ return n.value = o, n;
1663
+ };
1664
+ }), Vr = /* @__PURE__ */ c("$ZodOptional", (e, t) => {
1665
+ x.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", _(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), _(e._zod, "pattern", () => {
1666
+ const n = t.innerType._zod.pattern;
1667
+ return n ? new RegExp(`^(${le(n.source)})?$`) : void 0;
1668
+ }), e._zod.parse = (n, r) => t.innerType._zod.optin === "optional" ? t.innerType._zod.run(n, r) : n.value === void 0 ? n : t.innerType._zod.run(n, r);
1669
+ }), Jr = /* @__PURE__ */ c("$ZodNullable", (e, t) => {
1670
+ x.init(e, t), _(e._zod, "optin", () => t.innerType._zod.optin), _(e._zod, "optout", () => t.innerType._zod.optout), _(e._zod, "pattern", () => {
1671
+ const n = t.innerType._zod.pattern;
1672
+ return n ? new RegExp(`^(${le(n.source)}|null)$`) : void 0;
1673
+ }), _(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (n, r) => n.value === null ? n : t.innerType._zod.run(n, r);
1674
+ }), Gr = /* @__PURE__ */ c("$ZodDefault", (e, t) => {
1675
+ x.init(e, t), e._zod.optin = "optional", _(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => {
1676
+ if (n.value === void 0)
1677
+ return n.value = t.defaultValue, n;
1678
+ const o = t.innerType._zod.run(n, r);
1679
+ return o instanceof Promise ? o.then((s) => Pe(s, t)) : Pe(o, t);
1680
+ };
1681
+ });
1682
+ function Pe(e, t) {
1683
+ return e.value === void 0 && (e.value = t.defaultValue), e;
1684
+ }
1685
+ const Yr = /* @__PURE__ */ c("$ZodPrefault", (e, t) => {
1686
+ x.init(e, t), e._zod.optin = "optional", _(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => (n.value === void 0 && (n.value = t.defaultValue), t.innerType._zod.run(n, r));
1687
+ }), Xr = /* @__PURE__ */ c("$ZodNonOptional", (e, t) => {
1688
+ x.init(e, t), _(e._zod, "values", () => {
1689
+ const n = t.innerType._zod.values;
1690
+ return n ? new Set([...n].filter((r) => r !== void 0)) : void 0;
1691
+ }), e._zod.parse = (n, r) => {
1692
+ const o = t.innerType._zod.run(n, r);
1693
+ return o instanceof Promise ? o.then((s) => Oe(s, e)) : Oe(o, e);
1694
+ };
1695
+ });
1696
+ function Oe(e, t) {
1697
+ return !e.issues.length && e.value === void 0 && e.issues.push({
1698
+ code: "invalid_type",
1699
+ expected: "nonoptional",
1700
+ input: e.value,
1701
+ inst: t
1702
+ }), e;
1703
+ }
1704
+ const eo = /* @__PURE__ */ c("$ZodCatch", (e, t) => {
1705
+ x.init(e, t), _(e._zod, "optin", () => t.innerType._zod.optin), _(e._zod, "optout", () => t.innerType._zod.optout), _(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => {
1706
+ const o = t.innerType._zod.run(n, r);
1707
+ return o instanceof Promise ? o.then((s) => (n.value = s.value, s.issues.length && (n.value = t.catchValue({
1708
+ ...n,
1709
+ error: {
1710
+ issues: s.issues.map((i) => R(i, r, C()))
1711
+ },
1712
+ input: n.value
1713
+ }), n.issues = []), n)) : (n.value = o.value, o.issues.length && (n.value = t.catchValue({
1714
+ ...n,
1715
+ error: {
1716
+ issues: o.issues.map((s) => R(s, r, C()))
1717
+ },
1718
+ input: n.value
1719
+ }), n.issues = []), n);
1720
+ };
1721
+ }), to = /* @__PURE__ */ c("$ZodPipe", (e, t) => {
1722
+ x.init(e, t), _(e._zod, "values", () => t.in._zod.values), _(e._zod, "optin", () => t.in._zod.optin), _(e._zod, "optout", () => t.out._zod.optout), _(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (n, r) => {
1723
+ const o = t.in._zod.run(n, r);
1724
+ return o instanceof Promise ? o.then((s) => Se(s, t, r)) : Se(o, t, r);
1725
+ };
1726
+ });
1727
+ function Se(e, t, n) {
1728
+ return e.issues.length ? e : t.out._zod.run({ value: e.value, issues: e.issues }, n);
1729
+ }
1730
+ const no = /* @__PURE__ */ c("$ZodReadonly", (e, t) => {
1731
+ x.init(e, t), _(e._zod, "propValues", () => t.innerType._zod.propValues), _(e._zod, "values", () => t.innerType._zod.values), _(e._zod, "optin", () => t.innerType._zod.optin), _(e._zod, "optout", () => t.innerType._zod.optout), e._zod.parse = (n, r) => {
1732
+ const o = t.innerType._zod.run(n, r);
1733
+ return o instanceof Promise ? o.then(Ee) : Ee(o);
1734
+ };
1735
+ });
1736
+ function Ee(e) {
1737
+ return e.value = Object.freeze(e.value), e;
1738
+ }
1739
+ const ro = /* @__PURE__ */ c("$ZodCustom", (e, t) => {
1740
+ I.init(e, t), x.init(e, t), e._zod.parse = (n, r) => n, e._zod.check = (n) => {
1741
+ const r = n.value, o = t.fn(r);
1742
+ if (o instanceof Promise)
1743
+ return o.then((s) => Ie(s, n, r, e));
1744
+ Ie(o, n, r, e);
1745
+ };
1746
+ });
1747
+ function Ie(e, t, n, r) {
1748
+ if (!e) {
1749
+ const o = {
1750
+ code: "custom",
1751
+ input: n,
1752
+ inst: r,
1753
+ // incorporates params.error into issue reporting
1754
+ path: [...r._zod.def.path ?? []],
1755
+ // incorporates params.error into issue reporting
1756
+ continue: !r._zod.def.abort
1757
+ // params: inst._zod.def.params,
1758
+ };
1759
+ r._zod.def.params && (o.params = r._zod.def.params), t.issues.push(B(o));
1760
+ }
1761
+ }
1762
+ class oo {
1763
+ constructor() {
1764
+ this._map = /* @__PURE__ */ new Map(), this._idmap = /* @__PURE__ */ new Map();
1765
+ }
1766
+ add(t, ...n) {
1767
+ const r = n[0];
1768
+ if (this._map.set(t, r), r && typeof r == "object" && "id" in r) {
1769
+ if (this._idmap.has(r.id))
1770
+ throw new Error(`ID ${r.id} already exists in the registry`);
1771
+ this._idmap.set(r.id, t);
1772
+ }
1773
+ return this;
1774
+ }
1775
+ clear() {
1776
+ return this._map = /* @__PURE__ */ new Map(), this._idmap = /* @__PURE__ */ new Map(), this;
1777
+ }
1778
+ remove(t) {
1779
+ const n = this._map.get(t);
1780
+ return n && typeof n == "object" && "id" in n && this._idmap.delete(n.id), this._map.delete(t), this;
1781
+ }
1782
+ get(t) {
1783
+ const n = t._zod.parent;
1784
+ if (n) {
1785
+ const r = { ...this.get(n) ?? {} };
1786
+ delete r.id;
1787
+ const o = { ...r, ...this._map.get(t) };
1788
+ return Object.keys(o).length ? o : void 0;
1789
+ }
1790
+ return this._map.get(t);
1791
+ }
1792
+ has(t) {
1793
+ return this._map.has(t);
1794
+ }
1795
+ }
1796
+ function so() {
1797
+ return new oo();
1798
+ }
1799
+ const J = /* @__PURE__ */ so();
1800
+ function io(e, t) {
1801
+ return new e({
1802
+ type: "string",
1803
+ ...l(t)
1804
+ });
1805
+ }
1806
+ function ao(e, t) {
1807
+ return new e({
1808
+ type: "string",
1809
+ format: "email",
1810
+ check: "string_format",
1811
+ abort: !1,
1812
+ ...l(t)
1813
+ });
1814
+ }
1815
+ function Te(e, t) {
1816
+ return new e({
1817
+ type: "string",
1818
+ format: "guid",
1819
+ check: "string_format",
1820
+ abort: !1,
1821
+ ...l(t)
1822
+ });
1823
+ }
1824
+ function co(e, t) {
1825
+ return new e({
1826
+ type: "string",
1827
+ format: "uuid",
1828
+ check: "string_format",
1829
+ abort: !1,
1830
+ ...l(t)
1831
+ });
1832
+ }
1833
+ function uo(e, t) {
1834
+ return new e({
1835
+ type: "string",
1836
+ format: "uuid",
1837
+ check: "string_format",
1838
+ abort: !1,
1839
+ version: "v4",
1840
+ ...l(t)
1841
+ });
1842
+ }
1843
+ function lo(e, t) {
1844
+ return new e({
1845
+ type: "string",
1846
+ format: "uuid",
1847
+ check: "string_format",
1848
+ abort: !1,
1849
+ version: "v6",
1850
+ ...l(t)
1851
+ });
1852
+ }
1853
+ function ho(e, t) {
1854
+ return new e({
1855
+ type: "string",
1856
+ format: "uuid",
1857
+ check: "string_format",
1858
+ abort: !1,
1859
+ version: "v7",
1860
+ ...l(t)
1861
+ });
1862
+ }
1863
+ function fo(e, t) {
1864
+ return new e({
1865
+ type: "string",
1866
+ format: "url",
1867
+ check: "string_format",
1868
+ abort: !1,
1869
+ ...l(t)
1870
+ });
1871
+ }
1872
+ function po(e, t) {
1873
+ return new e({
1874
+ type: "string",
1875
+ format: "emoji",
1876
+ check: "string_format",
1877
+ abort: !1,
1878
+ ...l(t)
1879
+ });
1880
+ }
1881
+ function mo(e, t) {
1882
+ return new e({
1883
+ type: "string",
1884
+ format: "nanoid",
1885
+ check: "string_format",
1886
+ abort: !1,
1887
+ ...l(t)
1888
+ });
1889
+ }
1890
+ function go(e, t) {
1891
+ return new e({
1892
+ type: "string",
1893
+ format: "cuid",
1894
+ check: "string_format",
1895
+ abort: !1,
1896
+ ...l(t)
1897
+ });
1898
+ }
1899
+ function vo(e, t) {
1900
+ return new e({
1901
+ type: "string",
1902
+ format: "cuid2",
1903
+ check: "string_format",
1904
+ abort: !1,
1905
+ ...l(t)
1906
+ });
1907
+ }
1908
+ function _o(e, t) {
1909
+ return new e({
1910
+ type: "string",
1911
+ format: "ulid",
1912
+ check: "string_format",
1913
+ abort: !1,
1914
+ ...l(t)
1915
+ });
1916
+ }
1917
+ function yo(e, t) {
1918
+ return new e({
1919
+ type: "string",
1920
+ format: "xid",
1921
+ check: "string_format",
1922
+ abort: !1,
1923
+ ...l(t)
1924
+ });
1925
+ }
1926
+ function wo(e, t) {
1927
+ return new e({
1928
+ type: "string",
1929
+ format: "ksuid",
1930
+ check: "string_format",
1931
+ abort: !1,
1932
+ ...l(t)
1933
+ });
1934
+ }
1935
+ function bo(e, t) {
1936
+ return new e({
1937
+ type: "string",
1938
+ format: "ipv4",
1939
+ check: "string_format",
1940
+ abort: !1,
1941
+ ...l(t)
1942
+ });
1943
+ }
1944
+ function zo(e, t) {
1945
+ return new e({
1946
+ type: "string",
1947
+ format: "ipv6",
1948
+ check: "string_format",
1949
+ abort: !1,
1950
+ ...l(t)
1951
+ });
1952
+ }
1953
+ function xo(e, t) {
1954
+ return new e({
1955
+ type: "string",
1956
+ format: "cidrv4",
1957
+ check: "string_format",
1958
+ abort: !1,
1959
+ ...l(t)
1960
+ });
1961
+ }
1962
+ function ko(e, t) {
1963
+ return new e({
1964
+ type: "string",
1965
+ format: "cidrv6",
1966
+ check: "string_format",
1967
+ abort: !1,
1968
+ ...l(t)
1969
+ });
1970
+ }
1971
+ function Zo(e, t) {
1972
+ return new e({
1973
+ type: "string",
1974
+ format: "base64",
1975
+ check: "string_format",
1976
+ abort: !1,
1977
+ ...l(t)
1978
+ });
1979
+ }
1980
+ function $o(e, t) {
1981
+ return new e({
1982
+ type: "string",
1983
+ format: "base64url",
1984
+ check: "string_format",
1985
+ abort: !1,
1986
+ ...l(t)
1987
+ });
1988
+ }
1989
+ function jo(e, t) {
1990
+ return new e({
1991
+ type: "string",
1992
+ format: "e164",
1993
+ check: "string_format",
1994
+ abort: !1,
1995
+ ...l(t)
1996
+ });
1997
+ }
1998
+ function Po(e, t) {
1999
+ return new e({
2000
+ type: "string",
2001
+ format: "jwt",
2002
+ check: "string_format",
2003
+ abort: !1,
2004
+ ...l(t)
2005
+ });
2006
+ }
2007
+ function Oo(e, t) {
2008
+ return new e({
2009
+ type: "string",
2010
+ format: "datetime",
2011
+ check: "string_format",
2012
+ offset: !1,
2013
+ local: !1,
2014
+ precision: null,
2015
+ ...l(t)
2016
+ });
2017
+ }
2018
+ function So(e, t) {
2019
+ return new e({
2020
+ type: "string",
2021
+ format: "date",
2022
+ check: "string_format",
2023
+ ...l(t)
2024
+ });
2025
+ }
2026
+ function Eo(e, t) {
2027
+ return new e({
2028
+ type: "string",
2029
+ format: "time",
2030
+ check: "string_format",
2031
+ precision: null,
2032
+ ...l(t)
2033
+ });
2034
+ }
2035
+ function Io(e, t) {
2036
+ return new e({
2037
+ type: "string",
2038
+ format: "duration",
2039
+ check: "string_format",
2040
+ ...l(t)
2041
+ });
2042
+ }
2043
+ function To(e) {
2044
+ return new e({
2045
+ type: "unknown"
2046
+ });
2047
+ }
2048
+ function Do(e, t) {
2049
+ return new e({
2050
+ type: "never",
2051
+ ...l(t)
2052
+ });
2053
+ }
2054
+ function ct(e, t) {
2055
+ return new or({
2056
+ check: "max_length",
2057
+ ...l(t),
2058
+ maximum: e
2059
+ });
2060
+ }
2061
+ function Y(e, t) {
2062
+ return new sr({
2063
+ check: "min_length",
2064
+ ...l(t),
2065
+ minimum: e
2066
+ });
2067
+ }
2068
+ function ut(e, t) {
2069
+ return new ir({
2070
+ check: "length_equals",
2071
+ ...l(t),
2072
+ length: e
2073
+ });
2074
+ }
2075
+ function Ao(e, t) {
2076
+ return new ar({
2077
+ check: "string_format",
2078
+ format: "regex",
2079
+ ...l(t),
2080
+ pattern: e
2081
+ });
2082
+ }
2083
+ function No(e) {
2084
+ return new cr({
2085
+ check: "string_format",
2086
+ format: "lowercase",
2087
+ ...l(e)
2088
+ });
2089
+ }
2090
+ function Co(e) {
2091
+ return new ur({
2092
+ check: "string_format",
2093
+ format: "uppercase",
2094
+ ...l(e)
2095
+ });
2096
+ }
2097
+ function Ro(e, t) {
2098
+ return new lr({
2099
+ check: "string_format",
2100
+ format: "includes",
2101
+ ...l(t),
2102
+ includes: e
2103
+ });
2104
+ }
2105
+ function Uo(e, t) {
2106
+ return new dr({
2107
+ check: "string_format",
2108
+ format: "starts_with",
2109
+ ...l(t),
2110
+ prefix: e
2111
+ });
2112
+ }
2113
+ function Fo(e, t) {
2114
+ return new hr({
2115
+ check: "string_format",
2116
+ format: "ends_with",
2117
+ ...l(t),
2118
+ suffix: e
2119
+ });
2120
+ }
2121
+ function K(e) {
2122
+ return new fr({
2123
+ check: "overwrite",
2124
+ tx: e
2125
+ });
2126
+ }
2127
+ function qo(e) {
2128
+ return K((t) => t.normalize(e));
2129
+ }
2130
+ function Mo() {
2131
+ return K((e) => e.trim());
2132
+ }
2133
+ function Qo() {
2134
+ return K((e) => e.toLowerCase());
2135
+ }
2136
+ function Lo() {
2137
+ return K((e) => e.toUpperCase());
2138
+ }
2139
+ function Bo(e, t, n) {
2140
+ return new e({
2141
+ type: "array",
2142
+ element: t,
2143
+ // get element() {
2144
+ // return element;
2145
+ // },
2146
+ ...l(n)
2147
+ });
2148
+ }
2149
+ function Ko(e, t, n) {
2150
+ return new e({
2151
+ type: "custom",
2152
+ check: "custom",
2153
+ fn: t,
2154
+ ...l(n)
2155
+ });
2156
+ }
2157
+ const Wo = /* @__PURE__ */ c("ZodISODateTime", (e, t) => {
2158
+ jr.init(e, t), w.init(e, t);
2159
+ });
2160
+ function Ho(e) {
2161
+ return Oo(Wo, e);
2162
+ }
2163
+ const Vo = /* @__PURE__ */ c("ZodISODate", (e, t) => {
2164
+ Pr.init(e, t), w.init(e, t);
2165
+ });
2166
+ function Jo(e) {
2167
+ return So(Vo, e);
2168
+ }
2169
+ const Go = /* @__PURE__ */ c("ZodISOTime", (e, t) => {
2170
+ Or.init(e, t), w.init(e, t);
2171
+ });
2172
+ function Yo(e) {
2173
+ return Eo(Go, e);
2174
+ }
2175
+ const Xo = /* @__PURE__ */ c("ZodISODuration", (e, t) => {
2176
+ Sr.init(e, t), w.init(e, t);
2177
+ });
2178
+ function es(e) {
2179
+ return Io(Xo, e);
2180
+ }
2181
+ const ts = (e, t) => {
2182
+ et.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
2183
+ format: {
2184
+ value: (n) => On(e, n)
2185
+ // enumerable: false,
2186
+ },
2187
+ flatten: {
2188
+ value: (n) => Pn(e, n)
2189
+ // enumerable: false,
2190
+ },
2191
+ addIssue: {
2192
+ value: (n) => {
2193
+ e.issues.push(n), e.message = JSON.stringify(e.issues, oe, 2);
2194
+ }
2195
+ // enumerable: false,
2196
+ },
2197
+ addIssues: {
2198
+ value: (n) => {
2199
+ e.issues.push(...n), e.message = JSON.stringify(e.issues, oe, 2);
2200
+ }
2201
+ // enumerable: false,
2202
+ },
2203
+ isEmpty: {
2204
+ get() {
2205
+ return e.issues.length === 0;
2206
+ }
2207
+ // enumerable: false,
2208
+ }
2209
+ });
2210
+ }, re = c("ZodError", ts, {
2211
+ Parent: Error
2212
+ }), ns = /* @__PURE__ */ Sn(re), rs = /* @__PURE__ */ En(re), os = /* @__PURE__ */ nt(re), ss = /* @__PURE__ */ rt(re), Z = /* @__PURE__ */ c("ZodType", (e, t) => (x.init(e, t), e.def = t, Object.defineProperty(e, "_def", { value: t }), e.check = (...n) => e.clone(
2213
+ {
2214
+ ...t,
2215
+ checks: [
2216
+ ...t.checks ?? [],
2217
+ ...n.map((r) => typeof r == "function" ? { _zod: { check: r, def: { check: "custom" }, onattach: [] } } : r)
2218
+ ]
2219
+ }
2220
+ // { parent: true }
2221
+ ), e.clone = (n, r) => F(e, n, r), e.brand = () => e, e.register = (n, r) => (n.add(e, r), e), e.parse = (n, r) => ns(e, n, r, { callee: e.parse }), e.safeParse = (n, r) => os(e, n, r), e.parseAsync = async (n, r) => rs(e, n, r, { callee: e.parseAsync }), e.safeParseAsync = async (n, r) => ss(e, n, r), e.spa = e.safeParseAsync, e.refine = (n, r) => e.check(Js(n, r)), e.superRefine = (n) => e.check(Gs(n)), e.overwrite = (n) => e.check(K(n)), e.optional = () => Ce(e), e.nullable = () => Re(e), e.nullish = () => Ce(Re(e)), e.nonoptional = (n) => Ms(e, n), e.array = () => Ps(e), e.or = (n) => Is([e, n]), e.and = (n) => Ds(e, n), e.transform = (n) => Ue(e, Ns(n)), e.default = (n) => Us(e, n), e.prefault = (n) => qs(e, n), e.catch = (n) => Ls(e, n), e.pipe = (n) => Ue(e, n), e.readonly = () => Ws(e), e.describe = (n) => {
2222
+ const r = e.clone();
2223
+ return J.add(r, { description: n }), r;
2224
+ }, Object.defineProperty(e, "description", {
2225
+ get() {
2226
+ return J.get(e)?.description;
2227
+ },
2228
+ configurable: !0
2229
+ }), e.meta = (...n) => {
2230
+ if (n.length === 0)
2231
+ return J.get(e);
2232
+ const r = e.clone();
2233
+ return J.add(r, n[0]), r;
2234
+ }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e)), lt = /* @__PURE__ */ c("_ZodString", (e, t) => {
2235
+ he.init(e, t), Z.init(e, t);
2236
+ const n = e._zod.bag;
2237
+ e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, e.regex = (...r) => e.check(Ao(...r)), e.includes = (...r) => e.check(Ro(...r)), e.startsWith = (...r) => e.check(Uo(...r)), e.endsWith = (...r) => e.check(Fo(...r)), e.min = (...r) => e.check(Y(...r)), e.max = (...r) => e.check(ct(...r)), e.length = (...r) => e.check(ut(...r)), e.nonempty = (...r) => e.check(Y(1, ...r)), e.lowercase = (r) => e.check(No(r)), e.uppercase = (r) => e.check(Co(r)), e.trim = () => e.check(Mo()), e.normalize = (...r) => e.check(qo(...r)), e.toLowerCase = () => e.check(Qo()), e.toUpperCase = () => e.check(Lo());
2238
+ }), is = /* @__PURE__ */ c("ZodString", (e, t) => {
2239
+ he.init(e, t), lt.init(e, t), e.email = (n) => e.check(ao(as, n)), e.url = (n) => e.check(fo(cs, n)), e.jwt = (n) => e.check(Po(xs, n)), e.emoji = (n) => e.check(po(us, n)), e.guid = (n) => e.check(Te(Ae, n)), e.uuid = (n) => e.check(co(G, n)), e.uuidv4 = (n) => e.check(uo(G, n)), e.uuidv6 = (n) => e.check(lo(G, n)), e.uuidv7 = (n) => e.check(ho(G, n)), e.nanoid = (n) => e.check(mo(ls, n)), e.guid = (n) => e.check(Te(Ae, n)), e.cuid = (n) => e.check(go(ds, n)), e.cuid2 = (n) => e.check(vo(hs, n)), e.ulid = (n) => e.check(_o(fs, n)), e.base64 = (n) => e.check(Zo(ws, n)), e.base64url = (n) => e.check($o(bs, n)), e.xid = (n) => e.check(yo(ps, n)), e.ksuid = (n) => e.check(wo(ms, n)), e.ipv4 = (n) => e.check(bo(gs, n)), e.ipv6 = (n) => e.check(zo(vs, n)), e.cidrv4 = (n) => e.check(xo(_s, n)), e.cidrv6 = (n) => e.check(ko(ys, n)), e.e164 = (n) => e.check(jo(zs, n)), e.datetime = (n) => e.check(Ho(n)), e.date = (n) => e.check(Jo(n)), e.time = (n) => e.check(Yo(n)), e.duration = (n) => e.check(es(n));
2240
+ });
2241
+ function De(e) {
2242
+ return io(is, e);
2243
+ }
2244
+ const w = /* @__PURE__ */ c("ZodStringFormat", (e, t) => {
2245
+ y.init(e, t), lt.init(e, t);
2246
+ }), as = /* @__PURE__ */ c("ZodEmail", (e, t) => {
2247
+ _r.init(e, t), w.init(e, t);
2248
+ }), Ae = /* @__PURE__ */ c("ZodGUID", (e, t) => {
2249
+ gr.init(e, t), w.init(e, t);
2250
+ }), G = /* @__PURE__ */ c("ZodUUID", (e, t) => {
2251
+ vr.init(e, t), w.init(e, t);
2252
+ }), cs = /* @__PURE__ */ c("ZodURL", (e, t) => {
2253
+ yr.init(e, t), w.init(e, t);
2254
+ }), us = /* @__PURE__ */ c("ZodEmoji", (e, t) => {
2255
+ wr.init(e, t), w.init(e, t);
2256
+ }), ls = /* @__PURE__ */ c("ZodNanoID", (e, t) => {
2257
+ br.init(e, t), w.init(e, t);
2258
+ }), ds = /* @__PURE__ */ c("ZodCUID", (e, t) => {
2259
+ zr.init(e, t), w.init(e, t);
2260
+ }), hs = /* @__PURE__ */ c("ZodCUID2", (e, t) => {
2261
+ xr.init(e, t), w.init(e, t);
2262
+ }), fs = /* @__PURE__ */ c("ZodULID", (e, t) => {
2263
+ kr.init(e, t), w.init(e, t);
2264
+ }), ps = /* @__PURE__ */ c("ZodXID", (e, t) => {
2265
+ Zr.init(e, t), w.init(e, t);
2266
+ }), ms = /* @__PURE__ */ c("ZodKSUID", (e, t) => {
2267
+ $r.init(e, t), w.init(e, t);
2268
+ }), gs = /* @__PURE__ */ c("ZodIPv4", (e, t) => {
2269
+ Er.init(e, t), w.init(e, t);
2270
+ }), vs = /* @__PURE__ */ c("ZodIPv6", (e, t) => {
2271
+ Ir.init(e, t), w.init(e, t);
2272
+ }), _s = /* @__PURE__ */ c("ZodCIDRv4", (e, t) => {
2273
+ Tr.init(e, t), w.init(e, t);
2274
+ }), ys = /* @__PURE__ */ c("ZodCIDRv6", (e, t) => {
2275
+ Dr.init(e, t), w.init(e, t);
2276
+ }), ws = /* @__PURE__ */ c("ZodBase64", (e, t) => {
2277
+ Ar.init(e, t), w.init(e, t);
2278
+ }), bs = /* @__PURE__ */ c("ZodBase64URL", (e, t) => {
2279
+ Cr.init(e, t), w.init(e, t);
2280
+ }), zs = /* @__PURE__ */ c("ZodE164", (e, t) => {
2281
+ Rr.init(e, t), w.init(e, t);
2282
+ }), xs = /* @__PURE__ */ c("ZodJWT", (e, t) => {
2283
+ Fr.init(e, t), w.init(e, t);
2284
+ }), ks = /* @__PURE__ */ c("ZodUnknown", (e, t) => {
2285
+ qr.init(e, t), Z.init(e, t);
2286
+ });
2287
+ function Ne() {
2288
+ return To(ks);
2289
+ }
2290
+ const Zs = /* @__PURE__ */ c("ZodNever", (e, t) => {
2291
+ Mr.init(e, t), Z.init(e, t);
2292
+ });
2293
+ function $s(e) {
2294
+ return Do(Zs, e);
2295
+ }
2296
+ const js = /* @__PURE__ */ c("ZodArray", (e, t) => {
2297
+ Qr.init(e, t), Z.init(e, t), e.element = t.element, e.min = (n, r) => e.check(Y(n, r)), e.nonempty = (n) => e.check(Y(1, n)), e.max = (n, r) => e.check(ct(n, r)), e.length = (n, r) => e.check(ut(n, r)), e.unwrap = () => e.element;
2298
+ });
2299
+ function Ps(e, t) {
2300
+ return Bo(js, e, t);
2301
+ }
2302
+ const Os = /* @__PURE__ */ c("ZodObject", (e, t) => {
2303
+ Lr.init(e, t), Z.init(e, t), _(e, "shape", () => t.shape), e.keyof = () => dt(Object.keys(e._zod.def.shape)), e.catchall = (n) => e.clone({ ...e._zod.def, catchall: n }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: Ne() }), e.loose = () => e.clone({ ...e._zod.def, catchall: Ne() }), e.strict = () => e.clone({ ...e._zod.def, catchall: $s() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (n) => kn(e, n), e.merge = (n) => Zn(e, n), e.pick = (n) => zn(e, n), e.omit = (n) => xn(e, n), e.partial = (...n) => $n(ht, e, n[0]), e.required = (...n) => jn(ft, e, n[0]);
2304
+ });
2305
+ function Ss(e, t) {
2306
+ const n = {
2307
+ type: "object",
2308
+ get shape() {
2309
+ return U(this, "shape", { ...e }), this.shape;
2310
+ },
2311
+ ...l(t)
2312
+ };
2313
+ return new Os(n);
2314
+ }
2315
+ const Es = /* @__PURE__ */ c("ZodUnion", (e, t) => {
2316
+ Br.init(e, t), Z.init(e, t), e.options = t.options;
2317
+ });
2318
+ function Is(e, t) {
2319
+ return new Es({
2320
+ type: "union",
2321
+ options: e,
2322
+ ...l(t)
2323
+ });
2324
+ }
2325
+ const Ts = /* @__PURE__ */ c("ZodIntersection", (e, t) => {
2326
+ Kr.init(e, t), Z.init(e, t);
2327
+ });
2328
+ function Ds(e, t) {
2329
+ return new Ts({
2330
+ type: "intersection",
2331
+ left: e,
2332
+ right: t
2333
+ });
2334
+ }
2335
+ const ce = /* @__PURE__ */ c("ZodEnum", (e, t) => {
2336
+ Wr.init(e, t), Z.init(e, t), e.enum = t.entries, e.options = Object.values(t.entries);
2337
+ const n = new Set(Object.keys(t.entries));
2338
+ e.extract = (r, o) => {
2339
+ const s = {};
2340
+ for (const i of r)
2341
+ if (n.has(i))
2342
+ s[i] = t.entries[i];
2343
+ else
2344
+ throw new Error(`Key ${i} not found in enum`);
2345
+ return new ce({
2346
+ ...t,
2347
+ checks: [],
2348
+ ...l(o),
2349
+ entries: s
2350
+ });
2351
+ }, e.exclude = (r, o) => {
2352
+ const s = { ...t.entries };
2353
+ for (const i of r)
2354
+ if (n.has(i))
2355
+ delete s[i];
2356
+ else
2357
+ throw new Error(`Key ${i} not found in enum`);
2358
+ return new ce({
2359
+ ...t,
2360
+ checks: [],
2361
+ ...l(o),
2362
+ entries: s
2363
+ });
2364
+ };
2365
+ });
2366
+ function dt(e, t) {
2367
+ const n = Array.isArray(e) ? Object.fromEntries(e.map((r) => [r, r])) : e;
2368
+ return new ce({
2369
+ type: "enum",
2370
+ entries: n,
2371
+ ...l(t)
2372
+ });
2373
+ }
2374
+ const As = /* @__PURE__ */ c("ZodTransform", (e, t) => {
2375
+ Hr.init(e, t), Z.init(e, t), e._zod.parse = (n, r) => {
2376
+ n.addIssue = (s) => {
2377
+ if (typeof s == "string")
2378
+ n.issues.push(B(s, n.value, t));
2379
+ else {
2380
+ const i = s;
2381
+ i.fatal && (i.continue = !1), i.code ?? (i.code = "custom"), i.input ?? (i.input = n.value), i.inst ?? (i.inst = e), n.issues.push(B(i));
2382
+ }
2383
+ };
2384
+ const o = t.transform(n.value, n);
2385
+ return o instanceof Promise ? o.then((s) => (n.value = s, n)) : (n.value = o, n);
2386
+ };
2387
+ });
2388
+ function Ns(e) {
2389
+ return new As({
2390
+ type: "transform",
2391
+ transform: e
2392
+ });
2393
+ }
2394
+ const ht = /* @__PURE__ */ c("ZodOptional", (e, t) => {
2395
+ Vr.init(e, t), Z.init(e, t), e.unwrap = () => e._zod.def.innerType;
2396
+ });
2397
+ function Ce(e) {
2398
+ return new ht({
2399
+ type: "optional",
2400
+ innerType: e
2401
+ });
2402
+ }
2403
+ const Cs = /* @__PURE__ */ c("ZodNullable", (e, t) => {
2404
+ Jr.init(e, t), Z.init(e, t), e.unwrap = () => e._zod.def.innerType;
2405
+ });
2406
+ function Re(e) {
2407
+ return new Cs({
2408
+ type: "nullable",
2409
+ innerType: e
2410
+ });
2411
+ }
2412
+ const Rs = /* @__PURE__ */ c("ZodDefault", (e, t) => {
2413
+ Gr.init(e, t), Z.init(e, t), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
2414
+ });
2415
+ function Us(e, t) {
2416
+ return new Rs({
2417
+ type: "default",
2418
+ innerType: e,
2419
+ get defaultValue() {
2420
+ return typeof t == "function" ? t() : t;
2421
+ }
2422
+ });
2423
+ }
2424
+ const Fs = /* @__PURE__ */ c("ZodPrefault", (e, t) => {
2425
+ Yr.init(e, t), Z.init(e, t), e.unwrap = () => e._zod.def.innerType;
2426
+ });
2427
+ function qs(e, t) {
2428
+ return new Fs({
2429
+ type: "prefault",
2430
+ innerType: e,
2431
+ get defaultValue() {
2432
+ return typeof t == "function" ? t() : t;
2433
+ }
2434
+ });
2435
+ }
2436
+ const ft = /* @__PURE__ */ c("ZodNonOptional", (e, t) => {
2437
+ Xr.init(e, t), Z.init(e, t), e.unwrap = () => e._zod.def.innerType;
2438
+ });
2439
+ function Ms(e, t) {
2440
+ return new ft({
2441
+ type: "nonoptional",
2442
+ innerType: e,
2443
+ ...l(t)
2444
+ });
2445
+ }
2446
+ const Qs = /* @__PURE__ */ c("ZodCatch", (e, t) => {
2447
+ eo.init(e, t), Z.init(e, t), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
2448
+ });
2449
+ function Ls(e, t) {
2450
+ return new Qs({
2451
+ type: "catch",
2452
+ innerType: e,
2453
+ catchValue: typeof t == "function" ? t : () => t
2454
+ });
2455
+ }
2456
+ const Bs = /* @__PURE__ */ c("ZodPipe", (e, t) => {
2457
+ to.init(e, t), Z.init(e, t), e.in = t.in, e.out = t.out;
2458
+ });
2459
+ function Ue(e, t) {
2460
+ return new Bs({
2461
+ type: "pipe",
2462
+ in: e,
2463
+ out: t
2464
+ // ...util.normalizeParams(params),
2465
+ });
2466
+ }
2467
+ const Ks = /* @__PURE__ */ c("ZodReadonly", (e, t) => {
2468
+ no.init(e, t), Z.init(e, t), e.unwrap = () => e._zod.def.innerType;
2469
+ });
2470
+ function Ws(e) {
2471
+ return new Ks({
2472
+ type: "readonly",
2473
+ innerType: e
2474
+ });
2475
+ }
2476
+ const Hs = /* @__PURE__ */ c("ZodCustom", (e, t) => {
2477
+ ro.init(e, t), Z.init(e, t);
2478
+ });
2479
+ function Vs(e) {
2480
+ const t = new I({
2481
+ check: "custom"
2482
+ // ...util.normalizeParams(params),
2483
+ });
2484
+ return t._zod.check = e, t;
2485
+ }
2486
+ function Js(e, t = {}) {
2487
+ return Ko(Hs, e, t);
2488
+ }
2489
+ function Gs(e) {
2490
+ const t = Vs((n) => (n.addIssue = (r) => {
2491
+ if (typeof r == "string")
2492
+ n.issues.push(B(r, n.value, t._zod.def));
2493
+ else {
2494
+ const o = r;
2495
+ o.fatal && (o.continue = !1), o.code ?? (o.code = "custom"), o.input ?? (o.input = n.value), o.inst ?? (o.inst = t), o.continue ?? (o.continue = !t._zod.def.abort), n.issues.push(B(o));
2496
+ }
2497
+ }, e(n.value, n)));
2498
+ return t;
2499
+ }
2500
+ const Ys = Ss({
2501
+ buildId: De(),
2502
+ timestamp: De(),
2503
+ status: dt(["in-progress", "success", "failed"])
2504
+ }), Xs = ({
2505
+ buildId: e,
2506
+ environmentType: t,
2507
+ endpoint: n = "/__zuplo/docs"
2508
+ }) => {
2509
+ const r = jt({
2510
+ queryKey: ["zuplo-build-check", e, n],
2511
+ refetchInterval: 3e3,
2512
+ enabled: e !== void 0 && t === "WORKING_COPY",
2513
+ retry: !1,
2514
+ queryFn: () => fetch(n, { signal: AbortSignal.timeout(2e3) }).then((s) => {
2515
+ if (!s.ok) throw new Error("Failed to fetch build status");
2516
+ return s.json();
2517
+ }).then((s) => Ys.parse(s))
2518
+ });
2519
+ if (ee(() => {
2520
+ r.data?.status === "success" && r.data.buildId && (document.cookie = `zuplo-build=${r.data.buildId}; path=/; max-age=300; secure; SameSite=None`);
2521
+ }, [r.data]), r.isError || !r.data || r.data.buildId === e)
2522
+ return null;
2523
+ const o = r.data.status === "success";
2524
+ return /* @__PURE__ */ a.jsxs("div", { className: "fixed flex flex-col gap-3 p-4 rounded-xl w-96 border z-20 bg-background left-0 right-0 top-4 mx-auto shadow-lg", children: [
2525
+ o ? /* @__PURE__ */ a.jsxs("div", { className: "flex flex-row items-center gap-2", children: [
2526
+ /* @__PURE__ */ a.jsx(Qt, { size: 16 }),
2527
+ /* @__PURE__ */ a.jsx("span", { className: "text-sm", children: "New version available" })
2528
+ ] }) : /* @__PURE__ */ a.jsxs("div", { className: "flex flex-row items-center gap-2", children: [
2529
+ /* @__PURE__ */ a.jsx(Lt, { size: 16, className: "animate-spin" }),
2530
+ /* @__PURE__ */ a.jsx("span", { className: "text-sm", children: "Building new version..." })
2531
+ ] }),
2532
+ /* @__PURE__ */ a.jsx("span", { className: "text-xs", children: o ? "To see the new version, reload the page now." : "A new version of the developer portal will be available soon." }),
2533
+ /* @__PURE__ */ a.jsx(
2534
+ Wt,
2535
+ {
2536
+ variant: "outline",
2537
+ size: "sm",
2538
+ className: "w-full",
2539
+ onClick: () => {
2540
+ window.location.reload();
2541
+ },
2542
+ children: "Reload"
2543
+ }
2544
+ )
2545
+ ] });
2546
+ }, ei = () => {
2547
+ const e = We(), t = Ke(e.pathname);
2548
+ ee(() => {
2549
+ const n = t.current !== e.pathname, r = e.hash !== "";
2550
+ n && !r && window.scrollTo(0, 0), t.current = e.pathname;
2551
+ }, [e.pathname, e.hash]);
2552
+ }, ti = ({
2553
+ icon: e
2554
+ }) => typeof e == "string" ? /* @__PURE__ */ a.jsx(
2555
+ "img",
2556
+ {
2557
+ src: `https://cdn.simpleicons.org/${e}/000000/ffffff`,
2558
+ className: "size-5",
2559
+ alt: e
2560
+ }
2561
+ ) : e, ni = (e) => /^https?:/.test(e), ri = () => {
2562
+ const { site: e } = Ut(), t = e?.footer;
2563
+ return t ? /* @__PURE__ */ a.jsx("footer", { className: "border-t bg-background", children: /* @__PURE__ */ a.jsxs("div", { className: "mx-auto max-w-screen-2xl px-4 lg:px-8 py-8 pt-20", children: [
2564
+ /* @__PURE__ */ a.jsxs(
2565
+ "div",
2566
+ {
2567
+ className: S("flex flex-row gap-8", {
2568
+ "justify-center": !t.position || t.position === "center",
2569
+ "justify-start": t.position === "start",
2570
+ "justify-end": t.position === "end"
2571
+ }),
2572
+ children: [
2573
+ /* @__PURE__ */ a.jsx(N.Target, { name: "footer-before" }),
2574
+ t.columns && /* @__PURE__ */ a.jsx(
2575
+ "div",
2576
+ {
2577
+ className: "w-full md:max-w-screen-md grid grid-cols-[1fr_1fr] gap-8 md:grid-cols-[repeat(var(--columns),minmax(0,1fr))]",
2578
+ style: { "--columns": t.columns.length },
2579
+ children: t.columns.map((n) => /* @__PURE__ */ a.jsxs(
2580
+ "div",
2581
+ {
2582
+ className: S({
2583
+ "justify-self-center": !n.position || n.position === "center",
2584
+ "justify-self-start": n.position === "start",
2585
+ "justify-self-end": n.position === "end"
2586
+ }),
2587
+ children: [
2588
+ /* @__PURE__ */ a.jsx("span", { className: "text-sm font-semibold", children: n.title }),
2589
+ /* @__PURE__ */ a.jsx("ul", { className: "mt-4 space-y-2", children: n.links.map((r) => {
2590
+ const o = "flex flex-row gap-1 items-center text-sm text-muted-foreground hover:text-accent-foreground";
2591
+ return /* @__PURE__ */ a.jsx("li", { children: ni(r.href) ? /* @__PURE__ */ a.jsxs(
2592
+ "a",
2593
+ {
2594
+ href: r.href,
2595
+ target: "_blank",
2596
+ rel: "noopener noreferrer",
2597
+ className: o,
2598
+ children: [
2599
+ /* @__PURE__ */ a.jsx("span", { children: r.label }),
2600
+ /* @__PURE__ */ a.jsx(Bt, { size: 12 })
2601
+ ]
2602
+ }
2603
+ ) : /* @__PURE__ */ a.jsx(Ht, { to: r.href, className: o, children: /* @__PURE__ */ a.jsx("span", { children: r.label }) }) }, r.href + r.label);
2604
+ }) })
2605
+ ]
2606
+ },
2607
+ n.title
2608
+ ))
2609
+ }
2610
+ ),
2611
+ /* @__PURE__ */ a.jsx(N.Target, { name: "footer-after" })
2612
+ ]
2613
+ }
2614
+ ),
2615
+ /* @__PURE__ */ a.jsxs(
2616
+ "div",
2617
+ {
2618
+ className: S(
2619
+ "flex items-center justify-between",
2620
+ t.columns && "border-t mt-8 pt-8"
2621
+ ),
2622
+ children: [
2623
+ t.logo && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2624
+ /* @__PURE__ */ a.jsx(
2625
+ "img",
2626
+ {
2627
+ src: t.logo.src.light,
2628
+ alt: t.logo.alt,
2629
+ className: "w-8 dark:hidden",
2630
+ style: { width: t.logo.width }
2631
+ }
2632
+ ),
2633
+ /* @__PURE__ */ a.jsx(
2634
+ "img",
2635
+ {
2636
+ src: t.logo.src.dark,
2637
+ alt: t.logo.alt,
2638
+ className: "w-8 hidden dark:block",
2639
+ style: { width: t.logo.width }
2640
+ }
2641
+ )
2642
+ ] }),
2643
+ t.copyright && /* @__PURE__ */ a.jsx("p", { className: "text-sm text-muted-foreground", children: t.copyright }),
2644
+ /* @__PURE__ */ a.jsx("div", { className: "flex items-center gap-2", children: t.social?.map((n) => /* @__PURE__ */ a.jsxs(
2645
+ "a",
2646
+ {
2647
+ href: n.href,
2648
+ target: "_blank",
2649
+ rel: "noopener noreferrer",
2650
+ className: "w-auto gap-2 flex text-muted-foreground hover:text-accent-foreground",
2651
+ children: [
2652
+ /* @__PURE__ */ a.jsx(ti, { icon: n.icon }),
2653
+ n.label
2654
+ ]
2655
+ },
2656
+ n.href
2657
+ )) })
2658
+ ]
2659
+ }
2660
+ )
2661
+ ] }) }) : null;
2662
+ }, pt = ({
2663
+ shouldScaleBackground: e = !0,
2664
+ ...t
2665
+ }) => /* @__PURE__ */ a.jsx(
2666
+ E.Root,
2667
+ {
2668
+ shouldScaleBackground: e,
2669
+ ...t
2670
+ }
2671
+ );
2672
+ pt.displayName = "Drawer";
2673
+ const oi = E.Trigger, si = E.Portal, mt = A.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ a.jsx(
2674
+ E.Overlay,
2675
+ {
2676
+ ref: n,
2677
+ className: S("fixed inset-0 z-50 bg-black/80", e),
2678
+ ...t
2679
+ }
2680
+ ));
2681
+ mt.displayName = E.Overlay.displayName;
2682
+ const ii = A.forwardRef(
2683
+ ({ className: e, children: t, hideBar: n = !0, ...r }, o) => /* @__PURE__ */ a.jsxs(si, { children: [
2684
+ /* @__PURE__ */ a.jsx(mt, {}),
2685
+ /* @__PURE__ */ a.jsxs(
2686
+ E.Content,
2687
+ {
2688
+ ref: o,
2689
+ className: S(
2690
+ "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
2691
+ e
2692
+ ),
2693
+ ...r,
2694
+ children: [
2695
+ !n && /* @__PURE__ */ a.jsx("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
2696
+ t
2697
+ ]
2698
+ }
2699
+ )
2700
+ ] })
2701
+ );
2702
+ ii.displayName = "DrawerContent";
2703
+ const ai = A.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ a.jsx(
2704
+ E.Title,
2705
+ {
2706
+ ref: n,
2707
+ className: S(
2708
+ "text-lg font-semibold leading-none tracking-tight",
2709
+ e
2710
+ ),
2711
+ ...t
2712
+ }
2713
+ ));
2714
+ ai.displayName = E.Title.displayName;
2715
+ const ci = A.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ a.jsx(
2716
+ E.Description,
2717
+ {
2718
+ ref: n,
2719
+ className: S("text-sm text-muted-foreground", e),
2720
+ ...t
2721
+ }
2722
+ ));
2723
+ ci.displayName = E.Description.displayName;
2724
+ const gt = ({
2725
+ children: e,
2726
+ className: t
2727
+ }) => {
2728
+ const { options: n } = X(), r = Ke(null);
2729
+ return ee(() => {
2730
+ const o = r.current?.querySelector('[aria-current="page"]');
2731
+ Vt(o ?? null);
2732
+ }, []), /* @__PURE__ */ a.jsxs(
2733
+ "div",
2734
+ {
2735
+ className: "grid sticky top-(--header-height) lg:h-[calc(100vh-var(--header-height))] grid-rows-[1fr_min-content] border-r",
2736
+ "data-pagefind-ignore": "all",
2737
+ children: [
2738
+ /* @__PURE__ */ a.jsx(
2739
+ "nav",
2740
+ {
2741
+ ref: r,
2742
+ className: S(
2743
+ "hidden max-w-[calc(var(--side-nav-width)+var(--padding-nav-item))] lg:flex scrollbar flex-col overflow-y-auto shrink-0 text-sm pe-3 ps-4 lg:ps-8",
2744
+ "-mx-(--padding-nav-item) pb-[8vh] pt-(--padding-content-top) scroll-pt-2 gap-1",
2745
+ // Revert the padding/margin on the first child
2746
+ "-mt-2.5",
2747
+ t
2748
+ ),
2749
+ style: {
2750
+ maskImage: "linear-gradient(180deg, transparent 1%, rgba(0, 0, 0, 1) 20px, rgba(0, 0, 0, 1) 90%, transparent 99%)"
2751
+ },
2752
+ children: e
2753
+ }
2754
+ ),
2755
+ /* @__PURE__ */ a.jsx("div", { className: "bg-background border-t p-2 mx-5 gap-2 items-center mt-2 drop-shadow-[0_-3px_1px_rgba(0,0,0,0.015)] hidden lg:[&:has(>_:nth-child(1):last-child)]:flex", children: n.site?.showPoweredBy !== !1 && /* @__PURE__ */ a.jsx(Ft, {}) })
2756
+ ]
2757
+ }
2758
+ );
2759
+ };
2760
+ gt.displayName = "NavigationWrapper";
2761
+ const ui = ({
2762
+ onRequestClose: e,
2763
+ navigation: t
2764
+ }) => /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2765
+ /* @__PURE__ */ a.jsxs(gt, { children: [
2766
+ /* @__PURE__ */ a.jsx(N.Target, { name: "navigation-before" }),
2767
+ t.map((n) => /* @__PURE__ */ a.jsx(
2768
+ ye,
2769
+ {
2770
+ item: n
2771
+ },
2772
+ n.type + (n.label ?? "") + ("path" in n ? n.path : "") + ("file" in n ? n.file : "") + ("to" in n ? n.to : "")
2773
+ )),
2774
+ /* @__PURE__ */ a.jsx(N.Target, { name: "navigation-after" })
2775
+ ] }),
2776
+ /* @__PURE__ */ a.jsx(
2777
+ en,
2778
+ {
2779
+ className: "lg:hidden h-[100dvh] start-0 w-[320px] rounded-none",
2780
+ "aria-describedby": void 0,
2781
+ children: /* @__PURE__ */ a.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
2782
+ /* @__PURE__ */ a.jsx(nn, { children: /* @__PURE__ */ a.jsx(tn, { children: "Navigation" }) }),
2783
+ t.map((n) => /* @__PURE__ */ a.jsx(
2784
+ ye,
2785
+ {
2786
+ item: n,
2787
+ onRequestClose: e
2788
+ },
2789
+ n.label
2790
+ ))
2791
+ ] })
2792
+ }
2793
+ )
2794
+ ] }), li = ({ children: e }) => {
2795
+ const [t, n] = Et(!1), { navigation: r } = Pt(), o = r.length > 0, s = At().state === "loading", { options: i } = X();
2796
+ return /* @__PURE__ */ a.jsxs(
2797
+ pt,
2798
+ {
2799
+ direction: i.site?.dir === "rtl" ? "right" : "left",
2800
+ open: t,
2801
+ onOpenChange: (u) => n(u),
2802
+ children: [
2803
+ o && /* @__PURE__ */ a.jsx(
2804
+ ui,
2805
+ {
2806
+ onRequestClose: () => n(!1),
2807
+ navigation: r
2808
+ }
2809
+ ),
2810
+ o && /* @__PURE__ */ a.jsx("div", { className: "lg:hidden -mx-4 px-4 py-2 sticky bg-background/80 backdrop-blur-xs z-10 top-0 start-0 end-0 border-b", children: /* @__PURE__ */ a.jsxs(oi, { className: "flex items-center gap-2 px-4", children: [
2811
+ /* @__PURE__ */ a.jsx(Kt, { size: 16, strokeWidth: 1.5 }),
2812
+ /* @__PURE__ */ a.jsx("span", { className: "text-sm", children: "Menu" })
2813
+ ] }) }),
2814
+ /* @__PURE__ */ a.jsxs(
2815
+ "main",
2816
+ {
2817
+ "data-pagefind-body": !0,
2818
+ className: S(
2819
+ "px-4 lg:pe-8 lg:px-8",
2820
+ !o && "col-span-full",
2821
+ s && "animate-pulse"
2822
+ ),
2823
+ children: [
2824
+ /* @__PURE__ */ a.jsx(N.Target, { name: "content-before" }),
2825
+ e,
2826
+ /* @__PURE__ */ a.jsx(N.Target, { name: "content-after" })
2827
+ ]
2828
+ }
2829
+ )
2830
+ ]
2831
+ }
2832
+ );
2833
+ }, di = () => /* @__PURE__ */ a.jsx("main", { className: "col-span-full row-span-full grid place-items-center", children: /* @__PURE__ */ a.jsx(rn, {}) }), hi = ({ children: e }) => {
2834
+ const { authentication: t } = X();
2835
+ return Jt(), ei(), ee(() => {
2836
+ t?.onPageLoad?.();
2837
+ }, [t]), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2838
+ /* @__PURE__ */ a.jsx(N.Target, { name: "layout-before-head" }),
2839
+ /* @__PURE__ */ a.jsx(qt, {}),
2840
+ /* @__PURE__ */ a.jsx(N.Target, { name: "layout-after-head" }),
2841
+ /* @__PURE__ */ a.jsx(
2842
+ "div",
2843
+ {
2844
+ className: S(
2845
+ "grid max-w-screen-2xl w-full lg:mx-auto",
2846
+ "[&:has(>:only-child)]:grid-rows-1 grid-rows-[0_min-content_1fr] lg:grid-rows-[min-content_1fr]",
2847
+ "grid-cols-1 lg:grid-cols-[var(--side-nav-width)_1fr]"
2848
+ ),
2849
+ children: /* @__PURE__ */ a.jsx(It, { fallback: /* @__PURE__ */ a.jsx(di, {}), children: /* @__PURE__ */ a.jsx(li, { children: e ?? /* @__PURE__ */ a.jsx(Nt, {}) }) })
2850
+ }
2851
+ ),
2852
+ /* @__PURE__ */ a.jsx(ri, {})
2853
+ ] });
2854
+ }, fi = ({ children: e }) => {
2855
+ const { meta: t, options: n } = X(), r = We();
2856
+ return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2857
+ /* @__PURE__ */ a.jsxs(qe, { titleTemplate: t?.title, defaultTitle: t?.defaultTitle, children: [
2858
+ n.canonicalUrlOrigin && /* @__PURE__ */ a.jsx(
2859
+ "link",
2860
+ {
2861
+ rel: "canonical",
2862
+ href: Ot(
2863
+ n.canonicalUrlOrigin,
2864
+ n.basePath,
2865
+ r.pathname
2866
+ )
2867
+ }
2868
+ ),
2869
+ t?.description && /* @__PURE__ */ a.jsx("meta", { name: "description", content: t.description }),
2870
+ t?.favicon && /* @__PURE__ */ a.jsx("link", { rel: "icon", href: t.favicon }),
2871
+ t?.generator && /* @__PURE__ */ a.jsx("meta", { name: "generator", content: t.generator }),
2872
+ t?.applicationName && /* @__PURE__ */ a.jsx("meta", { name: "application-name", content: t.applicationName }),
2873
+ t?.referrer && /* @__PURE__ */ a.jsx("meta", { name: "referrer", content: t.referrer }),
2874
+ t?.keywords && t.keywords.length > 0 && /* @__PURE__ */ a.jsx("meta", { name: "keywords", content: t.keywords.join(", ") }),
2875
+ t?.authors?.map((o) => /* @__PURE__ */ a.jsx("meta", { name: "author", content: o }, o)),
2876
+ t?.creator && /* @__PURE__ */ a.jsx("meta", { name: "creator", content: t.creator }),
2877
+ t?.publisher && /* @__PURE__ */ a.jsx("meta", { name: "publisher", content: t.publisher })
2878
+ ] }),
2879
+ e
2880
+ ] });
2881
+ }, pi = ({
2882
+ title: e = "An error occurred",
2883
+ message: t,
2884
+ category: n
2885
+ }) => /* @__PURE__ */ a.jsxs(Gt, { className: "h-full pt-(--padding-content-top)", children: [
2886
+ n && /* @__PURE__ */ a.jsx(on, { children: n }),
2887
+ e && /* @__PURE__ */ a.jsx(Yt, { level: 1, className: "flex gap-3.5 items-center", children: e }),
2888
+ /* @__PURE__ */ a.jsx("p", { children: t })
2889
+ ] }), mi = (e) => {
2890
+ switch (e) {
2891
+ case 400:
2892
+ return {
2893
+ title: "Bad Request",
2894
+ message: "The request could not be understood by the server due to malformed syntax."
2895
+ };
2896
+ case 403:
2897
+ return {
2898
+ title: "Forbidden",
2899
+ message: "You don't have permission to access this resource."
2900
+ };
2901
+ case 404:
2902
+ return {
2903
+ title: "Not Found",
2904
+ message: "The requested resource could not be found."
2905
+ };
2906
+ case 405:
2907
+ return {
2908
+ title: "Method Not Allowed",
2909
+ message: "The request method is not supported for the requested resource."
2910
+ };
2911
+ case 414:
2912
+ return {
2913
+ title: "Request URI Too Large",
2914
+ message: "The request URI is too large."
2915
+ };
2916
+ case 416:
2917
+ return {
2918
+ title: "Range Not Satisfiable",
2919
+ message: "The server cannot satisfy the request range."
2920
+ };
2921
+ case 500:
2922
+ return {
2923
+ title: "Internal Server Error",
2924
+ message: "An unexpected error occurred while processing your request."
2925
+ };
2926
+ case 501:
2927
+ return {
2928
+ title: "Not Implemented",
2929
+ message: "The server does not support the functionality required to fulfill the request."
2930
+ };
2931
+ case 502:
2932
+ return {
2933
+ title: "Bad Gateway",
2934
+ message: "The server received an invalid response from the upstream server."
2935
+ };
2936
+ case 503:
2937
+ return {
2938
+ title: "Service Unavailable",
2939
+ message: "The server is temporarily unable to handle the request."
2940
+ };
2941
+ case 504:
2942
+ return {
2943
+ title: "Gateway Timeout",
2944
+ message: "The server did not receive a timely response from the upstream server."
2945
+ };
2946
+ default:
2947
+ return {
2948
+ title: "An error occurred",
2949
+ message: "Something went wrong while processing your request."
2950
+ };
2951
+ }
2952
+ }, gi = ({ statusCode: e, message: t }) => {
2953
+ if (e === 404)
2954
+ return /* @__PURE__ */ a.jsx(sn, {});
2955
+ const n = mi(e);
2956
+ return /* @__PURE__ */ a.jsx(
2957
+ pi,
2958
+ {
2959
+ title: n.title,
2960
+ message: t ?? n.message,
2961
+ category: e
2962
+ }
2963
+ );
2964
+ };
2965
+ function vi({ error: e }) {
2966
+ return /* @__PURE__ */ a.jsx(Xt, { error: e });
2967
+ }
2968
+ const Ai = hi, Ni = an, Ci = vi, Ri = gn, Ui = vn, Fi = Mt, qi = qe, Mi = gi, Qi = Xs, Li = fi;
2969
+ export {
2970
+ Ri as Bootstrap,
2971
+ Ui as BootstrapStatic,
2972
+ Qi as BuildCheck,
2973
+ qi as Head,
2974
+ Ai as Layout,
2975
+ Li as Meta,
2976
+ Fi as RouteGuard,
2977
+ Ni as RouterError,
2978
+ Ci as ServerError,
2979
+ Mi as StatusPage
2980
+ };
2981
+ //# sourceMappingURL=zudoku.__internal.js.map