zudoku 0.0.0-fix-firebase-export.2e421fda → 0.0.0-monetization-standalone.z07361713

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 (410) hide show
  1. package/dist/app/main.d.ts +6 -6
  2. package/dist/cli/common/version-check.js +12 -3
  3. package/dist/cli/common/version-check.js.map +1 -1
  4. package/dist/config/create-plugin.d.ts +2 -0
  5. package/dist/config/create-plugin.js +30 -0
  6. package/dist/config/create-plugin.js.map +1 -0
  7. package/dist/config/loader.js +3 -1
  8. package/dist/config/loader.js.map +1 -1
  9. package/dist/config/validators/InputNavigationSchema.d.ts +77 -75
  10. package/dist/config/validators/InputNavigationSchema.js +1 -0
  11. package/dist/config/validators/InputNavigationSchema.js.map +1 -1
  12. package/dist/config/validators/NavigationSchema.js +6 -1
  13. package/dist/config/validators/NavigationSchema.js.map +1 -1
  14. package/dist/config/validators/ProtectedRoutesSchema.d.ts +1 -1
  15. package/dist/config/validators/validate.d.ts +61 -15
  16. package/dist/config/validators/validate.js +9 -5
  17. package/dist/config/validators/validate.js.map +1 -1
  18. package/dist/flat-config.d.ts +30 -27
  19. package/dist/index.d.ts +3 -1
  20. package/dist/index.js +3 -1
  21. package/dist/index.js.map +1 -1
  22. package/dist/lib/auth/issuer.js +1 -1
  23. package/dist/lib/auth/issuer.js.map +1 -1
  24. package/dist/lib/authentication/authentication.d.ts +3 -2
  25. package/dist/lib/authentication/components/CallbackHandler.js +1 -1
  26. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  27. package/dist/lib/authentication/components/SignIn.js +4 -2
  28. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  29. package/dist/lib/authentication/components/SignUp.js +4 -2
  30. package/dist/lib/authentication/components/SignUp.js.map +1 -1
  31. package/dist/lib/authentication/hook.d.ts +2 -0
  32. package/dist/lib/authentication/hook.js +10 -0
  33. package/dist/lib/authentication/hook.js.map +1 -1
  34. package/dist/lib/authentication/providers/auth0.js +11 -7
  35. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  36. package/dist/lib/authentication/providers/clerk.js +0 -22
  37. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  38. package/dist/lib/authentication/providers/firebase.js +67 -9
  39. package/dist/lib/authentication/providers/firebase.js.map +1 -1
  40. package/dist/lib/authentication/providers/supabase.js +6 -15
  41. package/dist/lib/authentication/providers/supabase.js.map +1 -1
  42. package/dist/lib/authentication/ui/EmailVerificationUi.d.ts +4 -0
  43. package/dist/lib/authentication/ui/EmailVerificationUi.js +34 -0
  44. package/dist/lib/authentication/ui/EmailVerificationUi.js.map +1 -0
  45. package/dist/lib/authentication/ui/ZudokuAuthUi.d.ts +7 -2
  46. package/dist/lib/authentication/ui/ZudokuAuthUi.js +48 -12
  47. package/dist/lib/authentication/ui/ZudokuAuthUi.js.map +1 -1
  48. package/dist/lib/authentication/utils/relativeRedirectUrl.d.ts +1 -0
  49. package/dist/lib/authentication/utils/relativeRedirectUrl.js +8 -0
  50. package/dist/lib/authentication/utils/relativeRedirectUrl.js.map +1 -0
  51. package/dist/lib/components/Bootstrap.js +1 -2
  52. package/dist/lib/components/Bootstrap.js.map +1 -1
  53. package/dist/lib/components/Pagination.js +2 -2
  54. package/dist/lib/components/Pagination.js.map +1 -1
  55. package/dist/lib/components/Zudoku.js +2 -5
  56. package/dist/lib/components/Zudoku.js.map +1 -1
  57. package/dist/lib/components/context/ZudokuContext.d.ts +2 -4
  58. package/dist/lib/components/context/ZudokuContext.js +2 -2
  59. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  60. package/dist/lib/components/context/ZudokuProvider.js +1 -1
  61. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  62. package/dist/lib/components/context/ZudokuReactContext.d.ts +11 -0
  63. package/dist/lib/components/context/ZudokuReactContext.js +4 -0
  64. package/dist/lib/components/context/ZudokuReactContext.js.map +1 -0
  65. package/dist/lib/components/index.d.ts +5 -0
  66. package/dist/lib/components/index.js +4 -0
  67. package/dist/lib/components/index.js.map +1 -1
  68. package/dist/lib/components/navigation/NavigationItem.js +2 -2
  69. package/dist/lib/components/navigation/NavigationItem.js.map +1 -1
  70. package/dist/lib/core/RouteGuard.js +12 -7
  71. package/dist/lib/core/RouteGuard.js.map +1 -1
  72. package/dist/lib/core/plugins.d.ts +11 -1
  73. package/dist/lib/core/plugins.js +1 -0
  74. package/dist/lib/core/plugins.js.map +1 -1
  75. package/dist/lib/core/react-query.d.ts +1 -0
  76. package/dist/lib/core/react-query.js +2 -0
  77. package/dist/lib/core/react-query.js.map +1 -0
  78. package/dist/lib/core/transform-config.d.ts +2 -0
  79. package/dist/lib/core/transform-config.js +22 -0
  80. package/dist/lib/core/transform-config.js.map +1 -0
  81. package/dist/lib/errors/ErrorAlert.js +1 -2
  82. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  83. package/dist/lib/errors/ErrorMessage.d.ts +3 -0
  84. package/dist/lib/errors/ErrorMessage.js +16 -0
  85. package/dist/lib/errors/ErrorMessage.js.map +1 -0
  86. package/dist/lib/hooks/index.d.ts +2 -0
  87. package/dist/lib/oas/graphql/circular.d.ts +2 -0
  88. package/dist/lib/oas/graphql/circular.js +32 -10
  89. package/dist/lib/oas/graphql/circular.js.map +1 -1
  90. package/dist/lib/oas/graphql/circular.test.d.ts +1 -0
  91. package/dist/lib/oas/graphql/circular.test.js +152 -0
  92. package/dist/lib/oas/graphql/circular.test.js.map +1 -0
  93. package/dist/lib/oas/graphql/index.js +7 -3
  94. package/dist/lib/oas/graphql/index.js.map +1 -1
  95. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +9 -172
  96. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  97. package/dist/lib/plugins/api-keys/index.d.ts +11 -4
  98. package/dist/lib/plugins/api-keys/index.js +36 -22
  99. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  100. package/dist/lib/plugins/api-keys/settings/ApiKeyItem.d.ts +12 -0
  101. package/dist/lib/plugins/api-keys/settings/ApiKeyItem.js +133 -0
  102. package/dist/lib/plugins/api-keys/settings/ApiKeyItem.js.map +1 -0
  103. package/dist/lib/plugins/api-keys/settings/ApiKeyList.d.ts +4 -0
  104. package/dist/lib/plugins/api-keys/settings/ApiKeyList.js +33 -0
  105. package/dist/lib/plugins/api-keys/settings/ApiKeyList.js.map +1 -0
  106. package/dist/lib/plugins/api-keys/settings/RevealApiKey.d.ts +6 -0
  107. package/dist/lib/plugins/api-keys/settings/RevealApiKey.js +39 -0
  108. package/dist/lib/plugins/api-keys/settings/RevealApiKey.js.map +1 -0
  109. package/dist/lib/plugins/openapi/OasProvider.js +6 -2
  110. package/dist/lib/plugins/openapi/OasProvider.js.map +1 -1
  111. package/dist/lib/plugins/openapi/OperationList.js +4 -4
  112. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  113. package/dist/lib/plugins/openapi/ParamInfos.js +1 -0
  114. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
  115. package/dist/lib/plugins/openapi/Sidecar.js +3 -2
  116. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  117. package/dist/lib/plugins/openapi/interfaces.d.ts +3 -0
  118. package/dist/lib/plugins/openapi/schema/SchemaView.js +1 -1
  119. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  120. package/dist/lib/plugins/openapi/schema/utils.js +11 -3
  121. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  122. package/dist/lib/plugins/openapi/util/createHttpSnippet.js +24 -1
  123. package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -1
  124. package/dist/lib/plugins/openapi/util/getRoutes.d.ts +3 -0
  125. package/dist/lib/plugins/openapi/util/getRoutes.js +2 -1
  126. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
  127. package/dist/lib/ui/Button.js +1 -1
  128. package/dist/lib/ui/Button.js.map +1 -1
  129. package/dist/lib/ui/Command.d.ts +3 -3
  130. package/dist/lib/ui/Secret.js +2 -2
  131. package/dist/lib/ui/Secret.js.map +1 -1
  132. package/dist/lib/util/invariant.d.ts +1 -1
  133. package/dist/lib/util/invariant.js +2 -2
  134. package/dist/lib/util/invariant.js.map +1 -1
  135. package/dist/vite/api/SchemaManager.d.ts +12 -1
  136. package/dist/vite/api/SchemaManager.js +31 -14
  137. package/dist/vite/api/SchemaManager.js.map +1 -1
  138. package/dist/vite/api/SchemaManager.test.js +44 -0
  139. package/dist/vite/api/SchemaManager.test.js.map +1 -1
  140. package/dist/vite/config.js +10 -4
  141. package/dist/vite/config.js.map +1 -1
  142. package/dist/vite/error-handler.js +1 -5
  143. package/dist/vite/error-handler.js.map +1 -1
  144. package/dist/vite/mdx/remark-link-rewrite.js +1 -1
  145. package/dist/vite/plugin-api-keys.js +5 -1
  146. package/dist/vite/plugin-api-keys.js.map +1 -1
  147. package/dist/vite/plugin-api.js +5 -3
  148. package/dist/vite/plugin-api.js.map +1 -1
  149. package/dist/vite/plugin-markdown-export.js +1 -1
  150. package/dist/vite/plugin-markdown-export.js.map +1 -1
  151. package/dist/vite/plugin-theme.js +2 -1
  152. package/dist/vite/plugin-theme.js.map +1 -1
  153. package/dist/vite/prerender/utils.js +9 -3
  154. package/dist/vite/prerender/utils.js.map +1 -1
  155. package/dist/vite/prerender/worker.js +3 -0
  156. package/dist/vite/prerender/worker.js.map +1 -1
  157. package/dist/vite/zuplo.d.ts +13 -0
  158. package/dist/vite/zuplo.js +15 -0
  159. package/dist/vite/zuplo.js.map +1 -0
  160. package/lib/{ActionButton-DUgvSylL.js → ActionButton-B0CXL1Lq.js} +3 -3
  161. package/lib/{ActionButton-DUgvSylL.js.map → ActionButton-B0CXL1Lq.js.map} +1 -1
  162. package/lib/{Button-CynVW1JV.js → Button-GUVe7pmt.js} +8 -7
  163. package/lib/{Button-CynVW1JV.js.map → Button-GUVe7pmt.js.map} +1 -1
  164. package/lib/{Card-KFniaZn5.js → Card-DCdq37aA.js} +2 -2
  165. package/lib/{Card-KFniaZn5.js.map → Card-DCdq37aA.js.map} +1 -1
  166. package/lib/{ClaudeLogo-B4Xxt-x_.js → ClaudeLogo-CUaQXKLK.js} +22 -22
  167. package/lib/ClaudeLogo-CUaQXKLK.js.map +1 -0
  168. package/lib/{Command-BpT1iBE6.js → Command-N6VujV30.js} +3 -3
  169. package/lib/{Command-BpT1iBE6.js.map → Command-N6VujV30.js.map} +1 -1
  170. package/lib/{Dialog-BQciPiHN.js → Dialog-hlvmmQ_c.js} +2 -2
  171. package/lib/{Dialog-BQciPiHN.js.map → Dialog-hlvmmQ_c.js.map} +1 -1
  172. package/lib/{Drawer-Ci7XwhqT.js → Drawer-Ch7927PF.js} +7 -7
  173. package/lib/{Drawer-Ci7XwhqT.js.map → Drawer-Ch7927PF.js.map} +1 -1
  174. package/lib/{DropdownMenu-C8SX_-S_.js → DropdownMenu-DN0jNrjj.js} +2 -2
  175. package/lib/{DropdownMenu-C8SX_-S_.js.map → DropdownMenu-DN0jNrjj.js.map} +1 -1
  176. package/lib/Frame-DKlOmSkU.js +205 -0
  177. package/lib/Frame-DKlOmSkU.js.map +1 -0
  178. package/lib/HydrationBoundary-CNF2ZV3E.js +601 -0
  179. package/lib/HydrationBoundary-CNF2ZV3E.js.map +1 -0
  180. package/lib/{IndexingDialog-B5zCiUKr.js → IndexingDialog-D0YdGfbn.js} +3 -3
  181. package/lib/{IndexingDialog-B5zCiUKr.js.map → IndexingDialog-D0YdGfbn.js.map} +1 -1
  182. package/lib/Input-Cx-GeKoF.js +22 -0
  183. package/lib/Input-Cx-GeKoF.js.map +1 -0
  184. package/lib/{MdxPage-BagO2c-n.js → MdxPage-BiAVpP8K.js} +11 -11
  185. package/lib/{MdxPage-BagO2c-n.js.map → MdxPage-BiAVpP8K.js.map} +1 -1
  186. package/lib/{Mermaid-D_VSX7_Q.js → Mermaid-DEztDKFw.js} +4 -4
  187. package/lib/{Mermaid-D_VSX7_Q.js.map → Mermaid-DEztDKFw.js.map} +1 -1
  188. package/lib/{OAuthErrorPage-Fq54RLgt.js → OAuthErrorPage-DhJo-O2B.js} +15 -15
  189. package/lib/OAuthErrorPage-DhJo-O2B.js.map +1 -0
  190. package/lib/OasProvider-DFMZwyNn.js +48 -0
  191. package/lib/OasProvider-DFMZwyNn.js.map +1 -0
  192. package/lib/{OperationList-C0jiEaG5.js → OperationList-CnmLfOuu.js} +1560 -1545
  193. package/lib/{OperationList-C0jiEaG5.js.map → OperationList-CnmLfOuu.js.map} +1 -1
  194. package/lib/RouteGuard-CZuPjknT.js +77 -0
  195. package/lib/RouteGuard-CZuPjknT.js.map +1 -0
  196. package/lib/{SchemaList-BU0zCHn9.js → SchemaList-B5ikunUd.js} +9 -9
  197. package/lib/{SchemaList-BU0zCHn9.js.map → SchemaList-B5ikunUd.js.map} +1 -1
  198. package/lib/SchemaView-rjji7zMf.js +438 -0
  199. package/lib/SchemaView-rjji7zMf.js.map +1 -0
  200. package/lib/{Select-CkxXP5I7.js → Secret-BE7V0Vb5.js} +159 -139
  201. package/lib/Secret-BE7V0Vb5.js.map +1 -0
  202. package/lib/{Separator-CTPSeW1S.js → Separator-BXt1LYnm.js} +2 -2
  203. package/lib/{Separator-CTPSeW1S.js.map → Separator-BXt1LYnm.js.map} +1 -1
  204. package/lib/SignUp-DHWDXat-.js +50 -0
  205. package/lib/SignUp-DHWDXat-.js.map +1 -0
  206. package/lib/{SyntaxHighlight-Kdyskw3C.js → SyntaxHighlight-paLQ8NP8.js} +1751 -1725
  207. package/lib/SyntaxHighlight-paLQ8NP8.js.map +1 -0
  208. package/lib/{Toc-DJxFPfcS.js → Toc-vMbSQCkj.js} +3 -3
  209. package/lib/{Toc-DJxFPfcS.js.map → Toc-vMbSQCkj.js.map} +1 -1
  210. package/lib/ZudokuContext-CnEI8jPU.js +389 -0
  211. package/lib/ZudokuContext-CnEI8jPU.js.map +1 -0
  212. package/lib/{___vite-browser-external_commonjs-proxy-Cga3HsWk.js → ___vite-browser-external_commonjs-proxy-BttVsNON.js} +2 -2
  213. package/lib/___vite-browser-external_commonjs-proxy-BttVsNON.js.map +1 -0
  214. package/lib/chunk-EPOLDU6W-C6C8jAwd.js +8558 -0
  215. package/lib/chunk-EPOLDU6W-C6C8jAwd.js.map +1 -0
  216. package/lib/{circular-CzWF1hj5.js → circular-CLhJAE3S.js} +771 -749
  217. package/lib/{circular-CzWF1hj5.js.map → circular-CLhJAE3S.js.map} +1 -1
  218. package/lib/{cn-dYga0KKN.js → cn-5-Gd1Dss.js} +531 -498
  219. package/lib/cn-5-Gd1Dss.js.map +1 -0
  220. package/lib/{createServer-BIr2_tGn.js → createServer-BYtu5Pcr.js} +12 -12
  221. package/lib/{createServer-BIr2_tGn.js.map → createServer-BYtu5Pcr.js.map} +1 -1
  222. package/lib/createVariantComponent-Dc0vtOvr.js +18 -0
  223. package/lib/createVariantComponent-Dc0vtOvr.js.map +1 -0
  224. package/lib/{errors-Bs4duWDy.js → errors-DkJIl45d.js} +3 -3
  225. package/lib/{errors-Bs4duWDy.js.map → errors-DkJIl45d.js.map} +1 -1
  226. package/lib/{firebase-Cax7HPzn.js → firebase-CmsW0j7-.js} +1579 -1325
  227. package/lib/firebase-CmsW0j7-.js.map +1 -0
  228. package/lib/hook-Da8QTnPd.js +52 -0
  229. package/lib/hook-Da8QTnPd.js.map +1 -0
  230. package/lib/{index-Css56y3F.js → index-Ba6RP577.js} +4 -4
  231. package/lib/{index-Css56y3F.js.map → index-Ba6RP577.js.map} +1 -1
  232. package/lib/index-CrcNWbel.js.map +1 -1
  233. package/lib/{index-Bh-MffiL.js → index-D35F-SCL.js} +2 -2
  234. package/lib/{index-Bh-MffiL.js.map → index-D35F-SCL.js.map} +1 -1
  235. package/lib/{index-0oT9beQN.js → index-k0PVZBYl.js} +155 -151
  236. package/lib/{index-0oT9beQN.js.map → index-k0PVZBYl.js.map} +1 -1
  237. package/lib/{ErrorAlert-DrOR8w3f.js → index-ofqkdEjL.js} +5457 -4444
  238. package/lib/index-ofqkdEjL.js.map +1 -0
  239. package/lib/index.esm-BYObtETB.js.map +1 -1
  240. package/lib/{index.esm-DtzT_KoE.js → index.esm-B_0dvNjB.js} +2 -2
  241. package/lib/{index.esm-DtzT_KoE.js.map → index.esm-B_0dvNjB.js.map} +1 -1
  242. package/lib/{index.esm-DDENMN4y.js → index.esm-DFzsB75P.js} +16 -14
  243. package/lib/index.esm-DFzsB75P.js.map +1 -0
  244. package/lib/{invariant-CGOLuIIz.js → invariant-BJAl77rw.js} +4 -4
  245. package/lib/invariant-BJAl77rw.js.map +1 -0
  246. package/lib/jsx-runtime-BzflLqGi.js.map +1 -1
  247. package/lib/{mutation-BoVlx8yA.js → mutation-BISOc7OM.js} +70 -44
  248. package/lib/mutation-BISOc7OM.js.map +1 -0
  249. package/lib/ui/Accordion.js +1 -1
  250. package/lib/ui/ActionButton.js +2 -2
  251. package/lib/ui/Alert.js +1 -1
  252. package/lib/ui/AlertDialog.js +1 -1
  253. package/lib/ui/Badge.js +1 -1
  254. package/lib/ui/Breadcrumb.js +1 -1
  255. package/lib/ui/Button.js +7 -6
  256. package/lib/ui/Button.js.map +1 -1
  257. package/lib/ui/ButtonGroup.js +1 -1
  258. package/lib/ui/Callout.js +1 -1
  259. package/lib/ui/Card.js +1 -1
  260. package/lib/ui/Carousel.js +1 -1
  261. package/lib/ui/Carousel.js.map +1 -1
  262. package/lib/ui/Checkbox.js +1 -1
  263. package/lib/ui/CodeBlock.js +1 -1
  264. package/lib/ui/Command.js +2 -2
  265. package/lib/ui/Dialog.js +1 -1
  266. package/lib/ui/Drawer.js +3 -3
  267. package/lib/ui/DropdownMenu.js +1 -1
  268. package/lib/ui/EmbeddedCodeBlock.js +1 -1
  269. package/lib/ui/Form.js +1 -1
  270. package/lib/ui/Frame.js +1 -1
  271. package/lib/ui/HoverCard.js +1 -1
  272. package/lib/ui/Input.js +1 -1
  273. package/lib/ui/Item.js +1 -1
  274. package/lib/ui/Label.js +1 -1
  275. package/lib/ui/NativeSelect.js +1 -1
  276. package/lib/ui/Pagination.js +1 -1
  277. package/lib/ui/Popover.js +1 -1
  278. package/lib/ui/Progress.js +1 -1
  279. package/lib/ui/RadioGroup.js +1 -1
  280. package/lib/ui/ScrollArea.js +1 -1
  281. package/lib/ui/Secret.js +3 -3
  282. package/lib/ui/Secret.js.map +1 -1
  283. package/lib/ui/Separator.js +1 -1
  284. package/lib/ui/Skeleton.js +1 -1
  285. package/lib/ui/Slider.js +1 -1
  286. package/lib/ui/Switch.js +1 -1
  287. package/lib/ui/SyntaxHighlight.js +3 -3
  288. package/lib/ui/Tabs.js +1 -1
  289. package/lib/ui/Textarea.js +1 -1
  290. package/lib/ui/Toggle.js +1 -1
  291. package/lib/ui/ToggleGroup.js +1 -1
  292. package/lib/ui/Value.js +1 -1
  293. package/lib/ui/util.js +1 -1
  294. package/lib/{useMutation-C6RqWmTS.js → useMutation-CFMGlAMW.js} +39 -17
  295. package/lib/useMutation-CFMGlAMW.js.map +1 -0
  296. package/lib/useSuspenseQuery-CSB_rVek.js +1226 -0
  297. package/lib/useSuspenseQuery-CSB_rVek.js.map +1 -0
  298. package/lib/zudoku.__internal.js +826 -1325
  299. package/lib/zudoku.__internal.js.map +1 -1
  300. package/lib/zudoku.auth-auth0.js +16 -16
  301. package/lib/zudoku.auth-auth0.js.map +1 -1
  302. package/lib/zudoku.auth-azureb2c.js +4 -4
  303. package/lib/zudoku.auth-clerk.js +52 -75
  304. package/lib/zudoku.auth-clerk.js.map +1 -1
  305. package/lib/zudoku.auth-firebase.js +6 -5
  306. package/lib/zudoku.auth-firebase.js.map +1 -1
  307. package/lib/zudoku.auth-openid.js +5 -5
  308. package/lib/zudoku.auth-supabase.js +31 -40
  309. package/lib/zudoku.auth-supabase.js.map +1 -1
  310. package/lib/zudoku.components.js +23 -21
  311. package/lib/zudoku.hooks.js +3 -3
  312. package/lib/zudoku.mermaid.js +3 -3
  313. package/lib/zudoku.plugin-api-catalog.js +8 -8
  314. package/lib/zudoku.plugin-api-keys.js +607 -552
  315. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  316. package/lib/zudoku.plugin-custom-pages.js +1 -1
  317. package/lib/zudoku.plugin-markdown.js +1 -1
  318. package/lib/zudoku.plugin-openapi.js +3 -3
  319. package/lib/zudoku.plugin-redirect.js +1 -1
  320. package/lib/zudoku.plugin-search-pagefind.js +30 -29
  321. package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
  322. package/lib/zudoku.plugins.js +9 -8
  323. package/lib/zudoku.plugins.js.map +1 -1
  324. package/lib/zudoku.react-query.js +440 -0
  325. package/lib/zudoku.react-query.js.map +1 -0
  326. package/lib/zudoku.router.js +1130 -1404
  327. package/lib/zudoku.router.js.map +1 -1
  328. package/package.json +36 -22
  329. package/src/lib/auth/issuer.ts +1 -1
  330. package/src/lib/authentication/authentication.ts +8 -2
  331. package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
  332. package/src/lib/authentication/components/SignIn.tsx +5 -2
  333. package/src/lib/authentication/components/SignUp.tsx +5 -2
  334. package/src/lib/authentication/hook.ts +16 -0
  335. package/src/lib/authentication/providers/auth0.tsx +15 -9
  336. package/src/lib/authentication/providers/clerk.tsx +0 -26
  337. package/src/lib/authentication/providers/firebase.tsx +98 -6
  338. package/src/lib/authentication/providers/supabase.tsx +6 -15
  339. package/src/lib/authentication/ui/EmailVerificationUi.tsx +129 -0
  340. package/src/lib/authentication/ui/ZudokuAuthUi.tsx +181 -39
  341. package/src/lib/authentication/utils/relativeRedirectUrl.ts +12 -0
  342. package/src/lib/components/Bootstrap.tsx +1 -4
  343. package/src/lib/components/Pagination.tsx +4 -5
  344. package/src/lib/components/Zudoku.tsx +5 -11
  345. package/src/lib/components/context/ZudokuContext.ts +2 -6
  346. package/src/lib/components/context/ZudokuProvider.tsx +1 -1
  347. package/src/lib/components/context/ZudokuReactContext.tsx +17 -0
  348. package/src/lib/components/index.ts +4 -0
  349. package/src/lib/components/navigation/NavigationItem.tsx +9 -3
  350. package/src/lib/core/RouteGuard.tsx +30 -24
  351. package/src/lib/core/plugins.ts +21 -1
  352. package/src/lib/core/react-query.ts +1 -0
  353. package/src/lib/core/transform-config.ts +29 -0
  354. package/src/lib/errors/ErrorAlert.tsx +1 -6
  355. package/src/lib/errors/ErrorMessage.tsx +38 -0
  356. package/src/lib/oas/graphql/circular.test.ts +186 -0
  357. package/src/lib/oas/graphql/circular.ts +49 -10
  358. package/src/lib/oas/graphql/index.ts +7 -3
  359. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +36 -476
  360. package/src/lib/plugins/api-keys/index.tsx +76 -32
  361. package/src/lib/plugins/api-keys/settings/ApiKeyItem.tsx +342 -0
  362. package/src/lib/plugins/api-keys/settings/ApiKeyList.tsx +67 -0
  363. package/src/lib/plugins/api-keys/settings/RevealApiKey.tsx +124 -0
  364. package/src/lib/plugins/openapi/OasProvider.tsx +10 -2
  365. package/src/lib/plugins/openapi/OperationList.tsx +4 -4
  366. package/src/lib/plugins/openapi/ParamInfos.tsx +1 -0
  367. package/src/lib/plugins/openapi/Sidecar.tsx +3 -2
  368. package/src/lib/plugins/openapi/interfaces.ts +6 -1
  369. package/src/lib/plugins/openapi/schema/SchemaView.tsx +6 -4
  370. package/src/lib/plugins/openapi/schema/utils.ts +15 -4
  371. package/src/lib/plugins/openapi/util/createHttpSnippet.ts +29 -1
  372. package/src/lib/plugins/openapi/util/getRoutes.tsx +4 -1
  373. package/src/lib/ui/Button.tsx +1 -0
  374. package/src/lib/ui/Secret.tsx +2 -2
  375. package/src/lib/util/invariant.ts +2 -1
  376. package/src/shiki/langs/c3.js +1 -0
  377. package/src/shiki/langs/gn.js +1 -0
  378. package/src/shiki/langs/moonbit.js +1 -0
  379. package/lib/ClaudeLogo-B4Xxt-x_.js.map +0 -1
  380. package/lib/ErrorAlert-DrOR8w3f.js.map +0 -1
  381. package/lib/OAuthErrorPage-Fq54RLgt.js.map +0 -1
  382. package/lib/OasProvider-DPH8mwDa.js +0 -40
  383. package/lib/OasProvider-DPH8mwDa.js.map +0 -1
  384. package/lib/RouteGuard-9wjejsKm.js +0 -77
  385. package/lib/RouteGuard-9wjejsKm.js.map +0 -1
  386. package/lib/RouterError-DSLXagd5.js +0 -42
  387. package/lib/RouterError-DSLXagd5.js.map +0 -1
  388. package/lib/SchemaView-DVae4RO2.js +0 -597
  389. package/lib/SchemaView-DVae4RO2.js.map +0 -1
  390. package/lib/Select-CkxXP5I7.js.map +0 -1
  391. package/lib/SignUp-BjS4ozA7.js +0 -50
  392. package/lib/SignUp-BjS4ozA7.js.map +0 -1
  393. package/lib/SyntaxHighlight-Kdyskw3C.js.map +0 -1
  394. package/lib/ZudokuContext-BXldanA8.js +0 -1508
  395. package/lib/ZudokuContext-BXldanA8.js.map +0 -1
  396. package/lib/___vite-browser-external_commonjs-proxy-Cga3HsWk.js.map +0 -1
  397. package/lib/chunk-PVWAREVJ-dLIqswPy.js +0 -7965
  398. package/lib/chunk-PVWAREVJ-dLIqswPy.js.map +0 -1
  399. package/lib/cn-dYga0KKN.js.map +0 -1
  400. package/lib/createVariantComponent-B9_dVBvu.js +0 -35
  401. package/lib/createVariantComponent-B9_dVBvu.js.map +0 -1
  402. package/lib/firebase-Cax7HPzn.js.map +0 -1
  403. package/lib/hook-BNxidGQq.js +0 -40
  404. package/lib/hook-BNxidGQq.js.map +0 -1
  405. package/lib/index-CCmMJp02.js +0 -1059
  406. package/lib/index-CCmMJp02.js.map +0 -1
  407. package/lib/index.esm-DDENMN4y.js.map +0 -1
  408. package/lib/invariant-CGOLuIIz.js.map +0 -1
  409. package/lib/mutation-BoVlx8yA.js.map +0 -1
  410. package/lib/useMutation-C6RqWmTS.js.map +0 -1
