abstra 3.24.3__py3-none-any.whl → 3.24.5__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 (248) hide show
  1. abstra/ai.py +2 -0
  2. {abstra-3.24.3.dist-info → abstra-3.24.5.dist-info}/METADATA +2 -1
  3. {abstra-3.24.3.dist-info → abstra-3.24.5.dist-info}/RECORD +195 -192
  4. abstra_internals/contracts_generated.py +3737 -2560
  5. abstra_internals/controllers/workflows.py +42 -0
  6. abstra_internals/interface/sdk/ai.py +69 -0
  7. abstra_internals/repositories/execution.py +3 -6
  8. abstra_internals/repositories/git/native.py +90 -3
  9. abstra_internals/repositories/git/types.py +10 -0
  10. abstra_internals/repositories/linter/rules/env_in_bundle.py +2 -0
  11. abstra_internals/repositories/project/json_migrations/__init__.py +2 -0
  12. abstra_internals/repositories/project/json_migrations/migration_016.py +17 -0
  13. abstra_internals/repositories/project/json_migrations/migration_016_test.py +141 -0
  14. abstra_internals/repositories/project/project.py +62 -17
  15. abstra_internals/repositories/project/project_test.py +279 -0
  16. abstra_internals/repositories/tasks.py +2 -2
  17. abstra_internals/services/fs.py +311 -32
  18. abstra_internals/services/fs_test.py +28 -5
  19. abstra_internals/services/sql_storage.py +236 -0
  20. abstra_internals/services/sql_storage_test.py +112 -0
  21. abstra_internals/utils/file.py +7 -3
  22. abstra_internals/utils/fs_cache.py +173 -0
  23. abstra_statics/dist/assets/{AbstraButton.vue_vue_type_script_setup_true_lang.13670ae7.js → AbstraButton.vue_vue_type_script_setup_true_lang.6c541630.js} +2 -2
  24. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.e1cfa824.js +2 -0
  25. abstra_statics/dist/assets/{ApiKeys.9b0b18b5.js → ApiKeys.96f96fe2.js} +2 -2
  26. abstra_statics/dist/assets/App.6b1b6a94.js +2 -0
  27. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.08210ecb.js +2 -0
  28. abstra_statics/dist/assets/BaseLayout.2a82be24.js +2 -0
  29. abstra_statics/dist/assets/{Billing.f9062d88.js → Billing.24199f3a.js} +2 -2
  30. abstra_statics/dist/assets/{Breadcrumb.e54636d6.js → Breadcrumb.c8da3019.js} +2 -2
  31. abstra_statics/dist/assets/{Builds.c7363e1b.js → Builds.366d6ceb.js} +2 -2
  32. abstra_statics/dist/assets/{Card.4a8a30bb.js → Card.0d56c597.js} +2 -2
  33. abstra_statics/dist/assets/{CircularLoading.d81a4cac.js → CircularLoading.daf759d9.js} +2 -2
  34. abstra_statics/dist/assets/CloseCircleOutlined.2be0ee6c.js +2 -0
  35. abstra_statics/dist/assets/{ConnectorsView.d4b67e2e.js → ConnectorsView.904ff1c0.js} +2 -2
  36. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.17fc3e62.js +2 -0
  37. abstra_statics/dist/assets/ContentLayout.c133929b.js +2 -0
  38. abstra_statics/dist/assets/{CrudView.57e8b29a.js → CrudView.789b533f.js} +2 -2
  39. abstra_statics/dist/assets/{DocsButton.vue_vue_type_script_setup_true_lang.108b18e1.js → DocsButton.vue_vue_type_script_setup_true_lang.a2b3eeb7.js} +2 -2
  40. abstra_statics/dist/assets/{EditorLogin.2f00deb7.js → EditorLogin.cac0ed52.js} +2 -2
  41. abstra_statics/dist/assets/{EditorsView.eb87a2d8.js → EditorsView.4b74b13b.js} +2 -2
  42. abstra_statics/dist/assets/EnvVars.0dfba770.js +2 -0
  43. abstra_statics/dist/assets/{Error.98b8036c.js → Error.c7f25d1b.js} +2 -2
  44. abstra_statics/dist/assets/ExclamationCircleOutlined.ad66211a.js +2 -0
  45. abstra_statics/dist/assets/ExecutionContext.91c0e0db.js +2 -0
  46. abstra_statics/dist/assets/ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.31b499a5.js +2 -0
  47. abstra_statics/dist/assets/{Files.9fc8199a.js → Files.4ec90b9a.js} +2 -2
  48. abstra_statics/dist/assets/Form.5a5cac5f.js +2 -0
  49. abstra_statics/dist/assets/Form.7d1b0423.css +1 -0
  50. abstra_statics/dist/assets/FormRunner.4a5270dc.js +2 -0
  51. abstra_statics/dist/assets/{Home.191a6dce.js → Home.1271fb51.js} +2 -2
  52. abstra_statics/dist/assets/Home.f82c1587.js +2 -0
  53. abstra_statics/dist/assets/LoadingContainer.4430af86.js +2 -0
  54. abstra_statics/dist/assets/{LoadingOutlined.4c40acc4.js → LoadingOutlined.2d29f0e1.js} +2 -2
  55. abstra_statics/dist/assets/{Login.edfbdaea.js → Login.180d7b1c.js} +2 -2
  56. abstra_statics/dist/assets/Login.8e13b15d.js +2 -0
  57. abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.02acef81.js → Login.vue_vue_type_script_setup_true_lang.ab4402e7.js} +2 -2
  58. abstra_statics/dist/assets/Logo.e86b6b23.js +2 -0
  59. abstra_statics/dist/assets/Logs.03931b09.js +2 -0
  60. abstra_statics/dist/assets/Main.3afc4ba4.js +2 -0
  61. abstra_statics/dist/assets/MockForm.025d99f9.css +1 -0
  62. abstra_statics/dist/assets/{MockForm.091aa4ce.js → MockForm.1fa371d2.js} +2 -2
  63. abstra_statics/dist/assets/{Navbar.24019fd6.js → Navbar.2d7490c1.js} +2 -2
  64. abstra_statics/dist/assets/{NewEditor.f2d1c0c3.css → NewEditor.d2ee5048.css} +1 -1
  65. abstra_statics/dist/assets/NewEditor.dc0e868f.js +8 -0
  66. abstra_statics/dist/assets/OidcLoginCallback.8216e341.js +2 -0
  67. abstra_statics/dist/assets/OidcLogoutCallback.f471ecec.js +2 -0
  68. abstra_statics/dist/assets/{OmniChat.c78c1e51.js → OmniChat.be2d3d92.js} +2 -2
  69. abstra_statics/dist/assets/{OnboardingView.687780ed.js → OnboardingView.4957b5f8.js} +2 -2
  70. abstra_statics/dist/assets/{Organization.0ac1bf79.js → Organization.27e529a7.js} +2 -2
  71. abstra_statics/dist/assets/{Organizations.fc123489.js → Organizations.88897e55.js} +2 -2
  72. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.6ab1b899.js → PhArrowCounterClockwise.vue.9ad742bf.js} +2 -2
  73. abstra_statics/dist/assets/{PhArrowSquareOut.vue.1cebb708.js → PhArrowSquareOut.vue.2a07a9b3.js} +2 -2
  74. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.dae2e135.js → PhClockCounterClockwise.vue.b4dc22ed.js} +2 -2
  75. abstra_statics/dist/assets/{PhCopy.vue.71703533.js → PhCopy.vue.17ec4184.js} +2 -2
  76. abstra_statics/dist/assets/PhCopySimple.vue.d9213ca9.js +2 -0
  77. abstra_statics/dist/assets/{PhCube.vue.f8549a9b.js → PhCube.vue.027246a6.js} +2 -2
  78. abstra_statics/dist/assets/PhDatabase.vue.a188015f.js +2 -0
  79. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.9d76c4de.js → PhDotsThreeVertical.vue.e9c6f787.js} +2 -2
  80. abstra_statics/dist/assets/{PhDownloadSimple.vue.21156b6d.js → PhDownloadSimple.vue.9ba8ac6f.js} +2 -2
  81. abstra_statics/dist/assets/{PhFileArrowUp.vue.406b22e3.js → PhFileArrowUp.vue.cd3d3139.js} +2 -2
  82. abstra_statics/dist/assets/{PhFilePlus.vue.b180df90.js → PhFilePlus.vue.2464bbea.js} +2 -2
  83. abstra_statics/dist/assets/{PhFolderPlus.vue.b18fd061.js → PhFolderPlus.vue.696aab26.js} +2 -2
  84. abstra_statics/dist/assets/{PhGear.vue.bed38929.js → PhGear.vue.c247e86d.js} +2 -2
  85. abstra_statics/dist/assets/{PhKey.vue.6ef5fdd3.js → PhKey.vue.1a84e5d0.js} +2 -2
  86. abstra_statics/dist/assets/{PhPencil.vue.0fc0fcc0.js → PhPencil.vue.3586175f.js} +2 -2
  87. abstra_statics/dist/assets/{PhPencilSimple.vue.0707effd.js → PhPencilSimple.vue.e88b8fd0.js} +2 -2
  88. abstra_statics/dist/assets/{PhRocket.vue.761192f5.js → PhRocket.vue.8b8080c3.js} +2 -2
  89. abstra_statics/dist/assets/{PhSignOut.vue.8d8dfd96.js → PhSignOut.vue.9eb21b1c.js} +2 -2
  90. abstra_statics/dist/assets/{PhSparkle.vue.18ed0427.js → PhSparkle.vue.70bce97e.js} +2 -2
  91. abstra_statics/dist/assets/{PhTranslate.vue.00a17a08.js → PhTranslate.vue.e579c286.js} +2 -2
  92. abstra_statics/dist/assets/{PhUsersThree.vue.d69f0723.js → PhUsersThree.vue.65e9b349.js} +2 -2
  93. abstra_statics/dist/assets/{PhWarningCircle.vue.20bfeba7.js → PhWarningCircle.vue.3134c1fb.js} +2 -2
  94. abstra_statics/dist/assets/{PhWebhooksLogo.vue.58a98824.js → PhWebhooksLogo.vue.e7321653.js} +2 -2
  95. abstra_statics/dist/assets/{PlayerConfigProvider.ad360920.js → PlayerConfigProvider.f0eaf9f3.js} +2 -2
  96. abstra_statics/dist/assets/{PlayerNavbar.97e8dee9.js → PlayerNavbar.7c0453f2.js} +2 -2
  97. abstra_statics/dist/assets/Project.fad3c835.js +2 -0
  98. abstra_statics/dist/assets/{ProjectLogin.f92a038d.js → ProjectLogin.83ae9c4c.js} +2 -2
  99. abstra_statics/dist/assets/{ProjectSettings.582746dc.js → ProjectSettings.f4e91391.js} +2 -2
  100. abstra_statics/dist/assets/{ProjectsView.a6b3674b.js → ProjectsView.c4e3053a.js} +2 -2
  101. abstra_statics/dist/assets/{SaveButton.c3ad6e9b.js → SaveButton.986667ef.js} +2 -2
  102. abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.077a2088.js +2 -0
  103. abstra_statics/dist/assets/{Sidebar.69f9369e.js → Sidebar.b1e6ca23.js} +2 -2
  104. abstra_statics/dist/assets/{Sql.cdefe5b9.js → Sql.24116fa0.js} +4 -4
  105. abstra_statics/dist/assets/Steps.95771774.js +2 -0
  106. abstra_statics/dist/assets/TableCard.981d88c4.js +2 -0
  107. abstra_statics/dist/assets/{TableEditor.fcfa13de.js → TableEditor.a74fc9f4.js} +2 -2
  108. abstra_statics/dist/assets/{Tables.4ee84a7c.js → Tables.870957e7.js} +2 -2
  109. abstra_statics/dist/assets/{TablesDiagram.b1d1579e.js → TablesDiagram.6a217e62.js} +3 -3
  110. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.983777c7.js +2 -0
  111. abstra_statics/dist/assets/{Tasks.fd2605bd.js → Tasks.8fbc0cc0.js} +2 -2
  112. abstra_statics/dist/assets/{UploadOutlined.64837788.js → UploadOutlined.e2352877.js} +2 -2
  113. abstra_statics/dist/assets/{View.b144c5e3.js → View.fd9cb47e.js} +2 -2
  114. abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.c79117ce.js → View.vue_vue_type_script_setup_true_lang.69e51c6f.js} +2 -2
  115. abstra_statics/dist/assets/{Watermark.c0756030.js → Watermark.b1fed4a7.js} +2 -2
  116. abstra_statics/dist/assets/{WebEditor.774989ad.js → WebEditor.75ce5bd6.js} +2 -2
  117. abstra_statics/dist/assets/{WidgetPreview.4fd6afc0.js → WidgetPreview.5b0abaab.js} +2 -2
  118. abstra_statics/dist/assets/WorkflowViewer.0a209003.css +1 -0
  119. abstra_statics/dist/assets/WorkflowViewer.6f38d23f.js +2 -0
  120. abstra_statics/dist/assets/ant-design.5bd7ec4d.js +2 -0
  121. abstra_statics/dist/assets/{apiKey.ee792d72.js → apiKey.7cf16e08.js} +2 -2
  122. abstra_statics/dist/assets/asyncComputed.febe2b11.js +2 -0
  123. abstra_statics/dist/assets/{build.6e7d77b3.js → build.db7d8668.js} +2 -2
  124. abstra_statics/dist/assets/colorHelpers.939427f5.js +2 -0
  125. abstra_statics/dist/assets/{console.38bda98e.js → console.f402574a.js} +3 -3
  126. abstra_statics/dist/assets/{constants.be8ad36c.js → constants.bbfdfb21.js} +2 -2
  127. abstra_statics/dist/assets/contracts.generated.3f22c968.js +2 -0
  128. abstra_statics/dist/assets/{cssMode.408206bf.js → cssMode.d0c8e26e.js} +2 -2
  129. abstra_statics/dist/assets/{datetime.a6d58ce1.js → datetime.d5fe62ba.js} +2 -2
  130. abstra_statics/dist/assets/{dayjs.703ebc20.js → dayjs.8c9480e7.js} +2 -2
  131. abstra_statics/dist/assets/editor.11a4f0cf.js +2 -0
  132. abstra_statics/dist/assets/editor.main.2f21f781.js +2 -0
  133. abstra_statics/dist/assets/fetch.e0dfa394.js +2 -0
  134. abstra_statics/dist/assets/{files.1c1692f5.js → files.59b464cc.js} +2 -2
  135. abstra_statics/dist/assets/{folder.1b74b12c.js → folder.5b0f3179.js} +2 -2
  136. abstra_statics/dist/assets/{freemarker2.e62e067c.js → freemarker2.03629ab6.js} +2 -2
  137. abstra_statics/dist/assets/{handlebars.604fc901.js → handlebars.1163d9ba.js} +2 -2
  138. abstra_statics/dist/assets/{html.c02f177e.js → html.ef74c7bd.js} +2 -2
  139. abstra_statics/dist/assets/{htmlMode.64078e03.js → htmlMode.8829acd3.js} +2 -2
  140. abstra_statics/dist/assets/{index.2ec95eae.js → index.07e9309d.js} +2 -2
  141. abstra_statics/dist/assets/{index.5197afb2.js → index.12e6cfe2.js} +2 -2
  142. abstra_statics/dist/assets/{index.a12eba98.js → index.2aa34d4f.js} +5 -5
  143. abstra_statics/dist/assets/{index.82590a75.js → index.5eeedb69.js} +2 -2
  144. abstra_statics/dist/assets/{index.b91afb03.js → index.63e70668.js} +2 -2
  145. abstra_statics/dist/assets/index.75a16b09.js +2 -0
  146. abstra_statics/dist/assets/{index.bec0ecd0.js → index.76cbd30f.js} +2 -2
  147. abstra_statics/dist/assets/{index.015caad7.js → index.8995a499.js} +2 -2
  148. abstra_statics/dist/assets/{index.82842143.js → index.d408b03e.js} +2 -2
  149. abstra_statics/dist/assets/{javascript.57026f87.js → javascript.0dfeb7bb.js} +3 -3
  150. abstra_statics/dist/assets/{jsonMode.9b45b375.js → jsonMode.179b6695.js} +2 -2
  151. abstra_statics/dist/assets/{jwt-decode.c5760184.css → jwt-decode.cfe2994b.css} +1 -1
  152. abstra_statics/dist/assets/{jwt-decode.esm.3348bca5.js → jwt-decode.esm.47f59010.js} +88 -54
  153. abstra_statics/dist/assets/linters.9f818fd6.js +2 -0
  154. abstra_statics/dist/assets/{liquid.233d5164.js → liquid.0627704b.js} +3 -3
  155. abstra_statics/dist/assets/{member.d878cf3f.js → member.689a99e8.js} +2 -2
  156. abstra_statics/dist/assets/{metadata.9f7495db.js → metadata.69e468d6.js} +2 -2
  157. abstra_statics/dist/assets/{omniChatStore.40ad0b1b.js → omniChatStore.07f62bd5.js} +2 -2
  158. abstra_statics/dist/assets/{organization.8f08e075.js → organization.298987a0.js} +2 -2
  159. abstra_statics/dist/assets/{os.8ffdbf05.js → os.faa277a9.js} +2 -2
  160. abstra_statics/dist/assets/player.ebf3133f.js +2 -0
  161. abstra_statics/dist/assets/{plotly.min.da87d61b.js → plotly.min.16914e67.js} +2 -2
  162. abstra_statics/dist/assets/polling.96dd15ee.js +2 -0
  163. abstra_statics/dist/assets/{project.2483de10.js → project.8a5a3632.js} +2 -2
  164. abstra_statics/dist/assets/{python.1bdbd404.js → python.3bf17d7f.js} +3 -3
  165. abstra_statics/dist/assets/{razor.be821b87.js → razor.ea162aec.js} +3 -3
  166. abstra_statics/dist/assets/{record.a108da5a.js → record.30ff6eef.js} +2 -2
  167. abstra_statics/dist/assets/{redirect.eedb2bf6.js → redirect.d0ca2136.js} +2 -2
  168. abstra_statics/dist/assets/{repository.48119e01.js → repository.5c0cd878.js} +2 -2
  169. abstra_statics/dist/assets/repository.b1c27c35.js +2 -0
  170. abstra_statics/dist/assets/router.ae5c14de.js +2 -0
  171. abstra_statics/dist/assets/{router.c6e27700.js → router.cfb03f89.js} +5 -5
  172. abstra_statics/dist/assets/{string.998fa621.js → string.39c8a903.js} +2 -2
  173. abstra_statics/dist/assets/{tables.9701f90c.js → tables.34208b7c.js} +2 -2
  174. abstra_statics/dist/assets/tasksController.04461f1a.js +4 -0
  175. abstra_statics/dist/assets/{toggleHighContrast.23d5a1ab.js → toggleHighContrast.fa77fdf8.js} +7 -7
  176. abstra_statics/dist/assets/{tsMode.4558d65a.js → tsMode.a5869619.js} +2 -2
  177. abstra_statics/dist/assets/{typescript.4445d2fa.js → typescript.f2aa2c4b.js} +3 -3
  178. abstra_statics/dist/assets/url.4ba49005.js +2 -0
  179. abstra_statics/dist/assets/{useCodebaseEvents.6ebbc5a2.js → useCodebaseEvents.3542d20f.js} +2 -2
  180. abstra_statics/dist/assets/useTables.3e387cf0.js +2 -0
  181. abstra_statics/dist/assets/userStore.e8304ebc.js +2 -0
  182. abstra_statics/dist/assets/uuid.2075c158.js +2 -0
  183. abstra_statics/dist/assets/{vue-flow-background.f1022925.js → vue-flow-background.32950d16.js} +2 -2
  184. abstra_statics/dist/assets/{vue-flow-core.0de753a6.js → vue-flow-core.d96b7b33.js} +2 -2
  185. abstra_statics/dist/assets/{vue-quill.esm-bundler.8f4ad2b3.js → vue-quill.esm-bundler.42450ff3.js} +2 -2
  186. abstra_statics/dist/assets/{workspaceStore.5d3f2aec.js → workspaceStore.9693f43b.js} +2 -2
  187. abstra_statics/dist/assets/{xml.8a25758b.js → xml.a1244cf9.js} +3 -3
  188. abstra_statics/dist/assets/{yaml.e466330b.js → yaml.759fa896.js} +3 -3
  189. abstra_statics/dist/console.html +15 -15
  190. abstra_statics/dist/editor.html +14 -14
  191. abstra_statics/dist/player.html +10 -10
  192. abstra_internals/services/fs_storage.py +0 -76
  193. abstra_internals/services/fs_storage_test.py +0 -71
  194. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.1035457c.js +0 -2
  195. abstra_statics/dist/assets/App.9ab9cabb.js +0 -2
  196. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.6713c9c9.js +0 -2
  197. abstra_statics/dist/assets/BaseLayout.28c01b5b.js +0 -2
  198. abstra_statics/dist/assets/CloseCircleOutlined.39b5ab06.js +0 -2
  199. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.5360224e.js +0 -2
  200. abstra_statics/dist/assets/ContentLayout.10f24838.js +0 -2
  201. abstra_statics/dist/assets/EnvVars.883a4a57.js +0 -2
  202. abstra_statics/dist/assets/ExclamationCircleOutlined.2441b96e.js +0 -2
  203. abstra_statics/dist/assets/Form.5d562f15.js +0 -2
  204. abstra_statics/dist/assets/Form.7493bc0a.css +0 -1
  205. abstra_statics/dist/assets/FormRunner.2b1b3c45.js +0 -2
  206. abstra_statics/dist/assets/Home.8502aa41.js +0 -2
  207. abstra_statics/dist/assets/LoadingContainer.ac03ea28.js +0 -2
  208. abstra_statics/dist/assets/Login.8bd6a07a.js +0 -2
  209. abstra_statics/dist/assets/Logo.fc8ace6c.js +0 -2
  210. abstra_statics/dist/assets/Logs.4c6c0b3a.js +0 -2
  211. abstra_statics/dist/assets/LogsController.a58ca42a.js +0 -2
  212. abstra_statics/dist/assets/Main.e6b2d2d5.js +0 -2
  213. abstra_statics/dist/assets/MockForm.e410c2c1.css +0 -1
  214. abstra_statics/dist/assets/NewEditor.2b6f4ed3.js +0 -8
  215. abstra_statics/dist/assets/OidcLoginCallback.987cebba.js +0 -2
  216. abstra_statics/dist/assets/OidcLogoutCallback.6c00d878.js +0 -2
  217. abstra_statics/dist/assets/PhCopySimple.vue.369eb629.js +0 -2
  218. abstra_statics/dist/assets/PhDatabase.vue.0d3246d7.js +0 -2
  219. abstra_statics/dist/assets/Project.6c4642b5.js +0 -2
  220. abstra_statics/dist/assets/ScrollArea.vue_vue_type_script_setup_true_lang.62178939.js +0 -2
  221. abstra_statics/dist/assets/Steps.82252fc0.js +0 -2
  222. abstra_statics/dist/assets/TableCard.5462c89d.js +0 -2
  223. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.3e5206e0.js +0 -2
  224. abstra_statics/dist/assets/WorkflowViewer.2666936e.js +0 -2
  225. abstra_statics/dist/assets/WorkflowViewer.3b6aee8e.css +0 -1
  226. abstra_statics/dist/assets/ant-design.b3eefa58.js +0 -2
  227. abstra_statics/dist/assets/asyncComputed.c73d027a.js +0 -2
  228. abstra_statics/dist/assets/colorHelpers.5ee17d14.js +0 -2
  229. abstra_statics/dist/assets/contracts.generated.f01de5a3.js +0 -2
  230. abstra_statics/dist/assets/editor.a77b56bd.js +0 -2
  231. abstra_statics/dist/assets/editor.main.a1ebf0ab.js +0 -2
  232. abstra_statics/dist/assets/fetch.cd29ef4c.js +0 -2
  233. abstra_statics/dist/assets/index.b72cb2b3.js +0 -2
  234. abstra_statics/dist/assets/linters.903f3240.js +0 -2
  235. abstra_statics/dist/assets/player.7112583e.js +0 -2
  236. abstra_statics/dist/assets/polling.f547718c.js +0 -2
  237. abstra_statics/dist/assets/repository.353e892d.js +0 -2
  238. abstra_statics/dist/assets/repository.677ca13c.js +0 -2
  239. abstra_statics/dist/assets/router.c7abfb0c.js +0 -2
  240. abstra_statics/dist/assets/tasksController.5db769f7.js +0 -4
  241. abstra_statics/dist/assets/url.5d02a63f.js +0 -2
  242. abstra_statics/dist/assets/useTables.4d5edd80.js +0 -2
  243. abstra_statics/dist/assets/userStore.34b8f1eb.js +0 -2
  244. abstra_statics/dist/assets/uuid.6980e2bb.js +0 -2
  245. {abstra-3.24.3.dist-info → abstra-3.24.5.dist-info}/WHEEL +0 -0
  246. {abstra-3.24.3.dist-info → abstra-3.24.5.dist-info}/entry_points.txt +0 -0
  247. {abstra-3.24.3.dist-info → abstra-3.24.5.dist-info}/top_level.txt +0 -0
  248. /abstra_statics/dist/assets/{LogsController.61f8e22d.css → ExecutionContext.61f8e22d.css} +0 -0
