abstra 3.23.6__py3-none-any.whl → 3.23.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. {abstra-3.23.6.dist-info → abstra-3.23.7.dist-info}/METADATA +1 -1
  2. {abstra-3.23.6.dist-info → abstra-3.23.7.dist-info}/RECORD +164 -164
  3. abstra_internals/contracts_generated.py +3791 -3236
  4. abstra_statics/dist/assets/{AbstraButton.vue_vue_type_script_setup_true_lang.5ac4912e.js → AbstraButton.vue_vue_type_script_setup_true_lang.9812dba9.js} +2 -2
  5. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.0c707a8b.js +2 -0
  6. abstra_statics/dist/assets/ApiKeys.902caf82.js +2 -0
  7. abstra_statics/dist/assets/App.f0468c7f.js +2 -0
  8. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.864018b5.js +2 -0
  9. abstra_statics/dist/assets/BaseLayout.8bd18c5f.js +2 -0
  10. abstra_statics/dist/assets/Billing.877a4614.js +2 -0
  11. abstra_statics/dist/assets/{Breadcrumb.6179cdce.js → Breadcrumb.f312111a.js} +2 -2
  12. abstra_statics/dist/assets/{Builds.43df5473.js → Builds.a2c45c39.js} +2 -2
  13. abstra_statics/dist/assets/{Card.bf61638b.js → Card.5f504e7b.js} +2 -2
  14. abstra_statics/dist/assets/{CircularLoading.e6d19d98.js → CircularLoading.6f511e29.js} +2 -2
  15. abstra_statics/dist/assets/CloseCircleOutlined.2815d641.js +2 -0
  16. abstra_statics/dist/assets/{ConnectorsView.5cef13aa.css → ConnectorsView.17764dde.css} +1 -1
  17. abstra_statics/dist/assets/ConnectorsView.4e22242f.js +2 -0
  18. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.17b546d4.js +2 -0
  19. abstra_statics/dist/assets/ContentLayout.c7733a0e.js +2 -0
  20. abstra_statics/dist/assets/{CrudView.bbc83763.js → CrudView.5a642b48.js} +2 -2
  21. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.2c5aae83.js +2 -0
  22. abstra_statics/dist/assets/{EditorLogin.d00bf0ff.js → EditorLogin.d2224782.js} +2 -2
  23. abstra_statics/dist/assets/{EditorsView.99ba9c06.js → EditorsView.5e769180.js} +2 -2
  24. abstra_statics/dist/assets/EnvVars.74e357b2.js +2 -0
  25. abstra_statics/dist/assets/Error.dd899e38.js +2 -0
  26. abstra_statics/dist/assets/ExclamationCircleOutlined.9b25ffda.js +2 -0
  27. abstra_statics/dist/assets/{Files.7358e813.js → Files.d9621f31.js} +2 -2
  28. abstra_statics/dist/assets/Form.9eebd960.js +2 -0
  29. abstra_statics/dist/assets/FormRunner.1c6a88dd.js +2 -0
  30. abstra_statics/dist/assets/{FormRunner.714ce2c1.css → FormRunner.46f6426d.css} +1 -1
  31. abstra_statics/dist/assets/Home.9531e545.js +2 -0
  32. abstra_statics/dist/assets/Home.b12bb81a.js +2 -0
  33. abstra_statics/dist/assets/{Live.50f8f3ee.js → Live.a691b0eb.js} +2 -2
  34. abstra_statics/dist/assets/LoadingContainer.c40ae513.js +2 -0
  35. abstra_statics/dist/assets/LoadingOutlined.b607eff2.js +2 -0
  36. abstra_statics/dist/assets/Login.5f104bb1.js +2 -0
  37. abstra_statics/dist/assets/{Login.35337e9b.js → Login.f96858b0.js} +2 -2
  38. abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.7d56cca3.js +2 -0
  39. abstra_statics/dist/assets/Logo.a34929e1.js +2 -0
  40. abstra_statics/dist/assets/{Logs.412b505f.js → Logs.8426d360.js} +2 -2
  41. abstra_statics/dist/assets/{LogsController.770e0220.js → LogsController.318117fd.js} +2 -2
  42. abstra_statics/dist/assets/Main.7030ea1d.js +2 -0
  43. abstra_statics/dist/assets/MockForm.f8600bec.js +2 -0
  44. abstra_statics/dist/assets/Navbar.a1055174.js +2 -0
  45. abstra_statics/dist/assets/{NewEditor.13d26823.js → NewEditor.6b2cb8e6.js} +5 -5
  46. abstra_statics/dist/assets/{NewEditor.8f32e814.css → NewEditor.d3300cf0.css} +1 -1
  47. abstra_statics/dist/assets/OidcLoginCallback.445dd392.js +2 -0
  48. abstra_statics/dist/assets/OidcLogoutCallback.485fb0b9.js +2 -0
  49. abstra_statics/dist/assets/{OmniChat.cb7c5f10.js → OmniChat.097bec71.js} +2 -2
  50. abstra_statics/dist/assets/{OnboardingView.611e451f.js → OnboardingView.c9a3343e.js} +2 -2
  51. abstra_statics/dist/assets/{Organization.16168e9f.js → Organization.0833b7fe.js} +2 -2
  52. abstra_statics/dist/assets/Organizations.1c35b6b8.js +2 -0
  53. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.3f439d6d.js → PhArrowCounterClockwise.vue.aaa06bc0.js} +2 -2
  54. abstra_statics/dist/assets/{PhArrowSquareOut.vue.73431843.js → PhArrowSquareOut.vue.ee4af292.js} +2 -2
  55. abstra_statics/dist/assets/{PhBookBookmark.vue.f5df4397.js → PhBookBookmark.vue.681c5036.js} +2 -2
  56. abstra_statics/dist/assets/{PhChats.vue.20c511b5.js → PhChats.vue.d61c3615.js} +2 -2
  57. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.21ab2795.js → PhClockCounterClockwise.vue.0457e9b2.js} +2 -2
  58. abstra_statics/dist/assets/{PhCopy.vue.f0a6fc0c.js → PhCopy.vue.391b0ef7.js} +2 -2
  59. abstra_statics/dist/assets/{PhCopySimple.vue.f585b051.js → PhCopySimple.vue.e887b43c.js} +2 -2
  60. abstra_statics/dist/assets/{PhCube.vue.c7b0863a.js → PhCube.vue.d070a184.js} +2 -2
  61. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.c1812ea8.js → PhDotsThreeVertical.vue.f4b60771.js} +2 -2
  62. abstra_statics/dist/assets/PhDownloadSimple.vue.3444d06b.js +2 -0
  63. abstra_statics/dist/assets/{PhFolderPlus.vue.0cd449af.js → PhFolderPlus.vue.d5788203.js} +2 -2
  64. abstra_statics/dist/assets/{PhGear.vue.24fe28a2.js → PhGear.vue.e2b120bb.js} +2 -2
  65. abstra_statics/dist/assets/{PhKey.vue.39ca7afb.js → PhKey.vue.cf1e08ca.js} +2 -2
  66. abstra_statics/dist/assets/{PhPencil.vue.a86916ee.js → PhPencil.vue.20f1b3c4.js} +2 -2
  67. abstra_statics/dist/assets/{PhPencilSimple.vue.80a4282f.js → PhPencilSimple.vue.ec2125f5.js} +2 -2
  68. abstra_statics/dist/assets/{PhPencilSimpleLine.vue.a1883531.js → PhPencilSimpleLine.vue.22e75a5a.js} +2 -2
  69. abstra_statics/dist/assets/{PhRocket.vue.acacaa11.js → PhRocket.vue.27c6f935.js} +2 -2
  70. abstra_statics/dist/assets/{PhSignOut.vue.3cb7cd40.js → PhSignOut.vue.61b63ec0.js} +2 -2
  71. abstra_statics/dist/assets/{PhSparkle.vue.8e334c6d.js → PhSparkle.vue.fd6a9ad7.js} +2 -2
  72. abstra_statics/dist/assets/{PhUserList.vue.38f46bf2.js → PhUserList.vue.abdd6da1.js} +2 -2
  73. abstra_statics/dist/assets/{PhUsersThree.vue.f3486eeb.js → PhUsersThree.vue.85d1a1f0.js} +2 -2
  74. abstra_statics/dist/assets/{PhWebhooksLogo.vue.3f80aef6.js → PhWebhooksLogo.vue.00b65b2c.js} +2 -2
  75. abstra_statics/dist/assets/{PlayerConfigProvider.0ec5f598.js → PlayerConfigProvider.10f46997.js} +2 -2
  76. abstra_statics/dist/assets/PlayerNavbar.f2f66852.js +2 -0
  77. abstra_statics/dist/assets/{Project.997d68f7.js → Project.2fdca57c.js} +2 -2
  78. abstra_statics/dist/assets/ProjectLogin.7660cd84.js +2 -0
  79. abstra_statics/dist/assets/{ProjectSettings.17a585e6.js → ProjectSettings.50027450.js} +2 -2
  80. abstra_statics/dist/assets/{ProjectsView.3f2dabb4.js → ProjectsView.107f5e34.js} +2 -2
  81. abstra_statics/dist/assets/{SaveButton.57d5b00a.js → SaveButton.cd025dae.js} +2 -2
  82. abstra_statics/dist/assets/{Sidebar.3bc6e6c7.js → Sidebar.c3d5d187.js} +2 -2
  83. abstra_statics/dist/assets/{Sql.c74977b7.js → Sql.7d92acbb.js} +2 -2
  84. abstra_statics/dist/assets/Steps.b12e16c6.js +2 -0
  85. abstra_statics/dist/assets/{TableEditor.791324c3.js → TableEditor.7b07ece4.js} +2 -2
  86. abstra_statics/dist/assets/Tables.aa6b418c.js +2 -0
  87. abstra_statics/dist/assets/{TablesDiagram.d27523e8.js → TablesDiagram.6736c045.js} +3 -3
  88. abstra_statics/dist/assets/{TablesTabs.vue_vue_type_script_setup_true_lang.82db1c2e.js → TablesTabs.vue_vue_type_script_setup_true_lang.95ea10aa.js} +2 -2
  89. abstra_statics/dist/assets/{Tasks.9f66e5d4.js → Tasks.6660de00.js} +2 -2
  90. abstra_statics/dist/assets/{UploadOutlined.1e2f50aa.js → UploadOutlined.732440a5.js} +2 -2
  91. abstra_statics/dist/assets/{View.2b0dde2c.js → View.283e52c1.js} +2 -2
  92. abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.34afb660.js → View.vue_vue_type_script_setup_true_lang.483e52f9.js} +2 -2
  93. abstra_statics/dist/assets/Watermark.6076ef47.js +2 -0
  94. abstra_statics/dist/assets/{WebEditor.cdb4d362.js → WebEditor.6a012d5b.js} +2 -2
  95. abstra_statics/dist/assets/{WidgetPreview.73776456.js → WidgetPreview.b01eed73.js} +2 -2
  96. abstra_statics/dist/assets/{ant-design.dc326d34.js → ant-design.4302db30.js} +2 -2
  97. abstra_statics/dist/assets/apiKey.1c96dd66.js +2 -0
  98. abstra_statics/dist/assets/{asyncComputed.decbe125.js → asyncComputed.59410422.js} +2 -2
  99. abstra_statics/dist/assets/{build.36ea33ce.js → build.656c5601.js} +2 -2
  100. abstra_statics/dist/assets/{colorHelpers.f396fe13.js → colorHelpers.2a607581.js} +2 -2
  101. abstra_statics/dist/assets/{console.d7a64eef.js → console.9b13e1da.js} +4 -4
  102. abstra_statics/dist/assets/constants.733c6549.js +2 -0
  103. abstra_statics/dist/assets/{cssMode.a2f505eb.js → cssMode.6d17ca95.js} +2 -2
  104. abstra_statics/dist/assets/datetime.adbf692e.js +2 -0
  105. abstra_statics/dist/assets/dayjs.9e279491.js +2 -0
  106. abstra_statics/dist/assets/editor.7e30500a.js +2 -0
  107. abstra_statics/dist/assets/editor.main.4675b13a.js +2 -0
  108. abstra_statics/dist/assets/fetch.13b54f0f.js +2 -0
  109. abstra_statics/dist/assets/{files.b6e46123.js → files.f66880c3.js} +2 -2
  110. abstra_statics/dist/assets/{folder.8e3a1b23.js → folder.9092348a.js} +2 -2
  111. abstra_statics/dist/assets/{freemarker2.48cf9094.js → freemarker2.82f2cb8c.js} +2 -2
  112. abstra_statics/dist/assets/{handlebars.b7185455.js → handlebars.36ec2a3c.js} +3 -3
  113. abstra_statics/dist/assets/{html.9eecf18a.js → html.845da565.js} +2 -2
  114. abstra_statics/dist/assets/{htmlMode.1b022721.js → htmlMode.980f76b4.js} +2 -2
  115. abstra_statics/dist/assets/{index.36aedb48.js → index.0f357aec.js} +2 -2
  116. abstra_statics/dist/assets/{index.2d59a444.js → index.1551abd6.js} +3 -3
  117. abstra_statics/dist/assets/{index.726d6111.js → index.1e12c884.js} +2 -2
  118. abstra_statics/dist/assets/index.4ecba4f7.js +2 -0
  119. abstra_statics/dist/assets/{index.bbe55f1a.js → index.55d10b71.js} +2 -2
  120. abstra_statics/dist/assets/{index.2f04e3f6.js → index.5dbe93c3.js} +5 -5
  121. abstra_statics/dist/assets/{index.25898d95.js → index.81a2ae08.js} +2 -2
  122. abstra_statics/dist/assets/{index.aca944a5.js → index.a2b9d34b.js} +2 -2
  123. abstra_statics/dist/assets/index.b3b62f71.js +2 -0
  124. abstra_statics/dist/assets/{javascript.84f7229f.js → javascript.b0154182.js} +3 -3
  125. abstra_statics/dist/assets/{jsonMode.1d488dc1.js → jsonMode.f86e9042.js} +2 -2
  126. abstra_statics/dist/assets/{jwt-decode.esm.28320b05.js → jwt-decode.esm.d86c27e0.js} +7 -7
  127. abstra_statics/dist/assets/linters.9ba6d5f8.js +2 -0
  128. abstra_statics/dist/assets/{liquid.5b33b8cc.js → liquid.029287f8.js} +3 -3
  129. abstra_statics/dist/assets/{member.73d141d7.js → member.3aca30ee.js} +2 -2
  130. abstra_statics/dist/assets/{metadata.8c8d4b20.js → metadata.18d0a278.js} +2 -2
  131. abstra_statics/dist/assets/{omniChatStore.b7128bc4.js → omniChatStore.16b8f156.js} +2 -2
  132. abstra_statics/dist/assets/{organization.7d79a3c7.js → organization.8b2c1c53.js} +2 -2
  133. abstra_statics/dist/assets/player.7f570660.js +2 -0
  134. abstra_statics/dist/assets/{plotly.min.bc8ddded.js → plotly.min.10467de2.js} +2 -2
  135. abstra_statics/dist/assets/polling.0b08b681.js +2 -0
  136. abstra_statics/dist/assets/{project.c76d644e.js → project.33809d47.js} +2 -2
  137. abstra_statics/dist/assets/{python.1a326b7a.js → python.ee23fd86.js} +3 -3
  138. abstra_statics/dist/assets/{razor.3d5f09e6.js → razor.4ae6d2a2.js} +2 -2
  139. abstra_statics/dist/assets/{record.1b6df81e.js → record.d087b37e.js} +2 -2
  140. abstra_statics/dist/assets/{redirect.d8affe75.js → redirect.c06a7828.js} +2 -2
  141. abstra_statics/dist/assets/{repository.37d2927a.js → repository.02efcdbd.js} +2 -2
  142. abstra_statics/dist/assets/{repository.cc27afed.js → repository.6fa74dff.js} +2 -2
  143. abstra_statics/dist/assets/router.7071f838.js +2 -0
  144. abstra_statics/dist/assets/{router.858e1af2.js → router.7936fd78.js} +3 -3
  145. abstra_statics/dist/assets/{string.4c218fd1.js → string.360236ba.js} +2 -2
  146. abstra_statics/dist/assets/{tables.337a9b65.js → tables.d580be9d.js} +2 -2
  147. abstra_statics/dist/assets/{tasksController.a06fd7d3.js → tasksController.b66c85ee.js} +2 -2
  148. abstra_statics/dist/assets/{toggleHighContrast.62d05446.js → toggleHighContrast.510bdb1d.js} +49 -49
  149. abstra_statics/dist/assets/{tsMode.cacd2597.js → tsMode.5c0f732d.js} +2 -2
  150. abstra_statics/dist/assets/{typescript.a2a6a629.js → typescript.0643a053.js} +3 -3
  151. abstra_statics/dist/assets/url.b31d406a.js +2 -0
  152. abstra_statics/dist/assets/userStore.f2537ff3.js +2 -0
  153. abstra_statics/dist/assets/uuid.d6d43ef5.js +2 -0
  154. abstra_statics/dist/assets/{vue-flow-background.d047c675.js → vue-flow-background.011d27ef.js} +2 -2
  155. abstra_statics/dist/assets/{vue-quill.esm-bundler.772b3404.js → vue-quill.esm-bundler.487756a5.js} +2 -2
  156. abstra_statics/dist/assets/workspaceStore.87f8dbc6.js +2 -0
  157. abstra_statics/dist/assets/{xml.e6a1736d.js → xml.c3c548ab.js} +3 -3
  158. abstra_statics/dist/assets/{yaml.47c8c844.js → yaml.0d909e29.js} +3 -3
  159. abstra_statics/dist/console.html +15 -15
  160. abstra_statics/dist/editor.html +11 -11
  161. abstra_statics/dist/player.html +9 -9
  162. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.9fc63b70.js +0 -2
  163. abstra_statics/dist/assets/ApiKeys.05b5ab9a.js +0 -2
  164. abstra_statics/dist/assets/App.c04b86c0.js +0 -2
  165. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.4abdaaf3.js +0 -2
  166. abstra_statics/dist/assets/BaseLayout.d7e7e9fe.js +0 -2
  167. abstra_statics/dist/assets/Billing.57e2ca6b.js +0 -2
  168. abstra_statics/dist/assets/CloseCircleOutlined.5183baf0.js +0 -2
  169. abstra_statics/dist/assets/ConnectorsView.c29b5831.js +0 -2
  170. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.c7982f0e.js +0 -2
  171. abstra_statics/dist/assets/ContentLayout.d3e84c3e.js +0 -2
  172. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.0796f440.js +0 -2
  173. abstra_statics/dist/assets/EnvVars.3223d4dd.js +0 -2
  174. abstra_statics/dist/assets/Error.73539d40.js +0 -2
  175. abstra_statics/dist/assets/ExclamationCircleOutlined.5ed9d71f.js +0 -2
  176. abstra_statics/dist/assets/Form.7b7f61dd.js +0 -2
  177. abstra_statics/dist/assets/FormRunner.617659c3.js +0 -2
  178. abstra_statics/dist/assets/Home.50e3cb44.js +0 -2
  179. abstra_statics/dist/assets/Home.e051b43c.js +0 -2
  180. abstra_statics/dist/assets/LoadingContainer.af0e1ba2.js +0 -2
  181. abstra_statics/dist/assets/LoadingOutlined.6ed83a08.js +0 -2
  182. abstra_statics/dist/assets/Login.99bd4c40.js +0 -2
  183. abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.d3c2d47f.js +0 -2
  184. abstra_statics/dist/assets/Logo.e3649776.js +0 -2
  185. abstra_statics/dist/assets/Main.738990b8.js +0 -2
  186. abstra_statics/dist/assets/MockForm.4ead504b.js +0 -2
  187. abstra_statics/dist/assets/Navbar.50988594.js +0 -2
  188. abstra_statics/dist/assets/OidcLoginCallback.4982d0fb.js +0 -2
  189. abstra_statics/dist/assets/OidcLogoutCallback.717d758c.js +0 -2
  190. abstra_statics/dist/assets/Organizations.68ef6411.js +0 -2
  191. abstra_statics/dist/assets/PhDownloadSimple.vue.24466182.js +0 -2
  192. abstra_statics/dist/assets/PlayerNavbar.24544fa8.js +0 -2
  193. abstra_statics/dist/assets/ProjectLogin.311c2cd8.js +0 -2
  194. abstra_statics/dist/assets/Steps.79eea5ae.js +0 -2
  195. abstra_statics/dist/assets/Tables.5cfd01db.js +0 -2
  196. abstra_statics/dist/assets/Watermark.047823a2.js +0 -2
  197. abstra_statics/dist/assets/apiKey.d428e427.js +0 -2
  198. abstra_statics/dist/assets/constants.54f5dbb0.js +0 -2
  199. abstra_statics/dist/assets/datetime.27912eb6.js +0 -2
  200. abstra_statics/dist/assets/dayjs.9a51c922.js +0 -2
  201. abstra_statics/dist/assets/editor.ac3f0982.js +0 -2
  202. abstra_statics/dist/assets/editor.main.39fc3e9d.js +0 -2
  203. abstra_statics/dist/assets/fetch.9946ecfe.js +0 -2
  204. abstra_statics/dist/assets/index.3a2ab2d2.js +0 -2
  205. abstra_statics/dist/assets/index.b0181193.js +0 -2
  206. abstra_statics/dist/assets/index.e21caff3.js +0 -2
  207. abstra_statics/dist/assets/linters.ed377d41.js +0 -2
  208. abstra_statics/dist/assets/player.027b4a53.js +0 -2
  209. abstra_statics/dist/assets/polling.0bb90faf.js +0 -2
  210. abstra_statics/dist/assets/url.e7d14364.js +0 -2
  211. abstra_statics/dist/assets/userStore.c0562f9d.js +0 -2
  212. abstra_statics/dist/assets/uuid.fe529613.js +0 -2
  213. abstra_statics/dist/assets/workspaceStore.20104d6a.js +0 -2
  214. {abstra-3.23.6.dist-info → abstra-3.23.7.dist-info}/WHEEL +0 -0
  215. {abstra-3.23.6.dist-info → abstra-3.23.7.dist-info}/entry_points.txt +0 -0
  216. {abstra-3.23.6.dist-info → abstra-3.23.7.dist-info}/top_level.txt +0 -0
