zudoku 0.1.1-dev.9 → 0.3.0-dev.11

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 (620) hide show
  1. package/dist/app/App.js +16 -6
  2. package/dist/app/App.js.map +1 -1
  3. package/dist/app/main.js +10 -2
  4. package/dist/app/main.js.map +1 -1
  5. package/dist/cli/build/handler.js +3 -1
  6. package/dist/cli/build/handler.js.map +1 -1
  7. package/dist/cli/common/analytics/lib.js +1 -1
  8. package/dist/cli/common/analytics/lib.js.map +1 -1
  9. package/dist/cli/common/logger.js +3 -1
  10. package/dist/cli/common/logger.js.map +1 -1
  11. package/dist/cli/common/outdated.js +4 -4
  12. package/dist/cli/common/outdated.js.map +1 -1
  13. package/dist/cli/common/output.js +4 -4
  14. package/dist/cli/common/output.js.map +1 -1
  15. package/dist/cli/common/utils/box.js +2 -2
  16. package/dist/cli/common/utils/box.js.map +1 -1
  17. package/dist/cli/dev/handler.js +4 -2
  18. package/dist/cli/dev/handler.js.map +1 -1
  19. package/dist/config/config.d.ts +30 -6
  20. package/dist/config/validators/auth.d.ts +2 -0
  21. package/dist/config/validators/auth.js +2 -0
  22. package/dist/config/validators/auth.js.map +1 -0
  23. package/dist/config/validators/validate.d.ts +2 -0
  24. package/dist/config/validators/validate.js +4 -0
  25. package/dist/config/validators/validate.js.map +1 -0
  26. package/dist/index.d.ts +2 -6
  27. package/dist/index.js +1 -5
  28. package/dist/index.js.map +1 -1
  29. package/dist/lib/authentication/Callback.d.ts +3 -0
  30. package/dist/lib/authentication/Callback.js +34 -0
  31. package/dist/lib/authentication/Callback.js.map +1 -0
  32. package/dist/lib/authentication/authentication.d.ts +14 -0
  33. package/dist/lib/authentication/authentication.js.map +1 -0
  34. package/dist/lib/authentication/errors.d.ts +15 -0
  35. package/dist/lib/authentication/errors.js +10 -0
  36. package/dist/lib/authentication/errors.js.map +1 -0
  37. package/dist/lib/authentication/hook.d.ts +8 -0
  38. package/dist/lib/authentication/hook.js +30 -0
  39. package/dist/lib/authentication/hook.js.map +1 -0
  40. package/dist/lib/authentication/providers/auth0.d.ts +4 -0
  41. package/dist/lib/authentication/providers/auth0.js +41 -0
  42. package/dist/lib/authentication/providers/auth0.js.map +1 -0
  43. package/dist/lib/authentication/providers/clerk.d.ts +4 -0
  44. package/dist/lib/authentication/providers/clerk.js +56 -0
  45. package/dist/lib/authentication/providers/clerk.js.map +1 -0
  46. package/dist/lib/authentication/providers/openid.d.ts +35 -0
  47. package/dist/lib/authentication/providers/openid.js +206 -0
  48. package/dist/lib/authentication/providers/openid.js.map +1 -0
  49. package/dist/lib/authentication/state.d.ts +14 -0
  50. package/dist/lib/authentication/state.js +6 -0
  51. package/dist/lib/authentication/state.js.map +1 -0
  52. package/dist/{app → lib}/components/AnchorLink.js.map +1 -1
  53. package/dist/{app → lib}/components/CategoryHeading.js.map +1 -1
  54. package/dist/lib/components/DevPortal.d.ts +25 -0
  55. package/dist/lib/components/DevPortal.js +36 -0
  56. package/dist/lib/components/DevPortal.js.map +1 -0
  57. package/dist/{app → lib}/components/Dialog.d.ts +2 -2
  58. package/dist/{app → lib}/components/Dialog.js +3 -3
  59. package/dist/lib/components/Dialog.js.map +1 -0
  60. package/dist/lib/components/Header.d.ts +1 -0
  61. package/dist/lib/components/Header.js +15 -0
  62. package/dist/lib/components/Header.js.map +1 -0
  63. package/dist/{app → lib/components}/Heading.js +2 -2
  64. package/dist/lib/components/Heading.js.map +1 -0
  65. package/dist/{app → lib}/components/Input.js.map +1 -1
  66. package/dist/{app → lib}/components/Layout.js +4 -7
  67. package/dist/lib/components/Layout.js.map +1 -0
  68. package/dist/lib/components/Link.d.ts +1 -0
  69. package/dist/lib/components/Link.js +2 -0
  70. package/dist/lib/components/Link.js.map +1 -0
  71. package/dist/{app → lib}/components/Markdown.js.map +1 -1
  72. package/dist/lib/components/Router.d.ts +4 -0
  73. package/dist/lib/components/Router.js +20 -0
  74. package/dist/lib/components/Router.js.map +1 -0
  75. package/dist/lib/components/Select.d.ts +13 -0
  76. package/dist/lib/components/Select.js +27 -0
  77. package/dist/lib/components/Select.js.map +1 -0
  78. package/dist/lib/components/Spinner.d.ts +3 -0
  79. package/dist/lib/components/Spinner.js +4 -0
  80. package/dist/lib/components/Spinner.js.map +1 -0
  81. package/dist/{app → lib}/components/SyntaxHighlight.d.ts +2 -1
  82. package/dist/{app → lib}/components/SyntaxHighlight.js +9 -2
  83. package/dist/lib/components/SyntaxHighlight.js.map +1 -0
  84. package/dist/{app → lib}/components/TopNavigation.js.map +1 -1
  85. package/dist/{app → lib}/components/context/ComponentsContext.d.ts +1 -1
  86. package/dist/{app → lib}/components/context/ComponentsContext.js.map +1 -1
  87. package/dist/{app → lib}/components/context/DevPortalProvider.d.ts +1 -1
  88. package/dist/{app → lib}/components/context/DevPortalProvider.js +3 -3
  89. package/dist/lib/components/context/DevPortalProvider.js.map +1 -0
  90. package/dist/lib/components/context/PluginSystem.js.map +1 -0
  91. package/dist/{app → lib}/components/context/ThemeContext.js +1 -1
  92. package/dist/{app → lib}/components/context/ThemeContext.js.map +1 -1
  93. package/dist/{app → lib}/components/context/ViewportAnchorContext.js.map +1 -1
  94. package/dist/lib/components/index.d.ts +3 -0
  95. package/dist/lib/components/index.js +4 -0
  96. package/dist/lib/components/index.js.map +1 -0
  97. package/dist/{app → lib}/components/navigation/SideNavigation.js +1 -1
  98. package/dist/{app → lib}/components/navigation/SideNavigation.js.map +1 -1
  99. package/dist/{app → lib}/components/navigation/SideNavigationCategory.js +1 -1
  100. package/dist/{app → lib}/components/navigation/SideNavigationCategory.js.map +1 -1
  101. package/dist/{app → lib}/components/navigation/SideNavigationItem.d.ts +2 -1
  102. package/dist/{app → lib}/components/navigation/SideNavigationItem.js +12 -6
  103. package/dist/lib/components/navigation/SideNavigationItem.js.map +1 -0
  104. package/dist/{app → lib}/components/navigation/SideNavigationWrapper.d.ts +3 -0
  105. package/dist/lib/components/navigation/SideNavigationWrapper.js +7 -0
  106. package/dist/lib/components/navigation/SideNavigationWrapper.js.map +1 -0
  107. package/dist/{app → lib}/components/navigation/useNavigationCollapsibleState.js.map +1 -1
  108. package/dist/{app → lib}/components/navigation/util.js.map +1 -1
  109. package/dist/{app → lib}/core/DevPortalContext.d.ts +10 -32
  110. package/dist/lib/core/DevPortalContext.js +50 -0
  111. package/dist/lib/core/DevPortalContext.js.map +1 -0
  112. package/dist/{app → lib}/core/helmet.js.map +1 -1
  113. package/dist/lib/core/icons.js.map +1 -0
  114. package/dist/{app → lib}/core/plugins.d.ts +8 -10
  115. package/dist/lib/core/plugins.js +5 -0
  116. package/dist/lib/core/plugins.js.map +1 -0
  117. package/dist/lib/core/router.js.map +1 -0
  118. package/dist/{app → lib}/oas/graphql/index.js +3 -3
  119. package/dist/lib/oas/graphql/index.js.map +1 -0
  120. package/dist/{app → lib}/oas/parser/dereference/index.js.map +1 -1
  121. package/dist/{app → lib}/oas/parser/dereference/resolveRef.js.map +1 -1
  122. package/dist/{app → lib}/oas/parser/index.js +3 -1
  123. package/dist/lib/oas/parser/index.js.map +1 -0
  124. package/dist/{app → lib}/oas/parser/upgrade/index.js.map +1 -1
  125. package/dist/lib/plugins/api-key/CreateApiKey.d.ts +4 -0
  126. package/dist/lib/plugins/api-key/CreateApiKey.js +37 -0
  127. package/dist/lib/plugins/api-key/CreateApiKey.js.map +1 -0
  128. package/dist/lib/plugins/api-key/SettingsApiKeys.d.ts +4 -0
  129. package/dist/lib/plugins/api-key/SettingsApiKeys.js +38 -0
  130. package/dist/lib/plugins/api-key/SettingsApiKeys.js.map +1 -0
  131. package/dist/lib/plugins/api-key/index.d.ts +30 -0
  132. package/dist/lib/plugins/api-key/index.js +94 -0
  133. package/dist/lib/plugins/api-key/index.js.map +1 -0
  134. package/dist/lib/plugins/index.d.ts +4 -0
  135. package/dist/lib/plugins/index.js +5 -0
  136. package/dist/lib/plugins/index.js.map +1 -0
  137. package/dist/lib/plugins/markdown/MdxPage.d.ts +5 -0
  138. package/dist/lib/plugins/markdown/MdxPage.js +60 -0
  139. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -0
  140. package/dist/{app → lib}/plugins/markdown/Toc.js.map +1 -1
  141. package/dist/{app → lib}/plugins/markdown/generateRoutes.js +1 -6
  142. package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -0
  143. package/dist/{app → lib}/plugins/markdown/index.js.map +1 -1
  144. package/dist/{app → lib}/plugins/openapi/ColorizedParam.d.ts +1 -2
  145. package/dist/{app → lib}/plugins/openapi/ColorizedParam.js +2 -2
  146. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -0
  147. package/dist/{app → lib}/plugins/openapi/MethodBadge.js.map +1 -1
  148. package/dist/{app → lib}/plugins/openapi/OperationList.js +12 -3
  149. package/dist/lib/plugins/openapi/OperationList.js.map +1 -0
  150. package/dist/lib/plugins/openapi/OperationListItem.js +17 -0
  151. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -0
  152. package/dist/{app → lib}/plugins/openapi/ParameterList.d.ts +2 -2
  153. package/dist/lib/plugins/openapi/ParameterList.js +5 -0
  154. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -0
  155. package/dist/lib/plugins/openapi/ParameterListItem.js +13 -0
  156. package/dist/{app → lib}/plugins/openapi/ParameterListItem.js.map +1 -1
  157. package/dist/{app/plugins/openapi/MakeRequest.d.ts → lib/plugins/openapi/PlaygroundDialogWrapper.d.ts} +1 -1
  158. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +43 -0
  159. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -0
  160. package/dist/{app → lib}/plugins/openapi/RequestBodySidecarBox.js +3 -3
  161. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -0
  162. package/dist/{app → lib}/plugins/openapi/ResponsesSidecarBox.js +3 -3
  163. package/dist/{app → lib}/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  164. package/dist/lib/plugins/openapi/SchemaListView.d.ts +7 -0
  165. package/dist/lib/plugins/openapi/SchemaListView.js +43 -0
  166. package/dist/lib/plugins/openapi/SchemaListView.js.map +1 -0
  167. package/dist/{app → lib}/plugins/openapi/Sidecar.js +22 -20
  168. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -0
  169. package/dist/{app → lib}/plugins/openapi/SidecarBox.js.map +1 -1
  170. package/dist/{app/plugins/openapi/Select.d.ts → lib/plugins/openapi/SimpleSelect.d.ts} +3 -2
  171. package/dist/lib/plugins/openapi/SimpleSelect.js +5 -0
  172. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -0
  173. package/dist/{app → lib}/plugins/openapi/graphql/fragment-masking.d.ts +1 -1
  174. package/dist/{app → lib}/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  175. package/dist/{app → lib}/plugins/openapi/graphql/gql.d.ts +5 -5
  176. package/dist/{app → lib}/plugins/openapi/graphql/gql.js +2 -3
  177. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -0
  178. package/dist/{app → lib}/plugins/openapi/graphql/graphql.d.ts +9 -0
  179. package/dist/{app → lib}/plugins/openapi/graphql/graphql.js +50 -0
  180. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -0
  181. package/dist/lib/plugins/openapi/graphql/index.js.map +1 -0
  182. package/dist/{app → lib}/plugins/openapi/index.js +11 -1
  183. package/dist/lib/plugins/openapi/index.js.map +1 -0
  184. package/dist/lib/plugins/openapi/playground/Editor.d.ts +1 -0
  185. package/dist/lib/plugins/openapi/playground/Editor.js +5 -0
  186. package/dist/lib/plugins/openapi/playground/Editor.js.map +1 -0
  187. package/dist/lib/plugins/openapi/playground/Headers.d.ts +6 -0
  188. package/dist/lib/plugins/openapi/playground/Headers.js +25 -0
  189. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -0
  190. package/dist/lib/plugins/openapi/playground/InlineInput.d.ts +4 -0
  191. package/dist/lib/plugins/openapi/playground/InlineInput.js +3 -0
  192. package/dist/lib/plugins/openapi/playground/InlineInput.js.map +1 -0
  193. package/dist/lib/plugins/openapi/playground/PathParams.d.ts +6 -0
  194. package/dist/lib/plugins/openapi/playground/PathParams.js +21 -0
  195. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -0
  196. package/dist/lib/plugins/openapi/playground/Playground.d.ts +32 -0
  197. package/dist/lib/plugins/openapi/playground/Playground.js +93 -0
  198. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -0
  199. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.d.ts +3 -0
  200. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +10 -0
  201. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -0
  202. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +5 -0
  203. package/dist/lib/plugins/openapi/playground/QueryParams.js +22 -0
  204. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -0
  205. package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +4 -0
  206. package/dist/lib/plugins/openapi/playground/UrlDisplay.js +22 -0
  207. package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +1 -0
  208. package/dist/lib/plugins/openapi/playground/createUrl.d.ts +2 -0
  209. package/dist/lib/plugins/openapi/playground/createUrl.js +15 -0
  210. package/dist/lib/plugins/openapi/playground/createUrl.js.map +1 -0
  211. package/dist/{app → lib}/plugins/openapi/util/generateSchemaExample.d.ts +1 -1
  212. package/dist/{app → lib}/plugins/openapi/util/generateSchemaExample.js +17 -9
  213. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -0
  214. package/dist/{app → lib}/plugins/openapi/util/urql.js.map +1 -1
  215. package/dist/{app → lib}/plugins/openapi/worker/createSharedWorkerClient.js +2 -1
  216. package/dist/lib/plugins/openapi/worker/createSharedWorkerClient.js.map +1 -0
  217. package/dist/lib/plugins/openapi/worker/shared-worker.d.ts +1 -0
  218. package/dist/lib/plugins/openapi/worker/shared-worker.js +6 -0
  219. package/dist/lib/plugins/openapi/worker/shared-worker.js.map +1 -0
  220. package/dist/lib/plugins/openapi/worker/worker.js +44 -0
  221. package/dist/lib/plugins/openapi/worker/worker.js.map +1 -0
  222. package/dist/lib/plugins/openapi-worker.d.ts +1 -0
  223. package/dist/lib/plugins/openapi-worker.js +2 -0
  224. package/dist/lib/plugins/openapi-worker.js.map +1 -0
  225. package/dist/{app → lib}/plugins/redirect/index.d.ts +1 -2
  226. package/dist/{app → lib}/plugins/redirect/index.js.map +1 -1
  227. package/dist/lib/ui/Button.d.ts +7 -0
  228. package/dist/lib/ui/Button.js +11 -0
  229. package/dist/lib/ui/Button.js.map +1 -0
  230. package/dist/{app → lib}/ui/Callout.js.map +1 -1
  231. package/dist/{app → lib}/ui/Card.js.map +1 -1
  232. package/dist/{app → lib}/ui/Note.js.map +1 -1
  233. package/dist/{app → lib}/ui/Tabs.d.ts +2 -2
  234. package/dist/{app → lib}/ui/Tabs.js +2 -2
  235. package/dist/{app → lib}/ui/Tabs.js.map +1 -1
  236. package/dist/lib/ui/button-variants.d.ts +4 -0
  237. package/dist/{app/ui/Button.js → lib/ui/button-variants.js} +2 -12
  238. package/dist/lib/ui/button-variants.js.map +1 -0
  239. package/dist/{app → lib}/util/MdxComponents.js +9 -9
  240. package/dist/lib/util/MdxComponents.js.map +1 -0
  241. package/dist/{app → lib}/util/cn.js.map +1 -1
  242. package/dist/lib/util/createVariantComponent.d.ts +9 -0
  243. package/dist/lib/util/createVariantComponent.js +17 -0
  244. package/dist/lib/util/createVariantComponent.js.map +1 -0
  245. package/dist/{app → lib}/util/createWaitForNotify.js.map +1 -1
  246. package/dist/{app → lib}/util/groupBy.js.map +1 -1
  247. package/dist/{app → lib}/util/joinPath.js.map +1 -1
  248. package/dist/{app → lib}/util/pastellize.js.map +1 -1
  249. package/dist/lib/util/slugify.js.map +1 -0
  250. package/dist/{app → lib}/util/traverseNavigation.js.map +1 -1
  251. package/dist/{app → lib}/util/useScrollToAnchor.js.map +1 -1
  252. package/dist/{app → lib}/util/useScrollToTop.js.map +1 -1
  253. package/dist/ts.js +1 -2
  254. package/dist/ts.js.map +1 -1
  255. package/dist/vite/build.js +2 -8
  256. package/dist/vite/build.js.map +1 -1
  257. package/dist/vite/common.d.ts +1 -0
  258. package/dist/vite/common.js +5 -0
  259. package/dist/vite/common.js.map +1 -0
  260. package/dist/vite/config.d.ts +9 -2
  261. package/dist/vite/config.js +69 -28
  262. package/dist/vite/config.js.map +1 -1
  263. package/dist/vite/config.test.js +1 -1
  264. package/dist/vite/config.test.js.map +1 -1
  265. package/dist/vite/dev-server.d.ts +2 -0
  266. package/dist/vite/dev-server.js +30 -10
  267. package/dist/vite/dev-server.js.map +1 -1
  268. package/dist/vite/plugin-api-keys.d.ts +4 -0
  269. package/dist/vite/plugin-api-keys.js +33 -0
  270. package/dist/vite/plugin-api-keys.js.map +1 -0
  271. package/dist/vite/plugin-api.js +4 -2
  272. package/dist/vite/plugin-api.js.map +1 -1
  273. package/dist/vite/plugin-auth.js +3 -2
  274. package/dist/vite/plugin-auth.js.map +1 -1
  275. package/dist/vite/plugin-component.d.ts +4 -0
  276. package/dist/vite/plugin-component.js +16 -0
  277. package/dist/vite/plugin-component.js.map +1 -0
  278. package/dist/vite/plugin-config.d.ts +1 -0
  279. package/dist/vite/plugin-config.js +4 -3
  280. package/dist/vite/plugin-config.js.map +1 -1
  281. package/dist/vite/plugin-docs.js +4 -2
  282. package/dist/vite/plugin-docs.js.map +1 -1
  283. package/dist/vite/plugin-docs.test.js +1 -2
  284. package/dist/vite/plugin-docs.test.js.map +1 -1
  285. package/dist/vite/plugin-html.js +0 -3
  286. package/dist/vite/plugin-html.js.map +1 -1
  287. package/dist/vite/plugin-mdx.js +3 -1
  288. package/dist/vite/plugin-mdx.js.map +1 -1
  289. package/dist/vite/plugin-metadata.d.ts +6 -0
  290. package/dist/vite/plugin-metadata.js +24 -0
  291. package/dist/vite/plugin-metadata.js.map +1 -0
  292. package/dist/vite/plugin-openapi-worker.d.ts +4 -0
  293. package/dist/vite/plugin-openapi-worker.js +28 -0
  294. package/dist/vite/plugin-openapi-worker.js.map +1 -0
  295. package/dist/vite/plugin-redirect.d.ts +4 -0
  296. package/dist/vite/plugin-redirect.js +32 -0
  297. package/dist/vite/plugin-redirect.js.map +1 -0
  298. package/dist/vite/plugin.js +8 -0
  299. package/dist/vite/plugin.js.map +1 -1
  300. package/lib/Spinner-CzCKCaUK.js +8444 -0
  301. package/lib/assets/index-BPdJm2ty.js +4764 -0
  302. package/lib/assets/worker-DGvzLstc.js +14516 -0
  303. package/lib/clerk-Wslx_mPo.js +19685 -0
  304. package/lib/index-PyGcnQFX.js +3462 -0
  305. package/lib/loglevel-CoH7VSwE.js +152 -0
  306. package/lib/prism-bash.min-DadFsM4Z.js +6 -0
  307. package/lib/prism-csharp.min-Yizuc34Y.js +34 -0
  308. package/lib/prism-java.min-d5iT_mOd.js +6 -0
  309. package/lib/prism-json.min-B1GJqK1k.js +1 -0
  310. package/lib/prism-markup-templating-DZrrEs0A.js +61 -0
  311. package/lib/prism-objectivec.min-BXSWqpJJ.js +1 -0
  312. package/lib/prism-php.min-o7FpoMP_.js +10 -0
  313. package/lib/prism-ruby.min-C7LwcKyz.js +9 -0
  314. package/lib/state-2Hu1renZ.js +313 -0
  315. package/lib/urql-DMlBWUKL.js +1591 -0
  316. package/lib/zudoku.auth-auth0.js +27 -0
  317. package/lib/zudoku.auth-clerk.js +49 -0
  318. package/lib/zudoku.auth-openid.js +912 -0
  319. package/lib/zudoku.components.js +906 -0
  320. package/lib/zudoku.openapi-worker.js +225 -0
  321. package/lib/zudoku.plugins.js +19916 -0
  322. package/package.json +71 -39
  323. package/src/app/App.tsx +17 -6
  324. package/src/app/main.css +1 -0
  325. package/src/app/main.tsx +12 -3
  326. package/src/lib/authentication/Callback.tsx +60 -0
  327. package/src/lib/authentication/authentication.ts +16 -0
  328. package/src/lib/authentication/errors.ts +21 -0
  329. package/src/lib/authentication/hook.ts +34 -0
  330. package/src/lib/authentication/providers/auth0.tsx +53 -0
  331. package/src/lib/authentication/providers/clerk.tsx +66 -0
  332. package/src/lib/authentication/providers/openid.tsx +314 -0
  333. package/src/lib/authentication/state.ts +21 -0
  334. package/src/{app → lib/components}/DevPortal.tsx +36 -43
  335. package/src/{app → lib}/components/Dialog.tsx +37 -37
  336. package/src/{app → lib}/components/Header.tsx +28 -23
  337. package/src/{app → lib/components}/Heading.tsx +2 -2
  338. package/src/{app → lib}/components/Layout.tsx +18 -12
  339. package/src/lib/components/Link.tsx +1 -0
  340. package/src/lib/components/Router.tsx +28 -0
  341. package/src/lib/components/Select.tsx +157 -0
  342. package/src/lib/components/Spinner.tsx +5 -0
  343. package/src/{app → lib}/components/SyntaxHighlight.tsx +15 -4
  344. package/src/{app → lib}/components/context/DevPortalProvider.ts +3 -3
  345. package/src/lib/components/index.ts +3 -0
  346. package/src/{app → lib}/components/navigation/SideNavigation.tsx +4 -1
  347. package/src/{app → lib}/components/navigation/SideNavigationCategory.tsx +3 -1
  348. package/src/{app → lib}/components/navigation/SideNavigationItem.tsx +16 -7
  349. package/src/lib/components/navigation/SideNavigationWrapper.tsx +24 -0
  350. package/src/{app → lib}/core/DevPortalContext.ts +33 -67
  351. package/src/{app → lib}/core/plugins.ts +13 -8
  352. package/src/{app → lib}/oas/graphql/index.ts +4 -4
  353. package/src/{app → lib}/oas/parser/index.ts +3 -1
  354. package/src/lib/plugins/api-key/CreateApiKey.tsx +94 -0
  355. package/src/lib/plugins/api-key/SettingsApiKeys.tsx +132 -0
  356. package/src/lib/plugins/api-key/index.tsx +160 -0
  357. package/src/lib/plugins/index.ts +4 -0
  358. package/src/{app → lib}/plugins/markdown/MdxPage.tsx +33 -11
  359. package/src/{app → lib}/plugins/markdown/generateRoutes.tsx +1 -16
  360. package/src/{app → lib}/plugins/openapi/ColorizedParam.tsx +1 -3
  361. package/src/{app → lib}/plugins/openapi/OperationList.tsx +14 -4
  362. package/src/lib/plugins/openapi/OperationListItem.tsx +93 -0
  363. package/src/{app → lib}/plugins/openapi/ParameterList.tsx +4 -4
  364. package/src/{app → lib}/plugins/openapi/ParameterListItem.tsx +5 -2
  365. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +63 -0
  366. package/src/{app → lib}/plugins/openapi/RequestBodySidecarBox.tsx +4 -3
  367. package/src/{app → lib}/plugins/openapi/ResponsesSidecarBox.tsx +2 -3
  368. package/src/lib/plugins/openapi/SchemaListView.tsx +228 -0
  369. package/src/{app → lib}/plugins/openapi/Sidecar.tsx +34 -29
  370. package/src/{app/plugins/openapi/Select.tsx → lib/plugins/openapi/SimpleSelect.tsx} +5 -2
  371. package/src/{app → lib}/plugins/openapi/graphql/gql.ts +7 -7
  372. package/src/{app → lib}/plugins/openapi/graphql/graphql.ts +59 -0
  373. package/src/{app → lib}/plugins/openapi/index.tsx +20 -1
  374. package/src/lib/plugins/openapi/playground/Editor.tsx +4 -0
  375. package/src/lib/plugins/openapi/playground/Headers.tsx +87 -0
  376. package/src/lib/plugins/openapi/playground/InlineInput.tsx +6 -0
  377. package/src/lib/plugins/openapi/playground/PathParams.tsx +63 -0
  378. package/src/lib/plugins/openapi/playground/Playground.tsx +331 -0
  379. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +34 -0
  380. package/src/lib/plugins/openapi/playground/QueryParams.tsx +89 -0
  381. package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +32 -0
  382. package/src/lib/plugins/openapi/playground/createUrl.ts +22 -0
  383. package/src/{app → lib}/plugins/openapi/util/generateSchemaExample.ts +22 -9
  384. package/src/{app → lib}/plugins/openapi/worker/createSharedWorkerClient.ts +2 -1
  385. package/src/lib/plugins/openapi/worker/shared-worker.ts +5 -0
  386. package/src/lib/plugins/openapi/worker/worker.ts +56 -0
  387. package/src/lib/plugins/openapi-worker.ts +1 -0
  388. package/src/{app → lib}/plugins/redirect/index.tsx +1 -1
  389. package/src/lib/ui/Button.tsx +25 -0
  390. package/src/{app → lib}/ui/Tabs.tsx +2 -2
  391. package/src/{app/ui/Button.tsx → lib/ui/button-variants.ts} +4 -29
  392. package/src/{app → lib}/util/MdxComponents.tsx +33 -8
  393. package/src/{app → lib}/util/createVariantComponent.tsx +12 -7
  394. package/dist/app/DevPortal.d.ts +0 -25
  395. package/dist/app/DevPortal.js +0 -41
  396. package/dist/app/DevPortal.js.map +0 -1
  397. package/dist/app/Heading.js.map +0 -1
  398. package/dist/app/authentication/authentication.d.ts +0 -13
  399. package/dist/app/authentication/authentication.js.map +0 -1
  400. package/dist/app/authentication/clerk.d.ts +0 -5
  401. package/dist/app/authentication/clerk.js +0 -36
  402. package/dist/app/authentication/clerk.js.map +0 -1
  403. package/dist/app/authentication/openid.d.ts +0 -11
  404. package/dist/app/authentication/openid.js +0 -118
  405. package/dist/app/authentication/openid.js.map +0 -1
  406. package/dist/app/components/Dialog.js.map +0 -1
  407. package/dist/app/components/DynamicIcon.d.ts +0 -6
  408. package/dist/app/components/DynamicIcon.js +0 -6
  409. package/dist/app/components/DynamicIcon.js.map +0 -1
  410. package/dist/app/components/Header.d.ts +0 -1
  411. package/dist/app/components/Header.js +0 -15
  412. package/dist/app/components/Header.js.map +0 -1
  413. package/dist/app/components/Layout.js.map +0 -1
  414. package/dist/app/components/SyntaxHighlight.js.map +0 -1
  415. package/dist/app/components/context/DevPortalProvider.js.map +0 -1
  416. package/dist/app/components/context/PluginSystem.js.map +0 -1
  417. package/dist/app/components/navigation/SideNavigationItem.js.map +0 -1
  418. package/dist/app/components/navigation/SideNavigationWrapper.js +0 -6
  419. package/dist/app/components/navigation/SideNavigationWrapper.js.map +0 -1
  420. package/dist/app/core/DevPortalContext.js +0 -68
  421. package/dist/app/core/DevPortalContext.js.map +0 -1
  422. package/dist/app/core/icons.js.map +0 -1
  423. package/dist/app/core/plugins.js +0 -4
  424. package/dist/app/core/plugins.js.map +0 -1
  425. package/dist/app/core/router.js.map +0 -1
  426. package/dist/app/core/types/combine.d.ts +0 -4
  427. package/dist/app/core/types/combine.js +0 -2
  428. package/dist/app/core/types/combine.js.map +0 -1
  429. package/dist/app/oas/graphql/index.js.map +0 -1
  430. package/dist/app/oas/graphql/server.d.ts +0 -1
  431. package/dist/app/oas/graphql/server.js +0 -8
  432. package/dist/app/oas/graphql/server.js.map +0 -1
  433. package/dist/app/oas/parser/index.js.map +0 -1
  434. package/dist/app/plugins/api-key/SettingsApiKeys.d.ts +0 -4
  435. package/dist/app/plugins/api-key/SettingsApiKeys.js +0 -7
  436. package/dist/app/plugins/api-key/SettingsApiKeys.js.map +0 -1
  437. package/dist/app/plugins/api-key/index.d.ts +0 -32
  438. package/dist/app/plugins/api-key/index.js +0 -55
  439. package/dist/app/plugins/api-key/index.js.map +0 -1
  440. package/dist/app/plugins/markdown/MdxPage.d.ts +0 -3
  441. package/dist/app/plugins/markdown/MdxPage.js +0 -55
  442. package/dist/app/plugins/markdown/MdxPage.js.map +0 -1
  443. package/dist/app/plugins/markdown/generateRoutes.js.map +0 -1
  444. package/dist/app/plugins/openapi/ColorizedParam.js.map +0 -1
  445. package/dist/app/plugins/openapi/MakeRequest.js +0 -23
  446. package/dist/app/plugins/openapi/MakeRequest.js.map +0 -1
  447. package/dist/app/plugins/openapi/OperationList.js.map +0 -1
  448. package/dist/app/plugins/openapi/OperationListItem.js +0 -15
  449. package/dist/app/plugins/openapi/OperationListItem.js.map +0 -1
  450. package/dist/app/plugins/openapi/ParameterList.js +0 -5
  451. package/dist/app/plugins/openapi/ParameterList.js.map +0 -1
  452. package/dist/app/plugins/openapi/ParameterListItem.js +0 -13
  453. package/dist/app/plugins/openapi/RequestBodySidecarBox.js.map +0 -1
  454. package/dist/app/plugins/openapi/Select.js +0 -5
  455. package/dist/app/plugins/openapi/Select.js.map +0 -1
  456. package/dist/app/plugins/openapi/Sidecar.js.map +0 -1
  457. package/dist/app/plugins/openapi/graphql/gql.js.map +0 -1
  458. package/dist/app/plugins/openapi/graphql/graphql.js.map +0 -1
  459. package/dist/app/plugins/openapi/graphql/index.js.map +0 -1
  460. package/dist/app/plugins/openapi/index.js.map +0 -1
  461. package/dist/app/plugins/openapi/playground/Playground.d.ts +0 -8
  462. package/dist/app/plugins/openapi/playground/Playground.js +0 -98
  463. package/dist/app/plugins/openapi/playground/Playground.js.map +0 -1
  464. package/dist/app/plugins/openapi/util/generateSchemaExample.js.map +0 -1
  465. package/dist/app/plugins/openapi/worker/createSharedWorkerClient.js.map +0 -1
  466. package/dist/app/plugins/openapi/worker/worker.js +0 -20
  467. package/dist/app/plugins/openapi/worker/worker.js.map +0 -1
  468. package/dist/app/ui/Button.d.ts +0 -11
  469. package/dist/app/ui/Button.js.map +0 -1
  470. package/dist/app/util/MdxComponents.js.map +0 -1
  471. package/dist/app/util/createVariantComponent.d.ts +0 -15
  472. package/dist/app/util/createVariantComponent.js +0 -12
  473. package/dist/app/util/createVariantComponent.js.map +0 -1
  474. package/dist/app/util/slugify.js.map +0 -1
  475. package/dist/auth.d.ts +0 -2
  476. package/dist/auth.js +0 -3
  477. package/dist/auth.js.map +0 -1
  478. package/dist/plugins.d.ts +0 -4
  479. package/dist/plugins.js +0 -6
  480. package/dist/plugins.js.map +0 -1
  481. package/src/app/authentication/authentication.ts +0 -18
  482. package/src/app/authentication/clerk.ts +0 -47
  483. package/src/app/authentication/openid.ts +0 -192
  484. package/src/app/components/DynamicIcon.tsx +0 -60
  485. package/src/app/components/navigation/SideNavigationWrapper.tsx +0 -15
  486. package/src/app/core/types/combine.ts +0 -16
  487. package/src/app/oas/graphql/server.ts +0 -10
  488. package/src/app/plugins/api-key/SettingsApiKeys.tsx +0 -22
  489. package/src/app/plugins/api-key/index.tsx +0 -123
  490. package/src/app/plugins/openapi/MakeRequest.tsx +0 -49
  491. package/src/app/plugins/openapi/OperationListItem.tsx +0 -55
  492. package/src/app/plugins/openapi/playground/Playground.tsx +0 -309
  493. package/src/app/plugins/openapi/queries.graphql +0 -6
  494. package/src/app/plugins/openapi/worker/worker.ts +0 -30
  495. package/dist/{app → lib}/authentication/authentication.js +0 -0
  496. package/dist/{app → lib}/components/AnchorLink.d.ts +0 -0
  497. package/dist/{app → lib}/components/AnchorLink.js +0 -0
  498. package/dist/{app → lib}/components/CategoryHeading.d.ts +0 -0
  499. package/dist/{app → lib}/components/CategoryHeading.js +0 -0
  500. package/dist/{app → lib/components}/Heading.d.ts +0 -0
  501. package/dist/{app → lib}/components/Input.d.ts +0 -0
  502. package/dist/{app → lib}/components/Input.js +0 -0
  503. package/dist/{app → lib}/components/Layout.d.ts +0 -0
  504. package/dist/{app → lib}/components/Markdown.d.ts +0 -0
  505. package/dist/{app → lib}/components/Markdown.js +0 -0
  506. package/dist/{app → lib}/components/TopNavigation.d.ts +0 -0
  507. package/dist/{app → lib}/components/TopNavigation.js +0 -0
  508. package/dist/{app → lib}/components/context/ComponentsContext.js +0 -0
  509. package/dist/{app → lib}/components/context/PluginSystem.d.ts +0 -0
  510. package/dist/{app → lib}/components/context/PluginSystem.js +0 -0
  511. package/dist/{app → lib}/components/context/ThemeContext.d.ts +0 -0
  512. package/dist/{app → lib}/components/context/ViewportAnchorContext.d.ts +0 -0
  513. package/dist/{app → lib}/components/context/ViewportAnchorContext.js +0 -0
  514. package/dist/{app → lib}/components/navigation/SideNavigation.d.ts +0 -0
  515. package/dist/{app → lib}/components/navigation/SideNavigationCategory.d.ts +0 -0
  516. package/dist/{app → lib}/components/navigation/useNavigationCollapsibleState.d.ts +0 -0
  517. package/dist/{app → lib}/components/navigation/useNavigationCollapsibleState.js +0 -0
  518. package/dist/{app → lib}/components/navigation/util.d.ts +0 -0
  519. package/dist/{app → lib}/components/navigation/util.js +0 -0
  520. package/dist/{app → lib}/core/helmet.d.ts +0 -0
  521. package/dist/{app → lib}/core/helmet.js +0 -0
  522. package/dist/{app → lib}/core/icons.d.ts +0 -0
  523. package/dist/{app → lib}/core/icons.js +0 -0
  524. package/dist/{app → lib}/core/router.d.ts +0 -0
  525. package/dist/{app → lib}/core/router.js +0 -0
  526. package/dist/{app → lib}/oas/graphql/index.d.ts +0 -0
  527. package/dist/{app → lib}/oas/parser/dereference/index.d.ts +0 -0
  528. package/dist/{app → lib}/oas/parser/dereference/index.js +0 -0
  529. package/dist/{app → lib}/oas/parser/dereference/resolveRef.d.ts +0 -0
  530. package/dist/{app → lib}/oas/parser/dereference/resolveRef.js +0 -0
  531. package/dist/{app → lib}/oas/parser/index.d.ts +0 -0
  532. package/dist/{app → lib}/oas/parser/upgrade/index.d.ts +0 -0
  533. package/dist/{app → lib}/oas/parser/upgrade/index.js +0 -0
  534. package/dist/{app → lib}/plugins/markdown/Toc.d.ts +0 -0
  535. package/dist/{app → lib}/plugins/markdown/Toc.js +0 -0
  536. package/dist/{app → lib}/plugins/markdown/generateRoutes.d.ts +0 -0
  537. package/dist/{app → lib}/plugins/markdown/index.d.ts +0 -0
  538. package/dist/{app → lib}/plugins/markdown/index.js +0 -0
  539. package/dist/{app → lib}/plugins/openapi/MethodBadge.d.ts +0 -0
  540. package/dist/{app → lib}/plugins/openapi/MethodBadge.js +0 -0
  541. package/dist/{app → lib}/plugins/openapi/OperationList.d.ts +0 -0
  542. package/dist/{app → lib}/plugins/openapi/OperationListItem.d.ts +0 -0
  543. package/dist/{app → lib}/plugins/openapi/ParameterListItem.d.ts +0 -0
  544. package/dist/{app → lib}/plugins/openapi/RequestBodySidecarBox.d.ts +0 -0
  545. package/dist/{app → lib}/plugins/openapi/ResponsesSidecarBox.d.ts +0 -0
  546. package/dist/{app → lib}/plugins/openapi/Sidecar.d.ts +0 -0
  547. package/dist/{app → lib}/plugins/openapi/SidecarBox.d.ts +0 -0
  548. package/dist/{app → lib}/plugins/openapi/SidecarBox.js +0 -0
  549. package/dist/{app → lib}/plugins/openapi/graphql/fragment-masking.js +0 -0
  550. package/dist/{app → lib}/plugins/openapi/graphql/index.d.ts +0 -0
  551. package/dist/{app → lib}/plugins/openapi/graphql/index.js +0 -0
  552. package/dist/{app → lib}/plugins/openapi/index.d.ts +0 -0
  553. package/dist/{app → lib}/plugins/openapi/util/urql.d.ts +0 -0
  554. package/dist/{app → lib}/plugins/openapi/util/urql.js +0 -0
  555. package/dist/{app → lib}/plugins/openapi/worker/createSharedWorkerClient.d.ts +0 -0
  556. package/dist/{app → lib}/plugins/openapi/worker/worker.d.ts +0 -0
  557. package/dist/{app → lib}/plugins/redirect/index.js +0 -0
  558. package/dist/{app → lib}/ui/Callout.d.ts +0 -0
  559. package/dist/{app → lib}/ui/Callout.js +0 -0
  560. package/dist/{app → lib}/ui/Card.d.ts +0 -0
  561. package/dist/{app → lib}/ui/Card.js +0 -0
  562. package/dist/{app → lib}/ui/Note.d.ts +0 -0
  563. package/dist/{app → lib}/ui/Note.js +0 -0
  564. package/dist/{app → lib}/util/MdxComponents.d.ts +0 -0
  565. package/dist/{app → lib}/util/cn.d.ts +0 -0
  566. package/dist/{app → lib}/util/cn.js +0 -0
  567. package/dist/{app → lib}/util/createWaitForNotify.d.ts +0 -0
  568. package/dist/{app → lib}/util/createWaitForNotify.js +0 -0
  569. package/dist/{app → lib}/util/groupBy.d.ts +0 -0
  570. package/dist/{app → lib}/util/groupBy.js +0 -0
  571. package/dist/{app → lib}/util/joinPath.d.ts +0 -0
  572. package/dist/{app → lib}/util/joinPath.js +0 -0
  573. package/dist/{app → lib}/util/pastellize.d.ts +0 -0
  574. package/dist/{app → lib}/util/pastellize.js +0 -0
  575. package/dist/{app → lib}/util/slugify.d.ts +0 -0
  576. package/dist/{app → lib}/util/slugify.js +0 -0
  577. package/dist/{app → lib}/util/traverseNavigation.d.ts +0 -0
  578. package/dist/{app → lib}/util/traverseNavigation.js +0 -0
  579. package/dist/{app → lib}/util/useScrollToAnchor.d.ts +0 -0
  580. package/dist/{app → lib}/util/useScrollToAnchor.js +0 -0
  581. package/dist/{app → lib}/util/useScrollToTop.d.ts +0 -0
  582. package/dist/{app → lib}/util/useScrollToTop.js +0 -0
  583. package/src/{app → lib}/components/AnchorLink.tsx +0 -0
  584. package/src/{app → lib}/components/CategoryHeading.tsx +1 -1
  585. package/src/{app → lib}/components/Input.tsx +0 -0
  586. package/src/{app → lib}/components/Markdown.tsx +0 -0
  587. package/src/{app → lib}/components/TopNavigation.tsx +0 -0
  588. package/src/{app → lib}/components/context/ComponentsContext.tsx +0 -0
  589. package/src/{app → lib}/components/context/PluginSystem.ts +0 -0
  590. package/src/{app → lib}/components/context/ThemeContext.tsx +1 -1
  591. package/src/{app → lib}/components/context/ViewportAnchorContext.tsx +0 -0
  592. package/src/{app → lib}/components/navigation/useNavigationCollapsibleState.ts +0 -0
  593. package/src/{app → lib}/components/navigation/util.ts +0 -0
  594. package/src/{app → lib}/core/helmet.ts +0 -0
  595. package/src/{app → lib}/core/icons.tsx +0 -0
  596. package/src/{app → lib}/core/router.tsx +0 -0
  597. package/src/{app → lib}/oas/parser/dereference/index.ts +0 -0
  598. package/src/{app → lib}/oas/parser/dereference/resolveRef.ts +0 -0
  599. package/src/{app → lib}/oas/parser/schemas/v3.0.json +0 -0
  600. package/src/{app → lib}/oas/parser/schemas/v3.1.json +0 -0
  601. package/src/{app → lib}/oas/parser/upgrade/index.ts +0 -0
  602. package/src/{app → lib}/plugins/markdown/Toc.tsx +0 -0
  603. package/src/{app → lib}/plugins/markdown/index.tsx +0 -0
  604. package/src/{app → lib}/plugins/openapi/MethodBadge.tsx +0 -0
  605. package/src/{app → lib}/plugins/openapi/SidecarBox.tsx +0 -0
  606. package/src/{app → lib}/plugins/openapi/graphql/fragment-masking.ts +1 -1
  607. /package/src/{app → lib}/plugins/openapi/graphql/index.ts +0 -0
  608. /package/src/{app → lib}/plugins/openapi/util/urql.ts +0 -0
  609. /package/src/{app → lib}/ui/Callout.tsx +0 -0
  610. /package/src/{app → lib}/ui/Card.tsx +0 -0
  611. /package/src/{app → lib}/ui/Note.tsx +0 -0
  612. /package/src/{app → lib}/util/cn.ts +0 -0
  613. /package/src/{app → lib}/util/createWaitForNotify.ts +0 -0
  614. /package/src/{app → lib}/util/groupBy.ts +0 -0
  615. /package/src/{app → lib}/util/joinPath.tsx +0 -0
  616. /package/src/{app → lib}/util/pastellize.ts +0 -0
  617. /package/src/{app → lib}/util/slugify.ts +0 -0
  618. /package/src/{app → lib}/util/traverseNavigation.ts +0 -0
  619. /package/src/{app → lib}/util/useScrollToAnchor.ts +0 -0
  620. /package/src/{app → lib}/util/useScrollToTop.ts +0 -0
