abstra 3.24.5__py3-none-any.whl → 3.24.6__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.

Potentially problematic release.


This version of abstra might be problematic. Click here for more details.

Files changed (213) hide show
  1. {abstra-3.24.5.dist-info → abstra-3.24.6.dist-info}/METADATA +1 -1
  2. {abstra-3.24.5.dist-info → abstra-3.24.6.dist-info}/RECORD +170 -170
  3. abstra_statics/dist/assets/{AbstraButton.vue_vue_type_script_setup_true_lang.6c541630.js → AbstraButton.vue_vue_type_script_setup_true_lang.9c0844e1.js} +2 -2
  4. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.f0472c1e.js +2 -0
  5. abstra_statics/dist/assets/ApiKeys.e05d1ca1.js +2 -0
  6. abstra_statics/dist/assets/App.89fb6f4a.js +2 -0
  7. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.7b340da5.js +2 -0
  8. abstra_statics/dist/assets/{BaseLayout.2a82be24.js → BaseLayout.fed5adb7.js} +2 -2
  9. abstra_statics/dist/assets/Billing.f1e5c3f8.js +2 -0
  10. abstra_statics/dist/assets/{Breadcrumb.c8da3019.js → Breadcrumb.ae24888f.js} +2 -2
  11. abstra_statics/dist/assets/{Builds.366d6ceb.js → Builds.c30d0eb0.js} +2 -2
  12. abstra_statics/dist/assets/{Card.0d56c597.js → Card.e1ec3051.js} +2 -2
  13. abstra_statics/dist/assets/{CircularLoading.daf759d9.js → CircularLoading.26cebe64.js} +2 -2
  14. abstra_statics/dist/assets/CloseCircleOutlined.fdea1f27.js +2 -0
  15. abstra_statics/dist/assets/{ConnectorsView.904ff1c0.js → ConnectorsView.6eae8e1e.js} +2 -2
  16. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.cbe8dd45.js +2 -0
  17. abstra_statics/dist/assets/ContentLayout.b1b0e8fb.js +2 -0
  18. abstra_statics/dist/assets/CrudView.ca91f805.js +2 -0
  19. abstra_statics/dist/assets/{DocsButton.vue_vue_type_script_setup_true_lang.a2b3eeb7.js → DocsButton.vue_vue_type_script_setup_true_lang.c50f6a0a.js} +2 -2
  20. abstra_statics/dist/assets/{EditorLogin.cac0ed52.js → EditorLogin.19fe1dcc.js} +2 -2
  21. abstra_statics/dist/assets/EditorsView.3f4d1241.js +2 -0
  22. abstra_statics/dist/assets/EnvVars.84ca50aa.js +2 -0
  23. abstra_statics/dist/assets/{Error.c7f25d1b.js → Error.f38d90e4.js} +2 -2
  24. abstra_statics/dist/assets/ExclamationCircleOutlined.380af12e.js +2 -0
  25. abstra_statics/dist/assets/{ExecutionContext.91c0e0db.js → ExecutionContext.69bc5c09.js} +2 -2
  26. abstra_statics/dist/assets/{ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.31b499a5.js → ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.a2a7ab75.js} +2 -2
  27. abstra_statics/dist/assets/{Files.4ec90b9a.js → Files.81259c6b.js} +2 -2
  28. abstra_statics/dist/assets/{Form.5a5cac5f.js → Form.723342d2.js} +2 -2
  29. abstra_statics/dist/assets/{FormRunner.4a5270dc.js → FormRunner.d1186e5c.js} +2 -2
  30. abstra_statics/dist/assets/Home.889db6be.js +2 -0
  31. abstra_statics/dist/assets/{Home.1271fb51.js → Home.bad5d80b.js} +2 -2
  32. abstra_statics/dist/assets/LoadingContainer.395f4c42.js +2 -0
  33. abstra_statics/dist/assets/LoadingOutlined.6f7bdc44.js +2 -0
  34. abstra_statics/dist/assets/Login.90ebb0f6.js +2 -0
  35. abstra_statics/dist/assets/{Login.180d7b1c.js → Login.a40bc609.js} +2 -2
  36. abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.ab4402e7.js → Login.vue_vue_type_script_setup_true_lang.6f146a14.js} +2 -2
  37. abstra_statics/dist/assets/Logo.c75e45a8.js +2 -0
  38. abstra_statics/dist/assets/{Logs.03931b09.js → Logs.859d8699.js} +2 -2
  39. abstra_statics/dist/assets/Main.6fd4bb0a.js +2 -0
  40. abstra_statics/dist/assets/{MockForm.1fa371d2.js → MockForm.958e1a8b.js} +2 -2
  41. abstra_statics/dist/assets/{Navbar.2d7490c1.js → Navbar.299ef0ee.js} +2 -2
  42. abstra_statics/dist/assets/{NewEditor.dc0e868f.js → NewEditor.1d3b7038.js} +5 -5
  43. abstra_statics/dist/assets/{NewEditor.d2ee5048.css → NewEditor.46862924.css} +1 -1
  44. abstra_statics/dist/assets/OidcLoginCallback.17eeec42.js +2 -0
  45. abstra_statics/dist/assets/OidcLogoutCallback.b4d1c600.js +2 -0
  46. abstra_statics/dist/assets/{OmniChat.be2d3d92.js → OmniChat.fb0615b3.js} +2 -2
  47. abstra_statics/dist/assets/{OnboardingView.4957b5f8.js → OnboardingView.e2af008f.js} +2 -2
  48. abstra_statics/dist/assets/{Organization.27e529a7.js → Organization.1c340a2f.js} +2 -2
  49. abstra_statics/dist/assets/{Organizations.88897e55.js → Organizations.96e88f77.js} +2 -2
  50. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.9ad742bf.js → PhArrowCounterClockwise.vue.dbc4fdc7.js} +2 -2
  51. abstra_statics/dist/assets/{PhArrowSquareOut.vue.2a07a9b3.js → PhArrowSquareOut.vue.5a8d2f86.js} +2 -2
  52. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.b4dc22ed.js → PhClockCounterClockwise.vue.15ff64b9.js} +2 -2
  53. abstra_statics/dist/assets/{PhCopy.vue.17ec4184.js → PhCopy.vue.3f2b76a2.js} +2 -2
  54. abstra_statics/dist/assets/PhCopySimple.vue.7cacc0f7.js +2 -0
  55. abstra_statics/dist/assets/{PhCube.vue.027246a6.js → PhCube.vue.6a150c53.js} +2 -2
  56. abstra_statics/dist/assets/{PhDatabase.vue.a188015f.js → PhDatabase.vue.425a706f.js} +2 -2
  57. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.e9c6f787.js → PhDotsThreeVertical.vue.e305b3a2.js} +2 -2
  58. abstra_statics/dist/assets/{PhDownloadSimple.vue.9ba8ac6f.js → PhDownloadSimple.vue.2759a067.js} +2 -2
  59. abstra_statics/dist/assets/{PhFileArrowUp.vue.cd3d3139.js → PhFileArrowUp.vue.7e13d264.js} +2 -2
  60. abstra_statics/dist/assets/{PhFilePlus.vue.2464bbea.js → PhFilePlus.vue.537e8e0d.js} +2 -2
  61. abstra_statics/dist/assets/{PhFolderPlus.vue.696aab26.js → PhFolderPlus.vue.53737c9c.js} +2 -2
  62. abstra_statics/dist/assets/{PhGear.vue.c247e86d.js → PhGear.vue.3a3d45d2.js} +2 -2
  63. abstra_statics/dist/assets/{PhKey.vue.1a84e5d0.js → PhKey.vue.07ccc3ef.js} +2 -2
  64. abstra_statics/dist/assets/{PhPencil.vue.3586175f.js → PhPencil.vue.e0099a7f.js} +2 -2
  65. abstra_statics/dist/assets/{PhPencilSimple.vue.e88b8fd0.js → PhPencilSimple.vue.7ffd0edb.js} +2 -2
  66. abstra_statics/dist/assets/{PhRocket.vue.8b8080c3.js → PhRocket.vue.a2ca27d6.js} +2 -2
  67. abstra_statics/dist/assets/{PhSignOut.vue.9eb21b1c.js → PhSignOut.vue.4f6997f5.js} +2 -2
  68. abstra_statics/dist/assets/{PhSparkle.vue.70bce97e.js → PhSparkle.vue.e6119d8d.js} +2 -2
  69. abstra_statics/dist/assets/{PhTranslate.vue.e579c286.js → PhTranslate.vue.d4756feb.js} +2 -2
  70. abstra_statics/dist/assets/{PhUsersThree.vue.65e9b349.js → PhUsersThree.vue.50cc946e.js} +2 -2
  71. abstra_statics/dist/assets/{PhWarningCircle.vue.3134c1fb.js → PhWarningCircle.vue.03a6e5c8.js} +2 -2
  72. abstra_statics/dist/assets/{PhWebhooksLogo.vue.e7321653.js → PhWebhooksLogo.vue.13c489ce.js} +2 -2
  73. abstra_statics/dist/assets/{PlayerConfigProvider.f0eaf9f3.js → PlayerConfigProvider.d0d5439f.js} +2 -2
  74. abstra_statics/dist/assets/{PlayerNavbar.7c0453f2.js → PlayerNavbar.fd53d29e.js} +2 -2
  75. abstra_statics/dist/assets/Project.7c3bdd8a.js +2 -0
  76. abstra_statics/dist/assets/ProjectLogin.9cec413b.js +2 -0
  77. abstra_statics/dist/assets/{ProjectSettings.f4e91391.js → ProjectSettings.995a749e.js} +2 -2
  78. abstra_statics/dist/assets/{ProjectsView.c4e3053a.js → ProjectsView.4d026e78.js} +2 -2
  79. abstra_statics/dist/assets/{SaveButton.986667ef.js → SaveButton.813aaf8d.js} +2 -2
  80. abstra_statics/dist/assets/{ScrollArea.vue_vue_type_script_setup_true_lang.077a2088.js → ScrollArea.vue_vue_type_script_setup_true_lang.e8269806.js} +2 -2
  81. abstra_statics/dist/assets/{Sidebar.b1e6ca23.js → Sidebar.08e9b51a.js} +2 -2
  82. abstra_statics/dist/assets/{Sql.24116fa0.js → Sql.18a715c6.js} +4 -4
  83. abstra_statics/dist/assets/Steps.7b2e867b.js +2 -0
  84. abstra_statics/dist/assets/{TableCard.981d88c4.js → TableCard.2543b684.js} +2 -2
  85. abstra_statics/dist/assets/{TableEditor.a74fc9f4.js → TableEditor.ee57cc7f.js} +2 -2
  86. abstra_statics/dist/assets/{Tables.870957e7.js → Tables.a358bf91.js} +2 -2
  87. abstra_statics/dist/assets/{TablesDiagram.6a217e62.js → TablesDiagram.991fc1b3.js} +2 -2
  88. abstra_statics/dist/assets/{TablesTabs.vue_vue_type_script_setup_true_lang.983777c7.js → TablesTabs.vue_vue_type_script_setup_true_lang.744da918.js} +2 -2
  89. abstra_statics/dist/assets/{Tasks.8fbc0cc0.js → Tasks.932349fa.js} +2 -2
  90. abstra_statics/dist/assets/{UploadOutlined.e2352877.js → UploadOutlined.113850a1.js} +2 -2
  91. abstra_statics/dist/assets/{View.fd9cb47e.js → View.67504c02.js} +2 -2
  92. abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.69e51c6f.js → View.vue_vue_type_script_setup_true_lang.f7c2ef15.js} +2 -2
  93. abstra_statics/dist/assets/{Watermark.b1fed4a7.js → Watermark.6e692419.js} +2 -2
  94. abstra_statics/dist/assets/{WebEditor.75ce5bd6.js → WebEditor.7a1fcb94.js} +2 -2
  95. abstra_statics/dist/assets/{WidgetPreview.5b0abaab.js → WidgetPreview.0b7ab78b.js} +2 -2
  96. abstra_statics/dist/assets/{WorkflowViewer.6f38d23f.js → WorkflowViewer.95d64da4.js} +2 -2
  97. abstra_statics/dist/assets/{ant-design.5bd7ec4d.js → ant-design.a8b36151.js} +2 -2
  98. abstra_statics/dist/assets/apiKey.975dfeae.js +2 -0
  99. abstra_statics/dist/assets/asyncComputed.f9fa4c71.js +2 -0
  100. abstra_statics/dist/assets/{build.db7d8668.js → build.c626214a.js} +2 -2
  101. abstra_statics/dist/assets/colorHelpers.b41220cb.js +2 -0
  102. abstra_statics/dist/assets/{console.f402574a.js → console.1e432ec7.js} +2 -2
  103. abstra_statics/dist/assets/constants.b5d83622.js +2 -0
  104. abstra_statics/dist/assets/{contracts.generated.3f22c968.js → contracts.generated.c5043d35.js} +2 -2
  105. abstra_statics/dist/assets/{cssMode.d0c8e26e.js → cssMode.75e3c56c.js} +2 -2
  106. abstra_statics/dist/assets/{datetime.d5fe62ba.js → datetime.cf8e211d.js} +2 -2
  107. abstra_statics/dist/assets/dayjs.68053597.js +2 -0
  108. abstra_statics/dist/assets/editor.a00709d8.js +2 -0
  109. abstra_statics/dist/assets/editor.main.80ee55a4.js +2 -0
  110. abstra_statics/dist/assets/fetch.a8fb4ba0.js +2 -0
  111. abstra_statics/dist/assets/files.e8f04848.js +2 -0
  112. abstra_statics/dist/assets/{folder.5b0f3179.js → folder.bd31d9bc.js} +2 -2
  113. abstra_statics/dist/assets/{freemarker2.03629ab6.js → freemarker2.400d456f.js} +2 -2
  114. abstra_statics/dist/assets/{handlebars.1163d9ba.js → handlebars.d8549cd4.js} +2 -2
  115. abstra_statics/dist/assets/{html.ef74c7bd.js → html.dcc0e819.js} +2 -2
  116. abstra_statics/dist/assets/{htmlMode.8829acd3.js → htmlMode.b93d1fe9.js} +2 -2
  117. abstra_statics/dist/assets/{index.8995a499.js → index.2400150a.js} +2 -2
  118. abstra_statics/dist/assets/{index.07e9309d.js → index.36a090cf.js} +2 -2
  119. abstra_statics/dist/assets/{index.63e70668.js → index.5ecb9a37.js} +2 -2
  120. abstra_statics/dist/assets/{index.2aa34d4f.js → index.99fb59f0.js} +5 -5
  121. abstra_statics/dist/assets/{index.76cbd30f.js → index.a4dc5332.js} +2 -2
  122. abstra_statics/dist/assets/{index.5eeedb69.js → index.ab7dc629.js} +2 -2
  123. abstra_statics/dist/assets/index.c59ca45b.js +2 -0
  124. abstra_statics/dist/assets/{index.d408b03e.js → index.ddb89818.js} +2 -2
  125. abstra_statics/dist/assets/{index.75a16b09.js → index.dfc79bf7.js} +2 -2
  126. abstra_statics/dist/assets/{javascript.0dfeb7bb.js → javascript.6a1a2db7.js} +3 -3
  127. abstra_statics/dist/assets/{jsonMode.179b6695.js → jsonMode.0650153f.js} +2 -2
  128. abstra_statics/dist/assets/{jwt-decode.esm.47f59010.js → jwt-decode.esm.32f71954.js} +8 -8
  129. abstra_statics/dist/assets/linters.3b9f6de6.js +2 -0
  130. abstra_statics/dist/assets/{liquid.0627704b.js → liquid.612ef64b.js} +3 -3
  131. abstra_statics/dist/assets/{member.689a99e8.js → member.91dd2bc0.js} +2 -2
  132. abstra_statics/dist/assets/{metadata.69e468d6.js → metadata.c5f500d1.js} +2 -2
  133. abstra_statics/dist/assets/{omniChatStore.07f62bd5.js → omniChatStore.10d769d2.js} +4 -4
  134. abstra_statics/dist/assets/{organization.298987a0.js → organization.2c5a9815.js} +2 -2
  135. abstra_statics/dist/assets/{os.faa277a9.js → os.d718583c.js} +2 -2
  136. abstra_statics/dist/assets/player.66868a86.js +2 -0
  137. abstra_statics/dist/assets/{plotly.min.16914e67.js → plotly.min.cdd940d3.js} +2 -2
  138. abstra_statics/dist/assets/polling.ca800fea.js +2 -0
  139. abstra_statics/dist/assets/{project.8a5a3632.js → project.b14b799c.js} +2 -2
  140. abstra_statics/dist/assets/{python.3bf17d7f.js → python.de00ef26.js} +2 -2
  141. abstra_statics/dist/assets/{razor.ea162aec.js → razor.7aff1cf0.js} +3 -3
  142. abstra_statics/dist/assets/{record.30ff6eef.js → record.41c9caee.js} +2 -2
  143. abstra_statics/dist/assets/redirect.2f506c19.js +2 -0
  144. abstra_statics/dist/assets/repository.bfee664a.js +2 -0
  145. abstra_statics/dist/assets/{repository.5c0cd878.js → repository.e580214f.js} +2 -2
  146. abstra_statics/dist/assets/router.235ae730.js +2 -0
  147. abstra_statics/dist/assets/{router.cfb03f89.js → router.29e08ea4.js} +5 -5
  148. abstra_statics/dist/assets/{string.39c8a903.js → string.ff0b4ef9.js} +2 -2
  149. abstra_statics/dist/assets/{tables.34208b7c.js → tables.94d324c3.js} +2 -2
  150. abstra_statics/dist/assets/{tasksController.04461f1a.js → tasksController.42d22818.js} +3 -3
  151. abstra_statics/dist/assets/{toggleHighContrast.fa77fdf8.js → toggleHighContrast.7b4a31db.js} +7 -7
  152. abstra_statics/dist/assets/{tsMode.a5869619.js → tsMode.5cdf91a5.js} +2 -2
  153. abstra_statics/dist/assets/{typescript.f2aa2c4b.js → typescript.53676cd5.js} +3 -3
  154. abstra_statics/dist/assets/url.79cc02c3.js +2 -0
  155. abstra_statics/dist/assets/{useCodebaseEvents.3542d20f.js → useCodebaseEvents.5fbf9bc1.js} +2 -2
  156. abstra_statics/dist/assets/{useTables.3e387cf0.js → useTables.64fe45b0.js} +2 -2
  157. abstra_statics/dist/assets/userStore.339db438.js +2 -0
  158. abstra_statics/dist/assets/uuid.77e093c3.js +2 -0
  159. abstra_statics/dist/assets/{vue-flow-background.32950d16.js → vue-flow-background.7de722ba.js} +2 -2
  160. abstra_statics/dist/assets/{vue-flow-core.d96b7b33.js → vue-flow-core.589f776e.js} +2 -2
  161. abstra_statics/dist/assets/{vue-quill.esm-bundler.42450ff3.js → vue-quill.esm-bundler.d3994d88.js} +2 -2
  162. abstra_statics/dist/assets/{workspaceStore.9693f43b.js → workspaceStore.5dfe5329.js} +2 -2
  163. abstra_statics/dist/assets/{xml.a1244cf9.js → xml.a905d090.js} +2 -2
  164. abstra_statics/dist/assets/{yaml.759fa896.js → yaml.112096a6.js} +3 -3
  165. abstra_statics/dist/console.html +14 -14
  166. abstra_statics/dist/editor.html +13 -13
  167. abstra_statics/dist/player.html +9 -9
  168. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.e1cfa824.js +0 -2
  169. abstra_statics/dist/assets/ApiKeys.96f96fe2.js +0 -2
  170. abstra_statics/dist/assets/App.6b1b6a94.js +0 -2
  171. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.08210ecb.js +0 -2
  172. abstra_statics/dist/assets/Billing.24199f3a.js +0 -2
  173. abstra_statics/dist/assets/CloseCircleOutlined.2be0ee6c.js +0 -2
  174. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.17fc3e62.js +0 -2
  175. abstra_statics/dist/assets/ContentLayout.c133929b.js +0 -2
  176. abstra_statics/dist/assets/CrudView.789b533f.js +0 -2
  177. abstra_statics/dist/assets/EditorsView.4b74b13b.js +0 -2
  178. abstra_statics/dist/assets/EnvVars.0dfba770.js +0 -2
  179. abstra_statics/dist/assets/ExclamationCircleOutlined.ad66211a.js +0 -2
  180. abstra_statics/dist/assets/Home.f82c1587.js +0 -2
  181. abstra_statics/dist/assets/LoadingContainer.4430af86.js +0 -2
  182. abstra_statics/dist/assets/LoadingOutlined.2d29f0e1.js +0 -2
  183. abstra_statics/dist/assets/Login.8e13b15d.js +0 -2
  184. abstra_statics/dist/assets/Logo.e86b6b23.js +0 -2
  185. abstra_statics/dist/assets/Main.3afc4ba4.js +0 -2
  186. abstra_statics/dist/assets/OidcLoginCallback.8216e341.js +0 -2
  187. abstra_statics/dist/assets/OidcLogoutCallback.f471ecec.js +0 -2
  188. abstra_statics/dist/assets/PhCopySimple.vue.d9213ca9.js +0 -2
  189. abstra_statics/dist/assets/Project.fad3c835.js +0 -2
  190. abstra_statics/dist/assets/ProjectLogin.83ae9c4c.js +0 -2
  191. abstra_statics/dist/assets/Steps.95771774.js +0 -2
  192. abstra_statics/dist/assets/apiKey.7cf16e08.js +0 -2
  193. abstra_statics/dist/assets/asyncComputed.febe2b11.js +0 -2
  194. abstra_statics/dist/assets/colorHelpers.939427f5.js +0 -2
  195. abstra_statics/dist/assets/constants.bbfdfb21.js +0 -2
  196. abstra_statics/dist/assets/dayjs.8c9480e7.js +0 -2
  197. abstra_statics/dist/assets/editor.11a4f0cf.js +0 -2
  198. abstra_statics/dist/assets/editor.main.2f21f781.js +0 -2
  199. abstra_statics/dist/assets/fetch.e0dfa394.js +0 -2
  200. abstra_statics/dist/assets/files.59b464cc.js +0 -2
  201. abstra_statics/dist/assets/index.12e6cfe2.js +0 -2
  202. abstra_statics/dist/assets/linters.9f818fd6.js +0 -2
  203. abstra_statics/dist/assets/player.ebf3133f.js +0 -2
  204. abstra_statics/dist/assets/polling.96dd15ee.js +0 -2
  205. abstra_statics/dist/assets/redirect.d0ca2136.js +0 -2
  206. abstra_statics/dist/assets/repository.b1c27c35.js +0 -2
  207. abstra_statics/dist/assets/router.ae5c14de.js +0 -2
  208. abstra_statics/dist/assets/url.4ba49005.js +0 -2
  209. abstra_statics/dist/assets/userStore.e8304ebc.js +0 -2
  210. abstra_statics/dist/assets/uuid.2075c158.js +0 -2
  211. {abstra-3.24.5.dist-info → abstra-3.24.6.dist-info}/WHEEL +0 -0
  212. {abstra-3.24.5.dist-info → abstra-3.24.6.dist-info}/entry_points.txt +0 -0
  213. {abstra-3.24.5.dist-info → abstra-3.24.6.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2 @@
1
+ var o=Object.defineProperty;var l=(t,e,s)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var n=(t,e,s)=>(l(t,typeof e!="symbol"?e+"":e,s),s);import{a as u}from"./asyncComputed.f9fa4c71.js";import"./jwt-decode.esm.32f71954.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]="32f16c2d-8e86-4c7e-99a6-99d8c64b4ce6",t._sentryDebugIdIdentifier="sentry-dbid-32f16c2d-8e86-4c7e-99a6-99d8c64b4ce6")}catch{}})();class f{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 f,i=u(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(c=>c.name===e);if(!s)throw new Error(`Rule ${e} not found`);return s}}export{m as L};
2
+ //# sourceMappingURL=linters.3b9f6de6.js.map
@@ -1,7 +1,7 @@
1
- import{m as d}from"./toggleHighContrast.fa77fdf8.js";import"./jwt-decode.esm.47f59010.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]="87de3e6d-bdb1-42fb-91ac-faa7fbc849a2",t._sentryDebugIdIdentifier="sentry-dbid-87de3e6d-bdb1-42fb-91ac-faa7fbc849a2")}catch{}})();/*!-----------------------------------------------------------------------------
1
+ import{m as d}from"./toggleHighContrast.7b4a31db.js";import"./jwt-decode.esm.32f71954.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]="51778b86-9443-492b-b406-8db7285fe7ad",t._sentryDebugIdIdentifier="sentry-dbid-51778b86-9443-492b-b406-8db7285fe7ad")}catch{}})();/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,a=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of u(e))!m.call(t,r)&&r!==i&&s(t,r,{get:()=>e[r],enumerable:!(o=c(e,r))||o.enumerable});return t},p=(t,e,i)=>(a(t,e,"default"),i&&a(i,e,"default")),n={};p(n,d);var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],b={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},g={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=><!]+/,identifier:/[a-zA-Z_][\w]*/,tokenizer:{root:[[/\{\%\s*comment\s*\%\}/,"comment.start.liquid","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@liquidState.root"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.root"}],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],comment:[[/\{\%\s*endcomment\s*\%\}/,"comment.end.liquid","@pop"],[/./,"comment.content.liquid"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}};export{b as conf,g as language};
7
- //# sourceMappingURL=liquid.0627704b.js.map
6
+ *-----------------------------------------------------------------------------*/var s=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,a=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!m.call(t,r)&&r!==i&&s(t,r,{get:()=>e[r],enumerable:!(o=u(e,r))||o.enumerable});return t},p=(t,e,i)=>(a(t,e,"default"),i&&a(i,e,"default")),n={};p(n,d);var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],f={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},g={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=><!]+/,identifier:/[a-zA-Z_][\w]*/,tokenizer:{root:[[/\{\%\s*comment\s*\%\}/,"comment.start.liquid","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@liquidState.root"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.root"}],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],comment:[[/\{\%\s*endcomment\s*\%\}/,"comment.end.liquid","@pop"],[/./,"comment.content.liquid"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}};export{f as conf,g as language};
7
+ //# sourceMappingURL=liquid.612ef64b.js.map
@@ -1,2 +1,2 @@
1
- import{k as n}from"./router.cfb03f89.js";import"./jwt-decode.esm.47f59010.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]="d9e82af3-cd4d-4a61-af67-8c94783df0dc",r._sentryDebugIdIdentifier="sentry-dbid-d9e82af3-cd4d-4a61-af67-8c94783df0dc")}catch{}})();class s{async create(e){return n.post(`organizations/${e.organizationId}/members`,{email:e.email,folderIds:e.folderIds})}async delete(e){return n.delete(`organizations/${e.organizationId}/members/${e.authorId}`)}async list(e){return n.get(`organizations/${e}/members`)}async get(e,t){return n.get(`organizations/${e}/members/${t}`)}async update(e,t,a){return n.patch(`organizations/${e}/members/${t}`,a)}}export{s as M};
2
- //# sourceMappingURL=member.689a99e8.js.map
1
+ import{k as n}from"./router.29e08ea4.js";import"./jwt-decode.esm.32f71954.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]="32bafe82-1535-4177-826a-a741cc39ed1d",r._sentryDebugIdIdentifier="sentry-dbid-32bafe82-1535-4177-826a-a741cc39ed1d")}catch{}})();class d{async create(e){return n.post(`organizations/${e.organizationId}/members`,{email:e.email,folderIds:e.folderIds})}async delete(e){return n.delete(`organizations/${e.organizationId}/members/${e.authorId}`)}async list(e){return n.get(`organizations/${e}/members`)}async get(e,t){return n.get(`organizations/${e}/members/${t}`)}async update(e,t,a){return n.patch(`organizations/${e}/members/${t}`,a)}}export{d as M};
2
+ //# sourceMappingURL=member.91dd2bc0.js.map
@@ -1,2 +1,2 @@
1
- import{d as g,at as s,c as h,o as r,ac as l,ae as p,h as Z,ed as f,e as o,i}from"./jwt-decode.esm.47f59010.js";import{F as _,G as y,a as k,I as b}from"./PhWebhooksLogo.vue.e7321653.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]="dd9f3b7b-b7b3-493e-b6e3-47b2a51ae53c",e._sentryDebugIdIdentifier="sentry-dbid-dd9f3b7b-b7b3-493e-b6e3-47b2a51ae53c")}catch{}})();const M=["width","height","fill","transform"],$={key:0},A=o("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"},null,-1),N=[A],B={key:1},I=o("path",{d:"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"},null,-1),S=o("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),z=[I,S],x={key:2},P=o("path",{d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"},null,-1),j=[P],C={key:3},D=o("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"},null,-1),E=[D],G={key:4},F=o("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),q=[F],K={key:5},W=o("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"},null,-1),J=[W],L={name:"PhHouse"},O=g({...L,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,d=s("weight","regular"),v=s("size","1em"),V=s("color","currentColor"),m=s("mirrored",!1),n=h(()=>{var a;return(a=t.weight)!=null?a:d}),u=h(()=>{var a;return(a=t.size)!=null?a:v}),H=h(()=>{var a;return(a=t.color)!=null?a:V}),c=h(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(a,w)=>(r(),l("svg",f({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:H.value,transform:c.value},a.$attrs),[p(a.$slots,"default"),n.value==="bold"?(r(),l("g",$,N)):n.value==="duotone"?(r(),l("g",B,z)):n.value==="fill"?(r(),l("g",x,j)):n.value==="light"?(r(),l("g",C,E)):n.value==="regular"?(r(),l("g",G,q)):n.value==="thin"?(r(),l("g",K,J)):Z("",!0)],16,M))}}),Q=["width","height","fill","transform"],R={key:0},U=o("path",{d:"M216,44H40A12,12,0,0,0,28,56V208a20,20,0,0,0,20,20H88a20,20,0,0,0,20-20V164h40v12a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V56A12,12,0,0,0,216,44Zm-12,64H172V68h32ZM84,68v40H52V68Zm0,136H52V132H84Zm24-64V68h40v72Zm64,32V132h32v40Z"},null,-1),X=[U],Y={key:1},T=o("path",{d:"M216,56v64H160V56ZM40,208a8,8,0,0,0,8,8H88a8,8,0,0,0,8-8V120H40Z",opacity:"0.2"},null,-1),a0=o("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48Zm-8,64H168V64h40ZM88,64v48H48V64Zm0,144H48V128H88Zm16-64V64h48v80Zm64,32V128h40v48Z"},null,-1),e0=[T,a0],t0={key:2},r0=o("path",{d:"M160,56v96a8,8,0,0,1-8,8H112a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h40A8,8,0,0,1,160,56Zm64-8H184a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4h48a4,4,0,0,0,4-4V56A8,8,0,0,0,224,48Zm4,80H180a4,4,0,0,0-4,4v44a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V132A4,4,0,0,0,228,128ZM80,48H40a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4H84a4,4,0,0,0,4-4V56A8,8,0,0,0,80,48Zm4,80H36a4,4,0,0,0-4,4v76a16,16,0,0,0,16,16H72a16,16,0,0,0,16-16V132A4,4,0,0,0,84,128Z"},null,-1),l0=[r0],o0={key:3},n0=o("path",{d:"M216,50H40a6,6,0,0,0-6,6V208a14,14,0,0,0,14,14H88a14,14,0,0,0,14-14V158h52v18a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V56A6,6,0,0,0,216,50Zm-6,64H166V62h44ZM90,62v52H46V62Zm0,146a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V126H90Zm12-62V62h52v84Zm106,32H168a2,2,0,0,1-2-2V126h44v50A2,2,0,0,1,208,178Z"},null,-1),i0=[n0],s0={key:4},h0=o("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48ZM88,208H48V128H88Zm0-96H48V64H88Zm64,32H104V64h48Zm56,32H168V128h40Zm0-64H168V64h40Z"},null,-1),d0=[h0],u0={key:5},v0=o("path",{d:"M216,52H40a4,4,0,0,0-4,4V208a12,12,0,0,0,12,12H88a12,12,0,0,0,12-12V156h56v20a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V56A4,4,0,0,0,216,52ZM92,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V124H92Zm0-92H44V60H92Zm64,32H100V60h56Zm56,28a4,4,0,0,1-4,4H168a4,4,0,0,1-4-4V124h48Zm0-60H164V60h48Z"},null,-1),V0=[v0],m0={name:"PhKanban"},H0=g({...m0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,d=s("weight","regular"),v=s("size","1em"),V=s("color","currentColor"),m=s("mirrored",!1),n=h(()=>{var a;return(a=t.weight)!=null?a:d}),u=h(()=>{var a;return(a=t.size)!=null?a:v}),H=h(()=>{var a;return(a=t.color)!=null?a:V}),c=h(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(a,w)=>(r(),l("svg",f({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:H.value,transform:c.value},a.$attrs),[p(a.$slots,"default"),n.value==="bold"?(r(),l("g",R,X)):n.value==="duotone"?(r(),l("g",Y,e0)):n.value==="fill"?(r(),l("g",t0,l0)):n.value==="light"?(r(),l("g",o0,i0)):n.value==="regular"?(r(),l("g",s0,d0)):n.value==="thin"?(r(),l("g",u0,V0)):Z("",!0)],16,Q))}}),c0={stages:[{icon:_,typeName:"forms",get description(){return i.translate("i18n_workflow_metadata_forms_description")},key:"F",get title(){return i.translate("i18n_workflow_metadata_forms_title")}},{typeName:"hooks",get title(){return i.translate("i18n_workflow_metadata_hooks_title")},icon:y,get description(){return i.translate("i18n_workflow_metadata_hooks_description")},key:"H"},{typeName:"jobs",get title(){return i.translate("i18n_workflow_metadata_jobs_title")},icon:k,get description(){return i.translate("i18n_workflow_metadata_jobs_description")},key:"J"},{typeName:"scripts",get title(){return i.translate("i18n_workflow_metadata_tasklets_title")},icon:b,get description(){return i.translate("i18n_workflow_metadata_scripts_description")},key:"T"}]};function g0(e){e==="tasklet"&&(e="script");const t=c0.stages.find(d=>d.typeName===e||d.typeName===`${e}s`);if(!t)throw new Error(`No metadata found for stage ${e}`);return t.icon}const f0=e=>e==="kanban"?H0:e==="home"?O:g0(e);export{f0 as i,g0 as s,c0 as w};
2
- //# sourceMappingURL=metadata.69e468d6.js.map
1
+ import{d as g,at as s,c as h,o as r,ac as l,ae as p,h as f,ed as Z,e as o,i}from"./jwt-decode.esm.32f71954.js";import{F as _,G as y,a as k,I as M}from"./PhWebhooksLogo.vue.13c489ce.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]="af0f5507-08ab-4acf-b21a-2b24be4029b0",e._sentryDebugIdIdentifier="sentry-dbid-af0f5507-08ab-4acf-b21a-2b24be4029b0")}catch{}})();const $=["width","height","fill","transform"],b={key:0},A=o("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"},null,-1),N=[A],B={key:1},I=o("path",{d:"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"},null,-1),S=o("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),z=[I,S],x={key:2},P=o("path",{d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"},null,-1),j=[P],C={key:3},D=o("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"},null,-1),E=[D],G={key:4},F=o("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1),q=[F],K={key:5},W=o("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"},null,-1),J=[W],L={name:"PhHouse"},O=g({...L,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,d=s("weight","regular"),v=s("size","1em"),V=s("color","currentColor"),m=s("mirrored",!1),n=h(()=>{var a;return(a=t.weight)!=null?a:d}),u=h(()=>{var a;return(a=t.size)!=null?a:v}),H=h(()=>{var a;return(a=t.color)!=null?a:V}),c=h(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(a,w)=>(r(),l("svg",Z({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:H.value,transform:c.value},a.$attrs),[p(a.$slots,"default"),n.value==="bold"?(r(),l("g",b,N)):n.value==="duotone"?(r(),l("g",B,z)):n.value==="fill"?(r(),l("g",x,j)):n.value==="light"?(r(),l("g",C,E)):n.value==="regular"?(r(),l("g",G,q)):n.value==="thin"?(r(),l("g",K,J)):f("",!0)],16,$))}}),Q=["width","height","fill","transform"],R={key:0},U=o("path",{d:"M216,44H40A12,12,0,0,0,28,56V208a20,20,0,0,0,20,20H88a20,20,0,0,0,20-20V164h40v12a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V56A12,12,0,0,0,216,44Zm-12,64H172V68h32ZM84,68v40H52V68Zm0,136H52V132H84Zm24-64V68h40v72Zm64,32V132h32v40Z"},null,-1),X=[U],Y={key:1},T=o("path",{d:"M216,56v64H160V56ZM40,208a8,8,0,0,0,8,8H88a8,8,0,0,0,8-8V120H40Z",opacity:"0.2"},null,-1),a0=o("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48Zm-8,64H168V64h40ZM88,64v48H48V64Zm0,144H48V128H88Zm16-64V64h48v80Zm64,32V128h40v48Z"},null,-1),e0=[T,a0],t0={key:2},r0=o("path",{d:"M160,56v96a8,8,0,0,1-8,8H112a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h40A8,8,0,0,1,160,56Zm64-8H184a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4h48a4,4,0,0,0,4-4V56A8,8,0,0,0,224,48Zm4,80H180a4,4,0,0,0-4,4v44a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V132A4,4,0,0,0,228,128ZM80,48H40a8,8,0,0,0-8,8v52a4,4,0,0,0,4,4H84a4,4,0,0,0,4-4V56A8,8,0,0,0,80,48Zm4,80H36a4,4,0,0,0-4,4v76a16,16,0,0,0,16,16H72a16,16,0,0,0,16-16V132A4,4,0,0,0,84,128Z"},null,-1),l0=[r0],o0={key:3},n0=o("path",{d:"M216,50H40a6,6,0,0,0-6,6V208a14,14,0,0,0,14,14H88a14,14,0,0,0,14-14V158h52v18a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V56A6,6,0,0,0,216,50Zm-6,64H166V62h44ZM90,62v52H46V62Zm0,146a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V126H90Zm12-62V62h52v84Zm106,32H168a2,2,0,0,1-2-2V126h44v50A2,2,0,0,1,208,178Z"},null,-1),i0=[n0],s0={key:4},h0=o("path",{d:"M216,48H40a8,8,0,0,0-8,8V208a16,16,0,0,0,16,16H88a16,16,0,0,0,16-16V160h48v16a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V56A8,8,0,0,0,216,48ZM88,208H48V128H88Zm0-96H48V64H88Zm64,32H104V64h48Zm56,32H168V128h40Zm0-64H168V64h40Z"},null,-1),d0=[h0],u0={key:5},v0=o("path",{d:"M216,52H40a4,4,0,0,0-4,4V208a12,12,0,0,0,12,12H88a12,12,0,0,0,12-12V156h56v20a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V56A4,4,0,0,0,216,52ZM92,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V124H92Zm0-92H44V60H92Zm64,32H100V60h56Zm56,28a4,4,0,0,1-4,4H168a4,4,0,0,1-4-4V124h48Zm0-60H164V60h48Z"},null,-1),V0=[v0],m0={name:"PhKanban"},H0=g({...m0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(e){const t=e,d=s("weight","regular"),v=s("size","1em"),V=s("color","currentColor"),m=s("mirrored",!1),n=h(()=>{var a;return(a=t.weight)!=null?a:d}),u=h(()=>{var a;return(a=t.size)!=null?a:v}),H=h(()=>{var a;return(a=t.color)!=null?a:V}),c=h(()=>t.mirrored!==void 0?t.mirrored?"scale(-1, 1)":void 0:m?"scale(-1, 1)":void 0);return(a,w)=>(r(),l("svg",Z({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:H.value,transform:c.value},a.$attrs),[p(a.$slots,"default"),n.value==="bold"?(r(),l("g",R,X)):n.value==="duotone"?(r(),l("g",Y,e0)):n.value==="fill"?(r(),l("g",t0,l0)):n.value==="light"?(r(),l("g",o0,i0)):n.value==="regular"?(r(),l("g",s0,d0)):n.value==="thin"?(r(),l("g",u0,V0)):f("",!0)],16,Q))}}),c0={stages:[{icon:_,typeName:"forms",get description(){return i.translate("i18n_workflow_metadata_forms_description")},key:"F",get title(){return i.translate("i18n_workflow_metadata_forms_title")}},{typeName:"hooks",get title(){return i.translate("i18n_workflow_metadata_hooks_title")},icon:y,get description(){return i.translate("i18n_workflow_metadata_hooks_description")},key:"H"},{typeName:"jobs",get title(){return i.translate("i18n_workflow_metadata_jobs_title")},icon:k,get description(){return i.translate("i18n_workflow_metadata_jobs_description")},key:"J"},{typeName:"scripts",get title(){return i.translate("i18n_workflow_metadata_tasklets_title")},icon:M,get description(){return i.translate("i18n_workflow_metadata_scripts_description")},key:"T"}]};function g0(e){e==="tasklet"&&(e="script");const t=c0.stages.find(d=>d.typeName===e||d.typeName===`${e}s`);if(!t)throw new Error(`No metadata found for stage ${e}`);return t.icon}const Z0=e=>e==="kanban"?H0:e==="home"?O:g0(e);export{Z0 as i,g0 as s,c0 as w};
2
+ //# sourceMappingURL=metadata.c5f500d1.js.map
@@ -1,9 +1,9 @@
1
- var z=Object.defineProperty;var V=(a,e,t)=>e in a?z(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var r=(a,e,t)=>(V(a,typeof e!="symbol"?e+"":e,t),t);import{k as S}from"./router.cfb03f89.js";import{d as P,at as x,c as w,o as p,ac as m,ae as W,h as G,ed as Q,e as _,r as c,i as L,a as A,b as N,g as X,t as Y,u as T,b0 as K,_ as ee,f as te,eN as se,Q as re,al as ie,v as oe,$ as O}from"./jwt-decode.esm.47f59010.js";import{P as ae}from"./record.30ff6eef.js";import{u as b}from"./uuid.2075c158.js";import{I as ne}from"./PhCopySimple.vue.d9213ca9.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="a7d2f276-e977-4ef2-bb39-83440789e5b9",a._sentryDebugIdIdentifier="sentry-dbid-a7d2f276-e977-4ef2-bb39-83440789e5b9")}catch{}})();const le=["width","height","fill","transform"],ce={key:0},he=_("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1),de=[he],ue={key:1},ge=_("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),fe=_("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),pe=[ge,fe],ye={key:2},ve=_("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"},null,-1),_e=[ve],me={key:3},we=_("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),be=[we],Ce={key:4},Se=_("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),xe=[Se],Ie={key:5},Ae=_("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),Te=[Ae],Ee={name:"PhCheckCircle"},Fe=P({...Ee,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(a){const e=a,t=x("weight","regular"),s=x("size","1em"),i=x("color","currentColor"),u=x("mirrored",!1),l=w(()=>{var n;return(n=e.weight)!=null?n:t}),h=w(()=>{var n;return(n=e.size)!=null?n:s}),d=w(()=>{var n;return(n=e.color)!=null?n:i}),g=w(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(n,f)=>(p(),m("svg",Q({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:d.value,transform:g.value},n.$attrs),[W(n.$slots,"default"),l.value==="bold"?(p(),m("g",ce,de)):l.value==="duotone"?(p(),m("g",ue,pe)):l.value==="fill"?(p(),m("g",ye,_e)):l.value==="light"?(p(),m("g",me,be)):l.value==="regular"?(p(),m("g",Ce,xe)):l.value==="thin"?(p(),m("g",Ie,Te)):G("",!0)],16,le))}});class Z{constructor(e,t){r(this,"staging");this.flag=e,this.acc=t,this.staging=""}}class Me extends Z{constructor(){super("___JSON_MODE___",[])}reduceChar(e){try{this.staging+=e;const t=JSON.parse(this.staging);return this.acc.push(t),this.staging="",t}catch{return}}reduce(e){const t=[];for(const s of e){const i=this.reduceChar(s);i!==void 0&&t.push(i)}return t}}class ke extends Z{constructor(){super("___TEXT_MODE___","")}reduce(e){return this.staging+=e,this.acc=this.staging,e}}class R{constructor(){r(this,"mode");r(this,"modes",[new ke,new Me]);r(this,"staging","");r(this,"chunkOnBuffer","");r(this,"flagMap");r(this,"flagPrefixes");this.mode=this.modes[0],this.flagMap=new Map,this.flagPrefixes=new Set;for(const e of this.modes){this.flagMap.set(e.flag,e);for(let t=1;t<e.flag.length;t++)this.flagPrefixes.add(e.flag.slice(0,t))}}*reduce(e){for(const t of e){if(this.staging+=t,this.flagMap.has(this.staging)){this.mode=this.flagMap.get(this.staging),this.staging="";continue}if(!this.flagPrefixes.has(this.staging))for(;this.staging.length>0;){const s=this.staging[0];this.staging=this.staging.slice(1);const i=this.mode.reduce(s);if(i!==void 0&&(Array.isArray(i)?yield*i:yield i),this.flagPrefixes.has(this.staging))break}}}*reduceInChunks(e,t){let s="";for(const i of this.reduce(t))if(typeof i=="string")for(s+=i;s.length>=e;)yield s.slice(0,e),s=s.slice(e);else s.length>0&&(yield s,s=""),yield i;s.length>0&&(yield s)}}const j=300;class $e{constructor(){r(this,"_baseUrl","/_editor/api/ai");r(this,"_headers",{"Content-Type":"application/json"})}async*sendMessage(e,t,s,i,u){var n;const l={conversationId:e,content:t,context:s,humanApproval:u},h=await fetch(`${this._baseUrl}/stream`,{method:"POST",headers:this._headers,body:JSON.stringify(l)});if(!h.ok)throw new Error("Failed to send message");const d=(n=h.body)==null?void 0:n.getReader();if(!d)throw new Error("No response body");const g=new R;for(;!i();){const f=await d.read();if(f.done)break;for(const y of g.reduceInChunks(j,new TextDecoder().decode(f.value)))yield y}}async deleteThread(e){if(!(await fetch(`${this._baseUrl}/thread/${e}`,{method:"DELETE",headers:this._headers})).ok)throw new Error("Failed to delete thread")}async abortStreaming(e){if(!(await fetch(`${this._baseUrl}/abort`,{method:"POST",headers:this._headers,body:JSON.stringify({langGraphThreadId:e})})).ok)throw new Error("Failed to abort streaming")}async getHistory(e,t){const s=await fetch(`${this._baseUrl}/history?limit=${e}&offset=${t}`,{method:"GET"});if(!s.ok)throw new Error("Failed to fetch history");return await s.json()}startConversation(){return new Promise((e,t)=>{fetch(`${this._baseUrl}/start-conversation`,{method:"POST",headers:this._headers}).then(s=>{if(!s.ok)throw new Error("Failed to start conversation");return s.json()}).then(s=>e(s)).catch(s=>t(s))})}}class He{constructor(e){r(this,"projectId");r(this,"baseUrl");this.projectId=e,this.baseUrl=`projects/${e}`}startConversation(){throw new Error("Method not implemented.")}async*sendMessage(e,t,s,i,u){var n;const l={conversationId:e,content:t,context:s,humanApproval:u},d=(n=(await S.postRaw(`${this.baseUrl}/messages`,l)).body)==null?void 0:n.getReader();if(!d)throw new Error("No response body");const g=new R;for(;!i();){const f=await d.read();if(f.done)break;for(const y of g.reduceInChunks(j,new TextDecoder().decode(f.value)))yield y}}async abortStreaming(e){await S.post(`${this.baseUrl}/abort`,{langGraphThreadId:e})}async getHistory(e,t){const s={limit:`${e}`,offset:`${t}`};return await S.get(`${this.baseUrl}/history`,s)}async deleteThread(e){await S.delete(`${this.baseUrl}/threads/${e}`)}}const Le=P({__name:"CopyButton",props:{textToCopy:{}},setup(a){const e=a,t=c(!1),s=()=>{navigator.clipboard.writeText(e.textToCopy),t.value=!0,setTimeout(()=>t.value=!1,2e3)},i=w(()=>t.value?L.translate("i18n_copybutton_copied"):L.translate("i18n_copybutton_copy_to_clipboard"));return(u,l)=>(p(),A(T(K),null,{title:N(()=>[X(Y(i.value),1)]),default:N(()=>[_("div",{class:"copy-button",onClick:s},[t.value?(p(),A(T(Fe),{key:1,color:"#fff",size:"22"})):(p(),A(T(ne),{key:0,color:"#fff",size:"22"}))])]),_:1}))}});const Ne=ee(Le,[["__scopeId","data-v-95878e02"]]);class B{constructor(e,t){r(this,"_repository");r(this,"conversationId");r(this,"_input");r(this,"_attachments");r(this,"_badgeState");r(this,"_smartChatState");r(this,"_logService");r(this,"_hasError",c(null));r(this,"_isLoadingHistory",c(!1));r(this,"_history",c([]));r(this,"_threadHistoryFetchInfo",c({limit:10,offset:0,done:!1}));r(this,"_executingFormFile",c(null));r(this,"_recentlyAccessedThreads",c([]));r(this,"loadingAbort",c(!1));r(this,"codeForApproval",c(null));r(this,"setupThread",async()=>{this.conversationId.value=`abstra-assistant-thread-${b()}`,this._recentlyAccessedThreads.value.unshift({id:this.conversationId.value,messages:[],createdAt:new Date().toISOString()})});r(this,"fetchHistory",async()=>{this._isLoadingHistory.value=!0;const e=await this._repository.getHistory(this._threadHistoryFetchInfo.value.limit,this._threadHistoryFetchInfo.value.offset);this._history.value=e,this._isLoadingHistory.value=!1});r(this,"loadMoreHistory",async()=>{this._isLoadingHistory.value=!0,this._threadHistoryFetchInfo.value.offset+=this._threadHistoryFetchInfo.value.limit;const e=await this._repository.getHistory(this._threadHistoryFetchInfo.value.limit,this._threadHistoryFetchInfo.value.offset);e.length<this._threadHistoryFetchInfo.value.limit&&(this._threadHistoryFetchInfo.value.done=!0);const t=[...this._history.value,...e];this._history.value=t,this._isLoadingHistory.value=!1});r(this,"setError",e=>{this._hasError.value=e});r(this,"setExecutingFormFile",e=>{this._executingFormFile.value=e});r(this,"_fillChat",e=>{this._logService.clear();for(const t of e)if(t.toolTitle)this._logService.log({type:"ai-tool-approval",toolCallId:t.toolCallId,description:t.toolTitle,args:{},disabled:!1,needsApproval:!1,loading:!1}),this._logService.log({type:"ai-tool-call-response",toolCallId:t.toolCallId,response:this.extractTextContent(t.content)});else{const s=this.extractAttachmentsFromContent(t.content);s.length>0&&t.role==="user"?this._logService.log({type:"ai-input",log:this.extractTextContent(t.content),attachments:s}):this._logService.log({type:t.role==="user"?"ai-input":"ai-output",log:this.extractTextContent(t.content)})}this.renderCopyButtons()});r(this,"moveThreadFromHistoryToRecents",e=>{this.conversationId.value=e;const t=this._history.value.find(i=>i.id===e);if(!t)throw new Error(`Thread ${e} not found`);const s=this._recentlyAccessedThreads.value.findIndex(i=>i.id===e);s!==-1&&this._recentlyAccessedThreads.value.splice(s,1),this._recentlyAccessedThreads.value.unshift(t),this._fillChat(t.messages)});r(this,"deleteThread",e=>{this._repository.deleteThread(e),this.removeFromRecentlyAccessedThreads(e);const t=this._history.value.findIndex(s=>s.id===e);t!==-1&&this._history.value.splice(t,1)});r(this,"setCurrentThreadFromRecents",e=>{this.conversationId.value=e;const t=this._recentlyAccessedThreads.value.findIndex(i=>i.id===e);if(t===-1)throw new Error(`Thread ${e} not found`);const[s]=this._recentlyAccessedThreads.value.splice(t,1);this._recentlyAccessedThreads.value.unshift(s),this._fillChat(s.messages)});r(this,"removeFromRecentlyAccessedThreads",e=>{const t=this._recentlyAccessedThreads.value.findIndex(s=>s.id===e);if(t===-1)throw new Error(`Thread ${e} not found`);if(this._recentlyAccessedThreads.value.splice(t,1),this._logService.clear(),this._recentlyAccessedThreads.value.length===0)this.conversationId.value=null;else{const s=this._recentlyAccessedThreads.value[0];this.conversationId.value=s.id,this._fillChat(s.messages)}});r(this,"renderCopyButtons",()=>{document.querySelectorAll("pre").forEach(t=>{t.style.position="relative";const s=te(Ne,{textToCopy:t.textContent});se(s,t)})});r(this,"clearLogService",()=>{this._logService.clear()});r(this,"extractTextContent",e=>typeof e=="string"?e:Array.isArray(e)?e.filter(t=>t.type==="text"&&t.text).map(t=>t.text).join(`
2
- `):"");r(this,"extractAttachmentsFromContent",e=>{if(typeof e=="string"||!Array.isArray(e))return[];let t=0;return e.filter(s=>{var i;return s.type==="image_url"&&((i=s.image_url)==null?void 0:i.url)}).map(s=>{t++;const u=s.image_url.url.match(/^data:([^;]+);base64,(.+)$/);if(u){const[,l,h]=u,d=Math.ceil(h.length*3/4),g=l.split("/")[1]||"jpg";return{fileName:`image_${t}.${g}`,fileContent:h,fileSize:d,mimeType:l}}return{fileName:`image_${t}.jpg`,fileContent:"",fileSize:0,mimeType:"image/jpeg"}})});r(this,"send",async(e,t,s=0)=>{var i,u,l,h,d,g,n;this.conversationId.value||await this.setupThread(),s===0&&this._logService.log({type:"ai-input",log:this._input.value,attachments:this._attachments.value}),this._smartChatState.value="processing";try{const f=b(),y=this.conversationId.value;if(!y)throw new Error("Conversation ID is not set");const D=[{type:"text",text:this._input.value},...this._attachments.value.map(v=>({type:"file",fileName:v.fileName,fileContent:v.fileContent}))],U={currentEditorUrl:window.location.href,panesInfo:e||{}},q=this._repository.sendMessage(y,D,U,this.isIdle.bind(this),t);let F="",M=f,I="";for await(const v of q){if(this.isIdle())break;this._smartChatState.value==="processing"&&(this._smartChatState.value="answering");const o=v;if(typeof o=="string"){if(o.includes("abstra__trigger__retry"))throw new Error("AI service requested a retry");F+=o,I+=o,this._logService.log({type:"ai-output",log:I},M)}else if(o instanceof Object)if(o.type==="ai-tool-approval"){const J=(i=o.args)==null?void 0:i.file,k=!!(((u=o.args)==null?void 0:u.replacements)||((l=o.args)==null?void 0:l.content))&&this._executingFormFile.value===J,$=k?"This action can\u2019t be performed while the form is running":void 0;if(this._logService.log({type:"ai-tool-approval",toolCallId:o.toolCallId,description:o.title,args:o.args,disabled:k,needsApproval:!0,loading:!1,...$&&{message:$}}),((h=o.args)==null?void 0:h.file)&&((d=o.args)==null?void 0:d.replacements)){let C=o.args.replacements;typeof C=="string"&&(C=JSON.parse(C)),this.codeForApproval.value={file:o.args.file,replacements:C.map(H=>({oldContext:H.old_context,newContext:H.new_context}))}}else((g=o.args)==null?void 0:g.file)&&((n=o.args)==null?void 0:n.content)&&(this.codeForApproval.value={file:o.args.file,code:o.args.content})}else o.type==="ai-tool-call"?(this._logService.log({type:"ai-tool-approval",toolCallId:o.toolCallId,description:o.title,args:o.args,disabled:!1,needsApproval:!1,loading:!1}),M=b(),I=""):o.type==="ai-tool-call-response"&&this._logService.log({type:"ai-tool-call-response",toolCallId:o.toolCallId,response:o.response})}this._recentlyAccessedThreads.value=this._recentlyAccessedThreads.value.map(v=>(v.id===this.conversationId.value&&v.messages.unshift({role:"assistant",content:F,createdAt:new Date().toISOString()}),v)),this._input.value="",this._attachments.value=[],this._smartChatState.value="idle",this.renderCopyButtons()}catch(f){console.error(f),re(f),s>3?(this._logService.log({type:"ai-output",log:"Sorry, there was an issue processing your request. Please try again later."}),this._input.value="",this._smartChatState.value="idle",this.renderCopyButtons()):(this._logService.log({type:"ai-output",log:"We had some trouble, but we are already retrying your request..."}),await this.abort(),this._input.value="There was an unexpected error, please try again. You must continue from where you stopped as if nothing happened.",this.send(e,t,s+1))}});r(this,"abort",async()=>{if(!this.conversationId.value)throw new Error("Conversation ID is not set");this.loadingAbort.value=!0,await this._repository.abortStreaming(this.conversationId.value),this._smartChatState.value="idle",this.loadingAbort.value=!1});r(this,"isLoadingHistory",()=>this._isLoadingHistory.value);r(this,"isProcessing",()=>this._smartChatState.value==="processing");r(this,"isAnswering",()=>this._smartChatState.value==="answering");r(this,"isIdle",()=>this._smartChatState.value==="idle");r(this,"setSeen",()=>{this._badgeState.value={type:"seen"}});r(this,"setUnseen",e=>{this._badgeState.value={type:"unseen",count:this._badgeState.value.type==="unseen"?this._badgeState.value.count+1:1,severity:e.type==="stderr"?"error":"info"}});r(this,"setInput",(e,t)=>{e=e==null?void 0:e.trimEnd(),this._input.value=e||"",this._attachments.value=t||[]});r(this,"regenerateLast",async()=>{for(let e=this._logService.logs.length-1;e>=0;e--){const t=this._logService.logs[e];if(t.type==="ai-input"){this.setInput(t.log);break}}await this.send()});r(this,"fixJson",async(e,t)=>{this._logService.clear(),this._logService.log({type:"ai-input",log:`here is my json code:
1
+ var z=Object.defineProperty;var V=(o,e,t)=>e in o?z(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var r=(o,e,t)=>(V(o,typeof e!="symbol"?e+"":e,t),t);import{k as S}from"./router.29e08ea4.js";import{d as P,at as x,c as w,o as p,ac as m,ae as W,h as G,ed as Q,e as _,r as c,i as L,a as A,b as N,g as X,t as Y,u as T,b0 as K,_ as ee,f as te,eN as se,Q as re,al as ie,v as ae,$ as O}from"./jwt-decode.esm.32f71954.js";import{P as oe}from"./record.41c9caee.js";import{u as C}from"./uuid.77e093c3.js";import{I as ne}from"./PhCopySimple.vue.7cacc0f7.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="69a9a96a-ae67-4962-a79d-7833606908ab",o._sentryDebugIdIdentifier="sentry-dbid-69a9a96a-ae67-4962-a79d-7833606908ab")}catch{}})();const le=["width","height","fill","transform"],ce={key:0},he=_("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1),de=[he],ue={key:1},ge=_("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),fe=_("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),pe=[ge,fe],ye={key:2},ve=_("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"},null,-1),_e=[ve],me={key:3},we=_("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1),Ce=[we],be={key:4},Se=_("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1),xe=[Se],Ie={key:5},Ae=_("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1),Te=[Ae],Ee={name:"PhCheckCircle"},Fe=P({...Ee,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const e=o,t=x("weight","regular"),s=x("size","1em"),i=x("color","currentColor"),u=x("mirrored",!1),l=w(()=>{var n;return(n=e.weight)!=null?n:t}),h=w(()=>{var n;return(n=e.size)!=null?n:s}),d=w(()=>{var n;return(n=e.color)!=null?n:i}),g=w(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(n,f)=>(p(),m("svg",Q({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:h.value,height:h.value,fill:d.value,transform:g.value},n.$attrs),[W(n.$slots,"default"),l.value==="bold"?(p(),m("g",ce,de)):l.value==="duotone"?(p(),m("g",ue,pe)):l.value==="fill"?(p(),m("g",ye,_e)):l.value==="light"?(p(),m("g",me,Ce)):l.value==="regular"?(p(),m("g",be,xe)):l.value==="thin"?(p(),m("g",Ie,Te)):G("",!0)],16,le))}});class Z{constructor(e,t){r(this,"staging");this.flag=e,this.acc=t,this.staging=""}}class Me extends Z{constructor(){super("___JSON_MODE___",[])}reduceChar(e){try{this.staging+=e;const t=JSON.parse(this.staging);return this.acc.push(t),this.staging="",t}catch{return}}reduce(e){const t=[];for(const s of e){const i=this.reduceChar(s);i!==void 0&&t.push(i)}return t}}class ke extends Z{constructor(){super("___TEXT_MODE___","")}reduce(e){return this.staging+=e,this.acc=this.staging,e}}class R{constructor(){r(this,"mode");r(this,"modes",[new ke,new Me]);r(this,"staging","");r(this,"chunkOnBuffer","");r(this,"flagMap");r(this,"flagPrefixes");this.mode=this.modes[0],this.flagMap=new Map,this.flagPrefixes=new Set;for(const e of this.modes){this.flagMap.set(e.flag,e);for(let t=1;t<e.flag.length;t++)this.flagPrefixes.add(e.flag.slice(0,t))}}*reduce(e){for(const t of e){if(this.staging+=t,this.flagMap.has(this.staging)){this.mode=this.flagMap.get(this.staging),this.staging="";continue}if(!this.flagPrefixes.has(this.staging))for(;this.staging.length>0;){const s=this.staging[0];this.staging=this.staging.slice(1);const i=this.mode.reduce(s);if(i!==void 0&&(Array.isArray(i)?yield*i:yield i),this.flagPrefixes.has(this.staging))break}}}*reduceInChunks(e,t){let s="";for(const i of this.reduce(t))if(typeof i=="string")for(s+=i;s.length>=e;)yield s.slice(0,e),s=s.slice(e);else s.length>0&&(yield s,s=""),yield i;s.length>0&&(yield s)}}const j=300;class $e{constructor(){r(this,"_baseUrl","/_editor/api/ai");r(this,"_headers",{"Content-Type":"application/json"})}async*sendMessage(e,t,s,i,u){var n;const l={conversationId:e,content:t,context:s,humanApproval:u},h=await fetch(`${this._baseUrl}/stream`,{method:"POST",headers:this._headers,body:JSON.stringify(l)});if(!h.ok)throw new Error("Failed to send message");const d=(n=h.body)==null?void 0:n.getReader();if(!d)throw new Error("No response body");const g=new R;for(;!i();){const f=await d.read();if(f.done)break;for(const y of g.reduceInChunks(j,new TextDecoder().decode(f.value)))yield y}}async deleteThread(e){if(!(await fetch(`${this._baseUrl}/thread/${e}`,{method:"DELETE",headers:this._headers})).ok)throw new Error("Failed to delete thread")}async abortStreaming(e){if(!(await fetch(`${this._baseUrl}/abort`,{method:"POST",headers:this._headers,body:JSON.stringify({langGraphThreadId:e})})).ok)throw new Error("Failed to abort streaming")}async getHistory(e,t){const s=await fetch(`${this._baseUrl}/history?limit=${e}&offset=${t}`,{method:"GET"});if(!s.ok)throw new Error("Failed to fetch history");return await s.json()}startConversation(){return new Promise((e,t)=>{fetch(`${this._baseUrl}/start-conversation`,{method:"POST",headers:this._headers}).then(s=>{if(!s.ok)throw new Error("Failed to start conversation");return s.json()}).then(s=>e(s)).catch(s=>t(s))})}}class He{constructor(e){r(this,"projectId");r(this,"baseUrl");this.projectId=e,this.baseUrl=`projects/${e}`}startConversation(){throw new Error("Method not implemented.")}async*sendMessage(e,t,s,i,u){var n;const l={conversationId:e,content:t,context:s,humanApproval:u},d=(n=(await S.postRaw(`${this.baseUrl}/messages`,l)).body)==null?void 0:n.getReader();if(!d)throw new Error("No response body");const g=new R;for(;!i();){const f=await d.read();if(f.done)break;for(const y of g.reduceInChunks(j,new TextDecoder().decode(f.value)))yield y}}async abortStreaming(e){await S.post(`${this.baseUrl}/abort`,{langGraphThreadId:e})}async getHistory(e,t){const s={limit:`${e}`,offset:`${t}`};return await S.get(`${this.baseUrl}/history`,s)}async deleteThread(e){await S.delete(`${this.baseUrl}/threads/${e}`)}}const Le=P({__name:"CopyButton",props:{textToCopy:{}},setup(o){const e=o,t=c(!1),s=()=>{navigator.clipboard.writeText(e.textToCopy),t.value=!0,setTimeout(()=>t.value=!1,2e3)},i=w(()=>t.value?L.translate("i18n_copybutton_copied"):L.translate("i18n_copybutton_copy_to_clipboard"));return(u,l)=>(p(),A(T(K),null,{title:N(()=>[X(Y(i.value),1)]),default:N(()=>[_("div",{class:"copy-button",onClick:s},[t.value?(p(),A(T(Fe),{key:1,color:"#fff",size:"22"})):(p(),A(T(ne),{key:0,color:"#fff",size:"22"}))])]),_:1}))}});const Ne=ee(Le,[["__scopeId","data-v-95878e02"]]);class B{constructor(e,t){r(this,"_repository");r(this,"conversationId");r(this,"_input");r(this,"_attachments");r(this,"_badgeState");r(this,"_smartChatState");r(this,"_logService");r(this,"_hasError",c(null));r(this,"_isLoadingHistory",c(!1));r(this,"_history",c([]));r(this,"_threadHistoryFetchInfo",c({limit:10,offset:0,done:!1}));r(this,"_executingFormFile",c(null));r(this,"_recentlyAccessedThreads",c([]));r(this,"loadingAbort",c(!1));r(this,"codeForApproval",c(null));r(this,"setupThread",async()=>{this.conversationId.value=`abstra-assistant-thread-${C()}`,this._recentlyAccessedThreads.value.unshift({id:this.conversationId.value,messages:[],createdAt:new Date().toISOString()})});r(this,"fetchHistory",async()=>{this._isLoadingHistory.value=!0;const e=await this._repository.getHistory(this._threadHistoryFetchInfo.value.limit,this._threadHistoryFetchInfo.value.offset);this._history.value=e,this._isLoadingHistory.value=!1});r(this,"loadMoreHistory",async()=>{this._isLoadingHistory.value=!0,this._threadHistoryFetchInfo.value.offset+=this._threadHistoryFetchInfo.value.limit;const e=await this._repository.getHistory(this._threadHistoryFetchInfo.value.limit,this._threadHistoryFetchInfo.value.offset);e.length<this._threadHistoryFetchInfo.value.limit&&(this._threadHistoryFetchInfo.value.done=!0);const t=[...this._history.value,...e];this._history.value=t,this._isLoadingHistory.value=!1});r(this,"setError",e=>{this._hasError.value=e});r(this,"setExecutingFormFile",e=>{this._executingFormFile.value=e});r(this,"_fillChat",e=>{this._logService.clear();for(const t of e)if(t.toolTitle)this._logService.log({type:"ai-tool-approval",toolCallId:t.toolCallId,description:t.toolTitle,args:{},disabled:!1,needsApproval:!1,loading:!1}),this._logService.log({type:"ai-tool-call-response",toolCallId:t.toolCallId,response:this.extractTextContent(t.content)});else{const s=this.extractAttachmentsFromContent(t.content);s.length>0&&t.role==="user"?this._logService.log({type:"ai-input",log:this.extractTextContent(t.content),attachments:s}):this._logService.log({type:t.role==="user"?"ai-input":"ai-output",log:this.extractTextContent(t.content)})}this.renderCopyButtons()});r(this,"moveThreadFromHistoryToRecents",e=>{this.conversationId.value=e;const t=this._history.value.find(i=>i.id===e);if(!t)throw new Error(`Thread ${e} not found`);const s=this._recentlyAccessedThreads.value.findIndex(i=>i.id===e);s!==-1&&this._recentlyAccessedThreads.value.splice(s,1),this._recentlyAccessedThreads.value.unshift(t),this._fillChat(t.messages)});r(this,"deleteThread",e=>{this._repository.deleteThread(e),this.removeFromRecentlyAccessedThreads(e);const t=this._history.value.findIndex(s=>s.id===e);t!==-1&&this._history.value.splice(t,1)});r(this,"setCurrentThreadFromRecents",e=>{this.conversationId.value=e;const t=this._recentlyAccessedThreads.value.findIndex(i=>i.id===e);if(t===-1)throw new Error(`Thread ${e} not found`);const[s]=this._recentlyAccessedThreads.value.splice(t,1);this._recentlyAccessedThreads.value.unshift(s),this._fillChat(s.messages)});r(this,"removeFromRecentlyAccessedThreads",e=>{const t=this._recentlyAccessedThreads.value.findIndex(s=>s.id===e);if(t===-1)throw new Error(`Thread ${e} not found`);if(this._recentlyAccessedThreads.value.splice(t,1),this._logService.clear(),this._recentlyAccessedThreads.value.length===0)this.conversationId.value=null;else{const s=this._recentlyAccessedThreads.value[0];this.conversationId.value=s.id,this._fillChat(s.messages)}});r(this,"renderCopyButtons",()=>{document.querySelectorAll("pre").forEach(t=>{t.style.position="relative";const s=te(Ne,{textToCopy:t.textContent});se(s,t)})});r(this,"clearLogService",()=>{this._logService.clear()});r(this,"extractTextContent",e=>typeof e=="string"?e:Array.isArray(e)?e.filter(t=>t.type==="text"&&t.text).map(t=>t.text).join(`
2
+ `):"");r(this,"extractAttachmentsFromContent",e=>{if(typeof e=="string"||!Array.isArray(e))return[];let t=0;return e.filter(s=>{var i;return s.type==="image_url"&&((i=s.image_url)==null?void 0:i.url)}).map(s=>{t++;const u=s.image_url.url.match(/^data:([^;]+);base64,(.+)$/);if(u){const[,l,h]=u,d=Math.ceil(h.length*3/4),g=l.split("/")[1]||"jpg";return{fileName:`image_${t}.${g}`,fileContent:h,fileSize:d,mimeType:l}}return{fileName:`image_${t}.jpg`,fileContent:"",fileSize:0,mimeType:"image/jpeg"}})});r(this,"send",async(e,t,s=0)=>{var i,u,l,h,d,g,n;this.conversationId.value||await this.setupThread(),s===0&&this._logService.log({type:"ai-input",log:this._input.value,attachments:this._attachments.value}),this._smartChatState.value="processing";try{const f=C(),y=this.conversationId.value;if(!y)throw new Error("Conversation ID is not set");const D=[{type:"text",text:this._input.value},...this._attachments.value.map(v=>({type:"file",fileName:v.fileName,fileContent:v.fileContent}))],U={currentEditorUrl:window.location.href,panesInfo:e||{}},q=this._repository.sendMessage(y,D,U,this.isIdle.bind(this),t);let F="",M=f,I="";for await(const v of q){if(this.isIdle())break;this._smartChatState.value==="processing"&&(this._smartChatState.value="answering");const a=v;if(typeof a=="string"){if(a.includes("abstra__trigger__retry"))throw new Error("AI service requested a retry");F+=a,I+=a,this._logService.log({type:"ai-output",log:I},M)}else if(a instanceof Object)if(a.type==="ai-tool-approval"){const J=(i=a.args)==null?void 0:i.file,k=!!(((u=a.args)==null?void 0:u.replacements)||((l=a.args)==null?void 0:l.content))&&this._executingFormFile.value===J,$=k?"This action can\u2019t be performed while the form is running":void 0;if(this._logService.log({type:"ai-tool-approval",toolCallId:a.toolCallId,description:a.title,args:a.args,disabled:k,needsApproval:!0,loading:!1,...$&&{message:$}}),((h=a.args)==null?void 0:h.file)&&((d=a.args)==null?void 0:d.replacements)){let b=a.args.replacements;typeof b=="string"&&(b=JSON.parse(b)),this.codeForApproval.value={file:a.args.file,replacements:b.map(H=>({oldContext:H.old_context,newContext:H.new_context}))}}else((g=a.args)==null?void 0:g.file)&&((n=a.args)==null?void 0:n.content)&&(this.codeForApproval.value={file:a.args.file,code:a.args.content})}else a.type==="ai-tool-call"?(this._logService.log({type:"ai-tool-approval",toolCallId:a.toolCallId,description:a.title,args:a.args,disabled:!1,needsApproval:!1,loading:!1}),M=C(),I=""):a.type==="ai-tool-call-response"&&this._logService.log({type:"ai-tool-call-response",toolCallId:a.toolCallId,response:a.response})}this._recentlyAccessedThreads.value=this._recentlyAccessedThreads.value.map(v=>(v.id===this.conversationId.value&&v.messages.unshift({role:"assistant",content:F,createdAt:new Date().toISOString()}),v)),this._input.value="",this._attachments.value=[],this._smartChatState.value="idle",this.renderCopyButtons()}catch(f){console.error(f),re(f),s>3?(this._logService.log({type:"ai-output",log:"Sorry, there was an issue processing your request. Please try again later."}),this._input.value="",this._smartChatState.value="idle",this.renderCopyButtons()):(this._logService.log({type:"ai-output",log:"We had some trouble, but we are already retrying your request..."}),await this.abort(),this._input.value="There was an unexpected error, please try again. You must continue from where you stopped as if nothing happened.",this.send(e,t,s+1))}});r(this,"abort",async()=>{if(!this.conversationId.value)throw new Error("Conversation ID is not set");this.loadingAbort.value=!0,await this._repository.abortStreaming(this.conversationId.value),this._smartChatState.value="idle",this.loadingAbort.value=!1});r(this,"isLoadingHistory",()=>this._isLoadingHistory.value);r(this,"isProcessing",()=>this._smartChatState.value==="processing");r(this,"isAnswering",()=>this._smartChatState.value==="answering");r(this,"isIdle",()=>this._smartChatState.value==="idle");r(this,"setSeen",()=>{this._badgeState.value={type:"seen"}});r(this,"setUnseen",e=>{this._badgeState.value={type:"unseen",count:this._badgeState.value.type==="unseen"?this._badgeState.value.count+1:1,severity:e.type==="stderr"?"error":"info"}});r(this,"setInput",(e,t)=>{e=e==null?void 0:e.trimEnd(),this._input.value=e||"",this._attachments.value=t||[]});r(this,"regenerateLast",async()=>{for(let e=this._logService.logs.length-1;e>=0;e--){const t=this._logService.logs[e];if(t.type==="ai-input"){this.setInput(t.log);break}}await this.send()});r(this,"fixJson",async(e,t)=>{this._logService.clear(),this._logService.log({type:"ai-input",log:`here is my json code:
3
3
  ${e}
4
4
  And I got this error:`}),this._logService.log({type:"stderr",log:t}),this.setSeen(),this.setInput("Can you fix this JSON?"),await this.send()});r(this,"askAboutError",async(e,t)=>{this._logService.clear(),this.setInput(["Fix the following error based on my logs:",...e.entries.map(s=>s.payload.text),`My current code is: ${t||"No code provided"}`].join(`
5
5
  `)),await this.send()});r(this,"fixIssueWithAI",async(e,t)=>{this._logService.clear(),this.setInput(["Fix the following issue in my code:",e.label,t.label].join(`
6
6
  `)),await this.send()});this._repository=e,this._logService=t,this.conversationId=c(null),this._input=c(""),this._attachments=c([]),this._badgeState=c({type:"seen"}),this._smartChatState=c("idle")}init(){this.setupThread(),this.renderCopyButtons()}get hasError(){var e;return((e=this._hasError.value)==null?void 0:e.payload)||null}get logService(){return this._logService}shouldRenderLoadMoreHistory(){return!this._threadHistoryFetchInfo.value.done}get pastThreads(){return this._history.value.map(e=>{if(e.messages.length===0)return{threadId:e.id,title:"New thread"};{const t=this.extractTextContent(e.messages[0].content);return{threadId:e.id,title:t.slice(0,20)+"..."}}})}get recentlyAccessedThreads(){return this._recentlyAccessedThreads.value.map(e=>{if(e.messages.length===0)return{threadId:e.id,title:"New thread"};{const t=this.extractTextContent(e.messages[0].content);return{threadId:e.id,title:t.slice(0,20)+"..."}}})}get badgeState(){return this._badgeState.value}get input(){return this._input.value}}class E{constructor(){r(this,"logState",ie({log:[]}));r(this,"_listeners",{});r(this,"getLastExecutionLogs",e=>{let t="";for(let s=this.logs.length-1;s>=0;s--){const i=this.logs[s];if(i.type!==e&&t.length>0)break;i.type===e&&(t=`${i.log}
7
7
  ${t}`)}return t})}static create(){return new E}get logs(){return this.logState.log}hasAiLogs(){return this.logs.some(e=>e.type==="ai-input"||e.type==="ai-output")}log(e,t){if(e.type!=="restart"&&e.type!=="ai-tool-approval"&&e.type!=="ai-tool-call-response"&&"log"in e&&e.log.trim()==="")return;const s=t?this.logs.find(i=>i.id===t):null;return s?(s.type==="stderr"&&e.type==="stderr"&&(e.log=s.log+`
8
- `+e.log),Object.assign(s,e)):this.logs.push({...e,id:t||b()}),this.notifyListeners(e),t}clear(){this.logState.log=[]}listen(e){const t=b();return this._listeners[t]=e,t}unlisten(e){delete this._listeners[e]}notifyListeners(e){Object.values(this._listeners).forEach(t=>t(e))}}const Ue=new ae,qe=oe("omniChat",()=>{const a=c(!0),e=c(!1),t=E.create(),s=O(),i=O(),u=(f,y)=>{if(!i.value)if(f==="console"){if(!y)throw new Error("Project ID is required for console chat");s.value=new He(y),i.value=new B(s.value,t)}else s.value=new $e,i.value=new B(s.value,t)},l=()=>{e.value=!0},h=()=>{e.value=!1},d=()=>{a.value=!0,l()},g=()=>{a.value=!1,h()};return{isOpen:a,isInputFocused:e,focusInput:l,blurInput:h,open:d,close:g,toggle:()=>{a.value?g():d()},controller:w(()=>i.value),repository:s,init:u}});export{Fe as H,$e as L,B as S,E as a,Ue as o,qe as u};
9
- //# sourceMappingURL=omniChatStore.07f62bd5.js.map
8
+ `+e.log),Object.assign(s,e)):this.logs.push({...e,id:t||C()}),this.notifyListeners(e),t}clear(){this.logState.log=[]}listen(e){const t=C();return this._listeners[t]=e,t}unlisten(e){delete this._listeners[e]}notifyListeners(e){Object.values(this._listeners).forEach(t=>t(e))}}const Ue=new oe,qe=ae("omniChat",()=>{const o=c(!0),e=c(!1),t=E.create(),s=O(),i=O(),u=(f,y)=>{if(!i.value)if(f==="console"){if(!y)throw new Error("Project ID is required for console chat");s.value=new He(y),i.value=new B(s.value,t)}else s.value=new $e,i.value=new B(s.value,t)},l=()=>{e.value=!0},h=()=>{e.value=!1},d=()=>{o.value=!0,l()},g=()=>{o.value=!1,h()};return{isOpen:o,isInputFocused:e,focusInput:l,blurInput:h,open:d,close:g,toggle:()=>{o.value?g():d()},controller:w(()=>i.value),repository:s,init:u}});export{Fe as H,$e as L,B as S,E as a,Ue as o,qe as u};
9
+ //# sourceMappingURL=omniChatStore.10d769d2.js.map
@@ -1,2 +1,2 @@
1
- var c=Object.defineProperty;var l=(a,t,e)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var i=(a,t,e)=>(l(a,typeof t!="symbol"?t+"":t,e),e);import{k as s}from"./router.cfb03f89.js";import"./jwt-decode.esm.47f59010.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="c2a3c6b6-9019-4b42-aef6-0b2d02e283aa",a._sentryDebugIdIdentifier="sentry-dbid-c2a3c6b6-9019-4b42-aef6-0b2d02e283aa")}catch{}})();class o{constructor(){i(this,"urlPath","organizations")}async create(t){return s.post(`${this.urlPath}`,t)}async delete(t){await s.delete(`${this.urlPath}/${t}`)}async rename(t,e){await s.patch(`${this.urlPath}/${t}`,{name:e})}async list(){return s.get(`${this.urlPath}`)}async get(t){return s.get(`${this.urlPath}/${t}`)}async getUsageReportUrl(t){return s.get(`${this.urlPath}/${t}/usage-report`)}}const r=new o;class n{constructor(t){this.dto=t}static async list(){return(await r.list()).map(e=>new n(e))}static async create(t){const e=await r.create({name:t});return new n(e)}static async get(t){const e=await r.get(t);return new n(e)}static async rename(t,e){return r.rename(t,e)}get id(){return this.dto.id}get name(){return this.dto.name}get featureFlags(){return this.dto.featureFlags}get billingMetadata(){return this.dto.billingMetadata}get coalescedPlan(){var t;return(t=this.billingMetadata.plan)!=null?t:"No active plan"}get hasUsageReport(){return["Business","Abstra"].includes(this.coalescedPlan)}async getUsageReportUrl(){return r.getUsageReportUrl(this.id)}}export{o as O,n as a};
2
- //# sourceMappingURL=organization.298987a0.js.map
1
+ var c=Object.defineProperty;var d=(a,t,e)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var i=(a,t,e)=>(d(a,typeof t!="symbol"?t+"":t,e),e);import{k as s}from"./router.29e08ea4.js";import"./jwt-decode.esm.32f71954.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="56c0c40b-095d-4bd0-86a8-7e389b138994",a._sentryDebugIdIdentifier="sentry-dbid-56c0c40b-095d-4bd0-86a8-7e389b138994")}catch{}})();class l{constructor(){i(this,"urlPath","organizations")}async create(t){return s.post(`${this.urlPath}`,t)}async delete(t){await s.delete(`${this.urlPath}/${t}`)}async rename(t,e){await s.patch(`${this.urlPath}/${t}`,{name:e})}async list(){return s.get(`${this.urlPath}`)}async get(t){return s.get(`${this.urlPath}/${t}`)}async getUsageReportUrl(t){return s.get(`${this.urlPath}/${t}/usage-report`)}}const r=new l;class n{constructor(t){this.dto=t}static async list(){return(await r.list()).map(e=>new n(e))}static async create(t){const e=await r.create({name:t});return new n(e)}static async get(t){const e=await r.get(t);return new n(e)}static async rename(t,e){return r.rename(t,e)}get id(){return this.dto.id}get name(){return this.dto.name}get featureFlags(){return this.dto.featureFlags}get billingMetadata(){return this.dto.billingMetadata}get coalescedPlan(){var t;return(t=this.billingMetadata.plan)!=null?t:"No active plan"}get hasUsageReport(){return["Business","Abstra"].includes(this.coalescedPlan)}async getUsageReportUrl(){return r.getUsageReportUrl(this.id)}}export{l as O,n as a};
2
+ //# sourceMappingURL=organization.2c5a9815.js.map
@@ -1,2 +1,2 @@
1
- import{d as H,at as i,c as Z,o as l,ac as t,ae as M,h as c,ed as p,e as r}from"./jwt-decode.esm.47f59010.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[e]="fc19245e-6880-4cdb-8486-d662bd01fd38",h._sentryDebugIdIdentifier="sentry-dbid-fc19245e-6880-4cdb-8486-d662bd01fd38")}catch{}})();const y=["width","height","fill","transform"],f={key:0},w=r("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"},null,-1),$=[w],b={key:1},k=r("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),S=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),B=[k,S],C={key:2},z=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),L=[z],V={key:3},x=r("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"},null,-1),N=[x],P={key:4},_=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),I=[_],D={key:5},E=r("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"},null,-1),O=[E],T={name:"PhGlobe"},d1=H({...T,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const e=h,d=i("weight","regular"),A=i("size","1em"),s=i("color","currentColor"),u=i("mirrored",!1),o=Z(()=>{var a;return(a=e.weight)!=null?a:d}),n=Z(()=>{var a;return(a=e.size)!=null?a:A}),m=Z(()=>{var a;return(a=e.color)!=null?a:s}),g=Z(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,v)=>(l(),t("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:m.value,transform:g.value},a.$attrs),[M(a.$slots,"default"),o.value==="bold"?(l(),t("g",f,$)):o.value==="duotone"?(l(),t("g",b,B)):o.value==="fill"?(l(),t("g",C,L)):o.value==="light"?(l(),t("g",V,N)):o.value==="regular"?(l(),t("g",P,I)):o.value==="thin"?(l(),t("g",D,O)):c("",!0)],16,y))}}),j=["width","height","fill","transform"],R={key:0},q=r("path",{d:"M120,137,48,201A12,12,0,1,1,32,183l61.91-55L32,73A12,12,0,1,1,48,55l72,64A12,12,0,0,1,120,137Zm96,43H120a12,12,0,0,0,0,24h96a12,12,0,0,0,0-24Z"},null,-1),F=[q],G={key:1},W=r("path",{d:"M216,80V192H40V64H200A16,16,0,0,1,216,80Z",opacity:"0.2"},null,-1),U=r("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),X=[W,U],J={key:2},K=r("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM77.66,173.66a8,8,0,0,1-11.32-11.32L100.69,128,66.34,93.66A8,8,0,0,1,77.66,82.34l40,40a8,8,0,0,1,0,11.32ZM192,176H128a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"},null,-1),Q=[K],Y={key:3},a1=r("path",{d:"M116,132.48l-72,64a6,6,0,0,1-8-9L103,128,36,68.49a6,6,0,0,1,8-9l72,64a6,6,0,0,1,0,9ZM216,186H120a6,6,0,0,0,0,12h96a6,6,0,0,0,0-12Z"},null,-1),e1=[a1],l1={key:4},t1=r("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),r1=[t1],o1={key:5},h1=r("path",{d:"M116,128a4,4,0,0,1-1.34,3l-72,64a4,4,0,1,1-5.32-6L106,128,37.34,67a4,4,0,0,1,5.32-6l72,64A4,4,0,0,1,116,128Zm100,60H120a4,4,0,0,0,0,8h96a4,4,0,0,0,0-8Z"},null,-1),i1=[h1],Z1={name:"PhTerminal"},A1=H({...Z1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const e=h,d=i("weight","regular"),A=i("size","1em"),s=i("color","currentColor"),u=i("mirrored",!1),o=Z(()=>{var a;return(a=e.weight)!=null?a:d}),n=Z(()=>{var a;return(a=e.size)!=null?a:A}),m=Z(()=>{var a;return(a=e.color)!=null?a:s}),g=Z(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,v)=>(l(),t("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:m.value,transform:g.value},a.$attrs),[M(a.$slots,"default"),o.value==="bold"?(l(),t("g",R,F)):o.value==="duotone"?(l(),t("g",G,X)):o.value==="fill"?(l(),t("g",J,Q)):o.value==="light"?(l(),t("g",Y,e1)):o.value==="regular"?(l(),t("g",l1,r1)):o.value==="thin"?(l(),t("g",o1,i1)):c("",!0)],16,j))}});class s1{static get isMac(){return navigator.userAgent.includes("Mac OS X")}static get buildPlatform(){return{}.CURRENT_PLATFORM||"web"}}export{A1 as F,d1 as I,s1 as O};
2
- //# sourceMappingURL=os.faa277a9.js.map
1
+ import{d as c,at as i,c as Z,o as l,ac as t,ae as H,h as M,ed as p,e as r}from"./jwt-decode.esm.32f71954.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[e]="54e4dde1-c755-4ee8-851b-feccfc87cdb2",h._sentryDebugIdIdentifier="sentry-dbid-54e4dde1-c755-4ee8-851b-feccfc87cdb2")}catch{}})();const y=["width","height","fill","transform"],f={key:0},w=r("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"},null,-1),$=[w],b={key:1},k=r("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),S=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),B=[k,S],C={key:2},z=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),L=[z],V={key:3},x=r("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"},null,-1),N=[x],P={key:4},_=r("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1),I=[_],D={key:5},E=r("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"},null,-1),O=[E],T={name:"PhGlobe"},A1=c({...T,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const e=h,A=i("weight","regular"),d=i("size","1em"),s=i("color","currentColor"),u=i("mirrored",!1),o=Z(()=>{var a;return(a=e.weight)!=null?a:A}),n=Z(()=>{var a;return(a=e.size)!=null?a:d}),m=Z(()=>{var a;return(a=e.color)!=null?a:s}),g=Z(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,v)=>(l(),t("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:m.value,transform:g.value},a.$attrs),[H(a.$slots,"default"),o.value==="bold"?(l(),t("g",f,$)):o.value==="duotone"?(l(),t("g",b,B)):o.value==="fill"?(l(),t("g",C,L)):o.value==="light"?(l(),t("g",V,N)):o.value==="regular"?(l(),t("g",P,I)):o.value==="thin"?(l(),t("g",D,O)):M("",!0)],16,y))}}),j=["width","height","fill","transform"],R={key:0},q=r("path",{d:"M120,137,48,201A12,12,0,1,1,32,183l61.91-55L32,73A12,12,0,1,1,48,55l72,64A12,12,0,0,1,120,137Zm96,43H120a12,12,0,0,0,0,24h96a12,12,0,0,0,0-24Z"},null,-1),F=[q],G={key:1},W=r("path",{d:"M216,80V192H40V64H200A16,16,0,0,1,216,80Z",opacity:"0.2"},null,-1),U=r("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),X=[W,U],J={key:2},K=r("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM77.66,173.66a8,8,0,0,1-11.32-11.32L100.69,128,66.34,93.66A8,8,0,0,1,77.66,82.34l40,40a8,8,0,0,1,0,11.32ZM192,176H128a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"},null,-1),Q=[K],Y={key:3},a1=r("path",{d:"M116,132.48l-72,64a6,6,0,0,1-8-9L103,128,36,68.49a6,6,0,0,1,8-9l72,64a6,6,0,0,1,0,9ZM216,186H120a6,6,0,0,0,0,12h96a6,6,0,0,0,0-12Z"},null,-1),e1=[a1],l1={key:4},t1=r("path",{d:"M117.31,134l-72,64a8,8,0,1,1-10.63-12L100,128,34.69,70A8,8,0,1,1,45.32,58l72,64a8,8,0,0,1,0,12ZM216,184H120a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Z"},null,-1),r1=[t1],o1={key:5},h1=r("path",{d:"M116,128a4,4,0,0,1-1.34,3l-72,64a4,4,0,1,1-5.32-6L106,128,37.34,67a4,4,0,0,1,5.32-6l72,64A4,4,0,0,1,116,128Zm100,60H120a4,4,0,0,0,0,8h96a4,4,0,0,0,0-8Z"},null,-1),i1=[h1],Z1={name:"PhTerminal"},d1=c({...Z1,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(h){const e=h,A=i("weight","regular"),d=i("size","1em"),s=i("color","currentColor"),u=i("mirrored",!1),o=Z(()=>{var a;return(a=e.weight)!=null?a:A}),n=Z(()=>{var a;return(a=e.size)!=null?a:d}),m=Z(()=>{var a;return(a=e.color)!=null?a:s}),g=Z(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:u?"scale(-1, 1)":void 0);return(a,v)=>(l(),t("svg",p({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:n.value,height:n.value,fill:m.value,transform:g.value},a.$attrs),[H(a.$slots,"default"),o.value==="bold"?(l(),t("g",R,F)):o.value==="duotone"?(l(),t("g",G,X)):o.value==="fill"?(l(),t("g",J,Q)):o.value==="light"?(l(),t("g",Y,e1)):o.value==="regular"?(l(),t("g",l1,r1)):o.value==="thin"?(l(),t("g",o1,i1)):M("",!0)],16,j))}});class s1{static get isMac(){return navigator.userAgent.includes("Mac OS X")}static get buildPlatform(){return{}.CURRENT_PLATFORM||"web"}}export{d1 as F,A1 as I,s1 as O};
2
+ //# sourceMappingURL=os.d718583c.js.map
@@ -0,0 +1,2 @@
1
+ import{C as n,D as r,E as o,F as d,P as c,G as p,H as m,I as u,J as a,K as f,L as b,N as g,O as l}from"./jwt-decode.esm.32f71954.js";import{a as y,b as i}from"./router.235ae730.js";import{s as w}from"./workspaceStore.5dfe5329.js";import{_ as h}from"./App.vue_vue_type_style_index_0_lang.7b340da5.js";import"./userStore.339db438.js";import"./url.79cc02c3.js";import"./colorHelpers.b41220cb.js";import"./PlayerConfigProvider.d0d5439f.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]="2273cd3e-6501-4db4-9327-5d0d3d8ab992",t._sentryDebugIdIdentifier="sentry-dbid-2273cd3e-6501-4db4-9327-5d0d3d8ab992")}catch{}})();class I{static init(){setInterval(()=>{fetch("/_healthcheck").catch(()=>{})},20*1e3)}}(async()=>{await w();const t=await y(),s=n(),e=r({render:()=>f(h)});o.init(),d(e,i,t),I.init(),e.use(i),e.use(s),e.use(c),e.mount("#app"),e.component("VSelect",p),e.component("Markdown",m),e.component("Message",u),a(e,b),a(e,g),a(e,l)})();
2
+ //# sourceMappingURL=player.66868a86.js.map