@@ -1,2 +0,0 @@
1
- var ne=Object.defineProperty;var re=(r,e,t)=>e in r?ne(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var n=(r,e,t)=>(re(r,typeof e!="symbol"?e+"":e,t),t);import{u as useUserStore}from"./userStore.c0562f9d.js";import{d as defineComponent,am as inject,c as computed,o as openBlock,a5 as createElementBlock,a7 as renderSlot,h as createCommentVNode,e6 as mergeProps,e as createBaseVNode,el as lodash,eG as i18nProvider,a as createBlock,ef as resolveDynamicComponent,_ as _export_sfc,b as withCtx,u as unref,g as createTextVNode,r as ref,w as watch,f as createVNode,ea as normalizeClass,eT as StartWidget,eU as EndWidget,eV as ErrorWidget,aR as Fragment,ec as renderList,ed as toDisplayString,eW as StyleProvider,eF as withKeys,bR as Button}from"./jwt-decode.esm.28320b05.js";import{_ as _sfc_main$3}from"./Login.vue_vue_type_script_setup_true_lang.d3c2d47f.js";import{L as LoadingIndicator}from"./CircularLoading.e6d19d98.js";import{S as Steps}from"./Steps.79eea5ae.js";import{W as Watermark}from"./Watermark.047823a2.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]="c347c7f2-46b1-4ccc-936f-4b0a807b928d",r._sentryDebugIdIdentifier="sentry-dbid-c347c7f2-46b1-4ccc-936f-4b0a807b928d")}catch{}})();const Z=["width","height","fill","transform"],g={key:0},m=createBaseVNode("path",{d:"M112,36a12,12,0,0,0-12,12V60H24A20,20,0,0,0,4,80v96a20,20,0,0,0,20,20h76v12a12,12,0,0,0,24,0V48A12,12,0,0,0,112,36ZM28,172V84h72v88ZM252,80v96a20,20,0,0,1-20,20H152a12,12,0,0,1,0-24h76V84H152a12,12,0,0,1,0-24h80A20,20,0,0,1,252,80ZM88,112a12,12,0,0,1-12,12v20a12,12,0,0,1-24,0V124a12,12,0,0,1,0-24H76A12,12,0,0,1,88,112Z"},null,-1),y=[m],f={key:1},w=createBaseVNode("path",{d:"M240,80v96a8,8,0,0,1-8,8H24a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H232A8,8,0,0,1,240,80Z",opacity:"0.2"},null,-1),k=createBaseVNode("path",{d:"M112,40a8,8,0,0,0-8,8V64H24A16,16,0,0,0,8,80v96a16,16,0,0,0,16,16h80v16a8,8,0,0,0,16,0V48A8,8,0,0,0,112,40ZM24,176V80h80v96ZM248,80v96a16,16,0,0,1-16,16H144a8,8,0,0,1,0-16h88V80H144a8,8,0,0,1,0-16h88A16,16,0,0,1,248,80ZM88,112a8,8,0,0,1-8,8H72v24a8,8,0,0,1-16,0V120H48a8,8,0,0,1,0-16H80A8,8,0,0,1,88,112Z"},null,-1),x=[w,k],S={key:2},z=createBaseVNode("path",{d:"M248,80v96a16,16,0,0,1-16,16H140a4,4,0,0,1-4-4V68a4,4,0,0,1,4-4h92A16,16,0,0,1,248,80ZM120,48V208a8,8,0,0,1-16,0V192H24A16,16,0,0,1,8,176V80A16,16,0,0,1,24,64h80V48a8,8,0,0,1,16,0ZM88,112a8,8,0,0,0-8-8H48a8,8,0,0,0,0,16h8v24a8,8,0,0,0,16,0V120h8A8,8,0,0,0,88,112Z"},null,-1),C=[z],B={key:3},b=createBaseVNode("path",{d:"M112,42a6,6,0,0,0-6,6V66H24A14,14,0,0,0,10,80v96a14,14,0,0,0,14,14h82v18a6,6,0,0,0,12,0V48A6,6,0,0,0,112,42ZM24,178a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h82V178ZM246,80v96a14,14,0,0,1-14,14H144a6,6,0,0,1,0-12h88a2,2,0,0,0,2-2V80a2,2,0,0,0-2-2H144a6,6,0,0,1,0-12h88A14,14,0,0,1,246,80ZM86,112a6,6,0,0,1-6,6H70v26a6,6,0,0,1-12,0V118H48a6,6,0,0,1,0-12H80A6,6,0,0,1,86,112Z"},null,-1),N=[b],E={key:4},P=createBaseVNode("path",{d:"M112,40a8,8,0,0,0-8,8V64H24A16,16,0,0,0,8,80v96a16,16,0,0,0,16,16h80v16a8,8,0,0,0,16,0V48A8,8,0,0,0,112,40ZM24,176V80h80v96ZM248,80v96a16,16,0,0,1-16,16H144a8,8,0,0,1,0-16h88V80H144a8,8,0,0,1,0-16h88A16,16,0,0,1,248,80ZM88,112a8,8,0,0,1-8,8H72v24a8,8,0,0,1-16,0V120H48a8,8,0,0,1,0-16H80A8,8,0,0,1,88,112Z"},null,-1),W=[P],$={key:5},j=createBaseVNode("path",{d:"M112,44a4,4,0,0,0-4,4V68H24A12,12,0,0,0,12,80v96a12,12,0,0,0,12,12h84v20a4,4,0,0,0,8,0V48A4,4,0,0,0,112,44ZM24,180a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h84V180ZM244,80v96a12,12,0,0,1-12,12H144a4,4,0,0,1,0-8h88a4,4,0,0,0,4-4V80a4,4,0,0,0-4-4H144a4,4,0,0,1,0-8h88A12,12,0,0,1,244,80ZM84,112a4,4,0,0,1-4,4H68v28a4,4,0,0,1-8,0V116H48a4,4,0,0,1,0-8H80A4,4,0,0,1,84,112Z"},null,-1),T=[j],q={name:"PhTextbox"},G=defineComponent({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,t=inject("weight","regular"),a=inject("size","1em"),s=inject("color","currentColor"),i=inject("mirrored",!1),u=computed(()=>{var d;return(d=e.weight)!=null?d:t}),v=computed(()=>{var d;return(d=e.size)!=null?d:a}),_=computed(()=>{var d;return(d=e.color)!=null?d:s}),p=computed(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:i?"scale(-1, 1)":void 0);return(d,F)=>(openBlock(),createElementBlock("svg",mergeProps({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:v.value,height:v.value,fill:_.value,transform:p.value},d.$attrs),[renderSlot(d.$slots,"default"),u.value==="bold"?(openBlock(),createElementBlock("g",g,y)):u.value==="duotone"?(openBlock(),createElementBlock("g",f,x)):u.value==="fill"?(openBlock(),createElementBlock("g",S,C)):u.value==="light"?(openBlock(),createElementBlock("g",B,N)):u.value==="regular"?(openBlock(),createElementBlock("g",E,W)):u.value==="thin"?(openBlock(),createElementBlock("g",$,T)):createCommentVNode("",!0)],16,Z))}}),WS_CLOSING_STATES=[WebSocket.CLOSING,WebSocket.CLOSED],WS_CUSTOM_CLOSING_REASONS={FRONTEND_FORM_RESTART:4e3};class FormConnectionManager{constructor(e,t,a){n(this,"ws",null);n(this,"heartbeatInterval");n(this,"onOpen",null);n(this,"onMessage",null);n(this,"onClose",null);this.formId=e,this.environment=t,this.userQueryParams=a}get url(){const e=location.protocol==="https:"?"wss:":"ws:",t=this.environment=="editor"?"_editor/api/forms/socket":"_socket",a=new URLSearchParams({id:this.formId,...this.userQueryParams});return`${e}//${location.host}/${t}?${a}`}handleOpen(e){if(!this.onOpen)throw new Error("onOpen is not set");this.onOpen(),e()}handleClose(e){(e.code===1006||!e.wasClean)&&clearInterval(this.heartbeatInterval),this.onClose&&this.onClose(e)}handleMessage(e){if(!this.onMessage)throw new Error("onMessage is not set");const t=JSON.parse(e.data);this.onMessage(t)}sendHeartbeat(){!this.ws||this.ws.readyState!==this.ws.OPEN||this.send({type:"execution:heartbeat"})}async waitForConnection(e=5e3){const t=Date.now();for(;;){if(Date.now()-t>e)throw new Error("WebSocket connection timeout");if(!this.ws)throw new Error("WebSocket connection lost");if(this.ws.readyState===WebSocket.OPEN)return;if(this.ws.readyState===WebSocket.CLOSED||this.ws.readyState===WebSocket.CLOSING)throw new Error("WebSocket connection failed");await new Promise(a=>setTimeout(a,100))}}async send(e){if(!this.ws)throw new Error(`[FormRunnerController] failed sending msg ${e.type}: websocket is not connected`);if(WS_CLOSING_STATES.includes(this.ws.readyState)&&await this.newConnection(),this.ws.readyState===WebSocket.CONNECTING&&await this.waitForConnection(),this.ws&&this.ws.readyState===WebSocket.OPEN)this.ws.send(JSON.stringify(e));else throw new Error(`[FormRunnerController] failed sending msg ${e.type}: websocket is not in open state`)}async close(e){this.ws&&this.ws.close(WS_CUSTOM_CLOSING_REASONS[e],e)}async newConnection(e=3,t){if(e!=0)return new Promise(a=>{clearInterval(this.heartbeatInterval),this.ws=new WebSocket(this.url,t),this.ws.onopen=()=>this.handleOpen(a),this.ws.onclose=s=>this.handleClose(s),this.ws.onmessage=s=>this.handleMessage(s),this.heartbeatInterval=setInterval(()=>this.sendHeartbeat(),2e3)}).catch(()=>{this.newConnection(e-1)})}isEditorConnection(){return this.environment==="editor"}}function isInputWidget(r){return"key"in r&&"value"in r&&"errors"in r}const executeCode=($context,code)=>{let evaluatedCode;try{evaluatedCode=eval(code)}catch(r){throw console.error(`[Error: execute_js]: ${r.message}, context: ${$context}`),r}return isSerializable(evaluatedCode)?evaluatedCode:null};async function executeJs(r){return{type:"execute-js:response",value:await executeCode(r.context,r.code)}}const isSerializable=r=>{try{return JSON.stringify(r),!0}catch{return!1}},FORM_END_STATES=["default-end","page-end","error"],FORM_RUNNING_STATES=["authenticating","page","loading"];class FormRunnerController{constructor({formRunnerData:e,logService:t,connectionManager:a,onFormStart:s,onFormEnd:i,onRedirect:u,onStateUpdate:v,onStackTraceUpdate:_}){n(this,"connectionManager");n(this,"logService");n(this,"formRunnerData");n(this,"formState");n(this,"touchedWidgets",{});n(this,"messageSeq",0);n(this,"executionId",null);n(this,"onFormStart");n(this,"onFormEnd");n(this,"onRedirect");n(this,"onStackTraceUpdate");n(this,"onStateUpdate");n(this,"userStore");n(this,"responseHistory",[]);n(this,"lastResponseHistory",[]);n(this,"handlers",{"execution:started":[e=>this.handleExecutionStartedMessage(e)],"execution:ended":[e=>this.handleExecutionEndedMessage(e)],"form:render":[e=>this.handleRenderMessage(e)],"form:mount-page":[e=>this.handleMountPageMessage(e)],"form:update-page":[e=>this.handleUpdatePageMessage(e)],"auth:require-info":[e=>this.handleAuthRequireInfoMessage(e)],"auth:invalid-jwt":[e=>this.handleAuthInvalidJWTMessage(e)],"auth:valid-jwt":[e=>this.handleAuthValidTokenMessage(e)],"redirect:request":[e=>this.handleRedirectRequestMessage(e)],"execute-js:request":[e=>this.handleExecuteJSRequestMessage(e)]});n(this,"start",async()=>{this.setFormState({type:"loading"}),await this.connectionManager.newConnection(3,this.userStore.wsAuthHeaders)});n(this,"resetForm",async()=>{var e;(e=this.logService)==null||e.log({type:"stdout",log:"[Form reloaded]"}),await this.connectionManager.close("FRONTEND_FORM_RESTART"),this.resetState()});n(this,"reconnect",async()=>{this.resetState(),await this.start()});n(this,"resetState",()=>{this.messageSeq=0,this.setFormState({type:"waiting",actions:[this.getStartAction()]})});n(this,"debouncedFinishPageLoading",lodash.exports.debounce(()=>{if(this.formState.type!=="page")throw new Error("Can't start loading while not in render-page state");this.setFormState({...this.formState,actions:this.formState.actions.map(e=>({...e,loading:!1}))})},500));n(this,"getStartAction",()=>this.actionFromMessage({key:"start",label:this.formRunnerData.startButtonText||i18nProvider.translateIfFound("i18n_start_action",this.formRunnerData.language)}));n(this,"getEndStateActions",()=>{const e=this.formRunnerData.restartButtonText||i18nProvider.translateIfFound("i18n_restart_action",this.formRunnerData.language);return this.formRunnerData.allowRestart?[this.actionFromMessage({key:"i18n_restart_action",label:e})]:[]});n(this,"getState",()=>({formState:this.formState}));n(this,"handleConnectionOpen",()=>{this.connectionManager.send({type:"execution:start"})});n(this,"widgetFromMessage",(e,t)=>{if(isInputWidget(e)){"value"in e&&e.value&&(this.touchedWidgets[e.key]=!0);const a=e.errors.map(s=>i18nProvider.translateIfFound(s,this.formRunnerData.language,e));return{...e,input:!0,_pythonErrors:a,errors:a}}return{...e,input:!1,_pythonErrors:[],errors:[],key:e.type+t}});n(this,"actionFromMessage",({key:e,label:t})=>({key:e,label:i18nProvider.translateIfFound(t,this.formRunnerData.language,this.formRunnerData),disabled:!1,loading:!1}));n(this,"getAutofillVisibilty",e=>this.lastResponseHistory.length===0?!1:this.lastResponseHistory[0].some(t=>e.find(a=>a.key===t.key&&a.type===t.type&&"value"in a)));n(this,"handleAutofillClick",()=>{!this.lastResponseHistory[0]||this.formState.type==="page"&&(this.lastResponseHistory[0].forEach(t=>{!("widgets"in this.formState&&this.formState.widgets.find(s=>s.key===t.key&&s.type===t.type))||"value"in t&&this.updateWidgetValue(t.key,t.value)}),this.setFormState({...this.formState,showAutofill:!1}))});n(this,"handleAuthComplete",e=>{e&&this.formState.type==="authenticating"&&this.sendAuthSavedJWT(e)});n(this,"handleMessageReceived",e=>{const t=this.handlers[e.type];if(!t)throw new Error(`No handler for message type ${e.type}`);if(t.forEach(a=>a(e)),e.debug&&this.onStackTraceUpdate){const a=e.type==="execution:ended";this.onStackTraceUpdate(e.debug.stack,a)}});n(this,"handleActionClick",async e=>{if(this.formState.type==="waiting")return this.start();if(this.formState.type==="page"){const t=e.key==="i18n_back_action";return this.hasErrors()&&!t?void 0:(this.setFormState({...this.formState,actions:this.formState.actions.map(a=>a.label===e.label?{...a,loading:!0}:a)}),this.lastResponseHistory.shift(),this.responseHistory.push(this.formState.widgets),this.sendFormNavigation(this.getWidgetValues(),e))}if(this.formState.type==="default-end"||this.formState.type==="page-end"){await this.resetForm(),await this.start();return}});n(this,"updateWidgetValue",(e,t)=>{if(this.formState.type!=="page")return;const a=this.formState.widgets.find(i=>"key"in i&&i.key===e);if(!a||!isInputWidget(a))return;this.touchedWidgets[e]=!0;const s=this.formState.widgets.map(i=>i.key===e?{...i,value:t}:i);this.setFormState({...this.formState,widgets:s}),this.sendInput(this.getWidgetValues(),this.getSecrets())});n(this,"updateWidgetFrontendErrors",(e,t)=>{if(this.formState.type!=="page"||!this.formState.widgets.find(i=>i.key===e))return;const s=this.formState.widgets.map(i=>i.key===e?{...i,errors:i._pythonErrors.concat(t.map(u=>i18nProvider.translateIfFound(u,this.formRunnerData.language,i)))}:i);this.setFormState({...this.formState,widgets:s})});if(this.formRunnerData=e,this.logService=t,this.connectionManager=a,this.onFormStart=s,this.onFormEnd=i,this.onRedirect=u,this.onStateUpdate=v,this.onStackTraceUpdate=_,this.userStore=useUserStore(),this.connectionManager.onOpen=()=>this.handleConnectionOpen(),this.connectionManager.onMessage=p=>this.handleMessageReceived(p),this.connectionManager.onClose=p=>this.handleConnectionClose(p),this.formRunnerData.autoStart&&!this.connectionManager.isEditorConnection()){this.formState={type:"loading"},this.start();return}this.formState={type:"waiting",actions:[this.getStartAction()]}}get publicLogService(){return this.logService}fullWidthFromMessage(e){return e.some(t=>"fullWidth"in t&&t.fullWidth)}async handleExecutionStartedMessage(e){this.executionId=e.executionId,this.onFormStart()}handleRenderMessage(e){if(e.seq!==this.messageSeq)return;const t=e.widgets.map(this.widgetFromMessage);if(e.endPage){this.setFormState({...this.formState,type:"page-end",actions:this.getEndStateActions(),widgets:t,fullWidth:this.fullWidthFromMessage(e.widgets),stepsInfo:e.stepsInfo,refreshKey:e.stepsInfo.current.toString(),showAutofill:this.getAutofillVisibilty(t)});return}let a=[{key:"back",label:"i18n_back_action"},{key:"next",label:"i18n_next_action"}];e.actions&&(a=e.actions),this.setFormState({type:"page",widgets:t,actions:a.map(this.actionFromMessage),fullWidth:this.fullWidthFromMessage(e.widgets),stepsInfo:e.stepsInfo,refreshKey:e.stepsInfo.current.toString(),showAutofill:this.getAutofillVisibilty(t)})}async handleExecuteJSRequestMessage(e){const t=await executeJs(e);this.connectionManager.send(t)}async handleAuthRequireInfoMessage(e){const{jwt:t,isJWTValid:a}=this.userStore;if(t&&a()&&!e.refresh){this.sendAuthSavedJWT(t);return}this.setFormState({type:"authenticating"})}async handleAuthInvalidJWTMessage(e){this.setFormState({type:"authenticating"})}async handleAuthValidTokenMessage(e){}async handleRedirectRequestMessage(e){this.onRedirect(e.url,e.queryParams)}handleMountPageMessage(e){var a,s;const t=e.widgets.map(this.widgetFromMessage);if(e.endProgram){this.setFormState({type:"page-end",actions:this.getEndStateActions(),widgets:t,fullWidth:this.fullWidthFromMessage(e.widgets),stepsInfo:e.steps,refreshKey:Date.now().toString(),showAutofill:this.getAutofillVisibilty(t),legacy:!0});return}this.setFormState({type:"page",widgets:t,actions:(s=(a=e.actions)==null?void 0:a.map(i=>this.actionFromMessage({key:i,label:i})))!=null?s:[],fullWidth:this.fullWidthFromMessage(e.widgets),stepsInfo:e.steps,refreshKey:Date.now().toString(),showAutofill:this.getAutofillVisibilty(t),legacy:!0})}async handleUpdatePageMessage(e){if(e.seq===this.messageSeq){if(this.formState.type!=="page")throw new Error("Received form:update-page message while not in render-page state");this.setFormState({...this.formState,error:{message:e.validation.message,status:e.validation.status},widgets:e.widgets.map(this.widgetFromMessage),actions:this.formState.actions.map(t=>({...t,disabled:this.shouldDisableAction(t,e)}))}),this.debouncedFinishPageLoading()}}shouldDisableAction(e,t){if(e.key==="i18n_back_action"||this.formState.type!=="page")return!1;const s=t.widgets.map(this.widgetFromMessage).some(u=>u.errors.length>0),i=t.validation.status===!1||Boolean(t.validation.message);return s||i}async handleExecutionEndedMessage(e){var t;this.lastResponseHistory=[...this.responseHistory],this.responseHistory=[],!FORM_END_STATES.includes(this.formState.type)&&(e.exitStatus==="SUCCESS"&&(this.setFormState({type:"default-end",actions:this.getEndStateActions()}),(t=this.logService)==null||t.log({type:"stdout",log:"[Form run finished]"})),e.exitStatus==="EXCEPTION"&&this.setFormState({type:"error",message:e.exception,executionId:this.executionId}),this.onFormEnd())}sendFormNavigation(e,t,a){this.connectionManager.send({type:"form:navigation",payload:e,secrets:a,action:t==null?void 0:t.key,seq:++this.messageSeq})}sendInput(e,t){this.connectionManager.send({type:"form:input",payload:e,secrets:t,seq:++this.messageSeq})}sendAuthSavedJWT(e){this.connectionManager.send({type:"auth:saved-jwt",jwt:e})}handleCloseAttempt(){return FORM_END_STATES.includes(this.formState.type)||this.formState.type==="waiting"?!1:(this.connectionManager.send({type:"debug:close-attempt"}),!0)}handleConnectionClose(e){e.code!==WS_CUSTOM_CLOSING_REASONS.FRONTEND_FORM_RESTART&&FORM_RUNNING_STATES.includes(this.formState.type)&&this.reconnect()}setFormState(e){this.formState=Object.freeze(e),this.onStateUpdate(e)}getSecrets(){return this.formState.type!=="page"?[]:this.formState.widgets.filter(e=>"secret"in e).reduce((e,t)=>"key"in t&&"secret"in t?[...e,{key:t.key,secret:t.secret}]:e,[])}setWidgetValidationFunction(e,t){if(this.formState.type!=="page")return;const a=this.formState.widgets.find(s=>"key"in s&&s.key===e);!a||!isInputWidget(a)||(a.validationFunction=t)}hasErrors(){var e;return this.formState.type!=="page"?!1:((e=this.formState.error)==null?void 0:e.status)===!1||this.formState.widgets.some(t=>t.errors.length>0)}getWidgetValue(e){if(this.formState.type!=="page")return null;const t=this.formState.widgets.find(a=>"key"in a&&a.key===e);if(!t||!isInputWidget(t))return null}getWidgetValues(){return this.formState.type!=="page"?{}:this.formState.widgets.reduce((e,t)=>("value"in t&&(this.touchedWidgets[t.key]||this.formState.legacy)&&(e[t.key]=t.value),e),{})}}const _hoisted_1$1={class:"outline-button"},_sfc_main$2=defineComponent({__name:"OutlineButton",props:{icon:{},noShadow:{type:Boolean},status:{}},setup(r){return(e,t)=>(openBlock(),createElementBlock("button",_hoisted_1$1,[e.icon?(openBlock(),createBlock(resolveDynamicComponent(e.icon),{key:0,class:"icon",color:"#fff"})):createCommentVNode("",!0),renderSlot(e.$slots,"default",{},void 0,!0)]))}}),OutlineButton_vue_vue_type_style_index_0_scoped_2d3b9e41_lang="",OutlineButton=_export_sfc(_sfc_main$2,[["__scopeId","data-v-2d3b9e41"]]),_sfc_main$1=defineComponent({__name:"FormAutoFill",emits:["click"],setup(r,{emit:e}){return(t,a)=>(openBlock(),createBlock(OutlineButton,{icon:unref(G),class:"form-auto-fill-btn",onClick:a[0]||(a[0]=s=>e("click"))},{default:withCtx(()=>[createTextVNode(" Repeat last answer ")]),_:1},8,["icon"]))}}),FormAutoFill_vue_vue_type_style_index_0_scoped_b7a3a5ee_lang="",FormAutoFill=_export_sfc(_sfc_main$1,[["__scopeId","data-v-b7a3a5ee"]]),_hoisted_1={class:"center"},_hoisted_2={key:0,class:"loading-wrapper"},_hoisted_3={class:"form-wrapper"},_hoisted_4=["id"],_hoisted_5={key:4,class:"span-error"},_hoisted_6={key:0,class:"buttons"},_sfc_main=defineComponent({__name:"FormRunner",props:{formRunnerData:{},formState:{},isPreview:{type:Boolean},disabled:{type:Boolean}},emits:["action-clicked","auto-fill-clicked","update-widget-value","update-widget-errors","auth-complete"],setup(r,{emit:e}){const t=r,a=ref(null),s=ref({}),i=computed(()=>!t.formState||t.formState.type==="loading"),u=computed(()=>{var o;return((o=t.formState)==null?void 0:o.type)==="authenticating"}),v=computed(()=>{var o;return((o=t.formState)==null?void 0:o.type)==="waiting"}),_=computed(()=>{var o;return((o=t.formState)==null?void 0:o.type)==="default-end"}),p=computed(()=>{var o;return((o=t.formState)==null?void 0:o.type)==="error"}),d=computed(()=>{var o;return t.isPreview&&((o=t.formState)==null?void 0:o.type)==="page"&&t.formState.showAutofill}),F=computed(()=>{var o,l;return((o=t.formState)==null?void 0:o.type)==="page"&&"stepsInfo"in t.formState&&!((l=t.formState.stepsInfo)!=null&&l.disabled)}),I=computed(()=>{var o;if(((o=t.formState)==null?void 0:o.type)==="page"&&"stepsInfo"in t.formState)return t.formState.stepsInfo}),D=computed(()=>{var o;return((o=t.formState)==null?void 0:o.type)==="error"&&"executionId"in t.formState?t.formState.executionId:null}),R=computed(()=>{var o;return((o=t.formState)==null?void 0:o.type)==="page"&&t.formState.error&&t.formState.error.status===!1}),H=computed(()=>!t.formState||!("widgets"in t.formState)?[]:t.formState.widgets),O=computed(()=>!t.formState||!("actions"in t.formState)?[]:t.formState.actions),U=computed(()=>t.formState&&"actions"in t.formState),L=computed(()=>!R.value||!("error"in t.formState)||!t.formState.error?"":t.formState.error.message||i18nProvider.translateIfFound("i18n_generic_validation_error",t.formRunnerData.language)),K=computed(()=>({"full-width":Q()})),J=()=>{!a.value||(a.value.scrollTop=0)},Q=()=>{var o,l;return((o=t.formState)==null?void 0:o.type)==="page"?t.formState.fullWidth:((l=t.formState)==null?void 0:l.type)==="page-end"?t.formState.fullWidth&&t.formState.widgets.length>0:!1},X=(o,l)=>"key"in o?o.key:o.type+l,Y=o=>{const l="refreshKey"in t.formState?t.formState.refreshKey:0;return"key"in o?o.key+"_"+l:o.type+"_"+l},ee=o=>isInputWidget(o)&&o.value,te=(o,l)=>{"key"in o&&(s.value[o.key]=l)},oe=o=>({"next-button__disabled":o.disabled||o.loading}),ae=o=>o.disabled||o.loading;return watch(()=>t.formState,(o,l)=>{o.type==="page"&&(l==null?void 0:l.type)==="page"&&o.refreshKey!==l.refreshKey&&J()}),(o,l)=>{var A,V;return openBlock(),createElementBlock("div",_hoisted_1,[d.value?(openBlock(),createBlock(FormAutoFill,{key:0,class:"auto-fill-btn",form:o.formRunnerData,style:{"z-index":1},onClick:l[0]||(l[0]=c=>e("auto-fill-clicked"))},null,8,["form"])):createCommentVNode("",!0),F.value?(openBlock(),createBlock(Steps,{key:1,"steps-info":I.value,"is-preview":o.isPreview},null,8,["steps-info","is-preview"])):createCommentVNode("",!0),createBaseVNode("main",{ref_key:"scrollableContainer",ref:a,class:normalizeClass([{disabled:o.disabled}]),style:{padding:"50px 0px","box-sizing":"border-box"}},[i.value?(openBlock(),createElementBlock("div",_hoisted_2,[createVNode(LoadingIndicator)])):u.value?(openBlock(),createBlock(_sfc_main$3,{key:1,locale:o.formRunnerData.language,"logo-url":(A=o.formRunnerData.logoUrl)!=null?A:void 0,"brand-name":(V=o.formRunnerData.brandName)!=null?V:void 0,onDone:l[1]||(l[1]=c=>e("auth-complete",c))},null,8,["locale","logo-url","brand-name"])):(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(["form",K.value])},[createBaseVNode("div",_hoisted_3,[v.value?(openBlock(),createBlock(StartWidget,{key:0,form:o.formRunnerData},null,8,["form"])):_.value?(openBlock(),createBlock(EndWidget,{key:1,"end-message":o.formRunnerData.endMessage,locale:o.formRunnerData.language},null,8,["end-message","locale"])):p.value?(openBlock(),createBlock(ErrorWidget,{key:2,"error-message":o.formRunnerData.errorMessage,"execution-id":D.value,locale:o.formRunnerData.language},null,8,["error-message","execution-id","locale"])):(openBlock(!0),createElementBlock(Fragment,{key:3},renderList(H.value,(c,M)=>(openBlock(),createElementBlock("div",{id:c.type+M,key:X(c,M),class:"widget"},[(openBlock(),createBlock(resolveDynamicComponent(c.type),{ref_for:!0,ref:h=>te(c,h),key:Y(c),value:ee(c),errors:c.errors,"user-props":c,legacy:o.formState.legacy,locale:o.formRunnerData.language,"onUpdate:value":h=>e("update-widget-value",c.key,h),"onUpdate:errors":h=>e("update-widget-errors",c.key,h)},null,40,["value","errors","user-props","legacy","locale","onUpdate:value","onUpdate:errors"])),(openBlock(!0),createElementBlock(Fragment,null,renderList(c.errors,h=>(openBlock(),createElementBlock("span",{key:h,class:"span-error"},toDisplayString(h),1))),128))],8,_hoisted_4))),128)),R.value?(openBlock(),createElementBlock("span",_hoisted_5,toDisplayString(L.value),1)):createCommentVNode("",!0)]),U.value?(openBlock(),createElementBlock("div",_hoisted_6,[createVNode(unref(StyleProvider),null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(O.value,c=>(openBlock(),createBlock(unref(Button),{key:c.key,class:normalizeClass(["next-button",oe(c)]),loading:c.loading,disabled:ae(c),onClick:M=>e("action-clicked",c),onKeydown:withKeys(M=>e("action-clicked",c),["enter"])},{default:withCtx(()=>[createTextVNode(toDisplayString(c.label),1)]),_:2},1032,["class","loading","disabled","onClick","onKeydown"]))),128))]),_:1})])):createCommentVNode("",!0)],2))],2),createVNode(Watermark,{"page-id":o.formRunnerData.id,locale:o.formRunnerData.language},null,8,["page-id","locale"])])}}}),FormRunner_vue_vue_type_style_index_0_scoped_f2714c8a_lang="",FormRunner=_export_sfc(_sfc_main,[["__scopeId","data-v-f2714c8a"]]);export{FORM_END_STATES as F,FORM_RUNNING_STATES as a,FormRunner as b,FormRunnerController as c,FormConnectionManager as d};
2
- //# sourceMappingURL=FormRunner.617659c3.js.map
@@ -1,2 +0,0 @@
1
- import{i as h}from"./metadata.8c8d4b20.js";import{W as k}from"./Watermark.047823a2.js";import{F as v}from"./PhArrowSquareOut.vue.73431843.js";import{d as w,e5 as b,c as x,r as C,u as e,a5 as u,f as d,b as r,h as D,o as a,a as n,g as m,T as y,aR as I,ec as z,de as _,ef as T,ed as F,ea as B,_ as H}from"./jwt-decode.esm.28320b05.js";import{u as L}from"./workspaceStore.20104d6a.js";import"./index.25898d95.js";import{L as N}from"./LoadingOutlined.6ed83a08.js";import{C as S}from"./Card.bf61638b.js";import"./PhUserList.vue.38f46bf2.js";import"./PhWebhooksLogo.vue.3f80aef6.js";import"./index.b0181193.js";import"./constants.54f5dbb0.js";import"./userStore.c0562f9d.js";import"./url.e7d14364.js";import"./colorHelpers.f396fe13.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new Error().stack;i&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[i]="f211276b-6560-4992-83f6-f87192f59ade",o._sentryDebugIdIdentifier="sentry-dbid-f211276b-6560-4992-83f6-f87192f59ade")}catch{}})();const V={key:0,class:"home-container"},W=w({__name:"Home",setup(o){const i=b(),l=L(),f=x(()=>{var s;return((s=l.state.workspace)==null?void 0:s.sidebar.filter(c=>c.id!=="home"))||[]}),p=C(null),g=async(s,c)=>{p.value=c,await i.push({path:`/${s}`}),p.value=null};return(s,c)=>e(l).state.workspace?(a(),u("div",V,[d(e(_),{vertical:"",gap:"large",class:"cards-container"},{default:r(()=>[f.value.length===0?(a(),n(e(y),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:r(()=>[m(" There are no forms available for you. ")]),_:1})):(a(!0),u(I,{key:1},z(f.value,t=>(a(),n(e(S),{key:t.id,class:B(["form-card",{loading:p.value===t.id}]),"body-style":{cursor:"pointer"},onClick:E=>g(t.path,t.id)},{default:r(()=>[d(e(_),{gap:"large",align:"center",justify:"space-between"},{default:r(()=>[(a(),n(T(e(h)(t.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),d(e(y),{style:{"font-size":"18px","font-weight":"500"}},{default:r(()=>[m(F(t.name),1)]),_:2},1024),p.value!==t.id?(a(),n(e(v),{key:0,size:"20"})):(a(),n(e(N),{key:1,style:{"font-size":"20px"}}))]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1}),d(k,{class:"watermark","page-id":"home",locale:e(l).state.workspace.language},null,8,["locale"])])):D("",!0)}});const Z=H(W,[["__scopeId","data-v-060376d1"]]);export{Z as default};
2
- //# sourceMappingURL=Home.50e3cb44.js.map
@@ -1,2 +0,0 @@
1
- import{r as u,d as m,e5 as h,k as y,j as w,m as g,a as v,o as b,_ as I}from"./jwt-decode.esm.28320b05.js";import{l as d}from"./fetch.9946ecfe.js";import{u as k}from"./polling.0bb90faf.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="5b658cff-87dd-4cd1-a433-03dde82a0977",t._sentryDebugIdIdentifier="sentry-dbid-5b658cff-87dd-4cd1-a433-03dde82a0977")}catch{}})();const _=4,C=t=>{const n=t.router,r=u(""),a=u(Array(_).fill(!0));let s=0;const l=async()=>{try{const e=new AbortController,o=setTimeout(()=>e.abort(),1e3),f=await d("/_healthcheck",{method:"GET",signal:e.signal,headers:{"Content-Type":"application/json","Cache-Control":"no-cache"}});clearTimeout(o),a.value[s]=f.status===200}catch{a.value[s]=!1}if(s=(s+1)%_,a.value.every(e=>!e)&&r.value){const e=n.currentRoute.value.path,o=new URLSearchParams;o.set("redirect",e),window.location.href=r.value+"?"+o.toString()}},{startPolling:c,endPolling:p}=k({task:l,interval:2e3}),i=async()=>{const e=await d("/_editor/api/web-editor/",{method:"GET"});if(!e.ok){setTimeout(()=>{i()},1e3);return}const o=await e.json();o.waitingRoomUrl&&(r.value=o.waitingRoomUrl,c())};return{setup:i,cleanUp:p}},H=m({__name:"Home",setup(t){const n=h(),{setup:r,cleanUp:a}=C({router:n});return y(()=>{r()}),w(()=>{a()}),(s,l)=>{const c=g("RouterView");return b(),v(c,{class:"router"})}}});const U=I(H,[["__scopeId","data-v-3737a9c1"]]);export{U as default};
2
- //# sourceMappingURL=Home.e051b43c.js.map
@@ -1,2 +0,0 @@
1
- import{d,o,a5 as s,f as a,u as c,S as _,_ as r}from"./jwt-decode.esm.28320b05.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="43ef43d7-4c39-4f6c-9d07-1db10cf2261c",e._sentryDebugIdIdentifier="sentry-dbid-43ef43d7-4c39-4f6c-9d07-1db10cf2261c")}catch{}})();const f={class:"centered"},i=d({__name:"LoadingContainer",setup(e){return(n,t)=>(o(),s("div",f,[a(c(_))]))}});const u=r(i,[["__scopeId","data-v-52e6209a"]]);export{u as L};
2
- //# sourceMappingURL=LoadingContainer.af0e1ba2.js.map
@@ -1,2 +0,0 @@
1
- import{f as o,e7 as f,eX as u}from"./jwt-decode.esm.28320b05.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]="73f7a3d5-4872-4941-9a07-23556fb7c75c",e._sentryDebugIdIdentifier="sentry-dbid-73f7a3d5-4872-4941-9a07-23556fb7c75c")}catch{}})();function d(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),r.forEach(function(a){c(e,a,n[a])})}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=function(t,n){var r=d({},t,n.attrs);return o(f,d({},r,{icon:u}),null)};i.displayName="LoadingOutlined";i.inheritAttrs=!1;const s=i;export{s as L};
2
- //# sourceMappingURL=LoadingOutlined.6ed83a08.js.map
@@ -1,2 +0,0 @@
1
- import{_ as l}from"./Login.vue_vue_type_script_setup_true_lang.d3c2d47f.js";import{d as m,e5 as f,eb as b,a5 as g,f as y,u as n,o as w,_ as k}from"./jwt-decode.esm.28320b05.js";import{u as h}from"./workspaceStore.20104d6a.js";import"./index.b0181193.js";import"./CircularLoading.e6d19d98.js";import"./Logo.e3649776.js";import"./string.4c218fd1.js";import"./index.2d59a444.js";import"./userStore.c0562f9d.js";import"./url.e7d14364.js";import"./colorHelpers.f396fe13.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="0e3aa93b-7797-44d8-9563-7262716ed98b",e._sentryDebugIdIdentifier="sentry-dbid-0e3aa93b-7797-44d8-9563-7262716ed98b")}catch{}})();const v={class:"runner"},I=m({__name:"Login",setup(e){const o=f(),t=b(),r=h(),_=async()=>{const{redirect:a,...s}=t.query;if(a){await o.push({path:a,query:s,params:t.params});return}o.push({name:"playerHome",query:s})};return(a,s)=>{var c,d,p,u,i;return w(),g("div",v,[y(l,{"logo-url":(d=(c=n(r).state.workspace)==null?void 0:c.logoUrl)!=null?d:void 0,"brand-name":(p=n(r).state.workspace)==null?void 0:p.brandName,locale:(i=(u=n(r).state.workspace)==null?void 0:u.language)!=null?i:"en",onDone:_},null,8,["logo-url","brand-name","locale"])])}}});const U=k(I,[["__scopeId","data-v-12c690e1"]]);export{U as default};
2
- //# sourceMappingURL=Login.99bd4c40.js.map
@@ -1,2 +0,0 @@
1
- import{d as L,am as A,c as k,o as t,a5 as _,a7 as z,h as b,e6 as O,e as s,k as U,f as r,b as c,u as l,g as h,d8 as F,eq as j,er as G,_ as S,r as q,eG as u,a as g,ed as f,de as C,cy as H,bJ as J,eF as K,cz as P,bR as M}from"./jwt-decode.esm.28320b05.js";import{O as R,S as W,A as x}from"./index.b0181193.js";import{O as X,L as Q}from"./CircularLoading.e6d19d98.js";import{L as Y}from"./Logo.e3649776.js";import{i as ee}from"./string.4c218fd1.js";import{A as N}from"./index.2d59a444.js";import{u as ae}from"./userStore.c0562f9d.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[n]="ef59ebc0-0609-40a0-93ad-53cccb7f2f3e",o._sentryDebugIdIdentifier="sentry-dbid-ef59ebc0-0609-40a0-93ad-53cccb7f2f3e")}catch{}})();const le=["width","height","fill","transform"],te={key:0},oe=s("path",{d:"M140,32V64a12,12,0,0,1-24,0V32a12,12,0,0,1,24,0Zm33.25,62.75a12,12,0,0,0,8.49-3.52L204.37,68.6a12,12,0,0,0-17-17L164.77,74.26a12,12,0,0,0,8.48,20.49ZM224,116H192a12,12,0,0,0,0,24h32a12,12,0,0,0,0-24Zm-42.26,48.77a12,12,0,1,0-17,17l22.63,22.63a12,12,0,0,0,17-17ZM128,180a12,12,0,0,0-12,12v32a12,12,0,0,0,24,0V192A12,12,0,0,0,128,180ZM74.26,164.77,51.63,187.4a12,12,0,0,0,17,17l22.63-22.63a12,12,0,1,0-17-17ZM76,128a12,12,0,0,0-12-12H32a12,12,0,0,0,0,24H64A12,12,0,0,0,76,128ZM68.6,51.63a12,12,0,1,0-17,17L74.26,91.23a12,12,0,0,0,17-17Z"},null,-1),ne=[oe],se={key:1},ie=s("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),re=s("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"},null,-1),de=[ie,re],ue={key:2},ce=s("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm33.94,58.75,17-17a8,8,0,0,1,11.32,11.32l-17,17a8,8,0,0,1-11.31-11.31ZM48,136a8,8,0,0,1,0-16H72a8,8,0,0,1,0,16Zm46.06,37.25-17,17a8,8,0,0,1-11.32-11.32l17-17a8,8,0,0,1,11.31,11.31Zm0-79.19a8,8,0,0,1-11.31,0l-17-17A8,8,0,0,1,77.09,65.77l17,17A8,8,0,0,1,94.06,94.06ZM136,208a8,8,0,0,1-16,0V184a8,8,0,0,1,16,0Zm0-136a8,8,0,0,1-16,0V48a8,8,0,0,1,16,0Zm54.23,118.23a8,8,0,0,1-11.32,0l-17-17a8,8,0,0,1,11.31-11.31l17,17A8,8,0,0,1,190.23,190.23ZM208,136H184a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16Z"},null,-1),me=[ce],ve={key:3},fe=s("path",{d:"M134,32V64a6,6,0,0,1-12,0V32a6,6,0,0,1,12,0Zm39.25,56.75A6,6,0,0,0,177.5,87l22.62-22.63a6,6,0,0,0-8.48-8.48L169,78.5a6,6,0,0,0,4.24,10.25ZM224,122H192a6,6,0,0,0,0,12h32a6,6,0,0,0,0-12Zm-46.5,47A6,6,0,0,0,169,177.5l22.63,22.62a6,6,0,0,0,8.48-8.48ZM128,186a6,6,0,0,0-6,6v32a6,6,0,0,0,12,0V192A6,6,0,0,0,128,186ZM78.5,169,55.88,191.64a6,6,0,1,0,8.48,8.48L87,177.5A6,6,0,1,0,78.5,169ZM70,128a6,6,0,0,0-6-6H32a6,6,0,0,0,0,12H64A6,6,0,0,0,70,128ZM64.36,55.88a6,6,0,0,0-8.48,8.48L78.5,87A6,6,0,1,0,87,78.5Z"},null,-1),_e=[fe],pe={key:4},ge=s("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"},null,-1),he=[ge],ye={key:5},Ze=s("path",{d:"M132,32V64a4,4,0,0,1-8,0V32a4,4,0,0,1,8,0Zm41.25,54.75a4,4,0,0,0,2.83-1.18L198.71,63a4,4,0,0,0-5.66-5.66L170.43,79.92a4,4,0,0,0,2.82,6.83ZM224,124H192a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8Zm-47.92,46.43a4,4,0,1,0-5.65,5.65l22.62,22.63a4,4,0,0,0,5.66-5.66ZM128,188a4,4,0,0,0-4,4v32a4,4,0,0,0,8,0V192A4,4,0,0,0,128,188ZM79.92,170.43,57.29,193.05A4,4,0,0,0,63,198.71l22.62-22.63a4,4,0,1,0-5.65-5.65ZM68,128a4,4,0,0,0-4-4H32a4,4,0,0,0,0,8H64A4,4,0,0,0,68,128ZM63,57.29A4,4,0,0,0,57.29,63L79.92,85.57a4,4,0,1,0,5.65-5.65Z"},null,-1),we=[Ze],ke={name:"PhSpinner"},Ae=L({...ke,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const n=o,m=A("weight","regular"),e=A("size","1em"),v=A("color","currentColor"),V=A("mirrored",!1),p=k(()=>{var i;return(i=n.weight)!=null?i:m}),y=k(()=>{var i;return(i=n.size)!=null?i:e}),Z=k(()=>{var i;return(i=n.color)!=null?i:v}),w=k(()=>n.mirrored!==void 0?n.mirrored?"scale(-1, 1)":void 0:V?"scale(-1, 1)":void 0);return(i,I)=>(t(),_("svg",O({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:y.value,height:y.value,fill:Z.value,transform:w.value},i.$attrs),[z(i.$slots,"default"),p.value==="bold"?(t(),_("g",te,ne)):p.value==="duotone"?(t(),_("g",se,de)):p.value==="fill"?(t(),_("g",ue,me)):p.value==="light"?(t(),_("g",ve,_e)):p.value==="regular"?(t(),_("g",pe,he)):p.value==="thin"?(t(),_("g",ye,we)):b("",!0)],16,le))}}),D=o=>(j("data-v-3f7d7e6f"),o=o(),G(),o),Me={class:"oidc-container"},be=D(()=>s("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"3s",from:"0 0 0",to:"360 0 0",repeatCount:"indefinite"},null,-1)),Le=D(()=>s("p",{class:"centered"},"Please complete the login process in the popup window.",-1)),Ve={class:"centered"},Ie=L({__name:"Oidc",emits:["done"],setup(o,{emit:n}){const m=async()=>{const v=await new R().login();if(!v)throw new Error("[OIDC] Login did not return an user");n("done",v)};return U(()=>m()),(e,v)=>(t(),_("div",Me,[r(l(Ae),{size:60,style:{"margin-bottom":"50px"}},{default:c(()=>[be]),_:1}),Le,s("p",Ve,[h(" If it has not appear automatically, please "),r(l(F),{onClick:m},{default:c(()=>[h("click here")]),_:1}),h(". ")])]))}});const Te=S(Ie,[["__scopeId","data-v-3f7d7e6f"]]),Ce={class:"description"},He={class:"description"},Pe={class:"footer"},Ne={key:3,class:"loading"},Se=L({__name:"Passwordless",props:{logoUrl:{},brandName:{},locale:{}},emits:["done"],setup(o,{emit:n}){const m=o,e=q({stage:"collect-info",info:{email:""},token:"",invalid:!1,secsToAllowResend:0}),v=new x,V=k(()=>{var a;return(a=W.instance)==null?void 0:a.isLocal}),p=u.translate("i18n_local_auth_info_description",m.locale);function y(){const a=e.value.info.email,d=ee(a);return e.value.invalid=!d,d}let Z;const w=async({isResend:a}={})=>{if(!!y()){e.value.stage="loading";try{await v.authenticate(e.value.info.email,a),e.value.stage="collect-token",e.value.secsToAllowResend=120,clearInterval(Z),Z=setInterval(()=>{e.value.secsToAllowResend-=1,e.value.secsToAllowResend<=0&&(clearInterval(Z),e.value.secsToAllowResend=0)},1e3)}catch{e.value.invalid=!0,e.value.stage="collect-info"}}},i=a=>{if(!a){e.value.info.email="";return}e.value.info.email=a.toLowerCase()},I=async()=>{if(!!e.value.info.email){e.value.stage="loading";try{const a=await v.verify(e.value.info.email,e.value.token);if(!a)throw new Error("[Passwordless] Login did not return an user");n("done",a),e.value.stage="loading"}catch{e.value.invalid=!0,e.value.stage="collect-token"}}},E=async a=>{await fetch(`https://admin.abstra.app/_hooks/notify-email-not-received?email=${a}`,{method:"GET"})},$=()=>{e.value.info.email&&(w({isResend:!0}),E(e.value.info.email))},B=()=>{e.value={stage:"collect-info",info:{email:""},token:"",invalid:!1,secsToAllowResend:0}};return(a,d)=>(t(),g(l(C),{vertical:"",align:"center",gap:"middle",class:"passwordless"},{default:c(()=>[r(l(C),{vertical:"",align:"center",gap:"small",class:"header"},{default:c(()=>[r(Y,{"hide-text":"",size:"large","image-url":a.logoUrl,"brand-name":a.brandName},null,8,["image-url","brand-name"]),s("h2",null,f(l(u).translate("i18n_auth_validate_your_email_login",a.locale,{brandName:a.brandName})),1)]),_:1}),V.value?(t(),g(l(N),{key:0,message:l(p),type:"warning","show-icon":"",style:{width:"100%","text-align":"left"}},null,8,["message"])):b("",!0),e.value.stage==="collect-info"?(t(),g(l(H),{key:1,class:"section"},{default:c(()=>[s("div",Ce,f(l(u).translate("i18n_auth_info_description",a.locale)),1),r(l(P),{"has-feedback":"","validate-status":e.value.invalid?"error":"",help:e.value.invalid?l(u).translate("i18n_auth_info_invalid_email",a.locale):""},{default:c(()=>[r(l(J),{type:"email",value:e.value.info.email,placeholder:l(u).translate("i18n_auth_enter_your_email",a.locale),autofocus:"",onBlur:y,onKeyup:d[0]||(d[0]=K(()=>w(),["enter"])),onChange:d[1]||(d[1]=T=>i(T.target.value))},null,8,["value","placeholder"])]),_:1},8,["validate-status","help"]),r(l(M),{type:"primary",onClick:d[2]||(d[2]=()=>w())},{default:c(()=>[h(f(l(u).translate("i18n_auth_info_send_code",a.locale)),1)]),_:1})]),_:1})):e.value.stage==="collect-token"?(t(),g(l(H),{key:2,class:"section"},{default:c(()=>[s("div",He,f(l(u).translate("i18n_auth_token_label",a.locale,e.value.info)),1),r(l(P),{"has-feedback":"","validate-status":e.value.invalid?"error":""},{default:c(()=>[r(X,{value:e.value.token,"onUpdate:value":d[3]||(d[3]=T=>e.value.token=T),length:6,numeric:!0,size:"large",onCollectToken:I},null,8,["value"]),e.value.invalid?(t(),g(l(N),{key:0,message:l(u).translate("i18n_auth_token_invalid"),type:"error",style:{"margin-top":"24px"}},null,8,["message"])):b("",!0)]),_:1},8,["validate-status"]),r(l(M),{type:"primary",onClick:I},{default:c(()=>[h(f(l(u).translate("i18n_auth_token_verify_email",a.locale)),1)]),_:1}),r(l(M),{onClick:B},{default:c(()=>[h(f(l(u).translate("i18n_auth_edit_email",a.locale)),1)]),_:1}),r(l(M),{disabled:!!e.value.secsToAllowResend,onClick:$},{default:c(()=>[h(f(l(u).translate("i18n_auth_token_resend_email",a.locale))+" ("+f(e.value.secsToAllowResend)+" s) ",1)]),_:1},8,["disabled"]),s("div",Pe,f(l(u).translate("i18n_auth_token_footer_alternative_email",a.locale)),1)]),_:1})):e.value.stage==="loading"?(t(),_("div",Ne,[r(Q)])):b("",!0)]),_:1}))}});const Re=S(Se,[["__scopeId","data-v-a1043ff4"]]),Fe=L({__name:"Login",props:{logoUrl:{},brandName:{},locale:{}},emits:["done"],setup(o,{emit:n}){const m=e=>{ae().saveJWT(e),n("done",e)};return(e,v)=>l(R).isConfigured()?(t(),g(Te,{key:0,onDone:m})):(t(),g(Re,{key:1,locale:e.locale,"logo-url":e.logoUrl,"brand-name":e.brandName,onDone:m},null,8,["locale","logo-url","brand-name"]))}});export{Fe as _};
2
- //# sourceMappingURL=Login.vue_vue_type_script_setup_true_lang.d3c2d47f.js.map
@@ -1,2 +0,0 @@
1
- import{d as i,ey as c,c as r,o,a5 as t,h as d,ea as f,ed as _,_ as p}from"./jwt-decode.esm.28320b05.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="88dfc252-1b1f-4d89-9a5d-fe01b9491405",e._sentryDebugIdIdentifier="sentry-dbid-88dfc252-1b1f-4d89-9a5d-fe01b9491405")}catch{}})();const u={class:"logo"},g=["src","alt"],m=i({__name:"Logo",props:{imageUrl:{},brandName:{},hideText:{type:Boolean},size:{}},setup(e){const s=e;c(a=>({"4521d904":n.value}));const n=r(()=>s.size==="small"?"24px":s.size==="large"?"80px":"50px"),l=r(()=>`${s.brandName} Logo`);return(a,y)=>(o(),t("div",u,[a.imageUrl?(o(),t("img",{key:0,class:"logo-img",src:a.imageUrl,alt:l.value},null,8,g)):d("",!0),a.hideText?d("",!0):(o(),t("span",{key:1,class:f(a.size)},_(a.brandName),3))]))}});const h=p(m,[["__scopeId","data-v-8f34aac0"]]);export{h as L};
2
- //# sourceMappingURL=Logo.e3649776.js.map
@@ -1,2 +0,0 @@
1
- import{P as f}from"./PlayerNavbar.24544fa8.js";import{d as g,e5 as h,eb as c,r as b,c as y,m as k,a5 as v,u as a,a as w,h as L,e as C,f as I,o as i,_ as N}from"./jwt-decode.esm.28320b05.js";import{u as V}from"./workspaceStore.20104d6a.js";import"./userStore.c0562f9d.js";import"./index.b0181193.js";import"./metadata.8c8d4b20.js";import"./PhUserList.vue.38f46bf2.js";import"./PhWebhooksLogo.vue.3f80aef6.js";import"./LoadingOutlined.6ed83a08.js";import"./PhSignOut.vue.3cb7cd40.js";import"./index.36aedb48.js";import"./url.e7d14364.js";import"./colorHelpers.f396fe13.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]="bf305e73-69bc-4466-be6c-dea8690cc168",o._sentryDebugIdIdentifier="sentry-dbid-bf305e73-69bc-4466-be6c-dea8690cc168")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),u=c().path,n=b(null),d=async({path:r,id:s})=>{n.value=s,await e.push({path:`/${r}`}),n.value=null},p=()=>{e.push({name:"playerLogin"})},l=()=>{e.push({name:"playerLogin"})},_=y(()=>!!c().meta.hideLogin);return(r,s)=>{const m=k("RouterView");return i(),v("div",x,[a(t).state.workspace?(i(),w(f,{key:0,"current-path":a(u),"hide-login":_.value,"runner-data":a(t).state.workspace,loading:n.value,onNavigate:d,onLoginClick:l,onLogoutClick:p},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(m)])])}}});const H=N(D,[["__scopeId","data-v-f095bece"]]);export{H as default};
2
- //# sourceMappingURL=Main.738990b8.js.map
@@ -1,2 +0,0 @@
1
- var jn=Object.defineProperty;var Vn=(e,n,t)=>n in e?jn(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var Ye=(e,n,t)=>(Vn(e,typeof n!="symbol"?n+"":n,t),t);import{c as qn,b as Jn,d as Qn}from"./FormRunner.617659c3.js";import{a as ei}from"./asyncComputed.decbe125.js";import{u as St}from"./uuid.fe529613.js";import{L as ti}from"./CircularLoading.e6d19d98.js";import{W as ni}from"./PlayerConfigProvider.0ec5f598.js";import{d as ii,eb as ai,ae as ri,r as li,w as oi,u as O,a5 as fi,f as _i,a as At,b as si,h as di,o as Ge,_ as hi}from"./jwt-decode.esm.28320b05.js";import"./userStore.c0562f9d.js";import"./Login.vue_vue_type_script_setup_true_lang.d3c2d47f.js";import"./index.b0181193.js";import"./Logo.e3649776.js";import"./string.4c218fd1.js";import"./index.2d59a444.js";import"./Steps.79eea5ae.js";import"./index.726d6111.js";import"./Watermark.047823a2.js";import"./constants.54f5dbb0.js";import"./colorHelpers.f396fe13.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9f7cba84-1872-449e-84bf-a5e98a22afc3",e._sentryDebugIdIdentifier="sentry-dbid-9f7cba84-1872-449e-84bf-a5e98a22afc3")}catch{}})();/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const ci=4,zt=0,Tt=1,ui=2;function de(e){let n=e.length;for(;--n>=0;)e[n]=0}const wi=0,un=1,bi=2,gi=3,pi=258,gt=29,Te=256,ke=Te+1+gt,oe=30,pt=19,wn=2*ke+1,Q=15,We=16,xi=7,xt=256,bn=16,gn=17,pn=18,ft=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Fe=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),ki=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),xn=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),vi=512,X=new Array((ke+2)*2);de(X);const ge=new Array(oe*2);de(ge);const ve=new Array(vi);de(ve);const me=new Array(pi-gi+1);de(me);const kt=new Array(gt);de(kt);const $e=new Array(oe);de($e);function je(e,n,t,i,r){this.static_tree=e,this.extra_bits=n,this.extra_base=t,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}let kn,vn,mn;function Ve(e,n){this.dyn_tree=e,this.max_code=0,this.stat_desc=n}const yn=e=>e<256?ve[e]:ve[256+(e>>>7)],ye=(e,n)=>{e.pending_buf[e.pending++]=n&255,e.pending_buf[e.pending++]=n>>>8&255},N=(e,n,t)=>{e.bi_valid>We-t?(e.bi_buf|=n<<e.bi_valid&65535,ye(e,e.bi_buf),e.bi_buf=n>>We-e.bi_valid,e.bi_valid+=t-We):(e.bi_buf|=n<<e.bi_valid&65535,e.bi_valid+=t)},H=(e,n,t)=>{N(e,t[n*2],t[n*2+1])},En=(e,n)=>{let t=0;do t|=e&1,e>>>=1,t<<=1;while(--n>0);return t>>>1},mi=e=>{e.bi_valid===16?(ye(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},yi=(e,n)=>{const t=n.dyn_tree,i=n.max_code,r=n.stat_desc.static_tree,a=n.stat_desc.has_stree,_=n.stat_desc.extra_bits,o=n.stat_desc.extra_base,c=n.stat_desc.max_length;let l,f,p,d,s,u,E=0;for(d=0;d<=Q;d++)e.bl_count[d]=0;for(t[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;l<wn;l++)f=e.heap[l],d=t[t[f*2+1]*2+1]+1,d>c&&(d=c,E++),t[f*2+1]=d,!(f>i)&&(e.bl_count[d]++,s=0,f>=o&&(s=_[f-o]),u=t[f*2],e.opt_len+=u*(d+s),a&&(e.static_len+=u*(r[f*2+1]+s)));if(E!==0){do{for(d=c-1;e.bl_count[d]===0;)d--;e.bl_count[d]--,e.bl_count[d+1]+=2,e.bl_count[c]--,E-=2}while(E>0);for(d=c;d!==0;d--)for(f=e.bl_count[d];f!==0;)p=e.heap[--l],!(p>i)&&(t[p*2+1]!==d&&(e.opt_len+=(d-t[p*2+1])*t[p*2],t[p*2+1]=d),f--)}},Sn=(e,n,t)=>{const i=new Array(Q+1);let r=0,a,_;for(a=1;a<=Q;a++)r=r+t[a-1]<<1,i[a]=r;for(_=0;_<=n;_++){let o=e[_*2+1];o!==0&&(e[_*2]=En(i[o]++,o))}},Ei=()=>{let e,n,t,i,r;const a=new Array(Q+1);for(t=0,i=0;i<gt-1;i++)for(kt[i]=t,e=0;e<1<<ft[i];e++)me[t++]=i;for(me[t-1]=i,r=0,i=0;i<16;i++)for($e[i]=r,e=0;e<1<<Fe[i];e++)ve[r++]=i;for(r>>=7;i<oe;i++)for($e[i]=r<<7,e=0;e<1<<Fe[i]-7;e++)ve[256+r++]=i;for(n=0;n<=Q;n++)a[n]=0;for(e=0;e<=143;)X[e*2+1]=8,e++,a[8]++;for(;e<=255;)X[e*2+1]=9,e++,a[9]++;for(;e<=279;)X[e*2+1]=7,e++,a[7]++;for(;e<=287;)X[e*2+1]=8,e++,a[8]++;for(Sn(X,ke+1,a),e=0;e<oe;e++)ge[e*2+1]=5,ge[e*2]=En(e,5);kn=new je(X,ft,Te+1,ke,Q),vn=new je(ge,Fe,0,oe,Q),mn=new je(new Array(0),ki,0,pt,xi)},An=e=>{let n;for(n=0;n<ke;n++)e.dyn_ltree[n*2]=0;for(n=0;n<oe;n++)e.dyn_dtree[n*2]=0;for(n=0;n<pt;n++)e.bl_tree[n*2]=0;e.dyn_ltree[xt*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},zn=e=>{e.bi_valid>8?ye(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},Rt=(e,n,t,i)=>{const r=n*2,a=t*2;return e[r]<e[a]||e[r]===e[a]&&i[n]<=i[t]},qe=(e,n,t)=>{const i=e.heap[t];let r=t<<1;for(;r<=e.heap_len&&(r<e.heap_len&&Rt(n,e.heap[r+1],e.heap[r],e.depth)&&r++,!Rt(n,i,e.heap[r],e.depth));)e.heap[t]=e.heap[r],t=r,r<<=1;e.heap[t]=i},Dt=(e,n,t)=>{let i,r,a=0,_,o;if(e.sym_next!==0)do i=e.pending_buf[e.sym_buf+a++]&255,i+=(e.pending_buf[e.sym_buf+a++]&255)<<8,r=e.pending_buf[e.sym_buf+a++],i===0?H(e,r,n):(_=me[r],H(e,_+Te+1,n),o=ft[_],o!==0&&(r-=kt[_],N(e,r,o)),i--,_=yn(i),H(e,_,t),o=Fe[_],o!==0&&(i-=$e[_],N(e,i,o)));while(a<e.sym_next);H(e,xt,n)},_t=(e,n)=>{const t=n.dyn_tree,i=n.stat_desc.static_tree,r=n.stat_desc.has_stree,a=n.stat_desc.elems;let _,o,c=-1,l;for(e.heap_len=0,e.heap_max=wn,_=0;_<a;_++)t[_*2]!==0?(e.heap[++e.heap_len]=c=_,e.depth[_]=0):t[_*2+1]=0;for(;e.heap_len<2;)l=e.heap[++e.heap_len]=c<2?++c:0,t[l*2]=1,e.depth[l]=0,e.opt_len--,r&&(e.static_len-=i[l*2+1]);for(n.max_code=c,_=e.heap_len>>1;_>=1;_--)qe(e,t,_);l=a;do _=e.heap[1],e.heap[1]=e.heap[e.heap_len--],qe(e,t,1),o=e.heap[1],e.heap[--e.heap_max]=_,e.heap[--e.heap_max]=o,t[l*2]=t[_*2]+t[o*2],e.depth[l]=(e.depth[_]>=e.depth[o]?e.depth[_]:e.depth[o])+1,t[_*2+1]=t[o*2+1]=l,e.heap[1]=l++,qe(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],yi(e,n),Sn(t,c,e.bl_count)},It=(e,n,t)=>{let i,r=-1,a,_=n[0*2+1],o=0,c=7,l=4;for(_===0&&(c=138,l=3),n[(t+1)*2+1]=65535,i=0;i<=t;i++)a=_,_=n[(i+1)*2+1],!(++o<c&&a===_)&&(o<l?e.bl_tree[a*2]+=o:a!==0?(a!==r&&e.bl_tree[a*2]++,e.bl_tree[bn*2]++):o<=10?e.bl_tree[gn*2]++:e.bl_tree[pn*2]++,o=0,r=a,_===0?(c=138,l=3):a===_?(c=6,l=3):(c=7,l=4))},Zt=(e,n,t)=>{let i,r=-1,a,_=n[0*2+1],o=0,c=7,l=4;for(_===0&&(c=138,l=3),i=0;i<=t;i++)if(a=_,_=n[(i+1)*2+1],!(++o<c&&a===_)){if(o<l)do H(e,a,e.bl_tree);while(--o!==0);else a!==0?(a!==r&&(H(e,a,e.bl_tree),o--),H(e,bn,e.bl_tree),N(e,o-3,2)):o<=10?(H(e,gn,e.bl_tree),N(e,o-3,3)):(H(e,pn,e.bl_tree),N(e,o-11,7));o=0,r=a,_===0?(c=138,l=3):a===_?(c=6,l=3):(c=7,l=4)}},Si=e=>{let n;for(It(e,e.dyn_ltree,e.l_desc.max_code),It(e,e.dyn_dtree,e.d_desc.max_code),_t(e,e.bl_desc),n=pt-1;n>=3&&e.bl_tree[xn[n]*2+1]===0;n--);return e.opt_len+=3*(n+1)+5+5+4,n},Ai=(e,n,t,i)=>{let r;for(N(e,n-257,5),N(e,t-1,5),N(e,i-4,4),r=0;r<i;r++)N(e,e.bl_tree[xn[r]*2+1],3);Zt(e,e.dyn_ltree,n-1),Zt(e,e.dyn_dtree,t-1)},zi=e=>{let n=4093624447,t;for(t=0;t<=31;t++,n>>>=1)if(n&1&&e.dyn_ltree[t*2]!==0)return zt;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Tt;for(t=32;t<Te;t++)if(e.dyn_ltree[t*2]!==0)return Tt;return zt};let Ot=!1;const Ti=e=>{Ot||(Ei(),Ot=!0),e.l_desc=new Ve(e.dyn_ltree,kn),e.d_desc=new Ve(e.dyn_dtree,vn),e.bl_desc=new Ve(e.bl_tree,mn),e.bi_buf=0,e.bi_valid=0,An(e)},Tn=(e,n,t,i)=>{N(e,(wi<<1)+(i?1:0),3),zn(e),ye(e,t),ye(e,~t),t&&e.pending_buf.set(e.window.subarray(n,n+t),e.pending),e.pending+=t},Ri=e=>{N(e,un<<1,3),H(e,xt,X),mi(e)},Di=(e,n,t,i)=>{let r,a,_=0;e.level>0?(e.strm.data_type===ui&&(e.strm.data_type=zi(e)),_t(e,e.l_desc),_t(e,e.d_desc),_=Si(e),r=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=r&&(r=a)):r=a=t+5,t+4<=r&&n!==-1?Tn(e,n,t,i):e.strategy===ci||a===r?(N(e,(un<<1)+(i?1:0),3),Dt(e,X,ge)):(N(e,(bi<<1)+(i?1:0),3),Ai(e,e.l_desc.max_code+1,e.d_desc.max_code+1,_+1),Dt(e,e.dyn_ltree,e.dyn_dtree)),An(e),i&&zn(e)},Ii=(e,n,t)=>(e.pending_buf[e.sym_buf+e.sym_next++]=n,e.pending_buf[e.sym_buf+e.sym_next++]=n>>8,e.pending_buf[e.sym_buf+e.sym_next++]=t,n===0?e.dyn_ltree[t*2]++:(e.matches++,n--,e.dyn_ltree[(me[t]+Te+1)*2]++,e.dyn_dtree[yn(n)*2]++),e.sym_next===e.sym_end);var Zi=Ti,Oi=Tn,Ci=Di,Ni=Ii,Li=Ri,Ui={_tr_init:Zi,_tr_stored_block:Oi,_tr_flush_block:Ci,_tr_tally:Ni,_tr_align:Li};const Mi=(e,n,t,i)=>{let r=e&65535|0,a=e>>>16&65535|0,_=0;for(;t!==0;){_=t>2e3?2e3:t,t-=_;do r=r+n[i++]|0,a=a+r|0;while(--_);r%=65521,a%=65521}return r|a<<16|0};var Ee=Mi;const Fi=()=>{let e,n=[];for(var t=0;t<256;t++){e=t;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;n[t]=e}return n},$i=new Uint32Array(Fi()),Hi=(e,n,t,i)=>{const r=$i,a=i+t;e^=-1;for(let _=i;_<a;_++)e=e>>>8^r[(e^n[_])&255];return e^-1};var I=Hi,fe={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Re={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Bi,_tr_stored_block:st,_tr_flush_block:Ki,_tr_tally:j,_tr_align:Pi}=Ui,{Z_NO_FLUSH:V,Z_PARTIAL_FLUSH:Xi,Z_FULL_FLUSH:Yi,Z_FINISH:M,Z_BLOCK:Ct,Z_OK:Z,Z_STREAM_END:Nt,Z_STREAM_ERROR:B,Z_DATA_ERROR:Gi,Z_BUF_ERROR:Je,Z_DEFAULT_COMPRESSION:Wi,Z_FILTERED:ji,Z_HUFFMAN_ONLY:Ce,Z_RLE:Vi,Z_FIXED:qi,Z_DEFAULT_STRATEGY:Ji,Z_UNKNOWN:Qi,Z_DEFLATED:Ke}=Re,ea=9,ta=15,na=8,ia=29,aa=256,dt=aa+1+ia,ra=30,la=19,oa=2*dt+1,fa=15,v=3,W=258,K=W+v+1,_a=32,_e=42,vt=57,ht=69,ct=73,ut=91,wt=103,ee=113,we=666,C=1,he=2,ne=3,ce=4,sa=3,te=(e,n)=>(e.msg=fe[n],n),Lt=e=>e*2-(e>4?9:0),G=e=>{let n=e.length;for(;--n>=0;)e[n]=0},da=e=>{let n,t,i,r=e.w_size;n=e.hash_size,i=n;do t=e.head[--i],e.head[i]=t>=r?t-r:0;while(--n);n=r,i=n;do t=e.prev[--i],e.prev[i]=t>=r?t-r:0;while(--n)};let ha=(e,n,t)=>(n<<e.hash_shift^t)&e.hash_mask,q=ha;const L=e=>{const n=e.state;let t=n.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(e.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+t),e.next_out),e.next_out+=t,n.pending_out+=t,e.total_out+=t,e.avail_out-=t,n.pending-=t,n.pending===0&&(n.pending_out=0))},U=(e,n)=>{Ki(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,n),e.block_start=e.strstart,L(e.strm)},A=(e,n)=>{e.pending_buf[e.pending++]=n},ue=(e,n)=>{e.pending_buf[e.pending++]=n>>>8&255,e.pending_buf[e.pending++]=n&255},bt=(e,n,t,i)=>{let r=e.avail_in;return r>i&&(r=i),r===0?0:(e.avail_in-=r,n.set(e.input.subarray(e.next_in,e.next_in+r),t),e.state.wrap===1?e.adler=Ee(e.adler,n,r,t):e.state.wrap===2&&(e.adler=I(e.adler,n,r,t)),e.next_in+=r,e.total_in+=r,r)},Rn=(e,n)=>{let t=e.max_chain_length,i=e.strstart,r,a,_=e.prev_length,o=e.nice_match;const c=e.strstart>e.w_size-K?e.strstart-(e.w_size-K):0,l=e.window,f=e.w_mask,p=e.prev,d=e.strstart+W;let s=l[i+_-1],u=l[i+_];e.prev_length>=e.good_match&&(t>>=2),o>e.lookahead&&(o=e.lookahead);do if(r=n,!(l[r+_]!==u||l[r+_-1]!==s||l[r]!==l[i]||l[++r]!==l[i+1])){i+=2,r++;do;while(l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&i<d);if(a=W-(d-i),i=d-W,a>_){if(e.match_start=n,_=a,a>=o)break;s=l[i+_-1],u=l[i+_]}}while((n=p[n&f])>c&&--t!==0);return _<=e.lookahead?_:e.lookahead},se=e=>{const n=e.w_size;let t,i,r;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-K)&&(e.window.set(e.window.subarray(n,n+n-i),0),e.match_start-=n,e.strstart-=n,e.block_start-=n,e.insert>e.strstart&&(e.insert=e.strstart),da(e),i+=n),e.strm.avail_in===0)break;if(t=bt(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=t,e.lookahead+e.insert>=v)for(r=e.strstart-e.insert,e.ins_h=e.window[r],e.ins_h=q(e,e.ins_h,e.window[r+1]);e.insert&&(e.ins_h=q(e,e.ins_h,e.window[r+v-1]),e.prev[r&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=r,r++,e.insert--,!(e.lookahead+e.insert<v)););}while(e.lookahead<K&&e.strm.avail_in!==0)},Dn=(e,n)=>{let t=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,i,r,a,_=0,o=e.strm.avail_in;do{if(i=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a||(a=e.strm.avail_out-a,r=e.strstart-e.block_start,i>r+e.strm.avail_in&&(i=r+e.strm.avail_in),i>a&&(i=a),i<t&&(i===0&&n!==M||n===V||i!==r+e.strm.avail_in)))break;_=n===M&&i===r+e.strm.avail_in?1:0,st(e,0,0,_),e.pending_buf[e.pending-4]=i,e.pending_buf[e.pending-3]=i>>8,e.pending_buf[e.pending-2]=~i,e.pending_buf[e.pending-1]=~i>>8,L(e.strm),r&&(r>i&&(r=i),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+r),e.strm.next_out),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r,e.block_start+=r,i-=r),i&&(bt(e.strm,e.strm.output,e.strm.next_out,i),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i)}while(_===0);return o-=e.strm.avail_in,o&&(o>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=o&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-o,e.strm.next_in),e.strstart),e.strstart+=o,e.insert+=o>e.w_size-e.insert?e.w_size-e.insert:o),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),_?ce:n!==V&&n!==M&&e.strm.avail_in===0&&e.strstart===e.block_start?he:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&(bt(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a,t=a>e.w_size?e.w_size:a,r=e.strstart-e.block_start,(r>=t||(r||n===M)&&n!==V&&e.strm.avail_in===0&&r<=a)&&(i=r>a?a:r,_=n===M&&e.strm.avail_in===0&&i===r?1:0,st(e,e.block_start,i,_),e.block_start+=i,L(e.strm)),_?ne:C)},Qe=(e,n)=>{let t,i;for(;;){if(e.lookahead<K){if(se(e),e.lookahead<K&&n===V)return C;if(e.lookahead===0)break}if(t=0,e.lookahead>=v&&(e.ins_h=q(e,e.ins_h,e.window[e.strstart+v-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-K&&(e.match_length=Rn(e,t)),e.match_length>=v)if(i=j(e,e.strstart-e.match_start,e.match_length-v),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=v){e.match_length--;do e.strstart++,e.ins_h=q(e,e.ins_h,e.window[e.strstart+v-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=q(e,e.ins_h,e.window[e.strstart+1]);else i=j(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(U(e,!1),e.strm.avail_out===0))return C}return e.insert=e.strstart<v-1?e.strstart:v-1,n===M?(U(e,!0),e.strm.avail_out===0?ne:ce):e.sym_next&&(U(e,!1),e.strm.avail_out===0)?C:he},re=(e,n)=>{let t,i,r;for(;;){if(e.lookahead<K){if(se(e),e.lookahead<K&&n===V)return C;if(e.lookahead===0)break}if(t=0,e.lookahead>=v&&(e.ins_h=q(e,e.ins_h,e.window[e.strstart+v-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=v-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-K&&(e.match_length=Rn(e,t),e.match_length<=5&&(e.strategy===ji||e.match_length===v&&e.strstart-e.match_start>4096)&&(e.match_length=v-1)),e.prev_length>=v&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-v,i=j(e,e.strstart-1-e.prev_match,e.prev_length-v),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=r&&(e.ins_h=q(e,e.ins_h,e.window[e.strstart+v-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=v-1,e.strstart++,i&&(U(e,!1),e.strm.avail_out===0))return C}else if(e.match_available){if(i=j(e,0,e.window[e.strstart-1]),i&&U(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return C}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=j(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<v-1?e.strstart:v-1,n===M?(U(e,!0),e.strm.avail_out===0?ne:ce):e.sym_next&&(U(e,!1),e.strm.avail_out===0)?C:he},ca=(e,n)=>{let t,i,r,a;const _=e.window;for(;;){if(e.lookahead<=W){if(se(e),e.lookahead<=W&&n===V)return C;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=v&&e.strstart>0&&(r=e.strstart-1,i=_[r],i===_[++r]&&i===_[++r]&&i===_[++r])){a=e.strstart+W;do;while(i===_[++r]&&i===_[++r]&&i===_[++r]&&i===_[++r]&&i===_[++r]&&i===_[++r]&&i===_[++r]&&i===_[++r]&&r<a);e.match_length=W-(a-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=v?(t=j(e,1,e.match_length-v),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=j(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(U(e,!1),e.strm.avail_out===0))return C}return e.insert=0,n===M?(U(e,!0),e.strm.avail_out===0?ne:ce):e.sym_next&&(U(e,!1),e.strm.avail_out===0)?C:he},ua=(e,n)=>{let t;for(;;){if(e.lookahead===0&&(se(e),e.lookahead===0)){if(n===V)return C;break}if(e.match_length=0,t=j(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(U(e,!1),e.strm.avail_out===0))return C}return e.insert=0,n===M?(U(e,!0),e.strm.avail_out===0?ne:ce):e.sym_next&&(U(e,!1),e.strm.avail_out===0)?C:he};function $(e,n,t,i,r){this.good_length=e,this.max_lazy=n,this.nice_length=t,this.max_chain=i,this.func=r}const be=[new $(0,0,0,0,Dn),new $(4,4,8,4,Qe),new $(4,5,16,8,Qe),new $(4,6,32,32,Qe),new $(4,4,16,16,re),new $(8,16,32,32,re),new $(8,16,128,128,re),new $(8,32,128,256,re),new $(32,128,258,1024,re),new $(32,258,258,4096,re)],wa=e=>{e.window_size=2*e.w_size,G(e.head),e.max_lazy_match=be[e.level].max_lazy,e.good_match=be[e.level].good_length,e.nice_match=be[e.level].nice_length,e.max_chain_length=be[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=v-1,e.match_available=0,e.ins_h=0};function ba(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Ke,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(oa*2),this.dyn_dtree=new Uint16Array((2*ra+1)*2),this.bl_tree=new Uint16Array((2*la+1)*2),G(this.dyn_ltree),G(this.dyn_dtree),G(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(fa+1),this.heap=new Uint16Array(2*dt+1),G(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*dt+1),G(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const De=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.status!==_e&&n.status!==vt&&n.status!==ht&&n.status!==ct&&n.status!==ut&&n.status!==wt&&n.status!==ee&&n.status!==we?1:0},In=e=>{if(De(e))return te(e,B);e.total_in=e.total_out=0,e.data_type=Qi;const n=e.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?vt:n.wrap?_e:ee,e.adler=n.wrap===2?0:1,n.last_flush=-2,Bi(n),Z},Zn=e=>{const n=In(e);return n===Z&&wa(e.state),n},ga=(e,n)=>De(e)||e.state.wrap!==2?B:(e.state.gzhead=n,Z),On=(e,n,t,i,r,a)=>{if(!e)return B;let _=1;if(n===Wi&&(n=6),i<0?(_=0,i=-i):i>15&&(_=2,i-=16),r<1||r>ea||t!==Ke||i<8||i>15||n<0||n>9||a<0||a>qi||i===8&&_!==1)return te(e,B);i===8&&(i=9);const o=new ba;return e.state=o,o.strm=e,o.status=_e,o.wrap=_,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=r+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+v-1)/v),o.window=new Uint8Array(o.w_size*2),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<r+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=(o.lit_bufsize-1)*3,o.level=n,o.strategy=a,o.method=t,Zn(e)},pa=(e,n)=>On(e,n,Ke,ta,na,Ji),xa=(e,n)=>{if(De(e)||n>Ct||n<0)return e?te(e,B):B;const t=e.state;if(!e.output||e.avail_in!==0&&!e.input||t.status===we&&n!==M)return te(e,e.avail_out===0?Je:B);const i=t.last_flush;if(t.last_flush=n,t.pending!==0){if(L(e),e.avail_out===0)return t.last_flush=-1,Z}else if(e.avail_in===0&&Lt(n)<=Lt(i)&&n!==M)return te(e,Je);if(t.status===we&&e.avail_in!==0)return te(e,Je);if(t.status===_e&&t.wrap===0&&(t.status=ee),t.status===_e){let r=Ke+(t.w_bits-8<<4)<<8,a=-1;if(t.strategy>=Ce||t.level<2?a=0:t.level<6?a=1:t.level===6?a=2:a=3,r|=a<<6,t.strstart!==0&&(r|=_a),r+=31-r%31,ue(t,r),t.strstart!==0&&(ue(t,e.adler>>>16),ue(t,e.adler&65535)),e.adler=1,t.status=ee,L(e),t.pending!==0)return t.last_flush=-1,Z}if(t.status===vt){if(e.adler=0,A(t,31),A(t,139),A(t,8),t.gzhead)A(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),A(t,t.gzhead.time&255),A(t,t.gzhead.time>>8&255),A(t,t.gzhead.time>>16&255),A(t,t.gzhead.time>>24&255),A(t,t.level===9?2:t.strategy>=Ce||t.level<2?4:0),A(t,t.gzhead.os&255),t.gzhead.extra&&t.gzhead.extra.length&&(A(t,t.gzhead.extra.length&255),A(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(e.adler=I(e.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=ht;else if(A(t,0),A(t,0),A(t,0),A(t,0),A(t,0),A(t,t.level===9?2:t.strategy>=Ce||t.level<2?4:0),A(t,sa),t.status=ee,L(e),t.pending!==0)return t.last_flush=-1,Z}if(t.status===ht){if(t.gzhead.extra){let r=t.pending,a=(t.gzhead.extra.length&65535)-t.gzindex;for(;t.pending+a>t.pending_buf_size;){let o=t.pending_buf_size-t.pending;if(t.pending_buf.set(t.gzhead.extra.subarray(t.gzindex,t.gzindex+o),t.pending),t.pending=t.pending_buf_size,t.gzhead.hcrc&&t.pending>r&&(e.adler=I(e.adler,t.pending_buf,t.pending-r,r)),t.gzindex+=o,L(e),t.pending!==0)return t.last_flush=-1,Z;r=0,a-=o}let _=new Uint8Array(t.gzhead.extra);t.pending_buf.set(_.subarray(t.gzindex,t.gzindex+a),t.pending),t.pending+=a,t.gzhead.hcrc&&t.pending>r&&(e.adler=I(e.adler,t.pending_buf,t.pending-r,r)),t.gzindex=0}t.status=ct}if(t.status===ct){if(t.gzhead.name){let r=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>r&&(e.adler=I(e.adler,t.pending_buf,t.pending-r,r)),L(e),t.pending!==0)return t.last_flush=-1,Z;r=0}t.gzindex<t.gzhead.name.length?a=t.gzhead.name.charCodeAt(t.gzindex++)&255:a=0,A(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>r&&(e.adler=I(e.adler,t.pending_buf,t.pending-r,r)),t.gzindex=0}t.status=ut}if(t.status===ut){if(t.gzhead.comment){let r=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>r&&(e.adler=I(e.adler,t.pending_buf,t.pending-r,r)),L(e),t.pending!==0)return t.last_flush=-1,Z;r=0}t.gzindex<t.gzhead.comment.length?a=t.gzhead.comment.charCodeAt(t.gzindex++)&255:a=0,A(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>r&&(e.adler=I(e.adler,t.pending_buf,t.pending-r,r))}t.status=wt}if(t.status===wt){if(t.gzhead.hcrc){if(t.pending+2>t.pending_buf_size&&(L(e),t.pending!==0))return t.last_flush=-1,Z;A(t,e.adler&255),A(t,e.adler>>8&255),e.adler=0}if(t.status=ee,L(e),t.pending!==0)return t.last_flush=-1,Z}if(e.avail_in!==0||t.lookahead!==0||n!==V&&t.status!==we){let r=t.level===0?Dn(t,n):t.strategy===Ce?ua(t,n):t.strategy===Vi?ca(t,n):be[t.level].func(t,n);if((r===ne||r===ce)&&(t.status=we),r===C||r===ne)return e.avail_out===0&&(t.last_flush=-1),Z;if(r===he&&(n===Xi?Pi(t):n!==Ct&&(st(t,0,0,!1),n===Yi&&(G(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),L(e),e.avail_out===0))return t.last_flush=-1,Z}return n!==M?Z:t.wrap<=0?Nt:(t.wrap===2?(A(t,e.adler&255),A(t,e.adler>>8&255),A(t,e.adler>>16&255),A(t,e.adler>>24&255),A(t,e.total_in&255),A(t,e.total_in>>8&255),A(t,e.total_in>>16&255),A(t,e.total_in>>24&255)):(ue(t,e.adler>>>16),ue(t,e.adler&65535)),L(e),t.wrap>0&&(t.wrap=-t.wrap),t.pending!==0?Z:Nt)},ka=e=>{if(De(e))return B;const n=e.state.status;return e.state=null,n===ee?te(e,Gi):Z},va=(e,n)=>{let t=n.length;if(De(e))return B;const i=e.state,r=i.wrap;if(r===2||r===1&&i.status!==_e||i.lookahead)return B;if(r===1&&(e.adler=Ee(e.adler,n,t,0)),i.wrap=0,t>=i.w_size){r===0&&(G(i.head),i.strstart=0,i.block_start=0,i.insert=0);let c=new Uint8Array(i.w_size);c.set(n.subarray(t-i.w_size,t),0),n=c,t=i.w_size}const a=e.avail_in,_=e.next_in,o=e.input;for(e.avail_in=t,e.next_in=0,e.input=n,se(i);i.lookahead>=v;){let c=i.strstart,l=i.lookahead-(v-1);do i.ins_h=q(i,i.ins_h,i.window[c+v-1]),i.prev[c&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=c,c++;while(--l);i.strstart=c,i.lookahead=v-1,se(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=v-1,i.match_available=0,e.next_in=_,e.input=o,e.avail_in=a,i.wrap=r,Z};var ma=pa,ya=On,Ea=Zn,Sa=In,Aa=ga,za=xa,Ta=ka,Ra=va,Da="pako deflate (from Nodeca project)",pe={deflateInit:ma,deflateInit2:ya,deflateReset:Ea,deflateResetKeep:Sa,deflateSetHeader:Aa,deflate:za,deflateEnd:Ta,deflateSetDictionary:Ra,deflateInfo:Da};const Ia=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var Za=function(e){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const t=n.shift();if(!!t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const i in t)Ia(t,i)&&(e[i]=t[i])}}return e},Oa=e=>{let n=0;for(let i=0,r=e.length;i<r;i++)n+=e[i].length;const t=new Uint8Array(n);for(let i=0,r=0,a=e.length;i<a;i++){let _=e[i];t.set(_,r),r+=_.length}return t},Pe={assign:Za,flattenChunks:Oa};let Cn=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Cn=!1}const Se=new Uint8Array(256);for(let e=0;e<256;e++)Se[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Se[254]=Se[254]=1;var Ca=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let n,t,i,r,a,_=e.length,o=0;for(r=0;r<_;r++)t=e.charCodeAt(r),(t&64512)===55296&&r+1<_&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),r++)),o+=t<128?1:t<2048?2:t<65536?3:4;for(n=new Uint8Array(o),a=0,r=0;a<o;r++)t=e.charCodeAt(r),(t&64512)===55296&&r+1<_&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),r++)),t<128?n[a++]=t:t<2048?(n[a++]=192|t>>>6,n[a++]=128|t&63):t<65536?(n[a++]=224|t>>>12,n[a++]=128|t>>>6&63,n[a++]=128|t&63):(n[a++]=240|t>>>18,n[a++]=128|t>>>12&63,n[a++]=128|t>>>6&63,n[a++]=128|t&63);return n};const Na=(e,n)=>{if(n<65534&&e.subarray&&Cn)return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n));let t="";for(let i=0;i<n;i++)t+=String.fromCharCode(e[i]);return t};var La=(e,n)=>{const t=n||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,n));let i,r;const a=new Array(t*2);for(r=0,i=0;i<t;){let _=e[i++];if(_<128){a[r++]=_;continue}let o=Se[_];if(o>4){a[r++]=65533,i+=o-1;continue}for(_&=o===2?31:o===3?15:7;o>1&&i<t;)_=_<<6|e[i++]&63,o--;if(o>1){a[r++]=65533;continue}_<65536?a[r++]=_:(_-=65536,a[r++]=55296|_>>10&1023,a[r++]=56320|_&1023)}return Na(a,r)},Ua=(e,n)=>{n=n||e.length,n>e.length&&(n=e.length);let t=n-1;for(;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?n:t+Se[e[t]]>n?t:n},Ae={string2buf:Ca,buf2string:La,utf8border:Ua};function Ma(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Nn=Ma;const Ln=Object.prototype.toString,{Z_NO_FLUSH:Fa,Z_SYNC_FLUSH:$a,Z_FULL_FLUSH:Ha,Z_FINISH:Ba,Z_OK:He,Z_STREAM_END:Ka,Z_DEFAULT_COMPRESSION:Pa,Z_DEFAULT_STRATEGY:Xa,Z_DEFLATED:Ya}=Re;function mt(e){this.options=Pe.assign({level:Pa,method:Ya,chunkSize:16384,windowBits:15,memLevel:8,strategy:Xa},e||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Nn,this.strm.avail_out=0;let t=pe.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(t!==He)throw new Error(fe[t]);if(n.header&&pe.deflateSetHeader(this.strm,n.header),n.dictionary){let i;if(typeof n.dictionary=="string"?i=Ae.string2buf(n.dictionary):Ln.call(n.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(n.dictionary):i=n.dictionary,t=pe.deflateSetDictionary(this.strm,i),t!==He)throw new Error(fe[t]);this._dict_set=!0}}mt.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize;let r,a;if(this.ended)return!1;for(n===~~n?a=n:a=n===!0?Ba:Fa,typeof e=="string"?t.input=Ae.string2buf(e):Ln.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){if(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),(a===$a||a===Ha)&&t.avail_out<=6){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(r=pe.deflate(t,a),r===Ka)return t.next_out>0&&this.onData(t.output.subarray(0,t.next_out)),r=pe.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===He;if(t.avail_out===0){this.onData(t.output);continue}if(a>0&&t.next_out>0){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(t.avail_in===0)break}return!0};mt.prototype.onData=function(e){this.chunks.push(e)};mt.prototype.onEnd=function(e){e===He&&(this.result=Pe.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};const Ne=16209,Ga=16191;var Wa=function(n,t){let i,r,a,_,o,c,l,f,p,d,s,u,E,m,g,z,x,h,S,D,w,T,y,b;const k=n.state;i=n.next_in,y=n.input,r=i+(n.avail_in-5),a=n.next_out,b=n.output,_=a-(t-n.avail_out),o=a+(n.avail_out-257),c=k.dmax,l=k.wsize,f=k.whave,p=k.wnext,d=k.window,s=k.hold,u=k.bits,E=k.lencode,m=k.distcode,g=(1<<k.lenbits)-1,z=(1<<k.distbits)-1;e:do{u<15&&(s+=y[i++]<<u,u+=8,s+=y[i++]<<u,u+=8),x=E[s&g];t:for(;;){if(h=x>>>24,s>>>=h,u-=h,h=x>>>16&255,h===0)b[a++]=x&65535;else if(h&16){S=x&65535,h&=15,h&&(u<h&&(s+=y[i++]<<u,u+=8),S+=s&(1<<h)-1,s>>>=h,u-=h),u<15&&(s+=y[i++]<<u,u+=8,s+=y[i++]<<u,u+=8),x=m[s&z];n:for(;;){if(h=x>>>24,s>>>=h,u-=h,h=x>>>16&255,h&16){if(D=x&65535,h&=15,u<h&&(s+=y[i++]<<u,u+=8,u<h&&(s+=y[i++]<<u,u+=8)),D+=s&(1<<h)-1,D>c){n.msg="invalid distance too far back",k.mode=Ne;break e}if(s>>>=h,u-=h,h=a-_,D>h){if(h=D-h,h>f&&k.sane){n.msg="invalid distance too far back",k.mode=Ne;break e}if(w=0,T=d,p===0){if(w+=l-h,h<S){S-=h;do b[a++]=d[w++];while(--h);w=a-D,T=b}}else if(p<h){if(w+=l+p-h,h-=p,h<S){S-=h;do b[a++]=d[w++];while(--h);if(w=0,p<S){h=p,S-=h;do b[a++]=d[w++];while(--h);w=a-D,T=b}}}else if(w+=p-h,h<S){S-=h;do b[a++]=d[w++];while(--h);w=a-D,T=b}for(;S>2;)b[a++]=T[w++],b[a++]=T[w++],b[a++]=T[w++],S-=3;S&&(b[a++]=T[w++],S>1&&(b[a++]=T[w++]))}else{w=a-D;do b[a++]=b[w++],b[a++]=b[w++],b[a++]=b[w++],S-=3;while(S>2);S&&(b[a++]=b[w++],S>1&&(b[a++]=b[w++]))}}else if((h&64)===0){x=m[(x&65535)+(s&(1<<h)-1)];continue n}else{n.msg="invalid distance code",k.mode=Ne;break e}break}}else if((h&64)===0){x=E[(x&65535)+(s&(1<<h)-1)];continue t}else if(h&32){k.mode=Ga;break e}else{n.msg="invalid literal/length code",k.mode=Ne;break e}break}}while(i<r&&a<o);S=u>>3,i-=S,u-=S<<3,s&=(1<<u)-1,n.next_in=i,n.next_out=a,n.avail_in=i<r?5+(r-i):5-(i-r),n.avail_out=a<o?257+(o-a):257-(a-o),k.hold=s,k.bits=u};const le=15,Ut=852,Mt=592,Ft=0,et=1,$t=2,ja=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),Va=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),qa=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Ja=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),Qa=(e,n,t,i,r,a,_,o)=>{const c=o.bits;let l=0,f=0,p=0,d=0,s=0,u=0,E=0,m=0,g=0,z=0,x,h,S,D,w,T=null,y;const b=new Uint16Array(le+1),k=new Uint16Array(le+1);let J=null,Et,Ze,Oe;for(l=0;l<=le;l++)b[l]=0;for(f=0;f<i;f++)b[n[t+f]]++;for(s=c,d=le;d>=1&&b[d]===0;d--);if(s>d&&(s=d),d===0)return r[a++]=1<<24|64<<16|0,r[a++]=1<<24|64<<16|0,o.bits=1,0;for(p=1;p<d&&b[p]===0;p++);for(s<p&&(s=p),m=1,l=1;l<=le;l++)if(m<<=1,m-=b[l],m<0)return-1;if(m>0&&(e===Ft||d!==1))return-1;for(k[1]=0,l=1;l<le;l++)k[l+1]=k[l]+b[l];for(f=0;f<i;f++)n[t+f]!==0&&(_[k[n[t+f]]++]=f);if(e===Ft?(T=J=_,y=20):e===et?(T=ja,J=Va,y=257):(T=qa,J=Ja,y=0),z=0,f=0,l=p,w=a,u=s,E=0,S=-1,g=1<<s,D=g-1,e===et&&g>Ut||e===$t&&g>Mt)return 1;for(;;){Et=l-E,_[f]+1<y?(Ze=0,Oe=_[f]):_[f]>=y?(Ze=J[_[f]-y],Oe=T[_[f]-y]):(Ze=32+64,Oe=0),x=1<<l-E,h=1<<u,p=h;do h-=x,r[w+(z>>E)+h]=Et<<24|Ze<<16|Oe|0;while(h!==0);for(x=1<<l-1;z&x;)x>>=1;if(x!==0?(z&=x-1,z+=x):z=0,f++,--b[l]===0){if(l===d)break;l=n[t+_[f]]}if(l>s&&(z&D)!==S){for(E===0&&(E=s),w+=p,u=l-E,m=1<<u;u+E<d&&(m-=b[u+E],!(m<=0));)u++,m<<=1;if(g+=1<<u,e===et&&g>Ut||e===$t&&g>Mt)return 1;S=z&D,r[S]=s<<24|u<<16|w-a|0}}return z!==0&&(r[w+z]=l-E<<24|64<<16|0),o.bits=s,0};var xe=Qa;const er=0,Un=1,Mn=2,{Z_FINISH:Ht,Z_BLOCK:tr,Z_TREES:Le,Z_OK:ie,Z_STREAM_END:nr,Z_NEED_DICT:ir,Z_STREAM_ERROR:F,Z_DATA_ERROR:Fn,Z_MEM_ERROR:$n,Z_BUF_ERROR:ar,Z_DEFLATED:Bt}=Re,Xe=16180,Kt=16181,Pt=16182,Xt=16183,Yt=16184,Gt=16185,Wt=16186,jt=16187,Vt=16188,qt=16189,Be=16190,P=16191,tt=16192,Jt=16193,nt=16194,Qt=16195,en=16196,tn=16197,nn=16198,Ue=16199,Me=16200,an=16201,rn=16202,ln=16203,on=16204,fn=16205,it=16206,_n=16207,sn=16208,R=16209,Hn=16210,Bn=16211,rr=852,lr=592,or=15,fr=or,dn=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function _r(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ae=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.mode<Xe||n.mode>Bn?1:0},Kn=e=>{if(ae(e))return F;const n=e.state;return e.total_in=e.total_out=n.total=0,e.msg="",n.wrap&&(e.adler=n.wrap&1),n.mode=Xe,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(rr),n.distcode=n.distdyn=new Int32Array(lr),n.sane=1,n.back=-1,ie},Pn=e=>{if(ae(e))return F;const n=e.state;return n.wsize=0,n.whave=0,n.wnext=0,Kn(e)},Xn=(e,n)=>{let t;if(ae(e))return F;const i=e.state;return n<0?(t=0,n=-n):(t=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?F:(i.window!==null&&i.wbits!==n&&(i.window=null),i.wrap=t,i.wbits=n,Pn(e))},Yn=(e,n)=>{if(!e)return F;const t=new _r;e.state=t,t.strm=e,t.window=null,t.mode=Xe;const i=Xn(e,n);return i!==ie&&(e.state=null),i},sr=e=>Yn(e,fr);let hn=!0,at,rt;const dr=e=>{if(hn){at=new Int32Array(512),rt=new Int32Array(32);let n=0;for(;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(xe(Un,e.lens,0,288,at,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;xe(Mn,e.lens,0,32,rt,0,e.work,{bits:5}),hn=!1}e.lencode=at,e.lenbits=9,e.distcode=rt,e.distbits=5},Gn=(e,n,t,i)=>{let r;const a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),i>=a.wsize?(a.window.set(n.subarray(t-a.wsize,t),0),a.wnext=0,a.whave=a.wsize):(r=a.wsize-a.wnext,r>i&&(r=i),a.window.set(n.subarray(t-i,t-i+r),a.wnext),i-=r,i?(a.window.set(n.subarray(t-i,t),0),a.wnext=i,a.whave=a.wsize):(a.wnext+=r,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=r))),0},hr=(e,n)=>{let t,i,r,a,_,o,c,l,f,p,d,s,u,E,m=0,g,z,x,h,S,D,w,T;const y=new Uint8Array(4);let b,k;const J=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ae(e)||!e.output||!e.input&&e.avail_in!==0)return F;t=e.state,t.mode===P&&(t.mode=tt),_=e.next_out,r=e.output,c=e.avail_out,a=e.next_in,i=e.input,o=e.avail_in,l=t.hold,f=t.bits,p=o,d=c,T=ie;e:for(;;)switch(t.mode){case Xe:if(t.wrap===0){t.mode=tt;break}for(;f<16;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}if(t.wrap&2&&l===35615){t.wbits===0&&(t.wbits=15),t.check=0,y[0]=l&255,y[1]=l>>>8&255,t.check=I(t.check,y,2,0),l=0,f=0,t.mode=Kt;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((l&255)<<8)+(l>>8))%31){e.msg="incorrect header check",t.mode=R;break}if((l&15)!==Bt){e.msg="unknown compression method",t.mode=R;break}if(l>>>=4,f-=4,w=(l&15)+8,t.wbits===0&&(t.wbits=w),w>15||w>t.wbits){e.msg="invalid window size",t.mode=R;break}t.dmax=1<<t.wbits,t.flags=0,e.adler=t.check=1,t.mode=l&512?qt:P,l=0,f=0;break;case Kt:for(;f<16;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}if(t.flags=l,(t.flags&255)!==Bt){e.msg="unknown compression method",t.mode=R;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=R;break}t.head&&(t.head.text=l>>8&1),t.flags&512&&t.wrap&4&&(y[0]=l&255,y[1]=l>>>8&255,t.check=I(t.check,y,2,0)),l=0,f=0,t.mode=Pt;case Pt:for(;f<32;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}t.head&&(t.head.time=l),t.flags&512&&t.wrap&4&&(y[0]=l&255,y[1]=l>>>8&255,y[2]=l>>>16&255,y[3]=l>>>24&255,t.check=I(t.check,y,4,0)),l=0,f=0,t.mode=Xt;case Xt:for(;f<16;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}t.head&&(t.head.xflags=l&255,t.head.os=l>>8),t.flags&512&&t.wrap&4&&(y[0]=l&255,y[1]=l>>>8&255,t.check=I(t.check,y,2,0)),l=0,f=0,t.mode=Yt;case Yt:if(t.flags&1024){for(;f<16;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}t.length=l,t.head&&(t.head.extra_len=l),t.flags&512&&t.wrap&4&&(y[0]=l&255,y[1]=l>>>8&255,t.check=I(t.check,y,2,0)),l=0,f=0}else t.head&&(t.head.extra=null);t.mode=Gt;case Gt:if(t.flags&1024&&(s=t.length,s>o&&(s=o),s&&(t.head&&(w=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(i.subarray(a,a+s),w)),t.flags&512&&t.wrap&4&&(t.check=I(t.check,i,s,a)),o-=s,a+=s,t.length-=s),t.length))break e;t.length=0,t.mode=Wt;case Wt:if(t.flags&2048){if(o===0)break e;s=0;do w=i[a+s++],t.head&&w&&t.length<65536&&(t.head.name+=String.fromCharCode(w));while(w&&s<o);if(t.flags&512&&t.wrap&4&&(t.check=I(t.check,i,s,a)),o-=s,a+=s,w)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=jt;case jt:if(t.flags&4096){if(o===0)break e;s=0;do w=i[a+s++],t.head&&w&&t.length<65536&&(t.head.comment+=String.fromCharCode(w));while(w&&s<o);if(t.flags&512&&t.wrap&4&&(t.check=I(t.check,i,s,a)),o-=s,a+=s,w)break e}else t.head&&(t.head.comment=null);t.mode=Vt;case Vt:if(t.flags&512){for(;f<16;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}if(t.wrap&4&&l!==(t.check&65535)){e.msg="header crc mismatch",t.mode=R;break}l=0,f=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=P;break;case qt:for(;f<32;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}e.adler=t.check=dn(l),l=0,f=0,t.mode=Be;case Be:if(t.havedict===0)return e.next_out=_,e.avail_out=c,e.next_in=a,e.avail_in=o,t.hold=l,t.bits=f,ir;e.adler=t.check=1,t.mode=P;case P:if(n===tr||n===Le)break e;case tt:if(t.last){l>>>=f&7,f-=f&7,t.mode=it;break}for(;f<3;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}switch(t.last=l&1,l>>>=1,f-=1,l&3){case 0:t.mode=Jt;break;case 1:if(dr(t),t.mode=Ue,n===Le){l>>>=2,f-=2;break e}break;case 2:t.mode=en;break;case 3:e.msg="invalid block type",t.mode=R}l>>>=2,f-=2;break;case Jt:for(l>>>=f&7,f-=f&7;f<32;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}if((l&65535)!==(l>>>16^65535)){e.msg="invalid stored block lengths",t.mode=R;break}if(t.length=l&65535,l=0,f=0,t.mode=nt,n===Le)break e;case nt:t.mode=Qt;case Qt:if(s=t.length,s){if(s>o&&(s=o),s>c&&(s=c),s===0)break e;r.set(i.subarray(a,a+s),_),o-=s,a+=s,c-=s,_+=s,t.length-=s;break}t.mode=P;break;case en:for(;f<14;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}if(t.nlen=(l&31)+257,l>>>=5,f-=5,t.ndist=(l&31)+1,l>>>=5,f-=5,t.ncode=(l&15)+4,l>>>=4,f-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=R;break}t.have=0,t.mode=tn;case tn:for(;t.have<t.ncode;){for(;f<3;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}t.lens[J[t.have++]]=l&7,l>>>=3,f-=3}for(;t.have<19;)t.lens[J[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,b={bits:t.lenbits},T=xe(er,t.lens,0,19,t.lencode,0,t.work,b),t.lenbits=b.bits,T){e.msg="invalid code lengths set",t.mode=R;break}t.have=0,t.mode=nn;case nn:for(;t.have<t.nlen+t.ndist;){for(;m=t.lencode[l&(1<<t.lenbits)-1],g=m>>>24,z=m>>>16&255,x=m&65535,!(g<=f);){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}if(x<16)l>>>=g,f-=g,t.lens[t.have++]=x;else{if(x===16){for(k=g+2;f<k;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}if(l>>>=g,f-=g,t.have===0){e.msg="invalid bit length repeat",t.mode=R;break}w=t.lens[t.have-1],s=3+(l&3),l>>>=2,f-=2}else if(x===17){for(k=g+3;f<k;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}l>>>=g,f-=g,w=0,s=3+(l&7),l>>>=3,f-=3}else{for(k=g+7;f<k;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}l>>>=g,f-=g,w=0,s=11+(l&127),l>>>=7,f-=7}if(t.have+s>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=R;break}for(;s--;)t.lens[t.have++]=w}}if(t.mode===R)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=R;break}if(t.lenbits=9,b={bits:t.lenbits},T=xe(Un,t.lens,0,t.nlen,t.lencode,0,t.work,b),t.lenbits=b.bits,T){e.msg="invalid literal/lengths set",t.mode=R;break}if(t.distbits=6,t.distcode=t.distdyn,b={bits:t.distbits},T=xe(Mn,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,b),t.distbits=b.bits,T){e.msg="invalid distances set",t.mode=R;break}if(t.mode=Ue,n===Le)break e;case Ue:t.mode=Me;case Me:if(o>=6&&c>=258){e.next_out=_,e.avail_out=c,e.next_in=a,e.avail_in=o,t.hold=l,t.bits=f,Wa(e,d),_=e.next_out,r=e.output,c=e.avail_out,a=e.next_in,i=e.input,o=e.avail_in,l=t.hold,f=t.bits,t.mode===P&&(t.back=-1);break}for(t.back=0;m=t.lencode[l&(1<<t.lenbits)-1],g=m>>>24,z=m>>>16&255,x=m&65535,!(g<=f);){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}if(z&&(z&240)===0){for(h=g,S=z,D=x;m=t.lencode[D+((l&(1<<h+S)-1)>>h)],g=m>>>24,z=m>>>16&255,x=m&65535,!(h+g<=f);){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}l>>>=h,f-=h,t.back+=h}if(l>>>=g,f-=g,t.back+=g,t.length=x,z===0){t.mode=fn;break}if(z&32){t.back=-1,t.mode=P;break}if(z&64){e.msg="invalid literal/length code",t.mode=R;break}t.extra=z&15,t.mode=an;case an:if(t.extra){for(k=t.extra;f<k;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}t.length+=l&(1<<t.extra)-1,l>>>=t.extra,f-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=rn;case rn:for(;m=t.distcode[l&(1<<t.distbits)-1],g=m>>>24,z=m>>>16&255,x=m&65535,!(g<=f);){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}if((z&240)===0){for(h=g,S=z,D=x;m=t.distcode[D+((l&(1<<h+S)-1)>>h)],g=m>>>24,z=m>>>16&255,x=m&65535,!(h+g<=f);){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}l>>>=h,f-=h,t.back+=h}if(l>>>=g,f-=g,t.back+=g,z&64){e.msg="invalid distance code",t.mode=R;break}t.offset=x,t.extra=z&15,t.mode=ln;case ln:if(t.extra){for(k=t.extra;f<k;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}t.offset+=l&(1<<t.extra)-1,l>>>=t.extra,f-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=R;break}t.mode=on;case on:if(c===0)break e;if(s=d-c,t.offset>s){if(s=t.offset-s,s>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=R;break}s>t.wnext?(s-=t.wnext,u=t.wsize-s):u=t.wnext-s,s>t.length&&(s=t.length),E=t.window}else E=r,u=_-t.offset,s=t.length;s>c&&(s=c),c-=s,t.length-=s;do r[_++]=E[u++];while(--s);t.length===0&&(t.mode=Me);break;case fn:if(c===0)break e;r[_++]=t.length,c--,t.mode=Me;break;case it:if(t.wrap){for(;f<32;){if(o===0)break e;o--,l|=i[a++]<<f,f+=8}if(d-=c,e.total_out+=d,t.total+=d,t.wrap&4&&d&&(e.adler=t.check=t.flags?I(t.check,r,d,_-d):Ee(t.check,r,d,_-d)),d=c,t.wrap&4&&(t.flags?l:dn(l))!==t.check){e.msg="incorrect data check",t.mode=R;break}l=0,f=0}t.mode=_n;case _n:if(t.wrap&&t.flags){for(;f<32;){if(o===0)break e;o--,l+=i[a++]<<f,f+=8}if(t.wrap&4&&l!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=R;break}l=0,f=0}t.mode=sn;case sn:T=nr;break e;case R:T=Fn;break e;case Hn:return $n;case Bn:default:return F}return e.next_out=_,e.avail_out=c,e.next_in=a,e.avail_in=o,t.hold=l,t.bits=f,(t.wsize||d!==e.avail_out&&t.mode<R&&(t.mode<it||n!==Ht))&&Gn(e,e.output,e.next_out,d-e.avail_out),p-=e.avail_in,d-=e.avail_out,e.total_in+=p,e.total_out+=d,t.total+=d,t.wrap&4&&d&&(e.adler=t.check=t.flags?I(t.check,r,d,e.next_out-d):Ee(t.check,r,d,e.next_out-d)),e.data_type=t.bits+(t.last?64:0)+(t.mode===P?128:0)+(t.mode===Ue||t.mode===nt?256:0),(p===0&&d===0||n===Ht)&&T===ie&&(T=ar),T},cr=e=>{if(ae(e))return F;let n=e.state;return n.window&&(n.window=null),e.state=null,ie},ur=(e,n)=>{if(ae(e))return F;const t=e.state;return(t.wrap&2)===0?F:(t.head=n,n.done=!1,ie)},wr=(e,n)=>{const t=n.length;let i,r,a;return ae(e)||(i=e.state,i.wrap!==0&&i.mode!==Be)?F:i.mode===Be&&(r=1,r=Ee(r,n,t,0),r!==i.check)?Fn:(a=Gn(e,n,t,t),a?(i.mode=Hn,$n):(i.havedict=1,ie))};var br=Pn,gr=Xn,pr=Kn,xr=sr,kr=Yn,vr=hr,mr=cr,yr=ur,Er=wr,Sr="pako inflate (from Nodeca project)",Y={inflateReset:br,inflateReset2:gr,inflateResetKeep:pr,inflateInit:xr,inflateInit2:kr,inflate:vr,inflateEnd:mr,inflateGetHeader:yr,inflateSetDictionary:Er,inflateInfo:Sr};function Ar(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var zr=Ar;const Wn=Object.prototype.toString,{Z_NO_FLUSH:Tr,Z_FINISH:Rr,Z_OK:ze,Z_STREAM_END:lt,Z_NEED_DICT:ot,Z_STREAM_ERROR:Dr,Z_DATA_ERROR:cn,Z_MEM_ERROR:Ir}=Re;function Ie(e){this.options=Pe.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(e&&e.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15)===0&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Nn,this.strm.avail_out=0;let t=Y.inflateInit2(this.strm,n.windowBits);if(t!==ze)throw new Error(fe[t]);if(this.header=new zr,Y.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=Ae.string2buf(n.dictionary):Wn.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(t=Y.inflateSetDictionary(this.strm,n.dictionary),t!==ze)))throw new Error(fe[t])}Ie.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize,r=this.options.dictionary;let a,_,o;if(this.ended)return!1;for(n===~~n?_=n:_=n===!0?Rr:Tr,Wn.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),a=Y.inflate(t,_),a===ot&&r&&(a=Y.inflateSetDictionary(t,r),a===ze?a=Y.inflate(t,_):a===cn&&(a=ot));t.avail_in>0&&a===lt&&t.state.wrap>0&&e[t.next_in]!==0;)Y.inflateReset(t),a=Y.inflate(t,_);switch(a){case Dr:case cn:case ot:case Ir:return this.onEnd(a),this.ended=!0,!1}if(o=t.avail_out,t.next_out&&(t.avail_out===0||a===lt))if(this.options.to==="string"){let c=Ae.utf8border(t.output,t.next_out),l=t.next_out-c,f=Ae.buf2string(t.output,c);t.next_out=l,t.avail_out=i-l,l&&t.output.set(t.output.subarray(c,c+l),0),this.onData(f)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out));if(!(a===ze&&o===0)){if(a===lt)return a=Y.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(t.avail_in===0)break}}return!0};Ie.prototype.onData=function(e){this.chunks.push(e)};Ie.prototype.onEnd=function(e){e===ze&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Pe.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function yt(e,n){const t=new Ie(n);if(t.push(e),t.err)throw t.msg||fe[t.err];return t.result}function Zr(e,n){return n=n||{},n.raw=!0,yt(e,n)}var Or=Ie,Cr=yt,Nr=Zr,Lr=yt,Ur=Re,Mr={Inflate:Or,inflate:Cr,inflateRaw:Nr,ungzip:Lr,constants:Ur};const{Inflate:ol,inflate:Fr,inflateRaw:fl,ungzip:_l}=Mr;var $r=Fr;const Hr={key:0,class:"loading"},Br=ii({__name:"MockForm",setup(e){const n=ai(),t=ri({playerKey:St()}),i=li(null);oi(n,()=>{n.name==="form"&&l()});class r extends Qn{constructor(d){super("mock","editor",{});Ye(this,"onMessage",null);Ye(this,"onOpen",null);this.renderMessage=d,this.onMessage=null}async newConnection(){var d;(d=this.onOpen)==null||d.call(this)}async send(d){var u,E;const s="seq"in d?d.seq:0;d.type==="execution:start"&&((u=this.onMessage)==null||u.call(this,{type:"execution:started",executionId:"1234"})),(E=this.onMessage)==null||E.call(this,{...this.renderMessage,seq:s})}async close(d){}isEditorConnection(){return!1}}function a(f){for(f=f.replace(/-/g,"+").replace(/_/g,"/");f.length%4;)f+="=";const p=atob(f),d=Uint8Array.from(p,E=>E.charCodeAt(0)),s=$r(d),u=new TextDecoder().decode(s);return JSON.parse(u)}const{loading:_,result:o,error:c,refetch:l}=ei(async()=>{t.playerKey=St();const f={isLocal:!1,runtimeType:"form",allowRestart:!1,autoStart:!0,endMessage:null,errorMessage:null,id:"b9980b87-9eaf-456b-a449-11df261a0840",isInitial:!0,path:"public-form",restartButtonText:null,startButtonText:null,startMessage:null,timeoutMessage:null,title:"Public form",welcomeTitle:null,brandName:"Abstra Project",fontFamily:"Inter",language:"en",logoUrl:null,mainColor:"#d14056",sidebar:[],theme:"#fcf0f2"},p=a(n.query.msg),d=new qn({formRunnerData:f,logService:null,connectionManager:new r(p),onRedirect:()=>null,onFormStart:()=>null,onFormEnd:()=>null,onStackTraceUpdate:null,onStateUpdate:u=>i.value=u}),s=d.getState();return i.value=s.formState,{runnerData:f,controller:d}});return(f,p)=>O(_)?(Ge(),fi("div",Hr,[_i(ti)])):O(o)&&O(o).runnerData&&i.value&&!O(c)&&!O(_)?(Ge(),At(ni,{key:1,style:{height:"100vh"},"main-color":O(o).runnerData.mainColor,background:O(o).runnerData.theme,"font-family":O(o).runnerData.fontFamily,locale:O(o).runnerData.language,"logo-url":O(o).runnerData.logoUrl},{default:si(()=>{var d,s,u,E;return[(Ge(),At(Jn,{key:t.playerKey,"form-runner-data":O(o).runnerData,"form-state":i.value,"is-preview":!1,"user-email":null,onRedirect:()=>null,onActionClicked:(d=O(o))==null?void 0:d.controller.handleActionClick,onUpdateWidgetErrors:(s=O(o))==null?void 0:s.controller.updateWidgetFrontendErrors,onUpdateWidgetValue:(u=O(o))==null?void 0:u.controller.updateWidgetValue,onAuthComplete:(E=O(o))==null?void 0:E.controller.handleAuthComplete},null,8,["form-runner-data","form-state","onActionClicked","onUpdateWidgetErrors","onUpdateWidgetValue","onAuthComplete"]))]}),_:1},8,["main-color","background","font-family","locale","logo-url"])):di("",!0)}});const sl=hi(Br,[["__scopeId","data-v-e6d0b794"]]);export{sl as default};
2
- //# sourceMappingURL=MockForm.4ead504b.js.map
@@ -1,2 +0,0 @@
1
- import{_ as m}from"./AbstraButton.vue_vue_type_script_setup_true_lang.5ac4912e.js";import{A as C}from"./constants.54f5dbb0.js";import{d as x,e5 as S,m as B,u as e,o,a as d,S as w,a5 as A,f as a,b as t,g as s,e as _,da as N,ed as f,bR as b,cN as R,el as I,ec as L,e$ as D,aR as $,h as k,_ as G}from"./jwt-decode.esm.28320b05.js";import{a as T}from"./asyncComputed.decbe125.js";import{G as V}from"./PhChats.vue.20c511b5.js";import{F as z}from"./PhSignOut.vue.3cb7cd40.js";import{j as h,l as j}from"./router.858e1af2.js";import{A as E}from"./index.3a2ab2d2.js";import{A as F}from"./index.36aedb48.js";import{u as O}from"./omniChatStore.b7128bc4.js";import{G as P}from"./PhBookBookmark.vue.f5df4397.js";import{G as U}from"./PhSparkle.vue.8e334c6d.js";import{A as q}from"./index.e21caff3.js";import{B as H,A as M}from"./Breadcrumb.6179cdce.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[n]="2bdd3ba9-10de-41ee-8844-4192c13571ed",r._sentryDebugIdIdentifier="sentry-dbid-2bdd3ba9-10de-41ee-8844-4192c13571ed")}catch{}})();const J={key:1,style:{display:"flex","align-items":"center",gap:"16px"}},K={style:{display:"flex","flex-direction":"column",gap:"10px"}},Q={style:{display:"flex",gap:"5px"}},W=x({__name:"LoginBlock",setup(r){function n(y){const g=y.split("@")[0];return I.exports.kebabCase(g).toUpperCase().split("-").slice(0,2).map(c=>c[0]).join("")}const i=S(),{result:l,loading:p,refetch:u}=T(async()=>h.getAuthor());async function v(){await h.logout(),j.shutdown(),u(),i.push({name:"login"})}return(y,g)=>{const c=B("RouterLink");return e(p)?(o(),d(e(w),{key:0})):e(l)?(o(),A("div",J,[a(m,{class:"intercom-launcher",target:"_blank",type:"link",size:"small"},{default:t(()=>[a(e(V)),s(" Support ")]),_:1}),a(e(R),{placement:"bottomRight"},{content:t(()=>[_("div",K,[a(e(N),{size:"small",type:"secondary"},{default:t(()=>[s(f(e(l).claims.email),1)]),_:1}),a(e(b),{type:"text",onClick:v},{default:t(()=>[_("div",Q,[a(e(z),{size:"20"}),s(" Logout ")])]),_:1})])]),default:t(()=>[a(e(E),{align:"center",style:{cursor:"pointer"}},{default:t(()=>[a(e(F),{shape:"square"},{default:t(()=>[s(f(n(e(l).claims.email)),1)]),_:1})]),_:1})]),_:1})])):(o(),d(e(b),{key:2},{default:t(()=>[a(c,{to:"/login"},{default:t(()=>[s("Login")]),_:1})]),_:1}))}}}),X={class:"extra"},Y=x({__name:"Navbar",props:{breadcrumb:{},showAiSparkles:{type:Boolean}},setup(r){const n=O();return(i,l)=>(o(),d(e(q),{style:{padding:"5px 25px",border:"1px solid #f0f0f0"}},{subTitle:t(()=>[i.breadcrumb?(o(),d(e(H),{key:0},{default:t(()=>[(o(!0),A($,null,L(i.breadcrumb,(p,u)=>(o(),d(e(M),{key:u},{default:t(()=>[a(e(D),{to:p.path},{default:t(()=>[s(f(p.label),1)]),_:2},1032,["to"])]),_:2},1024))),128))]),_:1})):k("",!0)]),extra:t(()=>[_("div",X,[i.showAiSparkles?(o(),d(m,{key:0,type:"link",onClick:l[0]||(l[0]=p=>e(n).toggle())},{default:t(()=>[a(e(U)),s(" AI Assistant ")]),_:1})):k("",!0),a(m,{href:e(C).DOCS,target:"_blank",type:"link"},{default:t(()=>[a(e(P)),s(" Docs ")]),_:1},8,["href"]),a(W)])]),_:1}))}});const me=G(Y,[["__scopeId","data-v-9083334a"]]);export{me as N};
2
- //# sourceMappingURL=Navbar.50988594.js.map
@@ -1,2 +0,0 @@
1
- import{O as r}from"./index.b0181193.js";import{d as l,k as i,a5 as c,f as a,b as n,u as d,o as u,g as o,A as f,da as b}from"./jwt-decode.esm.28320b05.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]="bcb1c6e2-0447-4d26-9d51-2099c3769d74",e._sentryDebugIdIdentifier="sentry-dbid-bcb1c6e2-0447-4d26-9d51-2099c3769d74")}catch{}})();const p=l({__name:"OidcLoginCallback",setup(e){return i(async()=>{await new r().loginCallback()}),(t,s)=>(u(),c("div",null,[a(d(f),null,{default:n(()=>[o("You're authenticated")]),_:1}),a(d(b),null,{default:n(()=>[o(" This window should close automatically. Please close it manually if it doesn't. ")]),_:1})]))}});export{p as default};
2
- //# sourceMappingURL=OidcLoginCallback.4982d0fb.js.map
@@ -1,2 +0,0 @@
1
- import{O as r}from"./index.b0181193.js";import{d as l,k as u,a5 as i,f as a,b as n,u as o,o as c,g as s,A as f,da as _}from"./jwt-decode.esm.28320b05.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]="f3977072-e27d-40c4-8b74-42c49312e921",e._sentryDebugIdIdentifier="sentry-dbid-f3977072-e27d-40c4-8b74-42c49312e921")}catch{}})();const p=l({__name:"OidcLogoutCallback",setup(e){return u(async()=>{await new r().logoutCallback()}),(t,d)=>(c(),i("div",null,[a(o(f),null,{default:n(()=>[s("You're authenticated")]),_:1}),a(o(_),null,{default:n(()=>[s(" This window should close automatically. Please close it manually if it doesn't. ")]),_:1})]))}});export{p as default};
2
- //# sourceMappingURL=OidcLogoutCallback.717d758c.js.map
@@ -1,2 +0,0 @@
1
- import{N as k}from"./Navbar.50988594.js";import{B as N}from"./BaseLayout.d7e7e9fe.js";import{C as I}from"./ContentLayout.d3e84c3e.js";import{C as _}from"./CrudView.bbc83763.js";import{a as O}from"./asyncComputed.decbe125.js";import{F as x}from"./PhArrowSquareOut.vue.73431843.js";import{G as R}from"./PhPencil.vue.a86916ee.js";import{d as M,e5 as h,r as B,c as D,a5 as F,f as o,b as i,u as s,aR as V,o as f,a as $,cz as j,bJ as A,cy as E,h as G,M as L}from"./jwt-decode.esm.28320b05.js";import"./router.858e1af2.js";import{a as m}from"./organization.7d79a3c7.js";import"./tables.337a9b65.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang.5ac4912e.js";import"./constants.54f5dbb0.js";import"./PhChats.vue.20c511b5.js";import"./PhSignOut.vue.3cb7cd40.js";import"./index.3a2ab2d2.js";import"./index.36aedb48.js";import"./omniChatStore.b7128bc4.js";import"./record.1b6df81e.js";import"./uuid.fe529613.js";import"./PhCopySimple.vue.f585b051.js";import"./PhBookBookmark.vue.f5df4397.js";import"./PhSparkle.vue.8e334c6d.js";import"./index.e21caff3.js";import"./Breadcrumb.6179cdce.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.0796f440.js";import"./url.e7d14364.js";import"./PhDotsThreeVertical.vue.c1812ea8.js";import"./index.aca944a5.js";import"./string.4c218fd1.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new Error().stack;l&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[l]="36f7e3b7-3bad-4e09-a4f0-3b370cda90e9",r._sentryDebugIdIdentifier="sentry-dbid-36f7e3b7-3bad-4e09-a4f0-3b370cda90e9")}catch{}})();const bt=M({__name:"Organizations",setup(r){const l=[{label:"My organizations",path:"/organizations"}],u=[{key:"name",label:"Organization Name"}],g=h(),{loading:y,result:b,refetch:v}=O(()=>m.list()),p=({key:e})=>{g.push({name:"organization",params:{organizationId:e}})},n=B({state:"idle"});function z(e){n.value={state:"renaming",organizationId:e.id,newName:e.name}}async function d(e){if(n.value.state==="renaming"&&e){const{organizationId:t,newName:a}=n.value;await m.rename(t,a),v()}n.value={state:"idle"}}const w=async e=>{const t=await m.create(e.name);p({key:t.id})},C=D(()=>{var e,t;return{columns:[{title:"Organization Name",align:"left"},{title:"Path"},{title:"",align:"right"}],rows:(t=(e=b.value)==null?void 0:e.map(a=>{var c;return{key:a.id,cells:[{type:"link",text:a.name,to:`/organizations/${encodeURIComponent(a.id)}`},{type:"text",text:(c=a.id)!=null?c:null},{type:"actions",actions:[{icon:x,label:"Go to projects",onClick:p},{icon:R,label:"Rename",onClick:()=>z(a)}]}]}}))!=null?t:[]}});return(e,t)=>(f(),F(V,null,[o(N,null,{navbar:i(()=>[o(k,{breadcrumb:l})]),content:i(()=>[o(I,null,{default:i(()=>[o(_,{"entity-name":"organization",loading:s(y),title:"My organizations",description:"An organization is your company\u2019s account. Manage editors, projects and billing.","create-button-text":"Create Organization","empty-title":"No organizations here yet",table:C.value,fields:u,create:w},null,8,["loading","table"])]),_:1})]),_:1}),o(s(L),{open:n.value.state==="renaming",title:"Rename organization",onCancel:t[1]||(t[1]=a=>d(!1)),onOk:t[2]||(t[2]=a=>d(!0))},{default:i(()=>[n.value.state==="renaming"?(f(),$(s(E),{key:0,layout:"vertical"},{default:i(()=>[o(s(j),{label:"New name"},{default:i(()=>[o(s(A),{value:n.value.newName,"onUpdate:value":t[0]||(t[0]=a=>n.value.newName=a)},null,8,["value"])]),_:1})]),_:1})):G("",!0)]),_:1},8,["open"])],64))}});export{bt as default};
2
- //# sourceMappingURL=Organizations.68ef6411.js.map
@@ -1,2 +0,0 @@
1
- import{d as c,am as d,c as i,o as l,a5 as t,a7 as V,h,e6 as y,e as o}from"./jwt-decode.esm.28320b05.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]="6bc82bd1-48b1-43bd-bbe2-049a0b58aa06",r._sentryDebugIdIdentifier="sentry-dbid-6bc82bd1-48b1-43bd-bbe2-049a0b58aa06")}catch{}})();const f=["width","height","fill","transform"],w={key:0},H=o("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"},null,-1),Z=[H],L={key:1},k=o("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"},null,-1),M=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"},null,-1),B=[k,M],D={key:2},S=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"},null,-1),I=[S],_={key:3},x=o("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"},null,-1),z=[x],A={key:4},C=o("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"},null,-1),N=[C],E={key:5},P=o("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"},null,-1),$=[P],j={name:"PhDownloadSimple"},W=c({...j,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(r){const e=r,s=d("weight","regular"),v=d("size","1em"),g=d("color","currentColor"),p=d("mirrored",!1),n=i(()=>{var a;return(a=e.weight)!=null?a:s}),u=i(()=>{var a;return(a=e.size)!=null?a:v}),m=i(()=>{var a;return(a=e.color)!=null?a:g}),b=i(()=>e.mirrored!==void 0?e.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(a,q)=>(l(),t("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:u.value,height:u.value,fill:m.value,transform:b.value},a.$attrs),[V(a.$slots,"default"),n.value==="bold"?(l(),t("g",w,Z)):n.value==="duotone"?(l(),t("g",L,B)):n.value==="fill"?(l(),t("g",D,I)):n.value==="light"?(l(),t("g",_,z)):n.value==="regular"?(l(),t("g",A,N)):n.value==="thin"?(l(),t("g",E,$)):h("",!0)],16,f))}});export{W as G};
2
- //# sourceMappingURL=PhDownloadSimple.vue.24466182.js.map
@@ -1,2 +0,0 @@
1
- import{u as L}from"./userStore.c0562f9d.js";import{l as D}from"./index.b0181193.js";import{i as P}from"./metadata.8c8d4b20.js";import{L as N}from"./LoadingOutlined.6ed83a08.js";import{d as Z,am as y,c as g,o as t,a5 as s,a7 as S,h,e6 as A,e as l,aR as x,ec as z,ea as $,a as f,ef as B,u,ed as k,_ as V,ae as I,b as H,g as b,da as M,f as _,bR as w,a6 as R,cN as E}from"./jwt-decode.esm.28320b05.js";import{F as U}from"./PhSignOut.vue.3cb7cd40.js";import{A as F}from"./index.36aedb48.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="a92e1337-3e24-4023-aec2-6024ee261ebf",i._sentryDebugIdIdentifier="sentry-dbid-a92e1337-3e24-4023-aec2-6024ee261ebf")}catch{}})();const W=["width","height","fill","transform"],j={key:0},q=l("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"},null,-1),T=[q],G={key:1},J=l("path",{d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),O=l("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1),K=[J,O],Q={key:2},X=l("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"},null,-1),Y=[X],e0={key:3},a0=l("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"},null,-1),t0=[a0],r0={key:4},l0=l("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1),o0=[l0],n0={key:5},s0=l("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"},null,-1),i0=[s0],d0={name:"PhList"},u0=Z({...d0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const o=i,d=y("weight","regular"),c=y("size","1em"),v=y("color","currentColor"),p=y("mirrored",!1),a=g(()=>{var e;return(e=o.weight)!=null?e:d}),m=g(()=>{var e;return(e=o.size)!=null?e:c}),r=g(()=>{var e;return(e=o.color)!=null?e:v}),n=g(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,C)=>(t(),s("svg",A({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:r.value,transform:n.value},e.$attrs),[S(e.$slots,"default"),a.value==="bold"?(t(),s("g",j,T)):a.value==="duotone"?(t(),s("g",G,K)):a.value==="fill"?(t(),s("g",Q,Y)):a.value==="light"?(t(),s("g",e0,t0)):a.value==="regular"?(t(),s("g",r0,o0)):a.value==="thin"?(t(),s("g",n0,i0)):h("",!0)],16,W))}}),c0=["width","height","fill","transform"],p0={key:0},g0=l("path",{d:"M144.49,136.49l-40,40a12,12,0,0,1-17-17L107,140H24a12,12,0,0,1,0-24h83L87.51,96.49a12,12,0,0,1,17-17l40,40A12,12,0,0,1,144.49,136.49ZM200,28H136a12,12,0,0,0,0,24h52V204H136a12,12,0,0,0,0,24h64a12,12,0,0,0,12-12V40A12,12,0,0,0,200,28Z"},null,-1),h0=[g0],v0={key:1},m0=l("path",{d:"M200,40V216H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40Z",opacity:"0.2"},null,-1),y0=l("path",{d:"M141.66,133.66l-40,40a8,8,0,0,1-11.32-11.32L116.69,136H24a8,8,0,0,1,0-16h92.69L90.34,93.66a8,8,0,0,1,11.32-11.32l40,40A8,8,0,0,1,141.66,133.66ZM200,32H136a8,8,0,0,0,0,16h56V208H136a8,8,0,0,0,0,16h64a8,8,0,0,0,8-8V40A8,8,0,0,0,200,32Z"},null,-1),H0=[m0,y0],f0={key:2},b0=l("path",{d:"M141.66,133.66l-40,40A8,8,0,0,1,88,168V136H24a8,8,0,0,1,0-16H88V88a8,8,0,0,1,13.66-5.66l40,40A8,8,0,0,1,141.66,133.66ZM200,32H136a8,8,0,0,0,0,16h56V208H136a8,8,0,0,0,0,16h64a8,8,0,0,0,8-8V40A8,8,0,0,0,200,32Z"},null,-1),_0=[b0],k0={key:3},Z0=l("path",{d:"M140.24,132.24l-40,40a6,6,0,0,1-8.48-8.48L121.51,134H24a6,6,0,0,1,0-12h97.51L91.76,92.24a6,6,0,0,1,8.48-8.48l40,40A6,6,0,0,1,140.24,132.24ZM200,34H136a6,6,0,0,0,0,12h58V210H136a6,6,0,0,0,0,12h64a6,6,0,0,0,6-6V40A6,6,0,0,0,200,34Z"},null,-1),$0=[Z0],M0={key:4},w0=l("path",{d:"M141.66,133.66l-40,40a8,8,0,0,1-11.32-11.32L116.69,136H24a8,8,0,0,1,0-16h92.69L90.34,93.66a8,8,0,0,1,11.32-11.32l40,40A8,8,0,0,1,141.66,133.66ZM200,32H136a8,8,0,0,0,0,16h56V208H136a8,8,0,0,0,0,16h64a8,8,0,0,0,8-8V40A8,8,0,0,0,200,32Z"},null,-1),S0=[w0],A0={key:5},V0=l("path",{d:"M138.83,130.83l-40,40a4,4,0,0,1-5.66-5.66L126.34,132H24a4,4,0,0,1,0-8H126.34L93.17,90.83a4,4,0,0,1,5.66-5.66l40,40A4,4,0,0,1,138.83,130.83ZM200,36H136a4,4,0,0,0,0,8h60V212H136a4,4,0,0,0,0,8h64a4,4,0,0,0,4-4V40A4,4,0,0,0,200,36Z"},null,-1),C0=[V0],L0={name:"PhSignIn"},D0=Z({...L0,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(i){const o=i,d=y("weight","regular"),c=y("size","1em"),v=y("color","currentColor"),p=y("mirrored",!1),a=g(()=>{var e;return(e=o.weight)!=null?e:d}),m=g(()=>{var e;return(e=o.size)!=null?e:c}),r=g(()=>{var e;return(e=o.color)!=null?e:v}),n=g(()=>o.mirrored!==void 0?o.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,C)=>(t(),s("svg",A({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:m.value,height:m.value,fill:r.value,transform:n.value},e.$attrs),[S(e.$slots,"default"),a.value==="bold"?(t(),s("g",p0,h0)):a.value==="duotone"?(t(),s("g",v0,H0)):a.value==="fill"?(t(),s("g",f0,_0)):a.value==="light"?(t(),s("g",k0,$0)):a.value==="regular"?(t(),s("g",M0,S0)):a.value==="thin"?(t(),s("g",A0,C0)):h("",!0)],16,c0))}}),P0={class:"sidebar-content"},N0={class:"section"},x0=["onClick"],z0={class:"item-title"},B0=Z({__name:"Sidebar",props:{runnerData:{},open:{type:Boolean},currentPath:{},loading:{}},emits:["selectRuntime","closeSidebar"],setup(i,{emit:o}){const d=i,c=window.innerWidth<760,v=a=>{p(a.id)||(o("selectRuntime",a),c&&o("closeSidebar"))},p=a=>a===d.currentPath;return(a,m)=>{var r;return t(),s("div",{class:$(["sidebar",{open:a.open}])},[l("div",P0,[l("div",N0,[(t(!0),s(x,null,z(((r=a.runnerData)==null?void 0:r.sidebar)||[],n=>(t(),s("div",{key:n.id,class:$(["item",{active:p(n.path),disabled:a.loading===n.id}]),onClick:e=>v(n)},[(t(),f(B(u(P)(n.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),l("div",z0,k(n.name),1),a.loading===n.id?(t(),f(u(N),{key:0})):h("",!0)],10,x0))),128))])])],2)}}});const I0=V(B0,[["__scopeId","data-v-5e249979"]]),R0={class:"left-side"},E0={key:1,class:"brand"},U0=["src"],F0={class:"right-side"},W0={style:{display:"flex","flex-direction":"column",gap:"10px"}},j0={style:{display:"flex",gap:"5px"}},q0={style:{display:"flex",gap:"5px"}},T0=Z({__name:"PlayerNavbar",props:{mainColor:{},currentPath:{},hideLogin:{type:Boolean},emailPlaceholder:{},loading:{},runnerData:{}},emits:["navigate","login-click","logout-click"],setup(i,{emit:o}){const d=i,c=I({openSidebar:!1}),v=L(),p=g(()=>{var r;return(r=v.email)!=null?r:d.emailPlaceholder}),a=g(()=>{const r=d.runnerData.sidebar;return r&&r.length>0}),m=()=>{v.removeJWT(),D(),o("logout-click")};return(r,n)=>(t(),s("header",{class:$(["navbar",a.value&&"background"])},[l("div",R0,[a.value?(t(),f(u(u0),{key:0,class:"sidebar-menu-icon",onClick:n[0]||(n[0]=e=>c.openSidebar=!c.openSidebar)})):h("",!0),r.runnerData.logoUrl||r.runnerData.brandName?(t(),s("div",E0,[r.runnerData.logoUrl?(t(),s("img",{key:0,src:r.runnerData.logoUrl,class:"logo-image"},null,8,U0)):h("",!0),r.runnerData.brandName?(t(),f(u(M),{key:1,class:"brand-name",ellipsis:""},{default:H(()=>[b(k(r.runnerData.brandName),1)]),_:1})):h("",!0)])):h("",!0)]),l("div",F0,[p.value?(t(),f(u(E),{key:0,placement:"bottomRight"},{content:H(()=>[l("div",W0,[_(u(M),{size:"small",type:"secondary"},{default:H(()=>[b(k(p.value),1)]),_:1}),_(u(w),{type:"text",onClick:m},{default:H(()=>[l("div",j0,[_(u(U),{size:"20"}),b(" Logout ")])]),_:1})])]),default:H(()=>[_(u(F),{shape:"square",size:"small",style:R({backgroundColor:r.mainColor})},{default:H(()=>[b(k(p.value[0].toUpperCase()),1)]),_:1},8,["style"])]),_:1})):r.hideLogin?h("",!0):(t(),f(u(w),{key:1,type:"text",onClick:n[1]||(n[1]=e=>o("login-click"))},{default:H(()=>[l("div",q0,[b(" Login "),_(u(D0),{size:"20"})])]),_:1}))]),a.value?(t(),f(I0,{key:0,"current-path":r.currentPath,"runner-data":d.runnerData,open:c.openSidebar,loading:d.loading,onSelectRuntime:n[2]||(n[2]=e=>o("navigate",e)),onCloseSidebar:n[3]||(n[3]=e=>c.openSidebar=!1)},null,8,["current-path","runner-data","open","loading"])):h("",!0)],2))}});const ee=V(T0,[["__scopeId","data-v-b55f4a44"]]);export{ee as P};
2
- //# sourceMappingURL=PlayerNavbar.24544fa8.js.map
@@ -1,2 +0,0 @@
1
- import{_ as f}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.9fc63b70.js";import{B as m}from"./BaseLayout.d7e7e9fe.js";import{d as l,ae as y,c1 as v,_ as u,aZ as g,a_ as b,o as _,a5 as h,e as r,a6 as n,eb as w,e5 as S,k,a as L,b as s,f as i,u as x}from"./jwt-decode.esm.28320b05.js";import{u as B}from"./editor.ac3f0982.js";import{A as I}from"./index.e21caff3.js";import"./Logo.e3649776.js";import"./workspaceStore.20104d6a.js";import"./userStore.c0562f9d.js";import"./url.e7d14364.js";import"./colorHelpers.f396fe13.js";import"./index.b0181193.js";import"./linters.ed377d41.js";import"./asyncComputed.decbe125.js";import"./constants.54f5dbb0.js";import"./index.aca944a5.js";import"./Breadcrumb.6179cdce.js";import"./index.36aedb48.js";import"./index.3a2ab2d2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="10a90658-5367-4653-93d2-4b92101bacd3",e._sentryDebugIdIdentifier="sentry-dbid-10a90658-5367-4653-93d2-4b92101bacd3")}catch{}})();const $=l({props:{loading:{type:Boolean,default:!0},color:{type:String,default:"#ea576a"},size:{type:String,default:"10px"},radius:{type:String,default:"100%"}},setup(e){const o=y({spinnerStyle:{width:e.size,height:e.size,borderRadius:e.radius,backgroundColor:e.color}});return{...v(o)}}});const P={class:"v-spinner"};function D(e,o,a,d,c,p){return g((_(),h("div",P,[r("div",{class:"v-beat v-beat-odd",style:n(e.spinnerStyle)},null,4),r("div",{class:"v-beat v-beat-even",style:n(e.spinnerStyle)},null,4),r("div",{class:"v-beat v-beat-odd",style:n(e.spinnerStyle)},null,4)],512)),[[b,e.loading]])}const R=u($,[["render",D],["__scopeId","data-v-06538001"]]),j={class:"content"},z=l({__name:"ProjectLogin",setup(e){const o=w(),a=S(),d=B();function c(){const t=new URL(location.href);t.searchParams.delete("api-key"),a.replace(t.pathname+t.search)}function p(){const t=o.query["api-key"];if(typeof t=="string")return t}return k(async()=>{const t=p();if(!t){a.push({name:"error"});return}await d.createLogin(t).then(c),a.push({name:"editor"})}),(t,A)=>(_(),L(m,null,{navbar:s(()=>[i(x(I),{style:{padding:"5px 25px",border:"1px solid #f0f0f0"}},{title:s(()=>[i(f)]),_:1})]),content:s(()=>[r("div",j,[i(R)])]),_:1}))}});const Y=u(z,[["__scopeId","data-v-d2a19803"]]);export{Y as default};
2
- //# sourceMappingURL=ProjectLogin.311c2cd8.js.map
@@ -1,2 +0,0 @@
1
- import{A as o}from"./index.726d6111.js";import{d as a,c as r,a5 as p,f,u as d,ea as c,h as l,o as i,_ as u}from"./jwt-decode.esm.28320b05.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="5ab0fc05-3e97-4295-984f-d809e8a32f5a",e._sentryDebugIdIdentifier="sentry-dbid-5ab0fc05-3e97-4295-984f-d809e8a32f5a")}catch{}})();const _=a({__name:"Steps",props:{stepsInfo:{},isPreview:{type:Boolean}},setup(e){const s=e,n=r(()=>s.stepsInfo?Array(s.stepsInfo.total).fill(null).map(()=>({label:"",description:""})):[]);return(t,m)=>t.stepsInfo?(i(),p("nav",{key:0,class:c(["p-steps",{"full-screen":!t.isPreview}])},[f(d(o),{current:t.stepsInfo.current-1,items:n.value,responsive:!1},null,8,["current","items"])],2)):l("",!0)}});const b=u(_,[["__scopeId","data-v-58fdd395"]]);export{b as S};
2
- //# sourceMappingURL=Steps.79eea5ae.js.map
@@ -1,2 +0,0 @@
1
- import{C as _}from"./CrudView.bbc83763.js";import{o as l}from"./omniChatStore.b7128bc4.js";import{a as k}from"./ant-design.dc326d34.js";import{a as C}from"./asyncComputed.decbe125.js";import{a as m}from"./string.4c218fd1.js";import{G as T}from"./PhPencil.vue.a86916ee.js";import{d as h,e5 as w,eb as I,c as x,k as E,aq as D,a5 as N,f as c,u as S,aR as v,o as A,ep as B}from"./jwt-decode.esm.28320b05.js";import"./router.858e1af2.js";import{T as d}from"./tables.337a9b65.js";import{_ as R}from"./TablesTabs.vue_vue_type_script_setup_true_lang.82db1c2e.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.0796f440.js";import"./constants.54f5dbb0.js";import"./url.e7d14364.js";import"./PhDotsThreeVertical.vue.c1812ea8.js";import"./index.3a2ab2d2.js";import"./record.1b6df81e.js";import"./uuid.fe529613.js";import"./PhCopySimple.vue.f585b051.js";import"./index.aca944a5.js";import"./Card.bf61638b.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[o]="9083cbf0-1963-4c01-bdcb-bf85ac817e0c",a._sentryDebugIdIdentifier="sentry-dbid-9083cbf0-1963-4c01-bdcb-bf85ac817e0c")}catch{}})();const ae=h({__name:"Tables",setup(a){const o=w(),t=I().params.projectId,{loading:u,result:p,refetch:s}=C(()=>d.list(t)),f=async e=>{const r=await d.create(t,e.name);o.push({name:"tableEditor",params:{tableId:r.id,projectId:t}})},y=x(()=>{var e,r;return{columns:[{title:"Table Name"},{title:"",align:"right"}],rows:(r=(e=p.value)==null?void 0:e.map(n=>({key:n.id,cells:[{type:"link",text:n.name,to:{name:"tableEditor",params:{tableId:n.id,projectId:t}}},{type:"actions",actions:[{icon:T,label:"Edit Table",onClick({key:i}){o.push({name:"tableEditor",params:{tableId:i,projectId:t}})}},{icon:B,label:"Delete",dangerous:!0,async onClick(){!await k("Are you sure you want to delete this table and all its data?")||(await n.delete(t,n.id),s())}}]}]})))!=null?r:[]}}),g=[{key:"name",label:"Table name",type:"text",format:e=>m(e,!0),blur:e=>m(e,!1)}];return E(()=>{const e=l.subscribe("tableCreated",()=>{s()});D(()=>{l.unsubscribe(e)})}),(e,r)=>(A(),N(v,null,[c(R),c(_,{"entity-name":"table",loading:S(u),"docs-path":"tools/tables",title:"Tables",description:"Create and manage your database tables here.","empty-title":"No tables here yet",table:y.value,fields:g,"create-button-text":"Create Table",create:f},null,8,["loading","table"])],64))}});export{ae as default};
2
- //# sourceMappingURL=Tables.5cfd01db.js.map
@@ -1,2 +0,0 @@
1
- import{S as d}from"./index.b0181193.js";import{A as p}from"./constants.54f5dbb0.js";import{d as l,u as t,a5 as f,g as _,ed as c,h as C,eC as u,o as h,eG as m,_ as g}from"./jwt-decode.esm.28320b05.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c65f95ea-9080-4e30-bb57-a60f480d39d9",e._sentryDebugIdIdentifier="sentry-dbid-c65f95ea-9080-4e30-bb57-a60f480d39d9")}catch{}})();const v=["href"],b=u('<svg width="44" height="32" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-e084ae6f><g clip-path="url(#clip0_405_116214)" data-v-e084ae6f><path d="M188.697 133.808L172.68 148.263C172.68 148.263 216.044 185.966 217.997 187.72C219.951 189.475 234.405 174.566 232.843 173.266C231.28 171.966 188.697 133.808 188.697 133.808Z" fill="#E36C7C" data-v-e084ae6f></path><path d="M188.697 133.808L172.68 148.263C172.68 148.263 216.044 185.966 217.997 187.72C219.951 189.475 234.405 174.566 232.843 173.266C231.28 171.966 188.697 133.808 188.697 133.808Z" fill="url(#paint0_linear_405_116214)" data-v-e084ae6f></path><path d="M218.387 91.2249L176.195 127.557L173.851 129.51C151.192 149.849 149.853 152.309 141.642 152.584L141.584 152.586C139.612 152.652 135.357 152.795 131.875 149.849C126.797 145.552 120.155 140.083 117.03 137.348C115.34 135.869 112.465 133.039 109.998 131.097C107.902 129.448 106.482 127.581 104.919 127.581C103.357 127.581 100.622 129.925 96.3246 133.832C92.0272 137.739 82.6511 146.333 82.6511 146.333L65.0712 161.569C65.0712 161.569 42.5857 180.688 36.7256 185.376C30.8656 190.064 16.5797 175.69 21.4895 171.703C21.9628 171.23 26.2429 167.755 29.7179 164.915C32.2165 162.84 34.2084 161.179 34.2084 161.179C34.9897 160.397 66.2433 133.051 66.2433 133.051L87.723 114.573C87.723 114.573 95.9339 106.094 105.701 106.094C108.826 106.094 112.83 106.485 126.015 118.205C129.531 121.33 131.485 122.542 135.782 126.409C137.345 127.816 139.852 130.316 140.861 130.316C141.882 130.316 143.986 128.363 145.549 127.023C145.549 127.023 195.897 84.4149 202.37 77.9421C207.839 72.4726 223.075 86.9273 218.387 91.2249Z" fill="url(#paint1_linear_405_116214)" data-v-e084ae6f></path><path d="M33.238 67.1372C31.2846 68.6564 23.9305 75.1737 22.2992 76.9039C19.3366 80.0417 21.3638 81.3905 25.6611 84.9065C29.9585 88.4225 57.8962 112.712 64.8542 118.963L79.9642 105.221L41.288 71.2331C36.5999 67.1372 35.1913 65.6179 33.238 67.1372Z" fill="url(#paint2_linear_405_116214)" data-v-e084ae6f></path></g><defs data-v-e084ae6f><linearGradient id="paint0_linear_405_116214" x1="172.68" y1="133.808" x2="183.059" y2="196.169" gradientUnits="userSpaceOnUse" data-v-e084ae6f><stop offset="0.114583" stop-color="#FF98A6" data-v-e084ae6f></stop><stop offset="1" stop-color="#E36C7C" data-v-e084ae6f></stop></linearGradient><linearGradient id="paint1_linear_405_116214" x1="219.271" y1="186.305" x2="206.115" y2="57.7298" gradientUnits="userSpaceOnUse" data-v-e084ae6f><stop stop-color="#E36C7C" data-v-e084ae6f></stop><stop offset="0.859375" stop-color="#FF98A6" data-v-e084ae6f></stop></linearGradient><linearGradient id="paint2_linear_405_116214" x1="20.8984" y1="66.56" x2="30.8589" y2="127.049" gradientUnits="userSpaceOnUse" data-v-e084ae6f><stop stop-color="#E36C7C" data-v-e084ae6f></stop><stop offset="0.859375" stop-color="#FF98A6" data-v-e084ae6f></stop></linearGradient><clipPath id="clip0_405_116214" data-v-e084ae6f><rect width="256" height="256" fill="white" data-v-e084ae6f></rect></clipPath></defs></svg><b data-v-e084ae6f>Abstra</b>',2),w=l({__name:"Watermark",props:{pageId:{},locale:{}},setup(e){var s;const a=e,r=window.location.hostname.split(".")[0],o=(s=d.instance)==null?void 0:s.showWatermark,n=new URLSearchParams({utm_source:"abstra_pages",utm_medium:"badge",utm_campaign:a.pageId,origin_subdomain:r});return(i,y)=>t(o)?(h(),f("a",{key:0,href:`${t(p).HOMEPAGE}?${t(n).toString()}`,target:"_blank",class:"watermark"},[_(c(t(m).translate("i18n_watermark_text",i.locale))+" ",1),b],8,v)):C("",!0)}});const S=g(w,[["__scopeId","data-v-e084ae6f"]]);export{S as W};
2
- //# sourceMappingURL=Watermark.047823a2.js.map
@@ -1,2 +0,0 @@
1
- var i=Object.defineProperty;var o=(a,t,e)=>t in a?i(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var c=(a,t,e)=>(o(a,typeof t!="symbol"?t+"":t,e),e);import{h as s}from"./router.858e1af2.js";import"./jwt-decode.esm.28320b05.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]="c5c4ceac-9d79-41af-9349-85add7c1a042",a._sentryDebugIdIdentifier="sentry-dbid-c5c4ceac-9d79-41af-9349-85add7c1a042")}catch{}})();class u{constructor(){c(this,"urlPath","api-keys")}async create({projectId:t,name:e}){return s.post(`projects/${t}/${this.urlPath}`,{name:e})}async delete(t,e){await s.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t){return s.get(`projects/${t}/${this.urlPath}`)}}const r=new u;class n{constructor(t){this.dto=t}static async list(t){return(await r.list(t)).map(d=>new n(d))}static async create(t){const e=await r.create(t);return new n(e)}static async delete(t,e){await r.delete(t,e)}get id(){return this.dto.id}get name(){return this.dto.name}get createdAt(){return new Date(this.dto.createdAt)}get ownerId(){return this.dto.createdBy}get value(){var t;return(t=this.dto.value)!=null?t:null}}export{n as A};
2
- //# sourceMappingURL=apiKey.d428e427.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.28320b05.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]="85f022d3-6981-4875-bd34-837ef5623880",t._sentryDebugIdIdentifier="sentry-dbid-85f022d3-6981-4875-bd34-837ef5623880")}catch{}})();const e={HOMEPAGE:{}.VITE_HOMEPAGE_URL||"https://abstra.io",DOCS:{}.VITE_DOCS_URL||"https://abstra.io/docs",CLOUD:{}.VITE_CONSOLE_URL||"https://cloud.abstra.io",GITHUB:{}.VITE_GITHUB_URL||"https://github.com/abstra-app/abstra-lib"},n=t=>{if(!t)return e.DOCS;const s=t.startsWith("/")?t.slice(1):t;return`${e.DOCS}/${s}`};export{e as A,n as b};
2
- //# sourceMappingURL=constants.54f5dbb0.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.28320b05.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="334dd34f-5656-4f4f-a99d-ae5d8af632cc",e._sentryDebugIdIdentifier="sentry-dbid-334dd34f-5656-4f4f-a99d-ae5d8af632cc")}catch{}})();function n(e,d){return e.toLocaleString(void 0,{hour12:!1,timeZoneName:"short",day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"long",...d})}export{n as g};
2
- //# sourceMappingURL=datetime.27912eb6.js.map
@@ -1,2 +0,0 @@
1
- import{X as d,dJ as c,dK as i}from"./jwt-decode.esm.28320b05.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="d70af308-1922-4a70-92fc-4976ab290d75",e._sentryDebugIdIdentifier="sentry-dbid-d70af308-1922-4a70-92fc-4976ab290d75")}catch{}})();const{DatePicker:n,WeekPicker:t,MonthPicker:r,YearPicker:f,TimePicker:m,QuarterPicker:a,RangePicker:o}=c(i),y=d(n,{WeekPicker:t,MonthPicker:r,YearPicker:f,RangePicker:o,TimePicker:m,QuarterPicker:a,install:e=>(e.component(n.name,n),e.component(o.name,o),e.component(r.name,r),e.component(t.name,t),e.component(a.name,a),e)});export{y as D,r as M,a as Q,o as R,t as W};
2
- //# sourceMappingURL=dayjs.9a51c922.js.map
@@ -1,2 +0,0 @@
1
- var x=Object.defineProperty;var W=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var i=(o,e,t)=>(W(o,typeof e!="symbol"?e+"":e,t),t);import{d as V,c as k,r as l,w as E,o as I,a as R,b as y,e as N,f as T,u as _,S as $,g as A,A as B,T as H,h as K,M as F,_ as J,i as S,j as z,k as Y,l as v,m as G,n as q,p as U,q as Q,s as X,t as Z,v as b,x as ee,y as te,z as oe,B as se,C as ne,P as ae,D as re,E as ie,F as ce,G as C,H as le,I as de,J as ue,K as pe}from"./jwt-decode.esm.28320b05.js";import{r as he,u as _e,g as me,a as fe}from"./workspaceStore.20104d6a.js";import{s as ge}from"./index.b0181193.js";import{A as ve}from"./linters.ed377d41.js";import{A as be}from"./constants.54f5dbb0.js";import{d as P}from"./index.aca944a5.js";import"./userStore.c0562f9d.js";import"./url.e7d14364.js";import"./colorHelpers.f396fe13.js";import"./asyncComputed.decbe125.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]="d946bfc4-3422-480f-9bb5-15d8c3801341",o._sentryDebugIdIdentifier="sentry-dbid-d946bfc4-3422-480f-9bb5-15d8c3801341")}catch{}})();const ye={style:{"text-align":"center",padding:"20px"}},we=V({__name:"ConnectionModal",props:{open:{type:Boolean},port:{}},emits:["update:open"],setup(o,{emit:e}){const t=o,s=k({get:()=>t.open,set:a=>e("update:open",a)}),n=l(!1);return E(()=>t.open,a=>{if(a){n.value=!1;const r=setTimeout(()=>{n.value=!0},1e4);return()=>clearTimeout(r)}else n.value=!1}),(a,r)=>(I(),R(_(F),{open:s.value,"onUpdate:open":r[0]||(r[0]=d=>s.value=d),closable:!1,"mask-closable":!1,keyboard:!1,footer:null,width:400,centered:""},{default:y(()=>[N("div",ye,[T(_($),{size:"large"}),T(_(B),{level:4},{default:y(()=>[A(" Connecting to server... ")]),_:1}),n.value?(I(),R(_(H),{key:0},{default:y(()=>[A(" Are you sure Abstra is running? ")]),_:1})):K("",!0)])]),_:1},8,["open"]))}});const Ee=J(we,[["__scopeId","data-v-36743132"]]),p=class{constructor(){i(this,"ws",null);i(this,"reconnectTimer");i(this,"keepaliveInterval");i(this,"messageHandlers",new Set);i(this,"KEEPALIVE_INTERVAL",3e4);i(this,"RECONNECT_DELAY",1e3);this.connect()}static getInstance(){return p.instance||(p.instance=new p),p.instance}get url(){return"/_editor/api/codebase/events"}handleMessage(e){try{const t=JSON.parse(e.data),s=ve.parse(t);this.messageHandlers.forEach(n=>{try{n(s)}catch(a){S(a)}})}catch(t){S(t)}}handleClose(){this.clearTimers(),this.scheduleReconnect()}handleError(){this.clearTimers(),this.scheduleReconnect()}clearTimers(){this.keepaliveInterval&&(clearInterval(this.keepaliveInterval),this.keepaliveInterval=void 0),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=void 0)}scheduleReconnect(){this.reconnectTimer||(this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.connect()},this.RECONNECT_DELAY))}startKeepalive(){this.keepaliveInterval=setInterval(()=>{this.sendKeepalive()},this.KEEPALIVE_INTERVAL)}sendKeepalive(){if(!this.ws||this.ws.readyState!==WebSocket.OPEN){this.handleError();return}try{this.ws.send(JSON.stringify({type:"keepalive"}))}catch(e){console.error("CodebaseEventsService: Failed to send keepalive:",e),this.handleError()}}async connect(){var e;if(((e=this.ws)==null?void 0:e.readyState)!==WebSocket.OPEN)try{this.ws=new WebSocket(this.url),this.ws.onopen=()=>this.startKeepalive(),this.ws.onclose=()=>this.handleClose(),this.ws.onerror=()=>this.handleError(),this.ws.onmessage=t=>this.handleMessage(t)}catch(t){console.error("CodebaseEventsService: Failed to create WebSocket:",t),this.scheduleReconnect()}}subscribe(e){return this.messageHandlers.add(e),()=>this.messageHandlers.delete(e)}isConnected(){var e;return((e=this.ws)==null?void 0:e.readyState)===WebSocket.OPEN}};let w=p;i(w,"instance",null);function Te(){const o=l(!1),e=l(null),t=l(null),s=w.getInstance(),n=g=>{e.value=g},a=()=>{o.value=s.isConnected()};let r;const d=setInterval(a,1e3);return z(()=>{r(),clearInterval(d)}),Y(()=>{r=s.subscribe(n),a()}),{isConnected:v(o),lastEvent:v(e),error:v(t),service:v(s)}}const Le={style:{height:"100vh","box-sizing":"border-box",width:"100%"}},Ce=V({__name:"App",setup(o){const e=Te(),t=l(!1);E(e.isConnected,async n=>{t.value=!n},{immediate:!0});const s={token:{colorPrimary:"#d14056",colorLink:"#d14056",colorLinkHover:"#aa3446"}};return(n,a)=>{const r=G("RouterView");return I(),R(_(q),{theme:s,"page-header":{ghost:!1}},{default:y(()=>[N("div",Le,[T(r)]),T(Ee,{open:t.value,"onUpdate:open":a[0]||(a[0]=d=>t.value=d)},null,8,["open"])]),_:1})}}});class O{async getLogin(){return await(await fetch("/_editor/api/login")).json()}async createLogin(e){return(await fetch("/_editor/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:e})})).json()}async deleteLogin(){await fetch("/_editor/api/login",{method:"DELETE"})}async getCloudProject(){return(await fetch("/_editor/api/login/info")).json()}async getPublicUrl(){try{return(await(await fetch("/_editor/api/login/public-url")).json()).public_url}catch{return null}}static getLoginUrl(e){return be.CLOUD+"/api-key?"+new URLSearchParams(e)}}const j="h97k86ks",f=class{static boot(e,t){f.booted||(P.Intercom({app_id:j}),P.boot({api_base:"https://api-iam.intercom.io",app_id:j,name:e,email:e,user_hash:t,hide_default_launcher:!0,custom_launcher_selector:".intercom-launcher"}),f.booted=!0)}static shutdown(){P.shutdown(),f.booted=!1}};let m=f;i(m,"booted",!1);const Pe={"console-url":"https://cloud.abstra.io"},ke=o=>{const e="VITE_"+U.toUpper(U.snakeCase(o)),t={VITE_SENTRY_RELEASE:"211710c8f0b9565782d71b5a59123f8ed617f685",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}[e];return t||Pe[o]},h={consoleUrl:ke("console-url")},Ie=Q("cloud-project",()=>{const o=new O,e=l(null),t=l(null),s=k(()=>{var c,u;return(u=(c=e.value)==null?void 0:c.logged)!=null?u:!1}),n=l(null),a=k(()=>t.value?{project:`${h.consoleUrl}/projects/${t.value.id}`,users:`${h.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=users`,roles:`${h.consoleUrl}/projects/${t.value.id}/access-control?selected-panel=roles`,builds:`${h.consoleUrl}/projects/${t.value.id}/builds`,login:`${h.consoleUrl}/api-key`}:null),r=async()=>{!s.value||(await o.deleteLogin(),window.open(location.origin+"/_editor","_self"))},d=async c=>{const u=await o.createLogin(c);e.value=u,u.logged&&await g()},g=async()=>t.value=await o.getCloudProject();(async()=>{n.value=await o.getPublicUrl()})();const D=async()=>e.value?e.value:(e.value=await o.getLogin(),e.value.logged);return E(()=>e.value,g),E(()=>e.value,async c=>{if(c&&"info"in c){const{email:u,intercomHash:M}=c.info;m.boot(u,M)}else m.shutdown()}),{loadLogin:D,createLogin:d,deleteLogin:r,publicUrl:n,loginInfo:e,cloudProject:t,isLogged:s,links:a}}),Re=he.map(o=>({...o,meta:{...o.meta,playerRoute:!0}})),L=X({history:Z("/"),routes:[{path:"/_editor/",name:"app",component:()=>b(()=>import("./Home.e051b43c.js"),["assets/Home.e051b43c.js","assets/jwt-decode.esm.28320b05.js","assets/jwt-decode.9f7a5511.css","assets/fetch.9946ecfe.js","assets/polling.0bb90faf.js","assets/Home.afb8d9a6.css"]),children:[{path:"",name:"editor",component:()=>b(()=>import("./NewEditor.13d26823.js"),["assets/NewEditor.13d26823.js","assets/asyncComputed.decbe125.js","assets/jwt-decode.esm.28320b05.js","assets/jwt-decode.9f7a5511.css","assets/linters.ed377d41.js","assets/workspaceStore.20104d6a.js","assets/userStore.c0562f9d.js","assets/url.e7d14364.js","assets/colorHelpers.f396fe13.js","assets/record.1b6df81e.js","assets/PhPencilSimpleLine.vue.a1883531.js","assets/Card.bf61638b.js","assets/router.858e1af2.js","assets/index.aca944a5.js","assets/metadata.8c8d4b20.js","assets/PhUserList.vue.38f46bf2.js","assets/PhWebhooksLogo.vue.3f80aef6.js","assets/LogsController.770e0220.js","assets/ant-design.dc326d34.js","assets/string.4c218fd1.js","assets/PhCopy.vue.f0a6fc0c.js","assets/index.3a2ab2d2.js","assets/build.36ea33ce.js","assets/tables.337a9b65.js","assets/repository.37d2927a.js","assets/LoadingOutlined.6ed83a08.js","assets/polling.0bb90faf.js","assets/LogsController.fb0d96c2.css","assets/omniChatStore.b7128bc4.js","assets/uuid.fe529613.js","assets/PhCopySimple.vue.f585b051.js","assets/omniChatStore.ec95fb81.css","assets/datetime.27912eb6.js","assets/OmniChat.cb7c5f10.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.9fc63b70.js","assets/Logo.e3649776.js","assets/Logo.b7d81119.css","assets/PhClockCounterClockwise.vue.21ab2795.js","assets/index.36aedb48.js","assets/index.2d59a444.js","assets/OmniChat.7660057c.css","assets/AbstraButton.vue_vue_type_script_setup_true_lang.5ac4912e.js","assets/constants.54f5dbb0.js","assets/PhBookBookmark.vue.f5df4397.js","assets/PhChats.vue.20c511b5.js","assets/index.b0181193.js","assets/PhArrowSquareOut.vue.73431843.js","assets/PhRocket.vue.acacaa11.js","assets/PhSignOut.vue.3cb7cd40.js","assets/CloseCircleOutlined.5183baf0.js","assets/vue-flow-background.d047c675.js","assets/SaveButton.57d5b00a.js","assets/ExclamationCircleOutlined.5ed9d71f.js","assets/SaveButton.932ac6b8.css","assets/ContentLayout.d3e84c3e.js","assets/ContentLayout.cdae7d24.css","assets/fetch.9946ecfe.js","assets/repository.cc27afed.js","assets/View.vue_vue_type_script_setup_true_lang.34afb660.js","assets/CrudView.bbc83763.js","assets/DocsButton.vue_vue_type_script_setup_true_lang.0796f440.js","assets/PhDotsThreeVertical.vue.c1812ea8.js","assets/CrudView.c883bb05.css","assets/PhPencil.vue.a86916ee.js","assets/PlayerNavbar.24544fa8.js","assets/PlayerNavbar.77209eae.css","assets/PlayerConfigProvider.0ec5f598.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/LoadingContainer.af0e1ba2.js","assets/LoadingContainer.56fa997a.css","assets/files.b6e46123.js","assets/PhGear.vue.24fe28a2.js","assets/tasksController.a06fd7d3.js","assets/toggleHighContrast.62d05446.js","assets/toggleHighContrast.30d77c87.css","assets/PhPencilSimple.vue.80a4282f.js","assets/PhFolderPlus.vue.0cd449af.js","assets/PhArrowCounterClockwise.vue.3f439d6d.js","assets/FormRunner.617659c3.js","assets/Login.vue_vue_type_script_setup_true_lang.d3c2d47f.js","assets/CircularLoading.e6d19d98.js","assets/CircularLoading.a8fe2dc6.css","assets/Login.75d13f6c.css","assets/Steps.79eea5ae.js","assets/index.726d6111.js","assets/Steps.2880920a.css","assets/Watermark.047823a2.js","assets/Watermark.b0916e90.css","assets/FormRunner.714ce2c1.css","assets/redirect.d8affe75.js","assets/NewEditor.8f32e814.css"])},{path:"project-login",name:"projectLogin",component:()=>b(()=>import("./ProjectLogin.311c2cd8.js"),["assets/ProjectLogin.311c2cd8.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.9fc63b70.js","assets/Logo.e3649776.js","assets/jwt-decode.esm.28320b05.js","assets/jwt-decode.9f7a5511.css","assets/Logo.b7d81119.css","assets/BaseLayout.d7e7e9fe.js","assets/BaseLayout.e1744dcc.css","assets/index.e21caff3.js","assets/Breadcrumb.6179cdce.js","assets/index.36aedb48.js","assets/index.3a2ab2d2.js","assets/workspaceStore.20104d6a.js","assets/userStore.c0562f9d.js","assets/url.e7d14364.js","assets/colorHelpers.f396fe13.js","assets/index.b0181193.js","assets/linters.ed377d41.js","assets/asyncComputed.decbe125.js","assets/constants.54f5dbb0.js","assets/index.aca944a5.js","assets/ProjectLogin.21a71354.css"]),meta:{title:"Abstra Editor",allowUnauthenticated:!0}},{path:":pathMatch(.*)*",name:"editorFallback",redirect:"/_editor/"}]},{path:"/:path(.*)*",name:"form",component:()=>b(()=>import("./App.c04b86c0.js"),["assets/App.c04b86c0.js","assets/App.vue_vue_type_style_index_0_lang.4abdaaf3.js","assets/userStore.c0562f9d.js","assets/jwt-decode.esm.28320b05.js","assets/jwt-decode.9f7a5511.css","assets/PlayerConfigProvider.0ec5f598.js","assets/colorHelpers.f396fe13.js","assets/PlayerConfigProvider.1ce9d3b1.css","assets/workspaceStore.20104d6a.js","assets/url.e7d14364.js","assets/App.0c2736ee.css"]),children:Re}],scrollBehavior(o){if(o.hash)return{el:o.hash}}}),Ae=me(L);L.beforeEach(async(o,e)=>{if(await _e().actions.fetch(),o.meta.playerRoute)return Ae(o,e);ee(o,e);const t=Ie();if(!o.meta.allowUnauthenticated&&!t.isLogged&&!await t.loadLogin()){const s={redirect:location.origin+"/_editor/project-login"};window.open(O.getLoginUrl(s),"_self")}});(async()=>{await ge();const o=await fe(),e=te(),t=oe({render:()=>le(Ce)});se.init(),ne(t,L,o),t.use(L),t.use(ae),t.use(e),t.mount("#app"),t.component("VSelect",re),t.component("Markdown",ie),t.component("Message",ce),C(t,de),C(t,ue),C(t,pe)})();export{h as E,Te as a,Ie as u};
2
- //# sourceMappingURL=editor.ac3f0982.js.map
@@ -1,2 +0,0 @@
1
- import{C as t,E as d,K as i,a as c,M as b,c as l,P as y,R as f,S as g,b as u,T as k,U as p,e as w,l as D}from"./toggleHighContrast.62d05446.js";import"./jwt-decode.esm.28320b05.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="74570490-eda4-4c0b-a5bb-e32ccaac28d2",e._sentryDebugIdIdentifier="sentry-dbid-74570490-eda4-4c0b-a5bb-e32ccaac28d2")}catch{}})();export{t as CancellationTokenSource,d as Emitter,i as KeyCode,c as KeyMod,b as MarkerSeverity,l as MarkerTag,y as Position,f as Range,g as Selection,u as SelectionDirection,k as Token,p as Uri,w as editor,D as languages};
2
- //# sourceMappingURL=editor.main.39fc3e9d.js.map
@@ -1,2 +0,0 @@
1
- import"./jwt-decode.esm.28320b05.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ca770d99-88c1-4cd1-8aa7-ab03852972f5",e._sentryDebugIdIdentifier="sentry-dbid-ca770d99-88c1-4cd1-8aa7-ab03852972f5")}catch{}})();const a=(...e)=>window.fetch(...e);export{a as l};
2
- //# sourceMappingURL=fetch.9946ecfe.js.map
@@ -1,2 +0,0 @@
1
- import{d as P,ag as T,e0 as L,e1 as Q,c as o,r as O,w as W,aQ as X,f as p,X as m,aR as q,aj as j,cV as h,av as G,bt as B,aM as H,ah as J}from"./jwt-decode.esm.28320b05.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="6a9cc3c3-c4e1-4450-b205-fc5fdfc80c68",e._sentryDebugIdIdentifier="sentry-dbid-6a9cc3c3-c4e1-4450-b205-fc5fdfc80c68")}catch{}})();const K={small:8,middle:16,large:24},U=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:G.oneOf(B("horizontal","vertical")).def("horizontal"),align:G.oneOf(B("start","end","center","baseline")),wrap:H()});function Y(e){return typeof e=="string"?K[e]:e||0}const r=P({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:U(),slots:Object,setup(e,c){let{slots:l,attrs:g}=c;const{prefixCls:n,space:y,direction:w}=T("space",e),[E,F]=L(n),x=Q(),s=o(()=>{var t,a,i;return(i=(t=e.size)!==null&&t!==void 0?t:(a=y==null?void 0:y.value)===null||a===void 0?void 0:a.size)!==null&&i!==void 0?i:"small"}),b=O(),u=O();W(s,()=>{[b.value,u.value]=(Array.isArray(s.value)?s.value:[s.value,s.value]).map(t=>Y(t))},{immediate:!0});const z=o(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),R=o(()=>J(n.value,F.value,`${n.value}-${e.direction}`,{[`${n.value}-rtl`]:w.value==="rtl",[`${n.value}-align-${z.value}`]:z.value})),V=o(()=>w.value==="rtl"?"marginLeft":"marginRight"),k=o(()=>{const t={};return x.value&&(t.columnGap=`${b.value}px`,t.rowGap=`${u.value}px`),m(m({},t),e.wrap&&{flexWrap:"wrap",marginBottom:`${-u.value}px`})});return()=>{var t,a;const{wrap:i,direction:M="horizontal"}=e,_=(t=l.default)===null||t===void 0?void 0:t.call(l),C=X(_),I=C.length;if(I===0)return null;const d=(a=l.split)===null||a===void 0?void 0:a.call(l),A=`${n.value}-item`,D=b.value,S=I-1;return p("div",j(j({},g),{},{class:[R.value,g.class],style:[k.value,g.style]}),[C.map((N,v)=>{let $=_.indexOf(N);$===-1&&($=`$$space-${v}`);let f={};return x.value||(M==="vertical"?v<S&&(f={marginBottom:`${D/(d?2:1)}px`}):f=m(m({},v<S&&{[V.value]:`${D/(d?2:1)}px`}),i&&{paddingBottom:`${u.value}px`})),E(p(q,{key:$},[p("div",{class:A,style:f},[N]),v<S&&d&&p("span",{class:`${A}-split`,style:f},[d])]))})])}}});r.Compact=h;r.install=function(e){return e.component(r.name,r),e.component(h.name,h),e};const ee=r;export{ee as A};
2
- //# sourceMappingURL=index.3a2ab2d2.js.map