@@ -0,0 +1,152 @@
1
+ import { a as N, g as _ } from "./state-2Hu1renZ.js";
2
+ var I = { exports: {} };
3
+ (function(w) {
4
+ (function(g, i) {
5
+ w.exports ? w.exports = i() : g.log = i();
6
+ })(N, function() {
7
+ var g = function() {
8
+ }, i = "undefined", C = typeof window !== i && typeof window.navigator !== i && /Trident\/|MSIE /.test(window.navigator.userAgent), p = [
9
+ "trace",
10
+ "debug",
11
+ "info",
12
+ "warn",
13
+ "error"
14
+ ], a = {}, l = null;
15
+ function h(o, t) {
16
+ var e = o[t];
17
+ if (typeof e.bind == "function")
18
+ return e.bind(o);
19
+ try {
20
+ return Function.prototype.bind.call(e, o);
21
+ } catch {
22
+ return function() {
23
+ return Function.prototype.apply.apply(e, [o, arguments]);
24
+ };
25
+ }
26
+ }
27
+ function T() {
28
+ console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
29
+ }
30
+ function x(o) {
31
+ return o === "debug" && (o = "log"), typeof console === i ? !1 : o === "trace" && C ? T : console[o] !== void 0 ? h(console, o) : console.log !== void 0 ? h(console, "log") : g;
32
+ }
33
+ function u() {
34
+ for (var o = this.getLevel(), t = 0; t < p.length; t++) {
35
+ var e = p[t];
36
+ this[e] = t < o ? g : this.methodFactory(e, o, this.name);
37
+ }
38
+ if (this.log = this.debug, typeof console === i && o < this.levels.SILENT)
39
+ return "No console available for logging";
40
+ }
41
+ function F(o) {
42
+ return function() {
43
+ typeof console !== i && (u.call(this), this[o].apply(this, arguments));
44
+ };
45
+ }
46
+ function R(o, t, e) {
47
+ return x(o) || F.apply(this, arguments);
48
+ }
49
+ function L(o, t) {
50
+ var e = this, v, y, f, s = "loglevel";
51
+ typeof o == "string" ? s += ":" + o : typeof o == "symbol" && (s = void 0);
52
+ function S(n) {
53
+ var r = (p[n] || "silent").toUpperCase();
54
+ if (!(typeof window === i || !s)) {
55
+ try {
56
+ window.localStorage[s] = r;
57
+ return;
58
+ } catch {
59
+ }
60
+ try {
61
+ window.document.cookie = encodeURIComponent(s) + "=" + r + ";";
62
+ } catch {
63
+ }
64
+ }
65
+ }
66
+ function b() {
67
+ var n;
68
+ if (!(typeof window === i || !s)) {
69
+ try {
70
+ n = window.localStorage[s];
71
+ } catch {
72
+ }
73
+ if (typeof n === i)
74
+ try {
75
+ var r = window.document.cookie, d = encodeURIComponent(s), m = r.indexOf(d + "=");
76
+ m !== -1 && (n = /^([^;]+)/.exec(
77
+ r.slice(m + d.length + 1)
78
+ )[1]);
79
+ } catch {
80
+ }
81
+ return e.levels[n] === void 0 && (n = void 0), n;
82
+ }
83
+ }
84
+ function U() {
85
+ if (!(typeof window === i || !s)) {
86
+ try {
87
+ window.localStorage.removeItem(s);
88
+ } catch {
89
+ }
90
+ try {
91
+ window.document.cookie = encodeURIComponent(s) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
92
+ } catch {
93
+ }
94
+ }
95
+ }
96
+ function c(n) {
97
+ var r = n;
98
+ if (typeof r == "string" && e.levels[r.toUpperCase()] !== void 0 && (r = e.levels[r.toUpperCase()]), typeof r == "number" && r >= 0 && r <= e.levels.SILENT)
99
+ return r;
100
+ throw new TypeError("log.setLevel() called with invalid level: " + n);
101
+ }
102
+ e.name = o, e.levels = {
103
+ TRACE: 0,
104
+ DEBUG: 1,
105
+ INFO: 2,
106
+ WARN: 3,
107
+ ERROR: 4,
108
+ SILENT: 5
109
+ }, e.methodFactory = t || R, e.getLevel = function() {
110
+ return f ?? y ?? v;
111
+ }, e.setLevel = function(n, r) {
112
+ return f = c(n), r !== !1 && S(f), u.call(e);
113
+ }, e.setDefaultLevel = function(n) {
114
+ y = c(n), b() || e.setLevel(n, !1);
115
+ }, e.resetLevel = function() {
116
+ f = null, U(), u.call(e);
117
+ }, e.enableAll = function(n) {
118
+ e.setLevel(e.levels.TRACE, n);
119
+ }, e.disableAll = function(n) {
120
+ e.setLevel(e.levels.SILENT, n);
121
+ }, e.rebuild = function() {
122
+ if (l !== e && (v = c(l.getLevel())), u.call(e), l === e)
123
+ for (var n in a)
124
+ a[n].rebuild();
125
+ }, v = c(
126
+ l ? l.getLevel() : "WARN"
127
+ );
128
+ var E = b();
129
+ E != null && (f = c(E)), u.call(e);
130
+ }
131
+ l = new L(), l.getLogger = function(t) {
132
+ if (typeof t != "symbol" && typeof t != "string" || t === "")
133
+ throw new TypeError("You must supply a name when creating a logger.");
134
+ var e = a[t];
135
+ return e || (e = a[t] = new L(
136
+ t,
137
+ l.methodFactory
138
+ )), e;
139
+ };
140
+ var A = typeof window !== i ? window.log : void 0;
141
+ return l.noConflict = function() {
142
+ return typeof window !== i && window.log === l && (window.log = A), l;
143
+ }, l.getLoggers = function() {
144
+ return a;
145
+ }, l.default = l, l;
146
+ });
147
+ })(I);
148
+ var D = I.exports;
149
+ const P = /* @__PURE__ */ _(D);
150
+ export {
151
+ P as l
152
+ };
@@ -0,0 +1,6 @@
1
+ (function(e) {
2
+ var a = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", s = { pattern: /(^(["']?)\w+\2)[ \t]+\S.*/, lookbehind: !0, alias: "punctuation", inside: null }, t = { bash: s, environment: { pattern: RegExp("\\$" + a), alias: "constant" }, variable: [{ pattern: /\$?\(\([\s\S]+?\)\)/, greedy: !0, inside: { variable: [{ pattern: /(^\$\(\([\s\S]+)\)\)/, lookbehind: !0 }, /^\$\(\(/], number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/, operator: /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/, punctuation: /\(\(?|\)\)?|,|;/ } }, { pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/, greedy: !0, inside: { variable: /^\$\(|^`|\)$|`$/ } }, { pattern: /\$\{[^}]+\}/, greedy: !0, inside: { operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/, punctuation: /[\[\]]/, environment: { pattern: RegExp("(\\{)" + a), lookbehind: !0, alias: "constant" } } }, /\$(?:\w+|[#?*!@$])/], entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/ };
3
+ e.languages.bash = { shebang: { pattern: /^#!\s*\/.*/, alias: "important" }, comment: { pattern: /(^|[^"{\\$])#.*/, lookbehind: !0 }, "function-name": [{ pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/, lookbehind: !0, alias: "function" }, { pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/, alias: "function" }], "for-or-select": { pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/, alias: "variable", lookbehind: !0 }, "assign-left": { pattern: /(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/, inside: { environment: { pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + a), lookbehind: !0, alias: "constant" } }, alias: "variable", lookbehind: !0 }, parameter: { pattern: /(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/, alias: "variable", lookbehind: !0 }, string: [{ pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/, lookbehind: !0, greedy: !0, inside: t }, { pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/, lookbehind: !0, greedy: !0, inside: { bash: s } }, { pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/, lookbehind: !0, greedy: !0, inside: t }, { pattern: /(^|[^$\\])'[^']*'/, lookbehind: !0, greedy: !0 }, { pattern: /\$'(?:[^'\\]|\\[\s\S])*'/, greedy: !0, inside: { entity: t.entity } }], environment: { pattern: RegExp("\\$?" + a), alias: "constant" }, variable: t.variable, function: { pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/, lookbehind: !0 }, keyword: { pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/, lookbehind: !0 }, builtin: { pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/, lookbehind: !0, alias: "class-name" }, boolean: { pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/, lookbehind: !0 }, "file-descriptor": { pattern: /\B&\d\b/, alias: "important" }, operator: { pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/, inside: { "file-descriptor": { pattern: /^\d/, alias: "important" } } }, punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/, number: { pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/, lookbehind: !0 } }, s.inside = e.languages.bash;
4
+ for (var o = ["comment", "function-name", "for-or-select", "assign-left", "parameter", "string", "environment", "function", "keyword", "builtin", "boolean", "file-descriptor", "operator", "punctuation", "number"], r = t.variable[1].inside, n = 0; n < o.length; n++) r[o[n]] = e.languages.bash[o[n]];
5
+ e.languages.sh = e.languages.bash, e.languages.shell = e.languages.bash;
6
+ })(Prism);
@@ -0,0 +1,34 @@
1
+ (function(s) {
2
+ function n(a, o) {
3
+ return a.replace(/<<(\d+)>>/g, function(f, H) {
4
+ return "(?:" + o[+H] + ")";
5
+ });
6
+ }
7
+ function e(a, o, f) {
8
+ return RegExp(n(a, o), "");
9
+ }
10
+ function d(a, o) {
11
+ for (var f = 0; f < o; f++) a = a.replace(/<<self>>/g, function() {
12
+ return "(?:" + a + ")";
13
+ });
14
+ return a.replace(/<<self>>/g, "[^\\s\\S]");
15
+ }
16
+ var w = "bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void", p = "class enum interface record struct", v = "add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)", m = "abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";
17
+ function c(a) {
18
+ return "\\b(?:" + a.trim().replace(/ /g, "|") + ")\\b";
19
+ }
20
+ var x = c(p), u = RegExp(c(w + " " + p + " " + v + " " + m)), U = c(p + " " + v + " " + m), Z = c(w + " " + p + " " + m), g = d("<(?:[^<>;=+\\-*/%&|^]|<<self>>)*>", 2), b = d("\\((?:[^()]|<<self>>)*\\)", 2), r = "@?\\b[A-Za-z_]\\w*\\b", h = n("<<0>>(?:\\s*<<1>>)?", [r, g]), i = n("(?!<<0>>)<<1>>(?:\\s*\\.\\s*<<1>>)*", [U, h]), k = "\\[\\s*(?:,\\s*)*\\]", q = n("<<0>>(?:\\s*(?:\\?\\s*)?<<1>>)*(?:\\s*\\?)?", [i, k]), C = n("[^,()<>[\\];=+\\-*/%&|^]|<<0>>|<<1>>|<<2>>", [g, b, k]), D = n("\\(<<0>>+(?:,<<0>>+)+\\)", [C]), l = n("(?:<<0>>|<<1>>)(?:\\s*(?:\\?\\s*)?<<2>>)*(?:\\s*\\?)?", [D, i, k]), t = { keyword: u, punctuation: /[<>()?,.:[\]]/ }, $ = `'(?:[^\r
21
+ '\\\\]|\\\\.|\\\\[Uux][\\da-fA-F]{1,8})'`, _ = `"(?:\\\\.|[^\\\\"\r
22
+ ])*"`;
23
+ s.languages.csharp = s.languages.extend("clike", { string: [{ pattern: e("(^|[^$\\\\])<<0>>", ['@"(?:""|\\\\[^]|[^\\\\"])*"(?!")']), lookbehind: !0, greedy: !0 }, { pattern: e("(^|[^@$\\\\])<<0>>", [_]), lookbehind: !0, greedy: !0 }], "class-name": [{ pattern: e("(\\busing\\s+static\\s+)<<0>>(?=\\s*;)", [i]), lookbehind: !0, inside: t }, { pattern: e("(\\busing\\s+<<0>>\\s*=\\s*)<<1>>(?=\\s*;)", [r, l]), lookbehind: !0, inside: t }, { pattern: e("(\\busing\\s+)<<0>>(?=\\s*=)", [r]), lookbehind: !0 }, { pattern: e("(\\b<<0>>\\s+)<<1>>", [x, h]), lookbehind: !0, inside: t }, { pattern: e("(\\bcatch\\s*\\(\\s*)<<0>>", [i]), lookbehind: !0, inside: t }, { pattern: e("(\\bwhere\\s+)<<0>>", [r]), lookbehind: !0 }, { pattern: e("(\\b(?:is(?:\\s+not)?|as)\\s+)<<0>>", [q]), lookbehind: !0, inside: t }, { pattern: e("\\b<<0>>(?=\\s+(?!<<1>>|with\\s*\\{)<<2>>(?:\\s*[=,;:{)\\]]|\\s+(?:in|when)\\b))", [l, Z, r]), inside: t }], keyword: u, number: /(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i, operator: />>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/, punctuation: /\?\.?|::|[{}[\];(),.:]/ }), s.languages.insertBefore("csharp", "number", { range: { pattern: /\.\./, alias: "operator" } }), s.languages.insertBefore("csharp", "punctuation", { "named-parameter": { pattern: e("([(,]\\s*)<<0>>(?=\\s*:)", [r]), lookbehind: !0, alias: "punctuation" } }), s.languages.insertBefore("csharp", "class-name", { namespace: { pattern: e("(\\b(?:namespace|using)\\s+)<<0>>(?:\\s*\\.\\s*<<0>>)*(?=\\s*[;{])", [r]), lookbehind: !0, inside: { punctuation: /\./ } }, "type-expression": { pattern: e("(\\b(?:default|sizeof|typeof)\\s*\\(\\s*(?!\\s))(?:[^()\\s]|\\s(?!\\s)|<<0>>)*(?=\\s*\\))", [b]), lookbehind: !0, alias: "class-name", inside: t }, "return-type": { pattern: e("<<0>>(?=\\s+(?:<<1>>\\s*(?:=>|[({]|\\.\\s*this\\s*\\[)|this\\s*\\[))", [l, i]), inside: t, alias: "class-name" }, "constructor-invocation": { pattern: e("(\\bnew\\s+)<<0>>(?=\\s*[[({])", [l]), lookbehind: !0, inside: t, alias: "class-name" }, "generic-method": { pattern: e("<<0>>\\s*<<1>>(?=\\s*\\()", [r, g]), inside: { function: e("^<<0>>", [r]), generic: { pattern: RegExp(g), alias: "class-name", inside: t } } }, "type-list": { pattern: e("\\b((?:<<0>>\\s+<<1>>|record\\s+<<1>>\\s*<<5>>|where\\s+<<2>>)\\s*:\\s*)(?:<<3>>|<<4>>|<<1>>\\s*<<5>>|<<6>>)(?:\\s*,\\s*(?:<<3>>|<<4>>|<<6>>))*(?=\\s*(?:where|[{;]|=>|$))", [x, h, r, l, u.source, b, "\\bnew\\s*\\(\\s*\\)"]), lookbehind: !0, inside: { "record-arguments": { pattern: e("(^(?!new\\s*\\()<<0>>\\s*)<<1>>", [h, b]), lookbehind: !0, greedy: !0, inside: s.languages.csharp }, keyword: u, "class-name": { pattern: RegExp(l), greedy: !0, inside: t }, punctuation: /[,()]/ } }, preprocessor: { pattern: /(^[\t ]*)#.*/m, lookbehind: !0, alias: "property", inside: { directive: { pattern: /(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/, lookbehind: !0, alias: "keyword" } } } });
24
+ var B = _ + "|" + $, E = n(`/(?![*/])|//[^\r
25
+ ]*[\r
26
+ ]|/\\*(?:[^*]|\\*(?!/))*\\*/|<<0>>`, [B]), R = d(n(`[^"'/()]|<<0>>|\\(<<self>>*\\)`, [E]), 2), z = "\\b(?:assembly|event|field|method|module|param|property|return|type)\\b", G = n("<<0>>(?:\\s*\\(<<1>>*\\))?", [i, R]);
27
+ s.languages.insertBefore("csharp", "class-name", { attribute: { pattern: e("((?:^|[^\\s\\w>)?])\\s*\\[\\s*)(?:<<0>>\\s*:\\s*)?<<1>>(?:\\s*,\\s*<<1>>)*(?=\\s*\\])", [z, G]), lookbehind: !0, greedy: !0, inside: { target: { pattern: e("^<<0>>(?=\\s*:)", [z]), alias: "keyword" }, "attribute-arguments": { pattern: e("\\(<<0>>*\\)", [R]), inside: s.languages.csharp }, "class-name": { pattern: RegExp(i), inside: { punctuation: /\./ } }, punctuation: /[:,]/ } } });
28
+ var y = `:[^}\r
29
+ ]+`, S = d(n(`[^"'/()]|<<0>>|\\(<<self>>*\\)`, [E]), 2), j = n("\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}", [S, y]), A = d(n(`[^"'/()]|/(?!\\*)|/\\*(?:[^*]|\\*(?!/))*\\*/|<<0>>|\\(<<self>>*\\)`, [B]), 2), F = n("\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}", [A, y]);
30
+ function P(a, o) {
31
+ return { interpolation: { pattern: e("((?:^|[^{])(?:\\{\\{)*)<<0>>", [a]), lookbehind: !0, inside: { "format-string": { pattern: e("(^\\{(?:(?![}:])<<0>>)*)<<1>>(?=\\}$)", [o, y]), lookbehind: !0, inside: { punctuation: /^:/ } }, punctuation: /^\{|\}$/, expression: { pattern: /[\s\S]+/, alias: "language-csharp", inside: s.languages.csharp } } }, string: /[\s\S]+/ };
32
+ }
33
+ s.languages.insertBefore("csharp", "string", { "interpolation-string": [{ pattern: e('(^|[^\\\\])(?:\\$@|@\\$)"(?:""|\\\\[^]|\\{\\{|<<0>>|[^\\\\{"])*"', [j]), lookbehind: !0, greedy: !0, inside: P(j, S) }, { pattern: e('(^|[^@\\\\])\\$"(?:\\\\.|\\{\\{|<<0>>|[^\\\\"{])*"', [F]), lookbehind: !0, greedy: !0, inside: P(F, A) }], char: { pattern: RegExp($), greedy: !0 } }), s.languages.dotnet = s.languages.cs = s.languages.csharp;
34
+ })(Prism);
@@ -0,0 +1,6 @@
1
+ (function(n) {
2
+ var s = /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/, t = "(?:[a-z]\\w*\\s*\\.\\s*)*(?:[A-Z]\\w*\\s*\\.\\s*)*", e = { pattern: RegExp("(^|[^\\w.])" + t + "[A-Z](?:[\\d_A-Z]*[a-z]\\w*)?\\b"), lookbehind: !0, inside: { namespace: { pattern: /^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/, inside: { punctuation: /\./ } }, punctuation: /\./ } };
3
+ n.languages.java = n.languages.extend("clike", { string: { pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"/, lookbehind: !0, greedy: !0 }, "class-name": [e, { pattern: RegExp("(^|[^\\w.])" + t + "[A-Z]\\w*(?=\\s+\\w+\\s*[;,=()]|\\s*(?:\\[[\\s,]*\\]\\s*)?::\\s*new\\b)"), lookbehind: !0, inside: e.inside }, { pattern: RegExp("(\\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\\s+)" + t + "[A-Z]\\w*\\b"), lookbehind: !0, inside: e.inside }], keyword: s, function: [n.languages.clike.function, { pattern: /(::\s*)[a-z_]\w*/, lookbehind: !0 }], number: /\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i, operator: { pattern: /(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m, lookbehind: !0 }, constant: /\b[A-Z][A-Z_\d]+\b/ }), n.languages.insertBefore("java", "string", { "triple-quoted-string": { pattern: /"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/, greedy: !0, alias: "string" }, char: { pattern: /'(?:\\.|[^'\\\r\n]){1,6}'/, greedy: !0 } }), n.languages.insertBefore("java", "class-name", { annotation: { pattern: /(^|[^.])@\w+(?:\s*\.\s*\w+)*/, lookbehind: !0, alias: "punctuation" }, generics: { pattern: /<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/, inside: { "class-name": e, keyword: s, punctuation: /[<>(),.:]/, operator: /[?&|]/ } }, import: [{ pattern: RegExp("(\\bimport\\s+)" + t + "(?:[A-Z]\\w*|\\*)(?=\\s*;)"), lookbehind: !0, inside: { namespace: e.inside.namespace, punctuation: /\./, operator: /\*/, "class-name": /\w+/ } }, { pattern: RegExp("(\\bimport\\s+static\\s+)" + t + "(?:\\w+|\\*)(?=\\s*;)"), lookbehind: !0, alias: "static", inside: { namespace: e.inside.namespace, static: /\b\w+$/, punctuation: /\./, operator: /\*/, "class-name": /\w+/ } }], namespace: { pattern: RegExp("(\\b(?:exports|import(?:\\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\\s+)(?!<keyword>)[a-z]\\w*(?:\\.[a-z]\\w*)*\\.?".replace(/<keyword>/g, function() {
4
+ return s.source;
5
+ })), lookbehind: !0, inside: { punctuation: /\./ } } });
6
+ })(Prism);
@@ -0,0 +1 @@
1
+ Prism.languages.json = { property: { pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/, lookbehind: !0, greedy: !0 }, string: { pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/, lookbehind: !0, greedy: !0 }, comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 }, number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, punctuation: /[{}[\],]/, operator: /:/, boolean: /\b(?:false|true)\b/, null: { pattern: /\bnull\b/, alias: "keyword" } }, Prism.languages.webmanifest = Prism.languages.json;
@@ -0,0 +1,61 @@
1
+ (function(u) {
2
+ function s(r, a) {
3
+ return "___" + r.toUpperCase() + a + "___";
4
+ }
5
+ Object.defineProperties(u.languages["markup-templating"] = {}, {
6
+ buildPlaceholders: {
7
+ /**
8
+ * Tokenize all inline templating expressions matching `placeholderPattern`.
9
+ *
10
+ * If `replaceFilter` is provided, only matches of `placeholderPattern` for which `replaceFilter` returns
11
+ * `true` will be replaced.
12
+ *
13
+ * @param {object} env The environment of the `before-tokenize` hook.
14
+ * @param {string} language The language id.
15
+ * @param {RegExp} placeholderPattern The matches of this pattern will be replaced by placeholders.
16
+ * @param {(match: string) => boolean} [replaceFilter]
17
+ */
18
+ value: function(r, a, c, e) {
19
+ if (r.language === a) {
20
+ var f = r.tokenStack = [];
21
+ r.code = r.code.replace(c, function(n) {
22
+ if (typeof e == "function" && !e(n))
23
+ return n;
24
+ for (var i = f.length, t; r.code.indexOf(t = s(a, i)) !== -1; )
25
+ ++i;
26
+ return f[i] = n, t;
27
+ }), r.grammar = u.languages.markup;
28
+ }
29
+ }
30
+ },
31
+ tokenizePlaceholders: {
32
+ /**
33
+ * Replace placeholders with proper tokens after tokenizing.
34
+ *
35
+ * @param {object} env The environment of the `after-tokenize` hook.
36
+ * @param {string} language The language id.
37
+ */
38
+ value: function(r, a) {
39
+ if (r.language !== a || !r.tokenStack)
40
+ return;
41
+ r.grammar = u.languages[a];
42
+ var c = 0, e = Object.keys(r.tokenStack);
43
+ function f(n) {
44
+ for (var i = 0; i < n.length && !(c >= e.length); i++) {
45
+ var t = n[i];
46
+ if (typeof t == "string" || t.content && typeof t.content == "string") {
47
+ var p = e[c], y = r.tokenStack[p], g = typeof t == "string" ? t : t.content, h = s(a, p), l = g.indexOf(h);
48
+ if (l > -1) {
49
+ ++c;
50
+ var d = g.substring(0, l), v = new u.Token(a, u.tokenize(y, r.grammar), "language-" + a, y), k = g.substring(l + h.length), o = [];
51
+ d && o.push.apply(o, f([d])), o.push(v), k && o.push.apply(o, f([k])), typeof t == "string" ? n.splice.apply(n, [i, 1].concat(o)) : t.content = o;
52
+ }
53
+ } else t.content && f(t.content);
54
+ }
55
+ return n;
56
+ }
57
+ f(r.tokens);
58
+ }
59
+ }
60
+ });
61
+ })(Prism);
@@ -0,0 +1 @@
1
+ Prism.languages.objectivec = Prism.languages.extend("c", { string: { pattern: /@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: !0 }, keyword: /\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/, operator: /-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/ }), delete Prism.languages.objectivec["class-name"], Prism.languages.objc = Prism.languages.objectivec;
@@ -0,0 +1,10 @@
1
+ (function(e) {
2
+ var t = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/, i = [{ pattern: /\b(?:false|true)\b/i, alias: "boolean" }, { pattern: /(::\s*)\b[a-z_]\w*\b(?!\s*\()/i, greedy: !0, lookbehind: !0 }, { pattern: /(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i, greedy: !0, lookbehind: !0 }, /\b(?:null)\b/i, /\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/], n = /\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i, s = /<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/, l = /[{}\[\](),:;]/;
3
+ e.languages.php = { delimiter: { pattern: /\?>$|^<\?(?:php(?=\s)|=)?/i, alias: "important" }, comment: t, variable: /\$+(?:\w+\b|(?=\{))/, package: { pattern: /(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i, lookbehind: !0, inside: { punctuation: /\\/ } }, "class-name-definition": { pattern: /(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i, lookbehind: !0, alias: "class-name" }, "function-definition": { pattern: /(\bfunction\s+)[a-z_]\w*(?=\s*\()/i, lookbehind: !0, alias: "function" }, keyword: [{ pattern: /(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i, alias: "type-casting", greedy: !0, lookbehind: !0 }, { pattern: /([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i, alias: "type-hint", greedy: !0, lookbehind: !0 }, { pattern: /(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i, alias: "return-type", greedy: !0, lookbehind: !0 }, { pattern: /\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i, alias: "type-declaration", greedy: !0 }, { pattern: /(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i, alias: "type-declaration", greedy: !0, lookbehind: !0 }, { pattern: /\b(?:parent|self|static)(?=\s*::)/i, alias: "static-context", greedy: !0 }, { pattern: /(\byield\s+)from\b/i, lookbehind: !0 }, /\bclass\b/i, { pattern: /((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i, lookbehind: !0 }], "argument-name": { pattern: /([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i, lookbehind: !0 }, "class-name": [{ pattern: /(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i, greedy: !0, lookbehind: !0 }, { pattern: /(\|\s*)\b[a-z_]\w*(?!\\)\b/i, greedy: !0, lookbehind: !0 }, { pattern: /\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i, greedy: !0 }, { pattern: /(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i, alias: "class-name-fully-qualified", greedy: !0, lookbehind: !0, inside: { punctuation: /\\/ } }, { pattern: /(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i, alias: "class-name-fully-qualified", greedy: !0, inside: { punctuation: /\\/ } }, { pattern: /(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i, alias: "class-name-fully-qualified", greedy: !0, lookbehind: !0, inside: { punctuation: /\\/ } }, { pattern: /\b[a-z_]\w*(?=\s*\$)/i, alias: "type-declaration", greedy: !0 }, { pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i, alias: ["class-name-fully-qualified", "type-declaration"], greedy: !0, inside: { punctuation: /\\/ } }, { pattern: /\b[a-z_]\w*(?=\s*::)/i, alias: "static-context", greedy: !0 }, { pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*::)/i, alias: ["class-name-fully-qualified", "static-context"], greedy: !0, inside: { punctuation: /\\/ } }, { pattern: /([(,?]\s*)[a-z_]\w*(?=\s*\$)/i, alias: "type-hint", greedy: !0, lookbehind: !0 }, { pattern: /([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i, alias: ["class-name-fully-qualified", "type-hint"], greedy: !0, lookbehind: !0, inside: { punctuation: /\\/ } }, { pattern: /(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i, alias: "return-type", greedy: !0, lookbehind: !0 }, { pattern: /(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i, alias: ["class-name-fully-qualified", "return-type"], greedy: !0, lookbehind: !0, inside: { punctuation: /\\/ } }], constant: i, function: { pattern: /(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i, lookbehind: !0, inside: { punctuation: /\\/ } }, property: { pattern: /(->\s*)\w+/, lookbehind: !0 }, number: n, operator: s, punctuation: l };
4
+ var r = { pattern: /\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/, lookbehind: !0, inside: e.languages.php }, o = [{ pattern: /<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/, alias: "nowdoc-string", greedy: !0, inside: { delimiter: { pattern: /^<<<'[^']+'|[a-z_]\w*;$/i, alias: "symbol", inside: { punctuation: /^<<<'?|[';]$/ } } } }, { pattern: /<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i, alias: "heredoc-string", greedy: !0, inside: { delimiter: { pattern: /^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i, alias: "symbol", inside: { punctuation: /^<<<"?|[";]$/ } }, interpolation: r } }, { pattern: /`(?:\\[\s\S]|[^\\`])*`/, alias: "backtick-quoted-string", greedy: !0 }, { pattern: /'(?:\\[\s\S]|[^\\'])*'/, alias: "single-quoted-string", greedy: !0 }, { pattern: /"(?:\\[\s\S]|[^\\"])*"/, alias: "double-quoted-string", greedy: !0, inside: { interpolation: r } }];
5
+ e.languages.insertBefore("php", "variable", { string: o, attribute: { pattern: /#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im, greedy: !0, inside: { "attribute-content": { pattern: /^(#\[)[\s\S]+(?=\]$)/, lookbehind: !0, inside: { comment: t, string: o, "attribute-class-name": [{ pattern: /([^:]|^)\b[a-z_]\w*(?!\\)\b/i, alias: "class-name", greedy: !0, lookbehind: !0 }, { pattern: /([^:]|^)(?:\\?\b[a-z_]\w*)+/i, alias: ["class-name", "class-name-fully-qualified"], greedy: !0, lookbehind: !0, inside: { punctuation: /\\/ } }], constant: i, number: n, operator: s, punctuation: l } }, delimiter: { pattern: /^#\[|\]$/, alias: "punctuation" } } } }), e.hooks.add("before-tokenize", function(a) {
6
+ /<\?/.test(a.code) && e.languages["markup-templating"].buildPlaceholders(a, "php", /<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g);
7
+ }), e.hooks.add("after-tokenize", function(a) {
8
+ e.languages["markup-templating"].tokenizePlaceholders(a, "php");
9
+ });
10
+ })(Prism);
@@ -0,0 +1,9 @@
1
+ (function(e) {
2
+ e.languages.ruby = e.languages.extend("clike", { comment: { pattern: /#.*|^=begin\s[\s\S]*?^=end/m, greedy: !0 }, "class-name": { pattern: /(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/, lookbehind: !0, inside: { punctuation: /[.\\]/ } }, keyword: /\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/, operator: /\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/, punctuation: /[(){}[\].,;]/ }), e.languages.insertBefore("ruby", "operator", { "double-colon": { pattern: /::/, alias: "punctuation" } });
3
+ var n = { pattern: /((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/, lookbehind: !0, inside: { content: { pattern: /^(#\{)[\s\S]+(?=\}$)/, lookbehind: !0, inside: e.languages.ruby }, delimiter: { pattern: /^#\{|\}$/, alias: "punctuation" } } };
4
+ delete e.languages.ruby.function;
5
+ var t = "(?:" + ["([^a-zA-Z0-9\\s{(\\[<=])(?:(?!\\1)[^\\\\]|\\\\[^])*\\1", "\\((?:[^()\\\\]|\\\\[^]|\\((?:[^()\\\\]|\\\\[^])*\\))*\\)", "\\{(?:[^{}\\\\]|\\\\[^]|\\{(?:[^{}\\\\]|\\\\[^])*\\})*\\}", "\\[(?:[^\\[\\]\\\\]|\\\\[^]|\\[(?:[^\\[\\]\\\\]|\\\\[^])*\\])*\\]", "<(?:[^<>\\\\]|\\\\[^]|<(?:[^<>\\\\]|\\\\[^])*>)*>"].join("|") + ")", i = `(?:"(?:\\\\.|[^"\\\\\r
6
+ ])*"|(?:\\b[a-zA-Z_]\\w*|[^\\s\0-\\x7F]+)[?!]?|\\$.)`;
7
+ e.languages.insertBefore("ruby", "keyword", { "regex-literal": [{ pattern: RegExp("%r" + t + "[egimnosux]{0,6}"), greedy: !0, inside: { interpolation: n, regex: /[\s\S]+/ } }, { pattern: /(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/, lookbehind: !0, greedy: !0, inside: { interpolation: n, regex: /[\s\S]+/ } }], variable: /[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/, symbol: [{ pattern: RegExp("(^|[^:]):" + i), lookbehind: !0, greedy: !0 }, { pattern: RegExp(`([\r
8
+ {(,][ ]*)` + i + "(?=:(?!:))"), lookbehind: !0, greedy: !0 }], "method-definition": { pattern: /(\bdef\s+)\w+(?:\s*\.\s*\w+)?/, lookbehind: !0, inside: { function: /\b\w+$/, keyword: /^self\b/, "class-name": /^\w+/, punctuation: /\./ } } }), e.languages.insertBefore("ruby", "string", { "string-literal": [{ pattern: RegExp("%[qQiIwWs]?" + t), greedy: !0, inside: { interpolation: n, string: /[\s\S]+/ } }, { pattern: /("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/, greedy: !0, inside: { interpolation: n, string: /[\s\S]+/ } }, { pattern: /<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i, alias: "heredoc-string", greedy: !0, inside: { delimiter: { pattern: /^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i, inside: { symbol: /\b\w+/, punctuation: /^<<[-~]?/ } }, interpolation: n, string: /[\s\S]+/ } }, { pattern: /<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i, alias: "heredoc-string", greedy: !0, inside: { delimiter: { pattern: /^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i, inside: { symbol: /\b\w+/, punctuation: /^<<[-~]?'|'$/ } }, string: /[\s\S]+/ } }], "command-literal": [{ pattern: RegExp("%x" + t), greedy: !0, inside: { interpolation: n, command: { pattern: /[\s\S]+/, alias: "string" } } }, { pattern: /`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/, greedy: !0, inside: { interpolation: n, command: { pattern: /[\s\S]+/, alias: "string" } } }] }), delete e.languages.ruby.string, e.languages.insertBefore("ruby", "number", { builtin: /\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/, constant: /\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/ }), e.languages.rb = e.languages.ruby;
9
+ })(Prism);
@@ -0,0 +1,313 @@
1
+ import A from "react";
2
+ var de = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
+ function Q(e) {
4
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5
+ }
6
+ function Se(e) {
7
+ if (e.__esModule) return e;
8
+ var i = e.default;
9
+ if (typeof i == "function") {
10
+ var a = function f() {
11
+ return this instanceof f ? Reflect.construct(i, arguments, this.constructor) : i.apply(this, arguments);
12
+ };
13
+ a.prototype = i.prototype;
14
+ } else a = {};
15
+ return Object.defineProperty(a, "__esModule", { value: !0 }), Object.keys(e).forEach(function(f) {
16
+ var p = Object.getOwnPropertyDescriptor(e, f);
17
+ Object.defineProperty(a, f, p.get ? p : {
18
+ enumerable: !0,
19
+ get: function() {
20
+ return e[f];
21
+ }
22
+ });
23
+ }), a;
24
+ }
25
+ var X = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
26
+ const H = (e) => {
27
+ let i;
28
+ const a = /* @__PURE__ */ new Set(), f = (u, t) => {
29
+ const r = typeof u == "function" ? u(i) : u;
30
+ if (!Object.is(r, i)) {
31
+ const s = i;
32
+ i = t ?? (typeof r != "object" || r === null) ? r : Object.assign({}, i, r), a.forEach((d) => d(i, s));
33
+ }
34
+ }, p = () => i, h = { setState: f, getState: p, getInitialState: () => E, subscribe: (u) => (a.add(u), () => a.delete(u)), destroy: () => {
35
+ (X ? "production" : void 0) !== "production" && console.warn(
36
+ "[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."
37
+ ), a.clear();
38
+ } }, E = i = e(f, p, h);
39
+ return h;
40
+ }, Z = (e) => e ? H(e) : H;
41
+ var U = { exports: {} }, M = {}, T = { exports: {} }, W = {};
42
+ /**
43
+ * @license React
44
+ * use-sync-external-store-shim.production.min.js
45
+ *
46
+ * Copyright (c) Facebook, Inc. and its affiliates.
47
+ *
48
+ * This source code is licensed under the MIT license found in the
49
+ * LICENSE file in the root directory of this source tree.
50
+ */
51
+ var K;
52
+ function ee() {
53
+ if (K) return W;
54
+ K = 1;
55
+ var e = A;
56
+ function i(t, r) {
57
+ return t === r && (t !== 0 || 1 / t === 1 / r) || t !== t && r !== r;
58
+ }
59
+ var a = typeof Object.is == "function" ? Object.is : i, f = e.useState, p = e.useEffect, y = e.useLayoutEffect, g = e.useDebugValue;
60
+ function L(t, r) {
61
+ var s = r(), d = f({ inst: { value: s, getSnapshot: r } }), l = d[0].inst, S = d[1];
62
+ return y(function() {
63
+ l.value = s, l.getSnapshot = r, h(l) && S({ inst: l });
64
+ }, [t, s, r]), p(function() {
65
+ return h(l) && S({ inst: l }), t(function() {
66
+ h(l) && S({ inst: l });
67
+ });
68
+ }, [t]), g(s), s;
69
+ }
70
+ function h(t) {
71
+ var r = t.getSnapshot;
72
+ t = t.value;
73
+ try {
74
+ var s = r();
75
+ return !a(t, s);
76
+ } catch {
77
+ return !0;
78
+ }
79
+ }
80
+ function E(t, r) {
81
+ return r();
82
+ }
83
+ var u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? E : L;
84
+ return W.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : u, W;
85
+ }
86
+ var B = {};
87
+ /**
88
+ * @license React
89
+ * use-sync-external-store-shim.development.js
90
+ *
91
+ * Copyright (c) Facebook, Inc. and its affiliates.
92
+ *
93
+ * This source code is licensed under the MIT license found in the
94
+ * LICENSE file in the root directory of this source tree.
95
+ */
96
+ var N;
97
+ function te() {
98
+ return N || (N = 1, process.env.NODE_ENV !== "production" && function() {
99
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
100
+ var e = A, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
101
+ function a(c) {
102
+ {
103
+ for (var n = arguments.length, v = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
104
+ v[o - 1] = arguments[o];
105
+ f("error", c, v);
106
+ }
107
+ }
108
+ function f(c, n, v) {
109
+ {
110
+ var o = i.ReactDebugCurrentFrame, _ = o.getStackAddendum();
111
+ _ !== "" && (n += "%s", v = v.concat([_]));
112
+ var m = v.map(function(O) {
113
+ return String(O);
114
+ });
115
+ m.unshift("Warning: " + n), Function.prototype.apply.call(console[c], console, m);
116
+ }
117
+ }
118
+ function p(c, n) {
119
+ return c === n && (c !== 0 || 1 / c === 1 / n) || c !== c && n !== n;
120
+ }
121
+ var y = typeof Object.is == "function" ? Object.is : p, g = e.useState, L = e.useEffect, h = e.useLayoutEffect, E = e.useDebugValue, u = !1, t = !1;
122
+ function r(c, n, v) {
123
+ u || e.startTransition !== void 0 && (u = !0, a("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
124
+ var o = n();
125
+ if (!t) {
126
+ var _ = n();
127
+ y(o, _) || (a("The result of getSnapshot should be cached to avoid an infinite loop"), t = !0);
128
+ }
129
+ var m = g({
130
+ inst: {
131
+ value: o,
132
+ getSnapshot: n
133
+ }
134
+ }), O = m[0].inst, b = m[1];
135
+ return h(function() {
136
+ O.value = o, O.getSnapshot = n, s(O) && b({
137
+ inst: O
138
+ });
139
+ }, [c, o, n]), L(function() {
140
+ s(O) && b({
141
+ inst: O
142
+ });
143
+ var V = function() {
144
+ s(O) && b({
145
+ inst: O
146
+ });
147
+ };
148
+ return c(V);
149
+ }, [c]), E(o), o;
150
+ }
151
+ function s(c) {
152
+ var n = c.getSnapshot, v = c.value;
153
+ try {
154
+ var o = n();
155
+ return !y(v, o);
156
+ } catch {
157
+ return !0;
158
+ }
159
+ }
160
+ function d(c, n, v) {
161
+ return n();
162
+ }
163
+ var l = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", S = !l, D = S ? d : r, R = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : D;
164
+ B.useSyncExternalStore = R, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
165
+ }()), B;
166
+ }
167
+ var P;
168
+ function Y() {
169
+ return P || (P = 1, process.env.NODE_ENV === "production" ? T.exports = ee() : T.exports = te()), T.exports;
170
+ }
171
+ /**
172
+ * @license React
173
+ * use-sync-external-store-shim/with-selector.production.min.js
174
+ *
175
+ * Copyright (c) Facebook, Inc. and its affiliates.
176
+ *
177
+ * This source code is licensed under the MIT license found in the
178
+ * LICENSE file in the root directory of this source tree.
179
+ */
180
+ var q;
181
+ function ne() {
182
+ if (q) return M;
183
+ q = 1;
184
+ var e = A, i = Y();
185
+ function a(E, u) {
186
+ return E === u && (E !== 0 || 1 / E === 1 / u) || E !== E && u !== u;
187
+ }
188
+ var f = typeof Object.is == "function" ? Object.is : a, p = i.useSyncExternalStore, y = e.useRef, g = e.useEffect, L = e.useMemo, h = e.useDebugValue;
189
+ return M.useSyncExternalStoreWithSelector = function(E, u, t, r, s) {
190
+ var d = y(null);
191
+ if (d.current === null) {
192
+ var l = { hasValue: !1, value: null };
193
+ d.current = l;
194
+ } else l = d.current;
195
+ d = L(function() {
196
+ function D(o) {
197
+ if (!R) {
198
+ if (R = !0, c = o, o = r(o), s !== void 0 && l.hasValue) {
199
+ var _ = l.value;
200
+ if (s(_, o)) return n = _;
201
+ }
202
+ return n = o;
203
+ }
204
+ if (_ = n, f(c, o)) return _;
205
+ var m = r(o);
206
+ return s !== void 0 && s(_, m) ? _ : (c = o, n = m);
207
+ }
208
+ var R = !1, c, n, v = t === void 0 ? null : t;
209
+ return [function() {
210
+ return D(u());
211
+ }, v === null ? void 0 : function() {
212
+ return D(v());
213
+ }];
214
+ }, [u, t, r, s]);
215
+ var S = p(E, d[0], d[1]);
216
+ return g(function() {
217
+ l.hasValue = !0, l.value = S;
218
+ }, [S]), h(S), S;
219
+ }, M;
220
+ }
221
+ var G = {};
222
+ /**
223
+ * @license React
224
+ * use-sync-external-store-shim/with-selector.development.js
225
+ *
226
+ * Copyright (c) Facebook, Inc. and its affiliates.
227
+ *
228
+ * This source code is licensed under the MIT license found in the
229
+ * LICENSE file in the root directory of this source tree.
230
+ */
231
+ var z;
232
+ function re() {
233
+ return z || (z = 1, process.env.NODE_ENV !== "production" && function() {
234
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
235
+ var e = A, i = Y();
236
+ function a(u, t) {
237
+ return u === t && (u !== 0 || 1 / u === 1 / t) || u !== u && t !== t;
238
+ }
239
+ var f = typeof Object.is == "function" ? Object.is : a, p = i.useSyncExternalStore, y = e.useRef, g = e.useEffect, L = e.useMemo, h = e.useDebugValue;
240
+ function E(u, t, r, s, d) {
241
+ var l = y(null), S;
242
+ l.current === null ? (S = {
243
+ hasValue: !1,
244
+ value: null
245
+ }, l.current = S) : S = l.current;
246
+ var D = L(function() {
247
+ var v = !1, o, _, m = function(w) {
248
+ if (!v) {
249
+ v = !0, o = w;
250
+ var x = s(w);
251
+ if (d !== void 0 && S.hasValue) {
252
+ var I = S.value;
253
+ if (d(I, x))
254
+ return _ = I, I;
255
+ }
256
+ return _ = x, x;
257
+ }
258
+ var J = o, j = _;
259
+ if (f(J, w))
260
+ return j;
261
+ var C = s(w);
262
+ return d !== void 0 && d(j, C) ? j : (o = w, _ = C, C);
263
+ }, O = r === void 0 ? null : r, b = function() {
264
+ return m(t());
265
+ }, V = O === null ? void 0 : function() {
266
+ return m(O());
267
+ };
268
+ return [b, V];
269
+ }, [t, r, s, d]), R = D[0], c = D[1], n = p(u, R, c);
270
+ return g(function() {
271
+ S.hasValue = !0, S.value = n;
272
+ }, [n]), h(n), n;
273
+ }
274
+ G.useSyncExternalStoreWithSelector = E, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
275
+ }()), G;
276
+ }
277
+ process.env.NODE_ENV === "production" ? U.exports = ne() : U.exports = re();
278
+ var oe = U.exports;
279
+ const ue = /* @__PURE__ */ Q(oe);
280
+ var k = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
281
+ const { useDebugValue: ie } = A, { useSyncExternalStoreWithSelector: ae } = ue;
282
+ let F = !1;
283
+ const se = (e) => e;
284
+ function ce(e, i = se, a) {
285
+ (k ? "production" : void 0) !== "production" && a && !F && (console.warn(
286
+ "[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"
287
+ ), F = !0);
288
+ const f = ae(
289
+ e.subscribe,
290
+ e.getState,
291
+ e.getServerState || e.getInitialState,
292
+ i,
293
+ a
294
+ );
295
+ return ie(f), f;
296
+ }
297
+ const $ = (e) => {
298
+ (k ? "production" : void 0) !== "production" && typeof e != "function" && console.warn(
299
+ "[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`."
300
+ );
301
+ const i = typeof e == "function" ? Z(e) : e, a = (f, p) => ce(i, f, p);
302
+ return Object.assign(a, i), a;
303
+ }, fe = (e) => e ? $(e) : $, _e = fe(() => ({
304
+ isPending: !0,
305
+ isAuthenticated: !1
306
+ }));
307
+ export {
308
+ de as a,
309
+ Se as b,
310
+ fe as c,
311
+ Q as g,
312
+ _e as u
313
+ };