abstra 3.23.11__py3-none-any.whl → 3.24.0__py3-none-any.whl

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 (268) hide show
  1. abstra/ai.py +2 -0
  2. abstra/cli.py +8 -3
  3. {abstra-3.23.11.dist-info → abstra-3.24.0.dist-info}/METADATA +2 -1
  4. {abstra-3.23.11.dist-info → abstra-3.24.0.dist-info}/RECORD +201 -191
  5. abstra_internals/consts/filepaths.py +1 -1
  6. abstra_internals/contracts_generated.py +5382 -5233
  7. abstra_internals/controllers/ai.py +23 -15
  8. abstra_internals/controllers/git.py +305 -0
  9. abstra_internals/controllers/main.py +10 -6
  10. abstra_internals/entities/forms/template.py +2 -2
  11. abstra_internals/environment.py +6 -0
  12. abstra_internals/interface/cli/deploy.py +1 -1
  13. abstra_internals/interface/sdk/ai.py +157 -19
  14. abstra_internals/repositories/git/__init__.py +38 -0
  15. abstra_internals/repositories/git/dulwich.py +1353 -0
  16. abstra_internals/repositories/git/git_test.py +1572 -0
  17. abstra_internals/repositories/git/native.py +578 -0
  18. abstra_internals/repositories/git/types.py +267 -0
  19. abstra_internals/repositories/linter/rules/env_in_bundle.py +5 -5
  20. abstra_internals/repositories/linter/rules/env_in_bundle_test.py +6 -6
  21. abstra_internals/repositories/linter/rules/venv_in_bundle.py +9 -16
  22. abstra_internals/server/blueprints/editor.py +4 -0
  23. abstra_internals/server/routes/ai.py +1 -18
  24. abstra_internals/server/routes/git.py +190 -0
  25. abstra_internals/server/routes/workspace.py +1 -1
  26. abstra_internals/services/file_watcher.py +32 -13
  27. abstra_internals/services/fs.py +8 -5
  28. abstra_internals/services/fs_test.py +4 -6
  29. abstra_internals/templates/__init__.py +0 -11
  30. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.eb8ccb64.js +2 -0
  31. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.9f98292e.js +2 -0
  32. abstra_statics/dist/assets/ApiKeys.e975c4f3.js +2 -0
  33. abstra_statics/dist/assets/App.f62faff6.js +2 -0
  34. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.5aa45ac1.js +2 -0
  35. abstra_statics/dist/assets/BaseLayout.1ec2c96d.js +2 -0
  36. abstra_statics/dist/assets/Billing.60adc9fa.js +2 -0
  37. abstra_statics/dist/assets/{Breadcrumb.f11a16d0.js → Breadcrumb.26dec5f7.js} +2 -2
  38. abstra_statics/dist/assets/{Builds.2bf5dad8.js → Builds.f86210bc.js} +2 -2
  39. abstra_statics/dist/assets/{Card.6caecaa4.js → Card.6cfffb80.js} +2 -2
  40. abstra_statics/dist/assets/{CircularLoading.bc88c029.js → CircularLoading.a13d6a76.js} +2 -2
  41. abstra_statics/dist/assets/CloseCircleOutlined.30bc25a8.js +2 -0
  42. abstra_statics/dist/assets/{ConnectorsView.aeb00ce8.css → ConnectorsView.33c5380f.css} +1 -1
  43. abstra_statics/dist/assets/ConnectorsView.eb4c769f.js +2 -0
  44. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.8d2e4672.js +2 -0
  45. abstra_statics/dist/assets/ContentLayout.d03fee5b.js +2 -0
  46. abstra_statics/dist/assets/{CrudView.79588134.js → CrudView.c0824225.js} +2 -2
  47. abstra_statics/dist/assets/{DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js → DocsButton.vue_vue_type_script_setup_true_lang.3668aee4.js} +2 -2
  48. abstra_statics/dist/assets/{EditorLogin.e704b2ee.js → EditorLogin.46db248f.js} +2 -2
  49. abstra_statics/dist/assets/EditorsView.e72621fa.js +2 -0
  50. abstra_statics/dist/assets/EnvVars.f9f9d61f.js +2 -0
  51. abstra_statics/dist/assets/{Error.f378696f.js → Error.864f05b3.js} +2 -2
  52. abstra_statics/dist/assets/ExclamationCircleOutlined.a489b996.js +2 -0
  53. abstra_statics/dist/assets/{Files.06a52abd.js → Files.afe615e1.js} +2 -2
  54. abstra_statics/dist/assets/Form.556d0de2.js +2 -0
  55. abstra_statics/dist/assets/{FormRunner.2b75fd4d.js → FormRunner.7f56a8c6.js} +2 -2
  56. abstra_statics/dist/assets/Home.287d17f8.js +2 -0
  57. abstra_statics/dist/assets/Home.5b7e9c23.js +2 -0
  58. abstra_statics/dist/assets/{Live.08670b33.js → Live.50bacfea.js} +2 -2
  59. abstra_statics/dist/assets/LoadingContainer.ebace8de.js +2 -0
  60. abstra_statics/dist/assets/{LoadingOutlined.659d6aae.js → LoadingOutlined.9e949112.js} +2 -2
  61. abstra_statics/dist/assets/{Login.8491c4b7.js → Login.536a3067.js} +2 -2
  62. abstra_statics/dist/assets/Login.bec408c9.js +2 -0
  63. abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.eb94ecc3.js → Login.vue_vue_type_script_setup_true_lang.1c3f108d.js} +2 -2
  64. abstra_statics/dist/assets/{Logo.a32d36e7.js → Logo.82d6ab70.js} +2 -2
  65. abstra_statics/dist/assets/{Logs.030c8a19.js → Logs.f6135084.js} +2 -2
  66. abstra_statics/dist/assets/{LogsController.7e2c0c7a.js → LogsController.6b666816.js} +2 -2
  67. abstra_statics/dist/assets/Main.77b115f8.js +2 -0
  68. abstra_statics/dist/assets/{MockForm.8b56fd25.js → MockForm.deda9355.js} +2 -2
  69. abstra_statics/dist/assets/Navbar.4a6f2b09.js +2 -0
  70. abstra_statics/dist/assets/NewEditor.5f84de86.css +1 -0
  71. abstra_statics/dist/assets/NewEditor.e558e47d.js +8 -0
  72. abstra_statics/dist/assets/OidcLoginCallback.7f514b45.js +2 -0
  73. abstra_statics/dist/assets/OidcLogoutCallback.038813a1.js +2 -0
  74. abstra_statics/dist/assets/OmniChat.05ba8d8a.css +1 -0
  75. abstra_statics/dist/assets/OmniChat.60d98deb.js +6 -0
  76. abstra_statics/dist/assets/{OnboardingView.262e82cc.js → OnboardingView.9413ee50.js} +2 -2
  77. abstra_statics/dist/assets/{Organization.4f3ccb55.js → Organization.7203cc0b.js} +2 -2
  78. abstra_statics/dist/assets/Organizations.91220ca0.js +2 -0
  79. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.a1a917b9.js → PhArrowCounterClockwise.vue.8090d021.js} +2 -2
  80. abstra_statics/dist/assets/{PhArrowSquareOut.vue.eb4455ba.js → PhArrowSquareOut.vue.26582195.js} +2 -2
  81. abstra_statics/dist/assets/{PhBookBookmark.vue.7bb66888.js → PhBookBookmark.vue.5b7ab079.js} +2 -2
  82. abstra_statics/dist/assets/{PhChats.vue.88d84608.js → PhChats.vue.b5df7174.js} +2 -2
  83. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.02d85ea5.js → PhClockCounterClockwise.vue.812311ad.js} +2 -2
  84. abstra_statics/dist/assets/{PhCopy.vue.5664181e.js → PhCopy.vue.59b0f1b4.js} +2 -2
  85. abstra_statics/dist/assets/{PhCopySimple.vue.beb69d1f.js → PhCopySimple.vue.d41d9160.js} +2 -2
  86. abstra_statics/dist/assets/{PhCube.vue.8de1132a.js → PhCube.vue.63ae7d32.js} +2 -2
  87. abstra_statics/dist/assets/PhDatabase.vue.edfcb96b.js +2 -0
  88. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.9e306480.js → PhDotsThreeVertical.vue.ab4580a5.js} +2 -2
  89. abstra_statics/dist/assets/PhDownloadSimple.vue.c2eaaad1.js +2 -0
  90. abstra_statics/dist/assets/{PhFolderPlus.vue.658105d4.js → PhFolderPlus.vue.05ba4a5c.js} +2 -2
  91. abstra_statics/dist/assets/{PhGear.vue.68bce043.js → PhGear.vue.0e4a6135.js} +2 -2
  92. abstra_statics/dist/assets/{PhKey.vue.3f5192b6.js → PhKey.vue.b2c184d1.js} +2 -2
  93. abstra_statics/dist/assets/{PhPencil.vue.ee28fb6e.js → PhPencil.vue.2f2fe576.js} +2 -2
  94. abstra_statics/dist/assets/{PhPencilSimple.vue.148807f6.js → PhPencilSimple.vue.cc8620ae.js} +2 -2
  95. abstra_statics/dist/assets/{PhRocket.vue.7ba12859.js → PhRocket.vue.e397203c.js} +2 -2
  96. abstra_statics/dist/assets/{PhSignOut.vue.aa78b6eb.js → PhSignOut.vue.a271f14b.js} +2 -2
  97. abstra_statics/dist/assets/{PhSparkle.vue.7820be45.js → PhSparkle.vue.726defa2.js} +2 -2
  98. abstra_statics/dist/assets/{PhUserList.vue.04f21cbe.js → PhUserList.vue.6a29f16d.js} +2 -2
  99. abstra_statics/dist/assets/{PhUsersThree.vue.8b11b97d.js → PhUsersThree.vue.275d13ab.js} +2 -2
  100. abstra_statics/dist/assets/PhWarningCircle.vue.3b1aca1b.js +2 -0
  101. abstra_statics/dist/assets/{PhWebhooksLogo.vue.9e20d559.js → PhWebhooksLogo.vue.5e772aac.js} +2 -2
  102. abstra_statics/dist/assets/{PlayerConfigProvider.0915b29f.js → PlayerConfigProvider.e90a2b41.js} +2 -2
  103. abstra_statics/dist/assets/{PlayerNavbar.78cf73f2.js → PlayerNavbar.11ec1844.js} +2 -2
  104. abstra_statics/dist/assets/Project.c16740fb.js +2 -0
  105. abstra_statics/dist/assets/ProjectLogin.e7a6f444.js +2 -0
  106. abstra_statics/dist/assets/{ProjectSettings.f9bf9124.js → ProjectSettings.52c19693.js} +2 -2
  107. abstra_statics/dist/assets/{ProjectsView.407ea382.js → ProjectsView.22fa7a8e.js} +2 -2
  108. abstra_statics/dist/assets/{SaveButton.e70cd09e.js → SaveButton.719393d2.js} +2 -2
  109. abstra_statics/dist/assets/{ScrollArea.vue_vue_type_script_setup_true_lang.cf352882.js → ScrollArea.vue_vue_type_script_setup_true_lang.d4028954.js} +2 -2
  110. abstra_statics/dist/assets/{Sidebar.e69f49bd.css → Sidebar.29baeab0.css} +1 -1
  111. abstra_statics/dist/assets/{Sidebar.ce129494.js → Sidebar.5cb8e04e.js} +2 -2
  112. abstra_statics/dist/assets/Sql.23d80bad.js +5 -0
  113. abstra_statics/dist/assets/Sql.90e6e2ba.css +1 -0
  114. abstra_statics/dist/assets/Steps.8e5d201a.js +2 -0
  115. abstra_statics/dist/assets/TableCard.529112b9.css +1 -0
  116. abstra_statics/dist/assets/TableCard.59f95f8f.js +2 -0
  117. abstra_statics/dist/assets/TableEditor.5853a363.css +1 -0
  118. abstra_statics/dist/assets/TableEditor.8539f984.js +2 -0
  119. abstra_statics/dist/assets/Tables.44d953f7.js +2 -0
  120. abstra_statics/dist/assets/TablesDiagram.8e47383c.js +15 -0
  121. abstra_statics/dist/assets/TablesDiagram.a588e7ff.css +1 -0
  122. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.6866fb32.js +2 -0
  123. abstra_statics/dist/assets/{Tasks.c9ba3095.js → Tasks.09551b19.js} +2 -2
  124. abstra_statics/dist/assets/{UploadOutlined.c563b054.js → UploadOutlined.eab75eb0.js} +2 -2
  125. abstra_statics/dist/assets/View.5fd7ddf0.js +2 -0
  126. abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.a00f21c8.js → View.vue_vue_type_script_setup_true_lang.a904f400.js} +2 -2
  127. abstra_statics/dist/assets/{Watermark.c71c105b.js → Watermark.ab3d818f.js} +2 -2
  128. abstra_statics/dist/assets/WebEditor.d6ec6392.js +2 -0
  129. abstra_statics/dist/assets/{WidgetPreview.8bd406f7.js → WidgetPreview.86b31dec.js} +2 -2
  130. abstra_statics/dist/assets/{ant-design.06b818ab.js → ant-design.a865486e.js} +2 -2
  131. abstra_statics/dist/assets/apiKey.72f497ca.js +2 -0
  132. abstra_statics/dist/assets/{asyncComputed.bfb7341c.js → asyncComputed.cf5282fc.js} +2 -2
  133. abstra_statics/dist/assets/{build.aef51d48.js → build.df2d55cc.js} +2 -2
  134. abstra_statics/dist/assets/colorHelpers.37d9932b.js +2 -0
  135. abstra_statics/dist/assets/console.2bf7f04d.js +17 -0
  136. abstra_statics/dist/assets/{constants.b75d9567.js → constants.7d38ec8b.js} +2 -2
  137. abstra_statics/dist/assets/contracts.generated.590b1102.js +2 -0
  138. abstra_statics/dist/assets/{cssMode.0aa24dcd.js → cssMode.7133c7cb.js} +2 -2
  139. abstra_statics/dist/assets/{datetime.46141396.js → datetime.8de2ff28.js} +2 -2
  140. abstra_statics/dist/assets/dayjs.f18bbbca.js +2 -0
  141. abstra_statics/dist/assets/editor.3a4714e3.js +2 -0
  142. abstra_statics/dist/assets/editor.main.9c635b9a.js +2 -0
  143. abstra_statics/dist/assets/fetch.89fd5b7b.js +2 -0
  144. abstra_statics/dist/assets/{folder.fe6adcd2.js → folder.d8e23009.js} +2 -2
  145. abstra_statics/dist/assets/{freemarker2.8bd96640.js → freemarker2.6698d1ea.js} +2 -2
  146. abstra_statics/dist/assets/{handlebars.e5dd9b19.js → handlebars.a6c42dc0.js} +2 -2
  147. abstra_statics/dist/assets/{html.7bcef916.js → html.493a5410.js} +2 -2
  148. abstra_statics/dist/assets/{htmlMode.ce91c230.js → htmlMode.a28b2fca.js} +2 -2
  149. abstra_statics/dist/assets/{index.fe015dd3.js → index.2af3391c.js} +2 -2
  150. abstra_statics/dist/assets/{index.57a61691.js → index.4176fe88.js} +2 -2
  151. abstra_statics/dist/assets/{index.16664500.js → index.4d20c159.js} +2 -2
  152. abstra_statics/dist/assets/{index.ee218f7a.js → index.5d6b1e62.js} +2 -2
  153. abstra_statics/dist/assets/{index.06cad1f2.js → index.79ce3bf1.js} +2 -2
  154. abstra_statics/dist/assets/{index.161ccee5.js → index.c34a405a.js} +2 -2
  155. abstra_statics/dist/assets/index.fb182bd1.js +2 -0
  156. abstra_statics/dist/assets/{index.005bab7f.js → index.fb49354b.js} +2 -2
  157. abstra_statics/dist/assets/{javascript.4d5c0a37.js → javascript.3a36cf17.js} +2 -2
  158. abstra_statics/dist/assets/{jsonMode.0942a255.js → jsonMode.bead6ac8.js} +2 -2
  159. abstra_statics/dist/assets/{jwt-decode.esm.e1e8e181.js → jwt-decode.esm.d4517a10.js} +8 -8
  160. abstra_statics/dist/assets/{linters.39cc198f.js → linters.2f3141cb.js} +2 -2
  161. abstra_statics/dist/assets/{liquid.884b015e.js → liquid.0c337fae.js} +3 -3
  162. abstra_statics/dist/assets/member.48d6f2cd.js +2 -0
  163. abstra_statics/dist/assets/{metadata.034775c8.js → metadata.c3aed6e1.js} +2 -2
  164. abstra_statics/dist/assets/omniChatStore.c53bcca2.js +8 -0
  165. abstra_statics/dist/assets/{organization.a29009bc.js → organization.928c9bef.js} +2 -2
  166. abstra_statics/dist/assets/player.d3aeafc5.js +2 -0
  167. abstra_statics/dist/assets/{plotly.min.df1e817c.js → plotly.min.7225d3a0.js} +2 -2
  168. abstra_statics/dist/assets/{polling.84bf96db.js → polling.82ee6b45.js} +2 -2
  169. abstra_statics/dist/assets/{project.a9ad86e9.js → project.619b7244.js} +2 -2
  170. abstra_statics/dist/assets/{python.17c791bf.js → python.05764499.js} +3 -3
  171. abstra_statics/dist/assets/{razor.4b071c3b.js → razor.81a45581.js} +2 -2
  172. abstra_statics/dist/assets/record.7f43486c.js +2 -0
  173. abstra_statics/dist/assets/{redirect.cd158e43.js → redirect.f028a879.js} +2 -2
  174. abstra_statics/dist/assets/repository.9534db4b.js +2 -0
  175. abstra_statics/dist/assets/repository.c15239ce.js +2 -0
  176. abstra_statics/dist/assets/router.262190ec.js +2 -0
  177. abstra_statics/dist/assets/router.424f7da9.js +18 -0
  178. abstra_statics/dist/assets/string.0acf5572.js +2 -0
  179. abstra_statics/dist/assets/{tables.928d4c4a.js → tables.1f68ec62.js} +2 -2
  180. abstra_statics/dist/assets/{tasksController.95334db5.js → tasksController.371896de.js} +2 -2
  181. abstra_statics/dist/assets/{toggleHighContrast.67a76682.js → toggleHighContrast.0d0e5662.js} +7 -7
  182. abstra_statics/dist/assets/{tsMode.bd4befb2.js → tsMode.6eadbf06.js} +2 -2
  183. abstra_statics/dist/assets/{typescript.b5722de7.js → typescript.1670e287.js} +2 -2
  184. abstra_statics/dist/assets/url.e8732f77.js +2 -0
  185. abstra_statics/dist/assets/{useCodebaseEvents.47e4fcfe.js → useCodebaseEvents.53dec1f2.js} +2 -2
  186. abstra_statics/dist/assets/useTables.4f034cf8.js +2 -0
  187. abstra_statics/dist/assets/userStore.31024da3.js +2 -0
  188. abstra_statics/dist/assets/uuid.bde15ce7.js +2 -0
  189. abstra_statics/dist/assets/vue-flow-background.818c7852.js +2 -0
  190. abstra_statics/dist/assets/vue-flow-core.1180ec83.js +22 -0
  191. abstra_statics/dist/assets/{vue-quill.esm-bundler.d6a7c536.js → vue-quill.esm-bundler.c4f04985.js} +2 -2
  192. abstra_statics/dist/assets/{workspaceStore.cca10750.js → workspaceStore.6244d03d.js} +2 -2
  193. abstra_statics/dist/assets/{xml.0a62ffce.js → xml.f2867af8.js} +3 -3
  194. abstra_statics/dist/assets/{yaml.1efc213f.js → yaml.5427bb1b.js} +3 -3
  195. abstra_statics/dist/console.html +14 -15
  196. abstra_statics/dist/editor.html +13 -13
  197. abstra_statics/dist/player.html +9 -9
  198. tests/e2e/test_crud_files.py +1 -0
  199. abstra_internals/templates/abstraignore +0 -8
  200. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js +0 -2
  201. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js +0 -2
  202. abstra_statics/dist/assets/ApiKeys.56b97ced.js +0 -2
  203. abstra_statics/dist/assets/App.bd5ec032.js +0 -2
  204. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.79524273.js +0 -2
  205. abstra_statics/dist/assets/BaseLayout.ac22ef55.js +0 -2
  206. abstra_statics/dist/assets/Billing.2c39d133.js +0 -2
  207. abstra_statics/dist/assets/CloseCircleOutlined.12f63f77.js +0 -2
  208. abstra_statics/dist/assets/ConnectorsView.97a8c63b.js +0 -2
  209. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.48b29302.js +0 -2
  210. abstra_statics/dist/assets/ContentLayout.072b3790.js +0 -2
  211. abstra_statics/dist/assets/EditorsView.987a7eda.js +0 -2
  212. abstra_statics/dist/assets/EnvVars.c5e84d82.js +0 -2
  213. abstra_statics/dist/assets/ExclamationCircleOutlined.f9a25080.js +0 -2
  214. abstra_statics/dist/assets/Form.4633ab8e.js +0 -2
  215. abstra_statics/dist/assets/Home.a883da25.js +0 -2
  216. abstra_statics/dist/assets/Home.d122da63.js +0 -2
  217. abstra_statics/dist/assets/LoadingContainer.b11f052c.js +0 -2
  218. abstra_statics/dist/assets/Login.84d39327.js +0 -2
  219. abstra_statics/dist/assets/Main.70db8614.js +0 -2
  220. abstra_statics/dist/assets/Navbar.6acd9007.js +0 -2
  221. abstra_statics/dist/assets/NewEditor.15e29eac.js +0 -8
  222. abstra_statics/dist/assets/NewEditor.6dd8f03b.css +0 -1
  223. abstra_statics/dist/assets/OidcLoginCallback.b65a6f9f.js +0 -2
  224. abstra_statics/dist/assets/OidcLogoutCallback.dabd09cf.js +0 -2
  225. abstra_statics/dist/assets/OmniChat.078af315.css +0 -1
  226. abstra_statics/dist/assets/OmniChat.6ed96f8e.js +0 -6
  227. abstra_statics/dist/assets/Organizations.d90dd629.js +0 -2
  228. abstra_statics/dist/assets/PhDownloadSimple.vue.6192bb0e.js +0 -2
  229. abstra_statics/dist/assets/PhPencilSimpleLine.vue.af76e884.js +0 -2
  230. abstra_statics/dist/assets/Project.34c75b7c.js +0 -2
  231. abstra_statics/dist/assets/ProjectLogin.9b8cb3d1.js +0 -2
  232. abstra_statics/dist/assets/Sql.3cdc910a.css +0 -1
  233. abstra_statics/dist/assets/Sql.4e31662a.js +0 -5
  234. abstra_statics/dist/assets/Steps.4c850501.js +0 -2
  235. abstra_statics/dist/assets/TableEditor.1e680eaf.css +0 -1
  236. abstra_statics/dist/assets/TableEditor.e7371677.js +0 -2
  237. abstra_statics/dist/assets/Tables.f2c23e20.js +0 -2
  238. abstra_statics/dist/assets/TablesDiagram.1ec45dd9.css +0 -1
  239. abstra_statics/dist/assets/TablesDiagram.8297ec4b.js +0 -15
  240. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.ec94f9e7.js +0 -2
  241. abstra_statics/dist/assets/View.4c3c38ba.js +0 -2
  242. abstra_statics/dist/assets/WebEditor.4ef39590.js +0 -2
  243. abstra_statics/dist/assets/apiKey.e3aa9e16.js +0 -2
  244. abstra_statics/dist/assets/colorHelpers.e94da383.js +0 -2
  245. abstra_statics/dist/assets/console.86947afb.js +0 -25
  246. abstra_statics/dist/assets/contracts.generated.7508e893.js +0 -2
  247. abstra_statics/dist/assets/dayjs.b4dc8227.js +0 -2
  248. abstra_statics/dist/assets/editor.4f4b7594.js +0 -2
  249. abstra_statics/dist/assets/editor.main.340c0a2d.js +0 -2
  250. abstra_statics/dist/assets/fetch.cfa094a0.js +0 -2
  251. abstra_statics/dist/assets/index.a884598f.js +0 -2
  252. abstra_statics/dist/assets/index.eb8f01b7.js +0 -2
  253. abstra_statics/dist/assets/member.af05829c.js +0 -2
  254. abstra_statics/dist/assets/omniChatStore.19fcae1a.js +0 -8
  255. abstra_statics/dist/assets/player.b9e54e21.js +0 -2
  256. abstra_statics/dist/assets/record.06867f70.js +0 -2
  257. abstra_statics/dist/assets/repository.40cf87c6.js +0 -2
  258. abstra_statics/dist/assets/repository.ecf19994.js +0 -2
  259. abstra_statics/dist/assets/router.8ccbba96.js +0 -10
  260. abstra_statics/dist/assets/router.c00c99d7.js +0 -2
  261. abstra_statics/dist/assets/string.ea3b2597.js +0 -2
  262. abstra_statics/dist/assets/url.62ce842c.js +0 -2
  263. abstra_statics/dist/assets/userStore.51f1e2d0.js +0 -2
  264. abstra_statics/dist/assets/uuid.f4308f15.js +0 -2
  265. abstra_statics/dist/assets/vue-flow-background.03bf6b4b.js +0 -22
  266. {abstra-3.23.11.dist-info → abstra-3.24.0.dist-info}/WHEEL +0 -0
  267. {abstra-3.23.11.dist-info → abstra-3.24.0.dist-info}/entry_points.txt +0 -0
  268. {abstra-3.23.11.dist-info → abstra-3.24.0.dist-info}/top_level.txt +0 -0
