zudoku 0.0.0-f06d326 → 0.0.0-f0b4321

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 (1455) hide show
  1. package/README.md +2 -2
  2. package/cli.js +8 -2
  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 +21 -5
  7. package/dist/app/demo.js.map +1 -1
  8. package/dist/app/entry.client.d.ts +0 -2
  9. package/dist/app/entry.client.js +36 -2
  10. package/dist/app/entry.client.js.map +1 -1
  11. package/dist/app/entry.server.d.ts +5 -6
  12. package/dist/app/entry.server.js +2 -4
  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 +1 -0
  18. package/dist/app/main.js +33 -45
  19. package/dist/app/main.js.map +1 -1
  20. package/dist/app/standalone.js +7 -6
  21. package/dist/app/standalone.js.map +1 -1
  22. package/dist/cli/build/handler.js +11 -2
  23. package/dist/cli/build/handler.js.map +1 -1
  24. package/dist/cli/cli.js +12 -1
  25. package/dist/cli/cli.js.map +1 -1
  26. package/dist/cli/cmds/dev.js +1 -7
  27. package/dist/cli/cmds/dev.js.map +1 -1
  28. package/dist/cli/common/machine-id/lib.js +1 -0
  29. package/dist/cli/common/machine-id/lib.js.map +1 -1
  30. package/dist/cli/dev/handler.js +2 -1
  31. package/dist/cli/dev/handler.js.map +1 -1
  32. package/dist/config/config.d.ts +16 -3
  33. package/dist/config/file-exists.d.ts +1 -0
  34. package/dist/config/file-exists.js +5 -0
  35. package/dist/config/file-exists.js.map +1 -0
  36. package/dist/config/loader.d.ts +18 -17
  37. package/dist/config/loader.js +95 -103
  38. package/dist/config/loader.js.map +1 -1
  39. package/dist/config/validators/BuildSchema.d.ts +36 -0
  40. package/dist/config/validators/BuildSchema.js +25 -0
  41. package/dist/config/validators/BuildSchema.js.map +1 -0
  42. package/dist/config/validators/InputNavigationSchema.d.ts +7364 -0
  43. package/dist/config/validators/InputNavigationSchema.js +71 -0
  44. package/dist/config/validators/InputNavigationSchema.js.map +1 -0
  45. package/dist/config/validators/InputNavigationSchema.test-d.js +145 -0
  46. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -0
  47. package/dist/config/validators/NavigationSchema.d.ts +44 -0
  48. package/dist/config/validators/NavigationSchema.js +95 -0
  49. package/dist/config/validators/NavigationSchema.js.map +1 -0
  50. package/dist/config/validators/icon-types.d.ts +2 -1
  51. package/dist/config/validators/icon-types.js +1813 -1
  52. package/dist/config/validators/icon-types.js.map +1 -1
  53. package/dist/config/validators/validate.d.ts +595 -2497
  54. package/dist/config/validators/validate.js +434 -16
  55. package/dist/config/validators/validate.js.map +1 -1
  56. package/dist/config/validators/validate.test.js +141 -0
  57. package/dist/config/validators/validate.test.js.map +1 -0
  58. package/dist/index.d.ts +7 -4
  59. package/dist/index.js +3 -0
  60. package/dist/index.js.map +1 -1
  61. package/dist/lib/auth/issuer.d.ts +2 -0
  62. package/dist/lib/auth/issuer.js +37 -0
  63. package/dist/lib/auth/issuer.js.map +1 -0
  64. package/dist/lib/auth/issuer.test.js +94 -0
  65. package/dist/lib/auth/issuer.test.js.map +1 -0
  66. package/dist/lib/authentication/AuthenticationPlugin.d.ts +2 -2
  67. package/dist/lib/authentication/AuthenticationPlugin.js +1 -1
  68. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  69. package/dist/lib/authentication/authentication.d.ts +4 -4
  70. package/dist/lib/authentication/components/CallbackHandler.js +6 -2
  71. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  72. package/dist/lib/authentication/components/SignIn.d.ts +1 -1
  73. package/dist/lib/authentication/components/SignIn.js +5 -1
  74. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  75. package/dist/lib/authentication/components/SignUp.d.ts +1 -1
  76. package/dist/lib/authentication/components/SignUp.js +4 -1
  77. package/dist/lib/authentication/components/SignUp.js.map +1 -1
  78. package/dist/lib/authentication/hook.d.ts +6 -0
  79. package/dist/lib/authentication/providers/auth0.js +2 -2
  80. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  81. package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
  82. package/dist/lib/authentication/providers/azureb2c.js +145 -0
  83. package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
  84. package/dist/lib/authentication/providers/clerk.js +77 -59
  85. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  86. package/dist/lib/authentication/providers/openid.d.ts +16 -19
  87. package/dist/lib/authentication/providers/openid.js +71 -44
  88. package/dist/lib/authentication/providers/openid.js.map +1 -1
  89. package/dist/lib/authentication/providers/supabase.js +5 -14
  90. package/dist/lib/authentication/providers/supabase.js.map +1 -1
  91. package/dist/lib/authentication/state.d.ts +6 -5
  92. package/dist/lib/authentication/state.js +19 -6
  93. package/dist/lib/authentication/state.js.map +1 -1
  94. package/dist/lib/components/Autocomplete.js +3 -3
  95. package/dist/lib/components/Autocomplete.js.map +1 -1
  96. package/dist/lib/components/Banner.js +2 -2
  97. package/dist/lib/components/Banner.js.map +1 -1
  98. package/dist/lib/components/Bootstrap.d.ts +2 -1
  99. package/dist/lib/components/Bootstrap.js +3 -2
  100. package/dist/lib/components/Bootstrap.js.map +1 -1
  101. package/dist/lib/components/BuildCheck.d.ts +4 -0
  102. package/dist/lib/components/BuildCheck.js +38 -0
  103. package/dist/lib/components/BuildCheck.js.map +1 -0
  104. package/dist/lib/components/CategoryHeading.js +1 -1
  105. package/dist/lib/components/CategoryHeading.js.map +1 -1
  106. package/dist/lib/components/ErrorPage.js +2 -2
  107. package/dist/lib/components/ErrorPage.js.map +1 -1
  108. package/dist/lib/components/Footer.d.ts +1 -0
  109. package/dist/lib/components/Footer.js +32 -0
  110. package/dist/lib/components/Footer.js.map +1 -0
  111. package/dist/lib/components/Framed.d.ts +7 -0
  112. package/dist/lib/components/Framed.js +26 -0
  113. package/dist/lib/components/Framed.js.map +1 -0
  114. package/dist/lib/components/Header.js +24 -15
  115. package/dist/lib/components/Header.js.map +1 -1
  116. package/dist/lib/components/Heading.d.ts +8 -4
  117. package/dist/lib/components/Heading.js +7 -2
  118. package/dist/lib/components/Heading.js.map +1 -1
  119. package/dist/lib/components/InlineCode.js +1 -1
  120. package/dist/lib/components/InlineCode.js.map +1 -1
  121. package/dist/lib/components/Layout.js +4 -2
  122. package/dist/lib/components/Layout.js.map +1 -1
  123. package/dist/lib/components/Main.js +7 -6
  124. package/dist/lib/components/Main.js.map +1 -1
  125. package/dist/lib/components/Markdown.d.ts +3 -2
  126. package/dist/lib/components/Markdown.js +14 -16
  127. package/dist/lib/components/Markdown.js.map +1 -1
  128. package/dist/lib/components/MobileTopNavigation.js +13 -5
  129. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  130. package/dist/lib/components/NotFoundPage.js +2 -2
  131. package/dist/lib/components/NotFoundPage.js.map +1 -1
  132. package/dist/lib/components/PageProgress.d.ts +1 -0
  133. package/dist/lib/components/PageProgress.js +20 -0
  134. package/dist/lib/components/PageProgress.js.map +1 -0
  135. package/dist/lib/components/Pagination.d.ts +2 -1
  136. package/dist/lib/components/Pagination.js +3 -3
  137. package/dist/lib/components/Pagination.js.map +1 -1
  138. package/dist/lib/components/Search.js +7 -1
  139. package/dist/lib/components/Search.js.map +1 -1
  140. package/dist/lib/components/Slot.d.ts +17 -0
  141. package/dist/lib/components/Slot.js +24 -0
  142. package/dist/lib/components/Slot.js.map +1 -0
  143. package/dist/lib/components/Slot.test.js +168 -0
  144. package/dist/lib/components/Slot.test.js.map +1 -0
  145. package/dist/lib/components/StatusPage.js +4 -0
  146. package/dist/lib/components/StatusPage.js.map +1 -1
  147. package/dist/lib/components/TopNavigation.d.ts +7 -5
  148. package/dist/lib/components/TopNavigation.js +51 -54
  149. package/dist/lib/components/TopNavigation.js.map +1 -1
  150. package/dist/lib/components/Typography.d.ts +5 -0
  151. package/dist/lib/components/Typography.js +8 -0
  152. package/dist/lib/components/Typography.js.map +1 -0
  153. package/dist/lib/components/Zudoku.js +4 -3
  154. package/dist/lib/components/Zudoku.js.map +1 -1
  155. package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
  156. package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
  157. package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
  158. package/dist/lib/components/context/SlotProvider.d.ts +26 -0
  159. package/dist/lib/components/context/SlotProvider.js +83 -0
  160. package/dist/lib/components/context/SlotProvider.js.map +1 -0
  161. package/dist/lib/components/context/ViewportAnchorContext.js +8 -9
  162. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  163. package/dist/lib/components/context/ZudokuContext.d.ts +3 -7
  164. package/dist/lib/components/context/ZudokuContext.js +45 -28
  165. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  166. package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
  167. package/dist/lib/components/context/ZudokuProvider.js +2 -1
  168. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  169. package/dist/lib/components/index.d.ts +46 -24
  170. package/dist/lib/components/index.js +16 -6
  171. package/dist/lib/components/index.js.map +1 -1
  172. package/dist/lib/components/navigation/Navigation.d.ts +5 -0
  173. package/dist/lib/components/navigation/Navigation.js +12 -0
  174. package/dist/lib/components/navigation/Navigation.js.map +1 -0
  175. package/dist/lib/components/navigation/{SidebarBadge.d.ts → NavigationBadge.d.ts} +1 -1
  176. package/dist/lib/components/navigation/{SidebarBadge.js → NavigationBadge.js} +3 -3
  177. package/dist/lib/components/navigation/NavigationBadge.js.map +1 -0
  178. package/dist/lib/components/navigation/NavigationCategory.d.ts +5 -0
  179. package/dist/lib/components/navigation/{SidebarCategory.js → NavigationCategory.js} +22 -16
  180. package/dist/lib/components/navigation/NavigationCategory.js.map +1 -0
  181. package/dist/lib/components/navigation/NavigationItem.d.ts +6 -0
  182. package/dist/lib/components/navigation/NavigationItem.js +47 -0
  183. package/dist/lib/components/navigation/NavigationItem.js.map +1 -0
  184. package/dist/lib/components/navigation/NavigationWrapper.d.ts +7 -0
  185. package/dist/lib/components/navigation/NavigationWrapper.js +21 -0
  186. package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -0
  187. package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
  188. package/dist/lib/components/navigation/PoweredByZudoku.js +7 -0
  189. package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
  190. package/dist/lib/components/navigation/Toc.js +2 -2
  191. package/dist/lib/components/navigation/Toc.js.map +1 -1
  192. package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
  193. package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
  194. package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
  195. package/dist/lib/components/navigation/ZuploLogo.d.ts +3 -0
  196. package/dist/lib/components/navigation/ZuploLogo.js +4 -0
  197. package/dist/lib/components/navigation/ZuploLogo.js.map +1 -0
  198. package/dist/lib/components/navigation/utils.d.ts +12 -6
  199. package/dist/lib/components/navigation/utils.js +46 -18
  200. package/dist/lib/components/navigation/utils.js.map +1 -1
  201. package/dist/lib/core/RouteGuard.d.ts +1 -0
  202. package/dist/lib/core/RouteGuard.js +9 -3
  203. package/dist/lib/core/RouteGuard.js.map +1 -1
  204. package/dist/lib/core/ZudokuContext.d.ts +36 -20
  205. package/dist/lib/core/ZudokuContext.js +26 -14
  206. package/dist/lib/core/ZudokuContext.js.map +1 -1
  207. package/dist/lib/core/plugins.d.ts +7 -4
  208. package/dist/lib/core/plugins.js +1 -0
  209. package/dist/lib/core/plugins.js.map +1 -1
  210. package/dist/lib/errors/ErrorAlert.js +2 -3
  211. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  212. package/dist/lib/hooks/index.d.ts +25 -0
  213. package/dist/lib/hooks/index.js +11 -0
  214. package/dist/lib/hooks/index.js.map +1 -1
  215. package/dist/lib/hooks/useEvent.test.js +5 -3
  216. package/dist/lib/hooks/useEvent.test.js.map +1 -1
  217. package/dist/lib/hooks/useHotkey.d.ts +4 -0
  218. package/dist/lib/hooks/useHotkey.js +58 -0
  219. package/dist/lib/hooks/useHotkey.js.map +1 -0
  220. package/dist/lib/oas/graphql/circular.js +23 -18
  221. package/dist/lib/oas/graphql/circular.js.map +1 -1
  222. package/dist/lib/oas/parser/index.d.ts +3 -0
  223. package/dist/lib/oas/parser/index.js +7 -1
  224. package/dist/lib/oas/parser/index.js.map +1 -1
  225. package/dist/lib/oas/parser/upgrade/index.d.ts +1 -0
  226. package/dist/lib/oas/parser/upgrade/index.js +77 -25
  227. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  228. package/dist/lib/plugins/api-catalog/Catalog.d.ts +1 -1
  229. package/dist/lib/plugins/api-catalog/Catalog.js +1 -1
  230. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
  231. package/dist/lib/plugins/api-catalog/index.d.ts +6 -6
  232. package/dist/lib/plugins/api-catalog/index.js +25 -23
  233. package/dist/lib/plugins/api-catalog/index.js.map +1 -1
  234. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
  235. package/dist/lib/plugins/api-keys/CreateApiKey.js +8 -4
  236. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  237. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  238. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +150 -27
  239. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  240. package/dist/lib/plugins/api-keys/index.d.ts +20 -11
  241. package/dist/lib/plugins/api-keys/index.js +66 -32
  242. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  243. package/dist/lib/plugins/custom-pages/index.d.ts +4 -6
  244. package/dist/lib/plugins/custom-pages/index.js +15 -10
  245. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  246. package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -2
  247. package/dist/lib/plugins/markdown/MdxPage.js +30 -10
  248. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  249. package/dist/lib/plugins/markdown/index.d.ts +11 -3
  250. package/dist/lib/plugins/markdown/index.js +9 -26
  251. package/dist/lib/plugins/markdown/index.js.map +1 -1
  252. package/dist/lib/plugins/openapi/CollapsibleCode.js +1 -1
  253. package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -1
  254. package/dist/lib/plugins/openapi/ColorizedParam.js +1 -1
  255. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  256. package/dist/lib/plugins/openapi/OperationList.d.ts +1 -1
  257. package/dist/lib/plugins/openapi/OperationList.js +9 -7
  258. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  259. package/dist/lib/plugins/openapi/OperationListItem.js +5 -4
  260. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  261. package/dist/lib/plugins/openapi/ParamInfos.js +4 -1
  262. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
  263. package/dist/lib/plugins/openapi/ParameterListItem.js +9 -1
  264. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  265. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +1 -1
  266. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +5 -1
  267. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  268. package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +2 -4
  269. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -4
  270. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  271. package/dist/lib/plugins/openapi/SchemaList.js +7 -7
  272. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -1
  273. package/dist/lib/plugins/openapi/Sidecar.js +11 -61
  274. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  275. package/dist/lib/plugins/openapi/SidecarExamples.js +9 -1
  276. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
  277. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +5 -0
  278. package/dist/lib/plugins/openapi/client/useCreateQuery.js +10 -4
  279. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
  280. package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
  281. package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
  282. package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
  283. package/dist/lib/plugins/openapi/components/EnumValues.js +1 -1
  284. package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -1
  285. package/dist/lib/plugins/openapi/components/ResponseContent.d.ts +12 -0
  286. package/dist/lib/plugins/openapi/components/ResponseContent.js +21 -0
  287. package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
  288. package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
  289. package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
  290. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  291. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +3 -3
  292. package/dist/lib/plugins/openapi/graphql/graphql.js +2 -2
  293. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  294. package/dist/lib/plugins/openapi/index.d.ts +3 -4
  295. package/dist/lib/plugins/openapi/index.js +14 -12
  296. package/dist/lib/plugins/openapi/index.js.map +1 -1
  297. package/dist/lib/plugins/openapi/interfaces.d.ts +7 -6
  298. package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +5 -0
  299. package/dist/lib/plugins/openapi/playground/BodyPanel.js +26 -0
  300. package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -0
  301. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.d.ts +8 -0
  302. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +11 -0
  303. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -0
  304. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +2 -1
  305. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
  306. package/dist/lib/plugins/openapi/playground/Headers.d.ts +5 -4
  307. package/dist/lib/plugins/openapi/playground/Headers.js +54 -32
  308. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  309. package/dist/lib/plugins/openapi/playground/IdentityDialog.js +2 -1
  310. package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -1
  311. package/dist/lib/plugins/openapi/playground/IdentitySelector.js +1 -4
  312. package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -1
  313. package/dist/lib/plugins/openapi/playground/InlineInput.js +1 -1
  314. package/dist/lib/plugins/openapi/playground/InlineInput.js.map +1 -1
  315. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +2 -2
  316. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -1
  317. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -2
  318. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  319. package/dist/lib/plugins/openapi/playground/Playground.d.ts +3 -8
  320. package/dist/lib/plugins/openapi/playground/Playground.js +112 -92
  321. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  322. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
  323. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  324. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +3 -3
  325. package/dist/lib/plugins/openapi/playground/QueryParams.js +38 -23
  326. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  327. package/dist/lib/plugins/openapi/playground/Spinner.d.ts +2 -0
  328. package/dist/lib/plugins/openapi/playground/Spinner.js +63 -0
  329. package/dist/lib/plugins/openapi/playground/Spinner.js.map +1 -0
  330. package/dist/lib/plugins/openapi/playground/fileUtils.d.ts +2 -0
  331. package/dist/lib/plugins/openapi/playground/fileUtils.js +22 -0
  332. package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -0
  333. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.d.ts +3 -0
  334. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js +13 -0
  335. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js.map +1 -0
  336. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.d.ts +1 -0
  337. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +12 -0
  338. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -0
  339. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +12 -0
  340. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js +11 -0
  341. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js.map +1 -0
  342. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.d.ts +8 -0
  343. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +69 -0
  344. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -0
  345. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +10 -4
  346. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +33 -31
  347. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
  348. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +4 -2
  349. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +8 -10
  350. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
  351. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +16 -0
  352. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +10 -0
  353. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -0
  354. package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +8 -0
  355. package/dist/lib/plugins/openapi/{post-processors → processors}/removeExtensions.js +1 -1
  356. package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -0
  357. package/dist/lib/plugins/openapi/{post-processors → processors}/removeExtensions.test.js +26 -6
  358. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
  359. package/dist/lib/plugins/openapi/{post-processors → processors}/removeParameters.d.ts +3 -1
  360. package/dist/lib/plugins/openapi/{post-processors → processors}/removeParameters.js +1 -1
  361. package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -0
  362. package/dist/lib/plugins/openapi/processors/removeParameters.test.d.ts +1 -0
  363. package/dist/lib/plugins/openapi/{post-processors → processors}/removeParameters.test.js +53 -25
  364. package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
  365. package/dist/lib/plugins/openapi/{post-processors → processors}/removePaths.d.ts +3 -1
  366. package/dist/lib/plugins/openapi/{post-processors → processors}/removePaths.js +1 -1
  367. package/dist/lib/plugins/openapi/processors/removePaths.js.map +1 -0
  368. package/dist/lib/plugins/openapi/processors/removePaths.test.d.ts +1 -0
  369. package/dist/lib/plugins/openapi/processors/removePaths.test.js +144 -0
  370. package/dist/lib/plugins/openapi/processors/removePaths.test.js.map +1 -0
  371. package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -0
  372. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +1 -2
  373. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +2 -2
  374. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +1 -1
  375. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +2 -1
  376. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +2 -2
  377. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +1 -1
  378. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -1
  379. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +1 -1
  380. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +1 -1
  381. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
  382. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +15 -0
  383. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
  384. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +2 -4
  385. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +20 -15
  386. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  387. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +2 -2
  388. package/dist/lib/plugins/openapi/schema/SchemaView.js +37 -56
  389. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  390. package/dist/lib/plugins/openapi/schema/utils.d.ts +7 -1
  391. package/dist/lib/plugins/openapi/schema/utils.js +15 -5
  392. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  393. package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +11 -0
  394. package/dist/lib/plugins/openapi/util/createHttpSnippet.js +89 -0
  395. package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -0
  396. package/dist/lib/plugins/openapi/util/createNavigationCategory.d.ts +9 -0
  397. package/dist/lib/plugins/openapi/util/{createSidebarCategory.js → createNavigationCategory.js} +5 -4
  398. package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -0
  399. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -1
  400. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +44 -0
  401. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  402. package/dist/lib/plugins/openapi/util/getRoutes.js +52 -15
  403. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
  404. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +1 -1
  405. package/dist/lib/plugins/redirect/index.d.ts +1 -1
  406. package/dist/lib/plugins/search-inkeep/index.d.ts +5 -22
  407. package/dist/lib/plugins/search-inkeep/index.js +35 -29
  408. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  409. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +5 -21
  410. package/dist/lib/plugins/search-inkeep/inkeep.js +10 -19
  411. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  412. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +9 -4
  413. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
  414. package/dist/lib/plugins/search-pagefind/ResultList.js +12 -11
  415. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
  416. package/dist/lib/plugins/search-pagefind/index.d.ts +1 -3
  417. package/dist/lib/shiki.d.ts +31 -0
  418. package/dist/lib/shiki.js +101 -0
  419. package/dist/lib/shiki.js.map +1 -0
  420. package/dist/lib/ui/Alert.d.ts +6 -5
  421. package/dist/lib/ui/Alert.js +12 -10
  422. package/dist/lib/ui/Alert.js.map +1 -1
  423. package/dist/lib/ui/Badge.d.ts +2 -2
  424. package/dist/lib/ui/Badge.js +1 -1
  425. package/dist/lib/ui/Badge.js.map +1 -1
  426. package/dist/lib/ui/Button.d.ts +2 -2
  427. package/dist/lib/ui/Button.js +8 -6
  428. package/dist/lib/ui/Button.js.map +1 -1
  429. package/dist/lib/ui/Callout.js +1 -1
  430. package/dist/lib/ui/Callout.js.map +1 -1
  431. package/dist/lib/ui/Card.js +1 -1
  432. package/dist/lib/ui/Checkbox.js +1 -1
  433. package/dist/lib/ui/Checkbox.js.map +1 -1
  434. package/dist/lib/ui/CodeBlock.d.ts +15 -0
  435. package/dist/lib/ui/CodeBlock.js +17 -0
  436. package/dist/lib/ui/CodeBlock.js.map +1 -0
  437. package/dist/lib/ui/Command.d.ts +2 -2
  438. package/dist/lib/ui/Command.js +3 -3
  439. package/dist/lib/ui/Command.js.map +1 -1
  440. package/dist/lib/ui/Dialog.d.ts +3 -1
  441. package/dist/lib/ui/Dialog.js +2 -2
  442. package/dist/lib/ui/Dialog.js.map +1 -1
  443. package/dist/lib/ui/DropdownMenu.js +4 -4
  444. package/dist/lib/ui/DropdownMenu.js.map +1 -1
  445. package/dist/lib/ui/EmbeddedCodeBlock.d.ts +15 -0
  446. package/dist/lib/ui/EmbeddedCodeBlock.js +18 -0
  447. package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  448. package/dist/lib/ui/Form.d.ts +1 -1
  449. package/dist/lib/ui/HoverCard.js +1 -1
  450. package/dist/lib/ui/HoverCard.js.map +1 -1
  451. package/dist/lib/ui/Input.js +1 -1
  452. package/dist/lib/ui/Input.js.map +1 -1
  453. package/dist/lib/ui/Popover.js +1 -1
  454. package/dist/lib/ui/Popover.js.map +1 -1
  455. package/dist/lib/ui/RadioGroup.js +1 -1
  456. package/dist/lib/ui/RadioGroup.js.map +1 -1
  457. package/dist/lib/ui/Select.js +2 -2
  458. package/dist/lib/ui/Select.js.map +1 -1
  459. package/dist/lib/ui/Slider.js +1 -1
  460. package/dist/lib/ui/Slider.js.map +1 -1
  461. package/dist/lib/ui/Switch.js +1 -1
  462. package/dist/lib/ui/Switch.js.map +1 -1
  463. package/dist/lib/ui/SyntaxHighlight.d.ts +12 -15
  464. package/dist/lib/ui/SyntaxHighlight.js +13 -60
  465. package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
  466. package/dist/lib/ui/Tabs.js +2 -2
  467. package/dist/lib/ui/Tabs.js.map +1 -1
  468. package/dist/lib/ui/Textarea.js +1 -1
  469. package/dist/lib/ui/Textarea.js.map +1 -1
  470. package/dist/lib/ui/Toggle.js +1 -1
  471. package/dist/lib/ui/Toggle.js.map +1 -1
  472. package/dist/lib/ui/Tooltip.d.ts +2 -1
  473. package/dist/lib/ui/Tooltip.js +2 -1
  474. package/dist/lib/ui/Tooltip.js.map +1 -1
  475. package/dist/lib/util/MdxComponents.d.ts +18 -3
  476. package/dist/lib/util/MdxComponents.js +15 -12
  477. package/dist/lib/util/MdxComponents.js.map +1 -1
  478. package/dist/lib/util/detectOS.d.ts +1 -0
  479. package/dist/lib/util/detectOS.js +11 -0
  480. package/dist/lib/util/detectOS.js.map +1 -0
  481. package/dist/lib/util/ensureArray.d.ts +1 -0
  482. package/dist/lib/util/ensureArray.js +2 -0
  483. package/dist/lib/util/ensureArray.js.map +1 -0
  484. package/dist/lib/util/humanFileSize.d.ts +6 -0
  485. package/dist/lib/util/humanFileSize.js +14 -0
  486. package/dist/lib/util/humanFileSize.js.map +1 -0
  487. package/dist/lib/util/humanFileSize.test.d.ts +1 -0
  488. package/dist/lib/util/humanFileSize.test.js +22 -0
  489. package/dist/lib/util/humanFileSize.test.js.map +1 -0
  490. package/dist/lib/util/os.d.ts +2 -0
  491. package/dist/lib/util/os.js +21 -0
  492. package/dist/lib/util/os.js.map +1 -0
  493. package/dist/lib/util/traverse.d.ts +1 -1
  494. package/dist/lib/util/traverse.js +6 -5
  495. package/dist/lib/util/traverse.js.map +1 -1
  496. package/dist/lib/util/url.d.ts +4 -0
  497. package/dist/lib/util/url.js +13 -0
  498. package/dist/lib/util/url.js.map +1 -0
  499. package/dist/lib/util/url.test.d.ts +1 -0
  500. package/dist/lib/util/url.test.js +26 -0
  501. package/dist/lib/util/url.test.js.map +1 -0
  502. package/dist/lib/util/useCopyToClipboard.d.ts +1 -0
  503. package/dist/lib/util/useCopyToClipboard.js +11 -0
  504. package/dist/lib/util/useCopyToClipboard.js.map +1 -0
  505. package/dist/lib/util/useExposedProps.d.ts +8 -1
  506. package/dist/lib/util/useExposedProps.js.map +1 -1
  507. package/dist/lib/util/useScrollToAnchor.js +3 -3
  508. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  509. package/dist/vite/api/SchemaManager.d.ts +36 -0
  510. package/dist/vite/api/SchemaManager.js +141 -0
  511. package/dist/vite/api/SchemaManager.js.map +1 -0
  512. package/dist/vite/api/SchemaManager.test.d.ts +1 -0
  513. package/dist/vite/api/SchemaManager.test.js +106 -0
  514. package/dist/vite/api/SchemaManager.test.js.map +1 -0
  515. package/dist/vite/api/schema-codegen.js +52 -17
  516. package/dist/vite/api/schema-codegen.js.map +1 -1
  517. package/dist/vite/api/schema-codegen.test.js +82 -0
  518. package/dist/vite/api/schema-codegen.test.js.map +1 -1
  519. package/dist/vite/build.js +22 -15
  520. package/dist/vite/build.js.map +1 -1
  521. package/dist/vite/config.d.ts +2 -9
  522. package/dist/vite/config.js +55 -96
  523. package/dist/vite/config.js.map +1 -1
  524. package/dist/vite/config.test.js +1 -1
  525. package/dist/vite/config.test.js.map +1 -1
  526. package/dist/vite/css/plugin.d.ts +1 -2
  527. package/dist/vite/css/plugin.js +14 -2
  528. package/dist/vite/css/plugin.js.map +1 -1
  529. package/dist/vite/dev-server.d.ts +0 -1
  530. package/dist/vite/dev-server.js +14 -13
  531. package/dist/vite/dev-server.js.map +1 -1
  532. package/dist/vite/html.d.ts +7 -3
  533. package/dist/vite/html.js +15 -9
  534. package/dist/vite/html.js.map +1 -1
  535. package/dist/vite/mdx/remark-last-modified.d.ts +3 -0
  536. package/dist/vite/mdx/remark-last-modified.js +29 -0
  537. package/dist/vite/mdx/remark-last-modified.js.map +1 -0
  538. package/dist/vite/mdx/utils.d.ts +2 -0
  539. package/dist/vite/mdx/utils.js +31 -0
  540. package/dist/vite/mdx/utils.js.map +1 -0
  541. package/dist/vite/plugin-api-keys.d.ts +1 -2
  542. package/dist/vite/plugin-api-keys.js +9 -3
  543. package/dist/vite/plugin-api-keys.js.map +1 -1
  544. package/dist/vite/plugin-api.d.ts +1 -2
  545. package/dist/vite/plugin-api.js +58 -111
  546. package/dist/vite/plugin-api.js.map +1 -1
  547. package/dist/vite/plugin-auth.d.ts +1 -2
  548. package/dist/vite/plugin-auth.js +3 -2
  549. package/dist/vite/plugin-auth.js.map +1 -1
  550. package/dist/vite/plugin-component.d.ts +1 -2
  551. package/dist/vite/plugin-component.js +3 -2
  552. package/dist/vite/plugin-component.js.map +1 -1
  553. package/dist/vite/plugin-config-reload.d.ts +1 -2
  554. package/dist/vite/plugin-config-reload.js +25 -23
  555. package/dist/vite/plugin-config-reload.js.map +1 -1
  556. package/dist/vite/plugin-config.d.ts +1 -2
  557. package/dist/vite/plugin-config.js +4 -3
  558. package/dist/vite/plugin-config.js.map +1 -1
  559. package/dist/vite/plugin-custom-pages.d.ts +1 -2
  560. package/dist/vite/plugin-custom-pages.js +5 -4
  561. package/dist/vite/plugin-custom-pages.js.map +1 -1
  562. package/dist/vite/plugin-docs.d.ts +1 -2
  563. package/dist/vite/plugin-docs.js +64 -61
  564. package/dist/vite/plugin-docs.js.map +1 -1
  565. package/dist/vite/plugin-frontmatter.d.ts +1 -2
  566. package/dist/vite/plugin-frontmatter.js +9 -4
  567. package/dist/vite/plugin-frontmatter.js.map +1 -1
  568. package/dist/vite/plugin-mdx.d.ts +1 -2
  569. package/dist/vite/plugin-mdx.js +24 -51
  570. package/dist/vite/plugin-mdx.js.map +1 -1
  571. package/dist/vite/plugin-navigation.d.ts +4 -0
  572. package/dist/vite/{plugin-sidebar.js → plugin-navigation.js} +26 -18
  573. package/dist/vite/plugin-navigation.js.map +1 -0
  574. package/dist/vite/plugin-redirect.d.ts +1 -2
  575. package/dist/vite/plugin-redirect.js +3 -2
  576. package/dist/vite/plugin-redirect.js.map +1 -1
  577. package/dist/vite/plugin-search.d.ts +1 -2
  578. package/dist/vite/plugin-search.js +4 -3
  579. package/dist/vite/plugin-search.js.map +1 -1
  580. package/dist/vite/plugin-shiki-register.d.ts +2 -0
  581. package/dist/vite/plugin-shiki-register.js +39 -0
  582. package/dist/vite/plugin-shiki-register.js.map +1 -0
  583. package/dist/vite/plugin-theme.d.ts +8 -0
  584. package/dist/vite/plugin-theme.js +234 -0
  585. package/dist/vite/plugin-theme.js.map +1 -0
  586. package/dist/vite/plugin-theme.test.d.ts +1 -0
  587. package/dist/vite/plugin-theme.test.js +312 -0
  588. package/dist/vite/plugin-theme.test.js.map +1 -0
  589. package/dist/vite/plugin.d.ts +1 -2
  590. package/dist/vite/plugin.js +23 -22
  591. package/dist/vite/plugin.js.map +1 -1
  592. package/dist/vite/prerender/FileWritingResponse.d.ts +9 -5
  593. package/dist/vite/prerender/FileWritingResponse.js +5 -5
  594. package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
  595. package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
  596. package/dist/vite/prerender/InMemoryResponse.js +32 -0
  597. package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
  598. package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
  599. package/dist/vite/prerender/PrerenderResponse.js +2 -0
  600. package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
  601. package/dist/vite/prerender/prerender.d.ts +1 -0
  602. package/dist/vite/prerender/prerender.js +24 -5
  603. package/dist/vite/prerender/prerender.js.map +1 -1
  604. package/dist/vite/prerender/worker.js +36 -8
  605. package/dist/vite/prerender/worker.js.map +1 -1
  606. package/dist/vite/shadcn-registry.d.ts +45 -0
  607. package/dist/vite/shadcn-registry.js +29 -0
  608. package/dist/vite/shadcn-registry.js.map +1 -0
  609. package/dist/vite/sitemap.d.ts +1 -1
  610. package/dist/zuplo/enrich-with-zuplo.d.ts +3 -3
  611. package/dist/zuplo/enrich-with-zuplo.js +18 -17
  612. package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
  613. package/dist/zuplo/with-zuplo-processors.d.ts +2 -2
  614. package/dist/zuplo/with-zuplo-processors.js +7 -7
  615. package/dist/zuplo/with-zuplo-processors.js.map +1 -1
  616. package/dist/zuplo/with-zuplo.d.ts +5 -2
  617. package/dist/zuplo/with-zuplo.js +6 -5
  618. package/dist/zuplo/with-zuplo.js.map +1 -1
  619. package/lib/Alert-Cig_8hW6.js +161 -0
  620. package/lib/Alert-Cig_8hW6.js.map +1 -0
  621. package/lib/Button-B3o-2Xdf.js +51 -0
  622. package/lib/Button-B3o-2Xdf.js.map +1 -0
  623. package/lib/Card-CMDQUPM4.js +61 -0
  624. package/lib/Card-CMDQUPM4.js.map +1 -0
  625. package/lib/CodeBlock-BaBgX9Wy.js +85 -0
  626. package/lib/CodeBlock-BaBgX9Wy.js.map +1 -0
  627. package/lib/Command-C9AC5cf-.js +140 -0
  628. package/lib/Command-C9AC5cf-.js.map +1 -0
  629. package/lib/{Dialog-Dv6WG8RN.js → Dialog-DMWw1doX.js} +27 -26
  630. package/lib/Dialog-DMWw1doX.js.map +1 -0
  631. package/lib/{Drawer-kDAfOq_2.js → Drawer-DXGPOKPx.js} +26 -26
  632. package/lib/Drawer-DXGPOKPx.js.map +1 -0
  633. package/lib/MdxPage-D8Med7IR.js +110 -0
  634. package/lib/MdxPage-D8Med7IR.js.map +1 -0
  635. package/lib/OasProvider-YexVRErA.js +35 -0
  636. package/lib/OasProvider-YexVRErA.js.map +1 -0
  637. package/lib/{OperationList-CHuBrSD5.js → OperationList-CL_tp7DC.js} +2224 -2118
  638. package/lib/OperationList-CL_tp7DC.js.map +1 -0
  639. package/lib/Pagination-Bcjbdo_g.js +37 -0
  640. package/lib/Pagination-Bcjbdo_g.js.map +1 -0
  641. package/lib/RouteGuard-Vnlz_t51.js +737 -0
  642. package/lib/RouteGuard-Vnlz_t51.js.map +1 -0
  643. package/lib/SchemaList-BNDTWO1B.js +149 -0
  644. package/lib/SchemaList-BNDTWO1B.js.map +1 -0
  645. package/lib/SchemaView-DdKqED8D.js +366 -0
  646. package/lib/SchemaView-DdKqED8D.js.map +1 -0
  647. package/lib/SignUp-BkAQMKsK.js +56 -0
  648. package/lib/SignUp-BkAQMKsK.js.map +1 -0
  649. package/lib/{Markdown-D-vLL3rw.js → Slot-CrCBhP3G.js} +14304 -15521
  650. package/lib/Slot-CrCBhP3G.js.map +1 -0
  651. package/lib/{Spinner-CE68iCm0.js → Spinner-mNLZ6awP.js} +2 -2
  652. package/lib/{Spinner-CE68iCm0.js.map → Spinner-mNLZ6awP.js.map} +1 -1
  653. package/lib/SyntaxHighlight-CVe58ZSY.js +10306 -0
  654. package/lib/SyntaxHighlight-CVe58ZSY.js.map +1 -0
  655. package/lib/{Toc-COKWpWOX.js → Toc-CpsFSXeD.js} +20 -20
  656. package/lib/Toc-CpsFSXeD.js.map +1 -0
  657. package/lib/chunk-DQRVZFIR-DHK7_Ilc.js +1839 -0
  658. package/lib/chunk-DQRVZFIR-DHK7_Ilc.js.map +1 -0
  659. package/lib/{circular-ByJI6Mci.js → circular-BJUzZQ5q.js} +4799 -5742
  660. package/lib/circular-BJUzZQ5q.js.map +1 -0
  661. package/lib/clerk-BDZ31hjU.js +25190 -0
  662. package/lib/clerk-BDZ31hjU.js.map +1 -0
  663. package/lib/clsx-OuTLNxxd.js +17 -0
  664. package/lib/clsx-OuTLNxxd.js.map +1 -0
  665. package/lib/{cn-qaFjX9_3.js → cn-dYga0KKN.js} +1015 -563
  666. package/lib/cn-dYga0KKN.js.map +1 -0
  667. package/lib/{createServer-mMau3eV_.js → createServer-C8-YhyiB.js} +6282 -6205
  668. package/lib/createServer-C8-YhyiB.js.map +1 -0
  669. package/lib/errors-CKo4K1aM.js +78 -0
  670. package/lib/errors-CKo4K1aM.js.map +1 -0
  671. package/lib/hook-CZjW2buS.js +1510 -0
  672. package/lib/hook-CZjW2buS.js.map +1 -0
  673. package/lib/{index-LNp6rxyU.js → index-4XtG1tlD.js} +3 -3
  674. package/lib/{index-LNp6rxyU.js.map → index-4XtG1tlD.js.map} +1 -1
  675. package/lib/index-B3xhxwZH.js +3469 -0
  676. package/lib/index-B3xhxwZH.js.map +1 -0
  677. package/lib/index-B4yKFxne.js +3980 -0
  678. package/lib/index-B4yKFxne.js.map +1 -0
  679. package/lib/index-Bm35Tkgf.js +107 -0
  680. package/lib/index-Bm35Tkgf.js.map +1 -0
  681. package/lib/index-CrcNWbel.js +316 -0
  682. package/lib/index-CrcNWbel.js.map +1 -0
  683. package/lib/{index-CPNSgwSb.js → index-DI5SPFK9.js} +5 -5
  684. package/lib/{index-CPNSgwSb.js.map → index-DI5SPFK9.js.map} +1 -1
  685. package/lib/{index-Dl3Yl0yb.js → index-DmNq2fbN.js} +785 -795
  686. package/lib/index-DmNq2fbN.js.map +1 -0
  687. package/lib/index.esm-Cp4wkyud.js +1236 -0
  688. package/lib/index.esm-Cp4wkyud.js.map +1 -0
  689. package/lib/invariant-DAFpPywt.js +48 -0
  690. package/lib/{invariant-Caa8-XvF.js.map → invariant-DAFpPywt.js.map} +1 -1
  691. package/lib/jsx-runtime-C5mzlN2N.js +285 -0
  692. package/lib/jsx-runtime-C5mzlN2N.js.map +1 -0
  693. package/lib/{post-processors → processors}/removeExtensions.js +1 -1
  694. package/lib/processors/removeExtensions.js.map +1 -0
  695. package/lib/processors/removeParameters.js +47 -0
  696. package/lib/processors/removeParameters.js.map +1 -0
  697. package/lib/processors/removePaths.js +28 -0
  698. package/lib/processors/removePaths.js.map +1 -0
  699. package/lib/processors/traverse.js +17 -0
  700. package/lib/processors/traverse.js.map +1 -0
  701. package/lib/ui/Accordion.js +2 -2
  702. package/lib/ui/ActionButton.js +4 -4
  703. package/lib/ui/Alert.js +55 -39
  704. package/lib/ui/Alert.js.map +1 -1
  705. package/lib/ui/AlertDialog.js +2 -2
  706. package/lib/ui/Badge.js +4 -4
  707. package/lib/ui/Badge.js.map +1 -1
  708. package/lib/ui/Breadcrumb.js +2 -2
  709. package/lib/ui/Button.js +20 -18
  710. package/lib/ui/Button.js.map +1 -1
  711. package/lib/ui/Callout.js +14 -12
  712. package/lib/ui/Callout.js.map +1 -1
  713. package/lib/ui/Card.js +9 -9
  714. package/lib/ui/Card.js.map +1 -1
  715. package/lib/ui/Carousel.js +348 -348
  716. package/lib/ui/Carousel.js.map +1 -1
  717. package/lib/ui/Checkbox.js +8 -8
  718. package/lib/ui/Checkbox.js.map +1 -1
  719. package/lib/ui/CodeBlock.js +9 -0
  720. package/lib/ui/CodeBlock.js.map +1 -0
  721. package/lib/ui/Command.js +58 -58
  722. package/lib/ui/Command.js.map +1 -1
  723. package/lib/ui/Dialog.js +41 -41
  724. package/lib/ui/Dialog.js.map +1 -1
  725. package/lib/ui/Drawer.js +3 -3
  726. package/lib/ui/DropdownMenu.js +35 -35
  727. package/lib/ui/DropdownMenu.js.map +1 -1
  728. package/lib/ui/EmbeddedCodeBlock.js +80 -0
  729. package/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  730. package/lib/ui/Form.js +3 -3
  731. package/lib/ui/HoverCard.js +6 -6
  732. package/lib/ui/HoverCard.js.map +1 -1
  733. package/lib/ui/Input.js +3 -3
  734. package/lib/ui/Input.js.map +1 -1
  735. package/lib/ui/Label.js +3 -3
  736. package/lib/ui/Pagination.js +2 -2
  737. package/lib/ui/Popover.js +3 -3
  738. package/lib/ui/Popover.js.map +1 -1
  739. package/lib/ui/Progress.js +2 -2
  740. package/lib/ui/RadioGroup.js +11 -11
  741. package/lib/ui/RadioGroup.js.map +1 -1
  742. package/lib/ui/ScrollArea.js +2 -2
  743. package/lib/ui/Select.js +32 -32
  744. package/lib/ui/Select.js.map +1 -1
  745. package/lib/ui/Skeleton.js +2 -2
  746. package/lib/ui/Slider.js +6 -6
  747. package/lib/ui/Slider.js.map +1 -1
  748. package/lib/ui/Stepper.js +1 -1
  749. package/lib/ui/Switch.js +6 -6
  750. package/lib/ui/Switch.js.map +1 -1
  751. package/lib/ui/SyntaxHighlight.js +6 -6
  752. package/lib/ui/Tabs.js +17 -17
  753. package/lib/ui/Tabs.js.map +1 -1
  754. package/lib/ui/Textarea.js +6 -6
  755. package/lib/ui/Textarea.js.map +1 -1
  756. package/lib/ui/Toggle.js +8 -8
  757. package/lib/ui/Toggle.js.map +1 -1
  758. package/lib/ui/ToggleGroup.js +2 -2
  759. package/lib/ui/Tooltip.js +15 -8
  760. package/lib/ui/Tooltip.js.map +1 -1
  761. package/lib/ui/util.js +1 -1
  762. package/lib/{useExposedProps-B9qXJedG.js → useExposedProps-BIYjecPD.js} +2 -2
  763. package/lib/useExposedProps-BIYjecPD.js.map +1 -0
  764. package/lib/zudoku.auth-auth0.js +29 -32
  765. package/lib/zudoku.auth-auth0.js.map +1 -1
  766. package/lib/zudoku.auth-azureb2c.js +9971 -0
  767. package/lib/zudoku.auth-azureb2c.js.map +1 -0
  768. package/lib/zudoku.auth-clerk.js +98 -96
  769. package/lib/zudoku.auth-clerk.js.map +1 -1
  770. package/lib/zudoku.auth-openid.js +556 -552
  771. package/lib/zudoku.auth-openid.js.map +1 -1
  772. package/lib/zudoku.components.js +27 -25
  773. package/lib/zudoku.hooks.js +21 -13
  774. package/lib/zudoku.hooks.js.map +1 -1
  775. package/lib/zudoku.icons.js +1 -1
  776. package/lib/zudoku.plugin-api-catalog.js +99 -101
  777. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  778. package/lib/zudoku.plugin-api-keys.js +556 -207
  779. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  780. package/lib/zudoku.plugin-custom-pages.js +12 -18
  781. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  782. package/lib/zudoku.plugin-markdown.js +20 -73
  783. package/lib/zudoku.plugin-markdown.js.map +1 -1
  784. package/lib/zudoku.plugin-openapi.js +7 -6
  785. package/lib/zudoku.plugin-redirect.js +1 -1
  786. package/lib/zudoku.plugin-redirect.js.map +1 -1
  787. package/lib/zudoku.plugin-search-inkeep.js +55 -59
  788. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  789. package/lib/zudoku.plugin-search-pagefind.js +207 -121
  790. package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
  791. package/lib/zudoku.plugins.js +7 -6
  792. package/lib/zudoku.plugins.js.map +1 -1
  793. package/package.json +128 -97
  794. package/src/app/ZuploBuildConfig.ts +33 -0
  795. package/src/app/defaultTheme.css +73 -0
  796. package/src/app/demo.html +1 -1
  797. package/src/app/demo.tsx +24 -6
  798. package/src/app/entry.client.tsx +43 -2
  799. package/src/app/entry.server.tsx +6 -5
  800. package/src/app/env.ts +43 -0
  801. package/src/app/font.geist.css +73 -0
  802. package/src/app/main.css +118 -147
  803. package/src/app/main.tsx +44 -51
  804. package/src/app/standalone.tsx +7 -6
  805. package/src/lib/auth/issuer.test.ts +120 -0
  806. package/src/lib/auth/issuer.ts +41 -0
  807. package/src/lib/authentication/AuthenticationPlugin.tsx +4 -4
  808. package/src/lib/authentication/authentication.ts +4 -7
  809. package/src/lib/authentication/components/CallbackHandler.tsx +12 -2
  810. package/src/lib/authentication/components/SignIn.tsx +27 -1
  811. package/src/lib/authentication/components/SignUp.tsx +35 -1
  812. package/src/lib/authentication/providers/auth0.tsx +10 -4
  813. package/src/lib/authentication/providers/azureb2c.tsx +196 -0
  814. package/src/lib/authentication/providers/clerk.tsx +88 -69
  815. package/src/lib/authentication/providers/openid.tsx +111 -53
  816. package/src/lib/authentication/providers/supabase.tsx +9 -16
  817. package/src/lib/authentication/state.ts +37 -7
  818. package/src/lib/components/Autocomplete.tsx +3 -2
  819. package/src/lib/components/Banner.tsx +3 -4
  820. package/src/lib/components/Bootstrap.tsx +13 -6
  821. package/src/lib/components/BuildCheck.tsx +75 -0
  822. package/src/lib/components/CategoryHeading.tsx +4 -1
  823. package/src/lib/components/ErrorPage.tsx +3 -3
  824. package/src/lib/components/Footer.tsx +136 -0
  825. package/src/lib/components/Framed.tsx +51 -0
  826. package/src/lib/components/Header.tsx +43 -40
  827. package/src/lib/components/Heading.tsx +18 -10
  828. package/src/lib/components/InlineCode.tsx +1 -1
  829. package/src/lib/components/Layout.tsx +13 -7
  830. package/src/lib/components/Main.tsx +17 -15
  831. package/src/lib/components/Markdown.tsx +40 -27
  832. package/src/lib/components/MobileTopNavigation.tsx +86 -22
  833. package/src/lib/components/NotFoundPage.tsx +3 -3
  834. package/src/lib/components/PageProgress.tsx +28 -0
  835. package/src/lib/components/Pagination.tsx +10 -12
  836. package/src/lib/components/Search.tsx +15 -4
  837. package/src/lib/components/Slot.test.tsx +465 -0
  838. package/src/lib/components/Slot.tsx +64 -0
  839. package/src/lib/components/StatusPage.tsx +5 -0
  840. package/src/lib/components/TopNavigation.tsx +79 -84
  841. package/src/lib/components/Typography.tsx +14 -0
  842. package/src/lib/components/Zudoku.tsx +12 -12
  843. package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
  844. package/src/lib/components/context/SlotProvider.tsx +149 -0
  845. package/src/lib/components/context/ViewportAnchorContext.tsx +8 -15
  846. package/src/lib/components/context/ZudokuContext.ts +51 -34
  847. package/src/lib/components/context/ZudokuProvider.tsx +3 -2
  848. package/src/lib/components/index.ts +17 -9
  849. package/src/lib/components/navigation/Navigation.tsx +50 -0
  850. package/src/lib/components/navigation/{SidebarBadge.tsx → NavigationBadge.tsx} +2 -2
  851. package/src/lib/components/navigation/{SidebarCategory.tsx → NavigationCategory.tsx} +25 -19
  852. package/src/lib/components/navigation/NavigationItem.tsx +151 -0
  853. package/src/lib/components/navigation/NavigationWrapper.tsx +49 -0
  854. package/src/lib/components/navigation/PoweredByZudoku.tsx +33 -0
  855. package/src/lib/components/navigation/Toc.tsx +5 -5
  856. package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
  857. package/src/lib/components/navigation/ZuploLogo.tsx +14 -0
  858. package/src/lib/components/navigation/utils.ts +63 -28
  859. package/src/lib/core/RouteGuard.tsx +26 -4
  860. package/src/lib/core/ZudokuContext.ts +67 -27
  861. package/src/lib/core/plugins.ts +12 -4
  862. package/src/lib/errors/ErrorAlert.tsx +4 -10
  863. package/src/lib/hooks/index.ts +11 -0
  864. package/src/lib/hooks/useEvent.test.tsx +7 -5
  865. package/src/lib/hooks/useHotkey.ts +70 -0
  866. package/src/lib/oas/graphql/circular.ts +27 -19
  867. package/src/lib/oas/parser/index.ts +7 -1
  868. package/src/lib/oas/parser/upgrade/index.ts +98 -28
  869. package/src/lib/plugins/api-catalog/Catalog.tsx +2 -5
  870. package/src/lib/plugins/api-catalog/index.tsx +54 -49
  871. package/src/lib/plugins/api-keys/CreateApiKey.tsx +54 -42
  872. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +463 -115
  873. package/src/lib/plugins/api-keys/index.tsx +131 -58
  874. package/src/lib/plugins/custom-pages/index.tsx +21 -16
  875. package/src/lib/plugins/markdown/MdxPage.tsx +77 -21
  876. package/src/lib/plugins/markdown/index.tsx +29 -42
  877. package/src/lib/plugins/openapi/CollapsibleCode.tsx +8 -5
  878. package/src/lib/plugins/openapi/ColorizedParam.tsx +3 -3
  879. package/src/lib/plugins/openapi/OperationList.tsx +41 -38
  880. package/src/lib/plugins/openapi/OperationListItem.tsx +33 -47
  881. package/src/lib/plugins/openapi/ParamInfos.tsx +4 -1
  882. package/src/lib/plugins/openapi/ParameterListItem.tsx +38 -0
  883. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +8 -2
  884. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +5 -16
  885. package/src/lib/plugins/openapi/SchemaList.tsx +26 -20
  886. package/src/lib/plugins/openapi/Sidecar.tsx +14 -66
  887. package/src/lib/plugins/openapi/SidecarExamples.tsx +9 -2
  888. package/src/lib/plugins/openapi/client/useCreateQuery.ts +23 -4
  889. package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
  890. package/src/lib/plugins/openapi/components/EnumValues.tsx +1 -1
  891. package/src/lib/plugins/openapi/components/ResponseContent.tsx +104 -0
  892. package/src/lib/plugins/openapi/graphql/gql.ts +5 -5
  893. package/src/lib/plugins/openapi/graphql/graphql.ts +6 -6
  894. package/src/lib/plugins/openapi/index.tsx +16 -15
  895. package/src/lib/plugins/openapi/interfaces.ts +7 -6
  896. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +55 -0
  897. package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +47 -0
  898. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +8 -1
  899. package/src/lib/plugins/openapi/playground/Headers.tsx +217 -115
  900. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +3 -2
  901. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +19 -35
  902. package/src/lib/plugins/openapi/playground/InlineInput.tsx +1 -1
  903. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +2 -2
  904. package/src/lib/plugins/openapi/playground/PathParams.tsx +4 -5
  905. package/src/lib/plugins/openapi/playground/Playground.tsx +260 -289
  906. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +3 -2
  907. package/src/lib/plugins/openapi/playground/QueryParams.tsx +105 -59
  908. package/src/lib/plugins/openapi/playground/Spinner.tsx +87 -0
  909. package/src/lib/plugins/openapi/playground/fileUtils.ts +32 -0
  910. package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +31 -0
  911. package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +25 -0
  912. package/src/lib/plugins/openapi/playground/result-panel/Highlight.tsx +26 -0
  913. package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +115 -0
  914. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +149 -108
  915. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +68 -89
  916. package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +20 -0
  917. package/src/lib/plugins/openapi/{post-processors → processors}/removeExtensions.test.ts +29 -9
  918. package/src/lib/plugins/openapi/{post-processors → processors}/removeExtensions.ts +5 -3
  919. package/src/lib/plugins/openapi/{post-processors → processors}/removeParameters.test.ts +67 -33
  920. package/src/lib/plugins/openapi/{post-processors → processors}/removeParameters.ts +5 -3
  921. package/src/lib/plugins/openapi/processors/removePaths.test.ts +167 -0
  922. package/src/lib/plugins/openapi/{post-processors → processors}/removePaths.ts +5 -3
  923. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +1 -8
  924. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +3 -0
  925. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +6 -3
  926. package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +39 -0
  927. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +47 -37
  928. package/src/lib/plugins/openapi/schema/SchemaView.tsx +90 -147
  929. package/src/lib/plugins/openapi/schema/utils.ts +30 -6
  930. package/src/lib/plugins/openapi/util/createHttpSnippet.ts +107 -0
  931. package/src/lib/plugins/openapi/util/{createSidebarCategory.tsx → createNavigationCategory.tsx} +6 -5
  932. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +51 -1
  933. package/src/lib/plugins/openapi/util/getRoutes.tsx +87 -15
  934. package/src/lib/plugins/openapi/util/methodColorMap.tsx +1 -1
  935. package/src/lib/plugins/redirect/index.tsx +1 -1
  936. package/src/lib/plugins/search-inkeep/index.tsx +54 -58
  937. package/src/lib/plugins/search-inkeep/inkeep.ts +19 -21
  938. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +12 -4
  939. package/src/lib/plugins/search-pagefind/ResultList.tsx +13 -15
  940. package/src/lib/plugins/search-pagefind/index.tsx +1 -1
  941. package/src/lib/shiki.ts +132 -0
  942. package/src/lib/ui/Alert.tsx +45 -39
  943. package/src/lib/ui/Badge.tsx +2 -2
  944. package/src/lib/ui/Button.tsx +9 -6
  945. package/src/lib/ui/Callout.tsx +3 -1
  946. package/src/lib/ui/Card.tsx +1 -1
  947. package/src/lib/ui/Checkbox.tsx +1 -1
  948. package/src/lib/ui/CodeBlock.tsx +88 -0
  949. package/src/lib/ui/Command.tsx +5 -5
  950. package/src/lib/ui/Dialog.tsx +11 -7
  951. package/src/lib/ui/DropdownMenu.tsx +4 -4
  952. package/src/lib/ui/EmbeddedCodeBlock.tsx +94 -0
  953. package/src/lib/ui/HoverCard.tsx +1 -1
  954. package/src/lib/ui/Input.tsx +1 -1
  955. package/src/lib/ui/Popover.tsx +1 -1
  956. package/src/lib/ui/RadioGroup.tsx +1 -1
  957. package/src/lib/ui/Select.tsx +3 -3
  958. package/src/lib/ui/Slider.tsx +1 -1
  959. package/src/lib/ui/Switch.tsx +1 -1
  960. package/src/lib/ui/SyntaxHighlight.tsx +28 -179
  961. package/src/lib/ui/Tabs.tsx +2 -2
  962. package/src/lib/ui/Textarea.tsx +1 -1
  963. package/src/lib/ui/Toggle.tsx +1 -1
  964. package/src/lib/ui/Tooltip.tsx +16 -1
  965. package/src/lib/util/MdxComponents.tsx +42 -16
  966. package/src/lib/util/detectOS.ts +9 -0
  967. package/src/lib/util/ensureArray.ts +3 -0
  968. package/src/lib/util/humanFileSize.test.ts +24 -0
  969. package/src/lib/util/humanFileSize.ts +16 -0
  970. package/src/lib/util/os.ts +18 -0
  971. package/src/lib/util/traverse.ts +8 -5
  972. package/src/lib/util/url.test.ts +51 -0
  973. package/src/lib/util/url.ts +18 -0
  974. package/src/lib/util/useCopyToClipboard.ts +17 -0
  975. package/src/lib/util/useExposedProps.tsx +12 -1
  976. package/src/lib/util/useScrollToAnchor.ts +3 -3
  977. package/src/shiki/langs/abap.js +1 -0
  978. package/src/shiki/langs/actionscript-3.js +1 -0
  979. package/src/shiki/langs/ada.js +1 -0
  980. package/src/shiki/langs/angular-expression.js +1 -0
  981. package/src/shiki/langs/angular-html.js +1 -0
  982. package/src/shiki/langs/angular-inline-style.js +1 -0
  983. package/src/shiki/langs/angular-inline-template.js +1 -0
  984. package/src/shiki/langs/angular-let-declaration.js +1 -0
  985. package/src/shiki/langs/angular-template-blocks.js +1 -0
  986. package/src/shiki/langs/angular-template.js +1 -0
  987. package/src/shiki/langs/angular-ts.js +1 -0
  988. package/src/shiki/langs/apache.js +1 -0
  989. package/src/shiki/langs/apex.js +1 -0
  990. package/src/shiki/langs/apl.js +1 -0
  991. package/src/shiki/langs/applescript.js +1 -0
  992. package/src/shiki/langs/ara.js +1 -0
  993. package/src/shiki/langs/asciidoc.js +1 -0
  994. package/src/shiki/langs/asm.js +1 -0
  995. package/src/shiki/langs/astro.js +1 -0
  996. package/src/shiki/langs/awk.js +1 -0
  997. package/src/shiki/langs/ballerina.js +1 -0
  998. package/src/shiki/langs/bat.js +1 -0
  999. package/src/shiki/langs/beancount.js +1 -0
  1000. package/src/shiki/langs/berry.js +1 -0
  1001. package/src/shiki/langs/bibtex.js +1 -0
  1002. package/src/shiki/langs/bicep.js +1 -0
  1003. package/src/shiki/langs/blade.js +1 -0
  1004. package/src/shiki/langs/bsl.js +1 -0
  1005. package/src/shiki/langs/c.js +1 -0
  1006. package/src/shiki/langs/cadence.js +1 -0
  1007. package/src/shiki/langs/cairo.js +1 -0
  1008. package/src/shiki/langs/clarity.js +1 -0
  1009. package/src/shiki/langs/clojure.js +1 -0
  1010. package/src/shiki/langs/cmake.js +1 -0
  1011. package/src/shiki/langs/cobol.js +1 -0
  1012. package/src/shiki/langs/codeowners.js +1 -0
  1013. package/src/shiki/langs/codeql.js +1 -0
  1014. package/src/shiki/langs/coffee.js +1 -0
  1015. package/src/shiki/langs/common-lisp.js +1 -0
  1016. package/src/shiki/langs/coq.js +1 -0
  1017. package/src/shiki/langs/cpp-macro.js +1 -0
  1018. package/src/shiki/langs/cpp.js +1 -0
  1019. package/src/shiki/langs/crystal.js +1 -0
  1020. package/src/shiki/langs/csharp.js +1 -0
  1021. package/src/shiki/langs/css.js +1 -0
  1022. package/src/shiki/langs/csv.js +1 -0
  1023. package/src/shiki/langs/cue.js +1 -0
  1024. package/src/shiki/langs/cypher.js +1 -0
  1025. package/src/shiki/langs/d.js +1 -0
  1026. package/src/shiki/langs/dart.js +1 -0
  1027. package/src/shiki/langs/dax.js +1 -0
  1028. package/src/shiki/langs/desktop.js +1 -0
  1029. package/src/shiki/langs/diff.js +1 -0
  1030. package/src/shiki/langs/docker.js +1 -0
  1031. package/src/shiki/langs/dotenv.js +1 -0
  1032. package/src/shiki/langs/dream-maker.js +1 -0
  1033. package/src/shiki/langs/edge.js +1 -0
  1034. package/src/shiki/langs/elixir.js +1 -0
  1035. package/src/shiki/langs/elm.js +1 -0
  1036. package/src/shiki/langs/emacs-lisp.js +1 -0
  1037. package/src/shiki/langs/erb.js +1 -0
  1038. package/src/shiki/langs/erlang.js +1 -0
  1039. package/src/shiki/langs/es-tag-css.js +1 -0
  1040. package/src/shiki/langs/es-tag-glsl.js +1 -0
  1041. package/src/shiki/langs/es-tag-html.js +1 -0
  1042. package/src/shiki/langs/es-tag-sql.js +1 -0
  1043. package/src/shiki/langs/es-tag-xml.js +1 -0
  1044. package/src/shiki/langs/fennel.js +1 -0
  1045. package/src/shiki/langs/fish.js +1 -0
  1046. package/src/shiki/langs/fluent.js +1 -0
  1047. package/src/shiki/langs/fortran-fixed-form.js +1 -0
  1048. package/src/shiki/langs/fortran-free-form.js +1 -0
  1049. package/src/shiki/langs/fsharp.js +1 -0
  1050. package/src/shiki/langs/gdresource.js +1 -0
  1051. package/src/shiki/langs/gdscript.js +1 -0
  1052. package/src/shiki/langs/gdshader.js +1 -0
  1053. package/src/shiki/langs/genie.js +1 -0
  1054. package/src/shiki/langs/gherkin.js +1 -0
  1055. package/src/shiki/langs/git-commit.js +1 -0
  1056. package/src/shiki/langs/git-rebase.js +1 -0
  1057. package/src/shiki/langs/gleam.js +1 -0
  1058. package/src/shiki/langs/glimmer-js.js +1 -0
  1059. package/src/shiki/langs/glimmer-ts.js +1 -0
  1060. package/src/shiki/langs/glsl.js +1 -0
  1061. package/src/shiki/langs/gnuplot.js +1 -0
  1062. package/src/shiki/langs/go.js +1 -0
  1063. package/src/shiki/langs/graphql.js +1 -0
  1064. package/src/shiki/langs/groovy.js +1 -0
  1065. package/src/shiki/langs/hack.js +1 -0
  1066. package/src/shiki/langs/haml.js +1 -0
  1067. package/src/shiki/langs/handlebars.js +1 -0
  1068. package/src/shiki/langs/haskell.js +1 -0
  1069. package/src/shiki/langs/haxe.js +1 -0
  1070. package/src/shiki/langs/hcl.js +1 -0
  1071. package/src/shiki/langs/hjson.js +1 -0
  1072. package/src/shiki/langs/hlsl.js +1 -0
  1073. package/src/shiki/langs/html-derivative.js +1 -0
  1074. package/src/shiki/langs/html.js +1 -0
  1075. package/src/shiki/langs/http.js +1 -0
  1076. package/src/shiki/langs/hxml.js +1 -0
  1077. package/src/shiki/langs/hy.js +1 -0
  1078. package/src/shiki/langs/imba.js +1 -0
  1079. package/src/shiki/langs/ini.js +1 -0
  1080. package/src/shiki/langs/java.js +1 -0
  1081. package/src/shiki/langs/javascript.js +1 -0
  1082. package/src/shiki/langs/jinja-html.js +1 -0
  1083. package/src/shiki/langs/jinja.js +1 -0
  1084. package/src/shiki/langs/jison.js +1 -0
  1085. package/src/shiki/langs/json.js +1 -0
  1086. package/src/shiki/langs/json5.js +1 -0
  1087. package/src/shiki/langs/jsonc.js +1 -0
  1088. package/src/shiki/langs/jsonl.js +1 -0
  1089. package/src/shiki/langs/jsonnet.js +1 -0
  1090. package/src/shiki/langs/jssm.js +1 -0
  1091. package/src/shiki/langs/jsx.js +1 -0
  1092. package/src/shiki/langs/julia.js +1 -0
  1093. package/src/shiki/langs/kotlin.js +1 -0
  1094. package/src/shiki/langs/kusto.js +1 -0
  1095. package/src/shiki/langs/latex.js +1 -0
  1096. package/src/shiki/langs/lean.js +1 -0
  1097. package/src/shiki/langs/less.js +1 -0
  1098. package/src/shiki/langs/liquid.js +1 -0
  1099. package/src/shiki/langs/llvm.js +1 -0
  1100. package/src/shiki/langs/log.js +1 -0
  1101. package/src/shiki/langs/logo.js +1 -0
  1102. package/src/shiki/langs/lua.js +1 -0
  1103. package/src/shiki/langs/luau.js +1 -0
  1104. package/src/shiki/langs/make.js +1 -0
  1105. package/src/shiki/langs/markdown-vue.js +1 -0
  1106. package/src/shiki/langs/markdown.js +1 -0
  1107. package/src/shiki/langs/marko.js +1 -0
  1108. package/src/shiki/langs/matlab.js +1 -0
  1109. package/src/shiki/langs/mdc.js +1 -0
  1110. package/src/shiki/langs/mdx.js +1 -0
  1111. package/src/shiki/langs/mermaid.js +1 -0
  1112. package/src/shiki/langs/mipsasm.js +1 -0
  1113. package/src/shiki/langs/mojo.js +1 -0
  1114. package/src/shiki/langs/move.js +1 -0
  1115. package/src/shiki/langs/narrat.js +1 -0
  1116. package/src/shiki/langs/nextflow.js +1 -0
  1117. package/src/shiki/langs/nginx.js +1 -0
  1118. package/src/shiki/langs/nim.js +1 -0
  1119. package/src/shiki/langs/nix.js +1 -0
  1120. package/src/shiki/langs/nushell.js +1 -0
  1121. package/src/shiki/langs/objective-c.js +1 -0
  1122. package/src/shiki/langs/objective-cpp.js +1 -0
  1123. package/src/shiki/langs/ocaml.js +1 -0
  1124. package/src/shiki/langs/pascal.js +1 -0
  1125. package/src/shiki/langs/perl.js +1 -0
  1126. package/src/shiki/langs/php.js +1 -0
  1127. package/src/shiki/langs/plsql.js +1 -0
  1128. package/src/shiki/langs/po.js +1 -0
  1129. package/src/shiki/langs/polar.js +1 -0
  1130. package/src/shiki/langs/postcss.js +1 -0
  1131. package/src/shiki/langs/powerquery.js +1 -0
  1132. package/src/shiki/langs/powershell.js +1 -0
  1133. package/src/shiki/langs/prisma.js +1 -0
  1134. package/src/shiki/langs/prolog.js +1 -0
  1135. package/src/shiki/langs/proto.js +1 -0
  1136. package/src/shiki/langs/pug.js +1 -0
  1137. package/src/shiki/langs/puppet.js +1 -0
  1138. package/src/shiki/langs/purescript.js +1 -0
  1139. package/src/shiki/langs/python.js +1 -0
  1140. package/src/shiki/langs/qml.js +1 -0
  1141. package/src/shiki/langs/qmldir.js +1 -0
  1142. package/src/shiki/langs/qss.js +1 -0
  1143. package/src/shiki/langs/r.js +1 -0
  1144. package/src/shiki/langs/racket.js +1 -0
  1145. package/src/shiki/langs/raku.js +1 -0
  1146. package/src/shiki/langs/razor.js +1 -0
  1147. package/src/shiki/langs/reg.js +1 -0
  1148. package/src/shiki/langs/regexp.js +1 -0
  1149. package/src/shiki/langs/rel.js +1 -0
  1150. package/src/shiki/langs/riscv.js +1 -0
  1151. package/src/shiki/langs/rst.js +1 -0
  1152. package/src/shiki/langs/ruby.js +1 -0
  1153. package/src/shiki/langs/rust.js +1 -0
  1154. package/src/shiki/langs/sas.js +1 -0
  1155. package/src/shiki/langs/sass.js +1 -0
  1156. package/src/shiki/langs/scala.js +1 -0
  1157. package/src/shiki/langs/scheme.js +1 -0
  1158. package/src/shiki/langs/scss.js +1 -0
  1159. package/src/shiki/langs/sdbl.js +1 -0
  1160. package/src/shiki/langs/shaderlab.js +1 -0
  1161. package/src/shiki/langs/shellscript.js +1 -0
  1162. package/src/shiki/langs/shellsession.js +1 -0
  1163. package/src/shiki/langs/smalltalk.js +1 -0
  1164. package/src/shiki/langs/solidity.js +1 -0
  1165. package/src/shiki/langs/soy.js +1 -0
  1166. package/src/shiki/langs/sparql.js +1 -0
  1167. package/src/shiki/langs/splunk.js +1 -0
  1168. package/src/shiki/langs/sql.js +1 -0
  1169. package/src/shiki/langs/ssh-config.js +1 -0
  1170. package/src/shiki/langs/stata.js +1 -0
  1171. package/src/shiki/langs/stylus.js +1 -0
  1172. package/src/shiki/langs/svelte.js +1 -0
  1173. package/src/shiki/langs/swift.js +1 -0
  1174. package/src/shiki/langs/system-verilog.js +1 -0
  1175. package/src/shiki/langs/systemd.js +1 -0
  1176. package/src/shiki/langs/talonscript.js +1 -0
  1177. package/src/shiki/langs/tasl.js +1 -0
  1178. package/src/shiki/langs/tcl.js +1 -0
  1179. package/src/shiki/langs/templ.js +1 -0
  1180. package/src/shiki/langs/terraform.js +1 -0
  1181. package/src/shiki/langs/tex.js +1 -0
  1182. package/src/shiki/langs/toml.js +1 -0
  1183. package/src/shiki/langs/ts-tags.js +1 -0
  1184. package/src/shiki/langs/tsv.js +1 -0
  1185. package/src/shiki/langs/tsx.js +1 -0
  1186. package/src/shiki/langs/turtle.js +1 -0
  1187. package/src/shiki/langs/twig.js +1 -0
  1188. package/src/shiki/langs/typescript.js +1 -0
  1189. package/src/shiki/langs/typespec.js +1 -0
  1190. package/src/shiki/langs/typst.js +1 -0
  1191. package/src/shiki/langs/v.js +1 -0
  1192. package/src/shiki/langs/vala.js +1 -0
  1193. package/src/shiki/langs/vb.js +1 -0
  1194. package/src/shiki/langs/verilog.js +1 -0
  1195. package/src/shiki/langs/vhdl.js +1 -0
  1196. package/src/shiki/langs/viml.js +1 -0
  1197. package/src/shiki/langs/vue-directives.js +1 -0
  1198. package/src/shiki/langs/vue-html.js +1 -0
  1199. package/src/shiki/langs/vue-interpolations.js +1 -0
  1200. package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
  1201. package/src/shiki/langs/vue.js +1 -0
  1202. package/src/shiki/langs/vyper.js +1 -0
  1203. package/src/shiki/langs/wasm.js +1 -0
  1204. package/src/shiki/langs/wenyan.js +1 -0
  1205. package/src/shiki/langs/wgsl.js +1 -0
  1206. package/src/shiki/langs/wikitext.js +1 -0
  1207. package/src/shiki/langs/wit.js +1 -0
  1208. package/src/shiki/langs/wolfram.js +1 -0
  1209. package/src/shiki/langs/xml.js +1 -0
  1210. package/src/shiki/langs/xsl.js +1 -0
  1211. package/src/shiki/langs/yaml.js +1 -0
  1212. package/src/shiki/langs/zenscript.js +1 -0
  1213. package/src/shiki/langs/zig.js +1 -0
  1214. package/src/shiki/themes/andromeeda.js +1 -0
  1215. package/src/shiki/themes/aurora-x.js +1 -0
  1216. package/src/shiki/themes/ayu-dark.js +1 -0
  1217. package/src/shiki/themes/catppuccin-frappe.js +1 -0
  1218. package/src/shiki/themes/catppuccin-latte.js +1 -0
  1219. package/src/shiki/themes/catppuccin-macchiato.js +1 -0
  1220. package/src/shiki/themes/catppuccin-mocha.js +1 -0
  1221. package/src/shiki/themes/dark-plus.js +1 -0
  1222. package/src/shiki/themes/dracula-soft.js +1 -0
  1223. package/src/shiki/themes/dracula.js +1 -0
  1224. package/src/shiki/themes/everforest-dark.js +1 -0
  1225. package/src/shiki/themes/everforest-light.js +1 -0
  1226. package/src/shiki/themes/github-dark-default.js +1 -0
  1227. package/src/shiki/themes/github-dark-dimmed.js +1 -0
  1228. package/src/shiki/themes/github-dark-high-contrast.js +1 -0
  1229. package/src/shiki/themes/github-dark.js +1 -0
  1230. package/src/shiki/themes/github-light-default.js +1 -0
  1231. package/src/shiki/themes/github-light-high-contrast.js +1 -0
  1232. package/src/shiki/themes/github-light.js +1 -0
  1233. package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
  1234. package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
  1235. package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
  1236. package/src/shiki/themes/gruvbox-light-hard.js +1 -0
  1237. package/src/shiki/themes/gruvbox-light-medium.js +1 -0
  1238. package/src/shiki/themes/gruvbox-light-soft.js +1 -0
  1239. package/src/shiki/themes/houston.js +1 -0
  1240. package/src/shiki/themes/kanagawa-dragon.js +1 -0
  1241. package/src/shiki/themes/kanagawa-lotus.js +1 -0
  1242. package/src/shiki/themes/kanagawa-wave.js +1 -0
  1243. package/src/shiki/themes/laserwave.js +1 -0
  1244. package/src/shiki/themes/light-plus.js +1 -0
  1245. package/src/shiki/themes/material-theme-darker.js +1 -0
  1246. package/src/shiki/themes/material-theme-lighter.js +1 -0
  1247. package/src/shiki/themes/material-theme-ocean.js +1 -0
  1248. package/src/shiki/themes/material-theme-palenight.js +1 -0
  1249. package/src/shiki/themes/material-theme.js +1 -0
  1250. package/src/shiki/themes/min-dark.js +1 -0
  1251. package/src/shiki/themes/min-light.js +1 -0
  1252. package/src/shiki/themes/monokai.js +1 -0
  1253. package/src/shiki/themes/night-owl.js +1 -0
  1254. package/src/shiki/themes/nord.js +1 -0
  1255. package/src/shiki/themes/one-dark-pro.js +1 -0
  1256. package/src/shiki/themes/one-light.js +1 -0
  1257. package/src/shiki/themes/plastic.js +1 -0
  1258. package/src/shiki/themes/poimandres.js +1 -0
  1259. package/src/shiki/themes/red.js +1 -0
  1260. package/src/shiki/themes/rose-pine-dawn.js +1 -0
  1261. package/src/shiki/themes/rose-pine-moon.js +1 -0
  1262. package/src/shiki/themes/rose-pine.js +1 -0
  1263. package/src/shiki/themes/slack-dark.js +1 -0
  1264. package/src/shiki/themes/slack-ochin.js +1 -0
  1265. package/src/shiki/themes/snazzy-light.js +1 -0
  1266. package/src/shiki/themes/solarized-dark.js +1 -0
  1267. package/src/shiki/themes/solarized-light.js +1 -0
  1268. package/src/shiki/themes/synthwave-84.js +1 -0
  1269. package/src/shiki/themes/tokyo-night.js +1 -0
  1270. package/src/shiki/themes/vesper.js +1 -0
  1271. package/src/shiki/themes/vitesse-black.js +1 -0
  1272. package/src/shiki/themes/vitesse-dark.js +1 -0
  1273. package/src/shiki/themes/vitesse-light.js +1 -0
  1274. package/client.d.ts +0 -8
  1275. package/dist/app/tailwind.d.ts +0 -4
  1276. package/dist/app/tailwind.js +0 -97
  1277. package/dist/app/tailwind.js.map +0 -1
  1278. package/dist/cli/dev/pagefind-command.d.ts +0 -3
  1279. package/dist/cli/dev/pagefind-command.js +0 -59
  1280. package/dist/cli/dev/pagefind-command.js.map +0 -1
  1281. package/dist/config/common.d.ts +0 -10
  1282. package/dist/config/common.js +0 -2
  1283. package/dist/config/common.js.map +0 -1
  1284. package/dist/config/validators/InputSidebarSchema.d.ts +0 -217
  1285. package/dist/config/validators/InputSidebarSchema.js +0 -62
  1286. package/dist/config/validators/InputSidebarSchema.js.map +0 -1
  1287. package/dist/config/validators/SidebarSchema.d.ts +0 -46
  1288. package/dist/config/validators/SidebarSchema.js +0 -118
  1289. package/dist/config/validators/SidebarSchema.js.map +0 -1
  1290. package/dist/config/validators/common.d.ts +0 -6849
  1291. package/dist/config/validators/common.js +0 -364
  1292. package/dist/config/validators/common.js.map +0 -1
  1293. package/dist/lib/components/SlotletProvider.d.ts +0 -17
  1294. package/dist/lib/components/SlotletProvider.js +0 -18
  1295. package/dist/lib/components/SlotletProvider.js.map +0 -1
  1296. package/dist/lib/components/context/PluginSystem.js +0 -2
  1297. package/dist/lib/components/context/PluginSystem.js.map +0 -1
  1298. package/dist/lib/components/navigation/Sidebar.d.ts +0 -5
  1299. package/dist/lib/components/navigation/Sidebar.js +0 -17
  1300. package/dist/lib/components/navigation/Sidebar.js.map +0 -1
  1301. package/dist/lib/components/navigation/SidebarBadge.js.map +0 -1
  1302. package/dist/lib/components/navigation/SidebarCategory.d.ts +0 -5
  1303. package/dist/lib/components/navigation/SidebarCategory.js.map +0 -1
  1304. package/dist/lib/components/navigation/SidebarItem.d.ts +0 -11
  1305. package/dist/lib/components/navigation/SidebarItem.js +0 -50
  1306. package/dist/lib/components/navigation/SidebarItem.js.map +0 -1
  1307. package/dist/lib/components/navigation/SidebarWrapper.d.ts +0 -8
  1308. package/dist/lib/components/navigation/SidebarWrapper.js +0 -5
  1309. package/dist/lib/components/navigation/SidebarWrapper.js.map +0 -1
  1310. package/dist/lib/plugins/custom-pages/CustomPage.d.ts +0 -2
  1311. package/dist/lib/plugins/custom-pages/CustomPage.js +0 -11
  1312. package/dist/lib/plugins/custom-pages/CustomPage.js.map +0 -1
  1313. package/dist/lib/plugins/markdown/resolver.d.ts +0 -32
  1314. package/dist/lib/plugins/markdown/resolver.js +0 -46
  1315. package/dist/lib/plugins/markdown/resolver.js.map +0 -1
  1316. package/dist/lib/plugins/openapi/playground/SubmitButton.d.ts +0 -7
  1317. package/dist/lib/plugins/openapi/playground/SubmitButton.js +0 -22
  1318. package/dist/lib/plugins/openapi/playground/SubmitButton.js.map +0 -1
  1319. package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +0 -4
  1320. package/dist/lib/plugins/openapi/playground/UrlDisplay.js +0 -22
  1321. package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +0 -1
  1322. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.d.ts +0 -7
  1323. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +0 -11
  1324. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +0 -1
  1325. package/dist/lib/plugins/openapi/post-processors/removeExtensions.d.ts +0 -7
  1326. package/dist/lib/plugins/openapi/post-processors/removeExtensions.js.map +0 -1
  1327. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js.map +0 -1
  1328. package/dist/lib/plugins/openapi/post-processors/removeParameters.js.map +0 -1
  1329. package/dist/lib/plugins/openapi/post-processors/removeParameters.test.js.map +0 -1
  1330. package/dist/lib/plugins/openapi/post-processors/removePaths.js.map +0 -1
  1331. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js +0 -104
  1332. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js.map +0 -1
  1333. package/dist/lib/plugins/openapi/post-processors/traverse.js.map +0 -1
  1334. package/dist/lib/plugins/openapi/util/createSidebarCategory.d.ts +0 -9
  1335. package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +0 -1
  1336. package/dist/vite/plugin-docs.test.js +0 -22
  1337. package/dist/vite/plugin-docs.test.js.map +0 -1
  1338. package/dist/vite/plugin-sidebar.d.ts +0 -3
  1339. package/dist/vite/plugin-sidebar.js.map +0 -1
  1340. package/dist/vite/plugin-theme-css.d.ts +0 -6
  1341. package/dist/vite/plugin-theme-css.js +0 -117
  1342. package/dist/vite/plugin-theme-css.js.map +0 -1
  1343. package/dist/zuplo/env.d.ts +0 -7
  1344. package/dist/zuplo/env.js +0 -12
  1345. package/dist/zuplo/env.js.map +0 -1
  1346. package/lib/AuthenticationPlugin-foqdvvkf.js +0 -58
  1347. package/lib/AuthenticationPlugin-foqdvvkf.js.map +0 -1
  1348. package/lib/Button-Fp19CMUr.js +0 -49
  1349. package/lib/Button-Fp19CMUr.js.map +0 -1
  1350. package/lib/Callout-D5frCCJ0.js +0 -229
  1351. package/lib/Callout-D5frCCJ0.js.map +0 -1
  1352. package/lib/CategoryHeading-DpB47wvk.js +0 -10
  1353. package/lib/CategoryHeading-DpB47wvk.js.map +0 -1
  1354. package/lib/Dialog-Dv6WG8RN.js.map +0 -1
  1355. package/lib/Drawer-kDAfOq_2.js.map +0 -1
  1356. package/lib/Markdown-D-vLL3rw.js.map +0 -1
  1357. package/lib/MdxPage-BY6tJN4Q.js +0 -83
  1358. package/lib/MdxPage-BY6tJN4Q.js.map +0 -1
  1359. package/lib/OasProvider-5ej8C_s6.js +0 -34
  1360. package/lib/OasProvider-5ej8C_s6.js.map +0 -1
  1361. package/lib/OperationList-CHuBrSD5.js.map +0 -1
  1362. package/lib/Pagination-DALsKi79.js +0 -46
  1363. package/lib/Pagination-DALsKi79.js.map +0 -1
  1364. package/lib/SchemaList-BH1kPaT4.js +0 -148
  1365. package/lib/SchemaList-BH1kPaT4.js.map +0 -1
  1366. package/lib/SchemaView-6_qdGR_9.js +0 -356
  1367. package/lib/SchemaView-6_qdGR_9.js.map +0 -1
  1368. package/lib/Select-DVFRKf1R.js +0 -223
  1369. package/lib/Select-DVFRKf1R.js.map +0 -1
  1370. package/lib/SlotletProvider-BPQNhW3Y.js +0 -338
  1371. package/lib/SlotletProvider-BPQNhW3Y.js.map +0 -1
  1372. package/lib/SyntaxHighlight-BEoSoPEo.js +0 -2890
  1373. package/lib/SyntaxHighlight-BEoSoPEo.js.map +0 -1
  1374. package/lib/Toc-COKWpWOX.js.map +0 -1
  1375. package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
  1376. package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
  1377. package/lib/chunk-HA7DTUK3-C4gP41vD.js +0 -1821
  1378. package/lib/chunk-HA7DTUK3-C4gP41vD.js.map +0 -1
  1379. package/lib/circular-ByJI6Mci.js.map +0 -1
  1380. package/lib/cn-qaFjX9_3.js.map +0 -1
  1381. package/lib/context-DLCwaMXN.js +0 -22
  1382. package/lib/context-DLCwaMXN.js.map +0 -1
  1383. package/lib/createServer-mMau3eV_.js.map +0 -1
  1384. package/lib/hook-CqpVYDqN.js +0 -1483
  1385. package/lib/hook-CqpVYDqN.js.map +0 -1
  1386. package/lib/index-Bn6Lc9tq.js +0 -9
  1387. package/lib/index-Bn6Lc9tq.js.map +0 -1
  1388. package/lib/index-CFrxHpoy.js +0 -2514
  1389. package/lib/index-CFrxHpoy.js.map +0 -1
  1390. package/lib/index-DGMVODgw.js +0 -2226
  1391. package/lib/index-DGMVODgw.js.map +0 -1
  1392. package/lib/index-Dl3Yl0yb.js.map +0 -1
  1393. package/lib/index-DwT-v3zK.js +0 -86
  1394. package/lib/index-DwT-v3zK.js.map +0 -1
  1395. package/lib/index-gQD2h1wX.js +0 -447
  1396. package/lib/index-gQD2h1wX.js.map +0 -1
  1397. package/lib/index.esm--gIChbWs.js +0 -1207
  1398. package/lib/index.esm--gIChbWs.js.map +0 -1
  1399. package/lib/invariant-Caa8-XvF.js +0 -26
  1400. package/lib/jsx-runtime-CYK1ROHF.js +0 -446
  1401. package/lib/jsx-runtime-CYK1ROHF.js.map +0 -1
  1402. package/lib/mutation-8LjrN7uz.js +0 -208
  1403. package/lib/mutation-8LjrN7uz.js.map +0 -1
  1404. package/lib/objectEntries-BS7aAgOm.js +0 -12
  1405. package/lib/objectEntries-BS7aAgOm.js.map +0 -1
  1406. package/lib/post-processors/removeExtensions.js.map +0 -1
  1407. package/lib/post-processors/removeParameters.js +0 -48
  1408. package/lib/post-processors/removeParameters.js.map +0 -1
  1409. package/lib/post-processors/removePaths.js +0 -28
  1410. package/lib/post-processors/removePaths.js.map +0 -1
  1411. package/lib/post-processors/traverse.js +0 -15
  1412. package/lib/post-processors/traverse.js.map +0 -1
  1413. package/lib/prism-bash.min-HHIMdNJ_.js +0 -7
  1414. package/lib/prism-bash.min-HHIMdNJ_.js.map +0 -1
  1415. package/lib/prism-csharp.min-bQAo2pmx.js +0 -63
  1416. package/lib/prism-csharp.min-bQAo2pmx.js.map +0 -1
  1417. package/lib/prism-java.min-BpvsOuIa.js +0 -35
  1418. package/lib/prism-java.min-BpvsOuIa.js.map +0 -1
  1419. package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
  1420. package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
  1421. package/lib/prism-json.min-B1GJqK1k.js +0 -2
  1422. package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
  1423. package/lib/prism-jsstacktrace.min-BfobCF2F.js +0 -2
  1424. package/lib/prism-jsstacktrace.min-BfobCF2F.js.map +0 -1
  1425. package/lib/prism-markdown.min-C0Qn0m-5.js +0 -61
  1426. package/lib/prism-markdown.min-C0Qn0m-5.js.map +0 -1
  1427. package/lib/prism-markup-BNGj0Tvm.js +0 -174
  1428. package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
  1429. package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
  1430. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
  1431. package/lib/prism-ruby.min-Dx9KO9ds.js +0 -38
  1432. package/lib/prism-ruby.min-Dx9KO9ds.js.map +0 -1
  1433. package/lib/prism-typescript.min-CD7H2IYQ.js +0 -34
  1434. package/lib/prism-typescript.min-CD7H2IYQ.js.map +0 -1
  1435. package/lib/useExposedProps-B9qXJedG.js.map +0 -1
  1436. package/src/app/tailwind.ts +0 -103
  1437. package/src/lib/components/SlotletProvider.tsx +0 -55
  1438. package/src/lib/components/context/PluginSystem.ts +0 -0
  1439. package/src/lib/components/navigation/Sidebar.tsx +0 -53
  1440. package/src/lib/components/navigation/SidebarItem.tsx +0 -118
  1441. package/src/lib/components/navigation/SidebarWrapper.tsx +0 -25
  1442. package/src/lib/plugins/custom-pages/CustomPage.tsx +0 -18
  1443. package/src/lib/plugins/markdown/resolver.ts +0 -57
  1444. package/src/lib/plugins/openapi/playground/SubmitButton.tsx +0 -75
  1445. package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +0 -32
  1446. package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +0 -73
  1447. package/src/lib/plugins/openapi/post-processors/removePaths.test.ts +0 -126
  1448. /package/dist/{lib/components/context/PluginSystem.d.ts → config/validators/InputNavigationSchema.test-d.d.ts} +0 -0
  1449. /package/dist/{lib/plugins/openapi/post-processors/removeExtensions.test.d.ts → config/validators/validate.test.d.ts} +0 -0
  1450. /package/dist/lib/{plugins/openapi/post-processors/removeParameters.test.d.ts → auth/issuer.test.d.ts} +0 -0
  1451. /package/dist/lib/{plugins/openapi/post-processors/removePaths.test.d.ts → components/Slot.test.d.ts} +0 -0
  1452. /package/dist/{vite/plugin-docs.test.d.ts → lib/plugins/openapi/processors/removeExtensions.test.d.ts} +0 -0
  1453. /package/dist/lib/plugins/openapi/{post-processors → processors}/traverse.d.ts +0 -0
  1454. /package/dist/lib/plugins/openapi/{post-processors → processors}/traverse.js +0 -0
  1455. /package/src/lib/plugins/openapi/{post-processors → processors}/traverse.ts +0 -0
