zudoku 0.0.0-f9d5b02 → 0.0.0-fabd0c1

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 (580) hide show
  1. package/client.d.ts +7 -0
  2. package/dist/app/demo.js +1 -1
  3. package/dist/app/demo.js.map +1 -1
  4. package/dist/app/entry.client.d.ts +1 -0
  5. package/dist/app/entry.client.js +14 -1
  6. package/dist/app/entry.client.js.map +1 -1
  7. package/dist/app/entry.server.d.ts +1 -0
  8. package/dist/app/entry.server.js +2 -2
  9. package/dist/app/entry.server.js.map +1 -1
  10. package/dist/app/main.d.ts +1 -1
  11. package/dist/app/main.js +2 -1
  12. package/dist/app/main.js.map +1 -1
  13. package/dist/app/sentry.d.ts +3 -0
  14. package/dist/app/sentry.js +19 -0
  15. package/dist/app/sentry.js.map +1 -0
  16. package/dist/app/standalone.js +1 -1
  17. package/dist/app/standalone.js.map +1 -1
  18. package/dist/app/tailwind.d.ts +2 -1
  19. package/dist/app/tailwind.js +64 -52
  20. package/dist/app/tailwind.js.map +1 -1
  21. package/dist/cli/cli.js +0 -2
  22. package/dist/cli/cli.js.map +1 -1
  23. package/dist/cli/cmds/build.js +1 -0
  24. package/dist/cli/cmds/build.js.map +1 -1
  25. package/dist/cli/common/logger.js +9 -0
  26. package/dist/cli/common/logger.js.map +1 -1
  27. package/dist/cli/common/outdated.js +2 -1
  28. package/dist/cli/common/outdated.js.map +1 -1
  29. package/dist/config/common.d.ts +8 -0
  30. package/dist/config/common.js +2 -0
  31. package/dist/config/common.js.map +1 -0
  32. package/dist/config/config.d.ts +3 -2
  33. package/dist/config/loader.d.ts +20 -0
  34. package/dist/config/loader.js +154 -0
  35. package/dist/config/loader.js.map +1 -0
  36. package/dist/config/validators/InputSidebarSchema.d.ts +14 -13
  37. package/dist/config/validators/InputSidebarSchema.js.map +1 -1
  38. package/dist/config/validators/common.d.ts +4945 -0
  39. package/dist/config/validators/common.js +280 -0
  40. package/dist/config/validators/common.js.map +1 -0
  41. package/dist/config/validators/icon-types.d.ts +1 -0
  42. package/dist/config/validators/icon-types.js +2 -0
  43. package/dist/config/validators/icon-types.js.map +1 -0
  44. package/dist/config/validators/validate.d.ts +800 -530
  45. package/dist/config/validators/validate.js +9 -228
  46. package/dist/config/validators/validate.js.map +1 -1
  47. package/dist/lib/authentication/AuthenticationPlugin.d.ts +4 -2
  48. package/dist/lib/authentication/AuthenticationPlugin.js +3 -0
  49. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  50. package/dist/lib/authentication/authentication.d.ts +1 -1
  51. package/dist/lib/authentication/components/CallbackHandler.js +1 -1
  52. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  53. package/dist/lib/authentication/components/SignIn.js +1 -1
  54. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  55. package/dist/lib/authentication/components/SignOut.js +1 -1
  56. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  57. package/dist/lib/authentication/hook.d.ts +5 -4
  58. package/dist/lib/authentication/hook.js +1 -3
  59. package/dist/lib/authentication/hook.js.map +1 -1
  60. package/dist/lib/authentication/providers/auth0.js +2 -2
  61. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  62. package/dist/lib/authentication/providers/openid.d.ts +7 -1
  63. package/dist/lib/authentication/providers/openid.js +18 -27
  64. package/dist/lib/authentication/providers/openid.js.map +1 -1
  65. package/dist/lib/authentication/state.d.ts +25 -4
  66. package/dist/lib/authentication/state.js +28 -5
  67. package/dist/lib/authentication/state.js.map +1 -1
  68. package/dist/lib/components/AnchorLink.d.ts +1 -1
  69. package/dist/lib/components/AnchorLink.js +1 -1
  70. package/dist/lib/components/AnchorLink.js.map +1 -1
  71. package/dist/lib/components/Bootstrap.d.ts +1 -2
  72. package/dist/lib/components/Bootstrap.js +11 -7
  73. package/dist/lib/components/Bootstrap.js.map +1 -1
  74. package/dist/lib/components/Header.js +14 -6
  75. package/dist/lib/components/Header.js.map +1 -1
  76. package/dist/lib/components/Heading.d.ts +4 -4
  77. package/dist/lib/components/Heading.js +1 -1
  78. package/dist/lib/components/Heading.js.map +1 -1
  79. package/dist/lib/components/Layout.js +14 -5
  80. package/dist/lib/components/Layout.js.map +1 -1
  81. package/dist/lib/components/Markdown.js +1 -1
  82. package/dist/lib/components/Markdown.js.map +1 -1
  83. package/dist/lib/components/MobileTopNavigation.js +5 -7
  84. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  85. package/dist/lib/components/NotFoundPage.js +1 -1
  86. package/dist/lib/components/NotFoundPage.js.map +1 -1
  87. package/dist/lib/components/ReactMarkdown.d.ts +29 -0
  88. package/dist/lib/components/ReactMarkdown.js +182 -0
  89. package/dist/lib/components/ReactMarkdown.js.map +1 -0
  90. package/dist/lib/components/Search.d.ts +3 -1
  91. package/dist/lib/components/Search.js +3 -3
  92. package/dist/lib/components/Search.js.map +1 -1
  93. package/dist/lib/components/SlotletProvider.d.ts +2 -2
  94. package/dist/lib/components/SyntaxHighlight.js +2 -6
  95. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  96. package/dist/lib/components/ThemeSwitch.js +5 -3
  97. package/dist/lib/components/ThemeSwitch.js.map +1 -1
  98. package/dist/lib/components/TopNavigation.d.ts +2 -0
  99. package/dist/lib/components/TopNavigation.js +13 -7
  100. package/dist/lib/components/TopNavigation.js.map +1 -1
  101. package/dist/lib/components/Zudoku.js +1 -1
  102. package/dist/lib/components/Zudoku.js.map +1 -1
  103. package/dist/lib/components/context/ZudokuContext.js +1 -1
  104. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  105. package/dist/lib/components/index.d.ts +15 -5
  106. package/dist/lib/components/index.js +1 -1
  107. package/dist/lib/components/index.js.map +1 -1
  108. package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
  109. package/dist/lib/components/navigation/Sidebar.js +2 -2
  110. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  111. package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -9
  112. package/dist/lib/components/navigation/SidebarBadge.js +0 -9
  113. package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
  114. package/dist/lib/components/navigation/SidebarCategory.d.ts +2 -2
  115. package/dist/lib/components/navigation/SidebarCategory.js +4 -5
  116. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  117. package/dist/lib/components/navigation/SidebarItem.d.ts +2 -4
  118. package/dist/lib/components/navigation/SidebarItem.js +6 -11
  119. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  120. package/dist/lib/components/navigation/SidebarWrapper.js +1 -1
  121. package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
  122. package/dist/lib/components/navigation/utils.js +1 -1
  123. package/dist/lib/components/navigation/utils.js.map +1 -1
  124. package/dist/lib/core/ZudokuContext.d.ts +1 -1
  125. package/dist/lib/core/plugins.d.ts +5 -1
  126. package/dist/lib/core/plugins.js.map +1 -1
  127. package/dist/lib/errors/RouterError.js +1 -1
  128. package/dist/lib/errors/RouterError.js.map +1 -1
  129. package/dist/lib/oas/graphql/index.js +4 -1
  130. package/dist/lib/oas/graphql/index.js.map +1 -1
  131. package/dist/lib/oas/parser/upgrade/index.d.ts +2 -2
  132. package/dist/lib/oas/parser/upgrade/index.js +3 -20
  133. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  134. package/dist/lib/plugins/api-catalog/Catalog.d.ts +2 -0
  135. package/dist/lib/plugins/api-catalog/Catalog.js +36 -0
  136. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
  137. package/dist/lib/plugins/api-catalog/index.d.ts +30 -0
  138. package/dist/lib/plugins/api-catalog/index.js +15 -0
  139. package/dist/lib/plugins/api-catalog/index.js.map +1 -0
  140. package/dist/lib/plugins/api-keys/CreateApiKey.js +1 -1
  141. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  142. package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
  143. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
  144. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +1 -1
  145. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  146. package/dist/lib/plugins/api-keys/index.js +3 -0
  147. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  148. package/dist/lib/plugins/markdown/MdxPage.d.ts +9 -1
  149. package/dist/lib/plugins/markdown/MdxPage.js +16 -3
  150. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  151. package/dist/lib/plugins/markdown/index.d.ts +3 -1
  152. package/dist/lib/plugins/markdown/index.js +1 -1
  153. package/dist/lib/plugins/markdown/index.js.map +1 -1
  154. package/dist/lib/plugins/markdown/resolver.js.map +1 -1
  155. package/dist/lib/plugins/openapi/ColorizedParam.js +2 -2
  156. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  157. package/dist/lib/plugins/openapi/OperationList.js +24 -3
  158. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  159. package/dist/lib/plugins/openapi/OperationListItem.d.ts +2 -1
  160. package/dist/lib/plugins/openapi/OperationListItem.js +14 -4
  161. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  162. package/dist/lib/plugins/openapi/Route.d.ts +4 -2
  163. package/dist/lib/plugins/openapi/Route.js +25 -2
  164. package/dist/lib/plugins/openapi/Route.js.map +1 -1
  165. package/dist/lib/plugins/openapi/Sidecar.js +3 -13
  166. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  167. package/dist/lib/plugins/openapi/client/GraphQLClient.js +12 -0
  168. package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
  169. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +1 -1
  170. package/dist/lib/plugins/openapi/client/useCreateQuery.js +4 -2
  171. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
  172. package/dist/lib/plugins/openapi/context.d.ts +3 -3
  173. package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
  174. package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
  175. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  176. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +2 -0
  177. package/dist/lib/plugins/openapi/graphql/graphql.js +1 -0
  178. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  179. package/dist/lib/plugins/openapi/index.js +13 -13
  180. package/dist/lib/plugins/openapi/index.js.map +1 -1
  181. package/dist/lib/plugins/openapi/interfaces.d.ts +20 -1
  182. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -1
  183. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  184. package/dist/lib/plugins/openapi/post-processors/removeExtensions.d.ts +6 -0
  185. package/dist/lib/plugins/openapi/post-processors/removeExtensions.js +14 -0
  186. package/dist/lib/plugins/openapi/post-processors/removeExtensions.js.map +1 -0
  187. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.d.ts +1 -0
  188. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js +125 -0
  189. package/dist/lib/plugins/openapi/post-processors/removeExtensions.test.js.map +1 -0
  190. package/dist/lib/plugins/openapi/post-processors/removePaths.d.ts +11 -0
  191. package/dist/lib/plugins/openapi/post-processors/removePaths.js +33 -0
  192. package/dist/lib/plugins/openapi/post-processors/removePaths.js.map +1 -0
  193. package/dist/lib/plugins/openapi/post-processors/removePaths.test.d.ts +1 -0
  194. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js +104 -0
  195. package/dist/lib/plugins/openapi/post-processors/removePaths.test.js.map +1 -0
  196. package/dist/lib/plugins/openapi/post-processors/traverse.d.ts +1 -0
  197. package/dist/lib/plugins/openapi/post-processors/traverse.js +2 -0
  198. package/dist/lib/plugins/openapi/post-processors/traverse.js.map +1 -0
  199. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  200. package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
  201. package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
  202. package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
  203. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
  204. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
  205. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
  206. package/dist/lib/plugins/redirect/index.d.ts +1 -1
  207. package/dist/lib/plugins/redirect/index.js +1 -1
  208. package/dist/lib/plugins/redirect/index.js.map +1 -1
  209. package/dist/lib/plugins/search-inkeep/index.d.ts +22 -3
  210. package/dist/lib/plugins/search-inkeep/index.js +41 -5
  211. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  212. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +3 -4
  213. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  214. package/dist/lib/ui/Button.d.ts +1 -1
  215. package/dist/lib/ui/Command.d.ts +1 -1
  216. package/dist/lib/util/MdxComponents.d.ts +18 -19
  217. package/dist/lib/util/MdxComponents.js +1 -3
  218. package/dist/lib/util/MdxComponents.js.map +1 -1
  219. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  220. package/dist/lib/util/traverse.d.ts +2 -0
  221. package/dist/lib/util/traverse.js +18 -0
  222. package/dist/lib/util/traverse.js.map +1 -0
  223. package/dist/lib/util/useExposedProps.js +1 -1
  224. package/dist/lib/util/useExposedProps.js.map +1 -1
  225. package/dist/lib/util/useOnScreen.d.ts +1 -1
  226. package/dist/lib/util/useScrollToAnchor.js +1 -1
  227. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  228. package/dist/lib/util/useScrollToTop.js +1 -1
  229. package/dist/lib/util/useScrollToTop.js.map +1 -1
  230. package/dist/vite/build.js +15 -3
  231. package/dist/vite/build.js.map +1 -1
  232. package/dist/vite/config.d.ts +6 -4
  233. package/dist/vite/config.js +70 -23
  234. package/dist/vite/config.js.map +1 -1
  235. package/dist/vite/config.test.js +7 -5
  236. package/dist/vite/config.test.js.map +1 -1
  237. package/dist/vite/css/collect.d.ts +2 -0
  238. package/dist/vite/css/collect.js +27 -0
  239. package/dist/vite/css/collect.js.map +1 -0
  240. package/dist/vite/css/plugin.d.ts +5 -0
  241. package/dist/vite/css/plugin.js +79 -0
  242. package/dist/vite/css/plugin.js.map +1 -0
  243. package/dist/vite/dev-server.js +19 -6
  244. package/dist/vite/dev-server.js.map +1 -1
  245. package/dist/vite/output.d.ts +1 -1
  246. package/dist/vite/output.js +39 -10
  247. package/dist/vite/output.js.map +1 -1
  248. package/dist/vite/plugin-api.js +93 -20
  249. package/dist/vite/plugin-api.js.map +1 -1
  250. package/dist/vite/plugin-component.js +15 -19
  251. package/dist/vite/plugin-component.js.map +1 -1
  252. package/dist/vite/plugin-config-reload.d.ts +1 -2
  253. package/dist/vite/plugin-config-reload.js.map +1 -1
  254. package/dist/vite/plugin-config.js +20 -0
  255. package/dist/vite/plugin-config.js.map +1 -1
  256. package/dist/vite/plugin-docs.test.js +15 -23
  257. package/dist/vite/plugin-docs.test.js.map +1 -1
  258. package/dist/vite/plugin-mdx.js +60 -4
  259. package/dist/vite/plugin-mdx.js.map +1 -1
  260. package/dist/vite/{plugin-custom-css.d.ts → plugin-theme-css.d.ts} +2 -2
  261. package/dist/vite/{plugin-custom-css.js → plugin-theme-css.js} +10 -3
  262. package/dist/vite/plugin-theme-css.js.map +1 -0
  263. package/dist/vite/plugin.d.ts +1 -2
  264. package/dist/vite/plugin.js +6 -2
  265. package/dist/vite/plugin.js.map +1 -1
  266. package/dist/vite/prerender.d.ts +2 -1
  267. package/dist/vite/prerender.js +2 -2
  268. package/dist/vite/prerender.js.map +1 -1
  269. package/dist/vite/remarkStaticGeneration.js +5 -5
  270. package/dist/vite/remarkStaticGeneration.js.map +1 -1
  271. package/dist/vite/sitemap.d.ts +1 -1
  272. package/dist/zuplo/env.d.ts +6 -0
  273. package/dist/zuplo/env.js +9 -0
  274. package/dist/zuplo/env.js.map +1 -0
  275. package/dist/zuplo/with-zuplo.d.ts +3 -0
  276. package/dist/zuplo/with-zuplo.js +28 -0
  277. package/dist/zuplo/with-zuplo.js.map +1 -0
  278. package/lib/AnchorLink-DFZZbmvr.js +34 -0
  279. package/lib/AnchorLink-DFZZbmvr.js.map +1 -0
  280. package/lib/{AuthenticationPlugin-DeGDVa1r.js → AuthenticationPlugin-fB7viE7A.js} +23 -21
  281. package/lib/AuthenticationPlugin-fB7viE7A.js.map +1 -0
  282. package/lib/{Button-jK0EsymC.js → Button-DeAoTouo.js} +4 -4
  283. package/lib/{Button-jK0EsymC.js.map → Button-DeAoTouo.js.map} +1 -1
  284. package/lib/{CategoryHeading-Bb9dqxD3.js → CategoryHeading-CBconmtI.js} +3 -3
  285. package/lib/{CategoryHeading-Bb9dqxD3.js.map → CategoryHeading-CBconmtI.js.map} +1 -1
  286. package/lib/ClientOnly-E7hGysn1.js.map +1 -1
  287. package/lib/{Dialog-k70Qfukb.js → Dialog-Bxv1yEIg.js} +3 -3
  288. package/lib/{Dialog-k70Qfukb.js.map → Dialog-Bxv1yEIg.js.map} +1 -1
  289. package/lib/{Markdown-BorQdbxW.js → Markdown-CZDLNOFc.js} +13227 -13217
  290. package/lib/Markdown-CZDLNOFc.js.map +1 -0
  291. package/lib/MdxPage-CPBw4_lf.js +188 -0
  292. package/lib/MdxPage-CPBw4_lf.js.map +1 -0
  293. package/lib/OperationList-n4U_BHmO.js +5062 -0
  294. package/lib/OperationList-n4U_BHmO.js.map +1 -0
  295. package/lib/Route-C8nwd9A2.js +37 -0
  296. package/lib/Route-C8nwd9A2.js.map +1 -0
  297. package/lib/{Select-DP74t8Yy.js → Select-D3XuKKuH.js} +5 -5
  298. package/lib/{Select-DP74t8Yy.js.map → Select-D3XuKKuH.js.map} +1 -1
  299. package/lib/SlotletProvider-pfc9oejW.js +221 -0
  300. package/lib/SlotletProvider-pfc9oejW.js.map +1 -0
  301. package/lib/{Spinner-3cQDBVGr.js → Spinner-DuxJLLNE.js} +2 -2
  302. package/lib/{Spinner-3cQDBVGr.js.map → Spinner-DuxJLLNE.js.map} +1 -1
  303. package/lib/StaggeredRender-DgsamH_G.js +17 -0
  304. package/lib/StaggeredRender-DgsamH_G.js.map +1 -0
  305. package/lib/{SyntaxHighlight-CBmwwKoM.js → SyntaxHighlight-Bz-lOJtH.js} +9 -13
  306. package/lib/{SyntaxHighlight-CBmwwKoM.js.map → SyntaxHighlight-Bz-lOJtH.js.map} +1 -1
  307. package/lib/assets/{index-B_Jk_Yzp.js → index-C7jnHK4b.js} +218 -197
  308. package/lib/assets/index-C7jnHK4b.js.map +1 -0
  309. package/lib/assets/{worker-CPsGZsve.js → worker-D2kRl-cG.js} +5326 -4949
  310. package/lib/assets/worker-D2kRl-cG.js.map +1 -0
  311. package/lib/chunk-D52XG6IA-Dl7HLe6j.js +1823 -0
  312. package/lib/chunk-D52XG6IA-Dl7HLe6j.js.map +1 -0
  313. package/lib/{cn-BmFQLtkS.js → cn-qaFjX9_3.js} +2 -2
  314. package/lib/cn-qaFjX9_3.js.map +1 -0
  315. package/lib/{context-D1nXWxm7.js → context-h_UkBLvr.js} +2 -2
  316. package/lib/context-h_UkBLvr.js.map +1 -0
  317. package/lib/{createServer-DK-g7kbB.js → createServer-69sLlmQA.js} +5350 -5760
  318. package/lib/createServer-69sLlmQA.js.map +1 -0
  319. package/lib/{hook-Diu0rqp-.js → hook-DgGeo5iL.js} +12 -14
  320. package/lib/{hook-Diu0rqp-.js.map → hook-DgGeo5iL.js.map} +1 -1
  321. package/lib/{index-CkwDvuPt.js → index-CBXSgjaE.js} +259 -238
  322. package/lib/index-CBXSgjaE.js.map +1 -0
  323. package/lib/index-CPNSgwSb.js +36 -0
  324. package/lib/index-CPNSgwSb.js.map +1 -0
  325. package/lib/index-DStSNvP-.js +1284 -0
  326. package/lib/index-DStSNvP-.js.map +1 -0
  327. package/lib/index-LNp6rxyU.js.map +1 -1
  328. package/lib/index.esm-BSV1C092.js +692 -0
  329. package/lib/index.esm-BSV1C092.js.map +1 -0
  330. package/lib/index.esm-BnnBRKJX.js +1214 -0
  331. package/lib/index.esm-BnnBRKJX.js.map +1 -0
  332. package/lib/invariant-Caa8-XvF.js.map +1 -1
  333. package/lib/jsx-runtime-Dx-03ztt.js +446 -0
  334. package/lib/jsx-runtime-Dx-03ztt.js.map +1 -0
  335. package/lib/object_hash-BNWPnMN9.js +787 -0
  336. package/lib/object_hash-BNWPnMN9.js.map +1 -0
  337. package/lib/post-processors/removeExtensions.js +11 -0
  338. package/lib/post-processors/removeExtensions.js.map +1 -0
  339. package/lib/post-processors/removePaths.js +28 -0
  340. package/lib/post-processors/removePaths.js.map +1 -0
  341. package/lib/post-processors/traverse.js +12 -0
  342. package/lib/post-processors/traverse.js.map +1 -0
  343. package/lib/prism-csharp.min-DUwvItt4.js +63 -0
  344. package/lib/{prism-csharp.min-Yizuc34Y.js.map → prism-csharp.min-DUwvItt4.js.map} +1 -1
  345. package/lib/prism-java.min-BtgBR4yd.js +35 -0
  346. package/lib/{prism-java.min-d5iT_mOd.js.map → prism-java.min-BtgBR4yd.js.map} +1 -1
  347. package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
  348. package/lib/prism-ruby.min-DeDXCp1r.js +38 -0
  349. package/lib/{prism-ruby.min-C7LwcKyz.js.map → prism-ruby.min-DeDXCp1r.js.map} +1 -1
  350. package/lib/prism-typescript.min-CD7H2IYQ.js +34 -0
  351. package/lib/{prism-typescript.min-oSVeWCAd.js.map → prism-typescript.min-CD7H2IYQ.js.map} +1 -1
  352. package/lib/state-CFQsUZUP.js +202 -0
  353. package/lib/state-CFQsUZUP.js.map +1 -0
  354. package/lib/ui/Accordion.js +2 -2
  355. package/lib/ui/Accordion.js.map +1 -1
  356. package/lib/ui/ActionButton.js +4 -4
  357. package/lib/ui/ActionButton.js.map +1 -1
  358. package/lib/ui/Alert.js +3 -3
  359. package/lib/ui/Alert.js.map +1 -1
  360. package/lib/ui/AlertDialog.js +2 -2
  361. package/lib/ui/AlertDialog.js.map +1 -1
  362. package/lib/ui/Badge.js +3 -3
  363. package/lib/ui/Badge.js.map +1 -1
  364. package/lib/ui/Breadcrumb.js +2 -2
  365. package/lib/ui/Breadcrumb.js.map +1 -1
  366. package/lib/ui/Button.js +3 -3
  367. package/lib/ui/Button.js.map +1 -1
  368. package/lib/ui/Callout.js +2 -2
  369. package/lib/ui/Callout.js.map +1 -1
  370. package/lib/ui/Card.js +2 -2
  371. package/lib/ui/Card.js.map +1 -1
  372. package/lib/ui/Carousel.js +407 -401
  373. package/lib/ui/Carousel.js.map +1 -1
  374. package/lib/ui/Checkbox.js +2 -2
  375. package/lib/ui/Checkbox.js.map +1 -1
  376. package/lib/ui/Command.js +111 -108
  377. package/lib/ui/Command.js.map +1 -1
  378. package/lib/ui/Dialog.js +2 -2
  379. package/lib/ui/Dialog.js.map +1 -1
  380. package/lib/ui/Drawer.js +81 -81
  381. package/lib/ui/Drawer.js.map +1 -1
  382. package/lib/ui/DropdownMenu.js +2 -2
  383. package/lib/ui/DropdownMenu.js.map +1 -1
  384. package/lib/ui/Form.js +3 -3
  385. package/lib/ui/Form.js.map +1 -1
  386. package/lib/ui/HoverCard.js +2 -2
  387. package/lib/ui/Input.js +2 -2
  388. package/lib/ui/Input.js.map +1 -1
  389. package/lib/ui/Label.js +3 -3
  390. package/lib/ui/Pagination.js +2 -2
  391. package/lib/ui/Pagination.js.map +1 -1
  392. package/lib/ui/Popover.js +2 -2
  393. package/lib/ui/Popover.js.map +1 -1
  394. package/lib/ui/Progress.js +2 -2
  395. package/lib/ui/Progress.js.map +1 -1
  396. package/lib/ui/RadioGroup.js +2 -2
  397. package/lib/ui/RadioGroup.js.map +1 -1
  398. package/lib/ui/ScrollArea.js +2 -2
  399. package/lib/ui/ScrollArea.js.map +1 -1
  400. package/lib/ui/Select.js +2 -2
  401. package/lib/ui/Select.js.map +1 -1
  402. package/lib/ui/Skeleton.js +2 -2
  403. package/lib/ui/Skeleton.js.map +1 -1
  404. package/lib/ui/Slider.js +2 -2
  405. package/lib/ui/Switch.js +2 -2
  406. package/lib/ui/Switch.js.map +1 -1
  407. package/lib/ui/Tabs.js +2 -2
  408. package/lib/ui/Textarea.js +2 -2
  409. package/lib/ui/Textarea.js.map +1 -1
  410. package/lib/ui/Toggle.js +3 -3
  411. package/lib/ui/Toggle.js.map +1 -1
  412. package/lib/ui/ToggleGroup.js +2 -2
  413. package/lib/ui/ToggleGroup.js.map +1 -1
  414. package/lib/ui/Tooltip.js +2 -2
  415. package/lib/useExposedProps-DE9lR6MF.js +9 -0
  416. package/lib/useExposedProps-DE9lR6MF.js.map +1 -0
  417. package/lib/{utils-DcpDOncX.js → utils-B4O1uet5.js} +35 -36
  418. package/lib/{utils-DcpDOncX.js.map → utils-B4O1uet5.js.map} +1 -1
  419. package/lib/zudoku.auth-auth0.js +9 -8
  420. package/lib/zudoku.auth-auth0.js.map +1 -1
  421. package/lib/zudoku.auth-clerk.js +2 -2
  422. package/lib/zudoku.auth-clerk.js.map +1 -1
  423. package/lib/zudoku.auth-openid.js +365 -371
  424. package/lib/zudoku.auth-openid.js.map +1 -1
  425. package/lib/zudoku.components.js +814 -967
  426. package/lib/zudoku.components.js.map +1 -1
  427. package/lib/zudoku.openapi-worker.js +1 -1
  428. package/lib/zudoku.openapi-worker.js.map +1 -1
  429. package/lib/zudoku.plugin-api-catalog.js +123 -0
  430. package/lib/zudoku.plugin-api-catalog.js.map +1 -0
  431. package/lib/zudoku.plugin-api-keys.js +40 -39
  432. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  433. package/lib/zudoku.plugin-custom-pages.js +4 -4
  434. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  435. package/lib/zudoku.plugin-markdown.js +16 -15
  436. package/lib/zudoku.plugin-markdown.js.map +1 -1
  437. package/lib/zudoku.plugin-openapi.js +5 -5
  438. package/lib/zudoku.plugin-redirect.js +1 -1
  439. package/lib/zudoku.plugin-redirect.js.map +1 -1
  440. package/lib/zudoku.plugin-search-inkeep.js +53 -24
  441. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  442. package/package.json +74 -51
  443. package/src/app/demo.tsx +1 -1
  444. package/src/app/entry.client.tsx +16 -1
  445. package/src/app/entry.server.tsx +3 -2
  446. package/src/app/main.tsx +6 -2
  447. package/src/app/sentry.ts +24 -0
  448. package/src/app/standalone.tsx +1 -1
  449. package/src/app/tailwind.ts +67 -52
  450. package/src/lib/authentication/AuthenticationPlugin.tsx +4 -1
  451. package/src/lib/authentication/authentication.ts +1 -1
  452. package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
  453. package/src/lib/authentication/components/SignIn.tsx +1 -1
  454. package/src/lib/authentication/components/SignOut.tsx +1 -1
  455. package/src/lib/authentication/hook.ts +1 -3
  456. package/src/lib/authentication/providers/auth0.tsx +3 -2
  457. package/src/lib/authentication/providers/openid.tsx +22 -33
  458. package/src/lib/authentication/state.ts +44 -10
  459. package/src/lib/components/AnchorLink.tsx +1 -1
  460. package/src/lib/components/Bootstrap.tsx +25 -20
  461. package/src/lib/components/Header.tsx +44 -11
  462. package/src/lib/components/Heading.tsx +13 -13
  463. package/src/lib/components/Layout.tsx +55 -38
  464. package/src/lib/components/Markdown.tsx +1 -1
  465. package/src/lib/components/MobileTopNavigation.tsx +26 -33
  466. package/src/lib/components/NotFoundPage.tsx +1 -1
  467. package/src/lib/components/ReactMarkdown.license.txt +21 -0
  468. package/src/lib/components/ReactMarkdown.tsx +264 -0
  469. package/src/lib/components/Search.tsx +3 -3
  470. package/src/lib/components/SlotletProvider.tsx +1 -1
  471. package/src/lib/components/SyntaxHighlight.tsx +3 -6
  472. package/src/lib/components/ThemeSwitch.tsx +6 -4
  473. package/src/lib/components/TopNavigation.tsx +26 -18
  474. package/src/lib/components/Zudoku.tsx +1 -1
  475. package/src/lib/components/context/ZudokuContext.ts +1 -1
  476. package/src/lib/components/index.ts +1 -1
  477. package/src/lib/components/navigation/Sidebar.tsx +18 -8
  478. package/src/lib/components/navigation/SidebarBadge.tsx +0 -10
  479. package/src/lib/components/navigation/SidebarCategory.tsx +11 -10
  480. package/src/lib/components/navigation/SidebarItem.tsx +11 -14
  481. package/src/lib/components/navigation/SidebarWrapper.tsx +1 -1
  482. package/src/lib/components/navigation/utils.ts +1 -1
  483. package/src/lib/core/ZudokuContext.ts +1 -1
  484. package/src/lib/core/plugins.ts +5 -1
  485. package/src/lib/errors/RouterError.tsx +1 -1
  486. package/src/lib/oas/graphql/index.ts +4 -1
  487. package/src/lib/oas/parser/upgrade/index.ts +4 -27
  488. package/src/lib/plugins/api-catalog/Catalog.tsx +123 -0
  489. package/src/lib/plugins/api-catalog/index.tsx +64 -0
  490. package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
  491. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
  492. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
  493. package/src/lib/plugins/api-keys/index.tsx +4 -1
  494. package/src/lib/plugins/custom-pages/index.tsx +1 -1
  495. package/src/lib/plugins/markdown/MdxPage.tsx +28 -2
  496. package/src/lib/plugins/markdown/index.tsx +5 -2
  497. package/src/lib/plugins/markdown/resolver.ts +2 -4
  498. package/src/lib/plugins/openapi/ColorizedParam.tsx +2 -2
  499. package/src/lib/plugins/openapi/OperationList.tsx +64 -8
  500. package/src/lib/plugins/openapi/OperationListItem.tsx +31 -2
  501. package/src/lib/plugins/openapi/Route.tsx +45 -9
  502. package/src/lib/plugins/openapi/Sidecar.tsx +3 -17
  503. package/src/lib/plugins/openapi/client/GraphQLClient.tsx +17 -0
  504. package/src/lib/plugins/openapi/client/useCreateQuery.ts +5 -2
  505. package/src/lib/plugins/openapi/context.tsx +2 -2
  506. package/src/lib/plugins/openapi/graphql/gql.ts +2 -2
  507. package/src/lib/plugins/openapi/graphql/graphql.ts +3 -0
  508. package/src/lib/plugins/openapi/index.tsx +35 -28
  509. package/src/lib/plugins/openapi/interfaces.ts +22 -1
  510. package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -0
  511. package/src/lib/plugins/openapi/post-processors/removeExtensions.test.ts +144 -0
  512. package/src/lib/plugins/openapi/post-processors/removeExtensions.ts +24 -0
  513. package/src/lib/plugins/openapi/post-processors/removePaths.test.ts +126 -0
  514. package/src/lib/plugins/openapi/post-processors/removePaths.ts +55 -0
  515. package/src/lib/plugins/openapi/post-processors/traverse.ts +1 -0
  516. package/src/lib/plugins/openapi/schema/SchemaView.tsx +1 -1
  517. package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
  518. package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
  519. package/src/lib/plugins/redirect/index.tsx +2 -2
  520. package/src/lib/plugins/search-inkeep/index.tsx +78 -23
  521. package/src/lib/plugins/search-inkeep/inkeep.ts +3 -9
  522. package/src/lib/util/MdxComponents.tsx +3 -8
  523. package/src/lib/util/createVariantComponent.tsx +2 -2
  524. package/src/lib/util/traverse.ts +25 -0
  525. package/src/lib/util/useExposedProps.tsx +1 -1
  526. package/src/lib/util/useScrollToAnchor.ts +1 -1
  527. package/src/lib/util/useScrollToTop.ts +1 -1
  528. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
  529. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
  530. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
  531. package/dist/vite/plugin-custom-css.js.map +0 -1
  532. package/lib/AnchorLink-CDlhr8gL.js +0 -706
  533. package/lib/AnchorLink-CDlhr8gL.js.map +0 -1
  534. package/lib/AuthenticationPlugin-DeGDVa1r.js.map +0 -1
  535. package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
  536. package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
  537. package/lib/Markdown-BorQdbxW.js.map +0 -1
  538. package/lib/MdxPage-DFlbtJWi.js +0 -174
  539. package/lib/MdxPage-DFlbtJWi.js.map +0 -1
  540. package/lib/OperationList-KshJrrLL.js +0 -4691
  541. package/lib/OperationList-KshJrrLL.js.map +0 -1
  542. package/lib/Route-DlG_HTMu.js +0 -11
  543. package/lib/Route-DlG_HTMu.js.map +0 -1
  544. package/lib/SidebarBadge-DxFJcJ6V.js +0 -51
  545. package/lib/SidebarBadge-DxFJcJ6V.js.map +0 -1
  546. package/lib/SlotletProvider-D2v6rJy1.js +0 -252
  547. package/lib/SlotletProvider-D2v6rJy1.js.map +0 -1
  548. package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
  549. package/lib/assets/worker-CPsGZsve.js.map +0 -1
  550. package/lib/cn-BmFQLtkS.js.map +0 -1
  551. package/lib/context-D1nXWxm7.js.map +0 -1
  552. package/lib/createServer-DK-g7kbB.js.map +0 -1
  553. package/lib/index-BcesIHH4.js +0 -1273
  554. package/lib/index-BcesIHH4.js.map +0 -1
  555. package/lib/index-BuAyrJe3.js +0 -46
  556. package/lib/index-BuAyrJe3.js.map +0 -1
  557. package/lib/index-CkwDvuPt.js.map +0 -1
  558. package/lib/index-Czzd9rjU.js +0 -899
  559. package/lib/index-Czzd9rjU.js.map +0 -1
  560. package/lib/index-Yn8c3UWE.js +0 -921
  561. package/lib/index-Yn8c3UWE.js.map +0 -1
  562. package/lib/index.esm-C5mr_sKO.js +0 -1193
  563. package/lib/index.esm-C5mr_sKO.js.map +0 -1
  564. package/lib/jsx-runtime-B6kdoens.js +0 -635
  565. package/lib/jsx-runtime-B6kdoens.js.map +0 -1
  566. package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
  567. package/lib/prism-java.min-d5iT_mOd.js +0 -7
  568. package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
  569. package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
  570. package/lib/prism-php.min-o7FpoMP_.js +0 -11
  571. package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
  572. package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
  573. package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
  574. package/lib/router-lfyopgBI.js +0 -3024
  575. package/lib/router-lfyopgBI.js.map +0 -1
  576. package/lib/state-BsPrOUAh.js +0 -252
  577. package/lib/state-BsPrOUAh.js.map +0 -1
  578. package/lib/useExposedProps-CTPtylCV.js +0 -10
  579. package/lib/useExposedProps-CTPtylCV.js.map +0 -1
  580. package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