@@ -1,40 +1,41 @@
1
1
  import { j as t } from "./jsx-runtime-BzflLqGi.js";
2
- import { ChevronsDownUpIcon as Ln, ChevronsUpDownIcon as kn, PlusCircleIcon as Je, XIcon as It, CheckIcon as Dt, PaperclipIcon as ue, TrashIcon as En, FileInput as Rn, ScanTextIcon as yt, Grid2x2PlusIcon as vt, ChevronDownIcon as In, TableOfContentsIcon as Dn, LockIcon as Fn, CircleAlertIcon as zn, Circle as Vn, Unlink2Icon as Bn, CornerDownRightIcon as _n, MinusCircleIcon as bt, CornerDownLeftIcon as qn, SquareCodeIcon as Mn, DownloadIcon as Un, EyeOffIcon as Gn, EyeIcon as Hn, UnplugIcon as Qn, SendIcon as Jn, CopyIcon as Wn, IdCardLanyardIcon as Kn, ShapesIcon as Xn, PlayIcon as Zn, CirclePlayIcon as Yn } from "lucide-react";
3
- import { r as es, c as ts, a as ns, N as ss, aL as rs, m as jt } from "./chunk-PVWAREVJ-dLIqswPy.js";
2
+ import { ChevronsDownUpIcon as Ln, ChevronsUpDownIcon as En, PlusCircleIcon as Je, XIcon as It, CheckIcon as Dt, PaperclipIcon as ue, TrashIcon as kn, FileInput as Rn, ScanTextIcon as yt, Grid2x2PlusIcon as vt, ChevronDownIcon as In, TableOfContentsIcon as Dn, LockIcon as Fn, CircleAlertIcon as zn, Circle as Vn, Unlink2Icon as Bn, CornerDownRightIcon as _n, MinusCircleIcon as bt, CornerDownLeftIcon as qn, SquareCodeIcon as Mn, DownloadIcon as Un, EyeOffIcon as Gn, EyeIcon as Hn, UnplugIcon as Qn, SendIcon as Jn, CopyIcon as Wn, IdCardLanyardIcon as Xn, ShapesIcon as Kn, PlayIcon as Zn, CirclePlayIcon as Yn } from "lucide-react";
3
+ import { r as es, d as ts, a as ns, N as ss, aL as rs, m as jt } from "./chunk-EPOLDU6W-C6C8jAwd.js";
4
4
  import { Button as Ft } from "./ui/Button.js";