@@ -0,0 +1,1510 @@
1
+ import * as S from "react";
2
+ import tt, { createContext as Rt, useContext as Ot } from "react";
3
+ import { j as Ct } from "./jsx-runtime-C5mzlN2N.js";
4
+ import { u as q, m as j } from "./chunk-DQRVZFIR-DHK7_Ilc.js";
5
+ import { c as Et } from "./index-DI5SPFK9.js";
6
+ var V = class {
7
+ constructor() {
8
+ this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
9
+ }
10
+ subscribe(t) {
11
+ return this.listeners.add(t), this.onSubscribe(), () => {
12
+ this.listeners.delete(t), this.onUnsubscribe();
13
+ };
14
+ }
15
+ hasListeners() {
16
+ return this.listeners.size > 0;
17
+ }
18
+ onSubscribe() {
19
+ }
20
+ onUnsubscribe() {
21
+ }
22
+ }, E = typeof window > "u" || "Deno" in globalThis;
23
+ function F() {
24
+ }
25
+ function me(t, e) {
26
+ return typeof t == "function" ? t(e) : t;
27
+ }
28
+ function N(t) {
29
+ return typeof t == "number" && t >= 0 && t !== 1 / 0;
30
+ }
31
+ function ot(t, e) {
32
+ return Math.max(t + (e || 0) - Date.now(), 0);
33
+ }
34
+ function x(t, e) {
35
+ return typeof t == "function" ? t(e) : t;
36
+ }
37
+ function w(t, e) {
38
+ return typeof t == "function" ? t(e) : t;
39
+ }
40
+ function be(t, e) {
41
+ const {
42
+ type: s = "all",
43
+ exact: r,
44
+ fetchStatus: n,
45
+ predicate: i,
46
+ queryKey: o,
47
+ stale: u
48
+ } = t;
49
+ if (o) {
50
+ if (r) {
51
+ if (e.queryHash !== Ft(o, e.options))
52
+ return !1;
53
+ } else if (!$(e.queryKey, o))
54
+ return !1;
55
+ }
56
+ if (s !== "all") {
57
+ const a = e.isActive();
58
+ if (s === "active" && !a || s === "inactive" && a)
59
+ return !1;
60
+ }
61
+ return !(typeof u == "boolean" && e.isStale() !== u || n && n !== e.state.fetchStatus || i && !i(e));
62
+ }
63
+ function Se(t, e) {
64
+ const { exact: s, status: r, predicate: n, mutationKey: i } = t;
65
+ if (i) {
66
+ if (!e.options.mutationKey)
67
+ return !1;
68
+ if (s) {
69
+ if (L(e.options.mutationKey) !== L(i))
70
+ return !1;
71
+ } else if (!$(e.options.mutationKey, i))
72
+ return !1;
73
+ }
74
+ return !(r && e.state.status !== r || n && !n(e));
75
+ }
76
+ function Ft(t, e) {
77
+ return (e?.queryKeyHashFn || L)(t);
78
+ }
79
+ function L(t) {
80
+ return JSON.stringify(
81
+ t,
82
+ (e, s) => H(s) ? Object.keys(s).sort().reduce((r, n) => (r[n] = s[n], r), {}) : s
83
+ );
84
+ }
85
+ function $(t, e) {
86
+ return t === e ? !0 : typeof t != typeof e ? !1 : t && e && typeof t == "object" && typeof e == "object" ? Object.keys(e).every((s) => $(t[s], e[s])) : !1;
87
+ }
88
+ function M(t, e) {
89
+ if (t === e)
90
+ return t;
91
+ const s = et(t) && et(e);
92
+ if (s || H(t) && H(e)) {
93
+ const r = s ? t : Object.keys(t), n = r.length, i = s ? e : Object.keys(e), o = i.length, u = s ? [] : {}, a = new Set(r);
94
+ let l = 0;
95
+ for (let h = 0; h < o; h++) {
96
+ const f = s ? h : i[h];
97
+ (!s && a.has(f) || s) && t[f] === void 0 && e[f] === void 0 ? (u[f] = void 0, l++) : (u[f] = M(t[f], e[f]), u[f] === t[f] && t[f] !== void 0 && l++);
98
+ }
99
+ return n === o && l === n ? t : u;
100
+ }
101
+ return e;
102
+ }
103
+ function _(t, e) {
104
+ if (!e || Object.keys(t).length !== Object.keys(e).length)
105
+ return !1;
106
+ for (const s in t)
107
+ if (t[s] !== e[s])
108
+ return !1;
109
+ return !0;
110
+ }
111
+ function et(t) {
112
+ return Array.isArray(t) && t.length === Object.keys(t).length;
113
+ }
114
+ function H(t) {
115
+ if (!st(t))
116
+ return !1;
117
+ const e = t.constructor;
118
+ if (e === void 0)
119
+ return !0;
120
+ const s = e.prototype;
121
+ return !(!st(s) || !s.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(t) !== Object.prototype);
122
+ }
123
+ function st(t) {
124
+ return Object.prototype.toString.call(t) === "[object Object]";
125
+ }
126
+ function It(t) {
127
+ return new Promise((e) => {
128
+ setTimeout(e, t);
129
+ });
130
+ }
131
+ function K(t, e, s) {
132
+ if (typeof s.structuralSharing == "function")
133
+ return s.structuralSharing(t, e);
134
+ if (s.structuralSharing !== !1) {
135
+ if (process.env.NODE_ENV !== "production")
136
+ try {
137
+ return M(t, e);
138
+ } catch (r) {
139
+ throw console.error(
140
+ `Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${s.queryHash}]: ${r}`
141
+ ), r;
142
+ }
143
+ return M(t, e);
144
+ }
145
+ return e;
146
+ }
147
+ function we(t) {
148
+ return t;
149
+ }
150
+ function Re(t, e, s = 0) {
151
+ const r = [...t, e];
152
+ return s && r.length > s ? r.slice(1) : r;
153
+ }
154
+ function Oe(t, e, s = 0) {
155
+ const r = [e, ...t];
156
+ return s && r.length > s ? r.slice(0, -1) : r;
157
+ }
158
+ var k = Symbol();
159
+ function Pt(t, e) {
160
+ return process.env.NODE_ENV !== "production" && t.queryFn === k && console.error(
161
+ `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${t.queryHash}'`
162
+ ), !t.queryFn && e?.initialPromise ? () => e.initialPromise : !t.queryFn || t.queryFn === k ? () => Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)) : t.queryFn;
163
+ }
164
+ function Tt(t, e) {
165
+ return typeof t == "function" ? t(...e) : !!t;
166
+ }
167
+ var xt = class extends V {
168
+ #e;
169
+ #t;
170
+ #s;
171
+ constructor() {
172
+ super(), this.#s = (t) => {
173
+ if (!E && window.addEventListener) {
174
+ const e = () => t();
175
+ return window.addEventListener("visibilitychange", e, !1), () => {
176
+ window.removeEventListener("visibilitychange", e);
177
+ };
178
+ }
179
+ };
180
+ }
181
+ onSubscribe() {
182
+ this.#t || this.setEventListener(this.#s);
183
+ }
184
+ onUnsubscribe() {
185
+ this.hasListeners() || (this.#t?.(), this.#t = void 0);
186
+ }
187
+ setEventListener(t) {
188
+ this.#s = t, this.#t?.(), this.#t = t((e) => {
189
+ typeof e == "boolean" ? this.setFocused(e) : this.onFocus();
190
+ });
191
+ }
192
+ setFocused(t) {
193
+ this.#e !== t && (this.#e = t, this.onFocus());
194
+ }
195
+ onFocus() {
196
+ const t = this.isFocused();
197
+ this.listeners.forEach((e) => {
198
+ e(t);
199
+ });
200
+ }
201
+ isFocused() {
202
+ return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
203
+ }
204
+ }, ut = new xt(), Dt = class extends V {
205
+ #e = !0;
206
+ #t;
207
+ #s;
208
+ constructor() {
209
+ super(), this.#s = (t) => {
210
+ if (!E && window.addEventListener) {
211
+ const e = () => t(!0), s = () => t(!1);
212
+ return window.addEventListener("online", e, !1), window.addEventListener("offline", s, !1), () => {
213
+ window.removeEventListener("online", e), window.removeEventListener("offline", s);
214
+ };
215
+ }
216
+ };
217
+ }
218
+ onSubscribe() {
219
+ this.#t || this.setEventListener(this.#s);
220
+ }
221
+ onUnsubscribe() {
222
+ this.hasListeners() || (this.#t?.(), this.#t = void 0);
223
+ }
224
+ setEventListener(t) {
225
+ this.#s = t, this.#t?.(), this.#t = t(this.setOnline.bind(this));
226
+ }
227
+ setOnline(t) {
228
+ this.#e !== t && (this.#e = t, this.listeners.forEach((s) => {
229
+ s(t);
230
+ }));
231
+ }
232
+ isOnline() {
233
+ return this.#e;
234
+ }
235
+ }, ct = new Dt();
236
+ function B() {
237
+ let t, e;
238
+ const s = new Promise((n, i) => {
239
+ t = n, e = i;
240
+ });
241
+ s.status = "pending", s.catch(() => {
242
+ });
243
+ function r(n) {
244
+ Object.assign(s, n), delete s.resolve, delete s.reject;
245
+ }
246
+ return s.resolve = (n) => {
247
+ r({
248
+ status: "fulfilled",
249
+ value: n
250
+ }), t(n);
251
+ }, s.reject = (n) => {
252
+ r({
253
+ status: "rejected",
254
+ reason: n
255
+ }), e(n);
256
+ }, s;
257
+ }
258
+ function Ce(t) {
259
+ let e;
260
+ if (t.then((s) => (e = s, s), F)?.catch(F), e !== void 0)
261
+ return { data: e };
262
+ }
263
+ function At(t) {
264
+ return Math.min(1e3 * 2 ** t, 3e4);
265
+ }
266
+ function ht(t) {
267
+ return (t ?? "online") === "online" ? ct.isOnline() : !0;
268
+ }
269
+ var lt = class extends Error {
270
+ constructor(t) {
271
+ super("CancelledError"), this.revert = t?.revert, this.silent = t?.silent;
272
+ }
273
+ };
274
+ function U(t) {
275
+ return t instanceof lt;
276
+ }
277
+ function kt(t) {
278
+ let e = !1, s = 0, r = !1, n;
279
+ const i = B(), o = (c) => {
280
+ r || (d(new lt(c)), t.abort?.());
281
+ }, u = () => {
282
+ e = !0;
283
+ }, a = () => {
284
+ e = !1;
285
+ }, l = () => ut.isFocused() && (t.networkMode === "always" || ct.isOnline()) && t.canRun(), h = () => ht(t.networkMode) && t.canRun(), f = (c) => {
286
+ r || (r = !0, t.onSuccess?.(c), n?.(), i.resolve(c));
287
+ }, d = (c) => {
288
+ r || (r = !0, t.onError?.(c), n?.(), i.reject(c));
289
+ }, g = () => new Promise((c) => {
290
+ n = (m) => {
291
+ (r || l()) && c(m);
292
+ }, t.onPause?.();
293
+ }).then(() => {
294
+ n = void 0, r || t.onContinue?.();
295
+ }), O = () => {
296
+ if (r)
297
+ return;
298
+ let c;
299
+ const m = s === 0 ? t.initialPromise : void 0;
300
+ try {
301
+ c = m ?? t.fn();
302
+ } catch (v) {
303
+ c = Promise.reject(v);
304
+ }
305
+ Promise.resolve(c).then(f).catch((v) => {
306
+ if (r)
307
+ return;
308
+ const p = t.retry ?? (E ? 0 : 3), y = t.retryDelay ?? At, C = typeof y == "function" ? y(s, v) : y, P = p === !0 || typeof p == "number" && s < p || typeof p == "function" && p(s, v);
309
+ if (e || !P) {
310
+ d(v);
311
+ return;
312
+ }
313
+ s++, t.onFail?.(s, v), It(C).then(() => l() ? void 0 : g()).then(() => {
314
+ e ? d(v) : O();
315
+ });
316
+ });
317
+ };
318
+ return {
319
+ promise: i,
320
+ cancel: o,
321
+ continue: () => (n?.(), i),
322
+ cancelRetry: u,
323
+ continueRetry: a,
324
+ canStart: h,
325
+ start: () => (h() ? O() : g().then(O), i)
326
+ };
327
+ }
328
+ var qt = (t) => setTimeout(t, 0);
329
+ function jt() {
330
+ let t = [], e = 0, s = (u) => {
331
+ u();
332
+ }, r = (u) => {
333
+ u();
334
+ }, n = qt;
335
+ const i = (u) => {
336
+ e ? t.push(u) : n(() => {
337
+ s(u);
338
+ });
339
+ }, o = () => {
340
+ const u = t;
341
+ t = [], u.length && n(() => {
342
+ r(() => {
343
+ u.forEach((a) => {
344
+ s(a);
345
+ });
346
+ });
347
+ });
348
+ };
349
+ return {
350
+ batch: (u) => {
351
+ let a;
352
+ e++;
353
+ try {
354
+ a = u();
355
+ } finally {
356
+ e--, e || o();
357
+ }
358
+ return a;
359
+ },
360
+ /**
361
+ * All calls to the wrapped function will be batched.
362
+ */
363
+ batchCalls: (u) => (...a) => {
364
+ i(() => {
365
+ u(...a);
366
+ });
367
+ },
368
+ schedule: i,
369
+ /**
370
+ * Use this method to set a custom notify function.
371
+ * This can be used to for example wrap notifications with `React.act` while running tests.
372
+ */
373
+ setNotifyFunction: (u) => {
374
+ s = u;
375
+ },
376
+ /**
377
+ * Use this method to set a custom function to batch notifications together into a single tick.
378
+ * By default React Query will use the batch function provided by ReactDOM or React Native.
379
+ */
380
+ setBatchNotifyFunction: (u) => {
381
+ r = u;
382
+ },
383
+ setScheduler: (u) => {
384
+ n = u;
385
+ }
386
+ };
387
+ }
388
+ var J = jt(), Ut = class {
389
+ #e;
390
+ destroy() {
391
+ this.clearGcTimeout();
392
+ }
393
+ scheduleGc() {
394
+ this.clearGcTimeout(), N(this.gcTime) && (this.#e = setTimeout(() => {
395
+ this.optionalRemove();
396
+ }, this.gcTime));
397
+ }
398
+ updateGcTime(t) {
399
+ this.gcTime = Math.max(
400
+ this.gcTime || 0,
401
+ t ?? (E ? 1 / 0 : 5 * 60 * 1e3)
402
+ );
403
+ }
404
+ clearGcTimeout() {
405
+ this.#e && (clearTimeout(this.#e), this.#e = void 0);
406
+ }
407
+ }, Ee = class extends Ut {
408
+ #e;
409
+ #t;
410
+ #s;
411
+ #n;
412
+ #r;
413
+ #o;
414
+ #a;
415
+ constructor(t) {
416
+ super(), this.#a = !1, this.#o = t.defaultOptions, this.setOptions(t.options), this.observers = [], this.#n = t.client, this.#s = this.#n.getQueryCache(), this.queryKey = t.queryKey, this.queryHash = t.queryHash, this.#e = Qt(this.options), this.state = t.state ?? this.#e, this.scheduleGc();
417
+ }
418
+ get meta() {
419
+ return this.options.meta;
420
+ }
421
+ get promise() {
422
+ return this.#r?.promise;
423
+ }
424
+ setOptions(t) {
425
+ this.options = { ...this.#o, ...t }, this.updateGcTime(this.options.gcTime);
426
+ }
427
+ optionalRemove() {
428
+ !this.observers.length && this.state.fetchStatus === "idle" && this.#s.remove(this);
429
+ }
430
+ setData(t, e) {
431
+ const s = K(this.state.data, t, this.options);
432
+ return this.#i({
433
+ data: s,
434
+ type: "success",
435
+ dataUpdatedAt: e?.updatedAt,
436
+ manual: e?.manual
437
+ }), s;
438
+ }
439
+ setState(t, e) {
440
+ this.#i({ type: "setState", state: t, setStateOptions: e });
441
+ }
442
+ cancel(t) {
443
+ const e = this.#r?.promise;
444
+ return this.#r?.cancel(t), e ? e.then(F).catch(F) : Promise.resolve();
445
+ }
446
+ destroy() {
447
+ super.destroy(), this.cancel({ silent: !0 });
448
+ }
449
+ reset() {
450
+ this.destroy(), this.setState(this.#e);
451
+ }
452
+ isActive() {
453
+ return this.observers.some(
454
+ (t) => w(t.options.enabled, this) !== !1
455
+ );
456
+ }
457
+ isDisabled() {
458
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === k || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
459
+ }
460
+ isStatic() {
461
+ return this.getObserversCount() > 0 ? this.observers.some(
462
+ (t) => x(t.options.staleTime, this) === "static"
463
+ ) : !1;
464
+ }
465
+ isStale() {
466
+ return this.getObserversCount() > 0 ? this.observers.some(
467
+ (t) => t.getCurrentResult().isStale
468
+ ) : this.state.data === void 0 || this.state.isInvalidated;
469
+ }
470
+ isStaleByTime(t = 0) {
471
+ return this.state.data === void 0 ? !0 : t === "static" ? !1 : this.state.isInvalidated ? !0 : !ot(this.state.dataUpdatedAt, t);
472
+ }
473
+ onFocus() {
474
+ this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#r?.continue();
475
+ }
476
+ onOnline() {
477
+ this.observers.find((e) => e.shouldFetchOnReconnect())?.refetch({ cancelRefetch: !1 }), this.#r?.continue();
478
+ }
479
+ addObserver(t) {
480
+ this.observers.includes(t) || (this.observers.push(t), this.clearGcTimeout(), this.#s.notify({ type: "observerAdded", query: this, observer: t }));
481
+ }
482
+ removeObserver(t) {
483
+ this.observers.includes(t) && (this.observers = this.observers.filter((e) => e !== t), this.observers.length || (this.#r && (this.#a ? this.#r.cancel({ revert: !0 }) : this.#r.cancelRetry()), this.scheduleGc()), this.#s.notify({ type: "observerRemoved", query: this, observer: t }));
484
+ }
485
+ getObserversCount() {
486
+ return this.observers.length;
487
+ }
488
+ invalidate() {
489
+ this.state.isInvalidated || this.#i({ type: "invalidate" });
490
+ }
491
+ fetch(t, e) {
492
+ if (this.state.fetchStatus !== "idle") {
493
+ if (this.state.data !== void 0 && e?.cancelRefetch)
494
+ this.cancel({ silent: !0 });
495
+ else if (this.#r)
496
+ return this.#r.continueRetry(), this.#r.promise;
497
+ }
498
+ if (t && this.setOptions(t), !this.options.queryFn) {
499
+ const a = this.observers.find((l) => l.options.queryFn);
500
+ a && this.setOptions(a.options);
501
+ }
502
+ process.env.NODE_ENV !== "production" && (Array.isArray(this.options.queryKey) || console.error(
503
+ "As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"
504
+ ));
505
+ const s = new AbortController(), r = (a) => {
506
+ Object.defineProperty(a, "signal", {
507
+ enumerable: !0,
508
+ get: () => (this.#a = !0, s.signal)
509
+ });
510
+ }, n = () => {
511
+ const a = Pt(this.options, e), h = (() => {
512
+ const f = {
513
+ client: this.#n,
514
+ queryKey: this.queryKey,
515
+ meta: this.meta
516
+ };
517
+ return r(f), f;
518
+ })();
519
+ return this.#a = !1, this.options.persister ? this.options.persister(
520
+ a,
521
+ h,
522
+ this
523
+ ) : a(h);
524
+ }, o = (() => {
525
+ const a = {
526
+ fetchOptions: e,
527
+ options: this.options,
528
+ queryKey: this.queryKey,
529
+ client: this.#n,
530
+ state: this.state,
531
+ fetchFn: n
532
+ };
533
+ return r(a), a;
534
+ })();
535
+ this.options.behavior?.onFetch(o, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== o.fetchOptions?.meta) && this.#i({ type: "fetch", meta: o.fetchOptions?.meta });
536
+ const u = (a) => {
537
+ U(a) && a.silent || this.#i({
538
+ type: "error",
539
+ error: a
540
+ }), U(a) || (this.#s.config.onError?.(
541
+ a,
542
+ this
543
+ ), this.#s.config.onSettled?.(
544
+ this.state.data,
545
+ a,
546
+ this
547
+ )), this.scheduleGc();
548
+ };
549
+ return this.#r = kt({
550
+ initialPromise: e?.initialPromise,
551
+ fn: o.fetchFn,
552
+ abort: s.abort.bind(s),
553
+ onSuccess: (a) => {
554
+ if (a === void 0) {
555
+ process.env.NODE_ENV !== "production" && console.error(
556
+ `Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`
557
+ ), u(new Error(`${this.queryHash} data is undefined`));
558
+ return;
559
+ }
560
+ try {
561
+ this.setData(a);
562
+ } catch (l) {
563
+ u(l);
564
+ return;
565
+ }
566
+ this.#s.config.onSuccess?.(a, this), this.#s.config.onSettled?.(
567
+ a,
568
+ this.state.error,
569
+ this
570
+ ), this.scheduleGc();
571
+ },
572
+ onError: u,
573
+ onFail: (a, l) => {
574
+ this.#i({ type: "failed", failureCount: a, error: l });
575
+ },
576
+ onPause: () => {
577
+ this.#i({ type: "pause" });
578
+ },
579
+ onContinue: () => {
580
+ this.#i({ type: "continue" });
581
+ },
582
+ retry: o.options.retry,
583
+ retryDelay: o.options.retryDelay,
584
+ networkMode: o.options.networkMode,
585
+ canRun: () => !0
586
+ }), this.#r.start();
587
+ }
588
+ #i(t) {
589
+ const e = (s) => {
590
+ switch (t.type) {
591
+ case "failed":
592
+ return {
593
+ ...s,
594
+ fetchFailureCount: t.failureCount,
595
+ fetchFailureReason: t.error
596
+ };
597
+ case "pause":
598
+ return {
599
+ ...s,
600
+ fetchStatus: "paused"
601
+ };
602
+ case "continue":
603
+ return {
604
+ ...s,
605
+ fetchStatus: "fetching"
606
+ };
607
+ case "fetch":
608
+ return {
609
+ ...s,
610
+ ...ft(s.data, this.options),
611
+ fetchMeta: t.meta ?? null
612
+ };
613
+ case "success":
614
+ return this.#t = void 0, {
615
+ ...s,
616
+ data: t.data,
617
+ dataUpdateCount: s.dataUpdateCount + 1,
618
+ dataUpdatedAt: t.dataUpdatedAt ?? Date.now(),
619
+ error: null,
620
+ isInvalidated: !1,
621
+ status: "success",
622
+ ...!t.manual && {
623
+ fetchStatus: "idle",
624
+ fetchFailureCount: 0,
625
+ fetchFailureReason: null
626
+ }
627
+ };
628
+ case "error":
629
+ const r = t.error;
630
+ return U(r) && r.revert && this.#t ? { ...this.#t, fetchStatus: "idle" } : {
631
+ ...s,
632
+ error: r,
633
+ errorUpdateCount: s.errorUpdateCount + 1,
634
+ errorUpdatedAt: Date.now(),
635
+ fetchFailureCount: s.fetchFailureCount + 1,
636
+ fetchFailureReason: r,
637
+ fetchStatus: "idle",
638
+ status: "error"
639
+ };
640
+ case "invalidate":
641
+ return {
642
+ ...s,
643
+ isInvalidated: !0
644
+ };
645
+ case "setState":
646
+ return {
647
+ ...s,
648
+ ...t.state
649
+ };
650
+ }
651
+ };
652
+ this.state = e(this.state), J.batch(() => {
653
+ this.observers.forEach((s) => {
654
+ s.onQueryUpdate();
655
+ }), this.#s.notify({ query: this, type: "updated", action: t });
656
+ });
657
+ }
658
+ };
659
+ function ft(t, e) {
660
+ return {
661
+ fetchFailureCount: 0,
662
+ fetchFailureReason: null,
663
+ fetchStatus: ht(e.networkMode) ? "fetching" : "paused",
664
+ ...t === void 0 && {
665
+ error: null,
666
+ status: "pending"
667
+ }
668
+ };
669
+ }
670
+ function Qt(t) {
671
+ const e = typeof t.initialData == "function" ? t.initialData() : t.initialData, s = e !== void 0, r = s ? typeof t.initialDataUpdatedAt == "function" ? t.initialDataUpdatedAt() : t.initialDataUpdatedAt : 0;
672
+ return {
673
+ data: e,
674
+ dataUpdateCount: 0,
675
+ dataUpdatedAt: s ? r ?? Date.now() : 0,
676
+ error: null,
677
+ errorUpdateCount: 0,
678
+ errorUpdatedAt: 0,
679
+ fetchFailureCount: 0,
680
+ fetchFailureReason: null,
681
+ fetchMeta: null,
682
+ isInvalidated: !1,
683
+ status: s ? "success" : "pending",
684
+ fetchStatus: "idle"
685
+ };
686
+ }
687
+ var dt = class extends V {
688
+ constructor(t, e) {
689
+ super(), this.options = e, this.#e = t, this.#i = null, this.#a = B(), this.options.experimental_prefetchInRender || this.#a.reject(
690
+ new Error("experimental_prefetchInRender feature flag is not enabled")
691
+ ), this.bindMethods(), this.setOptions(e);
692
+ }
693
+ #e;
694
+ #t = void 0;
695
+ #s = void 0;
696
+ #n = void 0;
697
+ #r;
698
+ #o;
699
+ #a;
700
+ #i;
701
+ #y;
702
+ #f;
703
+ // This property keeps track of the last query with defined data.
704
+ // It will be used to pass the previous data and query to the placeholder function between renders.
705
+ #d;
706
+ #c;
707
+ #h;
708
+ #u;
709
+ #p = /* @__PURE__ */ new Set();
710
+ bindMethods() {
711
+ this.refetch = this.refetch.bind(this);
712
+ }
713
+ onSubscribe() {
714
+ this.listeners.size === 1 && (this.#t.addObserver(this), rt(this.#t, this.options) ? this.#l() : this.updateResult(), this.#b());
715
+ }
716
+ onUnsubscribe() {
717
+ this.hasListeners() || this.destroy();
718
+ }
719
+ shouldFetchOnReconnect() {
720
+ return G(
721
+ this.#t,
722
+ this.options,
723
+ this.options.refetchOnReconnect
724
+ );
725
+ }
726
+ shouldFetchOnWindowFocus() {
727
+ return G(
728
+ this.#t,
729
+ this.options,
730
+ this.options.refetchOnWindowFocus
731
+ );
732
+ }
733
+ destroy() {
734
+ this.listeners = /* @__PURE__ */ new Set(), this.#S(), this.#w(), this.#t.removeObserver(this);
735
+ }
736
+ setOptions(t) {
737
+ const e = this.options, s = this.#t;
738
+ if (this.options = this.#e.defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof w(this.options.enabled, this.#t) != "boolean")
739
+ throw new Error(
740
+ "Expected enabled to be a boolean or a callback that returns a boolean"
741
+ );
742
+ this.#R(), this.#t.setOptions(this.options), e._defaulted && !_(this.options, e) && this.#e.getQueryCache().notify({
743
+ type: "observerOptionsUpdated",
744
+ query: this.#t,
745
+ observer: this
746
+ });
747
+ const r = this.hasListeners();
748
+ r && nt(
749
+ this.#t,
750
+ s,
751
+ this.options,
752
+ e
753
+ ) && this.#l(), this.updateResult(), r && (this.#t !== s || w(this.options.enabled, this.#t) !== w(e.enabled, this.#t) || x(this.options.staleTime, this.#t) !== x(e.staleTime, this.#t)) && this.#v();
754
+ const n = this.#g();
755
+ r && (this.#t !== s || w(this.options.enabled, this.#t) !== w(e.enabled, this.#t) || n !== this.#u) && this.#m(n);
756
+ }
757
+ getOptimisticResult(t) {
758
+ const e = this.#e.getQueryCache().build(this.#e, t), s = this.createResult(e, t);
759
+ return Lt(this, s) && (this.#n = s, this.#o = this.options, this.#r = this.#t.state), s;
760
+ }
761
+ getCurrentResult() {
762
+ return this.#n;
763
+ }
764
+ trackResult(t, e) {
765
+ return new Proxy(t, {
766
+ get: (s, r) => (this.trackProp(r), e?.(r), Reflect.get(s, r))
767
+ });
768
+ }
769
+ trackProp(t) {
770
+ this.#p.add(t);
771
+ }
772
+ getCurrentQuery() {
773
+ return this.#t;
774
+ }
775
+ refetch({ ...t } = {}) {
776
+ return this.fetch({
777
+ ...t
778
+ });
779
+ }
780
+ fetchOptimistic(t) {
781
+ const e = this.#e.defaultQueryOptions(t), s = this.#e.getQueryCache().build(this.#e, e);
782
+ return s.fetch().then(() => this.createResult(s, e));
783
+ }
784
+ fetch(t) {
785
+ return this.#l({
786
+ ...t,
787
+ cancelRefetch: t.cancelRefetch ?? !0
788
+ }).then(() => (this.updateResult(), this.#n));
789
+ }
790
+ #l(t) {
791
+ this.#R();
792
+ let e = this.#t.fetch(
793
+ this.options,
794
+ t
795
+ );
796
+ return t?.throwOnError || (e = e.catch(F)), e;
797
+ }
798
+ #v() {
799
+ this.#S();
800
+ const t = x(
801
+ this.options.staleTime,
802
+ this.#t
803
+ );
804
+ if (E || this.#n.isStale || !N(t))
805
+ return;
806
+ const s = ot(this.#n.dataUpdatedAt, t) + 1;
807
+ this.#c = setTimeout(() => {
808
+ this.#n.isStale || this.updateResult();
809
+ }, s);
810
+ }
811
+ #g() {
812
+ return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
813
+ }
814
+ #m(t) {
815
+ this.#w(), this.#u = t, !(E || w(this.options.enabled, this.#t) === !1 || !N(this.#u) || this.#u === 0) && (this.#h = setInterval(() => {
816
+ (this.options.refetchIntervalInBackground || ut.isFocused()) && this.#l();
817
+ }, this.#u));
818
+ }
819
+ #b() {
820
+ this.#v(), this.#m(this.#g());
821
+ }
822
+ #S() {
823
+ this.#c && (clearTimeout(this.#c), this.#c = void 0);
824
+ }
825
+ #w() {
826
+ this.#h && (clearInterval(this.#h), this.#h = void 0);
827
+ }
828
+ createResult(t, e) {
829
+ const s = this.#t, r = this.options, n = this.#n, i = this.#r, o = this.#o, a = t !== s ? t.state : this.#s, { state: l } = t;
830
+ let h = { ...l }, f = !1, d;
831
+ if (e._optimisticResults) {
832
+ const b = this.hasListeners(), D = !b && rt(t, e), T = b && nt(t, s, e, r);
833
+ (D || T) && (h = {
834
+ ...h,
835
+ ...ft(l.data, t.options)
836
+ }), e._optimisticResults === "isRestoring" && (h.fetchStatus = "idle");
837
+ }
838
+ let { error: g, errorUpdatedAt: O, status: c } = h;
839
+ d = h.data;
840
+ let m = !1;
841
+ if (e.placeholderData !== void 0 && d === void 0 && c === "pending") {
842
+ let b;
843
+ n?.isPlaceholderData && e.placeholderData === o?.placeholderData ? (b = n.data, m = !0) : b = typeof e.placeholderData == "function" ? e.placeholderData(
844
+ this.#d?.state.data,
845
+ this.#d
846
+ ) : e.placeholderData, b !== void 0 && (c = "success", d = K(
847
+ n?.data,
848
+ b,
849
+ e
850
+ ), f = !0);
851
+ }
852
+ if (e.select && d !== void 0 && !m)
853
+ if (n && d === i?.data && e.select === this.#y)
854
+ d = this.#f;
855
+ else
856
+ try {
857
+ this.#y = e.select, d = e.select(d), d = K(n?.data, d, e), this.#f = d, this.#i = null;
858
+ } catch (b) {
859
+ this.#i = b;
860
+ }
861
+ this.#i && (g = this.#i, d = this.#f, O = Date.now(), c = "error");
862
+ const v = h.fetchStatus === "fetching", p = c === "pending", y = c === "error", C = p && v, P = d !== void 0, R = {
863
+ status: c,
864
+ fetchStatus: h.fetchStatus,
865
+ isPending: p,
866
+ isSuccess: c === "success",
867
+ isError: y,
868
+ isInitialLoading: C,
869
+ isLoading: C,
870
+ data: d,
871
+ dataUpdatedAt: h.dataUpdatedAt,
872
+ error: g,
873
+ errorUpdatedAt: O,
874
+ failureCount: h.fetchFailureCount,
875
+ failureReason: h.fetchFailureReason,
876
+ errorUpdateCount: h.errorUpdateCount,
877
+ isFetched: h.dataUpdateCount > 0 || h.errorUpdateCount > 0,
878
+ isFetchedAfterMount: h.dataUpdateCount > a.dataUpdateCount || h.errorUpdateCount > a.errorUpdateCount,
879
+ isFetching: v,
880
+ isRefetching: v && !p,
881
+ isLoadingError: y && !P,
882
+ isPaused: h.fetchStatus === "paused",
883
+ isPlaceholderData: f,
884
+ isRefetchError: y && P,
885
+ isStale: Z(t, e),
886
+ refetch: this.refetch,
887
+ promise: this.#a
888
+ };
889
+ if (this.options.experimental_prefetchInRender) {
890
+ const b = (A) => {
891
+ R.status === "error" ? A.reject(R.error) : R.data !== void 0 && A.resolve(R.data);
892
+ }, D = () => {
893
+ const A = this.#a = R.promise = B();
894
+ b(A);
895
+ }, T = this.#a;
896
+ switch (T.status) {
897
+ case "pending":
898
+ t.queryHash === s.queryHash && b(T);
899
+ break;
900
+ case "fulfilled":
901
+ (R.status === "error" || R.data !== T.value) && D();
902
+ break;
903
+ case "rejected":
904
+ (R.status !== "error" || R.error !== T.reason) && D();
905
+ break;
906
+ }
907
+ }
908
+ return R;
909
+ }
910
+ updateResult() {
911
+ const t = this.#n, e = this.createResult(this.#t, this.options);
912
+ if (this.#r = this.#t.state, this.#o = this.options, this.#r.data !== void 0 && (this.#d = this.#t), _(e, t))
913
+ return;
914
+ this.#n = e;
915
+ const s = () => {
916
+ if (!t)
917
+ return !0;
918
+ const { notifyOnChangeProps: r } = this.options, n = typeof r == "function" ? r() : r;
919
+ if (n === "all" || !n && !this.#p.size)
920
+ return !0;
921
+ const i = new Set(
922
+ n ?? this.#p
923
+ );
924
+ return this.options.throwOnError && i.add("error"), Object.keys(this.#n).some((o) => {
925
+ const u = o;
926
+ return this.#n[u] !== t[u] && i.has(u);
927
+ });
928
+ };
929
+ this.#O({ listeners: s() });
930
+ }
931
+ #R() {
932
+ const t = this.#e.getQueryCache().build(this.#e, this.options);
933
+ if (t === this.#t)
934
+ return;
935
+ const e = this.#t;
936
+ this.#t = t, this.#s = t.state, this.hasListeners() && (e?.removeObserver(this), t.addObserver(this));
937
+ }
938
+ onQueryUpdate() {
939
+ this.updateResult(), this.hasListeners() && this.#b();
940
+ }
941
+ #O(t) {
942
+ J.batch(() => {
943
+ t.listeners && this.listeners.forEach((e) => {
944
+ e(this.#n);
945
+ }), this.#e.getQueryCache().notify({
946
+ query: this.#t,
947
+ type: "observerResultsUpdated"
948
+ });
949
+ });
950
+ }
951
+ };
952
+ function Nt(t, e) {
953
+ return w(e.enabled, t) !== !1 && t.state.data === void 0 && !(t.state.status === "error" && e.retryOnMount === !1);
954
+ }
955
+ function rt(t, e) {
956
+ return Nt(t, e) || t.state.data !== void 0 && G(t, e, e.refetchOnMount);
957
+ }
958
+ function G(t, e, s) {
959
+ if (w(e.enabled, t) !== !1 && x(e.staleTime, t) !== "static") {
960
+ const r = typeof s == "function" ? s(t) : s;
961
+ return r === "always" || r !== !1 && Z(t, e);
962
+ }
963
+ return !1;
964
+ }
965
+ function nt(t, e, s, r) {
966
+ return (t !== e || w(r.enabled, t) === !1) && (!s.suspense || t.state.status !== "error") && Z(t, s);
967
+ }
968
+ function Z(t, e) {
969
+ return w(e.enabled, t) !== !1 && t.isStaleByTime(x(e.staleTime, t));
970
+ }
971
+ function Lt(t, e) {
972
+ return !_(t.getCurrentResult(), e);
973
+ }
974
+ var pt = S.createContext(
975
+ void 0
976
+ ), yt = (t) => {
977
+ const e = S.useContext(pt);
978
+ if (t)
979
+ return t;
980
+ if (!e)
981
+ throw new Error("No QueryClient set, use QueryClientProvider to set one");
982
+ return e;
983
+ }, Fe = ({
984
+ client: t,
985
+ children: e
986
+ }) => (S.useEffect(() => (t.mount(), () => {
987
+ t.unmount();
988
+ }), [t]), /* @__PURE__ */ Ct.jsx(pt.Provider, { value: t, children: e })), vt = S.createContext(!1), Mt = () => S.useContext(vt);
989
+ vt.Provider;
990
+ function _t() {
991
+ let t = !1;
992
+ return {
993
+ clearReset: () => {
994
+ t = !1;
995
+ },
996
+ reset: () => {
997
+ t = !0;
998
+ },
999
+ isReset: () => t
1000
+ };
1001
+ }
1002
+ var Ht = S.createContext(_t()), Kt = () => S.useContext(Ht), Bt = (t, e) => {
1003
+ (t.suspense || t.throwOnError || t.experimental_prefetchInRender) && (e.isReset() || (t.retryOnMount = !1));
1004
+ }, Gt = (t) => {
1005
+ S.useEffect(() => {
1006
+ t.clearReset();
1007
+ }, [t]);
1008
+ }, zt = ({
1009
+ result: t,
1010
+ errorResetBoundary: e,
1011
+ throwOnError: s,
1012
+ query: r,
1013
+ suspense: n
1014
+ }) => t.isError && !e.isReset() && !t.isFetching && r && (n && t.data === void 0 || Tt(s, [t.error, r])), Vt = (t, e) => e.state.data === void 0, $t = (t) => {
1015
+ if (t.suspense) {
1016
+ const e = (r) => r === "static" ? r : Math.max(r ?? 1e3, 1e3), s = t.staleTime;
1017
+ t.staleTime = typeof s == "function" ? (...r) => e(s(...r)) : e(s), typeof t.gcTime == "number" && (t.gcTime = Math.max(t.gcTime, 1e3));
1018
+ }
1019
+ }, Jt = (t, e) => t.isLoading && t.isFetching && !e, Zt = (t, e) => t?.suspense && e.isPending, it = (t, e, s) => e.fetchOptimistic(t).catch(() => {
1020
+ s.clearReset();
1021
+ });
1022
+ function gt(t, e, s) {
1023
+ if (process.env.NODE_ENV !== "production" && (typeof t != "object" || Array.isArray(t)))
1024
+ throw new Error(
1025
+ 'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
1026
+ );
1027
+ const r = Mt(), n = Kt(), i = yt(s), o = i.defaultQueryOptions(t);
1028
+ i.getDefaultOptions().queries?._experimental_beforeQuery?.(
1029
+ o
1030
+ ), process.env.NODE_ENV !== "production" && (o.queryFn || console.error(
1031
+ `[${o.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
1032
+ )), o._optimisticResults = r ? "isRestoring" : "optimistic", $t(o), Bt(o, n), Gt(n);
1033
+ const u = !i.getQueryCache().get(o.queryHash), [a] = S.useState(
1034
+ () => new e(
1035
+ i,
1036
+ o
1037
+ )
1038
+ ), l = a.getOptimisticResult(o), h = !r && t.subscribed !== !1;
1039
+ if (S.useSyncExternalStore(
1040
+ S.useCallback(
1041
+ (f) => {
1042
+ const d = h ? a.subscribe(J.batchCalls(f)) : F;
1043
+ return a.updateResult(), d;
1044
+ },
1045
+ [a, h]
1046
+ ),
1047
+ () => a.getCurrentResult(),
1048
+ () => a.getCurrentResult()
1049
+ ), S.useEffect(() => {
1050
+ a.setOptions(o);
1051
+ }, [o, a]), Zt(o, l))
1052
+ throw it(o, a, n);
1053
+ if (zt({
1054
+ result: l,
1055
+ errorResetBoundary: n,
1056
+ throwOnError: o.throwOnError,
1057
+ query: i.getQueryCache().get(o.queryHash),
1058
+ suspense: o.suspense
1059
+ }))
1060
+ throw l.error;
1061
+ return i.getDefaultOptions().queries?._experimental_afterQuery?.(
1062
+ o,
1063
+ l
1064
+ ), o.experimental_prefetchInRender && !E && Jt(l, r) && (u ? (
1065
+ // Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
1066
+ it(o, a, n)
1067
+ ) : (
1068
+ // subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
1069
+ i.getQueryCache().get(o.queryHash)?.promise
1070
+ ))?.catch(F).finally(() => {
1071
+ a.updateResult();
1072
+ }), o.notifyOnChangeProps ? l : a.trackResult(l);
1073
+ }
1074
+ function Wt(t, e) {
1075
+ return gt(t, dt, e);
1076
+ }
1077
+ function Yt(t, e) {
1078
+ return process.env.NODE_ENV !== "production" && t.queryFn === k && console.error("skipToken is not allowed for useSuspenseQuery"), gt(
1079
+ {
1080
+ ...t,
1081
+ enabled: !0,
1082
+ suspense: !0,
1083
+ throwOnError: Vt,
1084
+ placeholderData: void 0
1085
+ },
1086
+ dt,
1087
+ e
1088
+ );
1089
+ }
1090
+ const Xt = /^(\w+:\/\/[^/?]+)?([^?]*)(\?.*)?$/, te = (t) => t.filter(
1091
+ (e) => e != null && e !== !1 && (typeof e == "string" || typeof e == "number")
1092
+ ).map((e) => `${e}`).filter((e) => e), ee = (t) => {
1093
+ const e = t.join("/"), [, s = "", r = ""] = e.match(Xt) ?? [];
1094
+ return {
1095
+ prefix: s,
1096
+ pathname: r.split("/").filter((n) => n !== "")
1097
+ };
1098
+ }, se = (t) => {
1099
+ const { prefix: e, pathname: s } = t;
1100
+ let r = e;
1101
+ return s.length > 0 ? (r ? r += "/" : r = "/", r += s.join("/")) : r || (r = "/"), r;
1102
+ }, I = (...t) => {
1103
+ const e = te(t), s = ee(e);
1104
+ return se(s);
1105
+ }, mt = Object.freeze({
1106
+ API_IDENTITIES: ["api-identities"]
1107
+ }), Ie = () => {
1108
+ const t = yt();
1109
+ return {
1110
+ invalidateCache: async (e) => {
1111
+ await t.invalidateQueries({ queryKey: mt[e] });
1112
+ }
1113
+ };
1114
+ }, Pe = "no-dehydrate", W = (t, e) => {
1115
+ for (const s of t) {
1116
+ const r = Y(s, e);
1117
+ if (r !== void 0) return r;
1118
+ }
1119
+ }, Y = (t, e, s = []) => {
1120
+ const r = e(t, s);
1121
+ if (r !== void 0) return r;
1122
+ if (t.type === "category")
1123
+ for (const n of t.items) {
1124
+ const i = Y(n, e, [
1125
+ ...s,
1126
+ t
1127
+ ]);
1128
+ if (i !== void 0) return i;
1129
+ }
1130
+ }, Te = () => {
1131
+ const t = q(), { navigation: e } = bt();
1132
+ return W(e, (s) => {
1133
+ if (s.type === "doc" && I(s.path) === t.pathname)
1134
+ return s;
1135
+ });
1136
+ }, xe = (t) => {
1137
+ const e = q();
1138
+ return Y(t, (s) => {
1139
+ if (s.type === "category" && s.link && I(s.link.path) === e.pathname || s.type === "doc" && I(s.path) === e.pathname)
1140
+ return !0;
1141
+ });
1142
+ }, De = () => {
1143
+ const t = q().pathname, { navigation: e } = bt();
1144
+ let s, r, n = !1;
1145
+ return W(e, (i) => {
1146
+ const o = i.type === "doc" ? I(i.path) : i.type === "category" && i.link ? I(i.link.path) : void 0;
1147
+ if (o) {
1148
+ if (n)
1149
+ return r = { label: i.label, id: o }, !0;
1150
+ t === o ? n = !0 : s = { label: i.label, id: o };
1151
+ }
1152
+ }), { prev: s, next: r };
1153
+ }, Ae = Et(
1154
+ "relative flex items-center gap-2 px-(--padding-nav-item) my-0.5 py-1.5 rounded-lg hover:bg-accent tabular-nums",
1155
+ {
1156
+ variants: {
1157
+ isActive: {
1158
+ true: "bg-accent font-medium",
1159
+ false: "text-foreground/80"
1160
+ },
1161
+ isMuted: {
1162
+ true: "text-foreground/30",
1163
+ false: ""
1164
+ },
1165
+ isPending: {
1166
+ true: "bg-accent animate-pulse",
1167
+ false: ""
1168
+ }
1169
+ },
1170
+ defaultVariants: {
1171
+ isActive: !1
1172
+ }
1173
+ }
1174
+ ), ke = (t) => (e) => e.display === "hide" || !e.label ? !1 : e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", re = Rt(
1175
+ void 0
1176
+ ), X = () => {
1177
+ const t = Ot(re);
1178
+ if (!t)
1179
+ throw new Error("useZudoku must be used within a ZudokuProvider.");
1180
+ return t;
1181
+ }, qe = () => {
1182
+ const { getApiIdentities: t } = X();
1183
+ return Wt({
1184
+ queryFn: t,
1185
+ queryKey: mt.API_IDENTITIES
1186
+ });
1187
+ }, Q = (t) => {
1188
+ switch (t.type) {
1189
+ case "doc":
1190
+ return I(t.path);
1191
+ case "category":
1192
+ return t.link ? I(t.link.path) : void 0;
1193
+ case "link":
1194
+ return t.to;
1195
+ case "custom-page":
1196
+ return t.path;
1197
+ default:
1198
+ return;
1199
+ }
1200
+ }, bt = () => {
1201
+ const { getPluginNavigation: t, navigation: e, options: s } = X(), r = q(), n = fe(), i = s.protectedRoutes?.some(
1202
+ (h) => j(h, r.pathname)
1203
+ ), o = W(e, (h, f) => {
1204
+ if (Q(h) === r.pathname)
1205
+ return f.at(0) ?? h;
1206
+ }), { data: u } = Yt({
1207
+ queryFn: () => t(r.pathname),
1208
+ queryKey: ["plugin-navigation", r.pathname]
1209
+ });
1210
+ let a = o;
1211
+ if (!o && u.length > 0) {
1212
+ const h = u.flatMap((f) => Q(f)?.split("?").at(0)?.split("#").at(0) ?? []);
1213
+ a = e.flatMap((f) => {
1214
+ const d = Q(f);
1215
+ return d ? [{ item: f, path: d }] : [];
1216
+ }).sort((f, d) => d.path.length - f.path.length).find(({ path: f }) => h.some(
1217
+ (d) => j({ path: f, end: !1 }, d) ?? j({ path: d, end: !1 }, f)
1218
+ ))?.item;
1219
+ }
1220
+ return {
1221
+ navigation: n.isAuthEnabled && !n.isAuthenticated && i ? [] : [...o?.type === "category" ? o.items : [], ...u],
1222
+ topNavItem: a
1223
+ };
1224
+ }, at = (t) => {
1225
+ let e;
1226
+ const s = /* @__PURE__ */ new Set(), r = (l, h) => {
1227
+ const f = typeof l == "function" ? l(e) : l;
1228
+ if (!Object.is(f, e)) {
1229
+ const d = e;
1230
+ e = h ?? (typeof f != "object" || f === null) ? f : Object.assign({}, e, f), s.forEach((g) => g(e, d));
1231
+ }
1232
+ }, n = () => e, u = { setState: r, getState: n, getInitialState: () => a, subscribe: (l) => (s.add(l), () => s.delete(l)) }, a = e = t(r, n, u);
1233
+ return u;
1234
+ }, ne = (t) => t ? at(t) : at, ie = (t) => t;
1235
+ function ae(t, e = ie) {
1236
+ const s = tt.useSyncExternalStore(
1237
+ t.subscribe,
1238
+ () => e(t.getState()),
1239
+ () => e(t.getInitialState())
1240
+ );
1241
+ return tt.useDebugValue(s), s;
1242
+ }
1243
+ const oe = (t) => {
1244
+ const e = ne(t), s = (r) => ae(e, r);
1245
+ return Object.assign(s, e), s;
1246
+ }, ue = (t) => oe;
1247
+ function St(t, e) {
1248
+ let s;
1249
+ try {
1250
+ s = t();
1251
+ } catch {
1252
+ return;
1253
+ }
1254
+ return {
1255
+ getItem: (n) => {
1256
+ var i;
1257
+ const o = (a) => a === null ? null : JSON.parse(a, void 0), u = (i = s.getItem(n)) != null ? i : null;
1258
+ return u instanceof Promise ? u.then(o) : o(u);
1259
+ },
1260
+ setItem: (n, i) => s.setItem(n, JSON.stringify(i, void 0)),
1261
+ removeItem: (n) => s.removeItem(n)
1262
+ };
1263
+ }
1264
+ const z = (t) => (e) => {
1265
+ try {
1266
+ const s = t(e);
1267
+ return s instanceof Promise ? s : {
1268
+ then(r) {
1269
+ return z(r)(s);
1270
+ },
1271
+ catch(r) {
1272
+ return this;
1273
+ }
1274
+ };
1275
+ } catch (s) {
1276
+ return {
1277
+ then(r) {
1278
+ return this;
1279
+ },
1280
+ catch(r) {
1281
+ return z(r)(s);
1282
+ }
1283
+ };
1284
+ }
1285
+ }, ce = (t, e) => (s, r, n) => {
1286
+ let i = {
1287
+ storage: St(() => localStorage),
1288
+ partialize: (c) => c,
1289
+ version: 0,
1290
+ merge: (c, m) => ({
1291
+ ...m,
1292
+ ...c
1293
+ }),
1294
+ ...e
1295
+ }, o = !1;
1296
+ const u = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set();
1297
+ let l = i.storage;
1298
+ if (!l)
1299
+ return t(
1300
+ (...c) => {
1301
+ console.warn(
1302
+ `[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`
1303
+ ), s(...c);
1304
+ },
1305
+ r,
1306
+ n
1307
+ );
1308
+ const h = () => {
1309
+ const c = i.partialize({ ...r() });
1310
+ return l.setItem(i.name, {
1311
+ state: c,
1312
+ version: i.version
1313
+ });
1314
+ }, f = n.setState;
1315
+ n.setState = (c, m) => {
1316
+ f(c, m), h();
1317
+ };
1318
+ const d = t(
1319
+ (...c) => {
1320
+ s(...c), h();
1321
+ },
1322
+ r,
1323
+ n
1324
+ );
1325
+ n.getInitialState = () => d;
1326
+ let g;
1327
+ const O = () => {
1328
+ var c, m;
1329
+ if (!l) return;
1330
+ o = !1, u.forEach((p) => {
1331
+ var y;
1332
+ return p((y = r()) != null ? y : d);
1333
+ });
1334
+ const v = ((m = i.onRehydrateStorage) == null ? void 0 : m.call(i, (c = r()) != null ? c : d)) || void 0;
1335
+ return z(l.getItem.bind(l))(i.name).then((p) => {
1336
+ if (p)
1337
+ if (typeof p.version == "number" && p.version !== i.version) {
1338
+ if (i.migrate) {
1339
+ const y = i.migrate(
1340
+ p.state,
1341
+ p.version
1342
+ );
1343
+ return y instanceof Promise ? y.then((C) => [!0, C]) : [!0, y];
1344
+ }
1345
+ console.error(
1346
+ "State loaded from storage couldn't be migrated since no migrate function was provided"
1347
+ );
1348
+ } else
1349
+ return [!1, p.state];
1350
+ return [!1, void 0];
1351
+ }).then((p) => {
1352
+ var y;
1353
+ const [C, P] = p;
1354
+ if (g = i.merge(
1355
+ P,
1356
+ (y = r()) != null ? y : d
1357
+ ), s(g, !0), C)
1358
+ return h();
1359
+ }).then(() => {
1360
+ v?.(g, void 0), g = r(), o = !0, a.forEach((p) => p(g));
1361
+ }).catch((p) => {
1362
+ v?.(void 0, p);
1363
+ });
1364
+ };
1365
+ return n.persist = {
1366
+ setOptions: (c) => {
1367
+ i = {
1368
+ ...i,
1369
+ ...c
1370
+ }, c.storage && (l = c.storage);
1371
+ },
1372
+ clearStorage: () => {
1373
+ l?.removeItem(i.name);
1374
+ },
1375
+ getOptions: () => i,
1376
+ rehydrate: () => O(),
1377
+ hasHydrated: () => o,
1378
+ onHydrate: (c) => (u.add(c), () => {
1379
+ u.delete(c);
1380
+ }),
1381
+ onFinishHydration: (c) => (a.add(c), () => {
1382
+ a.delete(c);
1383
+ })
1384
+ }, i.skipHydration || O(), g || d;
1385
+ }, he = ce, le = (t) => {
1386
+ const e = (s) => {
1387
+ s.key === t.persist.getOptions().name && s.newValue && t.persist.rehydrate();
1388
+ };
1389
+ return window.addEventListener("storage", e), () => {
1390
+ window.removeEventListener("storage", e);
1391
+ };
1392
+ }, wt = ue()(
1393
+ he(
1394
+ (t) => ({
1395
+ isAuthenticated: !1,
1396
+ isPending: !0,
1397
+ profile: null,
1398
+ providerData: null,
1399
+ setAuthenticationPending: () => t(() => ({
1400
+ isAuthenticated: !1,
1401
+ isPending: !1,
1402
+ profile: null,
1403
+ providerData: null
1404
+ })),
1405
+ setLoggedOut: () => t(() => ({
1406
+ isAuthenticated: !1,
1407
+ isPending: !1,
1408
+ profile: null,
1409
+ providerData: null
1410
+ })),
1411
+ setLoggedIn: ({
1412
+ profile: e,
1413
+ providerData: s
1414
+ }) => t(() => ({
1415
+ isAuthenticated: !0,
1416
+ isPending: !1,
1417
+ profile: e,
1418
+ providerData: s
1419
+ }))
1420
+ }),
1421
+ {
1422
+ merge: (t, e) => ({
1423
+ ...e,
1424
+ isPending: !1,
1425
+ ...typeof t == "object" ? t : {}
1426
+ }),
1427
+ name: "auth-state",
1428
+ storage: St(() => localStorage)
1429
+ }
1430
+ )
1431
+ );
1432
+ typeof window < "u" && le(wt);
1433
+ const fe = () => {
1434
+ const { authentication: t } = X(), e = wt(), s = typeof t < "u";
1435
+ return {
1436
+ isAuthEnabled: s,
1437
+ ...e,
1438
+ login: async () => {
1439
+ if (!s)
1440
+ throw new Error("Authentication is not enabled.");
1441
+ await t.signIn({
1442
+ redirectTo: window.location.href
1443
+ });
1444
+ },
1445
+ logout: async () => {
1446
+ if (!s)
1447
+ throw new Error("Authentication is not enabled.");
1448
+ await t.signOut(), window.location.href = "/";
1449
+ },
1450
+ signup: async () => {
1451
+ if (!s)
1452
+ throw new Error("Authentication is not enabled.");
1453
+ await t.signUp({
1454
+ redirectTo: window.location.href
1455
+ });
1456
+ }
1457
+ };
1458
+ };
1459
+ export {
1460
+ Re as A,
1461
+ ut as B,
1462
+ mt as C,
1463
+ ct as D,
1464
+ x as E,
1465
+ me as F,
1466
+ $ as G,
1467
+ k as H,
1468
+ Ce as I,
1469
+ Fe as J,
1470
+ ke as K,
1471
+ bt as L,
1472
+ Y as M,
1473
+ Pe as N,
1474
+ kt as O,
1475
+ xe as P,
1476
+ Ee as Q,
1477
+ Ut as R,
1478
+ V as S,
1479
+ Ae as T,
1480
+ ne as U,
1481
+ ae as V,
1482
+ re as Z,
1483
+ Te as a,
1484
+ De as b,
1485
+ Yt as c,
1486
+ X as d,
1487
+ fe as e,
1488
+ Ie as f,
1489
+ yt as g,
1490
+ L as h,
1491
+ F as i,
1492
+ I as j,
1493
+ Tt as k,
1494
+ Wt as l,
1495
+ we as m,
1496
+ J as n,
1497
+ ue as o,
1498
+ he as p,
1499
+ St as q,
1500
+ qe as r,
1501
+ _ as s,
1502
+ W as t,
1503
+ wt as u,
1504
+ Ft as v,
1505
+ be as w,
1506
+ Se as x,
1507
+ Pt as y,
1508
+ Oe as z
1509
+ };
1510
+ //# sourceMappingURL=hook-CZjW2buS.js.map