zudoku 0.0.0-e614aaa → 0.0.0-e6d1d34

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 (543) hide show
  1. package/README.md +1 -1
  2. package/dist/app/entry.server.d.ts +8 -6
  3. package/dist/app/entry.server.js +12 -8
  4. package/dist/app/entry.server.js.map +1 -1
  5. package/dist/app/main.js +2 -0
  6. package/dist/app/main.js.map +1 -1
  7. package/dist/app/tailwind.js +14 -0
  8. package/dist/app/tailwind.js.map +1 -1
  9. package/dist/cli/build/handler.js +2 -1
  10. package/dist/cli/build/handler.js.map +1 -1
  11. package/dist/cli/cmds/dev.d.ts +1 -1
  12. package/dist/cli/cmds/dev.js.map +1 -1
  13. package/dist/cli/dev/handler.js +2 -1
  14. package/dist/cli/dev/handler.js.map +1 -1
  15. package/dist/cli/preview/handler.js +13 -15
  16. package/dist/cli/preview/handler.js.map +1 -1
  17. package/dist/config/common.d.ts +0 -1
  18. package/dist/config/config.d.ts +13 -8
  19. package/dist/config/loader.d.ts +2 -2
  20. package/dist/config/loader.js +14 -25
  21. package/dist/config/loader.js.map +1 -1
  22. package/dist/config/validators/common.d.ts +2773 -597
  23. package/dist/config/validators/common.js +81 -4
  24. package/dist/config/validators/common.js.map +1 -1
  25. package/dist/config/validators/validate.d.ts +1013 -257
  26. package/dist/lib/authentication/authentication.d.ts +1 -0
  27. package/dist/lib/authentication/hook.d.ts +1 -0
  28. package/dist/lib/authentication/hook.js +11 -1
  29. package/dist/lib/authentication/hook.js.map +1 -1
  30. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  31. package/dist/lib/authentication/providers/clerk.js +19 -0
  32. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  33. package/dist/lib/authentication/providers/openid.d.ts +1 -0
  34. package/dist/lib/authentication/providers/openid.js +20 -8
  35. package/dist/lib/authentication/providers/openid.js.map +1 -1
  36. package/dist/lib/authentication/providers/supabase.d.ts +4 -0
  37. package/dist/lib/authentication/providers/supabase.js +117 -0
  38. package/dist/lib/authentication/providers/supabase.js.map +1 -0
  39. package/dist/lib/authentication/state.d.ts +0 -26
  40. package/dist/lib/authentication/state.js +1 -16
  41. package/dist/lib/authentication/state.js.map +1 -1
  42. package/dist/lib/components/AnchorLink.d.ts +2 -2
  43. package/dist/lib/components/AnchorLink.js +5 -4
  44. package/dist/lib/components/AnchorLink.js.map +1 -1
  45. package/dist/lib/components/Bootstrap.d.ts +2 -1
  46. package/dist/lib/components/Bootstrap.js +3 -2
  47. package/dist/lib/components/Bootstrap.js.map +1 -1
  48. package/dist/lib/components/Footer.d.ts +1 -0
  49. package/dist/lib/components/Footer.js +32 -0
  50. package/dist/lib/components/Footer.js.map +1 -0
  51. package/dist/lib/components/Header.js +4 -4
  52. package/dist/lib/components/Header.js.map +1 -1
  53. package/dist/lib/components/Heading.d.ts +1 -1
  54. package/dist/lib/components/InlineCode.d.ts +2 -1
  55. package/dist/lib/components/InlineCode.js +2 -9
  56. package/dist/lib/components/InlineCode.js.map +1 -1
  57. package/dist/lib/components/Layout.js +8 -29
  58. package/dist/lib/components/Layout.js.map +1 -1
  59. package/dist/lib/components/Main.d.ts +2 -0
  60. package/dist/lib/components/Main.js +17 -0
  61. package/dist/lib/components/Main.js.map +1 -0
  62. package/dist/lib/components/MobileTopNavigation.js +6 -3
  63. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  64. package/dist/lib/components/Pagination.d.ts +11 -0
  65. package/dist/lib/components/Pagination.js +10 -0
  66. package/dist/lib/components/Pagination.js.map +1 -0
  67. package/dist/lib/components/TopNavigation.d.ts +3 -2
  68. package/dist/lib/components/TopNavigation.js +26 -13
  69. package/dist/lib/components/TopNavigation.js.map +1 -1
  70. package/dist/lib/components/Zudoku.js +9 -3
  71. package/dist/lib/components/Zudoku.js.map +1 -1
  72. package/dist/lib/components/cache.d.ts +7 -0
  73. package/dist/lib/components/cache.js +7 -0
  74. package/dist/lib/components/cache.js.map +1 -1
  75. package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
  76. package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
  77. package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
  78. package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
  79. package/dist/lib/components/context/ViewportAnchorContext.js +5 -10
  80. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  81. package/dist/lib/components/context/ZudokuContext.d.ts +2 -2
  82. package/dist/lib/components/context/ZudokuContext.js +13 -7
  83. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  84. package/dist/lib/components/index.d.ts +5 -2
  85. package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
  86. package/dist/lib/components/navigation/PoweredByZudoku.js +6 -0
  87. package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
  88. package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
  89. package/dist/lib/components/navigation/Sidebar.js +1 -12
  90. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  91. package/dist/lib/components/navigation/SidebarCategory.d.ts +2 -2
  92. package/dist/lib/components/navigation/SidebarCategory.js +10 -6
  93. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  94. package/dist/lib/components/navigation/SidebarItem.d.ts +1 -0
  95. package/dist/lib/components/navigation/SidebarItem.js +17 -11
  96. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  97. package/dist/lib/components/navigation/SidebarWrapper.d.ts +7 -6
  98. package/dist/lib/components/navigation/SidebarWrapper.js +18 -3
  99. package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
  100. package/dist/lib/{plugins/markdown → components/navigation}/Toc.js +5 -7
  101. package/dist/lib/components/navigation/Toc.js.map +1 -0
  102. package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
  103. package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
  104. package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
  105. package/dist/lib/core/RouteGuard.d.ts +1 -0
  106. package/dist/lib/core/RouteGuard.js +10 -3
  107. package/dist/lib/core/RouteGuard.js.map +1 -1
  108. package/dist/lib/core/ZudokuContext.d.ts +23 -7
  109. package/dist/lib/core/ZudokuContext.js +12 -5
  110. package/dist/lib/core/ZudokuContext.js.map +1 -1
  111. package/dist/lib/core/plugins.d.ts +9 -7
  112. package/dist/lib/errors/ErrorAlert.js +6 -1
  113. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  114. package/dist/lib/hooks/useEvent.test.js +1 -1
  115. package/dist/lib/hooks/useEvent.test.js.map +1 -1
  116. package/dist/lib/oas/graphql/index.d.ts +17 -4
  117. package/dist/lib/oas/graphql/index.js +148 -38
  118. package/dist/lib/oas/graphql/index.js.map +1 -1
  119. package/dist/lib/oas/parser/dereference/index.js +2 -0
  120. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  121. package/dist/lib/oas/parser/index.d.ts +5 -3
  122. package/dist/lib/oas/parser/index.js +0 -22
  123. package/dist/lib/oas/parser/index.js.map +1 -1
  124. package/dist/lib/plugins/api-catalog/Catalog.js +1 -1
  125. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
  126. package/dist/lib/plugins/api-catalog/index.js +19 -17
  127. package/dist/lib/plugins/api-catalog/index.js.map +1 -1
  128. package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
  129. package/dist/lib/plugins/markdown/MdxPage.js +3 -9
  130. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  131. package/dist/lib/plugins/openapi/ColorizedParam.js +1 -1
  132. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  133. package/dist/lib/plugins/openapi/Endpoint.js +1 -1
  134. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  135. package/dist/lib/plugins/openapi/OperationList.d.ts +1 -1
  136. package/dist/lib/plugins/openapi/OperationList.js +63 -19
  137. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  138. package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
  139. package/dist/lib/plugins/openapi/OperationListItem.js +6 -12
  140. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  141. package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
  142. package/dist/lib/plugins/openapi/ParamInfos.js +42 -0
  143. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
  144. package/dist/lib/plugins/openapi/ParameterListItem.js +9 -4
  145. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  146. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +3 -1
  147. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  148. package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
  149. package/dist/lib/plugins/openapi/SchemaList.js +52 -0
  150. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
  151. package/dist/lib/plugins/openapi/Sidecar.js +38 -9
  152. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  153. package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
  154. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
  155. package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +1 -1
  156. package/dist/lib/plugins/openapi/client/GraphQLClient.js +1 -1
  157. package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
  158. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +6 -2
  159. package/dist/lib/plugins/openapi/client/useCreateQuery.js +6 -5
  160. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
  161. package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
  162. package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
  163. package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
  164. package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
  165. package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
  166. package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
  167. package/dist/lib/plugins/openapi/graphql/gql.d.ts +9 -5
  168. package/dist/lib/plugins/openapi/graphql/gql.js +5 -4
  169. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  170. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +108 -55
  171. package/dist/lib/plugins/openapi/graphql/graphql.js +59 -34
  172. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  173. package/dist/lib/plugins/openapi/index.d.ts +6 -11
  174. package/dist/lib/plugins/openapi/index.js +41 -60
  175. package/dist/lib/plugins/openapi/index.js.map +1 -1
  176. package/dist/lib/plugins/openapi/interfaces.d.ts +36 -10
  177. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +2 -2
  178. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +1 -5
  179. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
  180. package/dist/lib/plugins/openapi/playground/Headers.js +1 -1
  181. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  182. package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
  183. package/dist/lib/plugins/openapi/playground/IdentityDialog.js +14 -0
  184. package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
  185. package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
  186. package/dist/lib/plugins/openapi/playground/IdentitySelector.js +10 -0
  187. package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
  188. package/dist/lib/plugins/openapi/playground/Playground.d.ts +13 -2
  189. package/dist/lib/plugins/openapi/playground/Playground.js +81 -27
  190. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  191. package/dist/lib/plugins/openapi/playground/QueryParams.js +1 -1
  192. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  193. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +7 -0
  194. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +8 -0
  195. package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
  196. package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +17 -0
  197. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
  198. package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
  199. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +19 -13
  200. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
  201. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +6 -4
  202. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +4 -3
  203. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
  204. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +1 -2
  205. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +2 -2
  206. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +1 -1
  207. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +2 -1
  208. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +2 -2
  209. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +1 -1
  210. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -1
  211. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +1 -1
  212. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +1 -1
  213. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
  214. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +12 -0
  215. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
  216. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +2 -4
  217. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +18 -13
  218. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  219. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +1 -2
  220. package/dist/lib/plugins/openapi/schema/SchemaView.js +33 -48
  221. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  222. package/dist/lib/plugins/openapi/schema/utils.d.ts +1 -0
  223. package/dist/lib/plugins/openapi/schema/utils.js +3 -1
  224. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  225. package/dist/lib/plugins/openapi/state.d.ts +25 -0
  226. package/dist/lib/plugins/openapi/state.js +18 -0
  227. package/dist/lib/plugins/openapi/state.js.map +1 -0
  228. package/dist/lib/plugins/openapi/util/createSidebarCategory.js +5 -7
  229. package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +1 -1
  230. package/dist/lib/plugins/openapi/util/getRoutes.js +9 -3
  231. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
  232. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +23 -10
  233. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
  234. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +1 -0
  235. package/dist/lib/plugins/search-pagefind/ResultList.js +19 -17
  236. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
  237. package/dist/lib/plugins/search-pagefind/get-results.d.ts +8 -1
  238. package/dist/lib/plugins/search-pagefind/get-results.js +9 -4
  239. package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
  240. package/dist/lib/ui/Badge.d.ts +1 -1
  241. package/dist/lib/ui/Button.d.ts +2 -2
  242. package/dist/lib/ui/Button.js +2 -1
  243. package/dist/lib/ui/Button.js.map +1 -1
  244. package/dist/lib/ui/Callout.d.ts +2 -1
  245. package/dist/lib/ui/Callout.js +3 -2
  246. package/dist/lib/ui/Callout.js.map +1 -1
  247. package/dist/lib/ui/Checkbox.d.ts +2 -8
  248. package/dist/lib/ui/Checkbox.js +1 -13
  249. package/dist/lib/ui/Checkbox.js.map +1 -1
  250. package/dist/lib/ui/Command.d.ts +1 -1
  251. package/dist/lib/ui/Select.js +1 -1
  252. package/dist/lib/ui/Select.js.map +1 -1
  253. package/dist/lib/ui/Stepper.d.ts +0 -1
  254. package/dist/lib/ui/Stepper.js +1 -1
  255. package/dist/lib/ui/Stepper.js.map +1 -1
  256. package/dist/lib/ui/SyntaxHighlight.d.ts +2 -1
  257. package/dist/lib/ui/SyntaxHighlight.js +21 -15
  258. package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
  259. package/dist/lib/util/MdxComponents.d.ts +3 -2
  260. package/dist/lib/util/MdxComponents.js +2 -2
  261. package/dist/lib/util/MdxComponents.js.map +1 -1
  262. package/dist/lib/util/joinPath.d.ts +3 -0
  263. package/dist/lib/util/joinPath.js +3 -0
  264. package/dist/lib/util/joinPath.js.map +1 -1
  265. package/dist/lib/util/traverse.d.ts +2 -8
  266. package/dist/lib/util/traverse.js +2 -2
  267. package/dist/lib/util/traverse.js.map +1 -1
  268. package/dist/lib/util/types.d.ts +7 -0
  269. package/dist/lib/util/types.js +2 -0
  270. package/dist/lib/util/types.js.map +1 -0
  271. package/dist/lib/util/useOnScreen.d.ts +3 -2
  272. package/dist/lib/util/useOnScreen.js +3 -3
  273. package/dist/lib/util/useOnScreen.js.map +1 -1
  274. package/dist/lib/util/useScrollToAnchor.js +20 -12
  275. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  276. package/dist/vite/api/schema-codegen.d.ts +1 -1
  277. package/dist/vite/api/schema-codegen.js +35 -12
  278. package/dist/vite/api/schema-codegen.js.map +1 -1
  279. package/dist/vite/api/schema-codegen.test.js +66 -0
  280. package/dist/vite/api/schema-codegen.test.js.map +1 -1
  281. package/dist/vite/build.js +1 -4
  282. package/dist/vite/build.js.map +1 -1
  283. package/dist/vite/config.js +7 -9
  284. package/dist/vite/config.js.map +1 -1
  285. package/dist/vite/create-pagefind-index.d.ts +4 -0
  286. package/dist/vite/create-pagefind-index.js +12 -0
  287. package/dist/vite/create-pagefind-index.js.map +1 -0
  288. package/dist/vite/dev-server.js +4 -4
  289. package/dist/vite/dev-server.js.map +1 -1
  290. package/dist/vite/plugin-api.js +36 -29
  291. package/dist/vite/plugin-api.js.map +1 -1
  292. package/dist/vite/plugin-config-reload.js +3 -2
  293. package/dist/vite/plugin-config-reload.js.map +1 -1
  294. package/dist/vite/plugin-docs.d.ts +1 -1
  295. package/dist/vite/plugin-docs.js +18 -1
  296. package/dist/vite/plugin-docs.js.map +1 -1
  297. package/dist/vite/prerender/FileWritingResponse.d.ts +9 -5
  298. package/dist/vite/prerender/FileWritingResponse.js +5 -5
  299. package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
  300. package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
  301. package/dist/vite/prerender/InMemoryResponse.js +32 -0
  302. package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
  303. package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
  304. package/dist/vite/prerender/PrerenderResponse.js +2 -0
  305. package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
  306. package/dist/vite/prerender/prerender.d.ts +1 -0
  307. package/dist/vite/prerender/prerender.js +32 -8
  308. package/dist/vite/prerender/prerender.js.map +1 -1
  309. package/dist/vite/prerender/worker.js +41 -14
  310. package/dist/vite/prerender/worker.js.map +1 -1
  311. package/dist/zuplo/with-zuplo.js +4 -0
  312. package/dist/zuplo/with-zuplo.js.map +1 -1
  313. package/lib/{AuthenticationPlugin-CiO1FM6Q.js → AuthenticationPlugin-foqdvvkf.js} +3 -3
  314. package/lib/{AuthenticationPlugin-CiO1FM6Q.js.map → AuthenticationPlugin-foqdvvkf.js.map} +1 -1
  315. package/lib/Button-Fp19CMUr.js +49 -0
  316. package/lib/Button-Fp19CMUr.js.map +1 -0
  317. package/lib/Callout-B2vsR09t.js +229 -0
  318. package/lib/Callout-B2vsR09t.js.map +1 -0
  319. package/lib/{Dialog-DIKGQxQc.js → Dialog-sbgekbjb.js} +47 -32
  320. package/lib/{Dialog-DIKGQxQc.js.map → Dialog-sbgekbjb.js.map} +1 -1
  321. package/lib/Drawer-kDAfOq_2.js +1133 -0
  322. package/lib/Drawer-kDAfOq_2.js.map +1 -0
  323. package/lib/{Markdown-DePfm7oQ.js → Markdown-aF5FdsNi.js} +6268 -4572
  324. package/lib/Markdown-aF5FdsNi.js.map +1 -0
  325. package/lib/MdxPage-Vw_dc9Yz.js +85 -0
  326. package/lib/MdxPage-Vw_dc9Yz.js.map +1 -0
  327. package/lib/{OasProvider-BSuptFK-.js → OasProvider-C5paEivQ.js} +4 -4
  328. package/lib/{OasProvider-BSuptFK-.js.map → OasProvider-C5paEivQ.js.map} +1 -1
  329. package/lib/OperationList-Ds9Izgkn.js +5069 -0
  330. package/lib/OperationList-Ds9Izgkn.js.map +1 -0
  331. package/lib/Pagination-SdlocK96.js +48 -0
  332. package/lib/Pagination-SdlocK96.js.map +1 -0
  333. package/lib/{index.esm-CQHE3GEU.js → RouteGuard-CqZPoZYJ.js} +192 -139
  334. package/lib/RouteGuard-CqZPoZYJ.js.map +1 -0
  335. package/lib/SchemaList-NZbDXAV5.js +148 -0
  336. package/lib/SchemaList-NZbDXAV5.js.map +1 -0
  337. package/lib/SchemaView-B3fOPR4V.js +357 -0
  338. package/lib/SchemaView-B3fOPR4V.js.map +1 -0
  339. package/lib/{Select-Dqtcn53H.js → Select-DVFRKf1R.js} +9 -9
  340. package/lib/{Select-Dqtcn53H.js.map → Select-DVFRKf1R.js.map} +1 -1
  341. package/lib/SlotletProvider-DXvc0aY6.js +338 -0
  342. package/lib/SlotletProvider-DXvc0aY6.js.map +1 -0
  343. package/lib/Spinner-CE68iCm0.js +7 -0
  344. package/lib/Spinner-CE68iCm0.js.map +1 -0
  345. package/lib/SyntaxHighlight-BEoSoPEo.js +2890 -0
  346. package/lib/SyntaxHighlight-BEoSoPEo.js.map +1 -0
  347. package/lib/Toc-YBsgI72s.js +92 -0
  348. package/lib/Toc-YBsgI72s.js.map +1 -0
  349. package/lib/{chunk-IR6S3I6Y-D_3UmFIn.js → chunk-HA7DTUK3-C4gP41vD.js} +278 -278
  350. package/lib/chunk-HA7DTUK3-C4gP41vD.js.map +1 -0
  351. package/lib/{circular-v7K6lDDh.js → circular-ByJI6Mci.js} +4887 -4419
  352. package/lib/circular-ByJI6Mci.js.map +1 -0
  353. package/lib/{createServer-DmusVVsi.js → createServer-mYvGvmc0.js} +4150 -4424
  354. package/lib/createServer-mYvGvmc0.js.map +1 -0
  355. package/lib/{hook-CN__aZIt.js → hook-CqpVYDqN.js} +398 -379
  356. package/lib/hook-CqpVYDqN.js.map +1 -0
  357. package/lib/index-D48iOQvJ.js +1973 -0
  358. package/lib/index-D48iOQvJ.js.map +1 -0
  359. package/lib/index-PGJOZ6R-.js +2227 -0
  360. package/lib/index-PGJOZ6R-.js.map +1 -0
  361. package/lib/{mutation-EclmI0is.js → mutation-8LjrN7uz.js} +2 -2
  362. package/lib/{mutation-EclmI0is.js.map → mutation-8LjrN7uz.js.map} +1 -1
  363. package/lib/post-processors/traverse.js +2 -2
  364. package/lib/post-processors/traverse.js.map +1 -1
  365. package/lib/prism-bash.min-HHIMdNJ_.js.map +1 -1
  366. package/lib/prism-csharp.min-bQAo2pmx.js.map +1 -1
  367. package/lib/prism-java.min-BpvsOuIa.js.map +1 -1
  368. package/lib/prism-javascript.min-CEqHqgbm.js.map +1 -1
  369. package/lib/prism-json.min-B1GJqK1k.js.map +1 -1
  370. package/lib/prism-jsstacktrace.min-BfobCF2F.js +2 -0
  371. package/lib/prism-jsstacktrace.min-BfobCF2F.js.map +1 -0
  372. package/lib/prism-markdown.min-C0Qn0m-5.js.map +1 -1
  373. package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
  374. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +1 -1
  375. package/lib/prism-ruby.min-Dx9KO9ds.js.map +1 -1
  376. package/lib/prism-typescript.min-CD7H2IYQ.js.map +1 -1
  377. package/lib/ui/ActionButton.js +11 -10
  378. package/lib/ui/ActionButton.js.map +1 -1
  379. package/lib/ui/Button.js +13 -12
  380. package/lib/ui/Button.js.map +1 -1
  381. package/lib/ui/Callout.js +39 -21
  382. package/lib/ui/Callout.js.map +1 -1
  383. package/lib/ui/Checkbox.js +15 -25
  384. package/lib/ui/Checkbox.js.map +1 -1
  385. package/lib/ui/Command.js +1 -1
  386. package/lib/ui/Drawer.js +14 -1129
  387. package/lib/ui/Drawer.js.map +1 -1
  388. package/lib/ui/Select.js +1 -1
  389. package/lib/ui/Select.js.map +1 -1
  390. package/lib/ui/Stepper.js.map +1 -1
  391. package/lib/ui/SyntaxHighlight.js +8 -2902
  392. package/lib/ui/SyntaxHighlight.js.map +1 -1
  393. package/lib/{useExposedProps-RIvey2Oy.js → useExposedProps-B9qXJedG.js} +2 -2
  394. package/lib/{useExposedProps-RIvey2Oy.js.map → useExposedProps-B9qXJedG.js.map} +1 -1
  395. package/lib/useLatest-hmRS46UF.js +11 -0
  396. package/lib/useLatest-hmRS46UF.js.map +1 -0
  397. package/lib/zudoku.auth-auth0.js +1 -1
  398. package/lib/zudoku.auth-clerk.js +59 -41
  399. package/lib/zudoku.auth-clerk.js.map +1 -1
  400. package/lib/zudoku.auth-openid.js +341 -337
  401. package/lib/zudoku.auth-openid.js.map +1 -1
  402. package/lib/zudoku.components.js +32 -1395
  403. package/lib/zudoku.components.js.map +1 -1
  404. package/lib/zudoku.hooks.js +1 -1
  405. package/lib/zudoku.plugin-api-catalog.js +94 -98
  406. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  407. package/lib/zudoku.plugin-api-keys.js +4 -4
  408. package/lib/zudoku.plugin-custom-pages.js +2 -2
  409. package/lib/zudoku.plugin-markdown.js +1 -1
  410. package/lib/zudoku.plugin-openapi.js +5 -7
  411. package/lib/zudoku.plugin-openapi.js.map +1 -1
  412. package/lib/zudoku.plugin-redirect.js +1 -1
  413. package/lib/zudoku.plugin-search-pagefind.js +233 -0
  414. package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
  415. package/lib/zudoku.plugins.js.map +1 -1
  416. package/package.json +32 -24
  417. package/src/app/entry.server.tsx +23 -13
  418. package/src/app/main.css +98 -57
  419. package/src/app/main.tsx +2 -0
  420. package/src/app/tailwind.ts +14 -0
  421. package/src/lib/authentication/authentication.ts +2 -0
  422. package/src/lib/authentication/hook.ts +12 -1
  423. package/src/lib/authentication/providers/clerk.tsx +22 -2
  424. package/src/lib/authentication/providers/openid.tsx +23 -10
  425. package/src/lib/authentication/providers/supabase.tsx +157 -0
  426. package/src/lib/authentication/state.ts +1 -35
  427. package/src/lib/components/AnchorLink.tsx +9 -7
  428. package/src/lib/components/Bootstrap.tsx +13 -6
  429. package/src/lib/components/Footer.tsx +136 -0
  430. package/src/lib/components/Header.tsx +11 -7
  431. package/src/lib/components/InlineCode.tsx +13 -16
  432. package/src/lib/components/Layout.tsx +22 -68
  433. package/src/lib/components/Main.tsx +50 -0
  434. package/src/lib/components/MobileTopNavigation.tsx +27 -18
  435. package/src/lib/components/Pagination.tsx +50 -0
  436. package/src/lib/components/TopNavigation.tsx +40 -17
  437. package/src/lib/components/Zudoku.tsx +12 -3
  438. package/src/lib/components/cache.ts +8 -0
  439. package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
  440. package/src/lib/components/context/ViewportAnchorContext.tsx +6 -15
  441. package/src/lib/components/context/ZudokuContext.ts +17 -8
  442. package/src/lib/components/navigation/PoweredByZudoku.tsx +23 -0
  443. package/src/lib/components/navigation/Sidebar.tsx +30 -44
  444. package/src/lib/components/navigation/SidebarCategory.tsx +15 -12
  445. package/src/lib/components/navigation/SidebarItem.tsx +21 -29
  446. package/src/lib/components/navigation/SidebarWrapper.tsx +42 -23
  447. package/src/lib/{plugins/markdown → components/navigation}/Toc.tsx +5 -14
  448. package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
  449. package/src/lib/core/RouteGuard.tsx +27 -4
  450. package/src/lib/core/ZudokuContext.ts +35 -15
  451. package/src/lib/core/plugins.ts +8 -8
  452. package/src/lib/errors/ErrorAlert.tsx +24 -17
  453. package/src/lib/hooks/useEvent.test.tsx +1 -1
  454. package/src/lib/oas/graphql/index.ts +202 -54
  455. package/src/lib/oas/parser/dereference/index.ts +2 -0
  456. package/src/lib/oas/parser/index.ts +7 -29
  457. package/src/lib/plugins/api-catalog/Catalog.tsx +1 -4
  458. package/src/lib/plugins/api-catalog/index.tsx +40 -35
  459. package/src/lib/plugins/markdown/MdxPage.tsx +11 -47
  460. package/src/lib/plugins/openapi/ColorizedParam.tsx +1 -1
  461. package/src/lib/plugins/openapi/Endpoint.tsx +1 -1
  462. package/src/lib/plugins/openapi/OperationList.tsx +162 -84
  463. package/src/lib/plugins/openapi/OperationListItem.tsx +116 -110
  464. package/src/lib/plugins/openapi/ParamInfos.tsx +87 -0
  465. package/src/lib/plugins/openapi/ParameterListItem.tsx +35 -23
  466. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +7 -0
  467. package/src/lib/plugins/openapi/SchemaList.tsx +151 -0
  468. package/src/lib/plugins/openapi/Sidecar.tsx +47 -11
  469. package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
  470. package/src/lib/plugins/openapi/client/GraphQLClient.tsx +1 -1
  471. package/src/lib/plugins/openapi/client/useCreateQuery.ts +13 -5
  472. package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
  473. package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
  474. package/src/lib/plugins/openapi/graphql/gql.ts +29 -20
  475. package/src/lib/plugins/openapi/graphql/graphql.ts +172 -86
  476. package/src/lib/plugins/openapi/index.tsx +55 -87
  477. package/src/lib/plugins/openapi/interfaces.ts +44 -15
  478. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +30 -32
  479. package/src/lib/plugins/openapi/playground/Headers.tsx +0 -1
  480. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +74 -0
  481. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +54 -0
  482. package/src/lib/plugins/openapi/playground/Playground.tsx +175 -88
  483. package/src/lib/plugins/openapi/playground/QueryParams.tsx +0 -1
  484. package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
  485. package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
  486. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +24 -4
  487. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +67 -45
  488. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +1 -8
  489. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +3 -0
  490. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +6 -3
  491. package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +36 -0
  492. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +47 -50
  493. package/src/lib/plugins/openapi/schema/SchemaView.tsx +84 -138
  494. package/src/lib/plugins/openapi/schema/utils.ts +7 -1
  495. package/src/lib/plugins/openapi/state.ts +36 -0
  496. package/src/lib/plugins/openapi/util/createSidebarCategory.tsx +5 -7
  497. package/src/lib/plugins/openapi/util/getRoutes.tsx +9 -6
  498. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +39 -14
  499. package/src/lib/plugins/search-pagefind/ResultList.tsx +60 -53
  500. package/src/lib/plugins/search-pagefind/get-results.tsx +31 -10
  501. package/src/lib/ui/Button.tsx +4 -2
  502. package/src/lib/ui/Callout.tsx +28 -10
  503. package/src/lib/ui/Checkbox.tsx +8 -24
  504. package/src/lib/ui/Select.tsx +1 -1
  505. package/src/lib/ui/Stepper.tsx +1 -1
  506. package/src/lib/ui/SyntaxHighlight.tsx +96 -96
  507. package/src/lib/util/MdxComponents.tsx +2 -2
  508. package/src/lib/util/joinPath.tsx +3 -0
  509. package/src/lib/util/traverse.ts +4 -8
  510. package/src/lib/util/types.ts +7 -0
  511. package/src/lib/util/useOnScreen.ts +6 -4
  512. package/src/lib/util/useScrollToAnchor.ts +22 -12
  513. package/dist/lib/components/context/PluginSystem.d.ts +0 -1
  514. package/dist/lib/components/context/PluginSystem.js +0 -2
  515. package/dist/lib/components/context/PluginSystem.js.map +0 -1
  516. package/dist/lib/plugins/markdown/Toc.js.map +0 -1
  517. package/dist/vite/pagefind.d.ts +0 -4
  518. package/dist/vite/pagefind.js +0 -15
  519. package/dist/vite/pagefind.js.map +0 -1
  520. package/lib/Markdown-DePfm7oQ.js.map +0 -1
  521. package/lib/MdxPage-BN6l6zXL.js +0 -201
  522. package/lib/MdxPage-BN6l6zXL.js.map +0 -1
  523. package/lib/OperationList-DOcfDmJP.js +0 -5217
  524. package/lib/OperationList-DOcfDmJP.js.map +0 -1
  525. package/lib/SlotletProvider-DdtIOUi6.js +0 -221
  526. package/lib/SlotletProvider-DdtIOUi6.js.map +0 -1
  527. package/lib/Spinner-1KrEmx1V.js +0 -51
  528. package/lib/Spinner-1KrEmx1V.js.map +0 -1
  529. package/lib/chunk-IR6S3I6Y-D_3UmFIn.js.map +0 -1
  530. package/lib/circular-v7K6lDDh.js.map +0 -1
  531. package/lib/createServer-DmusVVsi.js.map +0 -1
  532. package/lib/hook-CN__aZIt.js.map +0 -1
  533. package/lib/index-BTbP6Lgf.js +0 -2103
  534. package/lib/index-BTbP6Lgf.js.map +0 -1
  535. package/lib/index.esm-CQHE3GEU.js.map +0 -1
  536. package/lib/joinUrl-10po2Jdj.js +0 -20
  537. package/lib/joinUrl-10po2Jdj.js.map +0 -1
  538. package/lib/useScrollToAnchor-RyqO3lj4.js +0 -290
  539. package/lib/useScrollToAnchor-RyqO3lj4.js.map +0 -1
  540. package/lib/zudoku.css +0 -1
  541. package/src/lib/components/context/PluginSystem.ts +0 -0
  542. package/src/lib/ui/Stepper.css +0 -43
  543. /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