5
- import { J as Ze, K as Ye, L as zt, k as as, M as os, O as is, j as V, e as ls } from "./ZudokuContext-BXldanA8.js";
6
- import { Z as cs } from "./invariant-CGOLuIIz.js";
5
+ import { f as Ze, p as Ye, g as zt, s as as, h as os, j as V } from "./ZudokuContext-CnEI8jPU.js";
6
+ import { Z as is } from "./invariant-BJAl77rw.js";
7
7
  import * as xe from "react";
8
- import { createContext as Vt, use as ds, useRef as k, useEffect as G, useMemo as Bt, useCallback as D, startTransition as us, useState as E, Fragment as ie, useLayoutEffect as ms, useTransition as ps, useContext as hs } from "react";
9
- import { VisuallyHidden as fs } from "@radix-ui/react-visually-hidden";
10
- import { z as gs, b as xs } from "./index-Css56y3F.js";
11
- import { B as q } from "./Button-CynVW1JV.js";
12
- import { D as et, a as tt, c as nt, d as _t, e as qt, g as ys } from "./Dialog-BQciPiHN.js";
13
- import { B as pe, S as vs, b as bs } from "./index-CCmMJp02.js";
14
- import { u as js } from "./useMutation-C6RqWmTS.js";
15
- import { u as ae, b as Mt, C as Ct, a as Cs, F as Ns } from "./index.esm-BYObtETB.js";
8
+ import { createContext as Vt, use as ls, useRef as E, useEffect as G, useMemo as Bt, useCallback as D, startTransition as cs, useState as k, Fragment as ie, useLayoutEffect as ds, useTransition as us, useContext as ms } from "react";
9
+ import { VisuallyHidden as ps } from "@radix-ui/react-visually-hidden";
10
+ import { z as hs, b as fs } from "./index-Ba6RP577.js";
11
+ import { B as q } from "./Button-GUVe7pmt.js";
12
+ import { D as et, a as tt, c as nt, d as _t, e as qt, g as gs } from "./Dialog-hlvmmQ_c.js";
13
+ import { B as pe, i as Ct, j as Nt, k as St, S as xs, l as ys, f as vs } from "./index-ofqkdEjL.js";
14
+ import { u as bs } from "./useMutation-CFMGlAMW.js";
15
+ import { u as ae, b as Mt, C as wt, a as js, F as Cs } from "./index.esm-BYObtETB.js";
16
16
  import * as st from "@radix-ui/react-collapsible";