@@ -1,2 +0,0 @@
1
- import{O as l}from"./workspaceStore.5d3f2aec.js";import{d as c,U as f,ac as u,f as a,b as o,u as n,o as _,g as d,t as r,i,A as p,df as b}from"./jwt-decode.esm.3348bca5.js";import"./userStore.34b8f1eb.js";import"./url.5d02a63f.js";import"./colorHelpers.5ee17d14.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]="58ef2dd1-07de-4894-b77f-ce123461d325",e._sentryDebugIdIdentifier="sentry-dbid-58ef2dd1-07de-4894-b77f-ce123461d325")}catch{}})();const v=c({__name:"OidcLoginCallback",setup(e){return f(async()=>{await new l().loginCallback()}),(t,s)=>(_(),u("div",null,[a(n(p),null,{default:o(()=>[d(r(n(i).translate("i18n_oidclogincallback_authenticated_title")),1)]),_:1}),a(n(b),null,{default:o(()=>[d(r(n(i).translate("i18n_oidclogincallback_close_window_message")),1)]),_:1})]))}});export{v as default};
2
- //# sourceMappingURL=OidcLoginCallback.987cebba.js.map
@@ -1,2 +0,0 @@
1
- import{O as l}from"./workspaceStore.5d3f2aec.js";import{d as c,U as u,ac as _,f as o,b as n,u as a,o as f,g as r,t as s,i as d,A as p,df as g}from"./jwt-decode.esm.3348bca5.js";import"./userStore.34b8f1eb.js";import"./url.5d02a63f.js";import"./colorHelpers.5ee17d14.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]="1a219927-4337-4cce-808e-9d540e63686c",e._sentryDebugIdIdentifier="sentry-dbid-1a219927-4337-4cce-808e-9d540e63686c")}catch{}})();const v=c({__name:"OidcLogoutCallback",setup(e){return u(async()=>{await new l().logoutCallback()}),(t,i)=>(f(),_("div",null,[o(a(p),null,{default:n(()=>[r(s(a(d).translate("i18n_oidclogoutcallback_authenticated_title")),1)]),_:1}),o(a(g),null,{default:n(()=>[r(s(a(d).translate("i18n_oidclogoutcallback_close_window_message")),1)]),_:1})]))}});export{v as default};
2
- //# sourceMappingURL=OidcLogoutCallback.6c00d878.js.map
@@ -1,2 +0,0 @@
1
- import{d as m,at as n,c as i,o as t,ac as l,ae as h,h as y,ed as f,e as r}from"./jwt-decode.esm.3348bca5.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="83a0be27-0d61-46d1-b5ce-2f6d6738bd08",o._sentryDebugIdIdentifier="sentry-dbid-83a0be27-0d61-46d1-b5ce-2f6d6738bd08")}catch{}})();const v=["width","height","fill","transform"],Z={key:0},b=r("path",{d:"M180,64H40A12,12,0,0,0,28,76V216a12,12,0,0,0,12,12H180a12,12,0,0,0,12-12V76A12,12,0,0,0,180,64ZM168,204H52V88H168ZM228,40V180a12,12,0,0,1-24,0V52H76a12,12,0,0,1,0-24H216A12,12,0,0,1,228,40Z"},null,-1),w=[b],A={key:1},M=r("path",{d:"M184,72V216H40V72Z",opacity:"0.2"},null,-1),k=r("path",{d:"M184,64H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H184a8,8,0,0,0,8-8V72A8,8,0,0,0,184,64Zm-8,144H48V80H176ZM224,40V184a8,8,0,0,1-16,0V48H72a8,8,0,0,1,0-16H216A8,8,0,0,1,224,40Z"},null,-1),B=[M,k],I={key:2},S=r("path",{d:"M192,72V216a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V72a8,8,0,0,1,8-8H184A8,8,0,0,1,192,72Zm24-40H72a8,8,0,0,0,0,16H208V184a8,8,0,0,0,16,0V40A8,8,0,0,0,216,32Z"},null,-1),C=[S],D={key:3},_=r("path",{d:"M184,66H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H184a6,6,0,0,0,6-6V72A6,6,0,0,0,184,66Zm-6,144H46V78H178ZM222,40V184a6,6,0,0,1-12,0V46H72a6,6,0,0,1,0-12H216A6,6,0,0,1,222,40Z"},null,-1),x=[_],z={key:4},N=r("path",{d:"M184,64H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H184a8,8,0,0,0,8-8V72A8,8,0,0,0,184,64Zm-8,144H48V80H176ZM224,40V184a8,8,0,0,1-16,0V48H72a8,8,0,0,1,0-16H216A8,8,0,0,1,224,40Z"},null,-1),E=[N],P={key:5},$=r("path",{d:"M184,68H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H184a4,4,0,0,0,4-4V72A4,4,0,0,0,184,68Zm-4,144H44V76H180ZM220,40V184a4,4,0,0,1-8,0V44H72a4,4,0,0,1,0-8H216A4,4,0,0,1,220,40Z"},null,-1),j=[$],q={name:"PhCopySimple"},G=m({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=n("weight","regular"),u=n("size","1em"),V=n("color","currentColor"),p=n("mirrored",!1),d=i(()=>{var e;return(e=a.weight)!=null?e:s}),H=i(()=>{var e;return(e=a.size)!=null?e:u}),g=i(()=>{var e;return(e=a.color)!=null?e:V}),c=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,F)=>(t(),l("svg",f({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:H.value,height:H.value,fill:g.value,transform:c.value},e.$attrs),[h(e.$slots,"default"),d.value==="bold"?(t(),l("g",Z,w)):d.value==="duotone"?(t(),l("g",A,B)):d.value==="fill"?(t(),l("g",I,C)):d.value==="light"?(t(),l("g",D,x)):d.value==="regular"?(t(),l("g",z,E)):d.value==="thin"?(t(),l("g",P,j)):y("",!0)],16,v))}});export{G as I};
2
- //# sourceMappingURL=PhCopySimple.vue.369eb629.js.map
@@ -1,2 +0,0 @@
1
- import{d as v,at as o,c as C,o as t,ac as a,ae as Z,h as f,ed as h,e as c}from"./jwt-decode.esm.3348bca5.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[s]="2af253dd-751b-420b-9c1e-53728a27fee1",l._sentryDebugIdIdentifier="sentry-dbid-2af253dd-751b-420b-9c1e-53728a27fee1")}catch{}})();const V=["width","height","fill","transform"],y={key:0},w=c("path",{d:"M196,35.52C177.62,25.51,153.48,20,128,20S78.38,25.51,60,35.52C39.37,46.79,28,62.58,28,80v96c0,17.42,11.37,33.21,32,44.48,18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52c20.66-11.27,32-27.06,32-44.48V80C228,62.58,216.63,46.79,196,35.52ZM204,128c0,17-31.21,36-76,36s-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94ZM128,44c44.79,0,76,19,76,36s-31.21,36-76,36S52,97,52,80,83.21,44,128,44Zm0,168c-44.79,0-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94V176C204,193,172.79,212,128,212Z"},null,-1),b=[w],M={key:1},S=c("path",{d:"M216,80c0,26.51-39.4,48-88,48S40,106.51,40,80s39.4-48,88-48S216,53.49,216,80Z",opacity:"0.2"},null,-1),k=c("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),B=[S,k],D={key:2},I=c("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64Zm-21.61,74.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),_=[I],x={key:3},z=c("path",{d:"M128,26C75.29,26,34,49.72,34,80v96c0,30.28,41.29,54,94,54s94-23.72,94-54V80C222,49.72,180.71,26,128,26Zm0,12c44.45,0,82,19.23,82,42s-37.55,42-82,42S46,102.77,46,80,83.55,38,128,38Zm82,138c0,22.77-37.55,42-82,42s-82-19.23-82-42V154.79C62,171.16,92.37,182,128,182s66-10.84,82-27.21Zm0-48c0,22.77-37.55,42-82,42s-82-19.23-82-42V106.79C62,123.16,92.37,134,128,134s66-10.84,82-27.21Z"},null,-1),N=[z],E={key:4},P=c("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"},null,-1),$=[P],j={key:5},q=c("path",{d:"M192.14,42.55C174.94,33.17,152.16,28,128,28S81.06,33.17,63.86,42.55C45.89,52.35,36,65.65,36,80v96c0,14.35,9.89,27.65,27.86,37.45,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c18-9.8,27.86-23.1,27.86-37.45V80C220,65.65,210.11,52.35,192.14,42.55ZM212,176c0,11.29-8.41,22.1-23.69,30.43C172.27,215.18,150.85,220,128,220s-44.27-4.82-60.31-13.57C52.41,198.1,44,187.29,44,176V149.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm0-48c0,11.29-8.41,22.1-23.69,30.43C172.27,167.18,150.85,172,128,172s-44.27-4.82-60.31-13.57C52.41,150.1,44,139.29,44,128V101.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm-23.69-17.57C172.27,119.18,150.85,124,128,124s-44.27-4.82-60.31-13.57C52.41,102.1,44,91.29,44,80s8.41-22.1,23.69-30.43C83.73,40.82,105.15,36,128,36s44.27,4.82,60.31,13.57C203.59,57.9,212,68.71,212,80S203.59,102.1,188.31,110.43Z"},null,-1),A=[q],F={name:"PhDatabase"},H=v({...F,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(l){const s=l,d=o("weight","regular"),i=o("size","1em"),u=o("color","currentColor"),m=o("mirrored",!1),r=C(()=>{var e;return(e=s.weight)!=null?e:d}),n=C(()=>{var e;return(e=s.size)!=null?e:i}),g=C(()=>{var e;return(e=s.color)!=null?e:u}),p=C(()=>s.mirrored!==void 0?s.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(e,G)=>(t(),a("svg",h({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:g.value,transform:p.value},e.$attrs),[Z(e.$slots,"default"),r.value==="bold"?(t(),a("g",y,b)):r.value==="duotone"?(t(),a("g",M,B)):r.value==="fill"?(t(),a("g",D,_)):r.value==="light"?(t(),a("g",x,N)):r.value==="regular"?(t(),a("g",E,$)):r.value==="thin"?(t(),a("g",j,A)):f("",!0)],16,V))}});export{H as I};
2
- //# sourceMappingURL=PhDatabase.vue.0d3246d7.js.map
@@ -1,2 +0,0 @@
1
- import{N as b}from"./Navbar.24019fd6.js";import{B as k}from"./BaseLayout.28c01b5b.js";import{a as z}from"./asyncComputed.c73d027a.js";import{d as $,at as c,c as s,o as t,ac as o,ae as _,h as w,ed as y,e as r,ei as j,j as S,a as H,b as Z,f,u as M,i as p,_ as x}from"./jwt-decode.esm.3348bca5.js";import"./router.c6e27700.js";import{a as B}from"./organization.8f08e075.js";import{a as P}from"./project.2483de10.js";import"./tables.9701f90c.js";import{_ as C,S as I}from"./Sidebar.69f9369e.js";import{C as N}from"./ContentLayout.10f24838.js";import{G as F}from"./PhArrowCounterClockwise.vue.6ab1b899.js";import{D as G,F as D,I as E,G as q}from"./PhRocket.vue.761192f5.js";import{I as W}from"./PhDatabase.vue.0d3246d7.js";import{F as R}from"./PhKey.vue.6ef5fdd3.js";import{F as O}from"./folder.1b74b12c.js";import{_ as J}from"./ConsoleOmniChat.vue_vue_type_script_setup_true_lang.5360224e.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang.13670ae7.js";import"./constants.be8ad36c.js";import"./PhTranslate.vue.00a17a08.js";import"./PhSignOut.vue.8d8dfd96.js";import"./index.5197afb2.js";import"./index.b91afb03.js";import"./omniChatStore.40ad0b1b.js";import"./record.a108da5a.js";import"./uuid.6980e2bb.js";import"./PhCopySimple.vue.369eb629.js";import"./PhSparkle.vue.18ed0427.js";import"./index.82590a75.js";import"./Breadcrumb.e54636d6.js";import"./index.015caad7.js";import"./string.998fa621.js";import"./index.bec0ecd0.js";import"./AbstraLogo.vue_vue_type_script_setup_true_lang.1035457c.js";import"./Logo.fc8ace6c.js";import"./OmniChat.c78c1e51.js";import"./ant-design.b3eefa58.js";import"./files.1c1692f5.js";import"./PhClockCounterClockwise.vue.dae2e135.js";import"./LoadingOutlined.4c40acc4.js";import"./Card.4a8a30bb.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[l]="24fd13a1-9b16-4caf-9ba3-909c44935a27",u._sentryDebugIdIdentifier="sentry-dbid-24fd13a1-9b16-4caf-9ba3-909c44935a27")}catch{}})();const K=["width","height","fill","transform"],Q={key:0},T=r("path",{d:"M228,56H160L133.33,36a20.12,20.12,0,0,0-12-4H76A20,20,0,0,0,56,52V72H36A20,20,0,0,0,16,92V204a20,20,0,0,0,20,20H188.89A19.13,19.13,0,0,0,208,204.89V184h20.89A19.13,19.13,0,0,0,248,164.89V76A20,20,0,0,0,228,56ZM184,200H40V96H80l28.8,21.6A12,12,0,0,0,116,120h68Zm40-40H208V116a20,20,0,0,0-20-20H120L93.33,76a20.12,20.12,0,0,0-12-4H80V56h40l28.8,21.6A12,12,0,0,0,156,80h68Z"},null,-1),U=[T],X={key:1},Y=r("path",{d:"M232,80v88.89a7.11,7.11,0,0,1-7.11,7.11H200V112a8,8,0,0,0-8-8H120L90.13,81.6a8,8,0,0,0-4.8-1.6H64V56a8,8,0,0,1,8-8h45.33a8,8,0,0,1,4.8,1.6L152,72h72A8,8,0,0,1,232,80Z",opacity:"0.2"},null,-1),a1=r("path",{d:"M224,64H154.67L126.93,43.2a16.12,16.12,0,0,0-9.6-3.2H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H192.89A15.13,15.13,0,0,0,208,200.89V184h16.89A15.13,15.13,0,0,0,240,168.89V80A16,16,0,0,0,224,64ZM192,200H40V88H85.33l29.87,22.4A8,8,0,0,0,120,112h72Zm32-32H208V112a16,16,0,0,0-16-16H122.67L94.93,75.2a16.12,16.12,0,0,0-9.6-3.2H72V56h45.33L147.2,78.4A8,8,0,0,0,152,80h72Z"},null,-1),l1=[Y,a1],e1={key:2},t1=r("path",{d:"M224,64H154.67L126.93,43.2a16.12,16.12,0,0,0-9.6-3.2H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H192.89A15.13,15.13,0,0,0,208,200.89V184h16.89A15.13,15.13,0,0,0,240,168.89V80A16,16,0,0,0,224,64Zm0,104H208V112a16,16,0,0,0-16-16H122.67L94.93,75.2a16.12,16.12,0,0,0-9.6-3.2H72V56h45.33L147.2,78.4A8,8,0,0,0,152,80h72Z"},null,-1),o1=[t1],r1={key:3},i1=r("path",{d:"M224,66H154L125.73,44.8a14,14,0,0,0-8.4-2.8H72A14,14,0,0,0,58,56V74H40A14,14,0,0,0,26,88V200a14,14,0,0,0,14,14H192.89A13.12,13.12,0,0,0,206,200.89V182h18.89A13.12,13.12,0,0,0,238,168.89V80A14,14,0,0,0,224,66ZM194,200.89a1.11,1.11,0,0,1-1.11,1.11H40a2,2,0,0,1-2-2V88a2,2,0,0,1,2-2H85.33a2,2,0,0,1,1.2.4l29.87,22.4A6,6,0,0,0,120,110h72a2,2,0,0,1,2,2Zm32-32a1.11,1.11,0,0,1-1.11,1.11H206V112a14,14,0,0,0-14-14H122L93.73,76.8a14,14,0,0,0-8.4-2.8H70V56a2,2,0,0,1,2-2h45.33a2,2,0,0,1,1.2.4L148.4,76.8A6,6,0,0,0,152,78h72a2,2,0,0,1,2,2Z"},null,-1),n1=[i1],s1={key:4},c1=r("path",{d:"M224,64H154.67L126.93,43.2a16.12,16.12,0,0,0-9.6-3.2H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H192.89A15.13,15.13,0,0,0,208,200.89V184h16.89A15.13,15.13,0,0,0,240,168.89V80A16,16,0,0,0,224,64ZM192,200H40V88H85.33l29.87,22.4A8,8,0,0,0,120,112h72Zm32-32H208V112a16,16,0,0,0-16-16H122.67L94.93,75.2a16.12,16.12,0,0,0-9.6-3.2H72V56h45.33L147.2,78.4A8,8,0,0,0,152,80h72Z"},null,-1),m1=[c1],p1={key:5},u1=r("path",{d:"M224,68H153.33l-28.8-21.6a12.05,12.05,0,0,0-7.2-2.4H72A12,12,0,0,0,60,56V76H40A12,12,0,0,0,28,88V200a12,12,0,0,0,12,12H192.89A11.12,11.12,0,0,0,204,200.89V180h20.89A11.12,11.12,0,0,0,236,168.89V80A12,12,0,0,0,224,68ZM196,200.89a3.12,3.12,0,0,1-3.11,3.11H40a4,4,0,0,1-4-4V88a4,4,0,0,1,4-4H85.33a4,4,0,0,1,2.4.8l29.87,22.4a4,4,0,0,0,2.4.8h72a4,4,0,0,1,4,4Zm32-32a3.12,3.12,0,0,1-3.11,3.11H204V112a12,12,0,0,0-12-12H121.33L92.53,78.4a12.05,12.05,0,0,0-7.2-2.4H68V56a4,4,0,0,1,4-4h45.33a4,4,0,0,1,2.4.8L149.6,75.2a4,4,0,0,0,2.4.8h72a4,4,0,0,1,4,4Z"},null,-1),d1=[u1],A1={name:"PhFolders"},h1=$({...A1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const l=u,A=c("weight","regular"),n=c("size","1em"),L=c("color","currentColor"),h=c("mirrored",!1),e=s(()=>{var a;return(a=l.weight)!=null?a:A}),d=s(()=>{var a;return(a=l.size)!=null?a:n}),i=s(()=>{var a;return(a=l.color)!=null?a:L}),m=s(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:h?"scale(-1, 1)":void 0);return(a,g)=>(t(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:i.value,transform:m.value},a.$attrs),[_(a.$slots,"default"),e.value==="bold"?(t(),o("g",Q,U)):e.value==="duotone"?(t(),o("g",X,l1)):e.value==="fill"?(t(),o("g",e1,o1)):e.value==="light"?(t(),o("g",r1,n1)):e.value==="regular"?(t(),o("g",s1,m1)):e.value==="thin"?(t(),o("g",p1,d1)):w("",!0)],16,K))}}),L1=["width","height","fill","transform"],g1={key:0},v1=r("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm113.86-49.57A12,12,0,0,0,236,98.34L208.21,82.49l-.11-31.31a12,12,0,0,0-4.25-9.12,116,116,0,0,0-38-21.41,12,12,0,0,0-9.68.89L128,37.27,99.83,21.53a12,12,0,0,0-9.7-.9,116.06,116.06,0,0,0-38,21.47,12,12,0,0,0-4.24,9.1l-.14,31.34L20,98.35a12,12,0,0,0-5.85,8.11,110.7,110.7,0,0,0,0,43.11A12,12,0,0,0,20,157.66l27.82,15.85.11,31.31a12,12,0,0,0,4.25,9.12,116,116,0,0,0,38,21.41,12,12,0,0,0,9.68-.89L128,218.73l28.14,15.74a12,12,0,0,0,9.7.9,116.06,116.06,0,0,0,38-21.47,12,12,0,0,0,4.24-9.1l.14-31.34,27.81-15.81a12,12,0,0,0,5.85-8.11A110.7,110.7,0,0,0,241.86,106.43Zm-22.63,33.18-26.88,15.28a11.94,11.94,0,0,0-4.55,4.59c-.54,1-1.11,1.93-1.7,2.88a12,12,0,0,0-1.83,6.31L184.13,199a91.83,91.83,0,0,1-21.07,11.87l-27.15-15.19a12,12,0,0,0-5.86-1.53h-.29c-1.14,0-2.3,0-3.44,0a12.08,12.08,0,0,0-6.14,1.51L93,210.82A92.27,92.27,0,0,1,71.88,199l-.11-30.24a12,12,0,0,0-1.83-6.32c-.58-.94-1.16-1.91-1.7-2.88A11.92,11.92,0,0,0,63.7,155L36.8,139.63a86.53,86.53,0,0,1,0-23.24l26.88-15.28a12,12,0,0,0,4.55-4.58c.54-1,1.11-1.94,1.7-2.89a12,12,0,0,0,1.83-6.31L71.87,57A91.83,91.83,0,0,1,92.94,45.17l27.15,15.19a11.92,11.92,0,0,0,6.15,1.52c1.14,0,2.3,0,3.44,0a12.08,12.08,0,0,0,6.14-1.51L163,45.18A92.27,92.27,0,0,1,184.12,57l.11,30.24a12,12,0,0,0,1.83,6.32c.58.94,1.16,1.91,1.7,2.88A11.92,11.92,0,0,0,192.3,101l26.9,15.33A86.53,86.53,0,0,1,219.23,139.61Z"},null,-1),Z1=[v1],f1={key:1},$1=r("path",{d:"M230.1,108.76,198.25,90.62c-.64-1.16-1.31-2.29-2-3.41l-.12-36A104.61,104.61,0,0,0,162,32L130,49.89c-1.34,0-2.69,0-4,0L94,32A104.58,104.58,0,0,0,59.89,51.25l-.16,36c-.7,1.12-1.37,2.26-2,3.41l-31.84,18.1a99.15,99.15,0,0,0,0,38.46l31.85,18.14c.64,1.16,1.31,2.29,2,3.41l.12,36A104.61,104.61,0,0,0,94,224l32-17.87c1.34,0,2.69,0,4,0L162,224a104.58,104.58,0,0,0,34.08-19.25l.16-36c.7-1.12,1.37-2.26,2-3.41l31.84-18.1A99.15,99.15,0,0,0,230.1,108.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),w1=r("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.1,8.1,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8,8,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"},null,-1),_1=[$1,w1],y1={key:2},H1=r("path",{d:"M237.94,107.21a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1),M1=[H1],V1={key:3},b1=r("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Zm108-54.4a6,6,0,0,0-2.92-4L202.64,86.22l-.42-.71L202.1,51.2A6,6,0,0,0,200,46.64a110.12,110.12,0,0,0-36.07-20.31,6,6,0,0,0-4.84.45L128.46,43.86h-1L96.91,26.76a6,6,0,0,0-4.86-.44A109.92,109.92,0,0,0,56,46.68a6,6,0,0,0-2.12,4.55l-.16,34.34c-.14.23-.28.47-.41.71L22.91,103.57A6,6,0,0,0,20,107.62a104.81,104.81,0,0,0,0,40.78,6,6,0,0,0,2.92,4l30.42,17.33.42.71.12,34.31A6,6,0,0,0,56,209.36a110.12,110.12,0,0,0,36.07,20.31,6,6,0,0,0,4.84-.45l30.61-17.08h1l30.56,17.1A6.09,6.09,0,0,0,162,230a5.83,5.83,0,0,0,1.93-.32,109.92,109.92,0,0,0,36-20.36,6,6,0,0,0,2.12-4.55l.16-34.34c.14-.23.28-.47.41-.71l30.42-17.29a6,6,0,0,0,2.92-4.05A104.81,104.81,0,0,0,236,107.6Zm-11.25,35.79L195.32,160.1a6.07,6.07,0,0,0-2.28,2.3c-.59,1-1.21,2.11-1.86,3.14a6,6,0,0,0-.91,3.16l-.16,33.21a98.15,98.15,0,0,1-27.52,15.53L133,200.88a6,6,0,0,0-2.93-.77h-.14c-1.24,0-2.5,0-3.74,0a6,6,0,0,0-3.07.76L93.45,217.43a98,98,0,0,1-27.56-15.49l-.12-33.17a6,6,0,0,0-.91-3.16c-.64-1-1.27-2.08-1.86-3.14a6,6,0,0,0-2.27-2.3L31.3,143.4a93,93,0,0,1,0-30.79L60.68,95.9A6.07,6.07,0,0,0,63,93.6c.59-1,1.21-2.11,1.86-3.14a6,6,0,0,0,.91-3.16l.16-33.21A98.15,98.15,0,0,1,93.41,38.56L123,55.12a5.81,5.81,0,0,0,3.07.76c1.24,0,2.5,0,3.74,0a6,6,0,0,0,3.07-.76l29.65-16.56a98,98,0,0,1,27.56,15.49l.12,33.17a6,6,0,0,0,.91,3.16c.64,1,1.27,2.08,1.86,3.14a6,6,0,0,0,2.27,2.3L224.7,112.6A93,93,0,0,1,224.73,143.39Z"},null,-1),k1=[b1],z1={key:4},j1=r("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A112.1,112.1,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.62a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.08,8.08,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8.08,8.08,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"},null,-1),S1=[j1],x1={key:5},B1=r("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm106-56a4,4,0,0,0-2-2.7l-30.89-17.6q-.47-.82-1-1.62L200.1,51.2a3.94,3.94,0,0,0-1.42-3,107.8,107.8,0,0,0-35.41-19.94,4,4,0,0,0-3.23.29L129,45.87h-2l-31-17.36a4,4,0,0,0-3.23-.3,108.05,108.05,0,0,0-35.39,20,4,4,0,0,0-1.41,3l-.16,34.9-1,1.62L23.9,105.3A4,4,0,0,0,22,108a102.76,102.76,0,0,0,0,40,4,4,0,0,0,1.95,2.7l30.89,17.6q.47.83,1,1.62l.12,34.87a3.94,3.94,0,0,0,1.42,3,107.8,107.8,0,0,0,35.41,19.94,4,4,0,0,0,3.23-.29L127,210.13h2l31,17.36a4,4,0,0,0,3.23.3,108.05,108.05,0,0,0,35.39-20,4,4,0,0,0,1.41-3l.16-34.9,1-1.62L232.1,150.7a4,4,0,0,0,2-2.71A102.76,102.76,0,0,0,234,108Zm-7.48,36.67L196.3,161.84a4,4,0,0,0-1.51,1.53c-.61,1.09-1.25,2.17-1.91,3.24a3.92,3.92,0,0,0-.61,2.1l-.16,34.15a99.8,99.8,0,0,1-29.7,16.77l-30.4-17a4.06,4.06,0,0,0-2-.51H130c-1.28,0-2.57,0-3.84,0a4.1,4.1,0,0,0-2.05.51l-30.45,17A100.23,100.23,0,0,1,63.89,202.9l-.12-34.12a3.93,3.93,0,0,0-.61-2.11c-.66-1-1.3-2.14-1.91-3.23a4,4,0,0,0-1.51-1.53L29.49,144.68a94.78,94.78,0,0,1,0-33.34L59.7,94.16a4,4,0,0,0,1.51-1.53c.61-1.09,1.25-2.17,1.91-3.23a4,4,0,0,0,.61-2.11l.16-34.15a99.8,99.8,0,0,1,29.7-16.77l30.4,17a4.1,4.1,0,0,0,2.05.51c1.28,0,2.57,0,3.84,0a4,4,0,0,0,2.05-.51l30.45-17A100.23,100.23,0,0,1,192.11,53.1l.12,34.12a3.93,3.93,0,0,0,.61,2.11c.66,1,1.3,2.14,1.91,3.23a4,4,0,0,0,1.51,1.53l30.25,17.23A94.78,94.78,0,0,1,226.54,144.66Z"},null,-1),P1=[B1],C1={name:"PhGearSix"},I1=$({...C1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const l=u,A=c("weight","regular"),n=c("size","1em"),L=c("color","currentColor"),h=c("mirrored",!1),e=s(()=>{var a;return(a=l.weight)!=null?a:A}),d=s(()=>{var a;return(a=l.size)!=null?a:n}),i=s(()=>{var a;return(a=l.color)!=null?a:L}),m=s(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:h?"scale(-1, 1)":void 0);return(a,g)=>(t(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:i.value,transform:m.value},a.$attrs),[_(a.$slots,"default"),e.value==="bold"?(t(),o("g",g1,Z1)):e.value==="duotone"?(t(),o("g",f1,_1)):e.value==="fill"?(t(),o("g",y1,M1)):e.value==="light"?(t(),o("g",V1,k1)):e.value==="regular"?(t(),o("g",z1,S1)):e.value==="thin"?(t(),o("g",x1,P1)):w("",!0)],16,L1))}}),N1=["width","height","fill","transform"],F1={key:0},G1=r("path",{d:"M200,152a35.77,35.77,0,0,0-16.46,4l-21.39-16.64A35.49,35.49,0,0,0,164,128.65l10.35-3.44A36,36,0,1,0,164,100c0,1.11.06,2.21.16,3.3l-7.78,2.59A36,36,0,0,0,128,92c-1,0-1.88,0-2.81.12l-4.45-10A36,36,0,1,0,96,92c1,0,1.88,0,2.81-.12l4.45,10a35.91,35.91,0,0,0-8.59,39.7L73.39,160.49a36,36,0,1,0,15.94,17.93l21.28-18.91a35.91,35.91,0,0,0,36.8-1.21L167,173.56A36,36,0,1,0,200,152Zm0-64a12,12,0,1,1-12,12A12,12,0,0,1,200,88ZM84,56A12,12,0,1,1,96,68,12,12,0,0,1,84,56ZM56,204a12,12,0,1,1,12-12A12,12,0,0,1,56,204Zm60-76a12,12,0,1,1,12,12A12,12,0,0,1,116,128Zm84,72a12,12,0,1,1,12-12A12,12,0,0,1,200,200Z"},null,-1),D1=[G1],E1={key:1},q1=r("path",{d:"M152,128a24,24,0,1,1-24-24A24,24,0,0,1,152,128Z",opacity:"0.2"},null,-1),W1=r("path",{d:"M200,152a31.84,31.84,0,0,0-19.53,6.68l-23.11-18A31.65,31.65,0,0,0,160,128c0-.74,0-1.48-.08-2.21l13.23-4.41A32,32,0,1,0,168,104c0,.74,0,1.48.08,2.21l-13.23,4.41A32,32,0,0,0,128,96a32.59,32.59,0,0,0-5.27.44L115.89,81A32,32,0,1,0,96,88a32.59,32.59,0,0,0,5.27-.44l6.84,15.4a31.92,31.92,0,0,0-8.57,39.64L73.83,165.44a32.06,32.06,0,1,0,10.63,12l25.71-22.84a31.91,31.91,0,0,0,37.36-1.24l23.11,18A31.65,31.65,0,0,0,168,184a32,32,0,1,0,32-32Zm0-64a16,16,0,1,1-16,16A16,16,0,0,1,200,88ZM80,56A16,16,0,1,1,96,72,16,16,0,0,1,80,56ZM56,208a16,16,0,1,1,16-16A16,16,0,0,1,56,208Zm56-80a16,16,0,1,1,16,16A16,16,0,0,1,112,128Zm88,72a16,16,0,1,1,16-16A16,16,0,0,1,200,200Z"},null,-1),R1=[q1,W1],O1={key:2},J1=r("path",{d:"M200,152a31.84,31.84,0,0,0-19.53,6.68l-23.11-18A31.65,31.65,0,0,0,160,128c0-.74,0-1.48-.08-2.21l13.23-4.41A32,32,0,1,0,168,104c0,.74,0,1.48.08,2.21l-13.23,4.41A32,32,0,0,0,128,96a32.59,32.59,0,0,0-5.27.44L115.89,81A32,32,0,1,0,96,88a32.59,32.59,0,0,0,5.27-.44l6.84,15.4a31.92,31.92,0,0,0-8.57,39.64L73.83,165.44a32.06,32.06,0,1,0,10.63,12l25.71-22.84a31.91,31.91,0,0,0,37.36-1.24l23.11,18A31.65,31.65,0,0,0,168,184a32,32,0,1,0,32-32Zm0-64a16,16,0,1,1-16,16A16,16,0,0,1,200,88ZM80,56A16,16,0,1,1,96,72,16,16,0,0,1,80,56ZM56,208a16,16,0,1,1,16-16A16,16,0,0,1,56,208Zm144-8a16,16,0,1,1,16-16A16,16,0,0,1,200,200Z"},null,-1),K1=[J1],Q1={key:3},T1=r("path",{d:"M200,154a29.87,29.87,0,0,0-19.5,7.23L154.88,141.3A29.83,29.83,0,0,0,158,128a30.52,30.52,0,0,0-.22-3.6L174,119a30,30,0,1,0-4-15,30.52,30.52,0,0,0,.22,3.6L154,113a29.91,29.91,0,0,0-32.42-14.31l-8.14-18.3a30,30,0,1,0-11,4.88l8.14,18.3A29.92,29.92,0,0,0,102.06,143L74,168a30.08,30.08,0,1,0,8,9L110,152a29.91,29.91,0,0,0,37.47-1.23l25.62,19.93A30,30,0,1,0,200,154Zm0-68a18,18,0,1,1-18,18A18,18,0,0,1,200,86ZM78,56A18,18,0,1,1,96,74,18,18,0,0,1,78,56ZM56,210a18,18,0,1,1,18-18A18,18,0,0,1,56,210Zm72-64a18,18,0,1,1,18-18A18,18,0,0,1,128,146Zm72,56a18,18,0,1,1,18-18A18,18,0,0,1,200,202Z"},null,-1),U1=[T1],X1={key:4},Y1=r("path",{d:"M200,152a31.84,31.84,0,0,0-19.53,6.68l-23.11-18A31.65,31.65,0,0,0,160,128c0-.74,0-1.48-.08-2.21l13.23-4.41A32,32,0,1,0,168,104c0,.74,0,1.48.08,2.21l-13.23,4.41A32,32,0,0,0,128,96a32.59,32.59,0,0,0-5.27.44L115.89,81A32,32,0,1,0,96,88a32.59,32.59,0,0,0,5.27-.44l6.84,15.4a31.92,31.92,0,0,0-8.57,39.64L73.83,165.44a32.06,32.06,0,1,0,10.63,12l25.71-22.84a31.91,31.91,0,0,0,37.36-1.24l23.11,18A31.65,31.65,0,0,0,168,184a32,32,0,1,0,32-32Zm0-64a16,16,0,1,1-16,16A16,16,0,0,1,200,88ZM80,56A16,16,0,1,1,96,72,16,16,0,0,1,80,56ZM56,208a16,16,0,1,1,16-16A16,16,0,0,1,56,208Zm56-80a16,16,0,1,1,16,16A16,16,0,0,1,112,128Zm88,72a16,16,0,1,1,16-16A16,16,0,0,1,200,200Z"},null,-1),a0=[Y1],l0={key:5},e0=r("path",{d:"M200,156a27.87,27.87,0,0,0-19.4,7.84l-28.28-22A27.78,27.78,0,0,0,156,128a28.09,28.09,0,0,0-.45-5L175,116.55a28.07,28.07,0,1,0-2.53-7.58L153,115.45A28,28,0,0,0,128,100a27.68,27.68,0,0,0-7.6,1.06l-9.5-21.37A28,28,0,1,0,96,84a27.68,27.68,0,0,0,7.6-1.06l9.5,21.37a27.95,27.95,0,0,0-8.46,39.1L74,170.61a28,28,0,1,0,5.32,6l30.6-27.2a27.92,27.92,0,0,0,37.44-1.23l28.28,22A28,28,0,1,0,200,156Zm0-72a20,20,0,1,1-20,20A20,20,0,0,1,200,84ZM76,56A20,20,0,1,1,96,76,20,20,0,0,1,76,56ZM56,212a20,20,0,1,1,20-20A20,20,0,0,1,56,212Zm72-64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Zm72,56a20,20,0,1,1,20-20A20,20,0,0,1,200,204Z"},null,-1),t0=[e0],o0={name:"PhGraph"},r0=$({...o0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const l=u,A=c("weight","regular"),n=c("size","1em"),L=c("color","currentColor"),h=c("mirrored",!1),e=s(()=>{var a;return(a=l.weight)!=null?a:A}),d=s(()=>{var a;return(a=l.size)!=null?a:n}),i=s(()=>{var a;return(a=l.color)!=null?a:L}),m=s(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:h?"scale(-1, 1)":void 0);return(a,g)=>(t(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:i.value,transform:m.value},a.$attrs),[_(a.$slots,"default"),e.value==="bold"?(t(),o("g",F1,D1)):e.value==="duotone"?(t(),o("g",E1,R1)):e.value==="fill"?(t(),o("g",O1,K1)):e.value==="light"?(t(),o("g",Q1,U1)):e.value==="regular"?(t(),o("g",X1,a0)):e.value==="thin"?(t(),o("g",l0,t0)):w("",!0)],16,N1))}}),i0=["width","height","fill","transform"],n0={key:0},s0=r("path",{d:"M240.49,63.51a12,12,0,0,0-17,0L192,95,161,64l31.52-31.51a12,12,0,0,0-17-17L144,47,120.49,23.51a12,12,0,1,0-17,17L107,44,56.89,94.14a44,44,0,0,0,0,62.23l12.88,12.88L23.51,215.51a12,12,0,0,0,17,17l46.26-46.26,12.88,12.88a44,44,0,0,0,62.23,0L212,149l3.51,3.52a12,12,0,0,0,17-17L209,112l31.52-31.51A12,12,0,0,0,240.49,63.51Zm-95.6,118.63a20,20,0,0,1-28.29,0L73.86,139.4a20,20,0,0,1,0-28.29L124,61l71,71Z"},null,-1),c0=[s0],m0={key:1},p0=r("path",{d:"M212,132l-58.63,58.63a32,32,0,0,1-45.25,0L65.37,147.88a32,32,0,0,1,0-45.25L124,44Z",opacity:"0.2"},null,-1),u0=r("path",{d:"M237.66,66.34a8,8,0,0,0-11.32,0L192,100.69,155.31,64l34.35-34.34a8,8,0,1,0-11.32-11.32L144,52.69,117.66,26.34a8,8,0,0,0-11.32,11.32L112.69,44l-53,53a40,40,0,0,0,0,56.57l15.71,15.71L26.34,218.34a8,8,0,0,0,11.32,11.32l49.09-49.09,15.71,15.71a40,40,0,0,0,56.57,0l53-53,6.34,6.35a8,8,0,0,0,11.32-11.32L203.31,112l34.35-34.34A8,8,0,0,0,237.66,66.34ZM147.72,185a24,24,0,0,1-33.95,0L71,142.23a24,24,0,0,1,0-33.95l53-53L200.69,132Z"},null,-1),d0=[p0,u0],A0={key:2},h0=r("path",{d:"M237.66,77.66,203.31,112l26.35,26.34a8,8,0,0,1-11.32,11.32L212,143.31l-53,53a40,40,0,0,1-56.57,0L86.75,180.57,37.66,229.66a8,8,0,0,1-11.32-11.32l49.09-49.09L59.72,153.54a40,40,0,0,1,0-56.57l53-53-6.35-6.34a8,8,0,0,1,11.32-11.32L144,52.69l34.34-34.35a8,8,0,1,1,11.32,11.32L155.31,64,192,100.69l34.34-34.35a8,8,0,0,1,11.32,11.32Z"},null,-1),L0=[h0],g0={key:3},v0=r("path",{d:"M236.24,67.76a6,6,0,0,0-8.48,0L192,103.51,152.49,64l35.75-35.76a6,6,0,0,0-8.48-8.48L144,55.51,116.24,27.76a6,6,0,1,0-8.48,8.48L115.51,44,61.13,98.38a38,38,0,0,0,0,53.75l17.13,17.12-50.5,50.51a6,6,0,1,0,8.48,8.48l50.51-50.5,17.13,17.13a38,38,0,0,0,53.74,0L212,140.49l7.76,7.75a6,6,0,0,0,8.48-8.48L200.49,112l35.75-35.76A6,6,0,0,0,236.24,67.76ZM149.13,186.38a26,26,0,0,1-36.77,0L69.62,143.64a26,26,0,0,1,0-36.77L124,52.49,203.51,132Z"},null,-1),Z0=[v0],f0={key:4},$0=r("path",{d:"M237.66,66.34a8,8,0,0,0-11.32,0L192,100.69,155.31,64l34.35-34.34a8,8,0,1,0-11.32-11.32L144,52.69,117.66,26.34a8,8,0,0,0-11.32,11.32L112.69,44l-53,53a40,40,0,0,0,0,56.57l15.71,15.71L26.34,218.34a8,8,0,0,0,11.32,11.32l49.09-49.09,15.71,15.71a40,40,0,0,0,56.57,0l53-53,6.34,6.35a8,8,0,0,0,11.32-11.32L203.31,112l34.35-34.34A8,8,0,0,0,237.66,66.34ZM147.72,185a24,24,0,0,1-33.95,0L71,142.23a24,24,0,0,1,0-33.95l53-53L200.69,132Z"},null,-1),w0=[$0],_0={key:5},y0=r("path",{d:"M234.83,69.17a4,4,0,0,0-5.66,0L192,106.34,149.66,64l37.17-37.17a4,4,0,1,0-5.66-5.66L144,58.34,114.83,29.17a4,4,0,0,0-5.66,5.66L118.34,44,62.54,99.8a36.05,36.05,0,0,0,0,50.91l18.55,18.54L29.17,221.17a4,4,0,0,0,5.66,5.66l51.92-51.92,18.54,18.55a36.06,36.06,0,0,0,50.91,0l55.8-55.8,9.17,9.17a4,4,0,0,0,5.66-5.66L197.66,112l37.17-37.17A4,4,0,0,0,234.83,69.17ZM150.54,187.8a28,28,0,0,1-39.59,0L68.2,145.05a28,28,0,0,1,0-39.59L124,49.66,206.34,132Z"},null,-1),H0=[y0],M0={name:"PhPlug"},V0=$({...M0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const l=u,A=c("weight","regular"),n=c("size","1em"),L=c("color","currentColor"),h=c("mirrored",!1),e=s(()=>{var a;return(a=l.weight)!=null?a:A}),d=s(()=>{var a;return(a=l.size)!=null?a:n}),i=s(()=>{var a;return(a=l.color)!=null?a:L}),m=s(()=>l.mirrored!==void 0?l.mirrored?"scale(-1, 1)":void 0:h?"scale(-1, 1)":void 0);return(a,g)=>(t(),o("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:d.value,height:d.value,fill:i.value,transform:m.value},a.$attrs),[_(a.$slots,"default"),e.value==="bold"?(t(),o("g",n0,c0)):e.value==="duotone"?(t(),o("g",m0,d0)):e.value==="fill"?(t(),o("g",A0,L0)):e.value==="light"?(t(),o("g",g0,Z0)):e.value==="regular"?(t(),o("g",f0,w0)):e.value==="thin"?(t(),o("g",_0,H0)):w("",!0)],16,i0))}}),b0=$({__name:"Project",setup(u){const l=j(),A=l.params.projectId,{result:n}=z(()=>P.get(A).then(async i=>{const m=await B.get(i.organizationId),v=(await new O().list(m.id)).find(V=>V.id===i.folderId);if(!v)throw new Error("Folder not found");return{project:i,organization:m,folder:v}})),L=s(()=>{var i,m,a,g,v;return((i=n.value)==null?void 0:i.organization)&&n.value.project?[{label:p.translate("i18n_projectview_my_organizations"),path:"/organizations"},{label:(a=(m=n.value)==null?void 0:m.organization)==null?void 0:a.name,path:`/organizations/${(g=n.value)==null?void 0:g.organization.id}`},{label:n.value.folder.name,path:`/organizations/${(v=n.value)==null?void 0:v.organization.id}#${n.value.folder.id}`},{label:n.value.project.name,path:`/projects/${n.value.project.id}`}]:void 0}),h=s(()=>{var i;return(i=n.value)==null?void 0:i.organization.billingMetadata}),e=s(()=>{var i;return(i=n.value)==null?void 0:i.organization.id}),d=s(()=>{var i;return(i=n.value)!=null&&i.project?[{name:p.translate("i18n_projectview_monitoring"),items:[{name:"Workflow",path:"workflow",icon:r0},{name:p.translate("i18n_projectview_version_history"),path:"builds",icon:G},{name:p.translate("i18n_projectview_logs"),icon:F,path:"logs"},{name:p.translate("i18n_projectview_tasks"),path:"tasks",icon:D}]},{name:p.translate("i18n_projectview_resources"),items:[{name:p.translate("i18n_projectview_tables"),path:"tables",icon:W},{name:p.translate("i18n_projectview_files"),path:"files",icon:h1},{name:p.translate("i18n_projectview_connectors"),path:"connectors",icon:V0}]},{name:p.translate("i18n_projectview_configuration"),items:[{name:p.translate("i18n_projectview_api_keys"),path:"api-keys",icon:R},{name:p.translate("i18n_projectview_env_vars"),path:"env-vars",icon:E},{name:p.translate("i18n_projectview_subdomain"),icon:I1,path:"settings"},{name:p.translate("i18n_projectview_access_control"),icon:q,path:"access-control"}]}]:[]});return(i,m)=>{const a=S("RouterView");return t(),H(k,null,{content:Z(()=>[f(N,{"no-padding":!!M(l).meta.canvas,"full-width":!!M(l).meta.canvas},{default:Z(()=>[h.value&&e.value?(t(),H(C,{key:0,"billing-metadata":h.value,"organization-id":e.value},null,8,["billing-metadata","organization-id"])):w("",!0),f(a)]),_:1},8,["no-padding","full-width"])]),navbar:Z(()=>[f(b,{class:"nav",breadcrumb:L.value,"show-ai-sparkles":""},null,8,["breadcrumb"])]),sidebar:Z(()=>[f(I,{class:"sidebar",sections:d.value},null,8,["sections"])]),chat:Z(()=>[f(J)]),_:1})}}});const h2=x(b0,[["__scopeId","data-v-cf992982"]]);export{h2 as default};
2
- //# sourceMappingURL=Project.6c4642b5.js.map
@@ -1,2 +0,0 @@
1
- import{d,c as a,o as i,ac as u,e as c,ae as f,ad as o,eh as r}from"./jwt-decode.esm.3348bca5.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]="9f1aa68e-1a33-4519-b1e5-229fdd9b0a4e",e._sentryDebugIdIdentifier="sentry-dbid-9f1aa68e-1a33-4519-b1e5-229fdd9b0a4e")}catch{}})();const b=d({__name:"ScrollArea",props:{innerClass:{},outerClass:{},outerStyle:{},innerStyle:{}},setup(e){const t=e,n=a(()=>t.outerStyle?{position:"relative",...t.outerStyle}:{position:"relative"}),l=a(()=>{var s;return{position:"absolute",inset:0,overflow:"auto",...(s=t.innerStyle)!=null?s:{}}});return(s,y)=>(i(),u("div",{style:o(n.value),class:r(s.outerClass)},[c("div",{style:o(l.value),class:r(s.innerClass)},[f(s.$slots,"default")],6)],6))}});export{b as _};
2
- //# sourceMappingURL=ScrollArea.vue_vue_type_script_setup_true_lang.62178939.js.map
@@ -1,2 +0,0 @@
1
- import{A as o}from"./index.82842143.js";import{d as r,c as a,ac as p,f as d,u as c,eh as f,h as l,o as i,_ as u}from"./jwt-decode.esm.3348bca5.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]="dbd8a466-9437-4445-9080-5f437c490e23",e._sentryDebugIdIdentifier="sentry-dbid-dbd8a466-9437-4445-9080-5f437c490e23")}catch{}})();const _=r({__name:"Steps",props:{stepsInfo:{},isPreview:{type:Boolean}},setup(e){const s=e,n=a(()=>s.stepsInfo?Array(s.stepsInfo.total).fill(null).map(()=>({label:"",description:""})):[]);return(t,m)=>t.stepsInfo?(i(),p("nav",{key:0,class:f(["p-steps",{"full-screen":!t.isPreview}])},[d(c(o),{current:t.stepsInfo.current-1,items:n.value,responsive:!1},null,8,["current","items"])],2)):l("",!0)}});const b=u(_,[["__scopeId","data-v-58fdd395"]]);export{b as S};
2
- //# sourceMappingURL=Steps.82252fc0.js.map
@@ -1,2 +0,0 @@
1
- import{_ as x}from"./AbstraButton.vue_vue_type_script_setup_true_lang.13670ae7.js";import{F as H}from"./PhKey.vue.6ef5fdd3.js";import{G as T}from"./PhPencil.vue.0fc0fcc0.js";import{f as v,c as k}from"./vue-flow-core.0de753a6.js";import{d as $,c as g,j as z,o,a as d,b as l,f as i,u as t,A as D,g as h,t as p,h as c,dj as b,ac as V,ej as A,eh as y,df as _,aY as E,_ as L}from"./jwt-decode.esm.3348bca5.js";import{C as F}from"./Card.4a8a30bb.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new Error().stack;f&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[f]="757bc500-ffab-4ec0-a420-65b35a402c0b",u._sentryDebugIdIdentifier="sentry-dbid-757bc500-ffab-4ec0-a420-65b35a402c0b")}catch{}})();const K=$({__name:"TableCard",props:{table:{},projectId:{},showHandles:{type:Boolean},maxVisibleColumns:{},connectedColumns:{},highlightedColumns:{},isHighlighted:{type:Boolean},showEditButton:{type:Boolean,default:!0}},emits:["dblclick"],setup(u,{emit:f}){const a=u,m=g(()=>{var e;return(e=a.maxVisibleColumns)!=null?e:5}),w=g(()=>a.table.getColumns().slice(0,m.value)),I=g(()=>a.table.getColumns().length>m.value),j=g(()=>!a.highlightedColumns||a.highlightedColumns.length===0?!1:a.table.getColumns().slice(m.value).some(n=>{var r;return n.id&&((r=a.highlightedColumns)==null?void 0:r.includes(n.id))})),B=e=>{var n,r;return(r=(n=a.connectedColumns)==null?void 0:n.includes(e))!=null?r:!1};return(e,n)=>{const r=z("RouterLink");return o(),d(t(F),{hoverable:!0,class:y(["table-card",{"table-highlighted":e.isHighlighted}]),onDblclick:n[0]||(n[0]=s=>f("dblclick"))},{title:l(()=>[i(t(b),{align:"center",justify:"space-between"},{default:l(()=>[i(t(D),{level:5,style:{margin:"0"}},{default:l(()=>[h(p(e.table.name),1)]),_:1}),e.showEditButton?(o(),d(r,{key:0,to:`/projects/${e.projectId}/tables/${e.table.id}`},{default:l(()=>[i(x,{size:"small",type:"text"},{default:l(()=>[i(t(T),{size:16})]),_:1})]),_:1},8,["to"])):c("",!0)]),_:1})]),default:l(()=>[i(t(b),{vertical:"",gap:"small",class:"columns-list"},{default:l(()=>[(o(!0),V(E,null,A(w.value,s=>{var C;return o(),d(t(b),{key:s.id,align:"center",gap:"small",class:y(["column-row",{"column-highlighted":s.id&&((C=e.highlightedColumns)==null?void 0:C.includes(s.id))}])},{default:l(()=>[e.showHandles&&s.foreignKey?(o(),d(t(v),{key:0,id:`target-${s.id}`,type:"target",position:t(k).Left,connectable:!1},null,8,["id","position"])):c("",!0),s.primaryKey?(o(),d(t(H),{key:1,size:14,class:"key-icon"})):c("",!0),i(t(_),{strong:"",style:{flex:"1","font-size":"13px","line-height":"1"}},{default:l(()=>[h(p(s.name),1)]),_:2},1024),i(t(_),{type:"secondary",style:{"line-height":"1"}},{default:l(()=>[h(p(s.type),1)]),_:2},1024),e.showHandles&&(s.primaryKey||s.id&&B(s.id))?(o(),d(t(v),{key:2,id:`source-${s.id}`,type:"source",position:t(k).Right,connectable:!1},null,8,["id","position"])):c("",!0)]),_:2},1032,["class"])}),128)),I.value?(o(),d(t(b),{key:0,justify:"center",align:"center",style:{"padding-top":"8px"},class:y({"more-columns-highlighted":j.value})},{default:l(()=>[i(t(_),{type:"secondary",style:{"font-size":"12px"}},{default:l(()=>[h(" +"+p(e.table.getColumns().length-m.value)+" more columns ",1)]),_:1})]),_:1},8,["class"])):c("",!0)]),_:1})]),_:1},8,["class"])}}});const Y=L(K,[["__scopeId","data-v-e197befa"]]);export{Y as T};
2
- //# sourceMappingURL=TableCard.5462c89d.js.map
@@ -1,2 +0,0 @@
1
- import{d as _,ec as f,ei as m,i as n,o as c,a as p,b as i,ac as g,ej as y,f as v,e as k,t as w,u as r,aY as I}from"./jwt-decode.esm.3348bca5.js";import{A as T,T as D}from"./Card.4a8a30bb.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]="b215319c-3307-46a6-908c-60a2f22e75b4",e._sentryDebugIdIdentifier="sentry-dbid-b215319c-3307-46a6-908c-60a2f22e75b4")}catch{}})();const x=_({__name:"TablesTabs",setup(e){const a=f(),t=m(),u=String(t.name),b=t.params.projectId,l=[{label:n.translate("i18n_tablestabs_tables_list"),value:"tables"},{label:n.translate("i18n_tablestabs_diagram_view"),value:"tables-diagram"},{label:n.translate("i18n_tablestabs_run_sql"),value:"sql"}],d=o=>{a.push({name:String(o),params:{projectId:b}})};return(o,h)=>(c(),p(r(D),{"active-key":r(u),options:l,"onUpdate:activeKey":d},{default:i(()=>[(c(),g(I,null,y(l,s=>v(r(T),{key:s.value,name:s.value},{tab:i(()=>[k("span",null,w(s.label),1)]),_:2},1032,["name"])),64))]),_:1},8,["active-key"]))}});export{x as _};
2
- //# sourceMappingURL=TablesTabs.vue_vue_type_script_setup_true_lang.3e5206e0.js.map
@@ -1,2 +0,0 @@
1
- var ye=Object.defineProperty;var ve=(u,t,d)=>t in u?ye(u,t,{enumerable:!0,configurable:!0,writable:!0,value:d}):u[t]=d;var ie=(u,t,d)=>(ve(u,typeof t!="symbol"?t+"":t,d),d);import{_ as G}from"./AbstraButton.vue_vue_type_script_setup_true_lang.13670ae7.js";import{d as X,at as O,c as b,o as c,ac as A,ae as he,h as H,ed as ke,e as m,f as s,u as e,a as $,b as o,g as C,t as g,df as F,ad as be,aY as pe,_ as le,dj as Z,ej as Se,f6 as de,de as q,i as k,cS as fe,cT as Me,ei as ge,ec as _e,el as R,bE as $e,bD as K,eh as me,bW as Le,cM as xe,eD as Ie,fa as Ce,r as V,w as Ae,ax as ze,U as Be,S as Ze,A as Q,dd as Pe,eG as je,eH as Te,es as Ne,et as Ve}from"./jwt-decode.esm.3348bca5.js";import{F as Ee}from"./PhArrowSquareOut.vue.1cebb708.js";import{I as ce}from"./PhCopy.vue.71703533.js";import{F as He,I as We,O as De}from"./os.8ffdbf05.js";import{G as Fe}from"./PhPencilSimple.vue.0707effd.js";import{_ as Ye}from"./vue-flow-background.f1022925.js";import{a as Xe,b as Ge,g as ee,u as Oe,e as qe,M as Je}from"./vue-flow-core.0de753a6.js";import{k as te}from"./router.c6e27700.js";import{a as re,B as Ue,b as Re}from"./build.6e7d77b3.js";import"./tables.9701f90c.js";import{G as Ke}from"./PhArrowCounterClockwise.vue.6ab1b899.js";import{I as Qe}from"./PhCopySimple.vue.369eb629.js";import{G as et}from"./PhDotsThreeVertical.vue.9d76c4de.js";import{F as tt,G as at,I as st,a as ot}from"./PhWebhooksLogo.vue.58a98824.js";import{a as ae}from"./asyncComputed.c73d027a.js";import{a as nt}from"./project.2483de10.js";import{g as rt}from"./datetime.a6d58ce1.js";import{_ as lt,R as it}from"./repository.353e892d.js";import{R as dt}from"./repository.48119e01.js";import{u as ct}from"./polling.f547718c.js";import{C as se}from"./Card.4a8a30bb.js";import"./index.015caad7.js";import"./record.a108da5a.js";import"./string.998fa621.js";import"./LoadingOutlined.4c40acc4.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[t]="22d0d1b3-b615-48ba-9d4b-5b7c3e81743c",u._sentryDebugIdIdentifier="sentry-dbid-22d0d1b3-b615-48ba-9d4b-5b7c3e81743c")}catch{}})();const ut=["width","height","fill","transform"],pt={key:0},ft=m("path",{d:"M227.85,46.89a20,20,0,0,0-18.74-18.74c-13.13-.77-46.65.42-74.48,28.24L131,60H74.36a19.83,19.83,0,0,0-14.14,5.86L25.87,100.19a20,20,0,0,0,11.35,33.95l37.14,5.18,42.32,42.32,5.19,37.18A19.88,19.88,0,0,0,135.34,235a20.13,20.13,0,0,0,6.37,1,19.9,19.9,0,0,0,14.1-5.87l34.34-34.35A19.85,19.85,0,0,0,196,181.64V125l3.6-3.59C227.43,93.54,228.62,60,227.85,46.89ZM76,84h31L75.75,115.28l-27.23-3.8ZM151.6,73.37A72.27,72.27,0,0,1,204,52a72.17,72.17,0,0,1-21.38,52.41L128,159,97,128ZM172,180l-27.49,27.49-3.8-27.23L172,149Zm-72,22c-8.71,11.85-26.19,26-60,26a12,12,0,0,1-12-12c0-33.84,14.12-51.32,26-60A12,12,0,1,1,68.18,175.3C62.3,179.63,55.51,187.8,53,203c15.21-2.51,23.37-9.3,27.7-15.18A12,12,0,1,1,100,202Z"},null,-1),gt=[ft],_t={key:1},mt=m("path",{d:"M184,120v61.65a8,8,0,0,1-2.34,5.65l-34.35,34.35a8,8,0,0,1-13.57-4.53L128,176ZM136,72H74.35a8,8,0,0,0-5.65,2.34L34.35,108.69a8,8,0,0,0,4.53,13.57L80,128ZM40,216c37.65,0,50.69-19.69,54.56-28.18L68.18,161.44C59.69,165.31,40,178.35,40,216Z",opacity:"0.2"},null,-1),wt=m("path",{d:"M223.85,47.12a16,16,0,0,0-15-15c-12.58-.75-44.73.4-71.41,27.07L132.69,64H74.36A15.91,15.91,0,0,0,63,68.68L28.7,103a16,16,0,0,0,9.07,27.16l38.47,5.37,44.21,44.21,5.37,38.49a15.94,15.94,0,0,0,10.78,12.92,16.11,16.11,0,0,0,5.1.83A15.91,15.91,0,0,0,153,227.3L187.32,193A15.91,15.91,0,0,0,192,181.64V123.31l4.77-4.77C223.45,91.86,224.6,59.71,223.85,47.12ZM74.36,80h42.33L77.16,119.52,40,114.34Zm74.41-9.45a76.65,76.65,0,0,1,59.11-22.47,76.46,76.46,0,0,1-22.42,59.16L128,164.68,91.32,128ZM176,181.64,141.67,216l-5.19-37.17L176,139.31Zm-74.16,9.5C97.34,201,82.29,224,40,224a8,8,0,0,1-8-8c0-42.29,23-57.34,32.86-61.85a8,8,0,0,1,6.64,14.56c-6.43,2.93-20.62,12.36-23.12,38.91,26.55-2.5,36-16.69,38.91-23.12a8,8,0,1,1,14.56,6.64Z"},null,-1),yt=[mt,wt],vt={key:2},ht=m("path",{d:"M101.85,191.14C97.34,201,82.29,224,40,224a8,8,0,0,1-8-8c0-42.29,23-57.34,32.86-61.85a8,8,0,0,1,6.64,14.56c-6.43,2.93-20.62,12.36-23.12,38.91,26.55-2.5,36-16.69,38.91-23.12a8,8,0,1,1,14.56,6.64Zm122-144a16,16,0,0,0-15-15c-12.58-.75-44.73.4-71.4,27.07h0L88,108.7A8,8,0,0,1,76.67,97.39l26.56-26.57A4,4,0,0,0,100.41,64H74.35A15.9,15.9,0,0,0,63,68.68L28.7,103a16,16,0,0,0,9.07,27.16l38.47,5.37,44.21,44.21,5.37,38.49a15.94,15.94,0,0,0,10.78,12.92,16.11,16.11,0,0,0,5.1.83A15.91,15.91,0,0,0,153,227.3L187.32,193A16,16,0,0,0,192,181.65V155.59a4,4,0,0,0-6.83-2.82l-26.57,26.56a8,8,0,0,1-11.71-.42,8.2,8.2,0,0,1,.6-11.1l49.27-49.27h0C223.45,91.86,224.6,59.71,223.85,47.12Z"},null,-1),kt=[ht],bt={key:3},St=m("path",{d:"M221.86,47.24a14,14,0,0,0-13.11-13.1c-12.31-.73-43.77.39-69.88,26.5L133.52,66H74.35a13.9,13.9,0,0,0-9.89,4.1L30.11,104.44a14,14,0,0,0,7.94,23.76l39.13,5.46,45.16,45.16L127.8,218a14,14,0,0,0,23.76,7.92l34.35-34.35a13.91,13.91,0,0,0,4.1-9.89V122.48l5.35-5.35h0C221.46,91,222.59,59.56,221.86,47.24ZM38.11,115a2,2,0,0,1,.49-2L72.94,78.58A2,2,0,0,1,74.35,78h47.17L77.87,121.64l-38.14-5.32A1.93,1.93,0,0,1,38.11,115ZM178,181.65a2,2,0,0,1-.59,1.41L143.08,217.4a2,2,0,0,1-3.4-1.11l-5.32-38.16L178,134.48Zm8.87-73h0L128,167.51,88.49,128l58.87-58.88a78.47,78.47,0,0,1,60.69-23A2,2,0,0,1,209.88,48,78.47,78.47,0,0,1,186.88,108.64ZM100,190.31C95.68,199.84,81.13,222,40,222a6,6,0,0,1-6-6c0-41.13,22.16-55.68,31.69-60a6,6,0,1,1,5,10.92c-7,3.17-22.53,13.52-24.47,42.91,29.39-1.94,39.74-17.52,42.91-24.47a6,6,0,1,1,10.92,5Z"},null,-1),Mt=[St],$t={key:4},Lt=m("path",{d:"M223.85,47.12a16,16,0,0,0-15-15c-12.58-.75-44.73.4-71.41,27.07L132.69,64H74.36A15.91,15.91,0,0,0,63,68.68L28.7,103a16,16,0,0,0,9.07,27.16l38.47,5.37,44.21,44.21,5.37,38.49a15.94,15.94,0,0,0,10.78,12.92,16.11,16.11,0,0,0,5.1.83A15.91,15.91,0,0,0,153,227.3L187.32,193A15.91,15.91,0,0,0,192,181.64V123.31l4.77-4.77C223.45,91.86,224.6,59.71,223.85,47.12ZM74.36,80h42.33L77.16,119.52,40,114.34Zm74.41-9.45a76.65,76.65,0,0,1,59.11-22.47,76.46,76.46,0,0,1-22.42,59.16L128,164.68,91.32,128ZM176,181.64,141.67,216l-5.19-37.17L176,139.31Zm-74.16,9.5C97.34,201,82.29,224,40,224a8,8,0,0,1-8-8c0-42.29,23-57.34,32.86-61.85a8,8,0,0,1,6.64,14.56c-6.43,2.93-20.62,12.36-23.12,38.91,26.55-2.5,36-16.69,38.91-23.12a8,8,0,1,1,14.56,6.64Z"},null,-1),xt=[Lt],It={key:5},Ct=m("path",{d:"M219.86,47.36a12,12,0,0,0-11.22-11.22c-12-.71-42.82.38-68.35,25.91L134.35,68h-60a11.9,11.9,0,0,0-8.48,3.52L31.52,105.85a12,12,0,0,0,6.81,20.37l39.79,5.55,46.11,46.11,5.55,39.81a12,12,0,0,0,20.37,6.79l34.34-34.35a11.9,11.9,0,0,0,3.52-8.48v-60l5.94-5.94C219.48,90.18,220.57,59.41,219.86,47.36ZM36.21,115.6a3.94,3.94,0,0,1,1-4.09L71.53,77.17A4,4,0,0,1,74.35,76h52L78.58,123.76,39.44,118.3A3.94,3.94,0,0,1,36.21,115.6ZM180,181.65a4,4,0,0,1-1.17,2.83l-34.35,34.34a4,4,0,0,1-6.79-2.25l-5.46-39.15L180,129.65Zm-52-11.31L85.66,128l60.28-60.29c23.24-23.24,51.25-24.23,62.22-23.58a3.93,3.93,0,0,1,3.71,3.71c.65,11-.35,39-23.58,62.22ZM98.21,189.48C94,198.66,80,220,40,220a4,4,0,0,1-4-4c0-40,21.34-54,30.52-58.21a4,4,0,0,1,3.32,7.28c-7.46,3.41-24.43,14.66-25.76,46.85,32.19-1.33,43.44-18.3,46.85-25.76a4,4,0,1,1,7.28,3.32Z"},null,-1),At=[Ct],zt={name:"PhRocketLaunch"},Bt=X({...zt,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(u){const t=u,d=O("weight","regular"),L=O("size","1em"),w=O("color","currentColor"),r=O("mirrored",!1),a=b(()=>{var i;return(i=t.weight)!=null?i:d}),p=b(()=>{var i;return(i=t.size)!=null?i:L}),l=b(()=>{var i;return(i=t.color)!=null?i:w}),x=b(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:r?"scale(-1, 1)":void 0);return(i,y)=>(c(),A("svg",ke({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:p.value,height:p.value,fill:l.value,transform:x.value},i.$attrs),[he(i.$slots,"default"),a.value==="bold"?(c(),A("g",pt,gt)):a.value==="duotone"?(c(),A("g",_t,yt)):a.value==="fill"?(c(),A("g",vt,kt)):a.value==="light"?(c(),A("g",bt,Mt)):a.value==="regular"?(c(),A("g",$t,xt)):a.value==="thin"?(c(),A("g",It,At)):H("",!0)],16,ut))}}),Zt=X({__name:"WorkflowEdge",props:{id:{},sourceNode:{},targetNode:{},source:{},target:{},type:{},label:{type:[String,Object,Function]},style:{},selected:{type:Boolean},sourcePosition:{},targetPosition:{},sourceHandleId:{},targetHandleId:{},animated:{type:Boolean},updatable:{type:Boolean},markerStart:{},markerEnd:{},curvature:{},interactionWidth:{},data:{},events:{},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{},sourceX:{},sourceY:{},targetX:{},targetY:{}},setup(u){const t=u;function d(r,a,p=0){const l=a.center.x-r.center.x,x=a.center.y-r.center.y,i=Math.sqrt(l*l+x*x);if(i===0)return{sourceX:r.center.x,sourceY:r.center.y,targetX:a.center.x,targetY:a.center.y};const y=l/i,S=x/i,f=r.width/2,M=r.height/2;let P=r.center.x,j=r.center.y;Math.abs(y)*M>Math.abs(S)*f?(P=r.center.x+(y>0?f:-f),j=r.center.y+S*f/Math.abs(y)):(P=r.center.x+y*M/Math.abs(S),j=r.center.y+(S>0?M:-M));const z=a.width/2,T=a.height/2;let E=a.center.x,_=a.center.y;return Math.abs(y)*T>Math.abs(S)*z?(E=a.center.x-(y>0?z:-z),_=a.center.y-S*z/Math.abs(y)):(E=a.center.x-y*T/Math.abs(S),_=a.center.y-(S>0?T:-T)),P+=y*p,j+=S*p,E-=y*p,_-=S*p,{sourceX:P,sourceY:j,targetX:E,targetY:_}}function L(r,a){const l={center:{x:r.computedPosition.x+r.dimensions.width/2,y:r.computedPosition.y+r.dimensions.height/2},width:r.dimensions.width,height:r.dimensions.height},i={center:{x:a.computedPosition.x+a.dimensions.width/2,y:a.computedPosition.y+a.dimensions.height/2},width:a.dimensions.width,height:a.dimensions.height};return d(l,i,10)}const w=b(()=>{if(!t.sourceNode||!t.targetNode)return ee({sourceX:0,sourceY:0,targetX:0,targetY:0});if(!t.sourceNode.dimensions.width||!t.targetNode.dimensions.width||!t.sourceNode.dimensions.height||!t.targetNode.dimensions.height)return ee({sourceX:0,sourceY:0,targetX:0,targetY:0});const r=L(t.sourceNode,t.targetNode);return ee(r)});return(r,a)=>{var p,l;return c(),A(pe,null,[s(e(Xe),{path:w.value[0],"marker-end":t.markerEnd},null,8,["path","marker-end"]),(l=(p=t.data)==null?void 0:p.props)!=null&&l.taskType?(c(),$(e(Ge),{key:0},{default:o(()=>[m("div",{style:be({transform:`translate(-50%, -50%) translate(${w.value[1]}px,${w.value[2]}px)`}),class:"nodrag nopan edge-label"},[s(e(F),null,{default:o(()=>[C(g(t.data.props.taskType),1)]),_:1})],4)]),_:1})):H("",!0)],64)}}});const Pt=le(Zt,[["__scopeId","data-v-8f1859d4"]]);class jt{async list(t){return te.get(`projects/${t}/disabled-stages`)}async disableStage({projectId:t,stageId:d}){return te.patch(`projects/${t}/disabled-stages/${d}`,{enable:!1})}async enableStage({projectId:t,stageId:d}){return te.patch(`projects/${t}/disabled-stages/${d}`,{enable:!0})}}const oe=new jt;class Y{constructor(t){ie(this,"id");this.dto=t,this.id=t}static async list(t){return(await oe.list(t)).map(L=>new Y(L))}static async disableStage({projectId:t,stageId:d}){return oe.disableStage({projectId:t,stageId:d})}static async enableStage({projectId:t,stageId:d}){return oe.enableStage({projectId:t,stageId:d})}}const Tt=X({__name:"WorkflowStageExecutions",props:{stageId:{},projectId:{},executions:{},taskStats:{},loading:{type:Boolean}},setup(u){const t=u,d=b(()=>t.taskStats?Math.round(t.taskStats.completed/t.taskStats.total*100):0),L=b(()=>{const a=d.value;return a===100?"#52c41a":a>=50?"#1890ff":"#faad14"}),w=a=>rt(a,{weekday:void 0}),r=a=>{if(a<60)return`${Math.round(a)}s`;const p=Math.floor(a/60);if(p<60)return`${p}m`;const l=Math.floor(p/60);return l<24?`${l}h`:`${Math.floor(l/24)}d`};return(a,p)=>(c(),$(e(Z),{vertical:"",size:4,style:{width:"100%"}},{default:o(()=>[a.executions&&a.executions.length>0?(c(),$(e(Z),{key:0,size:4,gap:4},{default:o(()=>[(c(!0),A(pe,null,Se(a.executions,l=>(c(),$(e(de),{key:l.id,to:{name:"logs",params:{projectId:a.projectId},query:{executionId:l.id}}},{default:o(()=>[s(e(fe),{title:w(l.createdAt)},{content:o(()=>[s(e(Z),{vertical:"",size:4},{default:o(()=>[s(e(q),null,{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_status"))+": "+g(l.status),1)]),_:2},1024),s(e(q),null,{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_duration"))+": "+g(l.duration_seconds)+"s",1)]),_:2},1024),s(e(q),null,{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_version"))+": "+g(l.buildId.slice(0,6)),1)]),_:2},1024)]),_:2},1024)]),default:o(()=>[s(lt,{status:l.status},null,8,["status"])]),_:2},1032,["title"])]),_:2},1032,["to"]))),128))]),_:1})):H("",!0),a.taskStats&&a.taskStats.total>0?(c(),$(e(de),{key:1,to:{name:"tasks",params:{projectId:a.projectId},query:{stage:a.stageId,status:"pending"}}},{default:o(()=>[s(e(Z),{vertical:"",size:2},{default:o(()=>[s(e(Me),{"show-info":!1,percent:d.value,"stroke-color":L.value,size:"small"},null,8,["percent","stroke-color"]),s(e(Z),{vertical:"",size:0},{default:o(()=>[a.taskStats.pending&&a.taskStats.averageCompletionSeconds?(c(),$(e(q),{key:0,type:"secondary",style:{fontSize:"11px"}},{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_pending_tasks").replace("{count}",a.taskStats.pending.toString()))+" ("+g(r(a.taskStats.averageCompletionSeconds))+" "+g(e(k).translate("i18n_workflowviewer_average"))+") ",1)]),_:1})):H("",!0)]),_:1})]),_:1})]),_:1},8,["to"])):H("",!0)]),_:1}))}}),Nt={class:"stage-node"},Vt={class:"stage-content"},Et={class:"stage-title"},Ht={class:"action-item"},Wt={class:"action-item"},Dt={class:"action-warning"},Ft={key:1,class:"action-item"},ue="3.18.0",Yt=X({__name:"WorkflowStageNode",props:{stage:{}},setup(u){const t=u,d=ge(),L=_e(),w=d.params.projectId,r=b(()=>({forms:tt,hooks:at,scripts:st,jobs:ot})[t.stage.type]),{result:a}=ae(async()=>await nt.get(w)),{result:p}=ae(async()=>{const I=(await re.list(w)).find(n=>n.latest);return I?await Ue.get(I.id):null}),{result:l,refetch:x}=ae(async()=>(await Y.list(w)).filter(I=>I)),i=()=>{L.push({name:"logs",params:{projectId:w},query:{stageId:t.stage.id}})},y=b(()=>t.stage.type==="forms"||t.stage.type==="hooks"),S=()=>{var n;if(!t.stage.path)return;const _=t.stage.type==="forms"?`/${t.stage.path}`:`/_hooks/${t.stage.path}`,I=(n=a.value)==null?void 0:n.getUrl(_);!I||(navigator.clipboard.writeText(I),xe.success(k.translate("i18n_workflowviewer_copied_url")))},f=b(()=>{var _;return(_=l.value)==null?void 0:_.map(I=>I.id).includes(t.stage.id)}),M=(_,I)=>{const[n,v,h]=_.split(".").map(Number),[D,B,W]=I.split(".").map(Number);return n>D?!0:n<D?!1:v>B?!0:v<B?!1:h>=W},P=b(()=>f.value?Ie:Ce),j=b(()=>f.value?k.translate("i18n_workflowviewer_enable_stage"):k.translate("i18n_workflowviewer_disable_stage")),z=b(()=>{var _;return!M(((_=p.value)==null?void 0:_.abstraVersion)||"0.0.0",ue)}),T=b(()=>z.value?k.translate("i18n_workflowviewer_disable_stages_warning").replace("{version}",ue):""),E=async()=>{z.value||(f.value?await Y.enableStage({projectId:w,stageId:t.stage.id}):await Y.disableStage({projectId:w,stageId:t.stage.id}),await x())};return(_,I)=>(c(),A("div",Nt,[m("div",Vt,[(c(),$(R(r.value),{size:18,class:"stage-icon"})),m("div",Et,g(_.stage.title),1),s(e(Le),{trigger:["click"]},{overlay:o(()=>[s(e($e),null,{default:o(()=>[s(e(K),{onClick:i},{default:o(()=>[m("div",Ht,[s(e(Ke),{size:16}),m("span",null,g(e(k).translate("i18n_workflowviewer_view_logs")),1)])]),_:1}),y.value?(c(),$(e(K),{key:0,onClick:S},{default:o(()=>[m("div",Wt,[s(e(Qe),{size:16}),m("span",null,g(e(k).translate("i18n_workflowviewer_copy_url")),1)])]),_:1})):H("",!0),s(e(K),{onClick:E},{default:o(()=>[z.value?(c(),$(e(fe),{key:0,placement:"left"},{content:o(()=>[m("div",Dt,[s(e(F),null,{default:o(()=>[C(g(T.value),1)]),_:1})])]),default:o(()=>[m("div",{class:me(["action-item",{disabled:z.value}])},[(c(),$(R(P.value),{size:16})),m("span",null,g(j.value),1)],2)]),_:1})):(c(),A("div",Ft,[(c(),$(R(P.value),{size:16})),m("span",null,g(j.value),1)]))]),_:1})]),_:1})]),default:o(()=>[s(e(et),{style:{cursor:"pointer"},size:20,class:"actions-menu"})]),_:1})]),s(Tt,{"stage-id":_.stage.id,"project-id":e(w),executions:_.stage.executions,"task-stats":_.stage.taskStats,style:{"margin-top":"8px"}},null,8,["stage-id","project-id","executions","task-stats"])]))}});const J=le(Yt,[["__scopeId","data-v-25457a9a"]]);function Xt(u,t){const d=new it,L=new dt(u),w=V({}),r=V({}),a=V(!1);async function p(){const i=t.value;if(i.length===0){a.value=!1;return}a.value=!0;try{const[y,S]=await Promise.all([Promise.all(i.map(async f=>{try{const{executions:M}=await d.list({projectId:u,stageId:f,limit:6});return{stageId:f,executions:M}}catch(M){return console.error(`Failed to load executions for stage ${f}:`,M),{stageId:f,executions:[]}}})),L.getTasksStatistics()]);y.forEach(({stageId:f,executions:M})=>{w.value[f]=M}),S.forEach(f=>{r.value[f.stageId]={pending:f.pendingTasks,completed:f.completedTasks,total:f.totalTasks,averageCompletionSeconds:f.averageCompletionSeconds}})}catch(y){console.error("Failed to load workflow data:",y)}finally{a.value=!1}}const{startPolling:l,endPolling:x}=ct({task:p,interval:15e3});return Ae(t,i=>{i.length>0&&(p(),l())},{immediate:!0}),ze(()=>{x()}),{executionsByStage:w,taskStatsByStage:r,loading:a,refetch:p}}const we=u=>(Ne("data-v-7b40ff03"),u=u(),Ve(),u),Gt={class:"flow-container"},Ot={class:"code-container"},qt=we(()=>m("code",{class:"install-code"},"pip install abstra",-1)),Jt={class:"code-container"},Ut=we(()=>m("code",{class:"install-code"},"abstra editor .",-1)),Rt={key:0,class:"edit-button-text"},ne="#ea576a",Kt=X({__name:"WorkflowViewer",setup(u){const{onInit:t}=Oe(),d=new Re,L=ge(),w=_e(),r=L.params.projectId,a=L.query.buildId,p=V(!0),l=V(null),x=V(!0),i=V(!1),y=()=>{w.push({name:"web-editor",params:{projectId:r}})},S=async n=>{try{await navigator.clipboard.writeText(n)}catch(v){console.error("Failed to copy:",v)}};t(n=>{x.value&&(n.fitView(),x.value=!1)});const f=V([]),M=V([]),P=b(()=>f.value.map(n=>n.id)),{executionsByStage:j,taskStatsByStage:z}=Xt(r,P),T=b(()=>f.value.length>0),E=b(()=>f.value.map(n=>({id:n.id,type:n.type,data:{...n,executions:j.value[n.id]||[],taskStats:z.value[n.id]||null},position:{x:n.position.x,y:n.position.y*1.5}}))),_=b(()=>M.value.map(n=>({id:n.id,source:n.sourceStageId,target:n.targetStageId,type:"task",data:{id:n.id,props:{taskType:n.taskType}},markerEnd:{type:Je.Arrow,width:24,height:24}})));function I(n){const v=[],h=[],D=["jobs","hooks","forms","scripts"];for(const B of D){const W=n[B]||[];for(const N of W){v.push({id:N.id,type:B,title:N.title,position:{x:N.workflow_position[0],y:N.workflow_position[1]},file:N.file,path:N.path,schedule:N.schedule});for(const U of N.transitions||[])h.push({id:U.id,sourceStageId:N.id,targetStageId:U.target_id,taskType:U.task_type})}}f.value=v,M.value=h}return Be(async()=>{try{p.value=!0;let n;if(a){const B=(await re.list(r)).find(W=>W.id===a);if(!B){l.value="Build not found";return}n=B}else{const B=(await re.list(r)).find(W=>W.latest);if(!B){l.value="No builds found for this project";return}n=B}const v=await d.get(n.id);if(!v||!v.abstraJson){l.value="No workflow data available for this build";return}const h=JSON.parse(v.abstraJson);I(h)}catch(n){l.value=n instanceof Error?n.message:"Failed to load workflow",console.error(n)}finally{p.value=!1}}),(n,v)=>(c(),A("div",Gt,[p.value?(c(),$(e(Ze),{key:0,style:{width:"100%"}})):T.value?(c(),$(e(qe),{key:2,nodes:E.value,edges:_.value,"default-viewport":{zoom:1.5},"fit-view-on-init":"","min-zoom":.1,"max-zoom":1.25,"pan-on-scroll":e(De).isMac,"snap-to-grid":""},{"edge-task":o(h=>[s(Pt,je(Te(h)),null,16)]),"node-forms":o(h=>[s(J,{stage:h.data},null,8,["stage"])]),"node-hooks":o(h=>[s(J,{stage:h.data},null,8,["stage"])]),"node-scripts":o(h=>[s(J,{stage:h.data},null,8,["stage"])]),"node-jobs":o(h=>[s(J,{stage:h.data},null,8,["stage"])]),default:o(()=>[s(e(Ye),{"pattern-color":"#aaa",gap:16})]),_:1},8,["nodes","edges","pan-on-scroll"])):(c(),$(e(se),{key:1,class:"empty-state-card"},{default:o(()=>[s(e(Z),{vertical:"",gap:24,align:"center"},{default:o(()=>[s(e(Bt),{size:64,color:ne}),s(e(Z),{vertical:"",gap:8,align:"center"},{default:o(()=>[s(e(Q),{level:3},{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_getting_started")),1)]),_:1}),s(e(F),{type:"secondary",style:{"text-align":"center"}},{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_no_workflow_description")),1)]),_:1})]),_:1}),s(e(Z),{gap:16,wrap:"wrap",justify:"center"},{default:o(()=>[s(e(se),{class:"option-card"},{default:o(()=>[s(e(Z),{vertical:"",gap:12},{default:o(()=>[s(e(He),{size:32,color:ne}),s(e(Q),{level:5},{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_option_cli")),1)]),_:1}),s(e(F),{type:"secondary",style:{"font-size":"13px"}},{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_cli_description")),1)]),_:1}),s(e(Z),{vertical:"",gap:8},{default:o(()=>[m("div",Ot,[qt,s(G,{type:"text",size:"small",onClick:v[0]||(v[0]=h=>S("pip install abstra"))},{default:o(()=>[s(e(ce),{size:16})]),_:1})]),m("div",Jt,[Ut,s(G,{type:"text",size:"small",onClick:v[1]||(v[1]=h=>S("abstra editor ."))},{default:o(()=>[s(e(ce),{size:16})]),_:1})])]),_:1})]),_:1})]),_:1}),s(e(se),{class:"option-card"},{default:o(()=>[s(e(Z),{vertical:"",gap:12},{default:o(()=>[s(e(We),{size:32,color:ne}),s(e(Q),{level:5},{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_option_online")),1)]),_:1}),s(e(F),{type:"secondary",style:{"font-size":"13px"}},{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_online_description")),1)]),_:1}),s(G,{type:"primary",onClick:y},{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_open_editor")),1)]),_:1})]),_:1})]),_:1})]),_:1}),s(e(Pe),{href:"https://www.abstra.io/docs",target:"_blank"},{default:o(()=>[C(g(e(k).translate("i18n_workflowviewer_view_docs"))+" ",1),s(e(Ee),{size:14,style:{"margin-left":"4px"}})]),_:1})]),_:1})]),_:1})),!p.value&&T.value?(c(),$(G,{key:3,class:me(["edit-button",{expanded:i.value}]),type:"primary",size:"large",onClick:y,onMouseenter:v[2]||(v[2]=h=>i.value=!0),onMouseleave:v[3]||(v[3]=h=>i.value=!1)},{default:o(()=>[s(e(Fe),{size:24}),i.value?(c(),A("span",Rt,g(e(k).translate("i18n_workflowviewer_edit_online")),1)):H("",!0)]),_:1},8,["class"])):H("",!0)]))}});const La=le(Kt,[["__scopeId","data-v-7b40ff03"]]);export{La as default};
2
- //# sourceMappingURL=WorkflowViewer.2666936e.js.map
@@ -1 +0,0 @@
1
- @import"https://cdn.jsdelivr.net/npm/@vue-flow/core@1.41.7/dist/style.css";@import"https://cdn.jsdelivr.net/npm/@vue-flow/core@1.41.7/dist/theme-default.css";.edge-label[data-v-8f1859d4]{position:absolute;padding:0 6px;border-radius:4px;background-color:#f9fafb;display:flex;align-items:center;justify-content:center;pointer-events:all}.stage-node[data-v-25457a9a]{padding:12px;min-width:150px;max-width:280px;display:flex;flex-direction:column;align-items:flex-start}.stage-content[data-v-25457a9a]{display:flex;align-items:center;gap:8px;width:100%}.stage-icon[data-v-25457a9a]{flex-shrink:0}.stage-title[data-v-25457a9a]{font-weight:500;font-size:14px;word-break:break-word;text-align:left;flex:1}.actions-menu[data-v-25457a9a]{flex-shrink:0;margin-left:auto}.action-item[data-v-25457a9a]{display:flex;align-items:center;gap:8px}.action-item.disabled[data-v-25457a9a]{opacity:.5;cursor:not-allowed}.action-warning[data-v-25457a9a]{max-width:250px}.flow-container[data-v-7b40ff03]{width:100%;height:100%;box-sizing:border-box;position:relative}[data-v-7b40ff03] .vue-flow__node{border:1px solid #ccc;border-radius:10px;background-color:#fff;max-width:280px;outline:none}[data-v-7b40ff03] .vue-flow__node:hover{box-shadow:0 0 5px #0003}.edit-button[data-v-7b40ff03]{position:absolute;right:24px;bottom:24px;width:56px;height:56px;box-shadow:0 2px 8px #00000026;z-index:1000;border-radius:28px;transition:all .3s ease;animation:pulse-7b40ff03 2s infinite;display:flex;align-items:center;justify-content:center;overflow:hidden}.edit-button.expanded[data-v-7b40ff03]{width:200px;padding:0 24px;border-radius:28px;animation:none}.edit-button-text[data-v-7b40ff03]{margin-left:12px;white-space:nowrap;animation:fadeIn-7b40ff03 .3s ease;font-weight:600;font-size:16px}@keyframes pulse-7b40ff03{0%,to{box-shadow:0 2px 8px #7c3aed66}50%{box-shadow:0 2px 16px #7c3aedcc}}@keyframes fadeIn-7b40ff03{0%{opacity:0}to{opacity:1}}.empty-state-card[data-v-7b40ff03]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:800px;width:90%;box-shadow:0 4px 12px #0000001a}.option-card[data-v-7b40ff03]{min-width:280px;max-width:350px;flex:1}.option-card[data-v-7b40ff03]:hover{box-shadow:0 4px 12px #00000026;transition:box-shadow .3s ease}.code-container[data-v-7b40ff03]{display:flex;align-items:center;gap:8px;background-color:#f5f5f5;padding:8px 12px;border-radius:4px}.install-code[data-v-7b40ff03]{font-family:Courier New,monospace;font-size:13px;color:#262626;flex:1;background:transparent;padding:0}
@@ -1,2 +0,0 @@
1
- import{en as n,M as y}from"./jwt-decode.esm.3348bca5.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]="d44445e1-d04a-4b5e-8582-6533feafa124",e._sentryDebugIdIdentifier="sentry-dbid-d44445e1-d04a-4b5e-8582-6533feafa124")}catch{}})();function u(e){return n.exports.isArray(e)?e.length===0?"[ ]":"[ ... ]":n.exports.isObject(e)?Object.keys(e).length===0?"{ }":"{ ... }":n.exports.isString(e)?`'${e}'`:n.exports.isUndefined(e)||n.exports.isNull(e)?"None":e===!0?"True":e===!1?"False":`${e}`}function o(e){if(n.exports.isArray(e))return"array";if(n.exports.isObject(e))return"object";throw new Error("treeKey called with non-object and non-array")}function c(e,r=[],t){const l=t?`'${t}': ${u(e)}`:u(e);if(n.exports.isArray(e)){const i=o(e);return[{title:l,key:[...r,i].join("/"),children:e.flatMap((s,f)=>c(s,[...r,i,`${f}`]))}]}else if(n.exports.isObject(e)){const i=o(e);return[{title:l,key:[...r,i].join("/"),children:Object.entries(e).flatMap(([s,f])=>c(f,[...r,i,s],s))}]}else return[{title:l,key:r.join("/"),children:[]}]}function x(e,r){return new Promise(t=>{y.confirm({title:e,onOk:()=>t(!0),okText:r==null?void 0:r.okText,onCancel:()=>t(!1),cancelText:r==null?void 0:r.cancelText})})}export{x as a,c as t};
2
- //# sourceMappingURL=ant-design.b3eefa58.js.map
@@ -1,2 +0,0 @@
1
- import{$ as d,c as l}from"./jwt-decode.esm.3348bca5.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]="42ef5497-75e4-415c-ac62-40ae03831441",r._sentryDebugIdIdentifier="sentry-dbid-42ef5497-75e4-415c-ac62-40ae03831441")}catch{}})();const i=r=>{const e=d({loading:!0,result:null,error:null}),n=t=>(e.value={loading:!1,result:t,error:null},t),s=t=>{e.value={loading:!1,result:null,error:t}},o=async()=>(e.value={loading:!0,result:e.value.result,error:null},r().then(n).catch(s));o();const u=l(()=>e.value.loading),a=l(()=>e.value.result),c=l(()=>e.value.error);return{loading:u,result:a,error:c,refetch:o}};export{i as a};
2
- //# sourceMappingURL=asyncComputed.c73d027a.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.3348bca5.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]="f26c9b9f-14d9-4324-b9b4-038ad34760a9",t._sentryDebugIdIdentifier="sentry-dbid-f26c9b9f-14d9-4324-b9b4-038ad34760a9")}catch{}})();function p(t,e){const{r:n,g:r,b:o,usePound:s}=g(t);return w(c(n,-e),c(r,-e),c(o,-e),s)}function c(t,e){const n=t*(100+e*100)/100;return n>255?255:n<0?0:Math.round(n)}function E(t){return t.startsWith("#")||t.match(/^(rgb|hsl)/)}const v=(t,e)=>y(p(y(t),e)),P=t=>k(t)?v(t,.1):p(t,.1);function k(t){const{r:e,g:n,b:r}=g(t);return e*.299+n*.587+r*.114<186}function g(t){let e=!1;t[0]=="#"&&(t=t.slice(1),e=!0);const n=parseInt(t,16);return{r:n>>16&255,g:n>>8&255,b:n&255,usePound:e}}function y(t){const{r:e,g:n,b:r,usePound:o}=g(t);return w(255-e,255-n,255-r,o)}const w=(t,e,n,r=!0)=>(r?"#":"")+(n|e<<8|t<<16).toString(16).padStart(6,"0");function _(t){return new Promise((e,n)=>{const r=document.createElement("img");r.src=t,r.crossOrigin="Anonymous",r.style.display="none",document.body.appendChild(r);let o=0;r.onerror=s=>n(new Error(`Failed to load image: ${s}`)),r.onload=()=>{const{width:s,height:f}=r,a=document.createElement("canvas");a.width=s,a.height=f;const u=a.getContext("2d");if(!u)return e(!1);u.drawImage(r,0,0);const I=u.getImageData(0,0,a.width,a.height),{data:d}=I;let l,b,h,m;for(let i=0,x=d.length;i<x;i+=4)l=d[i],b=d[i+1],h=d[i+2],m=Math.floor((l+b+h)/3),o+=m;const D=Math.floor(o/(s*f));document.body.removeChild(r),e(D<=127)}})}export{k as a,_ as b,P as c,E as i,v as l};
2
- //# sourceMappingURL=colorHelpers.5ee17d14.js.map
@@ -1,2 +0,0 @@
1
- import{Z as o}from"./jwt-decode.esm.3348bca5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="942694a0-a124-45ab-8aa0-a59d6effd179",e._sentryDebugIdIdentifier="sentry-dbid-942694a0-a124-45ab-8aa0-a59d6effd179")}catch{}})();const J=o.string(),I=o.array(J),R=o.number(),D=o.string().datetime({local:!0}),y=o.enum(["file","directory"]),T=o.string(),F=o.array(T),E=o.array(F).default([]),S=o.object({pathParts:I,size:R,lastModified:D,type:y,children:E.optional()}),k=o.boolean(),L=o.boolean(),G=o.boolean(),j=o.boolean(),P=o.boolean(),N=o.boolean();o.object({PROJECT_LIVE:k.optional(),ALLOW_RELEASE:L.optional(),CONNECTORS_CONSOLE:G.optional(),DUPLICATE_PROJECTS:j.optional(),WEB_EDITOR:P.optional(),LANGCHAIN_SMART_CHAT:N.optional()});const W=o.string(),_=o.string(),M=o.string(),w=o.string(),x=o.string();o.object({plan:W.optional(),expires:_.optional(),message:M.optional(),messageLink:w.optional(),messageCTA:x.optional()});const v=o.string(),A=o.string(),m=o.string(),O=o.string(),H=o.string(),q=o.object({id:v,name:A,description:m.optional(),projectId:O,createdAt:H}),U=o.string(),B=o.string(),z=o.string(),K=o.string(),$=o.string(),Q=o.enum(["true","false"]),X=o.enum(["true","false"]),Y=o.enum(["true","false"]),Z=o.string().regex(new RegExp("^[0-9]+m$")),oo=o.string().regex(new RegExp("^[0-9]+m$")),to=o.string().regex(new RegExp("^[0-9]+Mi$")),eo=o.string().regex(new RegExp("^[0-9]+Mi$")),no=o.string().regex(new RegExp("^[0-9]+$")),so=o.number(),ao=o.string().regex(new RegExp("^[0-9]+$")),io=o.string(),mo=o.enum(["3.9","3.10","3.11","3.12"]),co=o.string(),ro=o.string(),lo=o.object({watermarkEnabled:Q.optional(),seleniumInstanceEnabled:X.optional(),notificationsEnabled:Y.optional(),requestsCPU:Z.optional(),limitsCPU:oo.optional(),requestsMemory:to.optional(),limitsMemory:eo.optional(),minReplicas:no.optional(),computeUnits:so.optional(),timeoutSeconds:ao.optional(),workerType:io.optional(),pythonVersion:mo.optional(),workerNumber:co.optional(),baseDockerfile:ro.optional()});o.object({id:U,folderId:B,name:z,subdomain:K,organizationId:$,deploymentResources:lo.optional()});const So=o.string(),Ao=o.string(),bo=o.string();o.object({name:So,connectionType:Ao,projectId:bo});const Co=o.string(),go=o.string(),b=o.array(go),C=o.string(),ho=o.string();o.object({id:Co,emailPatterns:b,projectId:C,createdAt:ho});const po=o.string(),uo=o.string(),Vo=o.string(),fo=o.string(),Jo=o.object({key:po,label:uo,description:Vo,logoUrl:fo}),Io=o.literal("tokens"),Ro=o.string(),Do=o.string(),yo=o.string(),To=o.string(),Fo=o.enum(["small-string","large-text","file","radiobox","checkbox"]),Eo=o.string(),ko=o.string(),Lo=o.object({value:Eo,label:ko}),Go=o.array(Lo),jo=o.number(),Po=o.number(),No=o.object({type:Fo,options:Go.optional(),maxSize:jo.optional(),minSize:Po.optional()}),Wo=o.object({key:Ro,label:Do,description:yo,instructions:To.optional(),input:No}),c=o.array(Wo),_o=c,Mo=o.object({type:Io,tokens:_o}),wo=o.literal("oauth2"),xo=o.string(),vo=o.string(),Oo=o.string(),Ho=o.object({key:xo,label:vo,description:Oo}),qo=o.array(Ho),Uo=c,Bo=o.object({type:wo,scopes:qo,params:Uo}),zo=o.literal("manual"),Ko=o.object({type:zo}),$o=o.literal("ecdsa"),Qo=c,Xo=o.object({type:$o,params:Qo}),Yo=o.union([Mo,Bo,Ko,Xo]),Zo=o.string(),ot=o.string(),tt=o.string(),et=o.record(o.any()),nt=o.record(o.any()),st=o.object({key:Zo,label:ot,description:tt,payloadSchema:et,returnSchema:nt}),at=o.array(st),it=o.string(),mt=o.string(),ct=o.record(o.any()),rt=o.object({name:it,description:mt,payloadSchema:ct.optional()}),lt=o.array(rt);o.object({metadata:Jo,auth:Yo,actions:at,triggers:lt});const St=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"]),At=o.string(),n=o.string().email(),bt=o.string(),r=o.array(bt),Ct=o.string(),gt=o.string(),ht=o.object({id:At,email:n,roles:r,projectId:Ct,createdAt:gt}),pt=o.string().uuid(),ut=o.string(),dt=o.string().uuid(),Vt=o.boolean(),ft=o.string(),Jt=St,It=o.boolean(),Rt=o.boolean(),Dt=o.string(),yt=o.string(),Tt=o.object({columnId:yt}),Ft=o.object({id:dt,primaryKey:Vt,name:ft,type:Jt,unique:It.optional(),nullable:Rt.optional(),default:Dt.optional(),foreignKey:Tt.optional()}),Et=o.array(Ft),kt=o.record(o.any()),Lt=o.array(kt),Gt=o.object({id:pt,name:ut,columns:Et,data:Lt}),jt=o.array(Gt);o.object({tables:jt});const g=o.string(),h=o.string(),Pt=o.boolean(),Nt=o.boolean(),Wt=o.boolean(),_t=o.boolean(),Mt=o.boolean(),wt=o.boolean(),p=o.object({PROJECT_LIVE:Pt,ALLOW_RELEASE:Nt,CONNECTORS_CONSOLE:Wt,DUPLICATE_PROJECTS:_t,WEB_EDITOR:Mt.optional(),LANGCHAIN_SMART_CHAT:wt.optional()}),xt=o.string(),vt=o.string(),Ot=o.string(),Ht=o.string(),qt=o.string(),u=o.object({plan:xt.optional(),expires:vt.optional(),message:Ot.optional(),messageLink:Ht.optional(),messageCTA:qt.optional()}),Ut=o.enum(["true","false"]),Bt=o.enum(["true","false"]),zt=o.enum(["true","false"]),Kt=o.string().regex(new RegExp("^[0-9]+m$")),$t=o.string().regex(new RegExp("^[0-9]+m$")),Qt=o.string().regex(new RegExp("^[0-9]+Mi$")),Xt=o.string().regex(new RegExp("^[0-9]+Mi$")),Yt=o.string().regex(new RegExp("^[0-9]+$")),Zt=o.number(),oe=o.string().regex(new RegExp("^[0-9]+$")),te=o.string(),ee=o.enum(["3.9","3.10","3.11","3.12"]),ne=o.string(),se=o.string(),ae=o.object({watermarkEnabled:Ut.optional(),nativeTempDir:Bt.optional(),notificationsEnabled:zt.optional(),requestsCPU:Kt.optional(),limitsCPU:$t.optional(),requestsMemory:Qt.optional(),limitsMemory:Xt.optional(),minReplicas:Yt.optional(),computeUnits:Zt.optional(),timeoutSeconds:oe.optional(),workerType:te.optional(),pythonVersion:ee.optional(),workerNumber:ne.optional(),baseDockerfile:se.optional()}),ie=o.string(),me=o.array(ie),ce=o.object({whitelistPatterns:me.optional()});o.object({id:g,name:h,featureFlags:p,billingMetadata:u,deploymentResources:ae.optional(),membershipsMetadata:ce.optional()});const re=o.string(),le=o.array(re);o.object({whitelistPatterns:le.optional()});const Se=o.string(),Ae=o.string(),be=o.string(),Ce=o.null(),ge=o.union([be,Ce]),he=o.string(),pe=o.null(),ue=o.union([he,pe]),de=o.string(),Ve=o.null(),fe=o.union([de,Ve]),Je=o.string(),Ie=o.null(),Re=o.union([Je,Ie]),De=o.string(),ye=o.null(),Te=o.union([De,ye]),Fe=o.string(),Ee=o.null(),ke=o.union([Fe,Ee]),Le=o.string(),Ge=o.null(),je=o.union([Le,Ge]),Pe=o.object({name:Se,language:Ae,theme:ge,logo_url:ue,favicon_url:fe,brand_name:Re,main_color:Te,font_family:ke,font_color:je}),Ne=o.boolean(),We=o.string(),_e=o.array(We),Me=o.object({is_public:Ne,required_roles:_e}),we=o.object({access_control:Me}),xe=o.string(),ve=o.string(),Oe=o.number(),He=o.array(Oe),qe=o.string(),Ue=o.string(),Be=o.string(),ze=o.string(),Ke=o.string(),$e=o.string(),Qe=o.null(),Xe=o.union([$e,Qe]),s=o.object({id:Ue,target_id:Be,target_type:ze,type:Ke,task_type:Xe.optional()}),Ye=s,Ze=o.array(Ye),on=o.string(),tn=o.object({title:xe,file:ve,workflow_position:He,id:qe,transitions:Ze,schedule:on}),en=tn,nn=o.array(en),sn=o.string(),an=o.string(),mn=o.number(),cn=o.array(mn),rn=o.string(),ln=s,Sn=o.array(ln),An=o.boolean(),bn=o.string(),Cn=o.boolean(),gn=o.object({title:sn,file:an,workflow_position:cn,id:rn,transitions:Sn,enabled:An,path:bn,is_initial:Cn}),hn=gn,pn=o.array(hn),un=o.string(),dn=o.string(),Vn=o.number(),fn=o.array(Vn),Jn=o.string(),In=s,Rn=o.array(In),Dn=o.string(),yn=o.null(),Tn=o.union([Dn,yn]),Fn=o.string(),En=o.string(),kn=o.null(),Ln=o.union([En,kn]),Gn=o.string(),jn=o.boolean(),Pn=o.object({variable_name:Gn,enabled:jn}),Nn=o.boolean(),Wn=o.string(),_n=o.null(),Mn=o.union([Wn,_n]),wn=o.string(),xn=o.null(),vn=o.union([wn,xn]),On=o.boolean(),Hn=o.boolean(),qn=o.boolean(),Un=o.string(),Bn=o.array(Un),zn=o.object({is_public:qn,required_roles:Bn}),Kn=o.string(),$n=o.null(),Qn=o.union([Kn,$n]),Xn=o.string(),Yn=o.null(),Zn=o.union([Xn,Yn]),os=o.string(),ts=o.null(),es=o.union([os,ts]),ns=o.object({title:un,file:dn,workflow_position:fn,id:Jn,transitions:Rn,restart_button_text:Tn,path:Fn,end_message:Ln,notification_trigger:Pn,auto_start:Nn,start_button_text:Mn,timeout_message:vn,allow_restart:On,is_initial:Hn,access_control:zn,welcome_title:Qn,start_message:Zn,error_message:es}),ss=ns,as=o.array(ss),is=o.string(),ms=o.string(),cs=o.number(),rs=o.array(cs),ls=o.string(),Ss=s,As=o.array(Ss),bs=o.boolean(),Cs=o.object({title:is,file:ms,workflow_position:rs,id:ls,transitions:As,is_initial:bs}),gs=Cs,hs=o.array(gs),ps=o.literal("15.0");o.object({workspace:Pe,home:we,jobs:nn,hooks:pn,forms:as,scripts:hs,version:ps});const us=o.string(),ds=o.string(),Vs=o.string(),fs=o.null(),Js=o.union([Vs,fs]),Is=o.string(),Rs=o.null(),Ds=o.union([Is,Rs]),ys=o.string(),Ts=o.null(),Fs=o.union([ys,Ts]),Es=o.string(),ks=o.null(),Ls=o.union([Es,ks]),Gs=o.string(),js=o.null(),Ps=o.union([Gs,js]),Ns=o.string(),Ws=o.null(),_s=o.union([Ns,Ws]),Ms=o.string(),ws=o.null(),xs=o.union([Ms,ws]),vs=o.object({name:us,language:ds,theme:Js,logo_url:Ds,favicon_url:Fs,brand_name:Ls,main_color:Ps,font_family:_s,font_color:xs}),Os=o.boolean(),Hs=o.string(),qs=o.array(Hs),Us=o.object({is_public:Os,required_roles:qs}),Bs=o.object({access_control:Us}),zs=o.string(),Ks=o.string(),$s=o.number(),Qs=o.array($s),Xs=o.string(),Ys=o.string(),Zs=o.string(),oa=o.string(),ta=o.literal("task"),ea=o.string(),na=o.null(),sa=o.union([ea,na]),a=o.object({id:Ys,target_id:Zs,target_type:oa,type:ta,task_type:sa.optional()}),aa=a,ia=o.array(aa),ma=o.string(),ca=o.object({title:zs,file:Ks,workflow_position:Qs,id:Xs,transitions:ia,schedule:ma}),ra=ca,la=o.array(ra),Sa=o.string(),Aa=o.string(),ba=o.number(),Ca=o.array(ba),ga=o.string(),ha=a,pa=o.array(ha),ua=o.boolean(),da=o.string(),Va=o.boolean(),fa=o.object({title:Sa,file:Aa,workflow_position:Ca,id:ga,transitions:pa,enabled:ua,path:da,is_initial:Va}),Ja=fa,Ia=o.array(Ja),Ra=o.string(),Da=o.string(),ya=o.number(),Ta=o.array(ya),Fa=o.string(),Ea=a,ka=o.array(Ea),La=o.string(),Ga=o.null(),ja=o.union([La,Ga]),Pa=o.string(),Na=o.string(),Wa=o.null(),_a=o.union([Na,Wa]),Ma=o.string(),wa=o.boolean(),xa=o.object({variable_name:Ma,enabled:wa}),va=o.boolean(),Oa=o.string(),Ha=o.null(),qa=o.union([Oa,Ha]),Ua=o.string(),Ba=o.null(),za=o.union([Ua,Ba]),Ka=o.boolean(),$a=o.boolean(),Qa=o.boolean(),Xa=o.string(),Ya=o.array(Xa),Za=o.object({is_public:Qa,required_roles:Ya}),oi=o.string(),ti=o.null(),ei=o.union([oi,ti]),ni=o.string(),si=o.null(),ai=o.union([ni,si]),ii=o.string(),mi=o.null(),ci=o.union([ii,mi]),ri=o.object({title:Ra,file:Da,workflow_position:Ta,id:Fa,transitions:ka,restart_button_text:ja,path:Pa,end_message:_a,notification_trigger:xa,auto_start:va,start_button_text:qa,timeout_message:za,allow_restart:Ka,is_initial:$a,access_control:Za,welcome_title:ei,start_message:ai,error_message:ci}),li=ri,Si=o.array(li),Ai=o.string(),bi=o.string(),Ci=o.number(),gi=o.array(Ci),hi=o.string(),pi=a,ui=o.array(pi),di=o.boolean(),Vi=o.object({title:Ai,file:bi,workflow_position:gi,id:hi,transitions:ui,is_initial:di}),fi=Vi,Ji=o.array(fi),Ii=o.literal("14.0");o.object({workspace:vs,home:Bs,jobs:la,hooks:Ia,forms:Si,scripts:Ji,version:Ii});const Ri=o.string(),Di=o.string(),yi=o.string(),Ti=o.null(),Fi=o.union([yi,Ti]),Ei=o.string(),ki=o.null(),Li=o.union([Ei,ki]),Gi=o.string(),ji=o.null(),Pi=o.union([Gi,ji]),Ni=o.string(),Wi=o.null(),_i=o.union([Ni,Wi]),Mi=o.string(),wi=o.null(),xi=o.union([Mi,wi]),vi=o.string(),Oi=o.null(),Hi=o.union([vi,Oi]),qi=o.string(),Ui=o.null(),Bi=o.union([qi,Ui]),zi=o.object({name:Ri,language:Di,theme:Fi,logo_url:Li,favicon_url:Pi,brand_name:_i,main_color:xi,font_family:Hi,font_color:Bi}),Ki=o.boolean(),$i=o.string(),Qi=o.array($i),Xi=o.object({is_public:Ki,required_roles:Qi}),Yi=o.object({access_control:Xi}),Zi=o.string(),om=o.string(),tm=o.number(),em=o.array(tm),nm=o.string(),sm=o.string(),am=o.string(),im=o.string(),mm=o.string(),cm=o.string(),rm=o.null(),lm=o.union([cm,rm]),t=o.object({id:sm,target_id:am,target_type:im,type:mm,task_type:lm.optional()}),Sm=t,Am=o.array(Sm),bm=o.string(),Cm=o.object({title:Zi,file:om,workflow_position:em,id:nm,transitions:Am,schedule:bm}),gm=Cm,hm=o.array(gm),pm=o.string(),um=o.string(),dm=o.number(),Vm=o.array(dm),fm=o.string(),Jm=t,Im=o.array(Jm),Rm=o.boolean(),Dm=o.string(),ym=o.boolean(),Tm=o.object({title:pm,file:um,workflow_position:Vm,id:fm,transitions:Im,enabled:Rm,path:Dm,is_initial:ym}),Fm=Tm,Em=o.array(Fm),km=o.string(),Lm=o.string(),Gm=o.number(),jm=o.array(Gm),Pm=o.string(),Nm=t,Wm=o.array(Nm),_m=o.string(),Mm=o.null(),wm=o.union([_m,Mm]),xm=o.string(),vm=o.string(),Om=o.null(),Hm=o.union([vm,Om]),qm=o.string(),Um=o.boolean(),Bm=o.object({variable_name:qm,enabled:Um}),zm=o.boolean(),Km=o.string(),$m=o.null(),Qm=o.union([Km,$m]),Xm=o.string(),Ym=o.null(),Zm=o.union([Xm,Ym]),oc=o.boolean(),tc=o.boolean(),ec=o.boolean(),nc=o.string(),sc=o.array(nc),ac=o.object({is_public:ec,required_roles:sc}),ic=o.string(),mc=o.null(),cc=o.union([ic,mc]),rc=o.string(),lc=o.null(),Sc=o.union([rc,lc]),Ac=o.string(),bc=o.null(),Cc=o.union([Ac,bc]),gc=o.object({title:km,file:Lm,workflow_position:jm,id:Pm,transitions:Wm,restart_button_text:wm,path:xm,end_message:Hm,notification_trigger:Bm,auto_start:zm,start_button_text:Qm,timeout_message:Zm,allow_restart:oc,is_initial:tc,access_control:ac,welcome_title:cc,start_message:Sc,error_message:Cc}),hc=gc,pc=o.array(hc),uc=o.string(),dc=o.string(),Vc=o.number(),fc=o.array(Vc),Jc=o.string(),Ic=t,Rc=o.array(Ic),Dc=o.boolean(),yc=o.object({title:uc,file:dc,workflow_position:fc,id:Jc,transitions:Rc,is_initial:Dc}),Tc=yc,Fc=o.array(Tc),Ec=o.string(),kc=o.string(),Lc=o.string().uuid(),Gc=o.null(),jc=o.union([Lc,Gc]),Pc=o.number(),Nc=o.array(Pc),Wc=t,_c=o.array(Wc),Mc=o.string().uuid(),wc=o.null(),xc=o.union([Mc,wc]),vc=o.object({id:Ec,title:kc,project_id:jc,workflow_position:Nc,transitions:_c,client_stage_id:xc}),Oc=o.array(vc),Hc=o.string(),qc=o.string(),Uc=o.number(),Bc=o.array(Uc),zc=t,Kc=o.array(zc),$c=o.object({id:Hc,title:qc,workflow_position:Bc,transitions:Kc}),Qc=o.array($c),Xc=o.literal("13.0");o.object({workspace:zi,home:Yi,jobs:hm,hooks:Em,forms:pc,scripts:Fc,agents:Oc,clients:Qc,version:Xc});const Yc=o.string(),Zc=o.string(),or=o.string(),tr=o.null(),er=o.union([or,tr]),nr=o.string(),sr=o.null(),ar=o.union([nr,sr]),ir=o.string(),mr=o.null(),cr=o.union([ir,mr]),rr=o.string(),lr=o.null(),Sr=o.union([rr,lr]),Ar=o.string(),br=o.null(),Cr=o.union([Ar,br]),gr=o.string(),hr=o.null(),pr=o.union([gr,hr]),ur=o.string(),dr=o.null(),Vr=o.union([ur,dr]),fr=o.object({name:Yc,language:Zc,theme:er,logo_url:ar,favicon_url:cr,brand_name:Sr,main_color:Cr,font_family:pr,font_color:Vr}),Jr=o.boolean(),Ir=o.string(),Rr=o.array(Ir),Dr=o.object({is_public:Jr,required_roles:Rr}),yr=o.object({access_control:Dr}),Tr=o.string(),Fr=o.string(),Er=o.number(),kr=o.array(Er),Lr=o.string(),Gr=o.string(),jr=o.string(),Pr=o.string(),Nr=o.string(),Wr=o.string(),_r=o.null(),Mr=o.union([Wr,_r]),i=o.object({id:Gr,target_id:jr,target_type:Pr,type:Nr,task_type:Mr.optional()}),wr=i,xr=o.array(wr),vr=o.string(),Or=o.object({title:Tr,file:Fr,workflow_position:kr,id:Lr,transitions:xr,schedule:vr}),Hr=Or,qr=o.array(Hr),Ur=o.string(),Br=o.string(),zr=o.number(),Kr=o.array(zr),$r=o.string(),Qr=i,Xr=o.array(Qr),Yr=o.boolean(),Zr=o.string(),ol=o.boolean(),tl=o.object({title:Ur,file:Br,workflow_position:Kr,id:$r,transitions:Xr,enabled:Yr,path:Zr,is_initial:ol}),el=tl,nl=o.array(el),sl=o.string(),al=o.string(),il=o.number(),ml=o.array(il),cl=o.string(),rl=i,ll=o.array(rl),Sl=o.string(),Al=o.null(),bl=o.union([Sl,Al]),Cl=o.string(),gl=o.string(),hl=o.null(),pl=o.union([gl,hl]),ul=o.string(),dl=o.boolean(),Vl=o.object({variable_name:ul,enabled:dl}),fl=o.boolean(),Jl=o.string(),Il=o.null(),Rl=o.union([Jl,Il]),Dl=o.string(),yl=o.null(),Tl=o.union([Dl,yl]),Fl=o.boolean(),El=o.boolean(),kl=o.boolean(),Ll=o.string(),Gl=o.array(Ll),jl=o.object({is_public:kl,required_roles:Gl}),Pl=o.string(),Nl=o.null(),Wl=o.union([Pl,Nl]),_l=o.string(),Ml=o.null(),wl=o.union([_l,Ml]),xl=o.string(),vl=o.null(),Ol=o.union([xl,vl]),Hl=o.object({title:sl,file:al,workflow_position:ml,id:cl,transitions:ll,restart_button_text:bl,path:Cl,end_message:pl,notification_trigger:Vl,auto_start:fl,start_button_text:Rl,timeout_message:Tl,allow_restart:Fl,is_initial:El,access_control:jl,welcome_title:Wl,start_message:wl,error_message:Ol}),ql=Hl,Ul=o.array(ql),Bl=o.string(),zl=o.string(),Kl=o.number(),$l=o.array(Kl),Ql=o.string(),Xl=i,Yl=o.array(Xl),Zl=o.boolean(),oS=o.object({title:Bl,file:zl,workflow_position:$l,id:Ql,transitions:Yl,is_initial:Zl}),tS=oS,eS=o.array(tS),nS=o.literal("12.0");o.object({workspace:fr,home:yr,jobs:qr,hooks:nl,forms:Ul,scripts:eS,version:nS});const sS=o.enum(["true","false"]),aS=o.enum(["true","false"]),iS=o.enum(["true","false"]),mS=o.string().regex(new RegExp("^[0-9]+m$")),cS=o.string().regex(new RegExp("^[0-9]+m$")),rS=o.string().regex(new RegExp("^[0-9]+Mi$")),lS=o.string().regex(new RegExp("^[0-9]+Mi$")),SS=o.string().regex(new RegExp("^[0-9]+$")),AS=o.number(),bS=o.string().regex(new RegExp("^[0-9]+$")),CS=o.string(),gS=o.enum(["3.9","3.10","3.11","3.12"]),hS=o.string(),pS=o.string();o.object({watermarkEnabled:sS.optional(),nativeTempDir:aS.optional(),notificationsEnabled:iS.optional(),requestsCPU:mS.optional(),limitsCPU:cS.optional(),requestsMemory:rS.optional(),limitsMemory:lS.optional(),minReplicas:SS.optional(),computeUnits:AS.optional(),timeoutSeconds:bS.optional(),workerType:CS.optional(),pythonVersion:gS.optional(),workerNumber:hS.optional(),baseDockerfile:pS.optional()});const uS=o.enum(["true","false"]),dS=o.enum(["true","false"]),VS=o.enum(["true","false"]),fS=o.string().regex(new RegExp("^[0-9]+m$")),JS=o.string().regex(new RegExp("^[0-9]+m$")),IS=o.string().regex(new RegExp("^[0-9]+Mi$")),RS=o.string().regex(new RegExp("^[0-9]+Mi$")),DS=o.string().regex(new RegExp("^[0-9]+$")),yS=o.number(),TS=o.string().regex(new RegExp("^[0-9]+$")),FS=o.string(),ES=o.enum(["3.9","3.10","3.11","3.12"]),kS=o.string(),LS=o.string();o.object({watermarkEnabled:uS.optional(),seleniumInstanceEnabled:dS.optional(),notificationsEnabled:VS.optional(),requestsCPU:fS.optional(),limitsCPU:JS.optional(),requestsMemory:IS.optional(),limitsMemory:RS.optional(),minReplicas:DS.optional(),computeUnits:yS.optional(),timeoutSeconds:TS.optional(),workerType:FS.optional(),pythonVersion:ES.optional(),workerNumber:kS.optional(),baseDockerfile:LS.optional()});const GS=o.enum(["file","directory"]),jS=o.string(),PS=o.string(),NS=o.string().datetime({local:!0}),WS=o.number(),_S=o.string(),MS=o.number(),wS=o.object({type:GS,path:jS,name:PS,date:NS,sizeBytes:WS.optional(),sizeHuman:_S.optional(),itemCount:MS.optional()}),xS=o.literal("replace-code"),vS=o.string(),OS=o.string(),HS=o.literal("replace-code"),qS=o.object({action:xS,actionLabel:vS,newCode:OS,type:HS.optional()}),US=qS,BS=o.literal("edit-stage-name"),zS=o.string(),KS=o.string(),$S=o.literal("edit-stage-name"),QS=o.object({action:BS,actionLabel:zS,newName:KS,type:$S.optional()}),XS=QS,YS=o.literal("add-notifiable-email"),ZS=o.string(),oA=o.string(),tA=o.object({action:YS,actionLabel:ZS,email:oA}),eA=tA,nA=o.literal("edit-stage-filename"),sA=o.string(),aA=o.string(),iA=o.literal("edit-stage-filename"),mA=o.object({action:nA,actionLabel:sA,newFilename:aA,type:iA.optional()}),cA=mA,rA=o.union([US,XS,eA,cA]),lA=o.array(rA);o.object({actions:lA});const SA=o.literal("create-table"),AA=o.string(),bA=o.string().uuid(),CA=o.string(),gA=o.object({action:SA,actionLabel:AA,tableId:bA,tableName:CA}),hA=gA,pA=o.literal("create-column"),uA=o.string(),dA=o.string().uuid(),VA=o.string(),fA=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),JA=o.boolean(),IA=o.string(),RA=o.boolean(),DA=o.object({action:pA,actionLabel:uA,tableId:dA,columnName:VA,columnType:fA,nullable:JA,default:IA,unique:RA}),yA=DA,TA=o.literal("insert-rows"),FA=o.string(),EA=o.string().uuid(),kA=o.record(o.any()),LA=o.array(kA),GA=o.object({action:TA,actionLabel:FA,tableId:EA,rows:LA}),jA=GA,PA=o.literal("edit-table"),NA=o.string(),WA=o.string().uuid(),_A=o.string(),MA=o.object({action:PA,actionLabel:NA,tableId:WA,newTableName:_A}),wA=MA,xA=o.literal("edit-column"),vA=o.string(),OA=o.string().uuid(),HA=o.string().uuid(),qA=o.string(),UA=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),BA=o.boolean(),zA=o.string(),KA=o.boolean(),$A=o.string().uuid(),QA=o.object({columnId:$A}),XA=o.object({columnName:qA.optional(),columnType:UA.optional(),nullable:BA.optional(),default:zA.optional(),unique:KA.optional(),foreignKey:QA.optional()}),YA=o.object({action:xA,actionLabel:vA,columnId:OA,tableId:HA,changes:XA}),ZA=YA,ob=o.literal("edit-env-var"),tb=o.string(),eb=o.string(),nb=o.string(),sb=o.object({action:ob,actionLabel:tb,key:eb,newValue:nb}),ab=sb,ib=o.literal("set-env-var"),mb=o.string(),cb=o.string(),rb=o.string(),lb=o.object({action:ib,actionLabel:mb,key:cb,value:rb}),Sb=lb,Ab=o.literal("install-package"),bb=o.string(),Cb=o.string(),gb=o.object({action:Ab,actionLabel:bb,packageName:Cb}),hb=gb,pb=o.literal("create-stage"),ub=o.string(),db=o.string().uuid(),Vb=o.enum(["form","job","hook","tasklet"]),fb=o.string(),Jb=o.string(),Ib=o.string(),Rb=o.number(),Db=o.number(),yb=o.object({x:Rb,y:Db}),Tb=o.literal("create-stage"),Fb=o.object({action:pb,actionLabel:ub,id:db,stageType:Vb,stageName:fb,code:Jb,filename:Ib,position:yb,type:Tb.optional()}),Eb=Fb,kb=o.literal("add-transition"),Lb=o.string(),Gb=o.string().uuid(),jb=o.string().uuid(),Pb=o.object({action:kb,actionLabel:Lb,sourceStageId:Gb,targetStageId:jb}),Nb=Pb,Wb=o.literal("edit-stage"),_b=o.string(),Mb=o.string().uuid(),wb=o.enum(["form","job","hook","tasklet"]),xb=o.string(),vb=o.object({action:Wb,actionLabel:_b,stageId:Mb,stageType:wb,stageNewTitle:xb}),Ob=vb,Hb=o.union([hA,yA,jA,wA,ZA,ab,Sb,hb,Eb,Nb,Ob]),qb=o.array(Hb);o.object({actions:qb});const Ub=o.literal("replace-code"),Bb=o.string(),zb=o.number(),Kb=o.number(),$b=o.object({start:zb,end:Kb}),Qb=o.string(),Xb=o.object({action:Ub,actionLabel:Bb,lines:$b,newCode:Qb}),Yb=Xb,Zb=o.literal("edit-stage-name"),oC=o.string(),tC=o.string(),eC=o.object({action:Zb,actionLabel:oC,newName:tC}),nC=eC,sC=o.literal("add-notifiable-email"),aC=o.string(),iC=o.string(),mC=o.object({action:sC,actionLabel:aC,email:iC}),cC=mC,rC=o.union([Yb,nC,cC]),lC=o.array(rC);o.object({actions:lC});const SC=o.literal("create-table"),AC=o.string(),bC=o.string().uuid(),CC=o.string(),gC=o.object({action:SC,actionLabel:AC,tableId:bC,tableName:CC}),hC=gC,pC=o.literal("create-column"),uC=o.string(),dC=o.string().uuid(),VC=o.string(),fC=o.enum(["varchar","int","boolean","json","date","timestamp","uuid","real"]),JC=o.object({action:pC,actionLabel:uC,tableId:dC,columnName:VC,columnType:fC}),IC=JC,RC=o.literal("set-env-var"),DC=o.string(),yC=o.string(),TC=o.string(),FC=o.object({action:RC,actionLabel:DC,key:yC,value:TC}),EC=FC,kC=o.literal("create-stage"),LC=o.string(),GC=o.string().uuid(),jC=o.enum(["form","job","hook","tasklet"]),PC=o.string(),NC=o.string(),WC=o.string(),_C=o.number(),MC=o.number(),wC=o.object({x:_C,y:MC}),xC=o.object({action:kC,actionLabel:LC,id:GC,stageType:jC,stageName:PC,code:NC,filename:WC,position:wC}),vC=xC,OC=o.literal("add-transition"),HC=o.string(),qC=o.string().uuid(),UC=o.string().uuid(),BC=o.object({action:OC,actionLabel:HC,sourceStageId:qC,targetStageId:UC}),zC=BC,KC=o.union([hC,IC,EC,vC,zC]),$C=o.array(KC);o.object({actions:$C});const QC=g,XC=h,YC=p,ZC=u;o.object({id:QC,name:XC,featureFlags:YC,billingMetadata:ZC});const og=m;o.object({description:og});const tg=o.number(),eg=o.number();o.object({offset:tg.optional(),limit:eg.optional()});const ng=q;o.array(ng);const sg=A,ag=m;o.object({name:sg,description:ag.optional()});const ig=wS,mg=o.array(ig),cg=o.number();o.object({items:mg,totalCount:cg});const rg=n,lg=r;o.object({email:rg.optional(),roles:lg.optional()});const Sg=o.number(),Ag=o.number();o.object({offset:Sg.optional(),limit:Ag.optional()});const bg=ht;o.array(bg);const Cg=n,gg=r;o.object({email:Cg,roles:gg});const hg=b;o.object({emailPatterns:hg});const pg=C;o.object({projectId:pg});const ug=o.literal("tokens"),dg=o.record(o.string());o.object({type:ug,tokens:dg});const Vg=o.string(),fg=o.number(),Jg=o.number(),Ig=o.number(),Rg=o.number(),Dg=o.number(),yg=o.object({stageId:Vg,pendingTasks:fg,completedTasks:Jg,lockedTasks:Ig,totalTasks:Rg,averageCompletionSeconds:Dg.optional()});o.array(yg);const Tg=o.string(),Fg=o.string();o.object({redirect:Tg,ping:Fg});const Eg=o.string(),kg=o.record(o.any()),Lg=o.string(),Gg=o.object({key:Eg,value:kg,type:Lg}),jg=Gg,Pg=o.array(jg),Ng=o.string(),Wg=o.string(),_g=o.record(o.any()),d=o.enum(["waiting","running","processing","finished","failed","abandoned"]),Mg=o.string(),wg=o.string(),xg=o.string(),vg=o.string();o.object({id:Ng,stage:Wg,data:_g,status:d,created_at:Mg,updated_at:wg,parent_id:xg.optional(),execution_id:vg.optional()});const Og=o.string(),Hg=o.string(),qg=o.string(),Ug=o.string(),Bg=d,zg=Pg,Kg=o.string(),$g=o.object({id:Og,created_at:Hg,updated_at:qg.optional(),assignee:Ug.optional(),status:Bg,content:zg,stage:Kg.optional()}),Qg=$g,V=o.array(Qg),Xg=o.string(),Yg=o.enum(["form","hook","job","script"]),Zg=o.string(),oh=o.string(),th=o.boolean(),f=o.object({id:Xg,type:Yg,title:Zg,path:oh.optional(),can_be_started:th}),eh=f,nh=V,sh=o.number(),ah=o.boolean(),ih=o.object({selected_stage:eh,stage_run_cards:nh,total_count:sh,loading:ah.optional()}),mh=ih,ch=o.array(mh),rh=ch;o.object({columns:rh});const lh=V,Sh=o.string(),Ah=o.array(Sh),bh=o.number();o.object({stage_run_cards:lh,not_found_stages:Ah,total_count:bh});const Ch=f;o.array(Ch);const gh=o.string(),hh=gh,ph=o.literal("text"),uh=o.string(),dh=o.object({type:ph,text:uh}),Vh=o.literal("file"),fh=o.string(),Jh=o.string(),Ih=o.object({type:Vh,fileName:fh,fileContent:Jh}),Rh=o.union([dh,Ih]),Dh=o.array(Rh),yh=Dh,Th=o.record(o.any()),Fh=o.string();o.object({conversationId:hh,content:yh,context:Th,humanApproval:Fh.optional()});const Eh=o.string(),kh=o.enum(["changed","created","deleted","moved"]),Lh=o.string(),Uu=o.object({filepath:Eh,event:kh,content:Lh.optional()}),Gh=o.string(),jh=o.string(),Ph=o.literal("bug"),Nh=o.string(),Wh=o.string(),_h=o.string(),Mh=o.object({name:Wh,label:_h}),wh=Mh,xh=o.array(wh),vh=o.object({label:Nh,fixes:xh}),Oh=vh,Hh=o.array(Oh),qh=o.object({name:Gh,label:jh,type:Ph,issues:Hh}),Uh=o.string();o.object({waitingRoomUrl:Uh});const Bh=o.string(),zh=o.string(),Kh=o.object({name:Bh,value:zh}),$h=o.string(),Bu=o.object({separator:$h}),Qh=o.boolean(),zu=o.object({ok:Qh.optional()}),Xh=S,Yh=o.enum(["form","hook","job","script"]),Zh=o.string(),op=o.object({type:Yh,id:Zh}),tp=o.array(op),ep=o.object({file:Xh,stages:tp}),Ku=o.array(ep),np=o.boolean(),$u=o.object({ok:np.optional()}),sp=o.string(),ap=o.array(sp),ip=o.string(),mp=o.array(ip),Qu=o.object({pathParts:ap,newPathParts:mp}),cp=o.boolean(),Xu=o.object({ok:cp.optional()}),rp=o.string(),lp=o.number(),Sp=o.enum(["delete","insert"]),Ap=o.string(),bp=o.number(),Cp=o.object({siteId:rp,pos:lp,type:Sp,value:Ap.optional(),length:bp.optional()});o.array(Cp);const gp=o.boolean(),Yu=o.object({ok:gp.optional()}),Zu=S,hp=o.boolean();o.object({success:hp});const pp=qh;o.array(pp);const up=Kh;o.array(up);const dp=o.string();o.object({message:dp});const Vp=o.boolean(),fp=o.string(),od=o.object({success:Vp,message:fp}),Jp=o.string();o.object({commitHash:Jp});const Ip=o.boolean(),Rp=o.string(),td=o.object({success:Ip,message:Rp}),Dp=o.boolean(),yp=o.string(),ed=o.object({success:Dp,message:yp}),Tp=o.boolean(),Fp=o.string(),nd=o.object({success:Tp,message:Fp}),Ep=o.record(o.string()),kp=o.boolean(),sd=o.object({remotes:Ep,hasAbstraRemote:kp}),Lp=o.string(),Gp=o.string();o.object({branch:Lp.optional(),commitHash:Gp.optional()});const jp=o.boolean(),Pp=o.string(),ad=o.object({success:jp,message:Pp}),Np=o.boolean(),Wp=o.boolean(),_p=o.boolean(),Mp=o.string(),wp=o.string(),xp=o.array(wp),vp=o.string(),Op=o.string(),Hp=o.string(),qp=o.string(),Up=o.object({hash:vp,message:Op,author:Hp,date:qp}).nullable(),Bp=o.boolean(),zp=o.string(),Kp=o.array(zp),$p=o.string(),Qp=o.string(),Xp=o.string(),Yp=o.object({path:$p,status:Qp,statusCode:Xp}),Zp=o.array(Yp),ou=o.boolean(),tu=o.string().nullable(),eu=o.boolean(),nu=o.boolean(),su=o.string().nullable(),au=o.string(),iu=o.array(au),mu=o.number(),cu=o.number(),ru=o.object({ahead:mu,behind:cu}).nullable(),lu=o.object({success:ou,remoteCommit:tu,hasRemoteChanges:eu,hasConflicts:nu,message:su,availableBranches:iu,aheadBehind:ru}).nullable(),id=o.object({available:Np,gitInstalled:Wp,isMonorepo:_p,branch:Mp,branches:xp,lastCommit:Up,hasChanges:Bp,changedFiles:Kp,changedFilesWithStatus:Zp,remoteStatus:lu}),Su=o.string(),Au=o.string(),bu=o.string(),Cu=o.string(),gu=o.object({hash:Su,message:Au,author:bu,date:Cu}),hu=o.array(gu),pu=o.boolean(),md=o.object({commits:hu,hasMore:pu}),uu=o.boolean(),du=o.string(),cd=o.object({success:uu,message:du}),Vu=n;o.object({email:Vu});const fu=o.enum(["ALLOWED","UNAUTHORIZED","FORBIDEN","NOT_FOUND"]);o.object({status:fu});const Ju=o.string(),Iu=o.string().datetime({local:!0}),Ru=o.enum(["user","assistant"]),Du=o.string(),yu=o.literal("text"),Tu=o.string(),Fu=o.object({type:yu,text:Tu}),Eu=o.literal("image_url"),ku=o.string(),Lu=o.object({url:ku}),Gu=o.object({type:Eu,image_url:Lu}),ju=o.union([Fu,Gu]),Pu=o.array(ju),Nu=o.union([Du,Pu]),Wu=o.string().datetime({local:!0}),_u=o.string(),Mu=o.string(),wu=o.object({role:Ru,content:Nu,createdAt:Wu,toolTitle:_u.optional(),toolCallId:Mu.optional()}),xu=o.array(wu),vu=o.object({id:Ju,createdAt:Iu,messages:xu}),Ou=vu;o.array(Ou);export{Uu as A,Ku as a,Zu as b,zu as c,Yu as d,Qu as e,Xu as f,$u as g,Bu as h,id as i,ad as j,nd as k,od as l,cd as m,ed as n,sd as o,td as p,md as q};
2
- //# sourceMappingURL=contracts.generated.f01de5a3.js.map
@@ -1,2 +0,0 @@
1
- var O=Object.defineProperty;var $=(o,t,e)=>t in o?O(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var R=(o,t,e)=>($(o,typeof t!="symbol"?t+"":t,e),e);import{d as D,c as v,r as p,w as y,o as P,a as U,b as h,e as I,f as b,u as l,S as B,g as j,t as T,i as C,A as N,T as z,h as W,M as F,_ as H,j as G,k as J,l as S,m as q,n as K,p as Y,q as Q,s as k,v as X,x as Z,y as ee,z as m,B as te,C as oe,D as ae,E as ne,F as se,P as re,G as ie,H as ce,I as le,J as L,K as ue,L as de,N as pe,O as _e}from"./jwt-decode.esm.3348bca5.js";import{r as fe,g as ge,a as me}from"./router.c7abfb0c.js";import{u as he,s as ve}from"./workspaceStore.5d3f2aec.js";import{u as ye}from"./useCodebaseEvents.6ebbc5a2.js";import{z as be,d as E}from"./index.015caad7.js";import{A as we}from"./constants.be8ad36c.js";import"./contracts.generated.f01de5a3.js";import"./linters.903f3240.js";import"./userStore.34b8f1eb.js";import"./url.5d02a63f.js";import"./colorHelpers.5ee17d14.js";import"./asyncComputed.c73d027a.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]="3dab96d5-03e8-4288-a3a5-fe454c342b45",o._sentryDebugIdIdentifier="sentry-dbid-3dab96d5-03e8-4288-a3a5-fe454c342b45")}catch{}})();const Le={style:{"text-align":"center",padding:"20px"}},Ee=D({__name:"ConnectionModal",props:{open:{type:Boolean},port:{}},emits:["update:open"],setup(o,{emit:t}){const e=o,s=v({get:()=>e.open,set:a=>t("update:open",a)}),r=p(!1);return y(()=>e.open,a=>{if(a){r.value=!1;const n=setTimeout(()=>{r.value=!0},1e4);return()=>clearTimeout(n)}else r.value=!1}),(a,n)=>(P(),U(l(F),{open:s.value,"onUpdate:open":n[0]||(n[0]=u=>s.value=u),closable:!1,"mask-closable":!1,keyboard:!1,footer:null,width:400,centered:""},{default:h(()=>[I("div",Le,[b(l(B),{size:"large"}),b(l(N),{level:4},{default:h(()=>[j(T(l(C).translate("i18n_editor_connection_modal_connecting")),1)]),_:1}),r.value?(P(),U(l(z),{key:0},{default:h(()=>[j(T(l(C).translate("i18n_editor_connection_modal_timeout_message")),1)]),_:1})):W("",!0)])]),_:1},8,["open"]))}});const Pe=H(Ee,[["__scopeId","data-v-970fff16"]]),Ue={style:{height:"100vh","box-sizing":"border-box",width:"100%"}},Re=D({__name:"App",setup(o){const t=ye(),e=p(!1);y(t.isConnected,async a=>{e.value=!a},{immediate:!0});const s={token:{colorPrimary:"#d14056",colorLink:"#d14056",colorLinkHover:"#aa3446"}},r=v(()=>{switch((typeof localStorage<"u"?localStorage.getItem("locale"):null)||navigator.language.split(/[-_]/)[0]){case"pt":return Q;case"es":return Y;case"de":return K;case"fr":return q;case"zh":return be;case"hi":return S;default:return S}});return(a,n)=>{const u=G("RouterView");return P(),U(l(J),{theme:s,locale:r.value,"page-header":{ghost:!1}},{default:h(()=>[I("div",Ue,[b(u)]),b(Pe,{open:e.value,"onUpdate:open":n[0]||(n[0]=g=>e.value=g)},null,8,["open"])]),_:1},8,["locale"])}}});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 we.CLOUD+"/api-key?"+new URLSearchParams(t)}}const A="h97k86ks",f=class{static boot(t,e){f.booted||(E.Intercom({app_id:A}),E.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(){E.shutdown(),f.booted=!1}};let _=f;R(_,"booted",!1);const je={"console-url":"https://cloud.abstra.io"},Te=o=>{const t="VITE_"+k.toUpper(k.snakeCase(o)),e={VITE_SENTRY_RELEASE:"e696dc149d322509359d1df7bb9a32529c881d0f",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[t];return e||je[o]},d={consoleUrl:Te("console-url")},Ce=X("cloud-project",()=>{const o=new V,t=p(null),e=p(null),s=v(()=>{var i,c;return(c=(i=t.value)==null?void 0:i.logged)!=null?c:!1}),r=p(null),a=v(()=>e.value?{project:`${d.consoleUrl}/projects/${e.value.id}`,users:`${d.consoleUrl}/projects/${e.value.id}/access-control?selected-panel=users`,roles:`${d.consoleUrl}/projects/${e.value.id}/access-control?selected-panel=roles`,builds:`${d.consoleUrl}/projects/${e.value.id}/builds`,login:`${d.consoleUrl}/api-key`}:null),n=async()=>{!s.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},u=async i=>{const c=await o.createLogin(i);t.value=c,c.logged&&await g()},g=async()=>e.value=await o.getCloudProject();(async()=>{r.value=await o.getPublicUrl()})();const x=async()=>t.value?t.value:(t.value=await o.getLogin(),t.value.logged);return y(()=>t.value,g),y(()=>t.value,async i=>{if(i&&"info"in i){const{email:c,intercomHash:M}=i.info;_.boot(c,M)}else _.shutdown()}),{loadLogin:x,createLogin:u,deleteLogin:n,publicUrl:r,loginInfo:t,cloudProject:e,isLogged:s,links:a}}),Se=fe.map(o=>({...o,meta:{...o.meta,playerRoute:!0}})),w=Z({history:ee("/"),routes:[{path:"/_editor/",name:"app",component:()=>m(()=>import("./Home.8502aa41.js"),["assets/Home.8502aa41.js","assets/jwt-decode.esm.3348bca5.js","assets/jwt-decode.c5760184.css","assets/fetch.cd29ef4c.js","assets/polling.f547718c.js","assets/Home.afb8d9a6.css"]),children:[{path:"",name:"editor",component:()=>m(()=>import("./NewEditor.2b6f4ed3.js"),["assets/NewEditor.2b6f4ed3.js","assets/asyncComputed.c73d027a.js","assets/jwt-decode.esm.3348bca5.js","assets/jwt-decode.c5760184.css","assets/contracts.generated.f01de5a3.js","assets/linters.903f3240.js","assets/workspaceStore.5d3f2aec.js","assets/userStore.34b8f1eb.js","assets/url.5d02a63f.js","assets/colorHelpers.5ee17d14.js","assets/record.a108da5a.js","assets/PhWarningCircle.vue.20bfeba7.js","assets/Card.4a8a30bb.js","assets/router.c6e27700.js","assets/index.015caad7.js","assets/metadata.9f7495db.js","assets/PhWebhooksLogo.vue.58a98824.js","assets/LogsController.a58ca42a.js","assets/ant-design.b3eefa58.js","assets/string.998fa621.js","assets/PhCopy.vue.71703533.js","assets/index.5197afb2.js","assets/build.6e7d77b3.js","assets/tables.9701f90c.js","assets/repository.353e892d.js","assets/LoadingOutlined.4c40acc4.js","assets/polling.f547718c.js","assets/LogsController.61f8e22d.css","assets/omniChatStore.40ad0b1b.js","assets/uuid.6980e2bb.js","assets/PhCopySimple.vue.369eb629.js","assets/omniChatStore.b58e3bed.css","assets/datetime.a6d58ce1.js","assets/OmniChat.c78c1e51.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.1035457c.js","assets/Logo.fc8ace6c.js","assets/Logo.b7d81119.css","assets/files.1c1692f5.js","assets/PhClockCounterClockwise.vue.dae2e135.js","assets/PhDatabase.vue.0d3246d7.js","assets/index.b91afb03.js","assets/index.bec0ecd0.js","assets/OmniChat.60ee26c8.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.13670ae7.js","assets/constants.be8ad36c.js","assets/PhTranslate.vue.00a17a08.js","assets/PhArrowSquareOut.vue.1cebb708.js","assets/PhRocket.vue.761192f5.js","assets/PhSignOut.vue.8d8dfd96.js","assets/useCodebaseEvents.6ebbc5a2.js","assets/PhDownloadSimple.vue.21156b6d.js","assets/PhFilePlus.vue.b180df90.js","assets/PhPencilSimple.vue.0707effd.js","assets/CloseCircleOutlined.39b5ab06.js","assets/PhFolderPlus.vue.b18fd061.js","assets/tasksController.5db769f7.js","assets/vue-flow-core.0de753a6.js","assets/os.8ffdbf05.js","assets/ContentLayout.10f24838.js","assets/ContentLayout.cdae7d24.css","assets/fetch.cd29ef4c.js","assets/repository.677ca13c.js","assets/SaveButton.c3ad6e9b.js","assets/ExclamationCircleOutlined.2441b96e.js","assets/SaveButton.363ea20f.css","assets/View.vue_vue_type_script_setup_true_lang.c79117ce.js","assets/CrudView.57e8b29a.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.108b18e1.js","assets/PhDotsThreeVertical.vue.9d76c4de.js","assets/CrudView.8abe5bc2.css","assets/PhPencil.vue.0fc0fcc0.js","assets/PlayerNavbar.97e8dee9.js","assets/PlayerNavbar.4dc29a45.css","assets/PlayerConfigProvider.ad360920.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/LoadingContainer.ac03ea28.js","assets/LoadingContainer.56fa997a.css","assets/ScrollArea.vue_vue_type_script_setup_true_lang.62178939.js","assets/PhGear.vue.bed38929.js","assets/PhFileArrowUp.vue.406b22e3.js","assets/toggleHighContrast.23d5a1ab.js","assets/toggleHighContrast.30d77c87.css","assets/index.2ec95eae.js","assets/vue-flow-background.f1022925.js","assets/PhArrowCounterClockwise.vue.6ab1b899.js","assets/FormRunner.2b1b3c45.js","assets/Login.vue_vue_type_script_setup_true_lang.02acef81.js","assets/CircularLoading.d81a4cac.js","assets/CircularLoading.a8fe2dc6.css","assets/Login.ac75228f.css","assets/Steps.82252fc0.js","assets/index.82842143.js","assets/Steps.2880920a.css","assets/Watermark.c0756030.js","assets/Watermark.b0916e90.css","assets/FormRunner.1e6e7d2a.css","assets/repository.48119e01.js","assets/redirect.eedb2bf6.js","assets/router.c7abfb0c.js","assets/NewEditor.f2d1c0c3.css"])},{path:"project-login",name:"projectLogin",component:()=>m(()=>import("./ProjectLogin.f92a038d.js"),["assets/ProjectLogin.f92a038d.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.1035457c.js","assets/Logo.fc8ace6c.js","assets/jwt-decode.esm.3348bca5.js","assets/jwt-decode.c5760184.css","assets/Logo.b7d81119.css","assets/BaseLayout.28c01b5b.js","assets/BaseLayout.e1744dcc.css","assets/index.82590a75.js","assets/Breadcrumb.e54636d6.js","assets/index.b91afb03.js","assets/index.5197afb2.js","assets/router.c7abfb0c.js","assets/workspaceStore.5d3f2aec.js","assets/userStore.34b8f1eb.js","assets/url.5d02a63f.js","assets/colorHelpers.5ee17d14.js","assets/useCodebaseEvents.6ebbc5a2.js","assets/contracts.generated.f01de5a3.js","assets/index.015caad7.js","assets/constants.be8ad36c.js","assets/linters.903f3240.js","assets/asyncComputed.c73d027a.js","assets/ProjectLogin.21a71354.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:":pathMatch(.*)*",name:"editorFallback",redirect:"/_editor/"}]},{path:"/:path(.*)*",name:"player",component:()=>m(()=>import("./App.9ab9cabb.js"),["assets/App.9ab9cabb.js","assets/App.vue_vue_type_style_index_0_lang.6713c9c9.js","assets/userStore.34b8f1eb.js","assets/jwt-decode.esm.3348bca5.js","assets/jwt-decode.c5760184.css","assets/PlayerConfigProvider.ad360920.js","assets/colorHelpers.5ee17d14.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/workspaceStore.5d3f2aec.js","assets/url.5d02a63f.js","assets/App.0c2736ee.css"]),children:Se}],scrollBehavior(o){if(o.hash)return{el:o.hash}}}),ke=ge(w);w.beforeEach(async(o,t)=>{if(await he().actions.fetch(),o.meta.playerRoute)return ke(o,t);te(o,t);const e=Ce();if(!o.meta.allowUnauthenticated&&!e.isLogged&&!await e.loadLogin()){const s={redirect:location.origin+"/_editor/project-login"};window.open(V.getLoginUrl(s),"_self")}});(async()=>{await ve();const o=await me(),t=oe(),e=ae({render:()=>ue(Re)});ne.init(),se(e,w,o),e.use(w),e.use(re),e.use(t),e.mount("#app"),e.component("VSelect",ie),e.component("Markdown",ce),e.component("Message",le),L(e,de),L(e,pe),L(e,_e)})();export{d as E,Ce as u};
2
- //# sourceMappingURL=editor.a77b56bd.js.map
@@ -1,2 +0,0 @@
1
- import{C as t,E as i,K as d,a as f,M as l,c as y,P as b,R as c,S as g,b as u,T as k,U as p,e as w,l as D}from"./toggleHighContrast.23d5a1ab.js";import"./jwt-decode.esm.3348bca5.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]="52aa7942-98df-45e9-8f12-e758af8be7fa",e._sentryDebugIdIdentifier="sentry-dbid-52aa7942-98df-45e9-8f12-e758af8be7fa")}catch{}})();export{t as CancellationTokenSource,i as Emitter,d as KeyCode,f as KeyMod,l as MarkerSeverity,y as MarkerTag,b as Position,c as Range,g as Selection,u as SelectionDirection,k as Token,p as Uri,w as editor,D as languages};
2
- //# sourceMappingURL=editor.main.a1ebf0ab.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.3348bca5.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]="5dac99db-97da-46e3-9b3d-1c829a110c9e",e._sentryDebugIdIdentifier="sentry-dbid-5dac99db-97da-46e3-9b3d-1c829a110c9e")}catch{}})();const c=(...e)=>window.fetch(...e);export{c as l};
2
- //# sourceMappingURL=fetch.cd29ef4c.js.map
@@ -1,2 +0,0 @@
1
- import{C as o}from"./Card.4a8a30bb.js";import{d as b,an as g,b_ as i,f as r,bK as c,c as y}from"./jwt-decode.esm.3348bca5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3a568987-79f7-4f7c-a9af-b984b4cacf39",e._sentryDebugIdIdentifier="sentry-dbid-3a568987-79f7-4f7c-a9af-b984b4cacf39")}catch{}})();const _=()=>({prefixCls:String,title:c(),description:c(),avatar:c()}),d=b({compatConfig:{MODE:3},name:"ACardMeta",props:_(),slots:Object,setup(e,n){let{slots:a}=n;const{prefixCls:t}=g("card",e);return()=>{const l={[`${t.value}-meta`]:!0},s=i(a,e,"avatar"),f=i(a,e,"title"),v=i(a,e,"description"),C=s?r("div",{class:`${t.value}-meta-avatar`},[s]):null,m=f?r("div",{class:`${t.value}-meta-title`},[f]):null,p=v?r("div",{class:`${t.value}-meta-description`},[v]):null,D=m||p?r("div",{class:`${t.value}-meta-detail`},[m,p]):null;return r("div",{class:l},[C,D])}}}),M=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),u=b({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:M(),setup(e,n){let{slots:a}=n;const{prefixCls:t}=g("card",e),l=y(()=>({[`${t.value}-grid`]:!0,[`${t.value}-grid-hoverable`]:e.hoverable}));return()=>{var s;return r("div",{class:l.value},[(s=a.default)===null||s===void 0?void 0:s.call(a)])}}});o.Meta=d;o.Grid=u;o.install=function(e){return e.component(o.name,o),e.component(d.name,d),e.component(u.name,u),e};export{u as G,d as M};
2
- //# sourceMappingURL=index.b72cb2b3.js.map
@@ -1,2 +0,0 @@
1
- var c=Object.defineProperty;var f=(t,e,s)=>e in t?c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var n=(t,e,s)=>(f(t,typeof e!="symbol"?e+"":e,s),s);import{a as l}from"./asyncComputed.c73d027a.js";import"./jwt-decode.esm.3348bca5.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]="c795dfe1-17fe-45fa-8bc5-f443f33a2ed9",t._sentryDebugIdIdentifier="sentry-dbid-c795dfe1-17fe-45fa-8bc5-f443f33a2ed9")}catch{}})();class u{async check(){return(await fetch("/_editor/api/linters/check")).json()}async fix(e,s){const a=await fetch(`/_editor/api/linters/fix/${e}/${s}`,{method:"POST"});if(!a.ok)throw new Error("Failed to fix");return i.refetch(),a.json()}}const r=new u,i=l(async()=>(await r.check()).map(e=>new m(e)));class d{constructor(e,s){n(this,"name");n(this,"label");n(this,"ruleName");this.name=e.name,this.label=e.label,this.ruleName=s}async fix(){await r.fix(this.ruleName,this.name)}}class h{constructor(e,s){n(this,"label");n(this,"fixes");this.ruleName=s,this.label=e.label,this.fixes=e.fixes.map(a=>new d(a,s))}}class m{constructor(e){n(this,"name");n(this,"label");n(this,"type");n(this,"issues");this.name=e.name,this.label=e.label,this.type=e.type,this.issues=e.issues.map(s=>new h(s,this.name))}static get asyncComputed(){return i}static fromName(e){var a;const s=(a=i.result.value)==null?void 0:a.find(o=>o.name===e);if(!s)throw new Error(`Rule ${e} not found`);return s}}export{m as L};
2
- //# sourceMappingURL=linters.903f3240.js.map
@@ -1,2 +0,0 @@
1
- import{C as n,D as r,E as o,F as c,P as d,G as p,H as b,I as m,J as a,K as u,L as f,N as g,O as l}from"./jwt-decode.esm.3348bca5.js";import{a as y,b as i}from"./router.c7abfb0c.js";import{s as w}from"./workspaceStore.5d3f2aec.js";import{_ as h}from"./App.vue_vue_type_style_index_0_lang.6713c9c9.js";import"./userStore.34b8f1eb.js";import"./url.5d02a63f.js";import"./colorHelpers.5ee17d14.js";import"./PlayerConfigProvider.ad360920.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]="759a4547-d56b-42ac-b0a3-9bc2471845b9",t._sentryDebugIdIdentifier="sentry-dbid-759a4547-d56b-42ac-b0a3-9bc2471845b9")}catch{}})();class I{static init(){setInterval(()=>{fetch("/_healthcheck").catch(()=>{})},20*1e3)}}(async()=>{await w();const t=await y(),s=n(),e=r({render:()=>u(h)});o.init(),c(e,i,t),I.init(),e.use(i),e.use(s),e.use(d),e.mount("#app"),e.component("VSelect",p),e.component("Markdown",b),e.component("Message",m),a(e,f),a(e,g),a(e,l)})();
2
- //# sourceMappingURL=player.7112583e.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.3348bca5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="52c6dccf-23e6-4648-8640-fbfa7275fdd2",e._sentryDebugIdIdentifier="sentry-dbid-52c6dccf-23e6-4648-8640-fbfa7275fdd2")}catch{}})();const d=1e3,s=e=>{let n=null;return{startPolling:()=>{const t=async()=>{var o;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(o=e.interval)!=null?o:d)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{s as u};
2
- //# sourceMappingURL=polling.f547718c.js.map
@@ -1,2 +0,0 @@
1
- import{f as m,ee as h,eO as S,eP as I,d as _,o as c,a as l,u,h as $}from"./jwt-decode.esm.3348bca5.js";import{L as x}from"./LoadingOutlined.4c40acc4.js";import{k as d}from"./router.c6e27700.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]="63a384e8-f517-4f72-8560-e5727c24cebf",r._sentryDebugIdIdentifier="sentry-dbid-63a384e8-f517-4f72-8560-e5727c24cebf")}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 k=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){F(r,s,t[s])})}return r}function F(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 m(h,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 m(h,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 m(h,v({},n,{icon:k}),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.353e892d.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{k as a}from"./router.c6e27700.js";import{l as u}from"./fetch.cd29ef4c.js";import{E as l}from"./record.a108da5a.js";import"./jwt-decode.esm.3348bca5.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]="fc504bcb-e784-4d46-afc9-8093c061b030",r._sentryDebugIdIdentifier="sentry-dbid-fc504bcb-e784-4d46-afc9-8093c061b030")}catch{}})();class n{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 n(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 c=new f;class I{constructor(t){this.projectId=t}async list(t,e){return(await c.list(this.projectId,{limit:t,offset:e})).map(n.from)}async create(t){await c.create(this.projectId,t)}async update(t,e){await c.update(this.projectId,t,e)}async delete(t){await c.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(n.from)}}export{I as C,$ as E};
2
- //# sourceMappingURL=repository.677ca13c.js.map
@@ -1,2 +0,0 @@
1
- import{x as s,y as d,z as t,B as m}from"./jwt-decode.esm.3348bca5.js";import{a as u}from"./workspaceStore.5d3f2aec.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]="cc2ebf0c-5e18-4711-901f-7ce6c2e5f294",e._sentryDebugIdIdentifier="sentry-dbid-cc2ebf0c-5e18-4711-901f-7ce6c2e5f294")}catch{}})();const b=async()=>{try{const e=await fetch("/_editor/api/workspace/version");return e.ok&&(await e.json()).version||"e696dc149d322509359d1df7bb9a32529c881d0f"}catch(e){return console.error("Failed to fetch Abstra version:",e),"e696dc149d322509359d1df7bb9a32529c881d0f"}},p=[{path:"/oidc-login-callback",name:"oidcLoginCallback",component:()=>t(()=>import("./OidcLoginCallback.987cebba.js"),["assets/OidcLoginCallback.987cebba.js","assets/workspaceStore.5d3f2aec.js","assets/jwt-decode.esm.3348bca5.js","assets/jwt-decode.c5760184.css","assets/userStore.34b8f1eb.js","assets/url.5d02a63f.js","assets/colorHelpers.5ee17d14.js"]),meta:{allowUnauthenticated:!0}},{path:"/oidc-logout-callback",name:"oidcLogoutCallback",component:()=>t(()=>import("./OidcLogoutCallback.6c00d878.js"),["assets/OidcLogoutCallback.6c00d878.js","assets/workspaceStore.5d3f2aec.js","assets/jwt-decode.esm.3348bca5.js","assets/jwt-decode.c5760184.css","assets/userStore.34b8f1eb.js","assets/url.5d02a63f.js","assets/colorHelpers.5ee17d14.js"]),meta:{allowUnauthenticated:!0}},{path:"/login",name:"playerLogin",component:()=>t(()=>import("./Login.8bd6a07a.js"),["assets/Login.8bd6a07a.js","assets/Login.vue_vue_type_script_setup_true_lang.02acef81.js","assets/jwt-decode.esm.3348bca5.js","assets/jwt-decode.c5760184.css","assets/workspaceStore.5d3f2aec.js","assets/userStore.34b8f1eb.js","assets/url.5d02a63f.js","assets/colorHelpers.5ee17d14.js","assets/CircularLoading.d81a4cac.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.fc8ace6c.js","assets/Logo.b7d81119.css","assets/string.998fa621.js","assets/index.bec0ecd0.js","assets/Login.ac75228f.css","assets/Login.3b76812d.css"]),meta:{allowUnauthenticated:!0}},{path:"/",name:"main",component:()=>t(()=>import("./Main.e6b2d2d5.js"),["assets/Main.e6b2d2d5.js","assets/PlayerNavbar.97e8dee9.js","assets/userStore.34b8f1eb.js","assets/jwt-decode.esm.3348bca5.js","assets/jwt-decode.c5760184.css","assets/workspaceStore.5d3f2aec.js","assets/url.5d02a63f.js","assets/colorHelpers.5ee17d14.js","assets/metadata.9f7495db.js","assets/PhWebhooksLogo.vue.58a98824.js","assets/LoadingOutlined.4c40acc4.js","assets/PhSignOut.vue.8d8dfd96.js","assets/index.b91afb03.js","assets/PlayerNavbar.4dc29a45.css","assets/Main.201c14c9.css"]),redirect:{name:"main"},children:[{path:"",name:"playerHome",component:()=>t(()=>import("./Home.191a6dce.js"),["assets/Home.191a6dce.js","assets/metadata.9f7495db.js","assets/jwt-decode.esm.3348bca5.js","assets/jwt-decode.c5760184.css","assets/PhWebhooksLogo.vue.58a98824.js","assets/Watermark.c0756030.js","assets/workspaceStore.5d3f2aec.js","assets/userStore.34b8f1eb.js","assets/url.5d02a63f.js","assets/colorHelpers.5ee17d14.js","assets/constants.be8ad36c.js","assets/Watermark.b0916e90.css","assets/PhArrowSquareOut.vue.1cebb708.js","assets/index.b72cb2b3.js","assets/Card.4a8a30bb.js","assets/LoadingOutlined.4c40acc4.js","assets/Home.e8bf9440.css"]),meta:{title:"Home"}},{path:"_player/threads",redirect:{name:"playerThreads"}},{path:"error/:status",name:"error",component:()=>t(()=>import("./Error.98b8036c.js"),["assets/Error.98b8036c.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.1035457c.js","assets/Logo.fc8ace6c.js","assets/jwt-decode.esm.3348bca5.js","assets/jwt-decode.c5760184.css","assets/Logo.b7d81119.css","assets/constants.be8ad36c.js","assets/workspaceStore.5d3f2aec.js","assets/userStore.34b8f1eb.js","assets/url.5d02a63f.js","assets/colorHelpers.5ee17d14.js","assets/Card.4a8a30bb.js","assets/Error.ef2624eb.css"]),meta:{allowUnauthenticated:!0}},{path:":path(.*)*",name:"form",component:()=>t(()=>import("./Form.5d562f15.js"),["assets/Form.5d562f15.js","assets/userStore.34b8f1eb.js","assets/jwt-decode.esm.3348bca5.js","assets/jwt-decode.c5760184.css","assets/FormRunner.2b1b3c45.js","assets/Login.vue_vue_type_script_setup_true_lang.02acef81.js","assets/workspaceStore.5d3f2aec.js","assets/url.5d02a63f.js","assets/colorHelpers.5ee17d14.js","assets/CircularLoading.d81a4cac.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.fc8ace6c.js","assets/Logo.b7d81119.css","assets/string.998fa621.js","assets/index.bec0ecd0.js","assets/Login.ac75228f.css","assets/Steps.82252fc0.js","assets/index.82842143.js","assets/Steps.2880920a.css","assets/Watermark.c0756030.js","assets/constants.be8ad36c.js","assets/Watermark.b0916e90.css","assets/FormRunner.1e6e7d2a.css","assets/redirect.eedb2bf6.js","assets/asyncComputed.c73d027a.js","assets/uuid.6980e2bb.js","assets/Form.7493bc0a.css"]),meta:{hideLogin:!0}}]}],o=s({history:d("/"),routes:p,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 u(a.path),{redirect:c,...i}=a.query;switch(n.status){case"ALLOWED":break;case"UNAUTHORIZED":await e.push({name:"playerLogin",query:{...i,redirect:c||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,p as r};
2
- //# sourceMappingURL=router.c7abfb0c.js.map
@@ -1,4 +0,0 @@
1
- var V=Object.defineProperty;var z=(o,t,e)=>t in o?V(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var f=(o,t,e)=>(z(o,typeof t!="symbol"?t+"":t,e),e);import{r as O,c as G,en as K,al as Q,i as u,w as W}from"./jwt-decode.esm.3348bca5.js";import"./contracts.generated.f01de5a3.js";import{A as v}from"./record.a108da5a.js";import"./linters.903f3240.js";import{u as X}from"./polling.f547718c.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]="3c445f8a-fd68-414e-8394-d57bad734cce",o._sentryDebugIdIdentifier="sentry-dbid-3c445f8a-fd68-414e-8394-d57bad734cce")}catch{}})();class Y{async list(){return await(await fetch("/_editor/api/forms")).json()}async create(t,e,r,i){return await(await fetch("/_editor/api/forms",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:r,id:i})})).json()}async get(t){try{return await(await fetch(`/_editor/api/forms/${t}`)).json()}catch{return null}}async update(t,e){return await(await fetch(`/_editor/api/forms/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const r=e?"?remove_file=true":"",i=`/_editor/api/forms/${t}`+r;await fetch(i,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async duplicate(t){return await(await fetch(`/_editor/api/forms/${t}/duplicate`,{method:"POST"})).json()}}const m=new Y;class w{constructor(t){f(this,"record");this.record=v.create(m,t)}static async list(){return(await m.list()).map(e=>new w(e))}static async create(t,e,r,i){const a=await m.create(t,e,r,i);return new w(a)}static async get(t){const e=await m.get(t);return e?new w(e):null}get id(){return this.record.get("id")}get type(){return"form"}get allowRestart(){return this.record.get("allow_restart")}set allowRestart(t){this.record.set("allow_restart",t)}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}get autoStart(){return this.record.get("auto_start")}set autoStart(t){this.record.set("auto_start",t)}get endMessage(){return this.record.get("end_message")}set endMessage(t){this.record.set("end_message",t)}get errorMessage(){return this.record.get("error_message")}set errorMessage(t){this.record.set("error_message",t)}get path(){return this.record.get("path")}set path(t){this.record.set("path",t)}get restartButtonText(){return this.record.get("restart_button_text")}set restartButtonText(t){this.record.set("restart_button_text",t)}get startButtonText(){return this.record.get("start_button_text")}set startButtonText(t){this.record.set("start_button_text",t)}get startMessage(){return this.record.get("start_message")}set startMessage(t){this.record.set("start_message",t)}get timeoutMessage(){return this.record.get("timeout_message")}set timeoutMessage(t){this.record.set("timeout_message",t)}get notificationTrigger(){return new Proxy(this.record.get("notification_trigger"),{set:(t,e,r)=>(this.record.set("notification_trigger",{...t,[e]:r}),!0)})}set notificationTrigger(t){this.record.set("notification_trigger",t)}get(t){return this.record.get(t)}set(t,e){this.record.set(t,e)}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get welcomeTitle(){return this.record.get("welcome_title")}set welcomeTitle(t){this.record.set("welcome_title",t)}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}hasChangesDeep(t){return this.record.hasChangesDeep(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}async delete(t){await m.delete(this.id,t)}async duplicate(){const t=await m.duplicate(this.id);return new w(t)}makeRunnerData(t){return{...t.makeRunnerData(),id:this.id,isLocal:!0,path:this.path,title:this.title,isInitial:this.isInitial,runtimeType:"form",autoStart:this.autoStart,endMessage:this.endMessage,errorMessage:this.errorMessage,allowRestart:this.allowRestart,welcomeTitle:this.welcomeTitle,startMessage:this.startMessage,timeoutMessage:this.timeoutMessage,startButtonText:this.startButtonText,restartButtonText:this.restartButtonText}}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}get isInitial(){return this.record.get("is_initial")}static from(t){return new w(t)}}class Z{async list(){return await(await fetch("/_editor/api/hooks")).json()}async create(t,e,r,i){return await(await fetch("/_editor/api/hooks",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:r,id:i})})).json()}async get(t){try{return await(await fetch(`/_editor/api/hooks/${t}`)).json()}catch{return null}}async update(t,e){return await(await fetch(`/_editor/api/hooks/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const r=e?"?remove_file=true":"",i=`/_editor/api/hooks/${t}`+r;await fetch(i,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async run(t,e){const r=new URLSearchParams(e.query),i=await fetch(`/_editor/api/hooks/${t}/run?${r.toString()}`,{method:e.method,headers:{"Content-Type":"application/json",...e.headers},body:e.method==="GET"?void 0:e.body}),{status:a,headers:d,body:h}=await i.json();return{status:a,headers:d,body:h}}}const T=new Z;class b{constructor(t){f(this,"record");this.record=v.create(T,t)}static async list(){return(await T.list()).map(e=>new b(e))}static async create(t,e,r,i){const a=await T.create(t,e,r,i);return new b(a)}static async get(t){const e=await T.get(t);return e?new b(e):null}async delete(t){await T.delete(this.id,t)}async duplicate(){return this}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}get id(){return this.record.get("id")}get type(){return"hook"}get path(){return this.record.get("path")}set path(t){this.record.set("path",t)}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}async run(t){return T.run(this.id,t)}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}get isInitial(){return this.record.get("is_initial")}static from(t){return new b(t)}}class q{async list(){return await(await fetch("/_editor/api/jobs")).json()}async create(t,e,r,i){return await(await fetch("/_editor/api/jobs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:r,id:i})})).json()}async get(t){try{return await(await fetch(`/_editor/api/jobs/${t}`)).json()}catch{return null}}async update(t,e){return await(await fetch(`/_editor/api/jobs/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const r=e?"?remove_file=true":"",i=`/_editor/api/jobs/${t}`+r;await fetch(i,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async run(t){return(await fetch(`/_editor/api/jobs/${t}/run`,{method:"POST",headers:{"Content-Type":"application/json"}})).ok}}const S=new q;class I{constructor(t){f(this,"record");f(this,"isInitial",!0);this.record=v.create(S,t)}static async list(){return(await S.list()).map(e=>new I(e))}static async create(t,e,r,i){const a=await S.create(t,e,r,i);return new I(a)}static async get(t){const e=await S.get(t);return e?new I(e):null}async delete(t){await S.delete(this.id,t)}async duplicate(){return this}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}get schedule(){return this.record.get("schedule")}set schedule(t){this.record.set("schedule",t)}get type(){return"job"}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}get id(){return this.record.get("id")}async run(){return S.run(this.id)}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}static from(t){return new I(t)}hasChangesDeep(t){return this.record.hasChangesDeep(t)}}class F{async list(){return await(await fetch("/_editor/api/scripts")).json()}async create(t,e,r,i){return await(await fetch("/_editor/api/scripts",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({title:t,file:e,position:r,id:i})})).json()}async get(t){try{return await(await fetch(`/_editor/api/scripts/${t}`)).json()}catch{return null}}async update(t,e){return await(await fetch(`/_editor/api/scripts/${t}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).json()}async delete(t,e){const r=e?"?remove_file=true":"",i=`/_editor/api/scripts/${t}`+r;await fetch(i,{method:"DELETE",headers:{"Content-Type":"application/json"}})}async run(t,e){return(await fetch(`/_editor/api/scripts/${t}/run`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({task_id:e})})).ok}}const _=new F;class C{constructor(t){f(this,"record");this.record=v.create(_,t)}static async list(){return(await _.list()).map(e=>new C(e))}static async create(t,e,r,i){const a=await _.create(t,e,r,i);return new C(a)}static async get(t){const e=await _.get(t);return e?new C(e):null}async delete(t){await _.delete(this.id,t)}async duplicate(){return this}async save(t){const e=this.codeContent;await this.record.save(t),this.record.updateInitialState("code_content",e)}onUpdate(t){this.record.pubsub.subscribe("update",t)}hasChanges(t){return this.record.hasChanges(t)}getInitialState(t){return this.record.getInitialState(t)}updateInitialState(t,e){this.record.updateInitialState(t,e)}get id(){return this.record.get("id")}get codeContent(){return this.record.get("code_content")}set codeContent(t){this.record.set("code_content",t)}get title(){return this.record.get("title")}set title(t){this.record.set("title",t)}get type(){return"tasklet"}get file(){return this.record.get("file")}set file(t){this.record.set("file",t)}get path(){return this.record.get("path")}set path(t){this.record.set("path",t)}async run(t){return _.run(this.id,t)}get position(){const[t,e]=this.record.get("workflow_position");return{x:t,y:e}}get isInitial(){return!1}static from(t){return new C(t)}}function H({api:o,fetchTasks:t}){const e=O({state:"idle"}),r=()=>{e.value={state:"idle"}},i=()=>{e.value={state:"creating",name:"My task",payloadCode:`{
2
- "key": "value"
3
- }`}},a=async h=>{const g=e.value;if(g.state!=="creating")throw new Error("Payload is required to create a task");if(!d.value)return;const c=JSON.parse(g.payloadCode),p=await o.createTask(g.name,h,c);return await t(),r(),p},d=G(()=>{const h=e.value;if(h.state!=="creating")return!1;try{const g=JSON.parse(h.payloadCode);return K.exports.isObject(g)}catch{return!1}});return{createTask:a,creatingTaskState:e,cancelCreatingTask:r,startCreatingTask:i,isPayloadValid:d}}const P=["pink","orange","green","blue","purple","red","cyan","magenta","volcano","gold"],ot=({api:o,poll:t,stageId:e,status:r,stages:i})=>{const a=Q({tasks:[],sentTasks:[],colorMap:new Map,pagination:{currentIndex:0,pageSize:10,totalCount:0},filters:{stage:e,status:r,dateRange:void 0},filterOptions:{stages:[],statuses:[{label:u.translate("i18n_tasksview_status_pending"),value:"pending"},{label:u.translate("i18n_tasksview_status_running"),value:"started"},{label:u.translate("i18n_tasksview_status_completed"),value:"completed"}]}}),d=[{name:"setToPending",label:u.translate("i18n_tasksview_action_set_to_pending"),handler:()=>{a.tasks.filter(s=>s.checked).map(s=>s.id).forEach(s=>x(s))}},{name:"setToCompleted",label:u.translate("i18n_tasksview_action_set_to_completed"),handler:()=>{a.tasks.filter(s=>s.checked).map(s=>s.id).forEach(s=>E(s))}},{name:"duplicate",label:u.translate("i18n_tasksview_action_duplicate"),handler:()=>{a.tasks.filter(s=>s.checked).forEach(async s=>{await o.createTask(s.type,s.targetStageId,s.payload),c()})}}],h=O(["pending"]),g=n=>{const s=a.tasks.findIndex(y=>y.id===n.id);s!==-1?a.tasks[s]=n:a.tasks.unshift(n)},c=async()=>{const n=e?await o.getStageTasks(e):await o.getAllTasks(a.pagination,a.filters);a.tasks=n.tasks.map(s=>({key:s.id,id:s.id,type:s.type,status:s.status,targetStageId:s.targetStageId,targetStageTitle:s.targetStageTitle,targetStageType:s.targetStageType,sourceStageTitle:s.sourceStageTitle,sourceStageType:s.sourceStageType,created:{at:new Date(s.created.at).toString(),byExecutionId:s.created.byExecutionId,byStageId:s.created.byStageId},locked:s.locked?{at:new Date(s.locked.at).toString(),byExecutionId:s.locked.byExecutionId,byStageId:s.locked.byStageId}:null,completed:s.completed?{at:new Date(s.completed.at).toString(),byExecutionId:s.completed.byExecutionId,byStageId:s.completed.byStageId}:null,payload:s.payload,checked:!1})),a.pagination.totalCount=n.totalCount},p=async()=>{if(!e)return[];const n=await o.getSentStageTasks(e);a.sentTasks=n.tasks.map(s=>({key:s.id,id:s.id,type:s.type,status:s.status,targetStageId:s.targetStageId,targetStageTitle:s.targetStageTitle,targetStageType:s.targetStageType,sourceStageTitle:s.sourceStageTitle,sourceStageType:s.sourceStageType,created:{at:new Date(s.created.at).toString(),byExecutionId:s.created.byExecutionId,byStageId:s.created.byStageId},locked:s.locked?{at:new Date(s.locked.at).toString(),byExecutionId:s.locked.byExecutionId,byStageId:s.locked.byStageId}:null,completed:s.completed?{at:new Date(s.completed.at).toString(),byExecutionId:s.completed.byExecutionId,byStageId:s.completed.byStageId}:null,payload:s.payload}))},j=()=>{var y;let n=0;a.tasks.concat((y=a.sentTasks)!=null?y:[]).forEach(k=>{a.colorMap.has(k.type)||(a.colorMap.set(k.type,P[n]),n=(n+1)%P.length)})};W(a.filters,async()=>{await Promise.all([c(),p()]),j()});const D=async()=>{await Promise.all([c(),p()]),j()},{startPolling:$,endPolling:A}=X({task:D,interval:15e3}),N=async()=>{if(await Promise.all([c(),p()]),j(),i===null){const n=Promise.all([w.list(),b.list(),I.list(),C.list()]).then(([s,y,k,l])=>[...s,...y,...k,...l]);a.filterOptions.stages=(await n).map(s=>({label:s.title,value:s.id}))}else a.filterOptions.stages=i.map(n=>({label:n.stageTitle,value:n.id}));t&&$()},J=()=>{t&&A()},x=async n=>{await o.updateTaskStatus(n,"pending"),c()},E=async n=>{await o.updateTaskStatus(n,"completed"),c()},U=n=>{a.tasks=a.tasks.map(s=>(s.id===n&&(s.checked=!s.checked),s))},M=()=>{const n=[],s=a.tasks.filter(l=>l.checked);return s.length===0?[]:(n.push("duplicate"),s.every(l=>l.status==="pending")&&n.push("setToCompleted"),s.every(l=>l.status==="completed")&&n.push("setToPending"),d.filter(l=>n.includes(l.name)))},R=async()=>{await o.clearAllTasks(),c(),p()},B=()=>[{title:u.translate("i18n_tasksview_column_date"),key:"timeInfo",align:"left",width:"25%"},{title:u.translate("i18n_tasksview_column_task"),key:"stageInfo",align:"left",width:"30%"},{title:u.translate("i18n_tasksview_column_payload"),key:"payloadInfo",align:"left",width:"45%"}],L=H({api:o,fetchTasks:c});return{setup:N,tearDown:J,state:a,getColumns:B,collapseValue:h,setToPending:x,setToCompleted:E,fetchTasks:c,fetchSentTasks:p,checkTask:U,getPossibleActions:M,clearAllTasks:R,insertOrUpdate:g,...L}};export{w as F,b as H,I as J,C as S,ot as T};
4
- //# sourceMappingURL=tasksController.5db769f7.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.3348bca5.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]="43cfae53-ea35-488d-b301-bb0de7e87556",e._sentryDebugIdIdentifier="sentry-dbid-43cfae53-ea35-488d-b301-bb0de7e87556")}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.5d02a63f.js.map
@@ -1,2 +0,0 @@
1
- import"./router.c6e27700.js";import{r as u}from"./jwt-decode.esm.3348bca5.js";import{T as h}from"./tables.9701f90c.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]="a648471a-7063-4198-ab0d-96e2375173e9",e._sentryDebugIdIdentifier="sentry-dbid-a648471a-7063-4198-ab0d-96e2375173e9")}catch{}})();const s=new Map,n=new Set,y=e=>{const a=u([]),t=u(!1),r=u(null),o=async(i=!1)=>{if(!i&&s.has(e))return a.value=s.get(e),a.value;if(n.has(e)){for(;n.has(e);)await new Promise(l=>setTimeout(l,100));return a.value=s.get(e)||[],a.value}try{t.value=!0,n.add(e),r.value=null;const l=await h.list(e);return a.value=l,s.set(e,l),l}catch(l){throw r.value=l,console.error("Error fetching tables:",l),l}finally{t.value=!1,n.delete(e)}},f=i=>a.value.find(l=>l.id===i)||null,b=()=>{s.delete(e)},d=()=>{s.clear()};return!s.has(e)&&!n.has(e)?o():s.has(e)&&(a.value=s.get(e)),{tables:a,loading:t,error:r,fetchTables:o,getTableById:f,invalidateCache:b,invalidateAllCache:d}};export{y as u};
2
- //# sourceMappingURL=useTables.4d5edd80.js.map
@@ -1,2 +0,0 @@
1
- import{v as f,a0 as v,Z as w,r as b,c as r,a1 as m}from"./jwt-decode.esm.3348bca5.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]="8faafd27-dfdd-46c5-8688-ce47eb29df4e",t._sentryDebugIdIdentifier="sentry-dbid-8faafd27-dfdd-46c5-8688-ce47eb29df4e")}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 v(w.string(),"auth:jwt"),e=b(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}`}:{}),d=r(()=>e.value?["default",`base64url.bearer.authorization.${e.value}`]:[]),n=r(()=>e.value?y(e.value):null),c=r(()=>{var a;return(a=n.value)==null?void 0:a.email}),i=()=>n.value?n.value.expiresInSeconds-Date.now()>p:!1;return u(),{jwt:e,email:c,saveJWT:o,removeJWT:s,isJWTValid:i,authHeaders:l,wsAuthHeaders:d}});export{g as u};
2
- //# sourceMappingURL=userStore.34b8f1eb.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.3348bca5.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]="b6b8a73a-57db-47b9-9eed-fb91d8a40f14",x._sentryDebugIdIdentifier="sentry-dbid-b6b8a73a-57db-47b9-9eed-fb91d8a40f14")}catch{}})();const t=()=>"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{t as u};
2
- //# sourceMappingURL=uuid.6980e2bb.js.map