@@ -1,635 +0,0 @@
1
- import we from "react";
2
- var Z = { exports: {} }, D = {};
3
- /**
4
- * @license React
5
- * react-jsx-runtime.production.min.js
6
- *
7
- * Copyright (c) Facebook, Inc. and its affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var Oe;
13
- function lr() {
14
- if (Oe) return D;
15
- Oe = 1;
16
- var M = we, C = Symbol.for("react.element"), U = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, A = M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, I = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function P(h, c, T) {
18
- var p, b = {}, _ = null, W = null;
19
- T !== void 0 && (_ = "" + T), c.key !== void 0 && (_ = "" + c.key), c.ref !== void 0 && (W = c.ref);
20
- for (p in c) m.call(c, p) && !I.hasOwnProperty(p) && (b[p] = c[p]);
21
- if (h && h.defaultProps) for (p in c = h.defaultProps, c) b[p] === void 0 && (b[p] = c[p]);
22
- return { $$typeof: C, type: h, key: _, ref: W, props: b, _owner: A.current };
23
- }
24
- return D.Fragment = U, D.jsx = P, D.jsxs = P, D;
25
- }
26
- var F = {};
27
- /**
28
- * @license React
29
- * react-jsx-runtime.development.js
30
- *
31
- * Copyright (c) Facebook, Inc. and its affiliates.
32
- *
33
- * This source code is licensed under the MIT license found in the
34
- * LICENSE file in the root directory of this source tree.
35
- */
36
- var Se;
37
- function cr() {
38
- return Se || (Se = 1, process.env.NODE_ENV !== "production" && function() {
39
- var M = we, C = Symbol.for("react.element"), U = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), h = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Q = Symbol.iterator, Ce = "@@iterator";
40
- function Pe(e) {
41
- if (e === null || typeof e != "object")
42
- return null;
43
- var r = Q && e[Q] || e[Ce];
44
- return typeof r == "function" ? r : null;
45
- }
46
- var O = M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
- function l(e) {
48
- {
49
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
50
- t[n - 1] = arguments[n];
51
- je("error", e, t);
52
- }
53
- }
54
- function je(e, r, t) {
55
- {
56
- var n = O.ReactDebugCurrentFrame, i = n.getStackAddendum();
57
- i !== "" && (r += "%s", t = t.concat([i]));
58
- var u = t.map(function(o) {
59
- return String(o);
60
- });
61
- u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
62
- }
63
- }
64
- var xe = !1, ke = !1, De = !1, Fe = !1, Ae = !1, ee;
65
- ee = Symbol.for("react.module.reference");
66
- function Ie(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === I || Ae || e === A || e === T || e === p || Fe || e === W || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === P || e.$$typeof === h || e.$$typeof === c || // This needs to include all possible module reference object
68
- // types supported by any Flight configuration anywhere since
69
- // we don't know which Flight build this will end up being used
70
- // with.
71
- e.$$typeof === ee || e.getModuleId !== void 0));
72
- }
73
- function We(e, r, t) {
74
- var n = e.displayName;
75
- if (n)
76
- return n;
77
- var i = r.displayName || r.name || "";
78
- return i !== "" ? t + "(" + i + ")" : t;
79
- }
80
- function re(e) {
81
- return e.displayName || "Context";
82
- }
83
- function y(e) {
84
- if (e == null)
85
- return null;
86
- if (typeof e.tag == "number" && l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
87
- return e.displayName || e.name || null;
88
- if (typeof e == "string")
89
- return e;
90
- switch (e) {
91
- case m:
92
- return "Fragment";
93
- case U:
94
- return "Portal";
95
- case I:
96
- return "Profiler";
97
- case A:
98
- return "StrictMode";
99
- case T:
100
- return "Suspense";
101
- case p:
102
- return "SuspenseList";
103
- }
104
- if (typeof e == "object")
105
- switch (e.$$typeof) {
106
- case h:
107
- var r = e;
108
- return re(r) + ".Consumer";
109
- case P:
110
- var t = e;
111
- return re(t._context) + ".Provider";
112
- case c:
113
- return We(e, e.render, "ForwardRef");
114
- case b:
115
- var n = e.displayName || null;
116
- return n !== null ? n : y(e.type) || "Memo";
117
- case _: {
118
- var i = e, u = i._payload, o = i._init;
119
- try {
120
- return y(o(u));
121
- } catch {
122
- return null;
123
- }
124
- }
125
- }
126
- return null;
127
- }
128
- var E = Object.assign, j = 0, te, ne, ae, oe, ie, ue, se;
129
- function fe() {
130
- }
131
- fe.__reactDisabledLog = !0;
132
- function Ye() {
133
- {
134
- if (j === 0) {
135
- te = console.log, ne = console.info, ae = console.warn, oe = console.error, ie = console.group, ue = console.groupCollapsed, se = console.groupEnd;
136
- var e = {
137
- configurable: !0,
138
- enumerable: !0,
139
- value: fe,
140
- writable: !0
141
- };
142
- Object.defineProperties(console, {
143
- info: e,
144
- log: e,
145
- warn: e,
146
- error: e,
147
- group: e,
148
- groupCollapsed: e,
149
- groupEnd: e
150
- });
151
- }
152
- j++;
153
- }
154
- }
155
- function $e() {
156
- {
157
- if (j--, j === 0) {
158
- var e = {
159
- configurable: !0,
160
- enumerable: !0,
161
- writable: !0
162
- };
163
- Object.defineProperties(console, {
164
- log: E({}, e, {
165
- value: te
166
- }),
167
- info: E({}, e, {
168
- value: ne
169
- }),
170
- warn: E({}, e, {
171
- value: ae
172
- }),
173
- error: E({}, e, {
174
- value: oe
175
- }),
176
- group: E({}, e, {
177
- value: ie
178
- }),
179
- groupCollapsed: E({}, e, {
180
- value: ue
181
- }),
182
- groupEnd: E({}, e, {
183
- value: se
184
- })
185
- });
186
- }
187
- j < 0 && l("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
- }
189
- }
190
- var N = O.ReactCurrentDispatcher, B;
191
- function Y(e, r, t) {
192
- {
193
- if (B === void 0)
194
- try {
195
- throw Error();
196
- } catch (i) {
197
- var n = i.stack.trim().match(/\n( *(at )?)/);
198
- B = n && n[1] || "";
199
- }
200
- return `
201
- ` + B + e;
202
- }
203
- }
204
- var J = !1, $;
205
- {
206
- var Le = typeof WeakMap == "function" ? WeakMap : Map;
207
- $ = new Le();
208
- }
209
- function le(e, r) {
210
- if (!e || J)
211
- return "";
212
- {
213
- var t = $.get(e);
214
- if (t !== void 0)
215
- return t;
216
- }
217
- var n;
218
- J = !0;
219
- var i = Error.prepareStackTrace;
220
- Error.prepareStackTrace = void 0;
221
- var u;
222
- u = N.current, N.current = null, Ye();
223
- try {
224
- if (r) {
225
- var o = function() {
226
- throw Error();
227
- };
228
- if (Object.defineProperty(o.prototype, "props", {
229
- set: function() {
230
- throw Error();
231
- }
232
- }), typeof Reflect == "object" && Reflect.construct) {
233
- try {
234
- Reflect.construct(o, []);
235
- } catch (d) {
236
- n = d;
237
- }
238
- Reflect.construct(e, [], o);
239
- } else {
240
- try {
241
- o.call();
242
- } catch (d) {
243
- n = d;
244
- }
245
- e.call(o.prototype);
246
- }
247
- } else {
248
- try {
249
- throw Error();
250
- } catch (d) {
251
- n = d;
252
- }
253
- e();
254
- }
255
- } catch (d) {
256
- if (d && n && typeof d.stack == "string") {
257
- for (var a = d.stack.split(`
258
- `), v = n.stack.split(`
259
- `), s = a.length - 1, f = v.length - 1; s >= 1 && f >= 0 && a[s] !== v[f]; )
260
- f--;
261
- for (; s >= 1 && f >= 0; s--, f--)
262
- if (a[s] !== v[f]) {
263
- if (s !== 1 || f !== 1)
264
- do
265
- if (s--, f--, f < 0 || a[s] !== v[f]) {
266
- var g = `
267
- ` + a[s].replace(" at new ", " at ");
268
- return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && $.set(e, g), g;
269
- }
270
- while (s >= 1 && f >= 0);
271
- break;
272
- }
273
- }
274
- } finally {
275
- J = !1, N.current = u, $e(), Error.prepareStackTrace = i;
276
- }
277
- var w = e ? e.displayName || e.name : "", R = w ? Y(w) : "";
278
- return typeof e == "function" && $.set(e, R), R;
279
- }
280
- function Ve(e, r, t) {
281
- return le(e, !1);
282
- }
283
- function Me(e) {
284
- var r = e.prototype;
285
- return !!(r && r.isReactComponent);
286
- }
287
- function L(e, r, t) {
288
- if (e == null)
289
- return "";
290
- if (typeof e == "function")
291
- return le(e, Me(e));
292
- if (typeof e == "string")
293
- return Y(e);
294
- switch (e) {
295
- case T:
296
- return Y("Suspense");
297
- case p:
298
- return Y("SuspenseList");
299
- }
300
- if (typeof e == "object")
301
- switch (e.$$typeof) {
302
- case c:
303
- return Ve(e.render);
304
- case b:
305
- return L(e.type, r, t);
306
- case _: {
307
- var n = e, i = n._payload, u = n._init;
308
- try {
309
- return L(u(i), r, t);
310
- } catch {
311
- }
312
- }
313
- }
314
- return "";
315
- }
316
- var x = Object.prototype.hasOwnProperty, ce = {}, ve = O.ReactDebugCurrentFrame;
317
- function V(e) {
318
- if (e) {
319
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
320
- ve.setExtraStackFrame(t);
321
- } else
322
- ve.setExtraStackFrame(null);
323
- }
324
- function Ue(e, r, t, n, i) {
325
- {
326
- var u = Function.call.bind(x);
327
- for (var o in e)
328
- if (u(e, o)) {
329
- var a = void 0;
330
- try {
331
- if (typeof e[o] != "function") {
332
- var v = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
- throw v.name = "Invariant Violation", v;
334
- }
335
- a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (s) {
337
- a = s;
338
- }
339
- a && !(a instanceof Error) && (V(i), l("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), V(null)), a instanceof Error && !(a.message in ce) && (ce[a.message] = !0, V(i), l("Failed %s type: %s", t, a.message), V(null));
340
- }
341
- }
342
- }
343
- var Ne = Array.isArray;
344
- function K(e) {
345
- return Ne(e);
346
- }
347
- function Be(e) {
348
- {
349
- var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
350
- return t;
351
- }
352
- }
353
- function Je(e) {
354
- try {
355
- return de(e), !1;
356
- } catch {
357
- return !0;
358
- }
359
- }
360
- function de(e) {
361
- return "" + e;
362
- }
363
- function pe(e) {
364
- if (Je(e))
365
- return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(e)), de(e);
366
- }
367
- var k = O.ReactCurrentOwner, Ke = {
368
- key: !0,
369
- ref: !0,
370
- __self: !0,
371
- __source: !0
372
- }, ge, ye, q;
373
- q = {};
374
- function qe(e) {
375
- if (x.call(e, "ref")) {
376
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
377
- if (r && r.isReactWarning)
378
- return !1;
379
- }
380
- return e.ref !== void 0;
381
- }
382
- function Ge(e) {
383
- if (x.call(e, "key")) {
384
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
385
- if (r && r.isReactWarning)
386
- return !1;
387
- }
388
- return e.key !== void 0;
389
- }
390
- function ze(e, r) {
391
- if (typeof e.ref == "string" && k.current && r && k.current.stateNode !== r) {
392
- var t = y(k.current.type);
393
- q[t] || (l('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', y(k.current.type), e.ref), q[t] = !0);
394
- }
395
- }
396
- function Xe(e, r) {
397
- {
398
- var t = function() {
399
- ge || (ge = !0, l("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
400
- };
401
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
402
- get: t,
403
- configurable: !0
404
- });
405
- }
406
- }
407
- function He(e, r) {
408
- {
409
- var t = function() {
410
- ye || (ye = !0, l("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
411
- };
412
- t.isReactWarning = !0, Object.defineProperty(e, "ref", {
413
- get: t,
414
- configurable: !0
415
- });
416
- }
417
- }
418
- var Ze = function(e, r, t, n, i, u, o) {
419
- var a = {
420
- // This tag allows us to uniquely identify this as a React Element
421
- $$typeof: C,
422
- // Built-in properties that belong on the element
423
- type: e,
424
- key: r,
425
- ref: t,
426
- props: o,
427
- // Record the component responsible for creating this element.
428
- _owner: u
429
- };
430
- return a._store = {}, Object.defineProperty(a._store, "validated", {
431
- configurable: !1,
432
- enumerable: !1,
433
- writable: !0,
434
- value: !1
435
- }), Object.defineProperty(a, "_self", {
436
- configurable: !1,
437
- enumerable: !1,
438
- writable: !1,
439
- value: n
440
- }), Object.defineProperty(a, "_source", {
441
- configurable: !1,
442
- enumerable: !1,
443
- writable: !1,
444
- value: i
445
- }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
446
- };
447
- function Qe(e, r, t, n, i) {
448
- {
449
- var u, o = {}, a = null, v = null;
450
- t !== void 0 && (pe(t), a = "" + t), Ge(r) && (pe(r.key), a = "" + r.key), qe(r) && (v = r.ref, ze(r, i));
451
- for (u in r)
452
- x.call(r, u) && !Ke.hasOwnProperty(u) && (o[u] = r[u]);
453
- if (e && e.defaultProps) {
454
- var s = e.defaultProps;
455
- for (u in s)
456
- o[u] === void 0 && (o[u] = s[u]);
457
- }
458
- if (a || v) {
459
- var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
- a && Xe(o, f), v && He(o, f);
461
- }
462
- return Ze(e, a, v, i, n, k.current, o);
463
- }
464
- }
465
- var G = O.ReactCurrentOwner, be = O.ReactDebugCurrentFrame;
466
- function S(e) {
467
- if (e) {
468
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
469
- be.setExtraStackFrame(t);
470
- } else
471
- be.setExtraStackFrame(null);
472
- }
473
- var z;
474
- z = !1;
475
- function X(e) {
476
- return typeof e == "object" && e !== null && e.$$typeof === C;
477
- }
478
- function he() {
479
- {
480
- if (G.current) {
481
- var e = y(G.current.type);
482
- if (e)
483
- return `
484
-
485
- Check the render method of \`` + e + "`.";
486
- }
487
- return "";
488
- }
489
- }
490
- function er(e) {
491
- return "";
492
- }
493
- var _e = {};
494
- function rr(e) {
495
- {
496
- var r = he();
497
- if (!r) {
498
- var t = typeof e == "string" ? e : e.displayName || e.name;
499
- t && (r = `
500
-
501
- Check the top-level render call using <` + t + ">.");
502
- }
503
- return r;
504
- }
505
- }
506
- function Ee(e, r) {
507
- {
508
- if (!e._store || e._store.validated || e.key != null)
509
- return;
510
- e._store.validated = !0;
511
- var t = rr(r);
512
- if (_e[t])
513
- return;
514
- _e[t] = !0;
515
- var n = "";
516
- e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + y(e._owner.type) + "."), S(e), l('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), S(null);
517
- }
518
- }
519
- function Re(e, r) {
520
- {
521
- if (typeof e != "object")
522
- return;
523
- if (K(e))
524
- for (var t = 0; t < e.length; t++) {
525
- var n = e[t];
526
- X(n) && Ee(n, r);
527
- }
528
- else if (X(e))
529
- e._store && (e._store.validated = !0);
530
- else if (e) {
531
- var i = Pe(e);
532
- if (typeof i == "function" && i !== e.entries)
533
- for (var u = i.call(e), o; !(o = u.next()).done; )
534
- X(o.value) && Ee(o.value, r);
535
- }
536
- }
537
- }
538
- function tr(e) {
539
- {
540
- var r = e.type;
541
- if (r == null || typeof r == "string")
542
- return;
543
- var t;
544
- if (typeof r == "function")
545
- t = r.propTypes;
546
- else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
547
- // Inner props are checked in the reconciler.
548
- r.$$typeof === b))
549
- t = r.propTypes;
550
- else
551
- return;
552
- if (t) {
553
- var n = y(r);
554
- Ue(t, e.props, "prop", n, e);
555
- } else if (r.PropTypes !== void 0 && !z) {
556
- z = !0;
557
- var i = y(r);
558
- l("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
559
- }
560
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && l("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
- }
562
- }
563
- function nr(e) {
564
- {
565
- for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
566
- var n = r[t];
567
- if (n !== "children" && n !== "key") {
568
- S(e), l("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), S(null);
569
- break;
570
- }
571
- }
572
- e.ref !== null && (S(e), l("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
573
- }
574
- }
575
- var me = {};
576
- function Te(e, r, t, n, i, u) {
577
- {
578
- var o = Ie(e);
579
- if (!o) {
580
- var a = "";
581
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var v = er();
583
- v ? a += v : a += he();
584
- var s;
585
- e === null ? s = "null" : K(e) ? s = "array" : e !== void 0 && e.$$typeof === C ? (s = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, l("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
586
- }
587
- var f = Qe(e, r, t, i, u);
588
- if (f == null)
589
- return f;
590
- if (o) {
591
- var g = r.children;
592
- if (g !== void 0)
593
- if (n)
594
- if (K(g)) {
595
- for (var w = 0; w < g.length; w++)
596
- Re(g[w], e);
597
- Object.freeze && Object.freeze(g);
598
- } else
599
- l("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
- else
601
- Re(g, e);
602
- }
603
- if (x.call(r, "key")) {
604
- var R = y(e), d = Object.keys(r).filter(function(fr) {
605
- return fr !== "key";
606
- }), H = d.length > 0 ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!me[R + H]) {
608
- var sr = d.length > 0 ? "{" + d.join(": ..., ") + ": ...}" : "{}";
609
- l(`A props object containing a "key" prop is being spread into JSX:
610
- let props = %s;
611
- <%s {...props} />
612
- React keys must be passed directly to JSX without using spread:
613
- let props = %s;
614
- <%s key={someKey} {...props} />`, H, R, sr, R), me[R + H] = !0;
615
- }
616
- }
617
- return e === m ? nr(f) : tr(f), f;
618
- }
619
- }
620
- function ar(e, r, t) {
621
- return Te(e, r, t, !0);
622
- }
623
- function or(e, r, t) {
624
- return Te(e, r, t, !1);
625
- }
626
- var ir = or, ur = ar;
627
- F.Fragment = m, F.jsx = ir, F.jsxs = ur;
628
- }()), F;
629
- }
630
- process.env.NODE_ENV === "production" ? Z.exports = lr() : Z.exports = cr();
631
- var dr = Z.exports;
632
- export {
633
- dr as j
634
- };
635
- //# sourceMappingURL=jsx-runtime-B6kdoens.js.map