@@ -1,12 +1,18 @@
1
- var ae = Object.defineProperty;
2
- var ie = (e, t, r) => t in e ? ae(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var y = (e, t, r) => ie(e, typeof t != "symbol" ? t + "" : t, r);
4
- import T, { Component as L } from "react";
5
- import { g as F } from "./_commonjsHelpers-BkfeUUK-.js";
6
- var P, N;
7
- function oe() {
8
- if (N) return P;
9
- N = 1;
1
+ var ie = Object.defineProperty;
2
+ var oe = (e, t, r) => t in e ? ie(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var T = (e, t, r) => oe(e, typeof t != "symbol" ? t + "" : t, r);
4
+ import { j as y } from "./jsx-runtime-CYK1ROHF.js";
5
+ import { l as le, e as ce, m as ue } from "./hook-CqpVYDqN.js";
6
+ import g, { Component as F, createContext as fe, use as pe } from "react";
7
+ import { g as U } from "./_commonjsHelpers-BkfeUUK-.js";
8
+ import { a as de, u as me, m as he, O as ye } from "./chunk-HA7DTUK3-C4gP41vD.js";
9
+ import { D as Te, a as ge, c as ve, b as Ae, d as Ee } from "./Dialog-sbgekbjb.js";
10
+ import { Z as be } from "./invariant-Caa8-XvF.js";
11
+ import { u as Ce } from "./useLatest-hmRS46UF.js";
12
+ var D, B;
13
+ function Oe() {
14
+ if (B) return D;
15
+ B = 1;
10
16
  var e = typeof Element < "u", t = typeof Map == "function", r = typeof Set == "function", n = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
11
17
  function o(s, i) {
12
18
  if (s === i) return !0;
@@ -54,7 +60,7 @@ function oe() {
54
60
  }
55
61
  return s !== s && i !== i;
56
62
  }
57
- return P = function(i, l) {
63
+ return D = function(i, l) {
58
64
  try {
59
65
  return o(i, l);
60
66
  } catch (a) {
@@ -62,13 +68,13 @@ function oe() {
62
68
  return console.warn("react-fast-compare cannot handle circular refs"), !1;
63
69
  throw a;
64
70
  }
65
- }, P;
71
+ }, D;
66
72
  }
67
- var le = oe();
68
- const ce = /* @__PURE__ */ F(le);
69
- var $, V;
70
- function ue() {
71
- if (V) return $;
73
+ var we = Oe();
74
+ const Se = /* @__PURE__ */ U(we);
75
+ var I, V;
76
+ function xe() {
77
+ if (V) return I;
72
78
  V = 1;
73
79
  var e = function(t, r, n, o, s, i, l, a) {
74
80
  if (process.env.NODE_ENV !== "production" && r === void 0)
@@ -90,13 +96,13 @@ function ue() {
90
96
  throw c.framesToPop = 1, c;
91
97
  }
92
98
  };
93
- return $ = e, $;
99
+ return I = e, I;
94
100
  }
95
- var fe = ue();
96
- const B = /* @__PURE__ */ F(fe);
97
- var I, Y;
98
- function pe() {
99
- return Y || (Y = 1, I = function(t, r, n, o) {
101
+ var Pe = xe();
102
+ const Z = /* @__PURE__ */ U(Pe);
103
+ var R, Y;
104
+ function De() {
105
+ return Y || (Y = 1, R = function(t, r, n, o) {
100
106
  var s = n ? n.call(o, t, r) : void 0;
101
107
  if (s !== void 0)
102
108
  return !!s;
@@ -116,11 +122,11 @@ function pe() {
116
122
  return !1;
117
123
  }
118
124
  return !0;
119
- }), I;
125
+ }), R;
120
126
  }
121
- var de = pe();
122
- const me = /* @__PURE__ */ F(de);
123
- var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(Q || {}), H = {
127
+ var Ie = De();
128
+ const Re = /* @__PURE__ */ U(Ie);
129
+ var X = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(X || {}), $ = {
124
130
  link: { rel: ["amphtml", "canonical", "alternate"] },
125
131
  script: { type: ["application/ld+json"] },
126
132
  meta: {
@@ -142,7 +148,7 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
142
148
  "twitter:site"
143
149
  ]
144
150
  }
145
- }, Z = Object.values(Q), U = {
151
+ }, G = Object.values(X), K = {
146
152
  accesskey: "accessKey",
147
153
  charset: "charSet",
148
154
  class: "className",
@@ -151,36 +157,36 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
151
157
  "http-equiv": "httpEquiv",
152
158
  itemprop: "itemProp",
153
159
  tabindex: "tabIndex"
154
- }, he = Object.entries(U).reduce(
160
+ }, $e = Object.entries(K).reduce(
155
161
  (e, [t, r]) => (e[r] = t, e),
156
162
  {}
157
- ), h = "data-rh", E = {
163
+ ), h = "data-rh", b = {
158
164
  DEFAULT_TITLE: "defaultTitle",
159
165
  DEFER: "defer",
160
166
  ENCODE_SPECIAL_CHARACTERS: "encodeSpecialCharacters",
161
167
  ON_CHANGE_CLIENT_STATE: "onChangeClientState",
162
168
  TITLE_TEMPLATE: "titleTemplate",
163
169
  PRIORITIZE_SEO_TAGS: "prioritizeSeoTags"
164
- }, b = (e, t) => {
170
+ }, C = (e, t) => {
165
171
  for (let r = e.length - 1; r >= 0; r -= 1) {
166
172
  const n = e[r];
167
173
  if (Object.prototype.hasOwnProperty.call(n, t))
168
174
  return n[t];
169
175
  }
170
176
  return null;
171
- }, ye = (e) => {
172
- let t = b(
177
+ }, He = (e) => {
178
+ let t = C(
173
179
  e,
174
180
  "title"
175
181
  /* TITLE */
176
182
  );
177
- const r = b(e, E.TITLE_TEMPLATE);
183
+ const r = C(e, b.TITLE_TEMPLATE);
178
184
  if (Array.isArray(t) && (t = t.join("")), r && t)
179
185
  return r.replace(/%s/g, () => t);
180
- const n = b(e, E.DEFAULT_TITLE);
186
+ const n = C(e, b.DEFAULT_TITLE);
181
187
  return t || n || void 0;
182
- }, Te = (e) => b(e, E.ON_CHANGE_CLIENT_STATE) || (() => {
183
- }), _ = (e, t) => t.filter((r) => typeof r[e] < "u").map((r) => r[e]).reduce((r, n) => ({ ...r, ...n }), {}), ge = (e, t) => t.filter((r) => typeof r.base < "u").map((r) => r.base).reverse().reduce((r, n) => {
188
+ }, _e = (e) => C(e, b.ON_CHANGE_CLIENT_STATE) || (() => {
189
+ }), H = (e, t) => t.filter((r) => typeof r[e] < "u").map((r) => r[e]).reduce((r, n) => ({ ...r, ...n }), {}), je = (e, t) => t.filter((r) => typeof r.base < "u").map((r) => r.base).reverse().reduce((r, n) => {
184
190
  if (!r.length) {
185
191
  const o = Object.keys(n);
186
192
  for (let s = 0; s < o.length; s += 1) {
@@ -190,9 +196,9 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
190
196
  }
191
197
  }
192
198
  return r;
193
- }, []), ve = (e) => console && typeof console.warn == "function" && console.warn(e), O = (e, t, r) => {
199
+ }, []), ke = (e) => console && typeof console.warn == "function" && console.warn(e), O = (e, t, r) => {
194
200
  const n = {};
195
- return r.filter((o) => Array.isArray(o[e]) ? !0 : (typeof o[e] < "u" && ve(
201
+ return r.filter((o) => Array.isArray(o[e]) ? !0 : (typeof o[e] < "u" && ke(
196
202
  `Helmet: ${e} should be of type "Array". Instead found type "${typeof o[e]}"`
197
203
  ), !1)).map((o) => o[e]).reverse().reduce((o, s) => {
198
204
  const i = {};
@@ -200,8 +206,8 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
200
206
  let c;
201
207
  const u = Object.keys(a);
202
208
  for (let m = 0; m < u.length; m += 1) {
203
- const p = u[m], g = p.toLowerCase();
204
- t.indexOf(g) !== -1 && !(c === "rel" && a[c].toLowerCase() === "canonical") && !(g === "rel" && a[g].toLowerCase() === "stylesheet") && (c = g), t.indexOf(p) !== -1 && (p === "innerHTML" || p === "cssText" || p === "itemprop") && (c = p);
209
+ const p = u[m], v = p.toLowerCase();
210
+ t.indexOf(v) !== -1 && !(c === "rel" && a[c].toLowerCase() === "canonical") && !(v === "rel" && a[v].toLowerCase() === "stylesheet") && (c = v), t.indexOf(p) !== -1 && (p === "innerHTML" || p === "cssText" || p === "itemprop") && (c = p);
205
211
  }
206
212
  if (!c || !a[c])
207
213
  return !1;
@@ -218,22 +224,22 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
218
224
  }
219
225
  return o;
220
226
  }, []).reverse();
221
- }, Ae = (e, t) => {
227
+ }, Me = (e, t) => {
222
228
  if (Array.isArray(e) && e.length) {
223
229
  for (let r = 0; r < e.length; r += 1)
224
230
  if (e[r][t])
225
231
  return !0;
226
232
  }
227
233
  return !1;
228
- }, Ee = (e) => ({
229
- baseTag: ge([
234
+ }, Le = (e) => ({
235
+ baseTag: je([
230
236
  "href"
231
237
  /* HREF */
232
238
  ], e),
233
- bodyAttributes: _("bodyAttributes", e),
234
- defer: b(e, E.DEFER),
235
- encode: b(e, E.ENCODE_SPECIAL_CHARACTERS),
236
- htmlAttributes: _("htmlAttributes", e),
239
+ bodyAttributes: H("bodyAttributes", e),
240
+ defer: C(e, b.DEFER),
241
+ encode: C(e, b.ENCODE_SPECIAL_CHARACTERS),
242
+ htmlAttributes: H("htmlAttributes", e),
237
243
  linkTags: O(
238
244
  "link",
239
245
  [
@@ -259,7 +265,7 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
259
265
  "innerHTML"
260
266
  /* INNER_HTML */
261
267
  ], e),
262
- onChangeClientState: Te(e),
268
+ onChangeClientState: _e(e),
263
269
  scriptTags: O(
264
270
  "script",
265
271
  [
@@ -273,95 +279,95 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
273
279
  "cssText"
274
280
  /* CSS_TEXT */
275
281
  ], e),
276
- title: ye(e),
277
- titleAttributes: _("titleAttributes", e),
278
- prioritizeSeoTags: Ae(e, E.PRIORITIZE_SEO_TAGS)
279
- }), X = (e) => Array.isArray(e) ? e.join("") : e, be = (e, t) => {
282
+ title: He(e),
283
+ titleAttributes: H("titleAttributes", e),
284
+ prioritizeSeoTags: Me(e, b.PRIORITIZE_SEO_TAGS)
285
+ }), ee = (e) => Array.isArray(e) ? e.join("") : e, qe = (e, t) => {
280
286
  const r = Object.keys(e);
281
287
  for (let n = 0; n < r.length; n += 1)
282
288
  if (t[r[n]] && t[r[n]].includes(e[r[n]]))
283
289
  return !0;
284
290
  return !1;
285
- }, D = (e, t) => Array.isArray(e) ? e.reduce(
286
- (r, n) => (be(n, t) ? r.priority.push(n) : r.default.push(n), r),
291
+ }, _ = (e, t) => Array.isArray(e) ? e.reduce(
292
+ (r, n) => (qe(n, t) ? r.priority.push(n) : r.default.push(n), r),
287
293
  { priority: [], default: [] }
288
- ) : { default: e, priority: [] }, G = (e, t) => ({
294
+ ) : { default: e, priority: [] }, Q = (e, t) => ({
289
295
  ...e,
290
296
  [t]: void 0
291
- }), Oe = [
297
+ }), Fe = [
292
298
  "noscript",
293
299
  "script",
294
300
  "style"
295
301
  /* STYLE */
296
- ], M = (e, t = !0) => t === !1 ? String(e) : String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;"), ee = (e) => Object.keys(e).reduce((t, r) => {
302
+ ], k = (e, t = !0) => t === !1 ? String(e) : String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;"), te = (e) => Object.keys(e).reduce((t, r) => {
297
303
  const n = typeof e[r] < "u" ? `${r}="${e[r]}"` : `${r}`;
298
304
  return t ? `${t} ${n}` : n;
299
- }, ""), Ce = (e, t, r, n) => {
300
- const o = ee(r), s = X(t);
301
- return o ? `<${e} ${h}="true" ${o}>${M(
305
+ }, ""), Ue = (e, t, r, n) => {
306
+ const o = te(r), s = ee(t);
307
+ return o ? `<${e} ${h}="true" ${o}>${k(
302
308
  s,
303
309
  n
304
- )}</${e}>` : `<${e} ${h}="true">${M(
310
+ )}</${e}>` : `<${e} ${h}="true">${k(
305
311
  s,
306
312
  n
307
313
  )}</${e}>`;
308
- }, we = (e, t, r = !0) => t.reduce((n, o) => {
314
+ }, Ke = (e, t, r = !0) => t.reduce((n, o) => {
309
315
  const s = o, i = Object.keys(s).filter(
310
316
  (c) => !(c === "innerHTML" || c === "cssText")
311
317
  ).reduce((c, u) => {
312
- const f = typeof s[u] > "u" ? u : `${u}="${M(s[u], r)}"`;
318
+ const f = typeof s[u] > "u" ? u : `${u}="${k(s[u], r)}"`;
313
319
  return c ? `${c} ${f}` : f;
314
- }, ""), l = s.innerHTML || s.cssText || "", a = Oe.indexOf(e) === -1;
320
+ }, ""), l = s.innerHTML || s.cssText || "", a = Fe.indexOf(e) === -1;
315
321
  return `${n}<${e} ${h}="true" ${i}${a ? "/>" : `>${l}</${e}>`}`;
316
- }, ""), te = (e, t = {}) => Object.keys(e).reduce((r, n) => {
317
- const o = U[n];
322
+ }, ""), re = (e, t = {}) => Object.keys(e).reduce((r, n) => {
323
+ const o = K[n];
318
324
  return r[o || n] = e[n], r;
319
- }, t), Se = (e, t, r) => {
325
+ }, t), ze = (e, t, r) => {
320
326
  const n = {
321
327
  key: t,
322
328
  [h]: !0
323
- }, o = te(r, n);
324
- return [T.createElement("title", o, t)];
325
- }, x = (e, t) => t.map((r, n) => {
329
+ }, o = re(r, n);
330
+ return [g.createElement("title", o, t)];
331
+ }, P = (e, t) => t.map((r, n) => {
326
332
  const o = {
327
333
  key: n,
328
334
  [h]: !0
329
335
  };
330
336
  return Object.keys(r).forEach((s) => {
331
- const l = U[s] || s;
337
+ const l = K[s] || s;
332
338
  if (l === "innerHTML" || l === "cssText") {
333
339
  const a = r.innerHTML || r.cssText;
334
340
  o.dangerouslySetInnerHTML = { __html: a };
335
341
  } else
336
342
  o[l] = r[s];
337
- }), T.createElement(e, o);
343
+ }), g.createElement(e, o);
338
344
  }), d = (e, t, r = !0) => {
339
345
  switch (e) {
340
346
  case "title":
341
347
  return {
342
- toComponent: () => Se(e, t.title, t.titleAttributes),
343
- toString: () => Ce(e, t.title, t.titleAttributes, r)
348
+ toComponent: () => ze(e, t.title, t.titleAttributes),
349
+ toString: () => Ue(e, t.title, t.titleAttributes, r)
344
350
  };
345
351
  case "bodyAttributes":
346
352
  case "htmlAttributes":
347
353
  return {
348
- toComponent: () => te(t),
349
- toString: () => ee(t)
354
+ toComponent: () => re(t),
355
+ toString: () => te(t)
350
356
  };
351
357
  default:
352
358
  return {
353
- toComponent: () => x(e, t),
354
- toString: () => we(e, t, r)
359
+ toComponent: () => P(e, t),
360
+ toString: () => Ke(e, t, r)
355
361
  };
356
362
  }
357
- }, xe = ({ metaTags: e, linkTags: t, scriptTags: r, encode: n }) => {
358
- const o = D(e, H.meta), s = D(t, H.link), i = D(r, H.script);
363
+ }, Ne = ({ metaTags: e, linkTags: t, scriptTags: r, encode: n }) => {
364
+ const o = _(e, $.meta), s = _(t, $.link), i = _(r, $.script);
359
365
  return {
360
366
  priorityMethods: {
361
367
  toComponent: () => [
362
- ...x("meta", o.priority),
363
- ...x("link", s.priority),
364
- ...x("script", i.priority)
368
+ ...P("meta", o.priority),
369
+ ...P("link", s.priority),
370
+ ...P("script", i.priority)
365
371
  ],
366
372
  toString: () => (
367
373
  // generate all the tags as strings and concatenate them
@@ -376,7 +382,7 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
376
382
  linkTags: s.default,
377
383
  scriptTags: i.default
378
384
  };
379
- }, Pe = (e) => {
385
+ }, Be = (e) => {
380
386
  const {
381
387
  baseTag: t,
382
388
  bodyAttributes: r,
@@ -393,7 +399,7 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
393
399
  },
394
400
  toString: () => ""
395
401
  };
396
- return c && ({ priorityMethods: p, linkTags: u, metaTags: f, scriptTags: m } = xe(e)), {
402
+ return c && ({ priorityMethods: p, linkTags: u, metaTags: f, scriptTags: m } = Ne(e)), {
397
403
  priority: p,
398
404
  base: d("base", t, n),
399
405
  bodyAttributes: d("bodyAttributes", r, n),
@@ -405,27 +411,27 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
405
411
  style: d("style", i, n),
406
412
  title: d("title", { title: l, titleAttributes: a }, n)
407
413
  };
408
- }, k = Pe, S = [], re = !!(typeof window < "u" && window.document && window.document.createElement), j = class {
414
+ }, M = Be, x = [], ne = !!(typeof window < "u" && window.document && window.document.createElement), L = class {
409
415
  constructor(e, t) {
410
- y(this, "instances", []);
411
- y(this, "canUseDOM", re);
412
- y(this, "context");
413
- y(this, "value", {
416
+ T(this, "instances", []);
417
+ T(this, "canUseDOM", ne);
418
+ T(this, "context");
419
+ T(this, "value", {
414
420
  setHelmet: (e) => {
415
421
  this.context.helmet = e;
416
422
  },
417
423
  helmetInstances: {
418
- get: () => this.canUseDOM ? S : this.instances,
424
+ get: () => this.canUseDOM ? x : this.instances,
419
425
  add: (e) => {
420
- (this.canUseDOM ? S : this.instances).push(e);
426
+ (this.canUseDOM ? x : this.instances).push(e);
421
427
  },
422
428
  remove: (e) => {
423
- const t = (this.canUseDOM ? S : this.instances).indexOf(e);
424
- (this.canUseDOM ? S : this.instances).splice(t, 1);
429
+ const t = (this.canUseDOM ? x : this.instances).indexOf(e);
430
+ (this.canUseDOM ? x : this.instances).splice(t, 1);
425
431
  }
426
432
  }
427
433
  });
428
- this.context = e, this.canUseDOM = t || !1, t || (e.helmet = k({
434
+ this.context = e, this.canUseDOM = t || !1, t || (e.helmet = M({
429
435
  baseTag: [],
430
436
  bodyAttributes: {},
431
437
  htmlAttributes: {},
@@ -438,16 +444,16 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
438
444
  titleAttributes: {}
439
445
  }));
440
446
  }
441
- }, $e = {}, ne = T.createContext($e), v, Ie = (v = class extends L {
447
+ }, Ve = {}, se = g.createContext(Ve), A, Ze = (A = class extends F {
442
448
  constructor(r) {
443
449
  super(r);
444
- y(this, "helmetData");
445
- this.helmetData = new j(this.props.context || {}, v.canUseDOM);
450
+ T(this, "helmetData");
451
+ this.helmetData = new L(this.props.context || {}, A.canUseDOM);
446
452
  }
447
453
  render() {
448
- return /* @__PURE__ */ T.createElement(ne.Provider, { value: this.helmetData.value }, this.props.children);
454
+ return /* @__PURE__ */ g.createElement(se.Provider, { value: this.helmetData.value }, this.props.children);
449
455
  }
450
- }, y(v, "canUseDOM", re), v), A = (e, t) => {
456
+ }, T(A, "canUseDOM", ne), A), E = (e, t) => {
451
457
  const r = document.head || document.querySelector(
452
458
  "head"
453
459
  /* HEAD */
@@ -487,8 +493,8 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
487
493
  for (let l = s.length - 1; l >= 0; l -= 1)
488
494
  r.removeAttribute(s[l]);
489
495
  o.length === s.length ? r.removeAttribute(h) : r.getAttribute(h) !== i.join(",") && r.setAttribute(h, i.join(","));
490
- }, He = (e, t) => {
491
- typeof e < "u" && document.title !== e && (document.title = X(e)), q("title", t);
496
+ }, Ye = (e, t) => {
497
+ typeof e < "u" && document.title !== e && (document.title = ee(e)), q("title", t);
492
498
  }, W = (e, t) => {
493
499
  const {
494
500
  baseTag: r,
@@ -503,32 +509,32 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
503
509
  title: f,
504
510
  titleAttributes: m
505
511
  } = e;
506
- q("body", n), q("html", o), He(f, m);
512
+ q("body", n), q("html", o), Ye(f, m);
507
513
  const p = {
508
- baseTag: A("base", r),
509
- linkTags: A("link", s),
510
- metaTags: A("meta", i),
511
- noscriptTags: A("noscript", l),
512
- scriptTags: A("script", c),
513
- styleTags: A("style", u)
514
- }, g = {}, K = {};
515
- Object.keys(p).forEach((w) => {
516
- const { newTags: z, oldTags: se } = p[w];
517
- z.length && (g[w] = z), se.length && (K[w] = p[w].oldTags);
518
- }), t && t(), a(e, g, K);
519
- }, C = null, _e = (e) => {
520
- C && cancelAnimationFrame(C), e.defer ? C = requestAnimationFrame(() => {
514
+ baseTag: E("base", r),
515
+ linkTags: E("link", s),
516
+ metaTags: E("meta", i),
517
+ noscriptTags: E("noscript", l),
518
+ scriptTags: E("script", c),
519
+ styleTags: E("style", u)
520
+ }, v = {}, z = {};
521
+ Object.keys(p).forEach((S) => {
522
+ const { newTags: N, oldTags: ae } = p[S];
523
+ N.length && (v[S] = N), ae.length && (z[S] = p[S].oldTags);
524
+ }), t && t(), a(e, v, z);
525
+ }, w = null, Ge = (e) => {
526
+ w && cancelAnimationFrame(w), e.defer ? w = requestAnimationFrame(() => {
521
527
  W(e, () => {
522
- C = null;
528
+ w = null;
523
529
  });
524
- }) : (W(e), C = null);
525
- }, De = _e, J = class extends L {
530
+ }) : (W(e), w = null);
531
+ }, Qe = Ge, J = class extends F {
526
532
  constructor() {
527
533
  super(...arguments);
528
- y(this, "rendered", !1);
534
+ T(this, "rendered", !1);
529
535
  }
530
536
  shouldComponentUpdate(t) {
531
- return !me(t, this.props);
537
+ return !Re(t, this.props);
532
538
  }
533
539
  componentDidUpdate() {
534
540
  this.emitChange();
@@ -540,13 +546,13 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
540
546
  emitChange() {
541
547
  const { helmetInstances: t, setHelmet: r } = this.props.context;
542
548
  let n = null;
543
- const o = Ee(
549
+ const o = Le(
544
550
  t.get().map((s) => {
545
551
  const i = { ...s.props };
546
552
  return delete i.context, i;
547
553
  })
548
554
  );
549
- Ie.canUseDOM ? De(o) : k && (n = k(o)), r(n);
555
+ Ze.canUseDOM ? Qe(o) : M && (n = M(o)), r(n);
550
556
  }
551
557
  // componentWillMount will be deprecated
552
558
  // for SSR, initialize on first render
@@ -561,9 +567,9 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
561
567
  render() {
562
568
  return this.init(), null;
563
569
  }
564
- }, R, je = (R = class extends L {
570
+ }, j, We = (j = class extends F {
565
571
  shouldComponentUpdate(e) {
566
- return !ce(G(this.props, "helmetData"), G(e, "helmetData"));
572
+ return !Se(Q(this.props, "helmetData"), Q(e, "helmetData"));
567
573
  }
568
574
  mapNestedChildrenToProps(e, t) {
569
575
  if (!t)
@@ -631,22 +637,22 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
631
637
  }), r;
632
638
  }
633
639
  warnOnInvalidChildren(e, t) {
634
- return B(
635
- Z.some((r) => e.type === r),
636
- typeof e.type == "function" ? "You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information." : `Only elements types ${Z.join(
640
+ return Z(
641
+ G.some((r) => e.type === r),
642
+ typeof e.type == "function" ? "You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information." : `Only elements types ${G.join(
637
643
  ", "
638
644
  )} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`
639
- ), B(
645
+ ), Z(
640
646
  !t || typeof t == "string" || Array.isArray(t) && !t.some((r) => typeof r != "string"),
641
647
  `Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`
642
648
  ), !0;
643
649
  }
644
650
  mapChildrenToProps(e, t) {
645
651
  let r = {};
646
- return T.Children.forEach(e, (n) => {
652
+ return g.Children.forEach(e, (n) => {
647
653
  if (!n || !n.props)
648
654
  return;
649
- const { children: o, ...s } = n.props, i = Object.keys(s).reduce((a, c) => (a[he[c] || c] = s[c], a), {});
655
+ const { children: o, ...s } = n.props, i = Object.keys(s).reduce((a, c) => (a[$e[c] || c] = s[c], a), {});
650
656
  let { type: l } = n;
651
657
  switch (typeof l == "symbol" ? l = l.toString() : this.warnOnInvalidChildren(n, o), l) {
652
658
  case "Symbol(react.fragment)":
@@ -673,19 +679,66 @@ var Q = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "hea
673
679
  render() {
674
680
  const { children: e, ...t } = this.props;
675
681
  let r = { ...t }, { helmetData: n } = t;
676
- if (e && (r = this.mapChildrenToProps(e, r)), n && !(n instanceof j)) {
682
+ if (e && (r = this.mapChildrenToProps(e, r)), n && !(n instanceof L)) {
677
683
  const o = n;
678
- n = new j(o.context, !0), delete r.helmetData;
684
+ n = new L(o.context, !0), delete r.helmetData;
679
685
  }
680
- return n ? /* @__PURE__ */ T.createElement(J, { ...r, context: n.value }) : /* @__PURE__ */ T.createElement(ne.Consumer, null, (o) => /* @__PURE__ */ T.createElement(J, { ...r, context: o }));
686
+ return n ? /* @__PURE__ */ g.createElement(J, { ...r, context: n.value }) : /* @__PURE__ */ g.createElement(se.Consumer, null, (o) => /* @__PURE__ */ g.createElement(J, { ...r, context: o }));
681
687
  }
682
- }, y(R, "defaultProps", {
688
+ }, T(j, "defaultProps", {
683
689
  defer: !0,
684
690
  encodeSpecialCharacters: !0,
685
691
  prioritizeSeoTags: !1
686
- }), R);
692
+ }), j);
693
+ const Je = fe(!1), Xe = "protected", ct = () => {
694
+ const e = le(), t = ce(), r = de(), n = me(), o = Ce(n.pathname), s = pe(Je), { protectedRoutes: i = [] } = t.options, l = !s && i.some(
695
+ (a) => he({ path: a, end: !0 }, n.pathname)
696
+ );
697
+ if (ue({
698
+ queryKey: ["login-redirect"],
699
+ queryFn: async () => {
700
+ var a;
701
+ return await new Promise((c) => setTimeout(c, 1200)), await ((a = t.authentication) == null ? void 0 : a.signIn({
702
+ redirectTo: o.current
703
+ })), !0;
704
+ },
705
+ enabled: typeof window < "u" && l && !e.isPending && !e.isAuthenticated
706
+ }), l && !e.isAuthenticated)
707
+ return /* @__PURE__ */ y.jsx(
708
+ Te,
709
+ {
710
+ open: !0,
711
+ onOpenChange: (a) => {
712
+ a || r(-1);
713
+ },
714
+ children: /* @__PURE__ */ y.jsxs(ge, { children: [
715
+ /* @__PURE__ */ y.jsx(ve, { children: /* @__PURE__ */ y.jsx(Ae, { children: "Logging you in..." }) }),
716
+ /* @__PURE__ */ y.jsx(Ee, { children: "Please wait while we log you in." })
717
+ ] })
718
+ }
719
+ );
720
+ if (l && !e.isAuthEnabled)
721
+ throw new be("Authentication is not enabled", {
722
+ title: "Authentication is not enabled",
723
+ developerHint: "To use protectedRoutes you need authentication to be enabled"
724
+ });
725
+ return /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
726
+ s && /* @__PURE__ */ y.jsx(We, { children: /* @__PURE__ */ y.jsx(
727
+ "meta",
728
+ {
729
+ name: "pagefind",
730
+ "data-pagefind-filter": `section:${Xe}`,
731
+ content: "true"
732
+ }
733
+ ) }),
734
+ /* @__PURE__ */ y.jsx(ye, {})
735
+ ] });
736
+ };
687
737
  export {
688
- je as H,
689
- Ie as a
738
+ Je as B,
739
+ We as H,
740
+ ct as R,
741
+ Xe as S,
742
+ Ze as a
690
743
  };
691
- //# sourceMappingURL=index.esm-CQHE3GEU.js.map
744
+ //# sourceMappingURL=RouteGuard-CqZPoZYJ.js.map