@@ -1,2 +0,0 @@
1
- import{L as o}from"./jwt-decode.esm.e1e8e181.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[l]="3558a8ac-d5fd-4a47-ba06-080c17a3910c",n._sentryDebugIdIdentifier="sentry-dbid-3558a8ac-d5fd-4a47-ba06-080c17a3910c")}catch{}})();const S=o.string(),A=o.string(),f=o.boolean(),D=o.boolean(),R=o.boolean(),I=o.boolean(),y=o.boolean(),T=o.boolean(),b=o.object({PROJECT_LIVE:f,ALLOW_RELEASE:D,CONNECTORS_CONSOLE:R,DUPLICATE_PROJECTS:I,WEB_EDITOR:y.optional(),LANGCHAIN_SMART_CHAT:T.optional()}),F=o.string(),E=o.string(),k=o.string(),L=o.string(),G=o.string(),C=o.object({plan:F.optional(),expires:E.optional(),message:k.optional(),messageLink:L.optional(),messageCTA:G.optional()}),j=o.enum(["true","false"]),P=o.enum(["true","false"]),N=o.enum(["true","false"]),_=o.string().regex(new RegExp("^[0-9]+m$")),W=o.string().regex(new RegExp("^[0-9]+m$")),w=o.string().regex(new RegExp("^[0-9]+Mi$")),M=o.string().regex(new RegExp("^[0-9]+Mi$")),x=o.string().regex(new RegExp("^[0-9]+$")),O=o.number(),H=o.string().regex(new RegExp("^[0-9]+$")),v=o.string(),q=o.enum(["3.9","3.10","3.11","3.12"]),U=o.string(),B=o.string(),z=o.object({watermarkEnabled:j.optional(),nativeTempDir:P.optional(),notificationsEnabled:N.optional(),requestsCPU:_.optional(),limitsCPU:W.optional(),requestsMemory:w.optional(),limitsMemory:M.optional(),minReplicas:x.optional(),computeUnits:O.optional(),timeoutSeconds:H.optional(),workerType:v.optional(),pythonVersion:q.optional(),workerNumber:U.optional(),baseDockerfile:B.optional()}),K=o.string(),$=o.array(K),Q=o.object({whitelistPatterns:$.optional()});o.object({id:S,name:A,featureFlags:b,billingMetadata:C,deploymentResources:z.optional(),membershipsMetadata:Q.optional()});const X=o.enum(["bigint","int8","bigserial","serial8","bit","bit varying","varbit","boolean","bool","box","bytea","character","char","character varying","varchar","cidr","circle","date","double precision","float8","inet","integer","int","int4","interval","json","jsonb","line","lseg","macaddr","money","numeric","decimal","path","pg_lsn","point","polygon","real","float4","smallint","int2","smallserial","serial2","serial","serial4","text","time","time with time zone","timetz","timestamp","timestamp with time zone","timestamptz","tsquery","tsvector","txid_snapshot","uuid","xml"]),Y=o.string(),Z=o.string(),g=o.array(Z),h=o.string(),oo=o.string();o.object({id:Y,emailPatterns:g,projectId:h,createdAt:oo});const to=o.string().uuid(),no=o.string(),eo=o.string().uuid(),so=o.boolean(),ao=o.string(),io=X,mo=o.boolean(),co=o.boolean(),ro=o.string(),lo=o.string(),So=o.object({columnId:lo}),Ao=o.object({id:eo,primaryKey:so,name:ao,type:io,unique:mo.optional(),nullable:co.optional(),default:ro.optional(),foreignKey:So.optional()}),bo=o.array(Ao),Co=o.record(o.any()),go=o.array(Co),ho=o.object({id:to,name:no,columns:bo,data:go}),uo=o.array(ho);o.object({tables:uo});const po=o.string(),Vo=o.string(),Jo=o.string();o.object({name:po,connectionType:Vo,projectId:Jo});const fo=o.string(),Do=o.string(),Ro=o.string(),Io=o.string(),yo=o.string(),To=o.enum(["true","false"]),Fo=o.enum(["true","false"]),Eo=o.enum(["true","false"]),ko=o.string().regex(new RegExp("^[0-9]+m$")),Lo=o.string().regex(new RegExp("^[0-9]+m$")),Go=o.string().regex(new RegExp("^[0-9]+Mi$")),jo=o.string().regex(new RegExp("^[0-9]+Mi$")),Po=o.string().regex(new RegExp("^[0-9]+$")),No=o.number(),_o=o.string().regex(new RegExp("^[0-9]+$")),Wo=o.string(),wo=o.enum(["3.9","3.10","3.11","3.12"]),Mo=o.string(),xo=o.string(),Oo=o.object({watermarkEnabled:To.optional(),seleniumInstanceEnabled:Fo.optional(),notificationsEnabled:Eo.optional(),requestsCPU:ko.optional(),limitsCPU:Lo.optional(),requestsMemory:Go.optional(),limitsMemory:jo.optional(),minReplicas:Po.optional(),computeUnits:No.optional(),timeoutSeconds:_o.optional(),workerType:Wo.optional(),pythonVersion:wo.optional(),workerNumber:Mo.optional(),baseDockerfile:xo.optional()});o.object({id:fo,folderId:Do,name:Ro,subdomain:Io,organizationId:yo,deploymentResources:Oo.optional()});const Ho=o.string(),vo=o.array(Ho);o.object({whitelistPatterns:vo.optional()});const qo=o.string(),e=o.string().email(),Uo=o.string(),m=o.array(Uo),Bo=o.string(),zo=o.string(),Ko=o.object({id:qo,email:e,roles:m,projectId:Bo,createdAt:zo}),$o=o.string(),Qo=o.array($o),Xo=o.number(),Yo=o.string().datetime({local:!0}),Zo=o.enum(["file","directory"]),ot=o.string(),tt=o.array(ot),nt=o.array(tt).default([]),u=o.object({pathParts:Qo,size:Xo,lastModified:Yo,type:Zo,children:nt.optional()}),et=o.string(),st=o.string(),at=o.string(),it=o.string(),mt=o.string();o.object({plan:et.optional(),expires:st.optional(),message:at.optional(),messageLink:it.optional(),messageCTA:mt.optional()});const ct=o.string(),rt=o.string(),lt=o.string(),St=o.string(),At=o.object({key:ct,label:rt,description:lt,logoUrl:St}),bt=o.literal("tokens"),Ct=o.string(),gt=o.string(),ht=o.string(),ut=o.string(),pt=o.enum(["small-string","large-text","file"]),dt=o.number(),Vt=o.number(),Jt=o.object({type:pt,maxSize:dt.optional(),minSize:Vt.optional()}),ft=o.object({key:Ct,label:gt,description:ht,instructions:ut.optional(),input:Jt}),c=o.array(ft),Dt=c,Rt=o.object({type:bt,tokens:Dt}),It=o.literal("oauth2"),yt=o.string(),Tt=o.string(),Ft=o.string(),Et=o.object({key:yt,label:Tt,description:Ft}),kt=o.array(Et),Lt=c,Gt=o.object({type:It,scopes:kt,params:Lt}),jt=o.literal("manual"),Pt=o.object({type:jt}),Nt=o.literal("ecdsa"),_t=c,Wt=o.object({type:Nt,params:_t}),wt=o.union([Rt,Gt,Pt,Wt]),Mt=o.string(),xt=o.string(),Ot=o.string(),Ht=o.record(o.any()),vt=o.record(o.any()),qt=o.object({key:Mt,label:xt,description:Ot,payloadSchema:Ht,returnSchema:vt}),Ut=o.array(qt),Bt=o.string(),zt=o.string(),Kt=o.record(o.any()),$t=o.object({name:Bt,description:zt,payloadSchema:Kt.optional()}),Qt=o.array($t);o.object({metadata:At,auth:wt,actions:Ut,triggers:Qt});const Xt=o.string(),p=o.string(),r=o.string(),Yt=o.string(),Zt=o.string(),on=o.object({id:Xt,name:p,description:r.optional(),projectId:Yt,createdAt:Zt}),tn=o.boolean(),nn=o.boolean(),en=o.boolean(),sn=o.boolean(),an=o.boolean(),mn=o.boolean();o.object({PROJECT_LIVE:tn.optional(),ALLOW_RELEASE:nn.optional(),CONNECTORS_CONSOLE:en.optional(),DUPLICATE_PROJECTS:sn.optional(),WEB_EDITOR:an.optional(),LANGCHAIN_SMART_CHAT:mn.optional()});const cn=o.string(),rn=o.string(),ln=o.string(),Sn=o.null(),An=o.union([ln,Sn]),bn=o.string(),Cn=o.null(),gn=o.union([bn,Cn]),hn=o.string(),un=o.null(),pn=o.union([hn,un]),dn=o.string(),Vn=o.null(),Jn=o.union([dn,Vn]),fn=o.string(),Dn=o.null(),Rn=o.union([fn,Dn]),In=o.string(),yn=o.null(),Tn=o.union([In,yn]),Fn=o.string(),En=o.null(),kn=o.union([Fn,En]),Ln=o.object({name:cn,language:rn,theme:An,logo_url:gn,favicon_url:pn,brand_name:Jn,main_color:Rn,font_family:Tn,font_color:kn}),Gn=o.boolean(),jn=o.string(),Pn=o.array(jn),Nn=o.object({is_public:Gn,required_roles:Pn}),_n=o.object({access_control:Nn}),Wn=o.string(),wn=o.string(),Mn=o.string(),xn=o.string(),On=o.string(),Hn=o.null(),vn=o.union([On,Hn]),s=o.object({id:Wn,target_id:wn,target_type:Mn,type:xn,task_type:vn.optional()}),qn=s,Un=o.array(qn),Bn=o.string(),zn=o.string(),Kn=o.string(),$n=o.number(),Qn=o.array($n),Xn=o.string(),Yn=o.object({transitions:Un,title:Bn,file:zn,id:Kn,workflow_position:Qn,schedule:Xn}),Zn=Yn,oe=o.array(Zn),te=s,ne=o.array(te),ee=o.string(),se=o.string(),ae=o.string(),ie=o.number(),me=o.array(ie),ce=o.boolean(),re=o.string(),le=o.boolean(),Se=o.object({transitions:ne,title:ee,file:se,id:ae,workflow_position:me,enabled:ce,path:re,is_initial:le}),Ae=Se,be=o.array(Ae),Ce=s,ge=o.array(Ce),he=o.string(),ue=o.string(),pe=o.string(),de=o.number(),Ve=o.array(de),Je=o.boolean(),fe=o.string(),De=o.null(),Re=o.union([fe,De]),Ie=o.string(),ye=o.null(),Te=o.union([Ie,ye]),Fe=o.string(),Ee=o.null(),ke=o.union([Fe,Ee]),Le=o.string(),Ge=o.boolean(),je=o.object({variable_name:Le,enabled:Ge}),Pe=o.string(),Ne=o.null(),_e=o.union([Pe,Ne]),We=o.boolean(),we=o.string(),Me=o.string(),xe=o.null(),Oe=o.union([Me,xe]),He=o.boolean(),ve=o.string(),qe=o.array(ve),Ue=o.object({is_public:He,required_roles:qe}),Be=o.string(),ze=o.null(),Ke=o.union([Be,ze]),$e=o.boolean(),Qe=o.string(),Xe=o.null(),Ye=o.union([Qe,Xe]),Ze=o.object({transitions:ge,title:he,file:ue,id:pe,workflow_position:Ve,auto_start:Je,error_message:Re,start_button_text:Te,timeout_message:ke,notification_trigger:je,welcome_title:_e,is_initial:We,path:we,restart_button_text:Oe,access_control:Ue,start_message:Ke,allow_restart:$e,end_message:Ye}),os=Ze,ts=o.array(os),ns=s,es=o.array(ns),ss=o.string(),as=o.string(),is=o.string(),ms=o.number(),cs=o.array(ms),rs=o.boolean(),ls=o.object({transitions:es,title:ss,file:as,id:is,workflow_position:cs,is_initial:rs}),Ss=ls,As=o.array(Ss),bs=o.literal("15.0");o.object({workspace:Ln,home:_n,jobs:oe,hooks:be,forms:ts,scripts:As,version:bs});const Cs=o.string(),gs=o.string(),hs=o.string(),us=o.null(),ps=o.union([hs,us]),ds=o.string(),Vs=o.null(),Js=o.union([ds,Vs]),fs=o.string(),Ds=o.null(),Rs=o.union([fs,Ds]),Is=o.string(),ys=o.null(),Ts=o.union([Is,ys]),Fs=o.string(),Es=o.null(),ks=o.union([Fs,Es]),Ls=o.string(),Gs=o.null(),js=o.union([Ls,Gs]),Ps=o.string(),Ns=o.null(),_s=o.union([Ps,Ns]),Ws=o.object({name:Cs,language:gs,theme:ps,logo_url:Js,favicon_url:Rs,brand_name:Ts,main_color:ks,font_family:js,font_color:_s}),ws=o.boolean(),Ms=o.string(),xs=o.array(Ms),Os=o.object({is_public:ws,required_roles:xs}),Hs=o.object({access_control:Os}),vs=o.string(),qs=o.string(),Us=o.string(),Bs=o.literal("task"),zs=o.string(),Ks=o.null(),$s=o.union([zs,Ks]),a=o.object({id:vs,target_id:qs,target_type:Us,type:Bs,task_type:$s.optional()}),Qs=a,Xs=o.array(Qs),Ys=o.string(),Zs=o.string(),oa=o.string(),ta=o.number(),na=o.array(ta),ea=o.string(),sa=o.object({transitions:Xs,title:Ys,file:Zs,id:oa,workflow_position:na,schedule:ea}),aa=sa,ia=o.array(aa),ma=a,ca=o.array(ma),ra=o.string(),la=o.string(),Sa=o.string(),Aa=o.number(),ba=o.array(Aa),Ca=o.boolean(),ga=o.string(),ha=o.boolean(),ua=o.object({transitions:ca,title:ra,file:la,id:Sa,workflow_position:ba,enabled:Ca,path:ga,is_initial:ha}),pa=ua,da=o.array(pa),Va=a,Ja=o.array(Va),fa=o.string(),Da=o.string(),Ra=o.string(),Ia=o.number(),ya=o.array(Ia),Ta=o.boolean(),Fa=o.string(),Ea=o.null(),ka=o.union([Fa,Ea]),La=o.string(),Ga=o.null(),ja=o.union([La,Ga]),Pa=o.string(),Na=o.null(),_a=o.union([Pa,Na]),Wa=o.string(),wa=o.boolean(),Ma=o.object({variable_name:Wa,enabled:wa}),xa=o.string(),Oa=o.null(),Ha=o.union([xa,Oa]),va=o.boolean(),qa=o.string(),Ua=o.string(),Ba=o.null(),za=o.union([Ua,Ba]),Ka=o.boolean(),$a=o.string(),Qa=o.array($a),Xa=o.object({is_public:Ka,required_roles:Qa}),Ya=o.string(),Za=o.null(),oi=o.union([Ya,Za]),ti=o.boolean(),ni=o.string(),ei=o.null(),si=o.union([ni,ei]),ai=o.object({transitions:Ja,title:fa,file:Da,id:Ra,workflow_position:ya,auto_start:Ta,error_message:ka,start_button_text:ja,timeout_message:_a,notification_trigger:Ma,welcome_title:Ha,is_initial:va,path:qa,restart_button_text:za,access_control:Xa,start_message:oi,allow_restart:ti,end_message:si}),ii=ai,mi=o.array(ii),ci=a,ri=o.array(ci),li=o.string(),Si=o.string(),Ai=o.string(),bi=o.number(),Ci=o.array(bi),gi=o.boolean(),hi=o.object({transitions:ri,title:li,file:Si,id:Ai,workflow_position:Ci,is_initial:gi}),ui=hi,pi=o.array(ui),di=o.literal("14.0");o.object({workspace:Ws,home:Hs,jobs:ia,hooks:da,forms:mi,scripts:pi,version:di});const Vi=o.string(),Ji=o.string(),fi=o.string(),Di=o.null(),Ri=o.union([fi,Di]),Ii=o.string(),yi=o.null(),Ti=o.union([Ii,yi]),Fi=o.string(),Ei=o.null(),ki=o.union([Fi,Ei]),Li=o.string(),Gi=o.null(),ji=o.union([Li,Gi]),Pi=o.string(),Ni=o.null(),_i=o.union([Pi,Ni]),Wi=o.string(),wi=o.null(),Mi=o.union([Wi,wi]),xi=o.string(),Oi=o.null(),Hi=o.union([xi,Oi]),vi=o.object({name:Vi,language:Ji,theme:Ri,logo_url:Ti,favicon_url:ki,brand_name:ji,main_color:_i,font_family:Mi,font_color:Hi}),qi=o.boolean(),Ui=o.string(),Bi=o.array(Ui),zi=o.object({is_public:qi,required_roles:Bi}),Ki=o.object({access_control:zi}),$i=o.string(),Qi=o.string(),Xi=o.string(),Yi=o.string(),Zi=o.string(),om=o.null(),tm=o.union([Zi,om]),i=o.object({id:$i,target_id:Qi,target_type:Xi,type:Yi,task_type:tm.optional()}),nm=i,em=o.array(nm),sm=o.string(),am=o.string(),im=o.string(),mm=o.number(),cm=o.array(mm),rm=o.string(),lm=o.object({transitions:em,title:sm,file:am,id:im,workflow_position:cm,schedule:rm}),Sm=lm,Am=o.array(Sm),bm=i,Cm=o.array(bm),gm=o.string(),hm=o.string(),um=o.string(),pm=o.number(),dm=o.array(pm),Vm=o.boolean(),Jm=o.string(),fm=o.boolean(),Dm=o.object({transitions:Cm,title:gm,file:hm,id:um,workflow_position:dm,enabled:Vm,path:Jm,is_initial:fm}),Rm=Dm,Im=o.array(Rm),ym=i,Tm=o.array(ym),Fm=o.string(),Em=o.string(),km=o.string(),Lm=o.number(),Gm=o.array(Lm),jm=o.boolean(),Pm=o.string(),Nm=o.null(),_m=o.union([Pm,Nm]),Wm=o.string(),wm=o.null(),Mm=o.union([Wm,wm]),xm=o.string(),Om=o.null(),Hm=o.union([xm,Om]),vm=o.string(),qm=o.boolean(),Um=o.object({variable_name:vm,enabled:qm}),Bm=o.string(),zm=o.null(),Km=o.union([Bm,zm]),$m=o.boolean(),Qm=o.string(),Xm=o.string(),Ym=o.null(),Zm=o.union([Xm,Ym]),oc=o.boolean(),tc=o.string(),nc=o.array(tc),ec=o.object({is_public:oc,required_roles:nc}),sc=o.string(),ac=o.null(),ic=o.union([sc,ac]),mc=o.boolean(),cc=o.string(),rc=o.null(),lc=o.union([cc,rc]),Sc=o.object({transitions:Tm,title:Fm,file:Em,id:km,workflow_position:Gm,auto_start:jm,error_message:_m,start_button_text:Mm,timeout_message:Hm,notification_trigger:Um,welcome_title:Km,is_initial:$m,path:Qm,restart_button_text:Zm,access_control:ec,start_message:ic,allow_restart:mc,end_message:lc}),Ac=Sc,bc=o.array(Ac),Cc=i,gc=o.array(Cc),hc=o.string(),uc=o.string(),pc=o.string(),dc=o.number(),Vc=o.array(dc),Jc=o.boolean(),fc=o.object({transitions:gc,title:hc,file:uc,id:pc,workflow_position:Vc,is_initial:Jc}),Dc=fc,Rc=o.array(Dc),Ic=o.literal("12.0");o.object({workspace:vi,home:Ki,jobs:Am,hooks:Im,forms:bc,scripts:Rc,version:Ic});const yc=o.string(),Tc=o.string(),Fc=o.string(),Ec=o.null(),kc=o.union([Fc,Ec]),Lc=o.string(),Gc=o.null(),jc=o.union([Lc,Gc]),Pc=o.string(),Nc=o.null(),_c=o.union([Pc,Nc]),Wc=o.string(),wc=o.null(),Mc=o.union([Wc,wc]),xc=o.string(),Oc=o.null(),Hc=o.union([xc,Oc]),vc=o.string(),qc=o.null(),Uc=o.union([vc,qc]),Bc=o.string(),zc=o.null(),Kc=o.union([Bc,zc]),$c=o.object({name:yc,language:Tc,theme:kc,logo_url:jc,favicon_url:_c,brand_name:Mc,main_color:Hc,font_family:Uc,font_color:Kc}),Qc=o.boolean(),Xc=o.string(),Yc=o.array(Xc),Zc=o.object({is_public:Qc,required_roles:Yc}),or=o.object({access_control:Zc}),tr=o.string(),nr=o.string(),er=o.string(),sr=o.string(),ar=o.string(),ir=o.null(),mr=o.union([ar,ir]),t=o.object({id:tr,target_id:nr,target_type:er,type:sr,task_type:mr.optional()}),cr=t,rr=o.array(cr),lr=o.string(),Sr=o.string(),Ar=o.string(),br=o.number(),Cr=o.array(br),gr=o.string(),hr=o.object({transitions:rr,title:lr,file:Sr,id:Ar,workflow_position:Cr,schedule:gr}),ur=hr,pr=o.array(ur),dr=t,Vr=o.array(dr),Jr=o.string(),fr=o.string(),Dr=o.string(),Rr=o.number(),Ir=o.array(Rr),yr=o.boolean(),Tr=o.string(),Fr=o.boolean(),Er=o.object({transitions:Vr,title:Jr,file:fr,id:Dr,workflow_position:Ir,enabled:yr,path:Tr,is_initial:Fr}),kr=Er,Lr=o.array(kr),Gr=t,jr=o.array(Gr),Pr=o.string(),Nr=o.string(),_r=o.string(),Wr=o.number(),wr=o.array(Wr),Mr=o.boolean(),xr=o.string(),Or=o.null(),Hr=o.union([xr,Or]),vr=o.string(),qr=o.null(),Ur=o.union([vr,qr]),Br=o.string(),zr=o.null(),Kr=o.union([Br,zr]),$r=o.string(),Qr=o.boolean(),Xr=o.object({variable_name:$r,enabled:Qr}),Yr=o.string(),Zr=o.null(),ol=o.union([Yr,Zr]),tl=o.boolean(),nl=o.string(),el=o.string(),sl=o.null(),al=o.union([el,sl]),il=o.boolean(),ml=o.string(),cl=o.array(ml),rl=o.object({is_public:il,required_roles:cl}),ll=o.string(),Sl=o.null(),Al=o.union([ll,Sl]),bl=o.boolean(),Cl=o.string(),gl=o.null(),hl=o.union([Cl,gl]),ul=o.object({transitions:jr,title:Pr,file:Nr,id:_r,workflow_position:wr,auto_start:Mr,error_message:Hr,start_button_text:Ur,timeout_message:Kr,notification_trigger:Xr,welcome_title:ol,is_initial:tl,path:nl,restart_button_text:al,access_control:rl,start_message:Al,allow_restart:bl,end_message:hl}),pl=ul,dl=o.array(pl),Vl=t,Jl=o.array(Vl),fl=o.string(),Dl=o.string(),Rl=o.string(),Il=o.number(),yl=o.array(Il),Tl=o.boolean(),Fl=o.object({transitions:Jl,title:fl,file:Dl,id:Rl,workflow_position:yl,is_initial:Tl}),El=Fl,kl=o.array(El),Ll=o.string(),Gl=o.string(),jl=o.string().uuid(),Pl=o.null(),Nl=o.union([jl,Pl]),_l=o.number(),Wl=o.array(_l),wl=t,Ml=o.array(wl),xl=o.string().uuid(),Ol=o.null(),Hl=o.union([xl,Ol]),vl=o.object({id:Ll,title:Gl,project_id:Nl,workflow_position:Wl,transitions:Ml,client_stage_id:Hl}),ql=o.array(vl),Ul=o.string(),Bl=o.string(),zl=o.number(),Kl=o.array(zl),$l=t,Ql=o.array($l),Xl=o.object({id:Ul,title:Bl,workflow_position:Kl,transitions:Ql}),Yl=o.array(Xl),Zl=o.literal("13.0");o.object({workspace:$c,home:or,jobs:pr,hooks:Lr,forms:dl,scripts:kl,agents:ql,clients:Yl,version:Zl});const oS=o.enum(["true","false"]),tS=o.enum(["true","false"]),nS=o.enum(["true","false"]),eS=o.string().regex(new RegExp("^[0-9]+m$")),sS=o.string().regex(new RegExp("^[0-9]+m$")),aS=o.string().regex(new RegExp("^[0-9]+Mi$")),iS=o.string().regex(new RegExp("^[0-9]+Mi$")),mS=o.string().regex(new RegExp("^[0-9]+$")),cS=o.number(),rS=o.string().regex(new RegExp("^[0-9]+$")),lS=o.string(),SS=o.enum(["3.9","3.10","3.11","3.12"]),AS=o.string(),bS=o.string();o.object({watermarkEnabled:oS.optional(),seleniumInstanceEnabled:tS.optional(),notificationsEnabled:nS.optional(),requestsCPU:eS.optional(),limitsCPU:sS.optional(),requestsMemory:aS.optional(),limitsMemory:iS.optional(),minReplicas:mS.optional(),computeUnits:cS.optional(),timeoutSeconds:rS.optional(),workerType:lS.optional(),pythonVersion:SS.optional(),workerNumber:AS.optional(),baseDockerfile:bS.optional()});const CS=o.enum(["true","false"]),gS=o.enum(["true","false"]),hS=o.enum(["true","false"]),uS=o.string().regex(new RegExp("^[0-9]+m$")),pS=o.string().regex(new RegExp("^[0-9]+m$")),dS=o.string().regex(new RegExp("^[0-9]+Mi$")),VS=o.string().regex(new RegExp("^[0-9]+Mi$")),JS=o.string().regex(new RegExp("^[0-9]+$")),fS=o.number(),DS=o.string().regex(new RegExp("^[0-9]+$")),RS=o.string(),IS=o.enum(["3.9","3.10","3.11","3.12"]),yS=o.string(),TS=o.string();o.object({watermarkEnabled:CS.optional(),nativeTempDir:gS.optional(),notificationsEnabled:hS.optional(),requestsCPU:uS.optional(),limitsCPU:pS.optional(),requestsMemory:dS.optional(),limitsMemory:VS.optional(),minReplicas:JS.optional(),computeUnits:fS.optional(),timeoutSeconds:DS.optional(),workerType:RS.optional(),pythonVersion:IS.optional(),workerNumber:yS.optional(),baseDockerfile:TS.optional()});const FS=o.enum(["file","directory"]),ES=o.string(),kS=o.string(),LS=o.string().datetime({local:!0}),GS=o.number(),jS=o.string(),PS=o.number(),NS=o.object({type:FS,path:ES,name:kS,date:LS,sizeBytes:GS.optional(),sizeHuman:jS.optional(),itemCount:PS.optional()}),_S=o.literal("replace-code"),WS=o.string(),wS=o.number(),MS=o.number(),xS=o.object({start:wS,end:MS}),OS=o.string(),HS=o.object({action:_S,actionLabel:WS,lines:xS,newCode:OS}),vS=HS,qS=o.literal("edit-stage-name"),US=o.string(),BS=o.string(),zS=o.object({action:qS,actionLabel:US,newName:BS}),KS=zS,$S=o.literal("add-notifiable-email"),QS=o.string(),XS=o.string(),YS=o.object({action:$S,actionLabel:QS,email:XS}),ZS=YS,oA=o.union([vS,KS,ZS]),tA=o.array(oA);o.object({actions:tA});const nA=o.literal("create-table"),eA=o.string(),sA=o.string().uuid(),aA=o.string(),iA=o.object({action:nA,actionLabel:eA,tableId:sA,tableName:aA}),mA=iA,cA=o.literal("create-column"),rA=o.string(),lA=o.string().uuid(),SA=o.string(),AA=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),bA=o.object({action:cA,actionLabel:rA,tableId:lA,columnName:SA,columnType:AA}),CA=bA,gA=o.literal("set-env-var"),hA=o.string(),uA=o.string(),pA=o.string(),dA=o.object({action:gA,actionLabel:hA,key:uA,value:pA}),VA=dA,JA=o.literal("create-stage"),fA=o.string(),DA=o.string().uuid(),RA=o.enum(["form","job","hook","tasklet"]),IA=o.string(),yA=o.string(),TA=o.string(),FA=o.number(),EA=o.number(),kA=o.object({x:FA,y:EA}),LA=o.object({action:JA,actionLabel:fA,id:DA,stageType:RA,stageName:IA,code:yA,filename:TA,position:kA}),GA=LA,jA=o.literal("add-transition"),PA=o.string(),NA=o.string().uuid(),_A=o.string().uuid(),WA=o.object({action:jA,actionLabel:PA,sourceStageId:NA,targetStageId:_A}),wA=WA,MA=o.union([mA,CA,VA,GA,wA]),xA=o.array(MA);o.object({actions:xA});const OA=o.literal("replace-code"),HA=o.string(),vA=o.string(),qA=o.literal("replace-code"),UA=o.object({action:OA,actionLabel:HA,newCode:vA,type:qA.optional()}),BA=UA,zA=o.literal("edit-stage-name"),KA=o.string(),$A=o.string(),QA=o.literal("edit-stage-name"),XA=o.object({action:zA,actionLabel:KA,newName:$A,type:QA.optional()}),YA=XA,ZA=o.literal("add-notifiable-email"),ob=o.string(),tb=o.string(),nb=o.object({action:ZA,actionLabel:ob,email:tb}),eb=nb,sb=o.literal("edit-stage-filename"),ab=o.string(),ib=o.string(),mb=o.literal("edit-stage-filename"),cb=o.object({action:sb,actionLabel:ab,newFilename:ib,type:mb.optional()}),rb=cb,lb=o.union([BA,YA,eb,rb]),Sb=o.array(lb);o.object({actions:Sb});const Ab=o.literal("create-table"),bb=o.string(),Cb=o.string().uuid(),gb=o.string(),hb=o.object({action:Ab,actionLabel:bb,tableId:Cb,tableName:gb}),ub=hb,pb=o.literal("create-column"),db=o.string(),Vb=o.string().uuid(),Jb=o.string(),fb=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),Db=o.boolean(),Rb=o.string(),Ib=o.boolean(),yb=o.object({action:pb,actionLabel:db,tableId:Vb,columnName:Jb,columnType:fb,nullable:Db,default:Rb,unique:Ib}),Tb=yb,Fb=o.literal("insert-rows"),Eb=o.string(),kb=o.string().uuid(),Lb=o.record(o.any()),Gb=o.array(Lb),jb=o.object({action:Fb,actionLabel:Eb,tableId:kb,rows:Gb}),Pb=jb,Nb=o.literal("edit-table"),_b=o.string(),Wb=o.string().uuid(),wb=o.string(),Mb=o.object({action:Nb,actionLabel:_b,tableId:Wb,newTableName:wb}),xb=Mb,Ob=o.literal("edit-column"),Hb=o.string(),vb=o.string().uuid(),qb=o.string().uuid(),Ub=o.string(),Bb=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),zb=o.boolean(),Kb=o.string(),$b=o.boolean(),Qb=o.string().uuid(),Xb=o.object({columnId:Qb}),Yb=o.object({columnName:Ub.optional(),columnType:Bb.optional(),nullable:zb.optional(),default:Kb.optional(),unique:$b.optional(),foreignKey:Xb.optional()}),Zb=o.object({action:Ob,actionLabel:Hb,columnId:vb,tableId:qb,changes:Yb}),oC=Zb,tC=o.literal("edit-env-var"),nC=o.string(),eC=o.string(),sC=o.string(),aC=o.object({action:tC,actionLabel:nC,key:eC,newValue:sC}),iC=aC,mC=o.literal("set-env-var"),cC=o.string(),rC=o.string(),lC=o.string(),SC=o.object({action:mC,actionLabel:cC,key:rC,value:lC}),AC=SC,bC=o.literal("install-package"),CC=o.string(),gC=o.string(),hC=o.object({action:bC,actionLabel:CC,packageName:gC}),uC=hC,pC=o.literal("create-stage"),dC=o.string(),VC=o.string().uuid(),JC=o.enum(["form","job","hook","tasklet"]),fC=o.string(),DC=o.string(),RC=o.string(),IC=o.number(),yC=o.number(),TC=o.object({x:IC,y:yC}),FC=o.literal("create-stage"),EC=o.object({action:pC,actionLabel:dC,id:VC,stageType:JC,stageName:fC,code:DC,filename:RC,position:TC,type:FC.optional()}),kC=EC,LC=o.literal("add-transition"),GC=o.string(),jC=o.string().uuid(),PC=o.string().uuid(),NC=o.object({action:LC,actionLabel:GC,sourceStageId:jC,targetStageId:PC}),_C=NC,WC=o.literal("edit-stage"),wC=o.string(),MC=o.string().uuid(),xC=o.enum(["form","job","hook","tasklet"]),OC=o.string(),HC=o.object({action:WC,actionLabel:wC,stageId:MC,stageType:xC,stageNewTitle:OC}),vC=HC,qC=o.union([ub,Tb,Pb,xb,oC,iC,AC,uC,kC,_C,vC]),UC=o.array(qC);o.object({actions:UC});const BC=S,zC=A,KC=b,$C=C;o.object({id:BC,name:zC,featureFlags:KC,billingMetadata:$C});const QC=e,XC=m;o.object({email:QC,roles:XC});const YC=o.number(),ZC=o.number();o.object({offset:YC.optional(),limit:ZC.optional()});const og=Ko;o.array(og);const tg=e,ng=m;o.object({email:tg.optional(),roles:ng.optional()});const eg=o.literal("tokens"),sg=o.record(o.string());o.object({type:eg,tokens:sg});const ag=h;o.object({projectId:ag});const ig=g;o.object({emailPatterns:ig});const mg=NS,cg=o.array(mg),rg=o.number();o.object({items:cg,totalCount:rg});const lg=p,Sg=r;o.object({name:lg,description:Sg.optional()});const Ag=o.number(),bg=o.number();o.object({offset:Ag.optional(),limit:bg.optional()});const Cg=on;o.array(Cg);const gg=r;o.object({description:gg});const hg=o.string(),ug=o.string();o.object({redirect:hg,ping:ug});const pg=o.string(),dg=o.record(o.any()),Vg=o.string(),Jg=o.object({key:pg,value:dg,type:Vg}),fg=o.string(),Dg=o.string(),Rg=o.record(o.any()),d=o.enum(["waiting","running","processing","finished","failed","abandoned"]),Ig=o.string(),yg=o.string(),Tg=o.string(),Fg=o.string();o.object({id:fg,stage:Dg,data:Rg,status:d,created_at:Ig,updated_at:yg,parent_id:Tg.optional(),execution_id:Fg.optional()});const Eg=o.string(),kg=o.string(),Lg=o.string(),Gg=o.string(),jg=d,Pg=Jg,Ng=o.array(Pg),_g=Ng,Wg=o.string(),wg=o.object({id:Eg,created_at:kg,updated_at:Lg.optional(),assignee:Gg.optional(),status:jg,content:_g,stage:Wg.optional()}),Mg=wg,V=o.array(Mg),xg=V,Og=o.string(),Hg=o.array(Og),vg=o.number();o.object({stage_run_cards:xg,not_found_stages:Hg,total_count:vg});const qg=o.string(),Ug=o.enum(["form","hook","job","script"]),Bg=o.string(),zg=o.string(),Kg=o.boolean(),J=o.object({id:qg,type:Ug,title:Bg,path:zg.optional(),can_be_started:Kg}),$g=J,Qg=V,Xg=o.number(),Yg=o.boolean(),Zg=o.object({selected_stage:$g,stage_run_cards:Qg,total_count:Xg,loading:Yg.optional()}),oh=J;o.array(oh);const th=Zg,nh=o.array(th),eh=nh;o.object({columns:eh});const sh=o.string(),ah=o.enum(["changed","created","deleted","moved"]),ih=o.string(),fp=o.object({filepath:sh,event:ah,content:ih.optional()}),mh=o.string();o.object({waitingRoomUrl:mh});const ch=o.string(),rh=o.string(),lh=o.literal("bug"),Sh=o.string(),Ah=o.string(),bh=o.string(),Ch=o.object({name:Ah,label:bh}),gh=Ch,hh=o.array(gh),uh=o.object({label:Sh,fixes:hh}),ph=uh,dh=o.array(ph),Vh=o.object({name:ch,label:rh,type:lh,issues:dh}),Jh=o.string(),fh=o.string(),Dh=o.object({name:Jh,value:fh}),Dp=u,Rh=o.boolean(),Rp=o.object({ok:Rh.optional()}),Ih=o.boolean(),Ip=o.object({ok:Ih.optional()}),yh=o.string(),Th=o.number(),Fh=o.enum(["delete","insert"]),Eh=o.string(),kh=o.number(),Lh=o.object({siteId:yh,pos:Th,type:Fh,value:Eh.optional(),length:kh.optional()});o.array(Lh);const Gh=o.boolean(),yp=o.object({ok:Gh.optional()}),jh=o.string(),Ph=o.array(jh),Nh=o.string(),_h=o.array(Nh),Tp=o.object({pathParts:Ph,newPathParts:_h}),Wh=o.boolean(),Fp=o.object({ok:Wh.optional()}),wh=o.string(),Ep=o.object({separator:wh}),Mh=u,xh=o.enum(["form","hook","job","script"]),Oh=o.string(),Hh=o.object({type:xh,id:Oh}),vh=o.array(Hh),qh=o.object({file:Mh,stages:vh}),kp=o.array(qh),Uh=Dh;o.array(Uh);const Bh=o.boolean();o.object({success:Bh});const zh=Vh;o.array(zh);const Kh=o.record(o.string()),$h=o.boolean();o.object({remotes:Kh,hasAbstraRemote:$h});const Qh=o.boolean(),Xh=o.string();o.object({success:Qh,message:Xh});const Yh=o.boolean(),Zh=o.string();o.object({success:Yh,message:Zh});const ou=o.string();o.object({commitHash:ou});const tu=o.boolean(),nu=o.string(),eu=o.string(),su=o.array(eu),au=o.string(),iu=o.string(),mu=o.string(),cu=o.string(),ru=o.object({hash:au,message:iu,author:mu,date:cu}).nullable(),lu=o.boolean(),Su=o.string(),Au=o.array(Su),bu=o.string(),Cu=o.string(),gu=o.string(),hu=o.object({path:bu,status:Cu,statusCode:gu}),uu=o.array(hu),pu=o.boolean(),du=o.string().nullable(),Vu=o.boolean(),Ju=o.boolean(),fu=o.string().nullable(),Du=o.string(),Ru=o.array(Du),Iu=o.number(),yu=o.number(),Tu=o.object({ahead:Iu,behind:yu}).nullable(),Fu=o.object({success:pu,remoteCommit:du,hasRemoteChanges:Vu,hasConflicts:Ju,message:fu,availableBranches:Ru,aheadBehind:Tu}).nullable();o.object({available:tu,branch:nu,branches:su,lastCommit:ru,hasChanges:lu,changedFiles:Au,changedFilesWithStatus:uu,remoteStatus:Fu});const Eu=o.boolean(),ku=o.string();o.object({success:Eu,message:ku});const Lu=o.string(),Gu=o.string();o.object({branch:Lu.optional(),commitHash:Gu.optional()});const ju=o.string(),Pu=o.string(),Nu=o.string(),_u=o.string(),Wu=o.object({hash:ju,message:Pu,author:Nu,date:_u}),wu=o.array(Wu),Mu=o.boolean();o.object({commits:wu,hasMore:Mu});const xu=o.boolean(),Ou=o.string();o.object({success:xu,message:Ou});const Hu=o.boolean(),vu=o.string();o.object({success:Hu,message:vu});const qu=o.boolean(),Uu=o.string();o.object({success:qu,message:Uu});const Bu=o.string();o.object({message:Bu});const zu=o.enum(["ALLOWED","UNAUTHORIZED","FORBIDEN","NOT_FOUND"]);o.object({status:zu});const Ku=e;o.object({email:Ku});const $u=o.string(),Qu=$u,Xu=o.literal("text"),Yu=o.string(),Zu=o.object({type:Xu,text:Yu}),op=o.literal("file"),tp=o.string(),np=o.string(),ep=o.object({type:op,fileName:tp,fileContent:np}),sp=o.union([Zu,ep]),ap=o.array(sp),ip=ap,mp=o.record(o.any()),cp=o.string();o.object({conversationId:Qu,content:ip,context:mp,humanApproval:cp.optional()});const rp=o.string(),lp=o.string().datetime({local:!0}),Sp=o.enum(["user","assistant"]),Ap=o.string(),bp=o.string().datetime({local:!0}),Cp=o.string(),gp=o.string(),hp=o.object({role:Sp,content:Ap,createdAt:bp,toolTitle:Cp.optional(),toolCallId:gp.optional()}),up=o.array(hp),pp=o.object({id:rp,createdAt:lp,messages:up}),dp=pp;o.array(dp);export{fp as A,kp as a,Dp as b,Rp as c,Ip as d,Tp as e,yp as f,Fp as g,Ep as h};
2
- //# sourceMappingURL=contracts.generated.7508e893.js.map
@@ -1,2 +0,0 @@
1
- import{X as c,dJ as s,dK as i}from"./jwt-decode.esm.e1e8e181.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="e06915f3-212d-408a-8719-53eda9c2dca3",e._sentryDebugIdIdentifier="sentry-dbid-e06915f3-212d-408a-8719-53eda9c2dca3")}catch{}})();const{DatePicker:n,WeekPicker:t,MonthPicker:r,YearPicker:f,TimePicker:m,QuarterPicker:a,RangePicker:o}=s(i),y=c(n,{WeekPicker:t,MonthPicker:r,YearPicker:f,RangePicker:o,TimePicker:m,QuarterPicker:a,install:e=>(e.component(n.name,n),e.component(o.name,o),e.component(r.name,r),e.component(t.name,t),e.component(a.name,a),e)});export{y as D,r as M,a as Q,o as R,t as W};
2
- //# sourceMappingURL=dayjs.b4dc8227.js.map
@@ -1,2 +0,0 @@
1
- var I=Object.defineProperty;var x=(o,t,e)=>t in o?I(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var R=(o,t,e)=>(x(o,typeof t!="symbol"?t+"":t,e),e);import{d as C,c as L,r as p,w as h,o as E,a as P,b as m,e as k,f as v,u as d,S as M,g as j,A as O,T as $,h as B,M as N,_ as W,i as z,j as F,l as T,k as H,m as G,n as q,p as g,q as J,s as Y,t as K,v as Q,x as X,P as Z,C as ee,y as te,z as oe,B as w,D as ae,E as ne,F as se,G as re}from"./jwt-decode.esm.e1e8e181.js";import{r as ie,g as ce,a as le}from"./router.c00c99d7.js";import{u as ue,s as de}from"./workspaceStore.cca10750.js";import{u as pe}from"./useCodebaseEvents.47e4fcfe.js";import{A as _e}from"./constants.b75d9567.js";import"./contracts.generated.7508e893.js";import"./linters.39cc198f.js";import{d as b}from"./index.57a61691.js";import"./userStore.51f1e2d0.js";import"./url.62ce842c.js";import"./colorHelpers.e94da383.js";import"./asyncComputed.bfb7341c.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="d90d2668-c77c-4004-a98c-56fe9fc27f65",o._sentryDebugIdIdentifier="sentry-dbid-d90d2668-c77c-4004-a98c-56fe9fc27f65")}catch{}})();const fe={style:{"text-align":"center",padding:"20px"}},ge=C({__name:"ConnectionModal",props:{open:{type:Boolean},port:{}},emits:["update:open"],setup(o,{emit:t}){const e=o,n=L({get:()=>e.open,set:s=>t("update:open",s)}),a=p(!1);return h(()=>e.open,s=>{if(s){a.value=!1;const r=setTimeout(()=>{a.value=!0},1e4);return()=>clearTimeout(r)}else a.value=!1}),(s,r)=>(E(),P(d(N),{open:n.value,"onUpdate:open":r[0]||(r[0]=l=>n.value=l),closable:!1,"mask-closable":!1,keyboard:!1,footer:null,width:400,centered:""},{default:m(()=>[k("div",fe,[v(d(M),{size:"large"}),v(d(O),{level:4},{default:m(()=>[j(" Connecting to server... ")]),_:1}),a.value?(E(),P(d($),{key:0},{default:m(()=>[j(" Are you sure Abstra is running? ")]),_:1})):B("",!0)])]),_:1},8,["open"]))}});const me=W(ge,[["__scopeId","data-v-36743132"]]),he={style:{height:"100vh","box-sizing":"border-box",width:"100%"}},ve=C({__name:"App",setup(o){const t=pe(),e=p(!1);h(t.isConnected,async a=>{e.value=!a},{immediate:!0});const n={token:{colorPrimary:"#d14056",colorLink:"#d14056",colorLinkHover:"#aa3446"}};return(a,s)=>{const r=z("RouterView");return E(),P(d(F),{theme:n,"page-header":{ghost:!1}},{default:m(()=>[k("div",he,[v(r)]),v(me,{open:e.value,"onUpdate:open":s[0]||(s[0]=l=>e.value=l)},null,8,["open"])]),_:1})}}});class V{async getLogin(){return await(await fetch("/_editor/api/login")).json()}async createLogin(t){return(await fetch("/_editor/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:t})})).json()}async deleteLogin(){await fetch("/_editor/api/login",{method:"DELETE"})}async getCloudProject(){return(await fetch("/_editor/api/login/info")).json()}async getPublicUrl(){try{return(await(await fetch("/_editor/api/login/public-url")).json()).public_url}catch{return null}}static getLoginUrl(t){return _e.CLOUD+"/api-key?"+new URLSearchParams(t)}}const A="h97k86ks",f=class{static boot(t,e){f.booted||(b.Intercom({app_id:A}),b.boot({api_base:"https://api-iam.intercom.io",app_id:A,name:t,email:t,user_hash:e,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),f.booted=!0)}static shutdown(){b.shutdown(),f.booted=!1}};let _=f;R(_,"booted",!1);const ye={"console-url":"https://cloud.abstra.io"},we=o=>{const t="VITE_"+T.toUpper(T.snakeCase(o)),e={VITE_SENTRY_RELEASE:"3827cc33d910331a2c68156560640034967d7a19",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[t];return e||ye[o]},u={consoleUrl:we("console-url")},be=H("cloud-project",()=>{const o=new V,t=p(null),e=p(null),n=L(()=>{var i,c;return(c=(i=t.value)==null?void 0:i.logged)!=null?c:!1}),a=p(null),s=L(()=>e.value?{project:`${u.consoleUrl}/projects/${e.value.id}`,users:`${u.consoleUrl}/projects/${e.value.id}/access-control?selected-panel=users`,roles:`${u.consoleUrl}/projects/${e.value.id}/access-control?selected-panel=roles`,builds:`${u.consoleUrl}/projects/${e.value.id}/builds`,login:`${u.consoleUrl}/api-key`}:null),r=async()=>{!n.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},l=async i=>{const c=await o.createLogin(i);t.value=c,c.logged&&await U()},U=async()=>e.value=await o.getCloudProject();(async()=>{a.value=await o.getPublicUrl()})();const S=async()=>t.value?t.value:(t.value=await o.getLogin(),t.value.logged);return h(()=>t.value,U),h(()=>t.value,async i=>{if(i&&"info"in i){const{email:c,intercomHash:D}=i.info;_.boot(c,D)}else _.shutdown()}),{loadLogin:S,createLogin:l,deleteLogin:r,publicUrl:a,loginInfo:t,cloudProject:e,isLogged:n,links:s}}),Le=ie.map(o=>({...o,meta:{...o.meta,playerRoute:!0}})),y=G({history:q("/"),routes:[{path:"/_editor/",name:"app",component:()=>g(()=>import("./Home.a883da25.js"),["assets/Home.a883da25.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/fetch.cfa094a0.js","assets/polling.84bf96db.js","assets/Home.afb8d9a6.css"]),children:[{path:"",name:"editor",component:()=>g(()=>import("./NewEditor.15e29eac.js"),["assets/NewEditor.15e29eac.js","assets/asyncComputed.bfb7341c.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/contracts.generated.7508e893.js","assets/linters.39cc198f.js","assets/workspaceStore.cca10750.js","assets/userStore.51f1e2d0.js","assets/url.62ce842c.js","assets/colorHelpers.e94da383.js","assets/record.06867f70.js","assets/PhPencilSimpleLine.vue.af76e884.js","assets/Card.6caecaa4.js","assets/router.8ccbba96.js","assets/index.57a61691.js","assets/metadata.034775c8.js","assets/PhUserList.vue.04f21cbe.js","assets/PhWebhooksLogo.vue.9e20d559.js","assets/LogsController.7e2c0c7a.js","assets/ant-design.06b818ab.js","assets/string.ea3b2597.js","assets/PhCopy.vue.5664181e.js","assets/index.eb8f01b7.js","assets/build.aef51d48.js","assets/tables.928d4c4a.js","assets/repository.ecf19994.js","assets/LoadingOutlined.659d6aae.js","assets/polling.84bf96db.js","assets/LogsController.fb0d96c2.css","assets/omniChatStore.19fcae1a.js","assets/uuid.f4308f15.js","assets/PhCopySimple.vue.beb69d1f.js","assets/omniChatStore.ec95fb81.css","assets/datetime.46141396.js","assets/OmniChat.6ed96f8e.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js","assets/Logo.a32d36e7.js","assets/Logo.b7d81119.css","assets/PhClockCounterClockwise.vue.02d85ea5.js","assets/index.161ccee5.js","assets/index.fe015dd3.js","assets/OmniChat.078af315.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/constants.b75d9567.js","assets/PhBookBookmark.vue.7bb66888.js","assets/PhChats.vue.88d84608.js","assets/PhArrowSquareOut.vue.eb4455ba.js","assets/PhRocket.vue.7ba12859.js","assets/PhSignOut.vue.aa78b6eb.js","assets/useCodebaseEvents.47e4fcfe.js","assets/CloseCircleOutlined.12f63f77.js","assets/ScrollArea.vue_vue_type_script_setup_true_lang.cf352882.js","assets/PhFolderPlus.vue.658105d4.js","assets/tasksController.95334db5.js","assets/vue-flow-background.03bf6b4b.js","assets/SaveButton.e70cd09e.js","assets/ExclamationCircleOutlined.f9a25080.js","assets/SaveButton.932ac6b8.css","assets/ContentLayout.072b3790.js","assets/ContentLayout.cdae7d24.css","assets/fetch.cfa094a0.js","assets/repository.40cf87c6.js","assets/View.vue_vue_type_script_setup_true_lang.a00f21c8.js","assets/CrudView.79588134.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js","assets/PhDotsThreeVertical.vue.9e306480.js","assets/CrudView.e24590ae.css","assets/PhPencil.vue.ee28fb6e.js","assets/PlayerNavbar.78cf73f2.js","assets/PlayerNavbar.77209eae.css","assets/PlayerConfigProvider.0915b29f.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/LoadingContainer.b11f052c.js","assets/LoadingContainer.56fa997a.css","assets/PhGear.vue.68bce043.js","assets/PhPencilSimple.vue.148807f6.js","assets/toggleHighContrast.67a76682.js","assets/toggleHighContrast.30d77c87.css","assets/PhArrowCounterClockwise.vue.a1a917b9.js","assets/FormRunner.2b75fd4d.js","assets/Login.vue_vue_type_script_setup_true_lang.eb94ecc3.js","assets/CircularLoading.bc88c029.js","assets/CircularLoading.a8fe2dc6.css","assets/Login.75d13f6c.css","assets/Steps.4c850501.js","assets/index.005bab7f.js","assets/Steps.2880920a.css","assets/Watermark.c71c105b.js","assets/Watermark.b0916e90.css","assets/FormRunner.46f6426d.css","assets/redirect.cd158e43.js","assets/router.c00c99d7.js","assets/NewEditor.6dd8f03b.css"])},{path:"project-login",name:"projectLogin",component:()=>g(()=>import("./ProjectLogin.9b8cb3d1.js"),["assets/ProjectLogin.9b8cb3d1.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js","assets/Logo.a32d36e7.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/Logo.b7d81119.css","assets/BaseLayout.ac22ef55.js","assets/BaseLayout.e1744dcc.css","assets/index.ee218f7a.js","assets/Breadcrumb.f11a16d0.js","assets/index.161ccee5.js","assets/index.eb8f01b7.js","assets/router.c00c99d7.js","assets/workspaceStore.cca10750.js","assets/userStore.51f1e2d0.js","assets/url.62ce842c.js","assets/colorHelpers.e94da383.js","assets/useCodebaseEvents.47e4fcfe.js","assets/contracts.generated.7508e893.js","assets/constants.b75d9567.js","assets/linters.39cc198f.js","assets/asyncComputed.bfb7341c.js","assets/index.57a61691.js","assets/ProjectLogin.21a71354.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:":pathMatch(.*)*",name:"editorFallback",redirect:"/_editor/"}]},{path:"/:path(.*)*",name:"player",component:()=>g(()=>import("./App.bd5ec032.js"),["assets/App.bd5ec032.js","assets/App.vue_vue_type_style_index_0_lang.79524273.js","assets/userStore.51f1e2d0.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/PlayerConfigProvider.0915b29f.js","assets/colorHelpers.e94da383.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/workspaceStore.cca10750.js","assets/url.62ce842c.js","assets/App.0c2736ee.css"]),children:Le}],scrollBehavior(o){if(o.hash)return{el:o.hash}}}),Ee=ce(y);y.beforeEach(async(o,t)=>{if(await ue().actions.fetch(),o.meta.playerRoute)return Ee(o,t);J(o,t);const e=be();if(!o.meta.allowUnauthenticated&&!e.isLogged&&!await e.loadLogin()){const n={redirect:location.origin+"/_editor/project-login"};window.open(V.getLoginUrl(n),"_self")}});(async()=>{await de();const o=await le(),t=Y(),e=K({render:()=>ae(ve)});Q.init(),X(e,y,o),e.use(y),e.use(Z),e.use(t),e.mount("#app"),e.component("VSelect",ee),e.component("Markdown",te),e.component("Message",oe),w(e,ne),w(e,se),w(e,re)})();export{u as E,be as u};
2
- //# sourceMappingURL=editor.4f4b7594.js.map
@@ -1,2 +0,0 @@
1
- import{C as t,E as i,K as d,a as f,M as c,c as l,P as y,R as b,S as g,b as u,T as k,U as p,e as w,l as D}from"./toggleHighContrast.67a76682.js";import"./jwt-decode.esm.e1e8e181.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f5fb670c-ae90-44aa-aca1-06152d31a541",e._sentryDebugIdIdentifier="sentry-dbid-f5fb670c-ae90-44aa-aca1-06152d31a541")}catch{}})();export{t as CancellationTokenSource,i as Emitter,d as KeyCode,f as KeyMod,c as MarkerSeverity,l as MarkerTag,y as Position,b as Range,g as Selection,u as SelectionDirection,k as Token,p as Uri,w as editor,D as languages};
2
- //# sourceMappingURL=editor.main.340c0a2d.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.e1e8e181.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="827d5679-ed47-4fc3-ad56-ac622f5fb5c5",e._sentryDebugIdIdentifier="sentry-dbid-827d5679-ed47-4fc3-ad56-ac622f5fb5c5")}catch{}})();const f=(...e)=>window.fetch(...e);export{f as l};
2
- //# sourceMappingURL=fetch.cfa094a0.js.map
@@ -1,2 +0,0 @@
1
- import{X as B,av as d,as as j,au as Se,aN as ke,d as q,N as O,J as ue,at as L,w as E,I as fe,ah as G,f as u,aY as ne,aZ as oe,a_ as ae,aj as D,ai as pe,b7 as $e,ap as me,r as xe,cl as Oe,ab as De,ac as Pe,ad as _e,c as N,am as Ie,ag as Ne,c8 as Te,a4 as Me,bo as je,bT as K,aX as le,dI as re,a$ as Be}from"./jwt-decode.esm.e1e8e181.js";import{i as ie}from"./router.8ccbba96.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="d5677102-a9e9-4856-bac5-26f4110ded91",e._sentryDebugIdIdentifier="sentry-dbid-d5677102-a9e9-4856-bac5-26f4110ded91")}catch{}})();const ye=()=>({prefixCls:String,width:d.oneOfType([d.string,d.number]),height:d.oneOfType([d.string,d.number]),style:{type:Object,default:void 0},class:String,rootClassName:String,rootStyle:j(),placement:{type:String},wrapperClassName:String,level:{type:[String,Array]},levelMove:{type:[Number,Function,Array]},duration:String,ease:String,showMask:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},maskStyle:{type:Object,default:void 0},afterVisibleChange:Function,keyboard:{type:Boolean,default:void 0},contentWrapperStyle:Se(),autofocus:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},motion:ke(),maskMotion:j()}),Ee=()=>B(B({},ye()),{forceRender:{type:Boolean,default:void 0},getContainer:d.oneOfType([d.string,d.func,d.object,d.looseBool])}),Ae=()=>B(B({},ye()),{getContainer:Function,getOpenCount:Function,scrollLocker:d.any,inline:Boolean});function Fe(e){return Array.isArray(e)?e:[e]}const ve={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},ze=Object.keys(ve).filter(e=>{if(typeof document>"u")return!1;const o=document.getElementsByTagName("html")[0];return e in(o?o.style:{})})[0];ve[ze];const Ve=!(typeof window<"u"&&window.document&&window.document.createElement);var Le=globalThis&&globalThis.__rest||function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i<t.length;i++)o.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(r[t[i]]=e[t[i]]);return r};const We=q({compatConfig:{MODE:3},inheritAttrs:!1,props:Ae(),emits:["close","handleClick","change"],setup(e,o){let{emit:r,slots:t}=o;const i=O(),S=O(),P=O(),b=O(),w=O();let m=[];`${Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)}`,ue(()=>{L(()=>{var a;const{open:s,getContainer:f,showMask:k,autofocus:y}=e,p=f==null?void 0:f();_(e),s&&(p&&(p.parentNode,document.body),L(()=>{y&&h()}),k&&((a=e.scrollLocker)===null||a===void 0||a.lock()))})}),E(()=>e.level,()=>{_(e)},{flush:"post"}),E(()=>e.open,()=>{const{open:a,getContainer:s,scrollLocker:f,showMask:k,autofocus:y}=e,p=s==null?void 0:s();p&&(p.parentNode,document.body),a?(y&&h(),k&&(f==null||f.lock())):f==null||f.unLock()},{flush:"post"}),fe(()=>{var a;const{open:s}=e;s&&(document.body.style.touchAction=""),(a=e.scrollLocker)===null||a===void 0||a.unLock()}),E(()=>e.placement,a=>{a&&(w.value=null)});const h=()=>{var a,s;(s=(a=S.value)===null||a===void 0?void 0:a.focus)===null||s===void 0||s.call(a)},v=a=>{r("close",a)},g=a=>{a.keyCode===$e.ESC&&(a.stopPropagation(),v(a))},C=()=>{const{open:a,afterVisibleChange:s}=e;s&&s(!!a)},_=a=>{let{level:s,getContainer:f}=a;if(Ve)return;const k=f==null?void 0:f(),y=k?k.parentNode:null;m=[],s==="all"?(y?Array.prototype.slice.call(y.children):[]).forEach($=>{$.nodeName!=="SCRIPT"&&$.nodeName!=="STYLE"&&$.nodeName!=="LINK"&&$!==k&&m.push($)}):s&&Fe(s).forEach(p=>{document.querySelectorAll(p).forEach($=>{m.push($)})})},T=a=>{r("handleClick",a)},I=O(!1);return E(S,()=>{L(()=>{I.value=!0})}),()=>{var a,s;const{width:f,height:k,open:y,prefixCls:p,placement:$,level:A,levelMove:F,ease:J,duration:Z,getContainer:Q,onChange:ee,afterVisibleChange:te,showMask:z,maskClosable:W,maskStyle:H,keyboard:R,getOpenCount:n,scrollLocker:l,contentWrapperStyle:c,style:x,class:M,rootClassName:X,rootStyle:Y,maskMotion:he,motion:U,inline:ge}=e,be=Le(e,["width","height","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","keyboard","getOpenCount","scrollLocker","contentWrapperStyle","style","class","rootClassName","rootStyle","maskMotion","motion","inline"]),V=y&&I.value,we=G(p,{[`${p}-${$}`]:!0,[`${p}-open`]:V,[`${p}-inline`]:ge,"no-mask":!z,[X]:!0}),Ce=typeof U=="function"?U($):U;return u("div",D(D({},pe(be,["autofocus"])),{},{tabindex:-1,class:we,style:Y,ref:S,onKeydown:V&&R?g:void 0}),[u(ne,he,{default:()=>[z&&oe(u("div",{class:`${p}-mask`,onClick:W?v:void 0,style:H,ref:P},null),[[ae,V]])]}),u(ne,D(D({},Ce),{},{onAfterEnter:C,onAfterLeave:C}),{default:()=>[oe(u("div",{class:`${p}-content-wrapper`,style:[c],ref:i},[u("div",{class:[`${p}-content`,M],style:x,ref:w},[(a=t.default)===null||a===void 0?void 0:a.call(t)]),t.handler?u("div",{onClick:T,ref:b},[(s=t.handler)===null||s===void 0?void 0:s.call(t)]):null]),[[ae,V]])]})])}}}),se=We;var de=globalThis&&globalThis.__rest||function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i<t.length;i++)o.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(r[t[i]]=e[t[i]]);return r};const He=q({compatConfig:{MODE:3},inheritAttrs:!1,props:me(Ee(),{prefixCls:"drawer",placement:"left",getContainer:"body",level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",afterVisibleChange:()=>{},showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",keyboard:!0,forceRender:!1,autofocus:!0}),emits:["handleClick","close"],setup(e,o){let{emit:r,slots:t}=o;const i=xe(null),S=b=>{r("handleClick",b)},P=b=>{r("close",b)};return()=>{const{getContainer:b,wrapperClassName:w,rootClassName:m,rootStyle:h,forceRender:v}=e,g=de(e,["getContainer","wrapperClassName","rootClassName","rootStyle","forceRender"]);let C=null;if(!b)return u(se,D(D({},g),{},{rootClassName:m,rootStyle:h,open:e.open,onClose:P,onHandleClick:S,inline:!0}),t);const _=!!t.handler||v;return(_||e.open||i.value)&&(C=u(Oe,{autoLock:!0,visible:e.open,forceRender:_,getContainer:b,wrapperClassName:w},{default:T=>{var{visible:I,afterClose:a}=T,s=de(T,["visible","afterClose"]);return u(se,D(D(D({ref:i},g),s),{},{rootClassName:m,rootStyle:h,open:I!==void 0?I:e.open,afterVisibleChange:a!==void 0?a:e.afterVisibleChange,onClose:P,onHandleClick:S}),t)}})),C}}}),Re=He,Xe=e=>{const{componentCls:o,motionDurationSlow:r}=e,t={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${r}`}}};return{[o]:{[`${o}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${r}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${o}-panel-motion`]:{"&-left":[t,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[t,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[t,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[t,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},Ye=Xe,Ue=e=>{const{componentCls:o,zIndexPopup:r,colorBgMask:t,colorBgElevated:i,motionDurationSlow:S,motionDurationMid:P,padding:b,paddingLG:w,fontSizeLG:m,lineHeightLG:h,lineWidth:v,lineType:g,colorSplit:C,marginSM:_,colorIcon:T,colorIconHover:I,colorText:a,fontWeightStrong:s,drawerFooterPaddingVertical:f,drawerFooterPaddingHorizontal:k}=e,y=`${o}-content-wrapper`;return{[o]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none","&-pure":{position:"relative",background:i,[`&${o}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${o}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${o}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${o}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${o}-mask`]:{position:"absolute",inset:0,zIndex:r,background:t,pointerEvents:"auto"},[y]:{position:"absolute",zIndex:r,transition:`all ${S}`,"&-hidden":{display:"none"}},[`&-left > ${y}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${y}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${y}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${y}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${o}-content`]:{width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${o}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${o}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${b}px ${w}px`,fontSize:m,lineHeight:h,borderBottom:`${v}px ${g} ${C}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${o}-extra`]:{flex:"none"},[`${o}-close`]:{display:"inline-block",marginInlineEnd:_,color:T,fontWeight:s,fontSize:m,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${P}`,textRendering:"auto","&:focus, &:hover":{color:I,textDecoration:"none"}},[`${o}-title`]:{flex:1,margin:0,color:a,fontWeight:e.fontWeightStrong,fontSize:m,lineHeight:h},[`${o}-body`]:{flex:1,minWidth:0,minHeight:0,padding:w,overflow:"auto"},[`${o}-footer`]:{flexShrink:0,padding:`${f}px ${k}px`,borderTop:`${v}px ${g} ${C}`},"&-rtl":{direction:"rtl"}}}},Ke=De("Drawer",e=>{const o=Pe(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[Ue(o),Ye(o)]},e=>({zIndexPopup:e.zIndexPopupBase}));var Ge=globalThis&&globalThis.__rest||function(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i<t.length;i++)o.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(r[t[i]]=e[t[i]]);return r};const qe=["top","right","bottom","left"],ce={distance:180},Je=()=>({autofocus:{type:Boolean,default:void 0},closable:{type:Boolean,default:void 0},closeIcon:d.any,destroyOnClose:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},getContainer:{type:[String,Function,Boolean,Object],default:void 0},maskClosable:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},maskStyle:j(),rootClassName:String,rootStyle:j(),size:{type:String},drawerStyle:j(),headerStyle:j(),bodyStyle:j(),contentWrapperStyle:{type:Object,default:void 0},title:d.any,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},width:d.oneOfType([d.string,d.number]),height:d.oneOfType([d.string,d.number]),zIndex:Number,prefixCls:String,push:d.oneOfType([d.looseBool,{type:Object}]),placement:d.oneOf(qe),keyboard:{type:Boolean,default:void 0},extra:d.any,footer:d.any,footerStyle:j(),level:d.any,levelMove:{type:[Number,Array,Function]},handle:d.any,afterVisibleChange:Function,onAfterVisibleChange:Function,onAfterOpenChange:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onClose:Function}),Ze=q({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:me(Je(),{closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:ce}),slots:Object,setup(e,o){let{emit:r,slots:t,attrs:i}=o;const S=O(!1),P=O(!1),b=O(null),w=O(!1),m=O(!1),h=N(()=>{var n;return(n=e.open)!==null&&n!==void 0?n:e.visible});E(h,()=>{h.value?w.value=!0:m.value=!1},{immediate:!0}),E([h,w],()=>{h.value&&w.value&&(m.value=!0)},{immediate:!0});const v=Ie("parentDrawerOpts",null),{prefixCls:g,getPopupContainer:C,direction:_}=Ne("drawer",e),[T,I]=Ke(g),a=N(()=>e.getContainer===void 0&&(C==null?void 0:C.value)?()=>C.value(document.body):e.getContainer);Te(!e.afterVisibleChange,"Drawer","`afterVisibleChange` prop is deprecated, please use `@afterVisibleChange` event instead"),Me("parentDrawerOpts",{setPush:()=>{S.value=!0},setPull:()=>{S.value=!1,L(()=>{k()})}}),ue(()=>{h.value&&v&&v.setPush()}),fe(()=>{v&&v.setPull()}),E(m,()=>{v&&(m.value?v.setPush():v.setPull())},{flush:"post"});const k=()=>{var n,l;(l=(n=b.value)===null||n===void 0?void 0:n.domFocus)===null||l===void 0||l.call(n)},y=n=>{r("update:visible",!1),r("update:open",!1),r("close",n)},p=n=>{var l;n||(P.value===!1&&(P.value=!0),e.destroyOnClose&&(w.value=!1)),(l=e.afterVisibleChange)===null||l===void 0||l.call(e,n),r("afterVisibleChange",n),r("afterOpenChange",n)},$=N(()=>{const{push:n,placement:l}=e;let c;return typeof n=="boolean"?c=n?ce.distance:0:c=n.distance,c=parseFloat(String(c||0)),l==="left"||l==="right"?`translateX(${l==="left"?c:-c}px)`:l==="top"||l==="bottom"?`translateY(${l==="top"?c:-c}px)`:null}),A=N(()=>{var n;return(n=e.width)!==null&&n!==void 0?n:e.size==="large"?736:378}),F=N(()=>{var n;return(n=e.height)!==null&&n!==void 0?n:e.size==="large"?736:378}),J=N(()=>{const{mask:n,placement:l}=e;if(!m.value&&!n)return{};const c={};return l==="left"||l==="right"?c.width=ie(A.value)?`${A.value}px`:A.value:c.height=ie(F.value)?`${F.value}px`:F.value,c}),Z=N(()=>{const{zIndex:n,contentWrapperStyle:l}=e,c=J.value;return[{zIndex:n,transform:S.value?$.value:void 0},B({},l),c]}),Q=n=>{const{closable:l,headerStyle:c}=e,x=K(t,e,"extra"),M=K(t,e,"title");return!M&&!l?null:u("div",{class:G(`${n}-header`,{[`${n}-header-close-only`]:l&&!M&&!x}),style:c},[u("div",{class:`${n}-header-title`},[ee(n),M&&u("div",{class:`${n}-title`},[M])]),x&&u("div",{class:`${n}-extra`},[x])])},ee=n=>{var l;const{closable:c}=e,x=t.closeIcon?(l=t.closeIcon)===null||l===void 0?void 0:l.call(t):e.closeIcon;return c&&u("button",{key:"closer",onClick:y,"aria-label":"Close",class:`${n}-close`},[x===void 0?u(Be,null,null):x])},te=n=>{var l;if(P.value&&!e.forceRender&&!w.value)return null;const{bodyStyle:c,drawerStyle:x}=e;return u("div",{class:`${n}-wrapper-body`,style:x},[Q(n),u("div",{key:"body",class:`${n}-body`,style:c},[(l=t.default)===null||l===void 0?void 0:l.call(t)]),z(n)])},z=n=>{const l=K(t,e,"footer");if(!l)return null;const c=`${n}-footer`;return u("div",{class:c,style:e.footerStyle},[l])},W=N(()=>G({"no-mask":!e.mask,[`${g.value}-rtl`]:_.value==="rtl"},e.rootClassName,I.value)),H=N(()=>le(re(g.value,"mask-motion"))),R=n=>le(re(g.value,`panel-motion-${n}`));return()=>{const{width:n,height:l,placement:c,mask:x,forceRender:M}=e,X=Ge(e,["width","height","placement","mask","forceRender"]),Y=B(B(B({},i),pe(X,["size","closeIcon","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","onAfterVisibleChange","onClose","onUpdate:visible","onUpdate:open","visible"])),{forceRender:M,onClose:y,afterVisibleChange:p,handler:!1,prefixCls:g.value,open:m.value,showMask:x,placement:c,ref:b});return T(u(je,null,{default:()=>[u(Re,D(D({},Y),{},{maskMotion:H.value,motion:R,width:A.value,height:F.value,getContainer:a.value,rootClassName:W.value,rootStyle:e.rootStyle,contentWrapperStyle:Z.value}),{handler:e.handle?()=>e.handle:t.handle,default:()=>te(g.value)})]}))}}}),tt=_e(Ze);export{tt as A};
2
- //# sourceMappingURL=index.a884598f.js.map
@@ -1,2 +0,0 @@
1
- import{d as P,ag as T,e0 as L,e1 as Q,c as o,r as O,w as W,aQ as X,f as p,X as m,aR as q,aj as j,cV as h,av as G,bt as B,aM as H,ah as J}from"./jwt-decode.esm.e1e8e181.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="640c4a31-d1f0-4da6-8fa1-fdcbe11dbc69",e._sentryDebugIdIdentifier="sentry-dbid-640c4a31-d1f0-4da6-8fa1-fdcbe11dbc69")}catch{}})();const K={small:8,middle:16,large:24},U=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:G.oneOf(B("horizontal","vertical")).def("horizontal"),align:G.oneOf(B("start","end","center","baseline")),wrap:H()});function Y(e){return typeof e=="string"?K[e]:e||0}const r=P({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:U(),slots:Object,setup(e,c){let{slots:l,attrs:g}=c;const{prefixCls:n,space:y,direction:w}=T("space",e),[E,F]=L(n),x=Q(),s=o(()=>{var a,t,i;return(i=(a=e.size)!==null&&a!==void 0?a:(t=y==null?void 0:y.value)===null||t===void 0?void 0:t.size)!==null&&i!==void 0?i:"small"}),b=O(),u=O();W(s,()=>{[b.value,u.value]=(Array.isArray(s.value)?s.value:[s.value,s.value]).map(a=>Y(a))},{immediate:!0});const z=o(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),R=o(()=>J(n.value,F.value,`${n.value}-${e.direction}`,{[`${n.value}-rtl`]:w.value==="rtl",[`${n.value}-align-${z.value}`]:z.value})),V=o(()=>w.value==="rtl"?"marginLeft":"marginRight"),k=o(()=>{const a={};return x.value&&(a.columnGap=`${b.value}px`,a.rowGap=`${u.value}px`),m(m({},a),e.wrap&&{flexWrap:"wrap",marginBottom:`${-u.value}px`})});return()=>{var a,t;const{wrap:i,direction:M="horizontal"}=e,_=(a=l.default)===null||a===void 0?void 0:a.call(l),C=X(_),I=C.length;if(I===0)return null;const d=(t=l.split)===null||t===void 0?void 0:t.call(l),A=`${n.value}-item`,D=b.value,S=I-1;return p("div",j(j({},g),{},{class:[R.value,g.class],style:[k.value,g.style]}),[C.map((N,v)=>{let $=_.indexOf(N);$===-1&&($=`$$space-${v}`);let f={};return x.value||(M==="vertical"?v<S&&(f={marginBottom:`${D/(d?2:1)}px`}):f=m(m({},v<S&&{[V.value]:`${D/(d?2:1)}px`}),i&&{paddingBottom:`${u.value}px`})),E(p(q,{key:$},[p("div",{class:A,style:f},[N]),v<S&&d&&p("span",{class:`${A}-split`,style:f},[d])]))})])}}});r.Compact=h;r.install=function(e){return e.component(r.name,r),e.component(h.name,h),e};const ee=r;export{ee as A};
2
- //# sourceMappingURL=index.eb8f01b7.js.map
@@ -1,2 +0,0 @@
1
- import{h as n}from"./router.8ccbba96.js";import"./jwt-decode.esm.e1e8e181.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="7a17dc41-5128-44e2-82a6-0456f338fff2",t._sentryDebugIdIdentifier="sentry-dbid-7a17dc41-5128-44e2-82a6-0456f338fff2")}catch{}})();class i{async create(e){return n.post(`organizations/${e.organizationId}/members`,{email:e.email,teams:e.teams})}async delete(e){return n.delete(`organizations/${e.organizationId}/members/${e.authorId}`)}async list(e){return n.get(`organizations/${e}/members`)}async get(e,r){return n.get(`organizations/${e}/members/${r}`)}async update(e,r,a){return n.patch(`organizations/${e}/members/${r}`,a)}}export{i as M};
2
- //# sourceMappingURL=member.af05829c.js.map
@@ -1,8 +0,0 @@
1
- var J=Object.defineProperty;var V=(r,e,t)=>e in r?J(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var o=(r,e,t)=>(V(r,typeof e!="symbol"?e+"":e,t),t);import{h as C}from"./router.8ccbba96.js";import{d as N,am as I,c as m,o as p,a5 as _,a7 as z,h as G,e6 as W,e as v,r as h,a as T,b as L,g as Q,ed as X,u as x,aV as Y,_ as K,f as ee,eH as te,H as se,ae as oe,k as ie,N as O}from"./jwt-decode.esm.e1e8e181.js";import{P as re}from"./record.06867f70.js";import{u as b}from"./uuid.f4308f15.js";import{I as ae}from"./PhCopySimple.vue.beb69d1f.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="206d573b-a58e-4be0-951c-4abdb2554f14",r._sentryDebugIdIdentifier="sentry-dbid-206d573b-a58e-4be0-951c-4abdb2554f14")}catch{}})();const ne=["width","height","fill","transform"],le={key:0},ce=v("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1),he=[ce],de={key:1},ue=v("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),ge=v("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),fe=[ue,ge],pe={key:2},ye=v("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"},null,-1),ve=[ye],_e={key:3},me=v("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),we=[me],be={key:4},Se=v("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),Ce=[Se],Ie={key:5},Ae=v("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),Te=[Ae],xe={name:"PhCheckCircle"},Ee=N({...xe,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,t=I("weight","regular"),s=I("size","1em"),i=I("color","currentColor"),c=I("mirrored",!1),l=m(()=>{var n;return(n=e.weight)!=null?n:t}),g=m(()=>{var n;return(n=e.size)!=null?n:s}),d=m(()=>{var n;return(n=e.color)!=null?n:i}),f=m(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:c?"scale(-1, 1)":void 0);return(n,u)=>(p(),_("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:g.value,height:g.value,fill:d.value,transform:f.value},n.$attrs),[z(n.$slots,"default"),l.value==="bold"?(p(),_("g",le,he)):l.value==="duotone"?(p(),_("g",de,fe)):l.value==="fill"?(p(),_("g",pe,ve)):l.value==="light"?(p(),_("g",_e,we)):l.value==="regular"?(p(),_("g",be,Ce)):l.value==="thin"?(p(),_("g",Ie,Te)):G("",!0)],16,ne))}});class P{constructor(e,t){o(this,"staging");this.flag=e,this.acc=t,this.staging=""}}class Fe extends P{constructor(){super("___JSON_MODE___",[])}reduceChar(e){try{this.staging+=e;const t=JSON.parse(this.staging);return this.acc.push(t),this.staging="",t}catch{return}}reduce(e){const t=[];for(const s of e){const i=this.reduceChar(s);i!==void 0&&t.push(i)}return t}}class ke extends P{constructor(){super("___TEXT_MODE___","")}reduce(e){return this.staging+=e,this.acc=this.staging,e}}class Z{constructor(){o(this,"mode");o(this,"modes",[new ke,new Fe]);o(this,"staging","");o(this,"chunkOnBuffer","");o(this,"flagMap");o(this,"flagPrefixes");this.mode=this.modes[0],this.flagMap=new Map,this.flagPrefixes=new Set;for(const e of this.modes){this.flagMap.set(e.flag,e);for(let t=1;t<e.flag.length;t++)this.flagPrefixes.add(e.flag.slice(0,t))}}*reduce(e){for(const t of e){if(this.staging+=t,this.flagMap.has(this.staging)){this.mode=this.flagMap.get(this.staging),this.staging="";continue}if(!this.flagPrefixes.has(this.staging))for(;this.staging.length>0;){const s=this.staging[0];this.staging=this.staging.slice(1);const i=this.mode.reduce(s);if(i!==void 0&&(Array.isArray(i)?yield*i:yield i),this.flagPrefixes.has(this.staging))break}}}*reduceInChunks(e,t){let s="";for(const i of this.reduce(t))if(typeof i=="string")for(s+=i;s.length>=e;)yield s.slice(0,e),s=s.slice(e);else s.length>0&&(yield s,s=""),yield i;s.length>0&&(yield s)}}const R=300;class Me{constructor(){o(this,"_baseUrl","/_editor/api/ai");o(this,"_headers",{"Content-Type":"application/json"})}async*sendMessage(e,t,s,i,c){var n;const l={conversationId:e,content:t,context:s,humanApproval:c},g=await fetch(`${this._baseUrl}/stream`,{method:"POST",headers:this._headers,body:JSON.stringify(l)});if(!g.ok)throw new Error("Failed to send message");const d=(n=g.body)==null?void 0:n.getReader();if(!d)throw new Error("No response body");const f=new Z;for(;!i();){const u=await d.read();if(u.done)break;for(const y of f.reduceInChunks(R,new TextDecoder().decode(u.value)))yield y}}async deleteThread(e){if(!(await fetch(`${this._baseUrl}/thread/${e}`,{method:"DELETE",headers:this._headers})).ok)throw new Error("Failed to delete thread")}async abortStreaming(e){if(!(await fetch(`${this._baseUrl}/abort`,{method:"POST",headers:this._headers,body:JSON.stringify({langGraphThreadId:e})})).ok)throw new Error("Failed to abort streaming")}async getHistory(e,t){const s=await fetch(`${this._baseUrl}/history?limit=${e}&offset=${t}`,{method:"GET"});if(!s.ok)throw new Error("Failed to fetch history");return await s.json()}async vote(e,t,s,i){const c={vote:e,question:t,answer:s,context:i};await fetch(`${this._baseUrl}/vote`,{method:"POST",headers:this._headers,body:JSON.stringify(c)})}startConversation(){return new Promise((e,t)=>{fetch(`${this._baseUrl}/start-conversation`,{method:"POST",headers:this._headers}).then(s=>{if(!s.ok)throw new Error("Failed to start conversation");return s.json()}).then(s=>e(s)).catch(s=>t(s))})}}class He{constructor(e){o(this,"projectId");o(this,"baseUrl");this.projectId=e,this.baseUrl=`projects/${e}`}startConversation(){throw new Error("Method not implemented.")}async*sendMessage(e,t,s,i,c){var n;const l={conversationId:e,content:t,context:s,humanApproval:c},d=(n=(await C.postRaw(`${this.baseUrl}/messages`,l)).body)==null?void 0:n.getReader();if(!d)throw new Error("No response body");const f=new Z;for(;!i();){const u=await d.read();if(u.done)break;for(const y of f.reduceInChunks(R,new TextDecoder().decode(u.value)))yield y}}async abortStreaming(e){await C.post(`${this.baseUrl}/abort`,{langGraphThreadId:e})}async getHistory(e,t){const s={limit:`${e}`,offset:`${t}`};return await C.get(`${this.baseUrl}/history`,s)}async deleteThread(e){await C.delete(`${this.baseUrl}/threads/${e}`)}async vote(e,t,s,i){throw new Error("Method not implemented.")}}const $e=N({__name:"CopyButton",props:{textToCopy:{}},setup(r){const e=r,t=h(!1),s=()=>{navigator.clipboard.writeText(e.textToCopy),t.value=!0,setTimeout(()=>t.value=!1,2e3)},i=m(()=>t.value?"Copied!":"Copy to clipboard");return(c,l)=>(p(),T(x(Y),null,{title:L(()=>[Q(X(i.value),1)]),default:L(()=>[v("div",{class:"copy-button",onClick:s},[t.value?(p(),T(x(Ee),{key:1,color:"#fff",size:"22"})):(p(),T(x(ae),{key:0,color:"#fff",size:"22"}))])]),_:1}))}});const Le=K($e,[["__scopeId","data-v-9f87bac2"]]);class B{constructor(e,t){o(this,"_repository");o(this,"conversationId");o(this,"_input");o(this,"_badgeState");o(this,"_smartChatState");o(this,"_logService");o(this,"_hasError",h(null));o(this,"_isLoadingHistory",h(!1));o(this,"_history",h([]));o(this,"_threadHistoryFetchInfo",h({limit:10,offset:0,done:!1}));o(this,"_executingFormFile",h(null));o(this,"_recentlyAccessedThreads",h([]));o(this,"loadingAbort",h(!1));o(this,"codeForApproval",h(null));o(this,"setupThread",async()=>{this.conversationId.value=`abstra-assistant-thread-${b()}`,this._recentlyAccessedThreads.value.unshift({id:this.conversationId.value,messages:[],createdAt:new Date().toISOString()})});o(this,"fetchHistory",async()=>{this._isLoadingHistory.value=!0;const e=await this._repository.getHistory(this._threadHistoryFetchInfo.value.limit,this._threadHistoryFetchInfo.value.offset);this._history.value=e,this._isLoadingHistory.value=!1});o(this,"loadMoreHistory",async()=>{this._isLoadingHistory.value=!0,this._threadHistoryFetchInfo.value.offset+=this._threadHistoryFetchInfo.value.limit;const e=await this._repository.getHistory(this._threadHistoryFetchInfo.value.limit,this._threadHistoryFetchInfo.value.offset);e.length<this._threadHistoryFetchInfo.value.limit&&(this._threadHistoryFetchInfo.value.done=!0);const t=[...this._history.value,...e];this._history.value=t,this._isLoadingHistory.value=!1});o(this,"setError",e=>{this._hasError.value=e});o(this,"setExecutingFormFile",e=>{this._executingFormFile.value=e});o(this,"_fillChat",e=>{this._logService.clear();for(const t of e)t.toolTitle?(this._logService.log({type:"ai-tool-approval",toolCallId:t.toolCallId,description:t.toolTitle,args:{},disabled:!1,needsApproval:!1,loading:!1}),this._logService.log({type:"ai-tool-call-response",toolCallId:t.toolCallId,response:t.content})):this._logService.log({type:t.role==="user"?"ai-input":"ai-output",log:t.content});this.renderCopyButtons()});o(this,"moveThreadFromHistoryToRecents",e=>{this.conversationId.value=e;const t=this._history.value.find(i=>i.id===e);if(!t)throw new Error(`Thread ${e} not found`);const s=this._recentlyAccessedThreads.value.findIndex(i=>i.id===e);s!==-1&&this._recentlyAccessedThreads.value.splice(s,1),this._recentlyAccessedThreads.value.unshift(t),this._fillChat(t.messages)});o(this,"deleteThread",e=>{this._repository.deleteThread(e),this.removeFromRecentlyAccessedThreads(e);const t=this._history.value.findIndex(s=>s.id===e);t!==-1&&this._history.value.splice(t,1)});o(this,"setCurrentThreadFromRecents",e=>{this.conversationId.value=e;const t=this._recentlyAccessedThreads.value.findIndex(i=>i.id===e);if(t===-1)throw new Error(`Thread ${e} not found`);const[s]=this._recentlyAccessedThreads.value.splice(t,1);this._recentlyAccessedThreads.value.unshift(s),this._fillChat(s.messages)});o(this,"removeFromRecentlyAccessedThreads",e=>{const t=this._recentlyAccessedThreads.value.findIndex(s=>s.id===e);if(t===-1)throw new Error(`Thread ${e} not found`);if(this._recentlyAccessedThreads.value.splice(t,1),this._logService.clear(),this._recentlyAccessedThreads.value.length===0)this.conversationId.value=null;else{const s=this._recentlyAccessedThreads.value[0];this.conversationId.value=s.id,this._fillChat(s.messages)}});o(this,"renderCopyButtons",()=>{document.querySelectorAll("pre").forEach(t=>{t.style.position="relative";const s=ee(Le,{textToCopy:t.textContent});te(s,t)})});o(this,"clearLogService",()=>{this._logService.clear()});o(this,"send",async(e,t,s=0)=>{var i,c,l,g,d,f,n;this.conversationId.value||await this.setupThread(),s===0&&this._logService.log({type:"ai-input",log:this._input.value}),this._smartChatState.value="processing";try{const u=b(),y=this.conversationId.value;if(!y)throw new Error("Conversation ID is not set");const D=[{type:"text",text:this._input.value}],U={currentEditorUrl:window.location.href,panesInfo:e||{}},j=this._repository.sendMessage(y,D,U,this.isIdle.bind(this),t);let F="",k=u,A="";for await(const w of j){if(this.isIdle())break;this._smartChatState.value==="processing"&&(this._smartChatState.value="answering");const a=w;if(typeof a=="string")F+=a,A+=a,this._logService.log({type:"ai-output",log:A},k);else if(a instanceof Object){if(a.type==="ai-tool-approval"){const q=(i=a.args)==null?void 0:i.file,M=!!(((c=a.args)==null?void 0:c.replacements)||((l=a.args)==null?void 0:l.content))&&this._executingFormFile.value===q,H=M?"This action can\u2019t be performed while the form is running":void 0;if(this._logService.log({type:"ai-tool-approval",toolCallId:a.toolCallId,description:a.title,args:a.args,disabled:M,needsApproval:!0,loading:!1,...H&&{message:H}}),((g=a.args)==null?void 0:g.file)&&((d=a.args)==null?void 0:d.replacements)){let S=a.args.replacements;typeof S=="string"&&(S=JSON.parse(S)),this.codeForApproval.value={file:a.args.file,replacements:S.map($=>({oldContext:$.old_context,newContext:$.new_context}))}}else((f=a.args)==null?void 0:f.file)&&((n=a.args)==null?void 0:n.content)&&(this.codeForApproval.value={file:a.args.file,code:a.args.content})}}else a.type==="ai-tool-call"?(this._logService.log({type:"ai-tool-approval",toolCallId:a.toolCallId,description:a.title,args:a.args,disabled:!1,needsApproval:!1,loading:!1}),k=b(),A=""):a.type==="ai-tool-call-response"&&this._logService.log({type:"ai-tool-call-response",toolCallId:a.toolCallId,response:a.response})}this._recentlyAccessedThreads.value=this._recentlyAccessedThreads.value.map(w=>(w.id===this.conversationId.value&&w.messages.unshift({role:"assistant",content:F,createdAt:new Date().toISOString()}),w)),this._input.value="",this._smartChatState.value="idle",this.renderCopyButtons()}catch(u){console.error(u),se(u),s>3?(this._logService.log({type:"ai-output",log:"Sorry, there was an issue processing your request. Please try again later."}),this._input.value="",this._smartChatState.value="idle",this.renderCopyButtons()):(await this.abort(),this._input.value="There was an unexpected error, please try again. You must continue from where you stopped as if nothing happened.",this.send(e,t,s+1))}});o(this,"abort",async()=>{if(!this.conversationId.value)throw new Error("Conversation ID is not set");this.loadingAbort.value=!0,await this._repository.abortStreaming(this.conversationId.value),this._smartChatState.value="idle",this.loadingAbort.value=!1});o(this,"isLoadingHistory",()=>this._isLoadingHistory.value);o(this,"isProcessing",()=>this._smartChatState.value==="processing");o(this,"isAnswering",()=>this._smartChatState.value==="answering");o(this,"isIdle",()=>this._smartChatState.value==="idle");o(this,"setSeen",()=>{this._badgeState.value={type:"seen"}});o(this,"setUnseen",e=>{this._badgeState.value={type:"unseen",count:this._badgeState.value.type==="unseen"?this._badgeState.value.count+1:1,severity:e.type==="stderr"?"error":"info"}});o(this,"setInput",e=>{e=e==null?void 0:e.trimEnd(),this._input.value=e||""});o(this,"regenerateLast",async()=>{for(let e=this._logService.logs.length-1;e>=0;e--){const t=this._logService.logs[e];if(t.type==="ai-input"){this.setInput(t.log);break}}await this.send()});o(this,"fixJson",async(e,t)=>{this._logService.clear(),this._logService.log({type:"ai-input",log:`here is my json code:
2
- ${e}
3
- And I got this error:`}),this._logService.log({type:"stderr",log:t}),this.setSeen(),this.setInput("Can you fix this JSON?"),await this.send()});o(this,"askAboutError",async(e,t)=>{this._logService.clear(),this.setInput(["Fix the following error based on my logs:",...e.entries.map(s=>s.payload.text),`My current code is: ${t||"No code provided"}`].join(`
4
- `)),await this.send()});o(this,"fixIssueWithAI",async(e,t)=>{this._logService.clear(),this.setInput(["Fix the following issue in my code:",e.label,t.label].join(`
5
- `)),await this.send()});o(this,"vote",async(e,t)=>{const s=this._logService.logs[e],i=this._logService.logs[e-1],c=this._logService.logs.slice(0,e-1);await this._repository.vote(t,i,s,c)});this._repository=e,this._logService=t,this.conversationId=h(null),this._input=h(""),this._badgeState=h({type:"seen"}),this._smartChatState=h("idle")}init(){this.setupThread(),this.renderCopyButtons(),this.fetchHistory()}get hasError(){var e;return((e=this._hasError.value)==null?void 0:e.payload)||null}get logService(){return this._logService}shouldRenderLoadMoreHistory(){return!this._threadHistoryFetchInfo.value.done}get pastThreads(){return this._history.value.map(e=>e.messages.length===0?{threadId:e.id,title:"New thread"}:{threadId:e.id,title:e.messages[0].content.slice(0,20)+"..."})}get recentlyAccessedThreads(){return this._recentlyAccessedThreads.value.map(e=>({threadId:e.id,title:e.messages.length>0?e.messages[0].content.slice(0,20)+"...":"New thread"}))}get badgeState(){return this._badgeState.value}get input(){return this._input.value}}class E{constructor(){o(this,"logState",oe({log:[]}));o(this,"_listeners",{});o(this,"getLastExecutionLogs",e=>{let t="";for(let s=this.logs.length-1;s>=0;s--){const i=this.logs[s];if(i.type!==e&&t.length>0)break;i.type===e&&(t=`${i.log}
6
- ${t}`)}return t})}static create(){return new E}get logs(){return this.logState.log}hasAiLogs(){return this.logs.some(e=>e.type==="ai-input"||e.type==="ai-output")}log(e,t){if(e.type!=="restart"&&e.type!=="ai-tool-approval"&&e.type!=="ai-tool-call-response"&&"log"in e&&e.log.trim()==="")return;const s=t?this.logs.find(i=>i.id===t):null;return s?(s.type==="stderr"&&e.type==="stderr"&&(e.log=s.log+`
7
- `+e.log),Object.assign(s,e)):this.logs.push({...e,id:t||b()}),this.notifyListeners(e),t}clear(){this.logState.log=[]}listen(e){const t=b();return this._listeners[t]=e,t}unlisten(e){delete this._listeners[e]}notifyListeners(e){Object.values(this._listeners).forEach(t=>t(e))}}const Ue=new re,je=ie("omniChat",()=>{const r=h(!0),e=h(!1),t=E.create(),s=O(),i=O(),c=(u,y)=>{if(!i.value)if(u==="console"){if(!y)throw new Error("Project ID is required for console chat");s.value=new He(y),i.value=new B(s.value,t)}else s.value=new Me,i.value=new B(s.value,t)},l=()=>{e.value=!0},g=()=>{e.value=!1},d=()=>{r.value=!0,l()},f=()=>{r.value=!1,g()};return{isOpen:r,isInputFocused:e,focusInput:l,blurInput:g,open:d,close:f,toggle:()=>{r.value?f():d()},controller:m(()=>i.value),repository:s,init:c}});export{Ee as H,Me as L,B as S,E as a,Ue as o,je as u};
8
- //# sourceMappingURL=omniChatStore.19fcae1a.js.map
@@ -1,2 +0,0 @@
1
- import{s as n,t as r,v as o,x as d,P as c,C as p,y as f,z as m,B as a,D as u,E as g,F as y,G as l}from"./jwt-decode.esm.e1e8e181.js";import{a as b,b as i}from"./router.c00c99d7.js";import{s as w}from"./workspaceStore.cca10750.js";import{_ as h}from"./App.vue_vue_type_style_index_0_lang.79524273.js";import"./userStore.51f1e2d0.js";import"./url.62ce842c.js";import"./colorHelpers.e94da383.js";import"./PlayerConfigProvider.0915b29f.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="d15e71c8-7f81-41aa-9461-74e1175ad0e4",t._sentryDebugIdIdentifier="sentry-dbid-d15e71c8-7f81-41aa-9461-74e1175ad0e4")}catch{}})();class _{static init(){setInterval(()=>{fetch("/_healthcheck").catch(()=>{})},20*1e3)}}(async()=>{await w();const t=await b(),s=n(),e=r({render:()=>u(h)});o.init(),d(e,i,t),_.init(),e.use(i),e.use(s),e.use(c),e.mount("#app"),e.component("VSelect",p),e.component("Markdown",f),e.component("Message",m),a(e,g),a(e,y),a(e,l)})();
2
- //# sourceMappingURL=player.b9e54e21.js.map
@@ -1,2 +0,0 @@
1
- var o=Object.defineProperty;var d=(e,s,t)=>s in e?o(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t;var n=(e,s,t)=>(d(e,typeof s!="symbol"?s+"":s,t),t);import{N as p,eD as c,em as r}from"./jwt-decode.esm.e1e8e181.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="13a5cd80-618a-4316-930e-6bf7e1b5a5a7",e._sentryDebugIdIdentifier="sentry-dbid-13a5cd80-618a-4316-930e-6bf7e1b5a5a7")}catch{}})();class b{constructor(){n(this,"topics");n(this,"subUid");this.topics={},this.subUid=-1}subscribe(s,t){const i=(++this.subUid).toString();return this.topics[s]||(this.topics[s]=[]),this.topics[s].push({token:i,func:t}),i}async wait(s){return new Promise(t=>{const i=this.subscribe(s,a=>{this.unsubscribe(i),t(a)})})}async publish(s,...t){if(!this.topics[s])return!1;const i=this.topics[s];let a=i?i.length:0;for(;a--;)await i[a].func(t[0]);return!0}unsubscribe(s){for(const t in this.topics)if(this.topics[t]){for(let i=0,a=this.topics[t].length;i<a;i++)if(this.topics[t][i].token===s)return this.topics[t].splice(i,1),s}return!1}reset(){this.topics={},this.subUid=-1}}class h{constructor(s){n(this,"initialState");n(this,"pubsub");n(this,"_changes");this.initialState=s,this.pubsub=new b,this._changes=p({})}static from(s){return c(new h(s))}get changes(){return this._changes.value}get(s){var t;return(t=this.changes[s])!=null?t:this.initialState[s]}set(s,t){this._changes.value={...this.changes,[s]:t}}hasChanges(s){return s?s in this.changes:Object.keys(this.changes).length>0}hasChangesDeep(s){return s in this.changes&&!r.exports.isEqual(this.initialState[s],this.changes[s])}get state(){return{...this.initialState,...this.changes}}resetChanges(){const s={...this.changes};this._changes.value={},this.pubsub.publish("update",s)}onUpdate(s){this.pubsub.subscribe("update",s)}commit(){this.initialState=this.state,this._changes.value={}}toDTO(){return{...this.state,...this._changes.value}}update(s){this._changes.value={...this.changes,...s}}}class l extends h{constructor(t,i){super(i);n(this,"api");this.api=t}static create(t,i){return c(new l(t,i))}getInitialState(t){return this.initialState[t]}updateInitialState(t,i){this.initialState[t]=i,delete this._changes.value[t]}async save(t){if(Object.keys(this.changes).length===0||t&&!(t in this.changes))return;if(t){const a={[t]:this.changes[t]},u=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...u},delete this._changes.value[t];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}class g extends h{constructor(t,i){super(i);n(this,"api");n(this,"debouncedSave");this.api=t,this.debouncedSave=r.exports.debounce(()=>{this.save()},500)}static create(t,i){return c(new g(t,i))}getInitialState(t){return this.initialState[t]}updateInitialState(t,i){this.initialState[t]=i,delete this._changes.value[t]}set(t,i){super.set(t,i),this.debouncedSave()}async save(t){if(Object.keys(this.changes).length===0||t&&!(t in this.changes))return;if(t){const a={[t]:this.changes[t]},u=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...u},delete this._changes.value[t];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}export{g as A,h as E,b as P,l as a};
2
- //# sourceMappingURL=record.06867f70.js.map
@@ -1,2 +0,0 @@
1
- var p=Object.defineProperty;var h=(r,t,e)=>t in r?p(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var i=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{h as a}from"./router.8ccbba96.js";import{l as u}from"./fetch.cfa094a0.js";import{E as l}from"./record.06867f70.js";import"./jwt-decode.esm.e1e8e181.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="cc5f8f7d-3295-4e82-ae17-b6cb461e6e87",r._sentryDebugIdIdentifier="sentry-dbid-cc5f8f7d-3295-4e82-ae17-b6cb461e6e87")}catch{}})();class c{constructor(t){i(this,"record");this.record=l.from(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}get description(){return this.record.get("description")||""}set description(t){this.record.set("description",t)}get projectId(){return this.record.get("projectId")}static from(t){return new c(t)}commit(){this.record.commit()}hasChanges(){return this.record.hasChanges()}get changes(){return this.record.changes}update(t){this.record.update(t)}}class f{constructor(){i(this,"urlPath","roles")}async create(t,e){return a.post(`projects/${t}/${this.urlPath}`,e)}async delete(t,e){await a.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t,{limit:e,offset:s}){const o={};e&&(o.limit=e.toString()),s&&(o.offset=s.toString());const d=new URLSearchParams(o);return a.get(`projects/${t}/${this.urlPath}?${d.toString()}`)}async update(t,e,s){return a.patch(`projects/${t}/${this.urlPath}/${e}`,s)}}const n=new f;class I{constructor(t){this.projectId=t}async list(t,e){return(await n.list(this.projectId,{limit:t,offset:e})).map(c.from)}async create(t){await n.create(this.projectId,t)}async update(t,e){await n.update(this.projectId,t,e)}async delete(t){await n.delete(this.projectId,t)}}class ${constructor(t=u){this.fetch=t}async list(t,e){const s={};t&&(s.limit=t.toString()),e&&(s.offset=e.toString());const o=new URLSearchParams(s);return(await(await this.fetch(`/_editor/api/roles?${o.toString()}`,{method:"GET",headers:{"Content-Type":"application/json"}})).json()).map(c.from)}}export{I as C,$ as E};
2
- //# sourceMappingURL=repository.40cf87c6.js.map
@@ -1,2 +0,0 @@
1
- import{f as h,e7 as m,eI as S,eJ as I,d as _,o as c,a as l,u,h as $}from"./jwt-decode.esm.e1e8e181.js";import{L as x}from"./LoadingOutlined.659d6aae.js";import{h as d}from"./router.8ccbba96.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="398ddff8-3a21-4cbf-9649-72e6c2b13249",r._sentryDebugIdIdentifier="sentry-dbid-398ddff8-3a21-4cbf-9649-72e6c2b13249")}catch{}})();var P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-circle",theme:"filled"};const F=P;function w(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){k(r,s,t[s])})}return r}function k(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var b=function(e,t){var n=w({},e,t.attrs);return h(m,w({},n,{icon:S}),null)};b.displayName="CheckCircleFilled";b.inheritAttrs=!1;const E=b;function j(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){A(r,s,t[s])})}return r}function A(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var y=function(e,t){var n=j({},e,t.attrs);return h(m,j({},n,{icon:I}),null)};y.displayName="CloseCircleFilled";y.inheritAttrs=!1;const D=y;function v(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){M(r,s,t[s])})}return r}function M(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var C=function(e,t){var n=v({},e,t.attrs);return h(m,v({},n,{icon:F}),null)};C.displayName="MinusCircleFilled";C.inheritAttrs=!1;const L=C,B=_({__name:"ExecutionStatusIcon",props:{status:{}},setup(r){return(e,t)=>e.status==="finished"?(c(),l(u(E),{key:0,style:{color:"#33b891"}})):e.status==="failed"?(c(),l(u(D),{key:1,style:{color:"#fa675c"}})):e.status==="abandoned"||e.status==="lock-failed"?(c(),l(u(L),{key:2,style:{color:"#f69220"}})):e.status==="running"?(c(),l(u(x),{key:3})):$("",!0)}}),z=["running","lock-failed","failed","finished","abandoned"];class f{constructor(e){this.dto=e}static from(e){return new f(e)}get entries(){return this.dto.sort((e,t)=>e.sequence-t.sequence).filter(e=>e.event!=="form-message")}}class g{constructor(e){this.dto=e}static from(e){return new g(e)}get id(){return this.dto.id}get shortId(){return this.dto.id.slice(0,8)}get createdAt(){return new Date(this.dto.createdAt)}get updatedAt(){return new Date(this.dto.updatedAt)}get status(){return this.dto.status}get context(){return this.dto.context}get buildId(){var e;return(e=this.dto.buildId)!=null?e:""}get stageId(){return this.dto.stageId}get duration_seconds(){return this.status==="running"?"-":`${(this.updatedAt.getTime()-this.createdAt.getTime())/1e3} s`}get stageRunId(){return this.dto.stageRunId}get projectId(){return this.dto.projectId}}class V{async list({projectId:e,...t}){var p,a;const n={...t,offset:(p=t.offset)==null?void 0:p.toString(),limit:(a=t.limit)==null?void 0:a.toString()};Object.keys(n).forEach(o=>n[o]===void 0&&delete n[o]);const s=await d.get(`projects/${e}/executions`,n);return{executions:s.executions.map(o=>g.from(o)),totalCount:s.totalCount}}async fetchLogs(e,t){const n=await d.get(`projects/${e}/executions/${t}/logs`);return f.from(n)}async fetchThreadData(e,t){return(await d.get(`projects/${e}/executions/${t}/thread-data`)).response}async getExecutionTasks(e,t){return await d.get(`projects/${e}/executions/${t}/tasks`)}async fetchStages(){throw new Error("Method not implemented.")}}class G{async list(e){var o,O;const t={...e,offset:(o=e.offset)==null?void 0:o.toString(),limit:(O=e.limit)==null?void 0:O.toString()};Object.keys(t).forEach(i=>t[i]===void 0&&delete t[i]);const n=Object.fromEntries(Object.entries(t!=null?t:{}).filter(([,i])=>i!=null)),s=Object.keys(n).length>0?`?${new URLSearchParams(n).toString()}`:"",a=await(await fetch(`/_editor/api/executions${s}`)).json();return{executions:a.executions.map(i=>g.from(i)),totalCount:a.totalCount}}async fetchLogs(e,t){const s=await(await fetch(`/_editor/api/logs/${t}`)).json();return f.from(s)}async fetchThreadData(){return{}}async getExecutionTasks(e,t){return await(await fetch(`/_editor/api/executions/${t}/tasks`)).json()}async fetchStages(){return await(await fetch("/_editor/api/executions/stages")).json()}}export{E as C,G as L,V as R,B as _,z as e};
2
- //# sourceMappingURL=repository.ecf19994.js.map
@@ -1,10 +0,0 @@
1
- var $t=Object.defineProperty;var yt=(e,t,n)=>t in e?$t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Oe=(e,t,n)=>(yt(e,typeof t!="symbol"?t+"":t,n),n);import{d as N,c as w,ae as St,r as M,w as fe,I as xt,X as g,f as c,ah as G,ag as F,aQ as Ct,aF as re,av as B,ab as se,aT as ce,ac as de,dh as je,an as ee,aj as R,di as Ye,bT as wt,aD as ue,aX as _t,aY as Me,aZ as Qe,a_ as ke,b6 as k,aM as W,aN as J,aL as Ce,dj as It,bh as At,ap as Ie,dk as Pt,dl as Et,dm as et,dn as Tt,bu as Ot,aA as Rt,N as Be,aK as zt,c8 as Bt,ad as Ae,dp as tt,am as nt,aR as Lt,aJ as Dt,dq as Mt,dr as Nt,ao as ot,ds as Ht,dt as jt,aq as at,a4 as it,bz as we,du as _e,az as Wt,dv as Vt,aO as Gt,dw as Kt,bO as Ft,dx as lt,S as Xt,au as rt,bD as ve,as as We,ar as U,at as Ut,dy as Zt,dz as Jt,l as Ve,cL as st,O as qt,L as Yt,Q as Qt,H as ct,m as kt,n as en,p as A,q as tn}from"./jwt-decode.esm.e1e8e181.js";import{d as te}from"./index.57a61691.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="960f3043-ae33-4b4b-9fcf-1e6714f0d9e9",e._sentryDebugIdIdentifier="sentry-dbid-960f3043-ae33-4b4b-9fcf-1e6714f0d9e9")}catch{}})();function Ge(e){let{prefixCls:t,value:n,current:o,offset:a=0}=e,i;return a&&(i={position:"absolute",top:`${a}00%`,left:0}),c("p",{style:i,class:G(`${t}-only-unit`,{current:o})},[n])}function nn(e,t,n){let o=e,a=0;for(;(o+10)%10!==t;)o+=n,a+=n;return a}const on=N({compatConfig:{MODE:3},name:"SingleNumber",props:{prefixCls:String,value:String,count:Number},setup(e){const t=w(()=>Number(e.value)),n=w(()=>Math.abs(e.count)),o=St({prevValue:t.value,prevCount:n.value}),a=()=>{o.prevValue=t.value,o.prevCount=n.value},i=M();return fe(t,()=>{clearTimeout(i.value),i.value=setTimeout(()=>{a()},1e3)},{flush:"post"}),xt(()=>{clearTimeout(i.value)}),()=>{let s,r={};const d=t.value;if(o.prevValue===d||Number.isNaN(d)||Number.isNaN(o.prevValue))s=[Ge(g(g({},e),{current:!0}))],r={transition:"none"};else{s=[];const p=d+10,h=[];for(let b=d;b<=p;b+=1)h.push(b);const v=h.findIndex(b=>b%10===o.prevValue);s=h.map((b,l)=>{const m=b%10;return Ge(g(g({},e),{value:m,offset:l-v,current:l===v}))});const u=o.prevCount<n.value?1:-1;r={transform:`translateY(${-nn(o.prevValue,d,u)}00%)`}}return c("span",{class:`${e.prefixCls}-only`,style:r,onTransitionend:()=>a()},[s])}}});var an=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};const ln={prefixCls:String,count:B.any,component:String,title:B.any,show:Boolean},rn=N({compatConfig:{MODE:3},name:"ScrollNumber",inheritAttrs:!1,props:ln,setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:a}=F("scroll-number",e);return()=>{var i;const s=g(g({},e),n),{prefixCls:r,count:d,title:p,show:h,component:v="sup",class:u,style:b}=s,l=an(s,["prefixCls","count","title","show","component","class","style"]),m=g(g({},l),{style:b,"data-show":e.show,class:G(a.value,u),title:p});let $=d;if(d&&Number(d)%1===0){const y=String(d).split("");$=y.map((S,C)=>c(on,{prefixCls:a.value,count:Number(d),value:S,key:y.length-C},null))}b&&b.borderColor&&(m.style=g(g({},b),{boxShadow:`0 0 0 1px ${b.borderColor} inset`}));const f=Ct((i=o.default)===null||i===void 0?void 0:i.call(o));return f&&f.length?re(f,{class:G(`${a.value}-custom-component`)},!1):c(v,m,{default:()=>[$]})}}}),sn=new ce("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),cn=new ce("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),dn=new ce("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),un=new ce("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),mn=new ce("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),gn=new ce("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),pn=e=>{const{componentCls:t,iconCls:n,antCls:o,badgeFontHeight:a,badgeShadowSize:i,badgeHeightSm:s,motionDurationSlow:r,badgeStatusSize:d,marginXS:p,badgeRibbonOffset:h}=e,v=`${o}-scroll-number`,u=`${o}-ribbon`,b=`${o}-ribbon-wrapper`,l=je(e,($,f)=>{let{darkColor:y}=f;return{[`&${t} ${t}-color-${$}`]:{background:y,[`&:not(${t}-count)`]:{color:y}}}}),m=je(e,($,f)=>{let{darkColor:y}=f;return{[`&${u}-color-${$}`]:{background:y,color:y}}});return{[t]:g(g(g(g({},ee(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${i}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:s,height:s,fontSize:e.badgeFontSizeSm,lineHeight:`${s}px`,borderRadius:s/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${i}px ${e.badgeShadowColor}`},[`${t}-dot${v}`]:{transition:`background ${r}`},[`${t}-count, ${t}-dot, ${v}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:gn,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:d,height:d,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:i,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:sn,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:p,color:e.colorText,fontSize:e.fontSize}}}),l),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:cn,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:dn,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:un,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:mn,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${v}-custom-component, ${t}-count`]:{transform:"none"},[`${v}-custom-component, ${v}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${v}`]:{overflow:"hidden",[`${v}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${v}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${v}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${v}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${b}`]:{position:"relative"},[`${u}`]:g(g(g(g({},ee(e)),{position:"absolute",top:p,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${a}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${u}-text`]:{color:e.colorTextLightSolid},[`${u}-corner`]:{position:"absolute",top:"100%",width:h,height:h,color:"currentcolor",border:`${h/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),m),{[`&${u}-placement-end`]:{insetInlineEnd:-h,borderEndEndRadius:0,[`${u}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${u}-placement-start`]:{insetInlineStart:-h,borderEndStartRadius:0,[`${u}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},dt=se("Badge",e=>{const{fontSize:t,lineHeight:n,fontSizeSM:o,lineWidth:a,marginXS:i,colorBorderBg:s}=e,r=Math.round(t*n),d=a,p="auto",h=r-2*d,v=e.colorBgContainer,u="normal",b=o,l=e.colorError,m=e.colorErrorHover,$=t,f=o/2,y=o,S=o/2,C=de(e,{badgeFontHeight:r,badgeShadowSize:d,badgeZIndex:p,badgeHeight:h,badgeTextColor:v,badgeFontWeight:u,badgeFontSize:b,badgeColor:l,badgeColorHover:m,badgeShadowColor:s,badgeHeightSm:$,badgeDotSize:f,badgeFontSizeSm:y,badgeStatusSize:S,badgeProcessingDuration:"1.2s",badgeRibbonOffset:i,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[pn(C)]});var bn=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};const fn=()=>({prefix:String,color:{type:String},text:B.any,placement:{type:String,default:"end"}}),Le=N({compatConfig:{MODE:3},name:"ABadgeRibbon",inheritAttrs:!1,props:fn(),slots:Object,setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:a,direction:i}=F("ribbon",e),[s,r]=dt(a),d=w(()=>Ye(e.color,!1)),p=w(()=>[a.value,`${a.value}-placement-${e.placement}`,{[`${a.value}-rtl`]:i.value==="rtl",[`${a.value}-color-${e.color}`]:d.value}]);return()=>{var h,v;const{class:u,style:b}=n,l=bn(n,["class","style"]),m={},$={};return e.color&&!d.value&&(m.background=e.color,$.color=e.color),s(c("div",R({class:`${a.value}-wrapper ${r.value}`},l),[(h=o.default)===null||h===void 0?void 0:h.call(o),c("div",{class:[p.value,u,r.value],style:g(g({},m),b)},[c("span",{class:`${a.value}-text`},[e.text||((v=o.text)===null||v===void 0?void 0:v.call(o))]),c("div",{class:`${a.value}-corner`,style:$},null)])]))}}}),hn=e=>!isNaN(parseFloat(e))&&isFinite(e),vn=hn,$n=()=>({count:B.any.def(null),showZero:{type:Boolean,default:void 0},overflowCount:{type:Number,default:99},dot:{type:Boolean,default:void 0},prefixCls:String,scrollNumberPrefixCls:String,status:{type:String},size:{type:String,default:"default"},color:String,text:B.any,offset:Array,numberStyle:{type:Object,default:void 0},title:String}),Re=N({compatConfig:{MODE:3},name:"ABadge",Ribbon:Le,inheritAttrs:!1,props:$n(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:a,direction:i}=F("badge",e),[s,r]=dt(a),d=w(()=>e.count>e.overflowCount?`${e.overflowCount}+`:e.count),p=w(()=>d.value==="0"||d.value===0),h=w(()=>e.count===null||p.value&&!e.showZero),v=w(()=>(e.status!==null&&e.status!==void 0||e.color!==null&&e.color!==void 0)&&h.value),u=w(()=>e.dot&&!p.value),b=w(()=>u.value?"":d.value),l=w(()=>(b.value===null||b.value===void 0||b.value===""||p.value&&!e.showZero)&&!u.value),m=M(e.count),$=M(b.value),f=M(u.value);fe([()=>e.count,b,u],()=>{l.value||(m.value=e.count,$.value=b.value,f.value=u.value)},{immediate:!0});const y=w(()=>Ye(e.color,!1)),S=w(()=>({[`${a.value}-status-dot`]:v.value,[`${a.value}-status-${e.status}`]:!!e.status,[`${a.value}-color-${e.color}`]:y.value})),C=w(()=>e.color&&!y.value?{background:e.color,color:e.color}:{}),z=w(()=>({[`${a.value}-dot`]:f.value,[`${a.value}-count`]:!f.value,[`${a.value}-count-sm`]:e.size==="small",[`${a.value}-multiple-words`]:!f.value&&$.value&&$.value.toString().length>1,[`${a.value}-status-${e.status}`]:!!e.status,[`${a.value}-color-${e.color}`]:y.value}));return()=>{var I,P;const{offset:T,title:H,color:j}=e,K=o.style,V=wt(n,e,"text"),x=a.value,_=m.value;let E=ue((I=n.default)===null||I===void 0?void 0:I.call(n));E=E.length?E:null;const L=!!(!l.value||n.count),O=(()=>{if(!T)return g({},K);const X={marginTop:vn(T[1])?`${T[1]}px`:T[1]};return i.value==="rtl"?X.left=`${parseInt(T[0],10)}px`:X.right=`${-parseInt(T[0],10)}px`,g(g({},X),K)})(),D=H!=null?H:typeof _=="string"||typeof _=="number"?_:void 0,q=L||!V?null:c("span",{class:`${x}-status-text`},[V]),me=typeof _=="object"||_===void 0&&n.count?re(_!=null?_:(P=n.count)===null||P===void 0?void 0:P.call(n),{style:O},!1):null,ge=G(x,{[`${x}-status`]:v.value,[`${x}-not-a-wrapper`]:!E,[`${x}-rtl`]:i.value==="rtl"},o.class,r.value);if(!E&&v.value){const X=O.color;return s(c("span",R(R({},o),{},{class:ge,style:O}),[c("span",{class:S.value,style:C.value},null),c("span",{style:{color:X},class:`${x}-status-text`},[V])]))}const pe=_t(E?`${x}-zoom`:"",{appear:!1});let Y=g(g({},O),e.numberStyle);return j&&!y.value&&(Y=Y||{},Y.background=j),s(c("span",R(R({},o),{},{class:ge}),[E,c(Me,pe,{default:()=>[Qe(c(rn,{prefixCls:e.scrollNumberPrefixCls,show:L,class:z.value,count:$.value,title:D,style:Y,key:"scrollNumber"},{default:()=>[me]}),[[ke,L]])]}),q]))}}});Re.install=function(e){return e.component(Re.name,Re),e.component(Le.name,Le),e};const yn=()=>({prefixCls:String,activeKey:k([Array,Number,String]),defaultActiveKey:k([Array,Number,String]),accordion:W(),destroyInactivePanel:W(),bordered:W(),expandIcon:J(),openAnimation:B.object,expandIconPosition:Ce(),collapsible:Ce(),ghost:W(),onChange:J(),"onUpdate:activeKey":J()}),ut=()=>({openAnimation:B.object,prefixCls:String,header:B.any,headerClass:String,showArrow:W(),isActive:W(),destroyInactivePanel:W(),disabled:W(),accordion:W(),forceRender:W(),expandIcon:J(),extra:B.any,panelKey:k(),collapsible:Ce(),role:String,onItemClick:J()}),Sn=e=>{const{componentCls:t,collapseContentBg:n,padding:o,collapseContentPaddingHorizontal:a,collapseHeaderBg:i,collapseHeaderPadding:s,collapsePanelBorderRadius:r,lineWidth:d,lineType:p,colorBorder:h,colorText:v,colorTextHeading:u,colorTextDisabled:b,fontSize:l,lineHeight:m,marginSM:$,paddingSM:f,motionDurationSlow:y,fontSizeIcon:S}=e,C=`${d}px ${p} ${h}`;return{[t]:g(g({},ee(e)),{backgroundColor:i,border:C,borderBottom:0,borderRadius:`${r}px`,["&-rtl"]:{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:C,["&:last-child"]:{[`
2
- &,
3
- & > ${t}-header`]:{borderRadius:`0 0 ${r}px ${r}px`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:s,color:u,lineHeight:m,cursor:"pointer",transition:`all ${y}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:l*m,display:"flex",alignItems:"center",paddingInlineEnd:$},[`${t}-arrow`]:g(g({},At()),{fontSize:S,svg:{transition:`transform ${y}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-header-collapsible-only`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"},[`${t}-expand-icon`]:{cursor:"pointer"}},[`${t}-icon-collapsible-only`]:{cursor:"default",[`${t}-expand-icon`]:{cursor:"pointer"}},[`&${t}-no-arrow`]:{[`> ${t}-header`]:{paddingInlineStart:f}}},[`${t}-content`]:{color:v,backgroundColor:n,borderTop:C,[`& > ${t}-content-box`]:{padding:`${o}px ${a}px`},["&-hidden"]:{display:"none"}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${r}px ${r}px`}},[`& ${t}-item-disabled > ${t}-header`]:{[`
4
- &,
5
- & > .arrow
6
- `]:{color:b,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:$}}}}})}},xn=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow svg`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},Cn=e=>{const{componentCls:t,collapseHeaderBg:n,paddingXXS:o,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[`
7
- > ${t}-item:last-child,
8
- > ${t}-item:last-child ${t}-header
9
- `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:o}}}},wn=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},_n=se("Collapse",e=>{const t=de(e,{collapseContentBg:e.colorBgContainer,collapseHeaderBg:e.colorFillAlter,collapseHeaderPadding:`${e.paddingSM}px ${e.padding}px`,collapsePanelBorderRadius:e.borderRadiusLG,collapseContentPaddingHorizontal:16});return[Sn(t),Cn(t),wn(t),xn(t),It(t)]});function Ke(e){let t=e;if(!Array.isArray(t)){const n=typeof t;t=n==="number"||n==="string"?[t]:[]}return t.map(n=>String(n))}const Se=N({compatConfig:{MODE:3},name:"ACollapse",inheritAttrs:!1,props:Ie(yn(),{accordion:!1,destroyInactivePanel:!1,bordered:!0,expandIconPosition:"start"}),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:a}=t;const i=M(Ke(Pt([e.activeKey,e.defaultActiveKey])));fe(()=>e.activeKey,()=>{i.value=Ke(e.activeKey)},{deep:!0});const{prefixCls:s,direction:r,rootPrefixCls:d}=F("collapse",e),[p,h]=_n(s),v=w(()=>{const{expandIconPosition:f}=e;return f!==void 0?f:r.value==="rtl"?"end":"start"}),u=f=>{const{expandIcon:y=o.expandIcon}=e,S=y?y(f):c(Ot,{rotate:f.isActive?90:void 0},null);return c("div",{class:[`${s.value}-expand-icon`,h.value],onClick:()=>["header","icon"].includes(e.collapsible)&&l(f.panelKey)},[Rt(Array.isArray(y)?S[0]:S)?re(S,{class:`${s.value}-arrow`},!1):S])},b=f=>{e.activeKey===void 0&&(i.value=f);const y=e.accordion?f[0]:f;a("update:activeKey",y),a("change",y)},l=f=>{let y=i.value;if(e.accordion)y=y[0]===f?[]:[f];else{y=[...y];const S=y.indexOf(f);S>-1?y.splice(S,1):y.push(f)}b(y)},m=(f,y)=>{var S,C,z;if(et(f))return;const I=i.value,{accordion:P,destroyInactivePanel:T,collapsible:H,openAnimation:j}=e,K=j||Tt(`${d.value}-motion-collapse`),V=String((S=f.key)!==null&&S!==void 0?S:y),{header:x=(z=(C=f.children)===null||C===void 0?void 0:C.header)===null||z===void 0?void 0:z.call(C),headerClass:_,collapsible:E,disabled:L}=f.props||{};let O=!1;P?O=I[0]===V:O=I.indexOf(V)>-1;let D=E!=null?E:H;(L||L==="")&&(D="disabled");const q={key:V,panelKey:V,header:x,headerClass:_,isActive:O,prefixCls:s.value,destroyInactivePanel:T,openAnimation:K,accordion:P,onItemClick:D==="disabled"?null:l,expandIcon:u,collapsible:D};return re(f,q)},$=()=>{var f;return ue((f=o.default)===null||f===void 0?void 0:f.call(o)).map(m)};return()=>{const{accordion:f,bordered:y,ghost:S}=e,C=G(s.value,{[`${s.value}-borderless`]:!y,[`${s.value}-icon-position-${v.value}`]:!0,[`${s.value}-rtl`]:r.value==="rtl",[`${s.value}-ghost`]:!!S,[n.class]:!!n.class},h.value);return p(c("div",R(R({class:C},Et(n)),{},{style:n.style,role:f?"tablist":null}),[$()]))}}}),In=N({compatConfig:{MODE:3},name:"PanelContent",props:ut(),setup(e,t){let{slots:n}=t;const o=Be(!1);return zt(()=>{(e.isActive||e.forceRender)&&(o.value=!0)}),()=>{var a;if(!o.value)return null;const{prefixCls:i,isActive:s,role:r}=e;return c("div",{class:G(`${i}-content`,{[`${i}-content-active`]:s,[`${i}-content-inactive`]:!s}),role:r},[c("div",{class:`${i}-content-box`},[(a=n.default)===null||a===void 0?void 0:a.call(n)])])}}}),De=N({compatConfig:{MODE:3},name:"ACollapsePanel",inheritAttrs:!1,props:Ie(ut(),{showArrow:!0,isActive:!1,onItemClick(){},headerClass:"",forceRender:!1}),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:a}=t;Bt(e.disabled===void 0,"Collapse.Panel",'`disabled` is deprecated. Please use `collapsible="disabled"` instead.');const{prefixCls:i}=F("collapse",e),s=()=>{o("itemClick",e.panelKey)},r=d=>{(d.key==="Enter"||d.keyCode===13||d.which===13)&&s()};return()=>{var d,p;const{header:h=(d=n.header)===null||d===void 0?void 0:d.call(n),headerClass:v,isActive:u,showArrow:b,destroyInactivePanel:l,accordion:m,forceRender:$,openAnimation:f,expandIcon:y=n.expandIcon,extra:S=(p=n.extra)===null||p===void 0?void 0:p.call(n),collapsible:C}=e,z=C==="disabled",I=i.value,P=G(`${I}-header`,{[v]:v,[`${I}-header-collapsible-only`]:C==="header",[`${I}-icon-collapsible-only`]:C==="icon"}),T=G({[`${I}-item`]:!0,[`${I}-item-active`]:u,[`${I}-item-disabled`]:z,[`${I}-no-arrow`]:!b,[`${a.class}`]:!!a.class});let H=c("i",{class:"arrow"},null);b&&typeof y=="function"&&(H=y(e));const j=Qe(c(In,{prefixCls:I,isActive:u,forceRender:$,role:m?"tabpanel":null},{default:n.default}),[[ke,u]]),K=g({appear:!1,css:!1},f);return c("div",R(R({},a),{},{class:T}),[c("div",{class:P,onClick:()=>!["header","icon"].includes(C)&&s(),role:m?"tab":"button",tabindex:z?-1:0,"aria-expanded":u,onKeypress:r},[b&&H,c("span",{onClick:()=>C==="header"&&s(),class:`${I}-header-text`},[h]),S&&c("div",{class:`${I}-extra`},[S])]),c(Me,K,{default:()=>[!l||u?j:null]})])}}});Se.Panel=De;Se.install=function(e){return e.component(Se.name,Se),e.component(De.name,De),e};const vo=Ae(tt);function $e(e){return e!=null}const An=e=>{const{itemPrefixCls:t,component:n,span:o,labelStyle:a,contentStyle:i,bordered:s,label:r,content:d,colon:p}=e,h=n;return s?c(h,{class:[{[`${t}-item-label`]:$e(r),[`${t}-item-content`]:$e(d)}],colSpan:o},{default:()=>[$e(r)&&c("span",{style:a},[r]),$e(d)&&c("span",{style:i},[d])]}):c(h,{class:[`${t}-item`],colSpan:o},{default:()=>[c("div",{class:`${t}-item-container`},[(r||r===0)&&c("span",{class:[`${t}-item-label`,{[`${t}-item-no-colon`]:!p}],style:a},[r]),(d||d===0)&&c("span",{class:`${t}-item-content`,style:i},[d])])]})},ze=An,Pn=e=>{const t=(p,h,v)=>{let{colon:u,prefixCls:b,bordered:l}=h,{component:m,type:$,showLabel:f,showContent:y,labelStyle:S,contentStyle:C}=v;return p.map((z,I)=>{var P,T;const H=z.props||{},{prefixCls:j=b,span:K=1,labelStyle:V=H["label-style"],contentStyle:x=H["content-style"],label:_=(T=(P=z.children)===null||P===void 0?void 0:P.label)===null||T===void 0?void 0:T.call(P)}=H,E=Dt(z),L=Mt(z),O=Nt(z),{key:D}=z;return typeof m=="string"?c(ze,{key:`${$}-${String(D)||I}`,class:L,style:O,labelStyle:g(g({},S),V),contentStyle:g(g({},C),x),span:K,colon:u,component:m,itemPrefixCls:j,bordered:l,label:f?_:null,content:y?E:null},null):[c(ze,{key:`label-${String(D)||I}`,class:L,style:g(g(g({},S),O),V),span:1,colon:u,component:m[0],itemPrefixCls:j,bordered:l,label:_},null),c(ze,{key:`content-${String(D)||I}`,class:L,style:g(g(g({},C),O),x),span:K*2-1,component:m[1],itemPrefixCls:j,bordered:l,content:E},null)]})},{prefixCls:n,vertical:o,row:a,index:i,bordered:s}=e,{labelStyle:r,contentStyle:d}=nt(gt,{labelStyle:M({}),contentStyle:M({})});return o?c(Lt,null,[c("tr",{key:`label-${i}`,class:`${n}-row`},[t(a,e,{component:"th",type:"label",showLabel:!0,labelStyle:r.value,contentStyle:d.value})]),c("tr",{key:`content-${i}`,class:`${n}-row`},[t(a,e,{component:"td",type:"content",showContent:!0,labelStyle:r.value,contentStyle:d.value})])]):c("tr",{key:i,class:`${n}-row`},[t(a,e,{component:s?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,labelStyle:r.value,contentStyle:d.value})])},En=Pn,Tn=e=>{const{componentCls:t,descriptionsSmallPadding:n,descriptionsDefaultPadding:o,descriptionsMiddlePadding:a,descriptionsBg:i}=e;return{[`&${t}-bordered`]:{[`${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"}},[`${t}-item-label, ${t}-item-content`]:{padding:o,borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`${t}-item-label`]:{backgroundColor:i,"&::after":{display:"none"}},[`${t}-row`]:{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"}},[`&${t}-middle`]:{[`${t}-item-label, ${t}-item-content`]:{padding:a}},[`&${t}-small`]:{[`${t}-item-label, ${t}-item-content`]:{padding:n}}}}},On=e=>{const{componentCls:t,descriptionsExtraColor:n,descriptionItemPaddingBottom:o,descriptionsItemLabelColonMarginRight:a,descriptionsItemLabelColonMarginLeft:i,descriptionsTitleMarginBottom:s}=e;return{[t]:g(g(g({},ee(e)),Tn(e)),{["&-rtl"]:{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:s},[`${t}-title`]:g(g({},ot),{flex:"auto",color:e.colorText,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${t}-row`]:{"> th, > td":{paddingBottom:o},"&:last-child":{borderBottom:"none"}},[`${t}-item-label`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${i}px ${a}px`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},Rn=se("Descriptions",e=>{const t=e.colorFillAlter,n=e.fontSizeSM*e.lineHeightSM,o=e.colorText,a=`${e.paddingXS}px ${e.padding}px`,i=`${e.padding}px ${e.paddingLG}px`,s=`${e.paddingSM}px ${e.paddingLG}px`,r=e.padding,d=e.marginXS,p=e.marginXXS/2,h=de(e,{descriptionsBg:t,descriptionsTitleMarginBottom:n,descriptionsExtraColor:o,descriptionItemPaddingBottom:r,descriptionsSmallPadding:a,descriptionsDefaultPadding:i,descriptionsMiddlePadding:s,descriptionsItemLabelColonMarginRight:d,descriptionsItemLabelColonMarginLeft:p});return[On(h)]});B.any;const zn=()=>({prefixCls:String,label:B.any,labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0},span:{type:Number,default:1}}),Bn=N({compatConfig:{MODE:3},name:"ADescriptionsItem",props:zn(),setup(e,t){let{slots:n}=t;return()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),mt={xxxl:3,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function Ln(e,t){if(typeof e=="number")return e;if(typeof e=="object")for(let n=0;n<_e.length;n++){const o=_e[n];if(t[o]&&e[o]!==void 0)return e[o]||mt[o]}return 3}function Fe(e,t,n){let o=e;return(n===void 0||n>t)&&(o=re(e,{span:t}),Wt()),o}function Dn(e,t){const n=ue(e),o=[];let a=[],i=t;return n.forEach((s,r)=>{var d;const p=(d=s.props)===null||d===void 0?void 0:d.span,h=p||1;if(r===n.length-1){a.push(Fe(s,i,p)),o.push(a);return}h<i?(i-=h,a.push(s)):(a.push(Fe(s,i,h)),o.push(a),i=t,a=[])}),o}const Mn=()=>({prefixCls:String,bordered:{type:Boolean,default:void 0},size:{type:String,default:"default"},title:B.any,extra:B.any,column:{type:[Number,Object],default:()=>mt},layout:String,colon:{type:Boolean,default:void 0},labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0}}),gt=Symbol("descriptionsContext"),ae=N({compatConfig:{MODE:3},name:"ADescriptions",inheritAttrs:!1,props:Mn(),slots:Object,Item:Bn,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:a,direction:i}=F("descriptions",e);let s;const r=M({}),[d,p]=Rn(a),h=Ht();jt(()=>{s=h.value.subscribe(u=>{typeof e.column=="object"&&(r.value=u)})}),at(()=>{h.value.unsubscribe(s)}),it(gt,{labelStyle:we(e,"labelStyle"),contentStyle:we(e,"contentStyle")});const v=w(()=>Ln(e.column,r.value));return()=>{var u,b,l;const{size:m,bordered:$=!1,layout:f="horizontal",colon:y=!0,title:S=(u=n.title)===null||u===void 0?void 0:u.call(n),extra:C=(b=n.extra)===null||b===void 0?void 0:b.call(n)}=e,z=(l=n.default)===null||l===void 0?void 0:l.call(n),I=Dn(z,v.value);return d(c("div",R(R({},o),{},{class:[a.value,{[`${a.value}-${m}`]:m!=="default",[`${a.value}-bordered`]:!!$,[`${a.value}-rtl`]:i.value==="rtl"},o.class,p.value]}),[(S||C)&&c("div",{class:`${a.value}-header`},[S&&c("div",{class:`${a.value}-title`},[S]),C&&c("div",{class:`${a.value}-extra`},[C])]),c("div",{class:`${a.value}-view`},[c("table",null,[c("tbody",null,[I.map((P,T)=>c(En,{key:T,index:T,colon:y,prefixCls:a.value,vertical:f==="vertical",bordered:$,row:P},null))])])])]))}}});ae.install=function(e){return e.component(ae.name,ae),e.component(ae.Item.name,ae.Item),e};const $o=ae,Nn=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:o,lineWidth:a}=e;return{[t]:g(g({},ee(e)),{borderBlockStart:`${a}px solid ${o}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${a}px solid ${o}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${o}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${a}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:o,borderStyle:"dashed",borderWidth:`${a}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStart:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},Hn=se("Divider",e=>{const t=de(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[Nn(t)]},{sizePaddingEdgeHorizontal:0}),jn=()=>({prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}),Wn=N({name:"ADivider",inheritAttrs:!1,compatConfig:{MODE:3},props:jn(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:a,direction:i}=F("divider",e),[s,r]=Hn(a),d=w(()=>e.orientation==="left"&&e.orientationMargin!=null),p=w(()=>e.orientation==="right"&&e.orientationMargin!=null),h=w(()=>{const{type:b,dashed:l,plain:m}=e,$=a.value;return{[$]:!0,[r.value]:!!r.value,[`${$}-${b}`]:!0,[`${$}-dashed`]:!!l,[`${$}-plain`]:!!m,[`${$}-rtl`]:i.value==="rtl",[`${$}-no-default-orientation-margin-left`]:d.value,[`${$}-no-default-orientation-margin-right`]:p.value}}),v=w(()=>{const b=typeof e.orientationMargin=="number"?`${e.orientationMargin}px`:e.orientationMargin;return g(g({},d.value&&{marginLeft:b}),p.value&&{marginRight:b})}),u=w(()=>e.orientation.length>0?"-"+e.orientation:e.orientation);return()=>{var b;const l=ue((b=n.default)===null||b===void 0?void 0:b.call(n));return s(c("div",R(R({},o),{},{class:[h.value,l.length?`${a.value}-with-text ${a.value}-with-text${u.value}`:"",o.class],role:"separator"}),[l.length?c("span",{class:`${a.value}-inner-text`,style:v.value},[l]):null]))}}}),yo=Ae(Wn),Vn=()=>({avatar:B.any,description:B.any,prefixCls:String,title:B.any}),Gn=N({compatConfig:{MODE:3},name:"AListItemMeta",props:Vn(),displayName:"AListItemMeta",__ANT_LIST_ITEM_META:!0,slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:o}=F("list",e);return()=>{var a,i,s,r,d,p;const h=`${o.value}-item-meta`,v=(a=e.title)!==null&&a!==void 0?a:(i=n.title)===null||i===void 0?void 0:i.call(n),u=(s=e.description)!==null&&s!==void 0?s:(r=n.description)===null||r===void 0?void 0:r.call(n),b=(d=e.avatar)!==null&&d!==void 0?d:(p=n.avatar)===null||p===void 0?void 0:p.call(n),l=c("div",{class:`${o.value}-item-meta-content`},[v&&c("h4",{class:`${o.value}-item-meta-title`},[v]),u&&c("div",{class:`${o.value}-item-meta-description`},[u])]);return c("div",{class:h},[b&&c("div",{class:`${o.value}-item-meta-avatar`},[b]),(v||u)&&l])}}}),pt=Symbol("ListContextKey");var Kn=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};const Fn=()=>({prefixCls:String,extra:B.any,actions:B.array,grid:Object,colStyle:{type:Object,default:void 0}}),Xn=N({compatConfig:{MODE:3},name:"AListItem",inheritAttrs:!1,Meta:Gn,props:Fn(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{itemLayout:a,grid:i}=nt(pt,{grid:M(),itemLayout:M()}),{prefixCls:s}=F("list",e),r=()=>{var p;const h=((p=n.default)===null||p===void 0?void 0:p.call(n))||[];let v;return h.forEach(u=>{Vt(u)&&!et(u)&&(v=!0)}),v&&h.length>1},d=()=>{var p,h;const v=(p=e.extra)!==null&&p!==void 0?p:(h=n.extra)===null||h===void 0?void 0:h.call(n);return a.value==="vertical"?!!v:!r()};return()=>{var p,h,v,u,b;const{class:l}=o,m=Kn(o,["class"]),$=s.value,f=(p=e.extra)!==null&&p!==void 0?p:(h=n.extra)===null||h===void 0?void 0:h.call(n),y=(v=n.default)===null||v===void 0?void 0:v.call(n);let S=(u=e.actions)!==null&&u!==void 0?u:ue((b=n.actions)===null||b===void 0?void 0:b.call(n));S=S&&!Array.isArray(S)?[S]:S;const C=S&&S.length>0&&c("ul",{class:`${$}-item-action`,key:"actions"},[S.map((P,T)=>c("li",{key:`${$}-item-action-${T}`},[P,T!==S.length-1&&c("em",{class:`${$}-item-action-split`},null)]))]),z=i.value?"div":"li",I=c(z,R(R({},m),{},{class:G(`${$}-item`,{[`${$}-item-no-flex`]:!d()},l)}),{default:()=>[a.value==="vertical"&&f?[c("div",{class:`${$}-item-main`,key:"content"},[y,C]),c("div",{class:`${$}-item-extra`,key:"extra"},[f])]:[y,C,re(f,{key:"extra"})]]});return i.value?c(tt,{flex:1,style:e.colStyle},{default:()=>[I]}):I}}}),Un=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:o,margin:a,padding:i,listItemPaddingSM:s,marginLG:r,borderRadiusLG:d}=e;return{[`${t}`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:d,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:o},[`${n}-pagination`]:{margin:`${a}px ${r}px`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:s}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:`${i}px ${o}px`}}}},Zn=e=>{const{componentCls:t,screenSM:n,screenMD:o,marginLG:a,marginSM:i,margin:s}=e;return{[`@media screen and (max-width:${o})`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${n})`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${s}px`}}}}}},Jn=e=>{const{componentCls:t,antCls:n,controlHeight:o,minHeight:a,paddingSM:i,marginLG:s,padding:r,listItemPadding:d,colorPrimary:p,listItemPaddingSM:h,listItemPaddingLG:v,paddingXS:u,margin:b,colorText:l,colorTextDescription:m,motionDurationSlow:$,lineWidth:f}=e;return{[`${t}`]:g(g({},ee(e)),{position:"relative","*":{outline:"none"},[`${t}-header, ${t}-footer`]:{background:"transparent",paddingBlock:i},[`${t}-pagination`]:{marginBlockStart:s,textAlign:"end",[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:d,color:l,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:r},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:l},[`${t}-item-meta-title`]:{marginBottom:e.marginXXS,color:l,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:l,transition:`all ${$}`,["&:hover"]:{color:p}}},[`${t}-item-meta-description`]:{color:m,fontSize:e.fontSize,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none",["& > li"]:{position:"relative",display:"inline-block",padding:`0 ${u}px`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center",["&:first-child"]:{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:f,height:Math.ceil(e.fontSize*e.lineHeight)-e.marginXXS*2,transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${r}px 0`,color:m,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:r,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:b,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:s},[`${t}-item-meta`]:{marginBlockEnd:r,[`${t}-item-meta-title`]:{marginBlockEnd:i,color:l,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:r,marginInlineStart:"auto","> li":{padding:`0 ${r}px`,["&:first-child"]:{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,["&:last-child"]:{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:o},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:v},[`${t}-sm ${t}-item`]:{padding:h},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},qn=se("List",e=>{const t=de(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG,listItemPadding:`${e.paddingContentVertical}px ${e.paddingContentHorizontalLG}px`,listItemPaddingSM:`${e.paddingContentVerticalSM}px ${e.paddingContentHorizontal}px`,listItemPaddingLG:`${e.paddingContentVerticalLG}px ${e.paddingContentHorizontalLG}px`});return[Jn(t),Un(t),Zn(t)]},{contentWidth:220}),Yn=()=>({bordered:W(),dataSource:rt(),extra:ve(),grid:We(),itemLayout:String,loading:k([Boolean,Object]),loadMore:ve(),pagination:k([Boolean,Object]),prefixCls:String,rowKey:k([String,Number,Function]),renderItem:J(),size:String,split:W(),header:ve(),footer:ve(),locale:We()}),Z=N({compatConfig:{MODE:3},name:"AList",inheritAttrs:!1,Item:Xn,props:Ie(Yn(),{dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;var a,i;it(pt,{grid:we(e,"grid"),itemLayout:we(e,"itemLayout")});const s={current:1,total:0},{prefixCls:r,direction:d,renderEmpty:p}=F("list",e),[h,v]=qn(r),u=w(()=>e.pagination&&typeof e.pagination=="object"?e.pagination:{}),b=M((a=u.value.defaultCurrent)!==null&&a!==void 0?a:1),l=M((i=u.value.defaultPageSize)!==null&&i!==void 0?i:10);fe(u,()=>{"current"in u.value&&(b.value=u.value.current),"pageSize"in u.value&&(l.value=u.value.pageSize)});const m=[],$=x=>(_,E)=>{b.value=_,l.value=E,u.value[x]&&u.value[x](_,E)},f=$("onChange"),y=$("onShowSizeChange"),S=w(()=>typeof e.loading=="boolean"?{spinning:e.loading}:e.loading),C=w(()=>S.value&&S.value.spinning),z=w(()=>{let x="";switch(e.size){case"large":x="lg";break;case"small":x="sm";break}return x}),I=w(()=>({[`${r.value}`]:!0,[`${r.value}-vertical`]:e.itemLayout==="vertical",[`${r.value}-${z.value}`]:z.value,[`${r.value}-split`]:e.split,[`${r.value}-bordered`]:e.bordered,[`${r.value}-loading`]:C.value,[`${r.value}-grid`]:!!e.grid,[`${r.value}-rtl`]:d.value==="rtl"})),P=w(()=>{const x=g(g(g({},s),{total:e.dataSource.length,current:b.value,pageSize:l.value}),e.pagination||{}),_=Math.ceil(x.total/x.pageSize);return x.current>_&&(x.current=_),x}),T=w(()=>{let x=[...e.dataSource];return e.pagination&&e.dataSource.length>(P.value.current-1)*P.value.pageSize&&(x=[...e.dataSource].splice((P.value.current-1)*P.value.pageSize,P.value.pageSize)),x}),H=Gt(),j=Kt(()=>{for(let x=0;x<_e.length;x+=1){const _=_e[x];if(H.value[_])return _}}),K=w(()=>{if(!e.grid)return;const x=j.value&&e.grid[j.value]?e.grid[j.value]:e.grid.column;if(x)return{width:`${100/x}%`,maxWidth:`${100/x}%`}}),V=(x,_)=>{var E;const L=(E=e.renderItem)!==null&&E!==void 0?E:n.renderItem;if(!L)return null;let O;const D=typeof e.rowKey;return D==="function"?O=e.rowKey(x):D==="string"||D==="number"?O=x[e.rowKey]:O=x.key,O||(O=`list-item-${_}`),m[_]=O,L({item:x,index:_})};return()=>{var x,_,E,L,O,D,q,me;const ge=(x=e.loadMore)!==null&&x!==void 0?x:(_=n.loadMore)===null||_===void 0?void 0:_.call(n),pe=(E=e.footer)!==null&&E!==void 0?E:(L=n.footer)===null||L===void 0?void 0:L.call(n),Y=(O=e.header)!==null&&O!==void 0?O:(D=n.header)===null||D===void 0?void 0:D.call(n),X=ue((q=n.default)===null||q===void 0?void 0:q.call(n)),ft=!!(ge||e.pagination||pe),ht=G(g(g({},I.value),{[`${r.value}-something-after-last-item`]:ft}),o.class,v.value),Ne=e.pagination?c("div",{class:`${r.value}-pagination`},[c(Ft,R(R({},P.value),{},{onChange:f,onShowSizeChange:y}),null)]):null;let Pe=C.value&&c("div",{style:{minHeight:"53px"}},null);if(T.value.length>0){m.length=0;const He=T.value.map((Ee,Te)=>V(Ee,Te)),vt=He.map((Ee,Te)=>c("div",{key:m[Te],style:K.value},[Ee]));Pe=e.grid?c(lt,{gutter:e.grid.gutter},{default:()=>[vt]}):c("ul",{class:`${r.value}-items`},[He])}else!X.length&&!C.value&&(Pe=c("div",{class:`${r.value}-empty-text`},[((me=e.locale)===null||me===void 0?void 0:me.emptyText)||p("List")]));const he=P.value.position||"bottom";return h(c("div",R(R({},o),{},{class:ht}),[(he==="top"||he==="both")&&Ne,Y&&c("div",{class:`${r.value}-header`},[Y]),c(Xt,S.value,{default:()=>[Pe,X]}),pe&&c("div",{class:`${r.value}-footer`},[pe]),ge||(he==="bottom"||he==="both")&&Ne]))}}});Z.install=function(e){return e.component(Z.name,Z),e.component(Z.Item.name,Z.Item),e.component(Z.Item.Meta.name,Z.Item.Meta),e};const So=Z,xo=Ae(lt);function Xe(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function Ue(e){return{backgroundColor:e.bgColorSelected,boxShadow:e.boxShadow}}const Qn=g({overflow:"hidden"},ot),kn=e=>{const{componentCls:t}=e;return{[t]:g(g(g(g(g({},ee(e)),{display:"inline-block",padding:e.segmentedContainerPadding,color:e.labelColor,backgroundColor:e.bgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":g(g({},Ue(e)),{color:e.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.labelColorHover,"&::after":{backgroundColor:e.bgColorHover}},"&-label":g({minHeight:e.controlHeight-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeight-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`},Qn),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:g(g({},Ue(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightLG-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightSM-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),Xe(`&-disabled ${t}-item`,e)),Xe(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},eo=se("Segmented",e=>{const{lineWidthBold:t,lineWidth:n,colorTextLabel:o,colorText:a,colorFillSecondary:i,colorBgLayout:s,colorBgElevated:r}=e,d=de(e,{segmentedPaddingHorizontal:e.controlPaddingHorizontal-n,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-n,segmentedContainerPadding:t,labelColor:o,labelColorHover:a,bgColor:s,bgColorHover:i,bgColorSelected:r});return[kn(d)]}),Ze=e=>e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null,ne=e=>e!==void 0?`${e}px`:void 0,to=N({props:{value:U(),getValueIndex:U(),prefixCls:U(),motionName:U(),onMotionStart:U(),onMotionEnd:U(),direction:U(),containerRef:U()},emits:["motionStart","motionEnd"],setup(e,t){let{emit:n}=t;const o=M(),a=l=>{var m;const $=e.getValueIndex(l),f=(m=e.containerRef.value)===null||m===void 0?void 0:m.querySelectorAll(`.${e.prefixCls}-item`)[$];return(f==null?void 0:f.offsetParent)&&f},i=M(null),s=M(null);fe(()=>e.value,(l,m)=>{const $=a(m),f=a(l),y=Ze($),S=Ze(f);i.value=y,s.value=S,n($&&f?"motionStart":"motionEnd")},{flush:"post"});const r=w(()=>{var l,m;return e.direction==="rtl"?ne(-((l=i.value)===null||l===void 0?void 0:l.right)):ne((m=i.value)===null||m===void 0?void 0:m.left)}),d=w(()=>{var l,m;return e.direction==="rtl"?ne(-((l=s.value)===null||l===void 0?void 0:l.right)):ne((m=s.value)===null||m===void 0?void 0:m.left)});let p;const h=l=>{clearTimeout(p),Ut(()=>{l&&(l.style.transform="translateX(var(--thumb-start-left))",l.style.width="var(--thumb-start-width)")})},v=l=>{p=setTimeout(()=>{l&&(Zt(l,`${e.motionName}-appear-active`),l.style.transform="translateX(var(--thumb-active-left))",l.style.width="var(--thumb-active-width)")})},u=l=>{i.value=null,s.value=null,l&&(l.style.transform=null,l.style.width=null,Jt(l,`${e.motionName}-appear-active`)),n("motionEnd")},b=w(()=>{var l,m;return{"--thumb-start-left":r.value,"--thumb-start-width":ne((l=i.value)===null||l===void 0?void 0:l.width),"--thumb-active-left":d.value,"--thumb-active-width":ne((m=s.value)===null||m===void 0?void 0:m.width)}});return at(()=>{clearTimeout(p)}),()=>{const l={ref:o,style:b.value,class:[`${e.prefixCls}-thumb`]};return c(Me,{appear:!0,onBeforeEnter:h,onEnter:v,onAfterEnter:u},{default:()=>[!i.value||!s.value?null:c("div",l,null)]})}}}),no=to;function oo(e){return e.map(t=>typeof t=="object"&&t!==null?t:{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t})}const ao=()=>({prefixCls:String,options:rt(),block:W(),disabled:W(),size:Ce(),value:g(g({},k([String,Number])),{required:!0}),motionName:String,onChange:J(),"onUpdate:value":J()}),bt=(e,t)=>{let{slots:n,emit:o}=t;const{value:a,disabled:i,payload:s,title:r,prefixCls:d,label:p=n.label,checked:h,className:v}=e,u=b=>{i||o("change",b,a)};return c("label",{class:G({[`${d}-item-disabled`]:i},v)},[c("input",{class:`${d}-item-input`,type:"radio",disabled:i,checked:h,onChange:u},null),c("div",{class:`${d}-item-label`,title:typeof r=="string"?r:""},[typeof p=="function"?p({value:a,disabled:i,payload:s,title:r}):p!=null?p:a])])};bt.inheritAttrs=!1;const io=N({name:"ASegmented",inheritAttrs:!1,props:Ie(ao(),{options:[],motionName:"thumb-motion"}),slots:Object,setup(e,t){let{emit:n,slots:o,attrs:a}=t;const{prefixCls:i,direction:s,size:r}=F("segmented",e),[d,p]=eo(i),h=Be(),v=Be(!1),u=w(()=>oo(e.options)),b=(l,m)=>{e.disabled||(n("update:value",m),n("change",m))};return()=>{const l=i.value;return d(c("div",R(R({},a),{},{class:G(l,{[p.value]:!0,[`${l}-block`]:e.block,[`${l}-disabled`]:e.disabled,[`${l}-lg`]:r.value=="large",[`${l}-sm`]:r.value=="small",[`${l}-rtl`]:s.value==="rtl"},a.class),ref:h}),[c("div",{class:`${l}-group`},[c(no,{containerRef:h,prefixCls:l,value:e.value,motionName:`${l}-${e.motionName}`,direction:s.value,getValueIndex:m=>u.value.findIndex($=>$.value===m),onMotionStart:()=>{v.value=!0},onMotionEnd:()=>{v.value=!1}},null),u.value.map(m=>c(bt,R(R({key:m.value,prefixCls:l,checked:m.value===e.value,onChange:b},m),{},{className:G(m.className,`${l}-item`,{[`${l}-item-selected`]:m.value===e.value&&!v.value}),disabled:!!e.disabled||!!m.disabled}),o))])]))}}}),Co=Ae(io),lo=()=>window.location.host.includes(".abstra.io"),ro={"cloud-api":"/api/cloud-api",onboarding:"https://onboarding.abstra.app"},so={"cloud-api":"https://cloud-api.abstra.cloud",onboarding:"https://onboarding.abstra.app"},Je=e=>{const t="VITE_"+Ve.toUpper(Ve.snakeCase(e)),n={VITE_SENTRY_RELEASE:"3827cc33d910331a2c68156560640034967d7a19",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[t];return n||(lo()?ro[e]:so[e])},oe={cloudApi:Je("cloud-api"),onboarding:Je("onboarding")},co=(e,t,n)=>{st.error({message:e,description:t,onClick:n})};class uo{constructor(){Oe(this,"storage");this.storage=new qt(Yt.string(),"auth:jwt")}async authenticate(t,n){le.post("authn/authenticate",{email:t,isResend:n})}async verify(t,n){const o=await le.post("authn/verify",{email:t,token:n});if(!(o&&"jwt"in o))throw new Error("Invalid token");return this.saveJWT(o.jwt),this.getAuthor()}saveJWT(t){this.storage.set(t)}getAuthor(){const t=this.storage.get();if(t)try{const n=Qt(t);if(n.exp&&n.exp>Date.now()/1e3)return{jwt:t,claims:n}}catch{console.warn("Invalid JWT")}return null}removeAuthor(){this.storage.remove()}async logout(){try{await le.post("authn/logout",{})}catch(t){ct(t,{extra:{message:"Logout API call failed"}})}finally{this.removeAuthor()}}get headers(){const t=this.getAuthor();return t?{"Author-Authorization":`Bearer ${t.jwt}`}:{}}}const Q=new uo;class be extends Error{constructor(t,n){super(t),this.status=n}static async fromResponse(t){const n=await t.text();return new be(n,t.status)}}class le{static async get(t,n){const o=Object.fromEntries(Object.entries(n!=null?n:{}).filter(([,r])=>r!=null)),a=Object.keys(o).length>0?`?${new URLSearchParams(o).toString()}`:"",i=await fetch(`${oe.cloudApi}/console/${t}${a}`,{headers:{...Q.headers}});if(i.status===403){co("You are not authorized to access this resource","Click here to go back to the home page.",()=>{window.location.href="/"});return}const s=await i.text();return s?JSON.parse(s):null}static async getBlob(t){return await(await fetch(`${oe.cloudApi}/console/${t}`,{headers:{...Q.headers}})).blob()}static async post(t,n,o){const a=!!(o!=null&&o["Content-Type"])&&o["Content-Type"]!=="application/json",i=await fetch(`${oe.cloudApi}/console/${t}`,{method:"POST",headers:{"Content-Type":"application/json",...Q.headers,...o},body:a?n:JSON.stringify(n)});if(!i.ok)throw await be.fromResponse(i);const s=await i.text();return s?JSON.parse(s):null}static async postRaw(t,n,o){const a=!!(o!=null&&o["Content-Type"])&&o["Content-Type"]!=="application/json";return await fetch(`${oe.cloudApi}/console/${t}`,{method:"POST",headers:{"Content-Type":"application/json",...Q.headers,...o},body:a?n:JSON.stringify(n)})}static async patch(t,n){const o=await fetch(`${oe.cloudApi}/console/${t}`,{method:"PATCH",headers:{"Content-Type":"application/json",...Q.headers},body:JSON.stringify(n)});if(!o.ok)throw await be.fromResponse(o);const a=await o.text();return a?JSON.parse(a):null}static async delete(t){const n=await fetch(`${oe.cloudApi}/console/${t}`,{method:"DELETE",headers:{"Content-Type":"application/json",...Q.headers}});if(!n.ok)throw await be.fromResponse(n)}}class mo{static async getInfo(){return await le.get("authors/info")}}const ie=class{static showError(){st.error({message:"Unable to Load Support Chat",description:"It looks like some browser extensions, such as ad blockers, may be preventing the support chat from loading. Please try disabling them or reach out to us at help@abstra.app"})}static boot(){ie.booted||(te.Intercom({app_id:"h97k86ks"}),mo.getInfo().then(t=>{te.boot({api_base:"https://api-iam.intercom.io",app_id:"h97k86ks",name:t.email,email:t.email,user_hash:t.intercomHash,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),ie.booted=!0}).catch(t=>{console.error(t),ct(t)}))}static show(){try{te.show()}catch(t){console.error("Error showing Intercom:",t),ie.showError()}}static hide(){te.hide()}static showNewMessage(t){te.showNewMessage(t)}static shutdown(){te.shutdown(),ie.booted=!1}};let xe=ie;Oe(xe,"booted",!1);class go{async createSession(t){await le.post("usage/sessions",t)}async trackBrowserEvent(t){await le.post("usage/browser",t)}}const ye=new go;class po{static trackSession(){const t=Object.fromEntries(document.cookie.split("; ").map(o=>o.split(/=(.*)/s).map(decodeURIComponent))),n=new URLSearchParams(window.location.search).get("session")||t.abstra_session;ye.createSession({query:Object.fromEntries(new URLSearchParams(location.search)),referrer:document.referrer,href:location.href,previousSessionId:n}).catch(console.error)}static trackPageView(){ye.trackBrowserEvent({event:"PageView",payload:{queryParams:Object.fromEntries(new URLSearchParams(location.search)),referrer:document.referrer,href:location.href}}).catch(console.error)}static billingAlertCtaClicked(t,n){ye.trackBrowserEvent({event:"BillingAlertCtaClicked",payload:{cta:n,organizationId:t,href:location.href}}).catch(console.error)}static billingPlanUpgradeClicked(t){ye.trackBrowserEvent({event:"BillingPlanUpgradeClicked",payload:{organizationId:t,href:location.href}}).catch(console.error)}}const qe=kt({history:en("/"),routes:[{path:"/mock-form",name:"mock-form",component:()=>A(()=>import("./MockForm.8b56fd25.js"),["assets/MockForm.8b56fd25.js","assets/FormRunner.2b75fd4d.js","assets/userStore.51f1e2d0.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/Login.vue_vue_type_script_setup_true_lang.eb94ecc3.js","assets/workspaceStore.cca10750.js","assets/url.62ce842c.js","assets/colorHelpers.e94da383.js","assets/CircularLoading.bc88c029.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.a32d36e7.js","assets/Logo.b7d81119.css","assets/string.ea3b2597.js","assets/index.fe015dd3.js","assets/Login.75d13f6c.css","assets/Steps.4c850501.js","assets/index.005bab7f.js","assets/Steps.2880920a.css","assets/Watermark.c71c105b.js","assets/constants.b75d9567.js","assets/Watermark.b0916e90.css","assets/FormRunner.46f6426d.css","assets/asyncComputed.bfb7341c.js","assets/uuid.f4308f15.js","assets/PlayerConfigProvider.0915b29f.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/MockForm.e410c2c1.css"]),meta:{public:!0,title:"Mock Form - Abstra Console"}},{path:"/widget-preview",name:"widget-preview",component:()=>A(()=>import("./WidgetPreview.8bd406f7.js"),["assets/WidgetPreview.8bd406f7.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/Steps.4c850501.js","assets/index.005bab7f.js","assets/Steps.2880920a.css","assets/PlayerConfigProvider.0915b29f.js","assets/colorHelpers.e94da383.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/WidgetPreview.dbf510e6.css"]),meta:{public:!0,title:"Preview - Abstra Console"}},{path:"/login",name:"login",component:()=>A(()=>import("./Login.8491c4b7.js"),["assets/Login.8491c4b7.js","assets/CircularLoading.bc88c029.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/CircularLoading.a8fe2dc6.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js","assets/Logo.a32d36e7.js","assets/Logo.b7d81119.css","assets/string.ea3b2597.js","assets/index.fe015dd3.js","assets/index.57a61691.js","assets/Login.eb150441.css"]),meta:{public:!0,title:"Login - Abstra Console"}},{path:"/onboarding",name:"onboarding",component:()=>A(()=>import("./OnboardingView.262e82cc.js"),["assets/OnboardingView.262e82cc.js","assets/userStore.51f1e2d0.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/index.eb8f01b7.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js","assets/Logo.a32d36e7.js","assets/Logo.b7d81119.css","assets/index.005bab7f.js","assets/index.57a61691.js","assets/OnboardingView.3996b08d.css"]),meta:{title:"Onboarding - Abstra Console"}},{path:"/api-key",name:"api-key",component:()=>A(()=>import("./EditorLogin.e704b2ee.js"),["assets/EditorLogin.e704b2ee.js","assets/Navbar.6acd9007.js","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/constants.b75d9567.js","assets/asyncComputed.bfb7341c.js","assets/PhChats.vue.88d84608.js","assets/PhSignOut.vue.aa78b6eb.js","assets/index.eb8f01b7.js","assets/index.161ccee5.js","assets/omniChatStore.19fcae1a.js","assets/record.06867f70.js","assets/uuid.f4308f15.js","assets/PhCopySimple.vue.beb69d1f.js","assets/omniChatStore.ec95fb81.css","assets/PhBookBookmark.vue.7bb66888.js","assets/PhSparkle.vue.7820be45.js","assets/index.ee218f7a.js","assets/Breadcrumb.f11a16d0.js","assets/Navbar.2dc6d02c.css","assets/url.62ce842c.js","assets/apiKey.e3aa9e16.js","assets/member.af05829c.js","assets/organization.a29009bc.js","assets/project.a9ad86e9.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/folder.fe6adcd2.js","assets/index.57a61691.js","assets/EditorLogin.3d18a45f.css"]),meta:{title:"Api Keys - Abstra Console"}},{path:"/",name:"home",redirect:{name:"organizations"},meta:{title:"Home - Abstra Console"}},{path:"/organizations",name:"organizations",component:()=>A(()=>import("./Organizations.d90dd629.js"),["assets/Organizations.d90dd629.js","assets/Navbar.6acd9007.js","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/constants.b75d9567.js","assets/asyncComputed.bfb7341c.js","assets/PhChats.vue.88d84608.js","assets/PhSignOut.vue.aa78b6eb.js","assets/index.eb8f01b7.js","assets/index.161ccee5.js","assets/omniChatStore.19fcae1a.js","assets/record.06867f70.js","assets/uuid.f4308f15.js","assets/PhCopySimple.vue.beb69d1f.js","assets/omniChatStore.ec95fb81.css","assets/PhBookBookmark.vue.7bb66888.js","assets/PhSparkle.vue.7820be45.js","assets/index.ee218f7a.js","assets/Breadcrumb.f11a16d0.js","assets/Navbar.2dc6d02c.css","assets/BaseLayout.ac22ef55.js","assets/BaseLayout.e1744dcc.css","assets/ContentLayout.072b3790.js","assets/ContentLayout.cdae7d24.css","assets/CrudView.79588134.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js","assets/url.62ce842c.js","assets/PhDotsThreeVertical.vue.9e306480.js","assets/CrudView.e24590ae.css","assets/PhArrowSquareOut.vue.eb4455ba.js","assets/PhPencil.vue.ee28fb6e.js","assets/organization.a29009bc.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/index.57a61691.js"]),meta:{title:"Organizations - Abstra Console"}},{path:"/organizations/:organizationId",name:"organization",component:()=>A(()=>import("./Organization.4f3ccb55.js"),["assets/Organization.4f3ccb55.js","assets/Navbar.6acd9007.js","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/constants.b75d9567.js","assets/asyncComputed.bfb7341c.js","assets/PhChats.vue.88d84608.js","assets/PhSignOut.vue.aa78b6eb.js","assets/index.eb8f01b7.js","assets/index.161ccee5.js","assets/omniChatStore.19fcae1a.js","assets/record.06867f70.js","assets/uuid.f4308f15.js","assets/PhCopySimple.vue.beb69d1f.js","assets/omniChatStore.ec95fb81.css","assets/PhBookBookmark.vue.7bb66888.js","assets/PhSparkle.vue.7820be45.js","assets/index.ee218f7a.js","assets/Breadcrumb.f11a16d0.js","assets/Navbar.2dc6d02c.css","assets/BaseLayout.ac22ef55.js","assets/BaseLayout.e1744dcc.css","assets/ContentLayout.072b3790.js","assets/ContentLayout.cdae7d24.css","assets/PhCube.vue.8de1132a.js","assets/PhUsersThree.vue.8b11b97d.js","assets/organization.a29009bc.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/Sidebar.ce129494.js","assets/index.fe015dd3.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js","assets/Logo.a32d36e7.js","assets/Logo.b7d81119.css","assets/Sidebar.e69f49bd.css","assets/index.57a61691.js"]),redirect:{name:"projects"},children:[{path:"projects",name:"projects",component:()=>A(()=>import("./ProjectsView.407ea382.js"),["assets/ProjectsView.407ea382.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/PhCube.vue.8de1132a.js","assets/PhPencilSimple.vue.148807f6.js","assets/PhFolderPlus.vue.658105d4.js","assets/PhGear.vue.68bce043.js","assets/PhUsersThree.vue.8b11b97d.js","assets/member.af05829c.js","assets/project.a9ad86e9.js","assets/record.06867f70.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/folder.fe6adcd2.js","assets/ant-design.06b818ab.js","assets/organization.a29009bc.js","assets/index.57a61691.js","assets/ProjectsView.16d8ecf6.css"]),meta:{title:"Projects - Abstra Console"}},{path:"editors",name:"editors",component:()=>A(()=>import("./EditorsView.987a7eda.js"),["assets/EditorsView.987a7eda.js","assets/CrudView.79588134.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js","assets/constants.b75d9567.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/url.62ce842c.js","assets/PhDotsThreeVertical.vue.9e306480.js","assets/index.eb8f01b7.js","assets/CrudView.e24590ae.css","assets/member.af05829c.js","assets/tables.928d4c4a.js","assets/record.06867f70.js","assets/string.ea3b2597.js","assets/folder.fe6adcd2.js","assets/ant-design.06b818ab.js","assets/index.57a61691.js"]),meta:{title:"Editors - Abstra Console"}},{path:"members",redirect:{name:"editors"}},{path:"billing",name:"billing",component:()=>A(()=>import("./Billing.2c39d133.js"),["assets/Billing.2c39d133.js","assets/asyncComputed.bfb7341c.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/organization.a29009bc.js","assets/tables.928d4c4a.js","assets/record.06867f70.js","assets/string.ea3b2597.js","assets/LoadingContainer.b11f052c.js","assets/LoadingContainer.56fa997a.css","assets/index.57a61691.js"]),meta:{title:"Billing - Abstra Console"}}]},{path:"/projects/:projectId",name:"project",component:()=>A(()=>import("./Project.34c75b7c.js"),["assets/Project.34c75b7c.js","assets/Navbar.6acd9007.js","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/constants.b75d9567.js","assets/asyncComputed.bfb7341c.js","assets/PhChats.vue.88d84608.js","assets/PhSignOut.vue.aa78b6eb.js","assets/index.eb8f01b7.js","assets/index.161ccee5.js","assets/omniChatStore.19fcae1a.js","assets/record.06867f70.js","assets/uuid.f4308f15.js","assets/PhCopySimple.vue.beb69d1f.js","assets/omniChatStore.ec95fb81.css","assets/PhBookBookmark.vue.7bb66888.js","assets/PhSparkle.vue.7820be45.js","assets/index.ee218f7a.js","assets/Breadcrumb.f11a16d0.js","assets/Navbar.2dc6d02c.css","assets/BaseLayout.ac22ef55.js","assets/BaseLayout.e1744dcc.css","assets/organization.a29009bc.js","assets/project.a9ad86e9.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/Sidebar.ce129494.js","assets/index.fe015dd3.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js","assets/Logo.a32d36e7.js","assets/Logo.b7d81119.css","assets/Sidebar.e69f49bd.css","assets/ContentLayout.072b3790.js","assets/ContentLayout.cdae7d24.css","assets/PhArrowCounterClockwise.vue.a1a917b9.js","assets/PhRocket.vue.7ba12859.js","assets/PhKey.vue.3f5192b6.js","assets/folder.fe6adcd2.js","assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.48b29302.js","assets/OmniChat.6ed96f8e.js","assets/ant-design.06b818ab.js","assets/PhClockCounterClockwise.vue.02d85ea5.js","assets/LoadingOutlined.659d6aae.js","assets/Card.6caecaa4.js","assets/OmniChat.078af315.css","assets/index.57a61691.js","assets/Project.9c75c141.css"]),redirect:{name:"live"},children:[{path:"live",name:"live",component:()=>A(()=>import("./Live.08670b33.js"),["assets/Live.08670b33.js","assets/CrudView.79588134.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js","assets/constants.b75d9567.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/url.62ce842c.js","assets/PhDotsThreeVertical.vue.9e306480.js","assets/index.eb8f01b7.js","assets/CrudView.e24590ae.css","assets/asyncComputed.bfb7341c.js","assets/build.aef51d48.js","assets/organization.a29009bc.js","assets/project.a9ad86e9.js","assets/record.06867f70.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/datetime.46141396.js","assets/polling.84bf96db.js","assets/repository.ecf19994.js","assets/LoadingOutlined.659d6aae.js","assets/PhArrowCounterClockwise.vue.a1a917b9.js","assets/PhArrowSquareOut.vue.eb4455ba.js","assets/PhChats.vue.88d84608.js","assets/PhCopySimple.vue.beb69d1f.js","assets/index.57a61691.js","assets/Live.37415b2d.css"]),meta:{title:"Project - Abstra Console"}},{path:"builds",name:"builds",component:()=>A(()=>import("./Builds.2bf5dad8.js"),["assets/Builds.2bf5dad8.js","assets/CrudView.79588134.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js","assets/constants.b75d9567.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/url.62ce842c.js","assets/PhDotsThreeVertical.vue.9e306480.js","assets/index.eb8f01b7.js","assets/CrudView.e24590ae.css","assets/asyncComputed.bfb7341c.js","assets/datetime.46141396.js","assets/polling.84bf96db.js","assets/PhArrowCounterClockwise.vue.a1a917b9.js","assets/PhCube.vue.8de1132a.js","assets/PhDownloadSimple.vue.6192bb0e.js","assets/build.aef51d48.js","assets/project.a9ad86e9.js","assets/record.06867f70.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/PhClockCounterClockwise.vue.02d85ea5.js","assets/PhUserList.vue.04f21cbe.js","assets/PhWebhooksLogo.vue.9e20d559.js","assets/ExclamationCircleOutlined.f9a25080.js","assets/CloseCircleOutlined.12f63f77.js","assets/LoadingOutlined.659d6aae.js","assets/index.57a61691.js","assets/Builds.ace9e3da.css"]),meta:{title:"Builds - Abstra Console"}},{path:"connectors",name:"connectors",component:()=>A(()=>import("./ConnectorsView.97a8c63b.js"),["assets/ConnectorsView.97a8c63b.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js","assets/constants.b75d9567.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/PhDotsThreeVertical.vue.9e306480.js","assets/PhWebhooksLogo.vue.9e20d559.js","assets/index.161ccee5.js","assets/Card.6caecaa4.js","assets/UploadOutlined.c563b054.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js","assets/Logo.a32d36e7.js","assets/Logo.b7d81119.css","assets/index.eb8f01b7.js","assets/index.57a61691.js","assets/ConnectorsView.aeb00ce8.css"]),meta:{title:"Connectors - Abstra Console"}},{path:"tables",name:"tables",component:()=>A(()=>import("./Tables.f2c23e20.js"),["assets/Tables.f2c23e20.js","assets/CrudView.79588134.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js","assets/constants.b75d9567.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/url.62ce842c.js","assets/PhDotsThreeVertical.vue.9e306480.js","assets/index.eb8f01b7.js","assets/CrudView.e24590ae.css","assets/omniChatStore.19fcae1a.js","assets/record.06867f70.js","assets/uuid.f4308f15.js","assets/PhCopySimple.vue.beb69d1f.js","assets/omniChatStore.ec95fb81.css","assets/ant-design.06b818ab.js","assets/asyncComputed.bfb7341c.js","assets/string.ea3b2597.js","assets/PhPencil.vue.ee28fb6e.js","assets/tables.928d4c4a.js","assets/TablesTabs.vue_vue_type_script_setup_true_lang.ec94f9e7.js","assets/Card.6caecaa4.js","assets/index.57a61691.js"]),meta:{title:"Tables - Abstra Console"}},{path:"tasks",name:"tasks",component:()=>A(()=>import("./Tasks.c9ba3095.js"),["assets/Tasks.c9ba3095.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/PhCopy.vue.5664181e.js","assets/tasksController.95334db5.js","assets/contracts.generated.7508e893.js","assets/record.06867f70.js","assets/linters.39cc198f.js","assets/asyncComputed.bfb7341c.js","assets/polling.84bf96db.js","assets/string.ea3b2597.js","assets/metadata.034775c8.js","assets/PhUserList.vue.04f21cbe.js","assets/PhWebhooksLogo.vue.9e20d559.js","assets/ant-design.06b818ab.js","assets/dayjs.b4dc8227.js","assets/build.aef51d48.js","assets/project.a9ad86e9.js","assets/tables.928d4c4a.js","assets/index.57a61691.js"]),meta:{title:"Tasks - Abstra Console"}},{path:"sql",name:"sql",component:()=>A(()=>import("./Sql.4e31662a.js"),["assets/Sql.4e31662a.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/PhDownloadSimple.vue.6192bb0e.js","assets/toggleHighContrast.67a76682.js","assets/toggleHighContrast.30d77c87.css","assets/project.a9ad86e9.js","assets/record.06867f70.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/TablesTabs.vue_vue_type_script_setup_true_lang.ec94f9e7.js","assets/Card.6caecaa4.js","assets/index.57a61691.js","assets/Sql.3cdc910a.css"]),meta:{title:"SQL Editor - Abstra Console"}},{path:"tables-diagram",name:"tables-diagram",component:()=>A(()=>import("./TablesDiagram.8297ec4b.js"),["assets/TablesDiagram.8297ec4b.js","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/asyncComputed.bfb7341c.js","assets/PhKey.vue.3f5192b6.js","assets/PhPencil.vue.ee28fb6e.js","assets/vue-flow-background.03bf6b4b.js","assets/tables.928d4c4a.js","assets/record.06867f70.js","assets/string.ea3b2597.js","assets/TablesTabs.vue_vue_type_script_setup_true_lang.ec94f9e7.js","assets/Card.6caecaa4.js","assets/index.eb8f01b7.js","assets/index.57a61691.js","assets/TablesDiagram.1ec45dd9.css"]),meta:{title:"Tables Diagram - Abstra Console"}},{path:"api-keys",name:"api-keys",component:()=>A(()=>import("./ApiKeys.56b97ced.js"),["assets/ApiKeys.56b97ced.js","assets/CrudView.79588134.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js","assets/constants.b75d9567.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/url.62ce842c.js","assets/PhDotsThreeVertical.vue.9e306480.js","assets/index.eb8f01b7.js","assets/CrudView.e24590ae.css","assets/asyncComputed.bfb7341c.js","assets/apiKey.e3aa9e16.js","assets/member.af05829c.js","assets/project.a9ad86e9.js","assets/record.06867f70.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/index.57a61691.js"]),meta:{title:"API Keys - Abstra Console"}},{path:"logs",name:"logs",component:()=>A(()=>import("./Logs.030c8a19.js"),["assets/Logs.030c8a19.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/LogsController.7e2c0c7a.js","assets/ant-design.06b818ab.js","assets/string.ea3b2597.js","assets/PhCopy.vue.5664181e.js","assets/index.eb8f01b7.js","assets/build.aef51d48.js","assets/tables.928d4c4a.js","assets/record.06867f70.js","assets/repository.ecf19994.js","assets/LoadingOutlined.659d6aae.js","assets/polling.84bf96db.js","assets/LogsController.fb0d96c2.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/datetime.46141396.js","assets/dayjs.b4dc8227.js","assets/index.57a61691.js"]),meta:{title:"Logs - Abstra Console"}},{path:"settings",name:"project-settings",component:()=>A(()=>import("./ProjectSettings.f9bf9124.js"),["assets/ProjectSettings.f9bf9124.js","assets/asyncComputed.bfb7341c.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/project.a9ad86e9.js","assets/record.06867f70.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/SaveButton.e70cd09e.js","assets/ExclamationCircleOutlined.f9a25080.js","assets/SaveButton.932ac6b8.css","assets/index.eb8f01b7.js","assets/index.57a61691.js"]),meta:{title:"Project Settings - Abstra Console"}},{path:"env-vars",name:"env-vars",component:()=>A(()=>import("./EnvVars.c5e84d82.js"),["assets/EnvVars.c5e84d82.js","assets/View.vue_vue_type_script_setup_true_lang.a00f21c8.js","assets/fetch.cfa094a0.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/record.06867f70.js","assets/SaveButton.e70cd09e.js","assets/ExclamationCircleOutlined.f9a25080.js","assets/SaveButton.932ac6b8.css","assets/CrudView.79588134.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js","assets/constants.b75d9567.js","assets/url.62ce842c.js","assets/PhDotsThreeVertical.vue.9e306480.js","assets/index.eb8f01b7.js","assets/CrudView.e24590ae.css","assets/asyncComputed.bfb7341c.js","assets/omniChatStore.19fcae1a.js","assets/uuid.f4308f15.js","assets/PhCopySimple.vue.beb69d1f.js","assets/omniChatStore.ec95fb81.css","assets/PhPencil.vue.ee28fb6e.js","assets/useCodebaseEvents.47e4fcfe.js","assets/contracts.generated.7508e893.js","assets/index.fe015dd3.js","assets/index.57a61691.js"]),meta:{title:"Environment Variables - Abstra Console"}},{path:"files",name:"files",component:()=>A(()=>import("./Files.06a52abd.js"),["assets/Files.06a52abd.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js","assets/constants.b75d9567.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/asyncComputed.bfb7341c.js","assets/string.ea3b2597.js","assets/ScrollArea.vue_vue_type_script_setup_true_lang.cf352882.js","assets/PhFolderPlus.vue.658105d4.js","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/Breadcrumb.f11a16d0.js","assets/UploadOutlined.c563b054.js","assets/tables.928d4c4a.js","assets/record.06867f70.js","assets/Card.6caecaa4.js","assets/index.57a61691.js","assets/Files.d0e8d2ff.css"]),meta:{title:"Files - Abstra Console"}},{path:"access-control",name:"access-control",component:()=>A(()=>import("./View.4c3c38ba.js"),["assets/View.4c3c38ba.js","assets/asyncComputed.bfb7341c.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/index.eb8f01b7.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js","assets/constants.b75d9567.js","assets/index.a884598f.js","assets/CrudView.79588134.js","assets/url.62ce842c.js","assets/PhDotsThreeVertical.vue.9e306480.js","assets/CrudView.e24590ae.css","assets/PhPencil.vue.ee28fb6e.js","assets/repository.40cf87c6.js","assets/fetch.cfa094a0.js","assets/record.06867f70.js","assets/ant-design.06b818ab.js","assets/Card.6caecaa4.js","assets/index.57a61691.js"]),meta:{title:"Access Control - Abstra Console"}}]},{path:"/projects/:projectId/tables/:tableId",name:"tableEditor",component:()=>A(()=>import("./TableEditor.e7371677.js"),["assets/TableEditor.e7371677.js","assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/BaseLayout.ac22ef55.js","assets/BaseLayout.e1744dcc.css","assets/omniChatStore.19fcae1a.js","assets/record.06867f70.js","assets/uuid.f4308f15.js","assets/PhCopySimple.vue.beb69d1f.js","assets/omniChatStore.ec95fb81.css","assets/asyncComputed.bfb7341c.js","assets/PhSparkle.vue.7820be45.js","assets/organization.a29009bc.js","assets/project.a9ad86e9.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/folder.fe6adcd2.js","assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.48b29302.js","assets/OmniChat.6ed96f8e.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js","assets/Logo.a32d36e7.js","assets/Logo.b7d81119.css","assets/ant-design.06b818ab.js","assets/PhClockCounterClockwise.vue.02d85ea5.js","assets/LoadingOutlined.659d6aae.js","assets/index.161ccee5.js","assets/Card.6caecaa4.js","assets/index.fe015dd3.js","assets/OmniChat.078af315.css","assets/ContentLayout.072b3790.js","assets/ContentLayout.cdae7d24.css","assets/PhGear.vue.68bce043.js","assets/PhPencilSimpleLine.vue.af76e884.js","assets/index.eb8f01b7.js","assets/index.a884598f.js","assets/index.16664500.js","assets/Breadcrumb.f11a16d0.js","assets/index.ee218f7a.js","assets/index.57a61691.js","assets/TableEditor.1e680eaf.css"]),meta:{title:"Tables - Abstra Console"}},{path:"/projects/:projectId/web-editor",name:"web-editor",component:()=>A(()=>import("./WebEditor.4ef39590.js"),["assets/WebEditor.4ef39590.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js","assets/Logo.a32d36e7.js","assets/Logo.b7d81119.css","assets/BaseLayout.ac22ef55.js","assets/BaseLayout.e1744dcc.css","assets/fetch.cfa094a0.js","assets/project.a9ad86e9.js","assets/record.06867f70.js","assets/tables.928d4c4a.js","assets/string.ea3b2597.js","assets/index.57a61691.js","assets/WebEditor.c2e271d1.css"]),meta:{title:"Web Editor - Abstra Console"}},{path:"/:pathMatch(.*)*",name:"NotFound",redirect:{name:"organizations"},meta:{title:"Home - Abstra Console"}}],scrollBehavior(e){if(e.hash)return{el:e.hash}}});qe.beforeEach(async(e,t)=>{if(tn(e,t),e.meta.public)return;if(!Q.getAuthor()){await qe.push({name:"login",query:{...e.query,redirect:window.location.origin+e.path,"prev-redirect":e.query.redirect}});return}po.trackPageView(),xe.boot()});export{De as A,Re as B,Se as C,Bn as D,oe as E,Gn as I,Le as R,po as T,vo as a,$o as b,yo as c,So as d,Xn as e,xo as f,Co as g,le as h,vn as i,Q as j,mo as k,xe as l,co as p,qe as r};
10
- //# sourceMappingURL=router.8ccbba96.js.map
@@ -1,2 +0,0 @@
1
- import{m as c,n as d,p as t,q as m}from"./jwt-decode.esm.e1e8e181.js";import{a as p}from"./workspaceStore.cca10750.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b2f1ed7b-640b-4147-80e8-2d2df10358f0",e._sentryDebugIdIdentifier="sentry-dbid-b2f1ed7b-640b-4147-80e8-2d2df10358f0")}catch{}})();const b=async()=>{try{const e=await fetch("/_editor/api/workspace/version");return e.ok&&(await e.json()).version||"3827cc33d910331a2c68156560640034967d7a19"}catch(e){return console.error("Failed to fetch Abstra version:",e),"3827cc33d910331a2c68156560640034967d7a19"}},u=[{path:"/oidc-login-callback",name:"oidcLoginCallback",component:()=>t(()=>import("./OidcLoginCallback.b65a6f9f.js"),["assets/OidcLoginCallback.b65a6f9f.js","assets/workspaceStore.cca10750.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/userStore.51f1e2d0.js","assets/url.62ce842c.js","assets/colorHelpers.e94da383.js"]),meta:{allowUnauthenticated:!0}},{path:"/oidc-logout-callback",name:"oidcLogoutCallback",component:()=>t(()=>import("./OidcLogoutCallback.dabd09cf.js"),["assets/OidcLogoutCallback.dabd09cf.js","assets/workspaceStore.cca10750.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/userStore.51f1e2d0.js","assets/url.62ce842c.js","assets/colorHelpers.e94da383.js"]),meta:{allowUnauthenticated:!0}},{path:"/login",name:"playerLogin",component:()=>t(()=>import("./Login.84d39327.js"),["assets/Login.84d39327.js","assets/Login.vue_vue_type_script_setup_true_lang.eb94ecc3.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/workspaceStore.cca10750.js","assets/userStore.51f1e2d0.js","assets/url.62ce842c.js","assets/colorHelpers.e94da383.js","assets/CircularLoading.bc88c029.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.a32d36e7.js","assets/Logo.b7d81119.css","assets/string.ea3b2597.js","assets/index.fe015dd3.js","assets/Login.75d13f6c.css","assets/Login.3b76812d.css"]),meta:{allowUnauthenticated:!0}},{path:"/",name:"main",component:()=>t(()=>import("./Main.70db8614.js"),["assets/Main.70db8614.js","assets/PlayerNavbar.78cf73f2.js","assets/userStore.51f1e2d0.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/workspaceStore.cca10750.js","assets/url.62ce842c.js","assets/colorHelpers.e94da383.js","assets/metadata.034775c8.js","assets/PhUserList.vue.04f21cbe.js","assets/PhWebhooksLogo.vue.9e20d559.js","assets/LoadingOutlined.659d6aae.js","assets/PhSignOut.vue.aa78b6eb.js","assets/index.161ccee5.js","assets/PlayerNavbar.77209eae.css","assets/Main.201c14c9.css"]),redirect:{name:"main"},children:[{path:"",name:"playerHome",component:()=>t(()=>import("./Home.d122da63.js"),["assets/Home.d122da63.js","assets/metadata.034775c8.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/PhUserList.vue.04f21cbe.js","assets/PhWebhooksLogo.vue.9e20d559.js","assets/Watermark.c71c105b.js","assets/workspaceStore.cca10750.js","assets/userStore.51f1e2d0.js","assets/url.62ce842c.js","assets/colorHelpers.e94da383.js","assets/constants.b75d9567.js","assets/Watermark.b0916e90.css","assets/PhArrowSquareOut.vue.eb4455ba.js","assets/index.06cad1f2.js","assets/Card.6caecaa4.js","assets/LoadingOutlined.659d6aae.js","assets/Home.3794e8b4.css"]),meta:{title:"Home"}},{path:"_player/threads",redirect:{name:"playerThreads"}},{path:"error/:status",name:"error",component:()=>t(()=>import("./Error.f378696f.js"),["assets/Error.f378696f.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js","assets/Logo.a32d36e7.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/Logo.b7d81119.css","assets/constants.b75d9567.js","assets/workspaceStore.cca10750.js","assets/userStore.51f1e2d0.js","assets/url.62ce842c.js","assets/colorHelpers.e94da383.js","assets/Card.6caecaa4.js","assets/Error.ef2624eb.css"]),meta:{allowUnauthenticated:!0}},{path:":path(.*)*",name:"form",component:()=>t(()=>import("./Form.4633ab8e.js"),["assets/Form.4633ab8e.js","assets/userStore.51f1e2d0.js","assets/jwt-decode.esm.e1e8e181.js","assets/jwt-decode.9f7a5511.css","assets/FormRunner.2b75fd4d.js","assets/Login.vue_vue_type_script_setup_true_lang.eb94ecc3.js","assets/workspaceStore.cca10750.js","assets/url.62ce842c.js","assets/colorHelpers.e94da383.js","assets/CircularLoading.bc88c029.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.a32d36e7.js","assets/Logo.b7d81119.css","assets/string.ea3b2597.js","assets/index.fe015dd3.js","assets/Login.75d13f6c.css","assets/Steps.4c850501.js","assets/index.005bab7f.js","assets/Steps.2880920a.css","assets/Watermark.c71c105b.js","assets/constants.b75d9567.js","assets/Watermark.b0916e90.css","assets/FormRunner.46f6426d.css","assets/redirect.cd158e43.js","assets/asyncComputed.bfb7341c.js","assets/uuid.f4308f15.js","assets/Form.7493bc0a.css"]),meta:{hideLogin:!0}}]}],o=c({history:d("/"),routes:u,scrollBehavior(e){if(e.hash)return{el:e.hash}}}),l=e=>async(a,r)=>{if(m(a,r),a.meta.allowUnauthenticated)return;const n=await p(a.path),{redirect:i,...s}=a.query;switch(n.status){case"ALLOWED":break;case"UNAUTHORIZED":await e.push({name:"playerLogin",query:{...s,redirect:i||a.path},params:a.params});break;case"NOT_FOUND":await e.push({name:"error",params:{status:"404"}});break;default:await e.push({name:"error",params:{status:"403"}})}};o.beforeEach(l(o));export{b as a,o as b,l as g,u as r};
2
- //# sourceMappingURL=router.c00c99d7.js.map
@@ -1,2 +0,0 @@
1
- import{L as d}from"./jwt-decode.esm.e1e8e181.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4b42a0ae-6556-4dab-a6b2-b4b4d5c8a406",e._sentryDebugIdIdentifier="sentry-dbid-4b42a0ae-6556-4dab-a6b2-b4b4d5c8a406")}catch{}})();function b(e){return d.string().email().safeParse(e).success}function p(e){return e.charAt(0).toUpperCase()+e.slice(1)}function w(e,r,a=!1,n=!0,s=!1,t=!0){const o=(n?e.toLocaleLowerCase():e).normalize("NFD").replace(/[\u0300-\u036f]/g,""),i=`a-zA-Z0-9${s?"/":""}${t?"-":""}`,c=new RegExp(`[^${i}]`,"g"),l=o.replace(c,"_"),f=a?l:l.replace(/_+/g,"_");return r?f:f.replace(/_$/,"")}function h(e){var t;const a=e.toLocaleLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g,""),n=/[a-z0-9]+/g,s=a.match(n);return(t=s==null?void 0:s.join("-"))!=null?t:""}function m(e,r){if(e.length===0||r.length===0)return!1;const a=e.toLowerCase(),n=r.toLowerCase();return a.split("").reduce((t,u)=>{var i;if(t===!1)return!1;const o=(i=t[t.length-1])!=null?i:null;if(o===null){const c=n.indexOf(u);return c===-1?!1:[c]}else{const l=n.slice(o+1).indexOf(u);return l===-1?!1:[...t,o+1+l]}},[])}export{w as a,p as c,m as f,b as i,h as n};
2
- //# sourceMappingURL=string.ea3b2597.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.e1e8e181.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="47d9b854-b33c-4084-a647-ae9338183413",e._sentryDebugIdIdentifier="sentry-dbid-47d9b854-b33c-4084-a647-ae9338183413")}catch{}})();const d=e=>{try{return new URL(e),!0}catch{return!1}},o=(e,r)=>{if(!Object.keys(r).length)return e;const t=new URL(e),n=new URLSearchParams(t.search);return Object.entries(r).forEach(([s,a])=>{t.searchParams.delete(s),n.set(s,a)}),`${t.origin}${t.pathname}?${n.toString()}`};export{d as i,o as m};
2
- //# sourceMappingURL=url.62ce842c.js.map
@@ -1,2 +0,0 @@
1
- import{k as f,O as b,L as v,r as w,c as r,Q as m}from"./jwt-decode.esm.e1e8e181.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="c553ebb9-e4b3-4f8b-9929-fd39fa52a5ab",t._sentryDebugIdIdentifier="sentry-dbid-c553ebb9-e4b3-4f8b-9929-fd39fa52a5ab")}catch{}})();const p=2*60*60,y=t=>{try{const e=m(t);if(!e.exp)throw Error("expired jwt");return{email:e.email,expiresInSeconds:e.exp*1e3}}catch{console.warn("Invalid JWT")}return null},g=f("user",()=>{const t=new b(v.string(),"auth:jwt"),e=w(null),s=()=>{e.value=null,t.remove()},o=a=>{t.set(a),e.value=a},u=()=>{e.value=t.get()},l=r(()=>e.value?{Authorization:`Bearer ${e.value}`}:{}),c=r(()=>e.value?["default",`base64url.bearer.authorization.${e.value}`]:[]),n=r(()=>e.value?y(e.value):null),i=r(()=>{var a;return(a=n.value)==null?void 0:a.email}),d=()=>n.value?n.value.expiresInSeconds-Date.now()>p:!1;return u(),{jwt:e,email:i,saveJWT:o,removeJWT:s,isJWTValid:d,authHeaders:l,wsAuthHeaders:c}});export{g as u};
2
- //# sourceMappingURL=userStore.51f1e2d0.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.e1e8e181.js";(function(){try{var x=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(x._sentryDebugIds=x._sentryDebugIds||{},x._sentryDebugIds[e]="aaaa61e5-02b3-458f-8470-72c2f810ead0",x._sentryDebugIdIdentifier="sentry-dbid-aaaa61e5-02b3-458f-8470-72c2f810ead0")}catch{}})();const a=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(x){const e=Math.random()*16|0;return(x=="x"?e:e&3|8).toString(16)});export{a as u};
2
- //# sourceMappingURL=uuid.f4308f15.js.map