17
- import { S as Ut, a as Gt, b as Ht, c as Qt, e as Te, g as Ss } from "./Select-CkxXP5I7.js";
18
- import { h as Nt, i as St, j as wt, k as ws, g as Ts } from "./ErrorAlert-DrOR8w3f.js";
19
- import { c as w } from "./cn-dYga0KKN.js";
20
- import { u as As } from "./useCopyToClipboard-B_085nfO.js";
21
- import { u as $s } from "./useLatest-hmRS46UF.js";
22
- import { D as Jt, a as Wt, b as Kt, d as Ps, e as Os, f as Ls, c as Ae } from "./DropdownMenu-C8SX_-S_.js";
23
- import { c as ye, I as ks } from "./createVariantComponent-B9_dVBvu.js";
17
+ import { a as Ut, b as Gt, c as Ht, d as Qt, f as Te, S as Ns, h as Ss } from "./Secret-BE7V0Vb5.js";
18
+ import { c as w } from "./cn-5-Gd1Dss.js";
19
+ import { u as ws } from "./useCopyToClipboard-B_085nfO.js";
20
+ import { u as Ts } from "./useLatest-hmRS46UF.js";
21
+ import { D as Jt, a as Wt, b as Xt, d as As, e as $s, f as Ps, c as Ae } from "./DropdownMenu-DN0jNrjj.js";
22
+ import { I as Os } from "./Input-Cx-GeKoF.js";
23
+ import { c as ye } from "./createVariantComponent-Dc0vtOvr.js";
24
24
  import * as Tt from "@radix-ui/react-checkbox";
25
25
  import * as $e from "@radix-ui/react-popover";
26
- import { PopoverAnchor as Es } from "@radix-ui/react-popover";
27
- import { P as Rs } from "./index-CrcNWbel.js";
28
- import { f as Is, g as Ds, C as Fs, b as zs } from "./Command-BpT1iBE6.js";
29
- import { C as Vs } from "./Card-KFniaZn5.js";
30
- import * as Xt from "@radix-ui/react-label";
31
- import { c as Bs } from "./index-DI5SPFK9.js";
26
+ import { PopoverAnchor as Ls } from "@radix-ui/react-popover";
27
+ import { P as Es } from "./index-CrcNWbel.js";
28
+ import { f as ks, g as Rs, C as Is, b as Ds } from "./Command-N6VujV30.js";
29
+ import { C as Fs } from "./Card-DCdq37aA.js";
30
+ import * as Kt from "@radix-ui/react-label";
31
+ import { c as zs } from "./index-DI5SPFK9.js";
32
32
  import * as he from "@radix-ui/react-radio-group";
33
- import { A as _s, a as qs, b as Ms } from "./Mermaid-D_VSX7_Q.js";
33
+ import { A as Vs, a as Bs, b as _s } from "./Mermaid-DEztDKFw.js";
34
+ import { e as qs, u as Ms } from "./useSuspenseQuery-CSB_rVek.js";
34
35
  let _e;
35
36
  const Us = (e) => {
36
37
  if (e.errors?.[0])
37
- throw new cs(e.errors[0].message, {
38
+ throw new is(e.errors[0].message, {
38
39
  developerHint: "Check your configuration value `apis.type` and `apis.input` in the Zudoku config."
39
40
  });
40
41
  };
@@ -42,7 +43,7 @@ class Gs {
42
43
  constructor(n) {
43
44
  this.config = n;
44
45
  }
45
- #e = async () => (_e || (_e = import("./createServer-BIr2_tGn.js").then(
46
+ #e = async () => (_e || (_e = import("./createServer-BYtu5Pcr.js").then(
46
47
  (n) => n.createServer(this.config)
47
48
  )), _e);
48
49
  #t = async (n) => this.config.server ? fetch(this.config.server, n) : (await this.#e()).fetch("http://localhost/graphql", n);
@@ -117,7 +118,7 @@ function At(e) {
117
118
  return n.map(([a, r]) => a.padStart(s) + (r ? " " + r : "")).join(`
118
119
  `);
119
120
  }
120
- function Ks(e) {
121
+ function Xs(e) {
121
122
  const n = e[0];
122
123
  return n == null || "kind" in n || "length" in n ? {
123
124
  nodes: n,
@@ -169,7 +170,7 @@ class rt extends Error {
169
170
  */
170
171
  constructor(n, ...s) {
171
172
  var a, r, o;
172
- const { nodes: i, source: c, positions: l, path: m, originalError: d, extensions: f } = Ks(s);
173
+ const { nodes: i, source: c, positions: l, path: m, originalError: d, extensions: f } = Xs(s);
173
174
  super(n), this.name = "GraphQLError", this.path = m ?? void 0, this.originalError = d ?? void 0, this.nodes = $t(
174
175
  Array.isArray(i) ? i : i ? [i] : void 0
175
176
  );
@@ -314,7 +315,7 @@ class Yt {
314
315
  };
315
316
  }
316
317
  }
317
- const Xs = {
318
+ const Ks = {
318
319
  Name: [],
319
320
  Document: ["definitions"],
320
321
  OperationDefinition: [
@@ -401,8 +402,8 @@ const Xs = {
401
402
  ArgumentCoordinate: ["name", "fieldName", "argumentName"],
402
403
  DirectiveCoordinate: ["name"],
403
404
  DirectiveArgumentCoordinate: ["name", "argumentName"]
404
- }, Zs = new Set(Object.keys(Xs));
405
- function Xa(e) {
405
+ }, Zs = new Set(Object.keys(Ks));
406
+ function Za(e) {
406
407
  const n = e?.kind;
407
408
  return typeof n == "string" && Zs.has(n);
408
409
  }
@@ -410,7 +411,7 @@ var Pt;
410
411
  (function(e) {
411
412
  e.QUERY = "query", e.MUTATION = "mutation", e.SUBSCRIPTION = "subscription";
412
413
  })(Pt || (Pt = {}));
413
- function Ke(e) {
414
+ function Xe(e) {
414
415
  return e === 9 || e === 32;
415
416
  }
416
417
  function fe(e) {
@@ -441,15 +442,15 @@ function er(e) {
441
442
  }
442
443
  function tr(e) {
443
444
  let n = 0;
444
- for (; n < e.length && Ke(e.charCodeAt(n)); )
445
+ for (; n < e.length && Xe(e.charCodeAt(n)); )
445
446
  ++n;
446
447
  return n;
447
448
  }
448
449
  function nr(e, n) {
449
- const s = e.replace(/"""/g, '\\"""'), a = s.split(/\r\n|[\n\r]/g), r = a.length === 1, o = a.length > 1 && a.slice(1).every((h) => h.length === 0 || Ke(h.charCodeAt(0))), i = s.endsWith('\\"""'), c = e.endsWith('"') && !i, l = e.endsWith("\\"), m = c || l, d = !(n != null && n.minimize) && // add leading and trailing new lines only if it improves readability
450
+ const s = e.replace(/"""/g, '\\"""'), a = s.split(/\r\n|[\n\r]/g), r = a.length === 1, o = a.length > 1 && a.slice(1).every((h) => h.length === 0 || Xe(h.charCodeAt(0))), i = s.endsWith('\\"""'), c = e.endsWith('"') && !i, l = e.endsWith("\\"), m = c || l, d = !(n != null && n.minimize) && // add leading and trailing new lines only if it improves readability
450
451
  (!r || e.length > 70 || m || o || i);
451
452
  let f = "";
452
- const x = r && Ke(e.charCodeAt(0));
453
+ const x = r && Xe(e.charCodeAt(0));
453
454
  return (d && !x || o) && (f += `
454
455
  `), f += s, (d || m) && (f += `
455
456
  `), '"""' + f + '"""';
@@ -517,7 +518,7 @@ function nn(e) {
517
518
  function sn(e) {
518
519
  return e >= 56320 && e <= 57343;
519
520
  }
520
- function X(e, n) {
521
+ function K(e, n) {
521
522
  const s = e.source.body.codePointAt(n);
522
523
  if (s === void 0)
523
524
  return b.EOF;
@@ -622,7 +623,7 @@ function ar(e, n) {
622
623
  throw F(
623
624
  e.source,
624
625
  r,
625
- o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : oe(o) || Oe(s, r) ? `Unexpected character: ${X(e, r)}.` : `Invalid character: ${X(e, r)}.`
626
+ o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : oe(o) || Oe(s, r) ? `Unexpected character: ${K(e, r)}.` : `Invalid character: ${K(e, r)}.`
626
627
  );
627
628
  }
628
629
  return P(e, b.EOF, a, a);
@@ -657,7 +658,7 @@ function ir(e, n, s) {
657
658
  throw F(
658
659
  e.source,
659
660
  r,
660
- `Invalid number, unexpected digit after 0: ${X(
661
+ `Invalid number, unexpected digit after 0: ${K(
661
662
  e,
662
663
  r
663
664
  )}.`
@@ -668,7 +669,7 @@ function ir(e, n, s) {
668
669
  throw F(
669
670
  e.source,
670
671
  r,
671
- `Invalid number, expected digit but got: ${X(
672
+ `Invalid number, expected digit but got: ${K(
672
673
  e,
673
674
  r
674
675
  )}.`
@@ -686,7 +687,7 @@ function Me(e, n, s) {
686
687
  throw F(
687
688
  e.source,
688
689
  n,
689
- `Invalid number, expected digit but got: ${X(
690
+ `Invalid number, expected digit but got: ${K(
690
691
  e,
691
692
  n
692
693
  )}.`
@@ -720,7 +721,7 @@ function lr(e, n) {
720
721
  throw F(
721
722
  e.source,
722
723
  r,
723
- `Invalid character within String: ${X(
724
+ `Invalid character within String: ${K(
724
725
  e,
725
726
  r
726
727
  )}.`
@@ -869,7 +870,7 @@ function mr(e, n) {
869
870
  throw F(
870
871
  e.source,
871
872
  o,
872
- `Invalid character within String: ${X(
873
+ `Invalid character within String: ${K(
873
874
  e,
874
875
  o
875
876
  )}.`
@@ -1022,14 +1023,14 @@ function Nr(e) {
1022
1023
  }
1023
1024
  const ln = Vt(
1024
1025
  void 0
1025
- ), Za = ({
1026
+ ), Ya = ({
1026
1027
  children: e,
1027
1028
  client: n
1028
1029
  }) => /* @__PURE__ */ t.jsx(ln.Provider, { value: n, children: e }), cn = (e, n, ...[s]) => ({
1029
1030
  queryFn: () => e.fetch(n, s),
1030
1031
  queryKey: [Nr(n.toString()), s]
1031
1032
  }), Sr = (e, ...[n]) => {
1032
- const s = ds(ln);
1033
+ const s = ls(ln);
1033
1034
  if (s === void 0)
1034
1035
  throw new Error("useGraphQL must be used within a GraphQLProvider");
1035
1036
  return cn(s, e, ...n === void 0 ? [] : [n]);
@@ -1278,7 +1279,7 @@ const wr = new Y(
1278
1279
  }
1279
1280
  }
1280
1281
  }
1281
- `), kr = {
1282
+ `), Er = {
1282
1283
  "\n query ServersQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n": Tr,
1283
1284
  "\n fragment OperationsFragment on OperationItem {\n slug\n summary\n method\n description\n operationId\n contentTypes\n path\n deprecated\n extensions\n servers {\n url\n description\n }\n parameters {\n name\n in\n description\n required\n schema\n style\n explode\n examples {\n name\n description\n externalValue\n value\n summary\n }\n }\n requestBody {\n content {\n mediaType\n encoding {\n name\n }\n examples {\n name\n description\n externalValue\n value\n summary\n }\n schema\n }\n description\n required\n }\n responses {\n statusCode\n links\n description\n content {\n examples {\n name\n description\n externalValue\n value\n summary\n }\n mediaType\n encoding {\n name\n }\n schema\n }\n }\n }\n": wr,
1284
1285
  "\n query SchemaWarmup($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n openapi\n }\n }\n": Ar,
@@ -1287,8 +1288,8 @@ const wr = new Y(
1287
1288
  "\n query getServerQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n": Or,
1288
1289
  "\n query GetNavigationOperations($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n extensions\n tags {\n slug\n name\n extensions\n operations {\n summary\n slug\n method\n operationId\n path\n }\n }\n components {\n schemas {\n __typename\n }\n }\n }\n }\n": Lr
1289
1290
  };
1290
- function Er(e) {
1291
- return kr[e] ?? {};
1291
+ function kr(e) {
1292
+ return Er[e] ?? {};
1292
1293
  }
1293
1294
  function B({
1294
1295
  ...e
@@ -1347,7 +1348,7 @@ const Dr = {
1347
1348
  option: "⌥"
1348
1349
  }
1349
1350
  }, Fr = (e, n) => {
1350
- const s = e.toLowerCase().split("+"), a = s.includes("meta"), r = s.includes("shift"), o = s.includes("option") || s.includes("alt"), i = s.includes("ctrl"), c = e.split("+").pop(), l = k(n);
1351
+ const s = e.toLowerCase().split("+"), a = s.includes("meta"), r = s.includes("shift"), o = s.includes("option") || s.includes("alt"), i = s.includes("ctrl"), c = e.split("+").pop(), l = E(n);
1351
1352
  return G(() => {
1352
1353
  l.current = n;
1353
1354
  }, [n]), G(() => {
@@ -1391,7 +1392,7 @@ const Dr = {
1391
1392
  )
1392
1393
  );
1393
1394
  dn.displayName = "Textarea";
1394
- const ke = (e = 0) => {
1395
+ const Ee = (e = 0) => {
1395
1396
  if (e === 0)
1396
1397
  return "0 B";
1397
1398
  const n = Math.floor(Math.log(e) / Math.log(1e3));
@@ -1424,7 +1425,7 @@ const ke = (e = 0) => {
1424
1425
  }
1425
1426
  ),
1426
1427
  /* @__PURE__ */ t.jsx(
1427
- kn,
1428
+ En,
1428
1429
  {
1429
1430
  className: "group-data-[state=open]:hidden shrink-0",
1430
1431
  size: 14
@@ -1454,10 +1455,10 @@ const ke = (e = 0) => {
1454
1455
  ]
1455
1456
  }
1456
1457
  ) }),
1457
- /* @__PURE__ */ t.jsx(Kt, { className: "max-w-72", children: e.map((s) => /* @__PURE__ */ t.jsxs("div", { children: [
1458
- /* @__PURE__ */ t.jsx(Ps, { children: s.mediaType }),
1459
- /* @__PURE__ */ t.jsx(Os, {}),
1460
- /* @__PURE__ */ t.jsx(Ls, { children: s.examples?.map((a) => /* @__PURE__ */ t.jsx(
1458
+ /* @__PURE__ */ t.jsx(Xt, { className: "max-w-72", children: e.map((s) => /* @__PURE__ */ t.jsxs("div", { children: [
1459
+ /* @__PURE__ */ t.jsx(As, { children: s.mediaType }),
1460
+ /* @__PURE__ */ t.jsx($s, {}),
1461
+ /* @__PURE__ */ t.jsx(Ps, { children: s.examples?.map((a) => /* @__PURE__ */ t.jsx(
1461
1462
  Ae,
1462
1463
  {
1463
1464
  onSelect: () => n(a, s.mediaType),
@@ -1473,14 +1474,14 @@ const ke = (e = 0) => {
1473
1474
  a.name
1474
1475
  )) })
1475
1476
  ] }, s.mediaType)) })
1476
- ] }), Ee = ye(
1477
+ ] }), ke = ye(
1477
1478
  "div",
1478
1479
  "grid grid-cols-[min-content_2fr_3fr] items-center gap-x-5 [&>*:last-child_[data-slot=remove-button]]:invisible"
1479
1480
  ), ge = ye(
1480
1481
  "div",
1481
1482
  "group h-9 hover:bg-accent/75 ps-4 pe-2 grid col-span-full grid-cols-subgrid items-center border-b"
1482
1483
  ), I = ye(
1483
- ks,
1484
+ Os,
1484
1485
  "w-full truncate border-0 p-0 m-0 shadow-none text-xs focus-visible:ring-0 font-mono"
1485
1486
  ), at = ({
1486
1487
  onClick: e,
@@ -1525,7 +1526,7 @@ function ve({
1525
1526
  );
1526
1527
  }
1527
1528
  const _r = ({ index: e, manager: n }) => {
1528
- const s = k(null), a = n.getValue(e, "value");
1529
+ const s = E(null), a = n.getValue(e, "value");
1529
1530
  return /* @__PURE__ */ t.jsxs(ge, { children: [
1530
1531
  /* @__PURE__ */ t.jsx(
1531
1532
  ve,
@@ -1549,7 +1550,7 @@ const _r = ({ index: e, manager: n }) => {
1549
1550
  "span",
1550
1551
  {
1551
1552
  className: "text-xs truncate",
1552
- title: `${a.name} (${ke(a.size)})`,
1553
+ title: `${a.name} (${Ee(a.size)})`,
1553
1554
  children: a.name
1554
1555
  }
1555
1556
  )
@@ -1562,7 +1563,7 @@ const _r = ({ index: e, manager: n }) => {
1562
1563
  size: "icon-xs",
1563
1564
  className: "opacity-50 hover:opacity-100 hover:brightness-95 transition-opacity",
1564
1565
  onClick: () => n.setValue(e, "value", ""),
1565
- children: /* @__PURE__ */ t.jsx(En, { size: 13 })
1566
+ children: /* @__PURE__ */ t.jsx(kn, { size: 13 })
1566
1567
  }
1567
1568
  )
1568
1569
  ] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -1613,7 +1614,7 @@ const _r = ({ index: e, manager: n }) => {
1613
1614
  watch: c,
1614
1615
  setFocus: l,
1615
1616
  register: m
1616
- } = ae(), { fields: d, append: f, remove: x } = Mt({ control: n, name: s }), h = c(s), v = k(-1), u = k(-1), y = D(
1617
+ } = ae(), { fields: d, append: f, remove: x } = Mt({ control: n, name: s }), h = c(s), v = E(-1), u = E(-1), y = D(
1617
1618
  (g, C, T, A) => {
1618
1619
  (C === "value" || C === "name") && (v.current = g), i(`${s}.${g}.${C}`, T), A?.focus === "next" ? l(
1619
1620
  C === "name" ? `${s}.${g}.value` : `${s}.${g + 1}.name`
@@ -1685,7 +1686,7 @@ const _r = ({ index: e, manager: n }) => {
1685
1686
  const A = R(T);
1686
1687
  T.active !== A && g.push(() => y(C, "active", A));
1687
1688
  }
1688
- g.length !== 0 && us(() => g.forEach((C) => C()));
1689
+ g.length !== 0 && cs(() => g.forEach((C) => C()));
1689
1690
  }, [h, R, y]);
1690
1691
  const N = D(
1691
1692
  (g) => {
@@ -1753,7 +1754,7 @@ const _r = ({ index: e, manager: n }) => {
1753
1754
  "bodyMode",
1754
1755
  "body",
1755
1756
  "multipartFormFields"
1756
- ]), f = k(null), [x, h] = E(!1), v = (j) => {
1757
+ ]), f = E(null), [x, h] = k(!1), v = (j) => {
1757
1758
  s("file", j), j && s(
1758
1759
  "headers",
1759
1760
  i.filter(
@@ -1805,7 +1806,7 @@ const _r = ({ index: e, manager: n }) => {
1805
1806
  ]
1806
1807
  }
1807
1808
  ) }),
1808
- /* @__PURE__ */ t.jsxs(Kt, { className: "min-w-40", children: [
1809
+ /* @__PURE__ */ t.jsxs(Xt, { className: "min-w-40", children: [
1809
1810
  /* @__PURE__ */ t.jsxs(
1810
1811
  Ae,
1811
1812
  {
@@ -1924,7 +1925,7 @@ const _r = ({ index: e, manager: n }) => {
1924
1925
  " ",
1925
1926
  /* @__PURE__ */ t.jsxs("span", { className: "text-muted-foreground", children: [
1926
1927
  "(",
1927
- ke(c.size),
1928
+ Ee(c.size),
1928
1929
  ")"
1929
1930
  ] })
1930
1931
  ] }),
@@ -1942,7 +1943,7 @@ const _r = ({ index: e, manager: n }) => {
1942
1943
  ]
1943
1944
  }
1944
1945
  ),
1945
- l === "multipart" && /* @__PURE__ */ t.jsx(Ee, { children: N.fields.map((j, O) => /* @__PURE__ */ t.jsx(_r, { index: O, manager: N }, j.id)) })
1946
+ l === "multipart" && /* @__PURE__ */ t.jsx(ke, { children: N.fields.map((j, O) => /* @__PURE__ */ t.jsx(_r, { index: O, manager: N }, j.id)) })
1946
1947
  ] })
1947
1948
  ] });
1948
1949
  }, Lt = (e, n, s) => {
@@ -2004,10 +2005,10 @@ const Hr = ({
2004
2005
  ref: c,
2005
2006
  onSelect: l
2006
2007
  }) => {
2007
- const [m, d] = E(!1), [f, x] = E(!1), h = Rs((u) => u.filtered.count), v = k(null);
2008
+ const [m, d] = k(!1), [f, x] = k(!1), h = Es((u) => u.filtered.count), v = E(null);
2008
2009
  return /* @__PURE__ */ t.jsxs(Gr, { open: m, children: [
2009
- /* @__PURE__ */ t.jsx(Es, { children: /* @__PURE__ */ t.jsx(
2010
- Ds,
2010
+ /* @__PURE__ */ t.jsx(Ls, { children: /* @__PURE__ */ t.jsx(
2011
+ Rs,
2011
2012
  {
2012
2013
  autoComplete: "off",
2013
2014
  ref: (u) => {
@@ -2043,8 +2044,8 @@ const Hr = ({
2043
2044
  onTouchMove: (u) => {
2044
2045
  u.stopPropagation();
2045
2046
  },
2046
- children: /* @__PURE__ */ t.jsx(Fs, { className: "max-h-[140px]", children: n.map((u) => /* @__PURE__ */ t.jsx(
2047
- zs,
2047
+ children: /* @__PURE__ */ t.jsx(Is, { className: "max-h-[140px]", children: n.map((u) => /* @__PURE__ */ t.jsx(
2048
+ Ds,
2048
2049
  {
2049
2050
  value: u,
2050
2051
  onSelect: (y) => {
@@ -2058,7 +2059,7 @@ const Hr = ({
2058
2059
  }
2059
2060
  )
2060
2061
  ] });
2061
- }, Pe = ({ shouldFilter: e, ...n }) => /* @__PURE__ */ t.jsx(Is, { className: "bg-transparent", shouldFilter: e, children: /* @__PURE__ */ t.jsx(Hr, { ...n }) }), Qr = Object.freeze([
2062
+ }, Pe = ({ shouldFilter: e, ...n }) => /* @__PURE__ */ t.jsx(ks, { className: "bg-transparent", shouldFilter: e, children: /* @__PURE__ */ t.jsx(Hr, { ...n }) }), Qr = Object.freeze([
2062
2063
  "Accept",
2063
2064
  "Accept-Encoding",
2064
2065
  "Accept-Language",
@@ -2106,9 +2107,9 @@ const Hr = ({
2106
2107
  /* @__PURE__ */ t.jsx(Dn, { size: 14 }),
2107
2108
  /* @__PURE__ */ t.jsx(H, { children: "Headers" })
2108
2109
  ] }),
2109
- /* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ t.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ t.jsxs(Ee, { children: [
2110
- m.map((d) => /* @__PURE__ */ t.jsxs(Nt, { children: [
2111
- /* @__PURE__ */ t.jsx(St, { asChild: !0, children: /* @__PURE__ */ t.jsxs(
2110
+ /* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ t.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ t.jsxs(ke, { children: [
2111
+ m.map((d) => /* @__PURE__ */ t.jsxs(Ct, { children: [
2112
+ /* @__PURE__ */ t.jsx(Nt, { asChild: !0, children: /* @__PURE__ */ t.jsxs(
2112
2113
  ge,
2113
2114
  {
2114
2115
  className: "opacity-50 cursor-not-allowed font-mono text-xs min-h-10",
@@ -2120,7 +2121,7 @@ const Hr = ({
2120
2121
  },
2121
2122
  d.id
2122
2123
  ) }),
2123
- /* @__PURE__ */ t.jsx(wt, { alignOffset: 10, side: "bottom", align: "start", children: /* @__PURE__ */ t.jsx("p", { children: "This header is set by the selected authentication." }) })
2124
+ /* @__PURE__ */ t.jsx(St, { alignOffset: 10, side: "bottom", align: "start", children: /* @__PURE__ */ t.jsx("p", { children: "This header is set by the selected authentication." }) })
2124
2125
  ] }, d.id)),
2125
2126
  i.fields.map((d, f) => {
2126
2127
  const x = n.find(
@@ -2141,8 +2142,8 @@ const Hr = ({
2141
2142
  ...i.getCheckboxProps(f)
2142
2143
  }
2143
2144
  ),
2144
- /* @__PURE__ */ t.jsxs(Nt, { children: [
2145
- /* @__PURE__ */ t.jsx(St, { asChild: !0, children: /* @__PURE__ */ t.jsx(
2145
+ /* @__PURE__ */ t.jsxs(Ct, { children: [
2146
+ /* @__PURE__ */ t.jsx(Nt, { asChild: !0, children: /* @__PURE__ */ t.jsx(
2146
2147
  zn,
2147
2148
  {
2148
2149
  className: w(
@@ -2153,7 +2154,7 @@ const Hr = ({
2153
2154
  }
2154
2155
  ) }),
2155
2156
  /* @__PURE__ */ t.jsx(
2156
- wt,
2157
+ St,
2157
2158
  {
2158
2159
  alignOffset: 10,
2159
2160
  side: "bottom",
@@ -2206,17 +2207,17 @@ const Hr = ({
2206
2207
  })
2207
2208
  ] }) }) }) })
2208
2209
  ] });
2209
- }, Wr = Bs(
2210
+ }, Wr = zs(
2210
2211
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
2211
2212
  ), Re = xe.forwardRef(({ className: e, ...n }, s) => /* @__PURE__ */ t.jsx(
2212
- Xt.Root,
2213
+ Kt.Root,
2213
2214
  {
2214
2215
  ref: s,
2215
2216
  className: w(Wr(), e),
2216
2217
  ...n
2217
2218
  }
2218
2219
  ));
2219
- Re.displayName = Xt.Root.displayName;
2220
+ Re.displayName = Kt.Root.displayName;
2220
2221
  const mn = xe.forwardRef(({ className: e, ...n }, s) => /* @__PURE__ */ t.jsx(
2221
2222
  he.Root,
2222
2223
  {
@@ -2265,17 +2266,17 @@ const hn = ({
2265
2266
  )
2266
2267
  )
2267
2268
  }
2268
- ) }), Kr = ({
2269
+ ) }), Xr = ({
2269
2270
  onSubmit: e,
2270
2271
  identities: n,
2271
2272
  open: s,
2272
2273
  onOpenChange: a
2273
2274
  }) => {
2274
- const [r, o] = E(void 0), [i, c] = E(!1);
2275
+ const [r, o] = k(void 0), [i, c] = k(!1);
2275
2276
  return /* @__PURE__ */ t.jsx(et, { open: s, onOpenChange: a, children: /* @__PURE__ */ t.jsxs(tt, { children: [
2276
2277
  /* @__PURE__ */ t.jsx(nt, { children: "Select an auth identity" }),
2277
2278
  /* @__PURE__ */ t.jsx(_t, { children: "Please select an identity for this request." }),
2278
- /* @__PURE__ */ t.jsx(Vs, { className: "max-h-80 overflow-auto", children: /* @__PURE__ */ t.jsx(
2279
+ /* @__PURE__ */ t.jsx(Fs, { className: "max-h-80 overflow-auto", children: /* @__PURE__ */ t.jsx(
2279
2280
  hn,
2280
2281
  {
2281
2282
  identities: n,
@@ -2308,17 +2309,17 @@ const hn = ({
2308
2309
  ] }) });
2309
2310
  }, Ue = (e) => Math.abs(
2310
2311
  Number.isNaN(Number(e)) ? e.toLowerCase().charCodeAt(0) - 96 : Number.isNaN(Number(e)) ? 0 : Number(e)
2311
- ), Ge = (e) => e.length > 1 ? Number(e.split("").reduce((n, s) => `${Ue(n) + Ue(s)}`)) : Ue(e), kt = (e, n = {}) => {
2312
+ ), Ge = (e) => e.length > 1 ? Number(e.split("").reduce((n, s) => `${Ue(n) + Ue(s)}`)) : Ue(e), Et = (e, n = {}) => {
2312
2313
  const s = (3 * Ge(e) + 2 * Ge(e) + Ge(e)) % 360, { saturation: a = 75, lightness: r = 60 } = n;
2313
2314
  return `${s}deg ${a}% ${r}%`;
2314
- }, He = "data-linked-param", Xr = (e) => {
2315
- const { resolvedTheme: n } = gs();
2315
+ }, He = "data-linked-param", Kr = (e) => {
2316
+ const { resolvedTheme: n } = hs();
2316
2317
  return {
2317
- text: kt(
2318
+ text: Et(
2318
2319
  e,
2319
2320
  n === "light" ? { saturation: 95, lightness: 38 } : {}
2320
2321
  ),
2321
- background: kt(
2322
+ background: Et(
2322
2323
  e,
2323
2324
  n === "light" ? { saturation: 85, lightness: 40 } : {}
2324
2325
  )
@@ -2331,7 +2332,7 @@ const hn = ({
2331
2332
  children: r,
2332
2333
  onClick: o
2333
2334
  }) => {
2334
- const i = k(null), c = s?.replace(/[{}]/g, ""), l = e.replace(/[{}]/g, ""), { text: m, background: d } = Xr(l), f = `hsl(${m} / 100%)`, x = `hsl(${d} / 10%)`, h = `hsl(${d} / 50%)`;
2335
+ const i = E(null), c = s?.replace(/[{}]/g, ""), l = e.replace(/[{}]/g, ""), { text: m, background: d } = Kr(l), f = `hsl(${m} / 100%)`, x = `hsl(${d} / 10%)`, h = `hsl(${d} / 50%)`;
2335
2336
  return G(() => {
2336
2337
  if (!c || !i.current) return;
2337
2338
  const v = () => {
@@ -2381,9 +2382,9 @@ const hn = ({
2381
2382
  }), a = [...s].sort(
2382
2383
  (r, o) => n.indexOf(`{${r.name}}`) - n.indexOf(`{${o.name}}`)
2383
2384
  );
2384
- return /* @__PURE__ */ t.jsx(Ee, { children: a.map((r, o) => /* @__PURE__ */ t.jsxs(ge, { children: [
2385
+ return /* @__PURE__ */ t.jsx(ke, { children: a.map((r, o) => /* @__PURE__ */ t.jsxs(ge, { children: [
2385
2386
  /* @__PURE__ */ t.jsx(
2386
- Ct,
2387
+ wt,
2387
2388
  {
2388
2389
  control: e,
2389
2390
  name: `pathParams.${o}.name`,
@@ -2398,7 +2399,7 @@ const hn = ({
2398
2399
  }
2399
2400
  ),
2400
2401
  /* @__PURE__ */ t.jsx("div", { className: "flex justify-between items-center col-span-2", children: /* @__PURE__ */ t.jsx(
2401
- Ct,
2402
+ wt,
2402
2403
  {
2403
2404
  control: e,
2404
2405
  name: `pathParams.${o}.value`,
@@ -2422,7 +2423,7 @@ const hn = ({
2422
2423
  /* @__PURE__ */ t.jsx(Bn, { size: 16 }),
2423
2424
  /* @__PURE__ */ t.jsx(H, { children: "Query Parameters" })
2424
2425
  ] }),
2425
- /* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx(Ee, { children: r.fields.map((c, l) => {
2426
+ /* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx(ke, { children: r.fields.map((c, l) => {
2426
2427
  const m = n.find(
2427
2428
  (h) => h.name === a.at(l)?.name
2428
2429
  ), d = m?.enum && m.enum.length > 0, f = r.getNameInputProps(l), x = r.getValueInputProps(l);
@@ -2486,7 +2487,7 @@ const hn = ({
2486
2487
  onLogin: a,
2487
2488
  onSkip: r
2488
2489
  }) => {
2489
- const [o, i] = E(!1), c = () => {
2490
+ const [o, i] = k(!1), c = () => {
2490
2491
  r?.(o), n(!1);
2491
2492
  };
2492
2493
  return /* @__PURE__ */ t.jsx(et, { open: e, onOpenChange: n, children: /* @__PURE__ */ t.jsxs(tt, { children: [
@@ -2598,14 +2599,14 @@ const hn = ({
2598
2599
  return /* @__PURE__ */ t.jsx("div", { className: "w-2 h-2 rounded-full bg-gray-500" });
2599
2600
  }
2600
2601
  }, oa = () => {
2601
- const e = k(null), n = k(null), s = k(Date.now()), a = k(null), r = D(() => {
2602
+ const e = E(null), n = E(null), s = E(Date.now()), a = E(null), r = D(() => {
2602
2603
  if (n.current) {
2603
2604
  const o = Date.now() - s.current;
2604
2605
  n.current.nodeValue = o.toFixed();
2605
2606
  }
2606
2607
  a.current = requestAnimationFrame(r);
2607
2608
  }, []);
2608
- return ms(() => {
2609
+ return ds(() => {
2609
2610
  const o = e.current;
2610
2611
  if (!o) return;
2611
2612
  const i = document.createTextNode("0");
@@ -2643,7 +2644,7 @@ const hn = ({
2643
2644
  /* @__PURE__ */ t.jsxs("div", { children: [
2644
2645
  /* @__PURE__ */ t.jsx("span", { className: "text-muted-foreground", children: "Size" }),
2645
2646
  " ",
2646
- /* @__PURE__ */ t.jsx("span", { className: "inline-block text-end min-w-[5ch]", children: s ? ke(s) : "- B" })
2647
+ /* @__PURE__ */ t.jsx("span", { className: "inline-block text-end min-w-[5ch]", children: s ? Ee(s) : "- B" })
2647
2648
  ] }),
2648
2649
  /* @__PURE__ */ t.jsxs("div", { children: [
2649
2650
  /* @__PURE__ */ t.jsx("span", { className: "text-muted-foreground", children: "Time" }),
@@ -2722,7 +2723,7 @@ const da = (e) => Object.entries({
2722
2723
  "div",
2723
2724
  "grid-cols-subgrid grid border-b col-span-full px-4 py-1.5 font-mono text-xs"
2724
2725
  ), de = ye("div", "py-1 break-words"), we = ({ value: e, header: n }) => {
2725
- const a = ["authorization", "key", "secret", "token"].includes(n.toLowerCase()), [r, o] = E(!a);
2726
+ const a = ["authorization", "key", "secret", "token"].includes(n.toLowerCase()), [r, o] = k(!a);
2726
2727
  return /* @__PURE__ */ t.jsx(
2727
2728
  de,
2728
2729
  {
@@ -2748,9 +2749,9 @@ const da = (e) => Object.entries({
2748
2749
  fileName: o,
2749
2750
  blob: i
2750
2751
  }) => {
2751
- const c = ua(n), l = ma(e), m = l || e, [d, f] = E(
2752
+ const c = ua(n), l = ma(e), m = l || e, [d, f] = k(
2752
2753
  l ? "formatted" : "raw"
2753
- ), x = as({
2754
+ ), x = qs({
2754
2755
  queryKey: ["types", m],
2755
2756
  queryFn: async () => ca(JSON.parse(m)),
2756
2757
  enabled: d === "types" && !r
@@ -2872,13 +2873,13 @@ const da = (e) => Object.entries({
2872
2873
  "Download ",
2873
2874
  o || "file",
2874
2875
  " (",
2875
- ke(a),
2876
+ Ee(a),
2876
2877
  ")"
2877
2878
  ]
2878
2879
  }
2879
2880
  )
2880
2881
  ] }) }) : /* @__PURE__ */ t.jsx(
2881
- ws,
2882
+ Ns,
2882
2883
  {
2883
2884
  className: "text-xs flex-1",
2884
2885
  embedded: !0,
@@ -2907,10 +2908,10 @@ const da = (e) => Object.entries({
2907
2908
  progress: o
2908
2909
  }
2909
2910
  ),
2910
- e.error ? /* @__PURE__ */ t.jsx("div", { className: "max-w-2/3 mx-auto mt-20", children: /* @__PURE__ */ t.jsxs(_s, { children: [
2911
+ e.error ? /* @__PURE__ */ t.jsx("div", { className: "max-w-2/3 mx-auto mt-20", children: /* @__PURE__ */ t.jsxs(Vs, { children: [
2911
2912
  /* @__PURE__ */ t.jsx(Qn, { size: 24, strokeWidth: 1.5, className: "me-5" }),
2912
- /* @__PURE__ */ t.jsx(qs, { children: "Request failed" }),
2913
- /* @__PURE__ */ t.jsx(Ms, { children: e.error.message || String(e.error) || "Unexpected error" })
2913
+ /* @__PURE__ */ t.jsx(Bs, { children: "Request failed" }),
2914
+ /* @__PURE__ */ t.jsx(_s, { children: e.error.message || String(e.error) || "Unexpected error" })
2914
2915
  ] }) }) : e.data ? /* @__PURE__ */ t.jsx(
2915
2916
  ha,
2916
2917
  {
@@ -2923,7 +2924,7 @@ const da = (e) => Object.entries({
2923
2924
  blob: e.data.blob
2924
2925
  }
2925
2926
  ) : e.isPending ? /* @__PURE__ */ t.jsx("div", { className: "grid place-items-center h-full", children: /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-2 items-center mt-20", children: [
2926
- /* @__PURE__ */ t.jsx(vs, {}),
2927
+ /* @__PURE__ */ t.jsx(xs, {}),
2927
2928
  /* @__PURE__ */ t.jsxs(
2928
2929
  "div",
2929
2930
  {
@@ -2971,7 +2972,7 @@ const da = (e) => Object.entries({
2971
2972
  }
2972
2973
  )
2973
2974
  );
2974
- os(gn);
2975
+ as(gn);
2975
2976
  const me = "__none", ga = ({
2976
2977
  server: e,
2977
2978
  servers: n = [],
@@ -2988,11 +2989,11 @@ const me = "__none", ga = ({
2988
2989
  }) => {
2989
2990
  const { selectedServer: x, setSelectedServer: h } = Vr(
2990
2991
  n.map((p) => ({ url: p }))
2991
- ), [v, u] = E(!1), y = is(), { setRememberedIdentity: S, getRememberedIdentity: R } = ta(), [, N] = ps(), { skipLogin: j, setSkipLogin: O } = gn(), [Q, be] = E(!1), [Ie, ee] = E(!1), g = k(void 0), C = $s(S), T = k(null), { label: A } = Fr("meta+enter", () => {
2992
+ ), [v, u] = k(!1), y = os(), { setRememberedIdentity: S, getRememberedIdentity: R } = ta(), [, N] = us(), { skipLogin: j, setSkipLogin: O } = gn(), [Q, be] = k(!1), [Ie, ee] = k(!1), g = E(void 0), C = Ts(S), T = E(null), { label: A } = Fr("meta+enter", () => {
2992
2993
  T.current?.requestSubmit();
2993
2994
  }), M = s.match(/\{([^}]+)\}/g)?.map((p) => p.slice(1, -1)) ?? [], L = [...i].sort(
2994
2995
  (p, se) => M.indexOf(p.name) - M.indexOf(se.name)
2995
- ), { register: De, control: te, handleSubmit: je, watch: ct, setValue: Fe, ...ze } = Cs({
2996
+ ), { register: De, control: te, handleSubmit: je, watch: ct, setValue: Fe, ...ze } = js({
2996
2997
  defaultValues: {
2997
2998
  body: c,
2998
2999
  bodyMode: "text",
@@ -3025,7 +3026,7 @@ const me = "__none", ga = ({
3025
3026
  G(() => {
3026
3027
  ne && C.current(ne);
3027
3028
  }, [C, ne]);
3028
- const J = js({
3029
+ const J = bs({
3029
3030
  gcTime: 0,
3030
3031
  mutationFn: async (p) => {
3031
3032
  const se = performance.now(), Ve = new window.Headers(
@@ -3038,7 +3039,7 @@ const me = "__none", ga = ({
3038
3039
  break;
3039
3040
  case "multipart": {
3040
3041
  const $ = new FormData();
3041
- p.multipartFormFields?.filter((K) => K.name && K.active).forEach((K) => $.append(K.name, K.value)), Ce = $, Ve.delete("Content-Type");
3042
+ p.multipartFormFields?.filter((X) => X.name && X.active).forEach((X) => $.append(X.name, X.value)), Ce = $, Ve.delete("Content-Type");
3042
3043
  break;
3043
3044
  }
3044
3045
  default:
@@ -3067,7 +3068,7 @@ const me = "__none", ga = ({
3067
3068
  signal: g.current.signal
3068
3069
  });
3069
3070
  clearTimeout(Be), ee(!1);
3070
- const K = performance.now() - se, On = new URL(W.url), mt = Array.from($.headers.entries()), pt = $.headers.get("content-type") || "", ht = Mr(pt);
3071
+ const X = performance.now() - se, On = new URL(W.url), mt = Array.from($.headers.entries()), pt = $.headers.get("content-type") || "", ht = Mr(pt);
3071
3072
  let Ne = "", ft, gt;
3072
3073
  ht ? (ft = await $.blob(), gt = Ur(mt, W.url), Ne = `Binary content (${pt})`) : Ne = await $.text();
3073
3074
  const xt = $.headers.get("content-length");
@@ -3095,7 +3096,7 @@ const me = "__none", ga = ({
3095
3096
  headers: mt,
3096
3097
  size: xt ? Number(xt) : Ne.length,
3097
3098
  body: Ne,
3098
- time: K,
3099
+ time: X,
3099
3100
  isBinary: ht,
3100
3101
  fileName: gt,
3101
3102
  blob: ft,
@@ -3116,12 +3117,12 @@ const me = "__none", ga = ({
3116
3117
  ) : $;
3117
3118
  }
3118
3119
  }
3119
- }), dt = J.isPending, [Cn, Nn] = E(!1);
3120
+ }), dt = J.isPending, [Cn, Nn] = k(!1);
3120
3121
  G(() => {
3121
3122
  const p = setTimeout(() => Nn(dt), 100);
3122
3123
  return () => clearTimeout(p);
3123
3124
  }, [dt]);
3124
- const { isFinished: Sn, progress: wn } = bs({ isAnimating: Cn });
3125
+ const { isFinished: Sn, progress: wn } = ys({ isAnimating: Cn });
3125
3126
  G(() => () => {
3126
3127
  g.current?.abort();
3127
3128
  }, []);
@@ -3140,9 +3141,9 @@ const me = "__none", ga = ({
3140
3141
  }
3141
3142
  ) }), An = m && !j && !Q, $n = ["POST", "PUT", "PATCH", "DELETE"].includes(
3142
3143
  a.toUpperCase()
3143
- ), [ut, Pn] = As();
3144
+ ), [ut, Pn] = ws();
3144
3145
  return /* @__PURE__ */ t.jsx(
3145
- Ns,
3146
+ Cs,
3146
3147
  {
3147
3148
  register: De,
3148
3149
  control: te,
@@ -3150,7 +3151,7 @@ const me = "__none", ga = ({
3150
3151
  watch: ct,
3151
3152
  setValue: Fe,
3152
3153
  ...ze,
3153
- children: /* @__PURE__ */ t.jsx(Ts, { delayDuration: 150, children: /* @__PURE__ */ t.jsxs(
3154
+ children: /* @__PURE__ */ t.jsx(vs, { delayDuration: 150, children: /* @__PURE__ */ t.jsxs(
3154
3155
  "form",
3155
3156
  {
3156
3157
  ref: T,
@@ -3163,7 +3164,7 @@ const me = "__none", ga = ({
3163
3164
  className: "relative",
3164
3165
  children: [
3165
3166
  /* @__PURE__ */ t.jsx(
3166
- Kr,
3167
+ Xr,
3167
3168
  {
3168
3169
  identities: y.data ?? [],
3169
3170
  open: v,
@@ -3237,7 +3238,7 @@ const me = "__none", ga = ({
3237
3238
  /* @__PURE__ */ t.jsxs("div", { className: "relative overflow-y-auto h-[80vh]", children: [
3238
3239
  y.data?.length !== 0 && /* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
3239
3240
  /* @__PURE__ */ t.jsxs(Z, { children: [
3240
- /* @__PURE__ */ t.jsx(Kn, { size: 16 }),
3241
+ /* @__PURE__ */ t.jsx(Xn, { size: 16 }),
3241
3242
  /* @__PURE__ */ t.jsx(H, { children: "Authentication" })
3242
3243
  ] }),
3243
3244
  /* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx(
@@ -3251,7 +3252,7 @@ const me = "__none", ga = ({
3251
3252
  ] }),
3252
3253
  L.length > 0 && /* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
3253
3254
  /* @__PURE__ */ t.jsxs(Z, { children: [
3254
- /* @__PURE__ */ t.jsx(Xn, { size: 16 }),
3255
+ /* @__PURE__ */ t.jsx(Kn, { size: 16 }),
3255
3256
  /* @__PURE__ */ t.jsx(H, { children: "Path Parameters" })
3256
3257
  ] }),
3257
3258
  /* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx(Zr, { url: s, control: te }) })
@@ -3296,9 +3297,9 @@ const me = "__none", ga = ({
3296
3297
  }
3297
3298
  );
3298
3299
  }, xa = (e) => {
3299
- const [n, s] = E(!1), { isAuthEnabled: a, login: r, signup: o, isPending: i, isAuthenticated: c } = xs();
3300
+ const [n, s] = k(!1), { isAuthEnabled: a, login: r, signup: o, isPending: i, isAuthenticated: c } = fs();
3300
3301
  return /* @__PURE__ */ t.jsxs(et, { onOpenChange: (l) => s(l), children: [
3301
- /* @__PURE__ */ t.jsx(ys, { asChild: !0, children: e.children ?? /* @__PURE__ */ t.jsx(q, { variant: "ghost", size: "icon-xs", className: "group", children: /* @__PURE__ */ t.jsx(
3302
+ /* @__PURE__ */ t.jsx(gs, { asChild: !0, children: e.children ?? /* @__PURE__ */ t.jsx(q, { variant: "ghost", size: "icon-xs", className: "group", children: /* @__PURE__ */ t.jsx(
3302
3303
  Zn,
3303
3304
  {
3304
3305
  className: "fill-muted-foreground group-hover:fill-foreground transition",
@@ -3313,7 +3314,7 @@ const me = "__none", ga = ({
3313
3314
  "aria-describedby": void 0,
3314
3315
  showCloseButton: !0,
3315
3316
  children: [
3316
- /* @__PURE__ */ t.jsx(fs, { children: /* @__PURE__ */ t.jsx(nt, { children: "Playground" }) }),
3317
+ /* @__PURE__ */ t.jsx(ps, { children: /* @__PURE__ */ t.jsx(nt, { children: "Playground" }) }),
3317
3318
  n && /* @__PURE__ */ t.jsx(
3318
3319
  ga,
3319
3320
  {
@@ -3335,7 +3336,7 @@ const me = "__none", ga = ({
3335
3336
  patch: "purple",
3336
3337
  options: "gray",
3337
3338
  head: "gray"
3338
- }, Et = ({
3339
+ }, kt = ({
3339
3340
  label: e,
3340
3341
  path: n,
3341
3342
  operations: s,
@@ -3365,15 +3366,15 @@ const me = "__none", ga = ({
3365
3366
  }))
3366
3367
  }), xn = Vt(
3367
3368
  void 0
3368
- ), Ya = xn.Provider, va = () => {
3369
- const e = hs(xn);
3369
+ ), eo = xn.Provider, va = () => {
3370
+ const e = ms(xn);
3370
3371
  if (!e)
3371
3372
  throw new Error("useOasConfig must be used within a OasConfigProvider");
3372
3373
  return e.config;
3373
3374
  }, Qe = (e) => ({
3374
3375
  path: e.routePath,
3375
3376
  async lazy() {
3376
- const { OasProvider: n } = await import("./OasProvider-DPH8mwDa.js");
3377
+ const { OasProvider: n } = await import("./OasProvider-DFMZwyNn.js");
3377
3378
  return {
3378
3379
  element: /* @__PURE__ */ t.jsx(
3379
3380
  n,
@@ -3394,7 +3395,7 @@ const me = "__none", ga = ({
3394
3395
  }) => ({
3395
3396
  path: e,
3396
3397
  async lazy() {
3397
- const { OperationList: a } = await import("./OperationList-C0jiEaG5.js");
3398
+ const { OperationList: a } = await import("./OperationList-CnmLfOuu.js");
3398
3399
  return { element: /* @__PURE__ */ t.jsx(a, { tag: n, untagged: s }) };
3399
3400
  }
3400
3401
  }), ba = ({
@@ -3403,7 +3404,7 @@ const me = "__none", ga = ({
3403
3404
  }) => {
3404
3405
  const { type: s, input: a } = va(), { tag: r } = ts(), o = ns(), i = Sr(bn, { type: s, input: a }), {
3405
3406
  data: { schema: c }
3406
- } = ls(i), l = c.tags.at(0);
3407
+ } = Ms(i), l = c.tags.at(0);
3407
3408
  return !r && l?.slug ? /* @__PURE__ */ t.jsx(
3408
3409
  ss,
3409
3410
  {
@@ -3416,7 +3417,7 @@ const me = "__none", ga = ({
3416
3417
  }, Rt = ({ path: e }) => ({
3417
3418
  path: e,
3418
3419
  async lazy() {
3419
- const { OperationList: n } = await import("./OperationList-C0jiEaG5.js");
3420
+ const { OperationList: n } = await import("./OperationList-CnmLfOuu.js");
3420
3421
  return {
3421
3422
  element: /* @__PURE__ */ t.jsx(
3422
3423
  ba,
@@ -3427,7 +3428,7 @@ const me = "__none", ga = ({
3427
3428
  )
3428
3429
  };
3429
3430
  }
3430
- }), Xe = (e) => [
3431
+ }), Ke = (e) => [
3431
3432
  // Category without tagged operations
3432
3433
  yn({
3433
3434
  path: V(e, lt),
@@ -3437,7 +3438,7 @@ const me = "__none", ga = ({
3437
3438
  {
3438
3439
  path: V(e, "~schemas"),
3439
3440
  lazy: async () => {
3440
- const { SchemaList: n } = await import("./SchemaList-BU0zCHn9.js");
3441
+ const { SchemaList: n } = await import("./SchemaList-B5ikunUd.js");
3441
3442
  return { element: /* @__PURE__ */ t.jsx(n, {}) };
3442
3443
  }
3443
3444
  }
@@ -3453,12 +3454,15 @@ const me = "__none", ga = ({
3453
3454
  tag: a
3454
3455
  })
3455
3456
  ),
3456
- ...Xe(e)
3457
+ ...Ke(e)
3457
3458
  ];
3458
- }, vn = (e) => e.type === "raw" || !Array.isArray(e.input) ? { versions: [], labels: {} } : {
3459
+ }, vn = (e) => e.type === "raw" || !Array.isArray(e.input) ? { versions: [], labels: {}, downloadUrls: {} } : {
3459
3460
  versions: e.input.map((n) => n.path),
3460
3461
  labels: Object.fromEntries(
3461
3462
  e.input.map((n) => [n.path, n.label ?? n.path])
3463
+ ),
3464
+ downloadUrls: Object.fromEntries(
3465
+ e.input.map((n) => [n.path, n.downloadUrl])
3462
3466
  )
3463
3467
  }, Ca = ({
3464
3468
  basePath: e,
@@ -3484,7 +3488,7 @@ const me = "__none", ga = ({
3484
3488
  routePath: l,
3485
3489
  routes: [
3486
3490
  Rt({ path: `${l}/:tag?` }),
3487
- ...Xe(l)
3491
+ ...Ke(l)
3488
3492
  ],
3489
3493
  client: s,
3490
3494
  config: n
@@ -3495,13 +3499,13 @@ const me = "__none", ga = ({
3495
3499
  routePath: e,
3496
3500
  routes: [
3497
3501
  Rt({ path: `${e}/:tag?` }),
3498
- ...Xe(e)
3502
+ ...Ke(e)
3499
3503
  ],
3500
3504
  client: s,
3501
3505
  config: n
3502
3506
  })
3503
3507
  ];
3504
- }, bn = Er(`
3508
+ }, bn = kr(`
3505
3509
  query GetNavigationOperations($input: JSON!, $type: SchemaType!) {
3506
3510
  schema(input: $input, type: $type) {
3507
3511
  extensions
@@ -3524,7 +3528,7 @@ const me = "__none", ga = ({
3524
3528
  }
3525
3529
  }
3526
3530
  }
3527
- `), lt = "~endpoints", eo = (e) => {
3531
+ `), lt = "~endpoints", to = (e) => {
3528
3532
  const n = V(e.path), s = new Gs(e);
3529
3533
  return {
3530
3534
  getHead: () => {
@@ -3585,7 +3589,7 @@ const me = "__none", ga = ({
3585
3589
  const j = V(n, i, N.slug), O = N.extensions?.["x-zudoku-collapsed"] ?? !e.options?.expandAllTags, Q = N.extensions?.["x-zudoku-collapsible"] ?? !0;
3586
3590
  return [
3587
3591
  N.name,
3588
- Et({
3592
+ kt({
3589
3593
  label: N.extensions?.["x-displayName"] ?? N.name,
3590
3594
  path: j,
3591
3595
  operations: N.operations,
@@ -3618,7 +3622,7 @@ const me = "__none", ga = ({
3618
3622
  (N) => !N.name
3619
3623
  )?.operations;
3620
3624
  return R && R.length > 0 && S.push(
3621
- Et({
3625
+ kt({
3622
3626
  label: S.length === 0 ? "Endpoints" : "Other endpoints",
3623
3627
  path: V(n, i, lt),
3624
3628
  operations: R,
@@ -3638,23 +3642,23 @@ const me = "__none", ga = ({
3638
3642
  };
3639
3643
  export {
3640
3644
  B as C,
3641
- Za as G,
3645
+ Ya as G,
3642
3646
  sr as L,
3643
- Ya as O,
3647
+ eo as O,
3644
3648
  xa as P,
3645
- Xs as Q,
3649
+ Ks as Q,
3646
3650
  on as S,
3647
3651
  b as T,
3648
3652
  lt as U,
3649
3653
  Sr as a,
3650
3654
  ce as b,
3651
3655
  _ as c,
3652
- Er as d,
3656
+ kr as d,
3653
3657
  Vr as e,
3654
3658
  fn as f,
3655
3659
  vn as g,
3656
3660
  na as h,
3657
- Xa as i,
3661
+ Za as i,
3658
3662
  qe as j,
3659
3663
  an as k,
3660
3664
  rt as l,
@@ -3671,6 +3675,6 @@ export {
3671
3675
  rr as w,
3672
3676
  Qs as x,
3673
3677
  bn as y,
3674
- eo as z
3678
+ to as z
3675
3679
  };
3676
- //# sourceMappingURL=index-0oT9beQN.js.map
3680
+ //# sourceMappingURL=index-k0PVZBYl.js.map