mage-ai 0.9.55__py3-none-any.whl → 0.9.57__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mage-ai might be problematic. Click here for more details.

Files changed (377) hide show
  1. mage_ai/api/parsers/ProjectParser.py +29 -0
  2. mage_ai/api/policies/BlockPolicy.py +1 -0
  3. mage_ai/api/policies/CustomDesignPolicy.py +3 -0
  4. mage_ai/api/policies/GitBranchPolicy.py +9 -0
  5. mage_ai/api/policies/GitCustomBranchPolicy.py +1 -0
  6. mage_ai/api/policies/GlobalHookPolicy.py +3 -0
  7. mage_ai/api/policies/ProjectPolicy.py +28 -0
  8. mage_ai/api/presenters/ProjectPresenter.py +4 -0
  9. mage_ai/api/resources/BlockResource.py +14 -1
  10. mage_ai/api/resources/FileResource.py +1 -1
  11. mage_ai/api/resources/GitFileResource.py +1 -1
  12. mage_ai/api/resources/GlobalHookResource.py +55 -10
  13. mage_ai/api/resources/PipelineResource.py +12 -11
  14. mage_ai/api/resources/ProjectResource.py +95 -7
  15. mage_ai/authentication/operation_history/models.py +1 -1
  16. mage_ai/cache/dbt/cache.py +1 -1
  17. mage_ai/cache/dbt/utils.py +22 -2
  18. mage_ai/cluster_manager/kubernetes/workload_manager.py +17 -7
  19. mage_ai/data_preparation/models/block/__init__.py +71 -5
  20. mage_ai/data_preparation/models/block/dbt/block_sql.py +13 -3
  21. mage_ai/data_preparation/models/block/dbt/dbt_adapter.py +15 -1
  22. mage_ai/data_preparation/models/block/dbt/profiles.py +14 -12
  23. mage_ai/data_preparation/models/block/platform/mixins.py +6 -2
  24. mage_ai/data_preparation/models/block/platform/utils.py +9 -1
  25. mage_ai/data_preparation/models/file.py +1 -1
  26. mage_ai/data_preparation/models/global_hooks/models.py +2 -2
  27. mage_ai/data_preparation/models/project/__init__.py +74 -4
  28. mage_ai/data_preparation/models/project/constants.py +1 -0
  29. mage_ai/data_preparation/repo_manager.py +3 -0
  30. mage_ai/orchestration/db/models/schedules.py +64 -102
  31. mage_ai/orchestration/db/models/schedules_project_platform.py +365 -0
  32. mage_ai/orchestration/pipeline_scheduler.py +5 -1700
  33. mage_ai/orchestration/pipeline_scheduler_original.py +1635 -0
  34. mage_ai/orchestration/pipeline_scheduler_project_platform.py +1701 -0
  35. mage_ai/server/constants.py +1 -1
  36. mage_ai/server/frontend_dist/404.html +2 -2
  37. mage_ai/server/frontend_dist/_next/static/A7VXVGKgLQCukXcjdysDz/_buildManifest.js +1 -0
  38. mage_ai/server/frontend_dist/_next/static/chunks/1557-724bfc3eabd095f7.js +1 -0
  39. mage_ai/server/frontend_dist/_next/static/chunks/161-33f26e485ddef393.js +1 -0
  40. mage_ai/server/frontend_dist/_next/static/chunks/2646-78905b899b68f4eb.js +1 -0
  41. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/3419-ad674b271b8520ce.js → frontend_dist/_next/static/chunks/3419-b8bd26f5946bec5a.js} +1 -1
  42. mage_ai/server/frontend_dist/_next/static/chunks/3437-ce26fc28e114b44e.js +1 -0
  43. mage_ai/server/frontend_dist/_next/static/chunks/3540-9bb48b08f439d0a0.js +1 -0
  44. mage_ai/server/frontend_dist/_next/static/chunks/3745-61b1c63bb56bb670.js +1 -0
  45. mage_ai/server/frontend_dist/_next/static/chunks/{5729.0f2748e9e6dab951.js → 5189.dca121eccea793be.js} +1 -1
  46. mage_ai/server/frontend_dist/_next/static/chunks/5457-b373ebdf4d05d8e2.js +1 -0
  47. mage_ai/server/frontend_dist/_next/static/chunks/5533-3455832bc3f8429b.js +1 -0
  48. mage_ai/server/frontend_dist/_next/static/chunks/5729-9d8204ab91da631d.js +1 -0
  49. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/5810-e26a0768db1cfdba.js → frontend_dist/_next/static/chunks/5810-addfa3491ae6b01c.js} +1 -1
  50. mage_ai/server/frontend_dist/_next/static/chunks/8264-68db2a8334ad48f1.js +1 -0
  51. mage_ai/server/frontend_dist/_next/static/chunks/8432-0ace6fb7bdbc6864.js +1 -0
  52. mage_ai/server/frontend_dist/_next/static/chunks/8731-82571147875a2d58.js +1 -0
  53. mage_ai/server/frontend_dist/_next/static/chunks/874-d9e1b3c9c00ebac9.js +1 -0
  54. mage_ai/server/frontend_dist/_next/static/chunks/9264-5df6e4c7b1e85c02.js +1 -0
  55. mage_ai/server/frontend_dist/_next/static/chunks/pages/{_app-0d183e2f234d52c6.js → _app-4c0239ca6203e827.js} +1 -1
  56. mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-822e66aa2e90cf4c.js +1 -0
  57. mage_ai/server/frontend_dist/_next/static/chunks/pages/files-373217c5de51aeef.js +1 -0
  58. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-data-products/{[...slug]-1e4838e534c8f31e.js → [...slug]-0325e76a2f3e08c1.js} +1 -1
  59. mage_ai/server/frontend_dist/_next/static/chunks/pages/{global-data-products-bb38f73540efeac4.js → global-data-products-927ebbdc29529765.js} +1 -1
  60. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-a172f5a447bd8925.js +1 -0
  61. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-97bec2ac883e0c26.js +1 -0
  62. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/files-02d001d99eeaae3f.js +1 -0
  63. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/settings-2e577bfd4f0db2b7.js +1 -0
  64. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/[user]-1827574a4ba95a72.js +1 -0
  65. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/new-a913c361bcc0d1a9.js +1 -0
  66. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-4e6fdcbbfc931d67.js +1 -0
  67. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-1c327edcf05df9c9.js +1 -0
  68. mage_ai/server/frontend_dist/_next/static/chunks/pages/{oauth-eba7027969034415.js → oauth-bd8494f8875c5c97.js} +1 -1
  69. mage_ai/server/frontend_dist/_next/static/chunks/pages/overview-5a98e6a531410afb.js +1 -0
  70. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-1442183d13edec2e.js +1 -0
  71. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/{[...slug]-b526282c8ac49986.js → [...slug]-38b2241cdd10320c.js} +1 -1
  72. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-515eb343210aa1fb.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-1c646dbef65d6a69.js} +1 -1
  73. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{dashboard-fe4d1321da8291cb.js → dashboard-35cb916a18ac4e1f.js} +1 -1
  74. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-cd1918632dfef29d.js +1 -0
  75. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{logs-c011d465f61138ee.js → logs-67b0572c84db0940.js} +1 -1
  76. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/{block-runs-46c0dabd155581a0.js → block-runs-40201b626ea3a664.js} +1 -1
  77. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-f2a052cb8a20fe47.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d1f23308effebe03.js} +1 -1
  78. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{monitors-579899cbaedcdefc.js → monitors-9a116d88f00916ff.js} +1 -1
  79. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/{[run]-7a2265b7e44bed0b.js → [run]-2d5abcd019d4bea1.js} +1 -1
  80. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{runs-9b53da919db959bd.js → runs-5363a7ae9afe8983.js} +1 -1
  81. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{settings-1839276725bfd757.js → settings-931a1b3112866a72.js} +1 -1
  82. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{syncs-68d779bc62185470.js → syncs-5ec5367cb877db38.js} +1 -1
  83. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-01f4528602f4ba2a.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-8366661f8e2b2959.js} +1 -1
  84. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{triggers-358523847fdbf547.js → triggers-378f8dada7d0c1dd.js} +1 -1
  85. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-627be24ef4963cfb.js +1 -0
  86. mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks/[...slug]-814bbd11e10c26dc.js +1 -0
  87. mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks-021ec25e05862f8f.js +1 -0
  88. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-00393e67ab1e6788.js → frontend_dist/_next/static/chunks/pages/settings/account/profile-2b0aa123043519b8.js} +1 -1
  89. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/preferences-05186e17c94347c1.js +1 -0
  90. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/settings-efe8bf1bf3177a7e.js +1 -0
  91. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-eaeba99f9547a20a.js → [...slug]-aa5d871de1f3f7b0.js} +1 -1
  92. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{permissions-c3140516cc28e467.js → permissions-ce45aad47049d993.js} +1 -1
  93. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-1bc694b056ff0bcb.js +1 -0
  94. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-f6ff0e219a4b9ffd.js → [...slug]-88d29d1774db67e4.js} +1 -1
  95. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{roles-22ff9d862736b2ec.js → roles-d8ca763e405cd9d1.js} +1 -1
  96. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{sync-data-614925e838d1974c.js → sync-data-42bd909eb8951040.js} +1 -1
  97. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users/{[...slug]-5b88dfb1c6d0d16c.js → [...slug]-250dfdf22bfe67e9.js} +1 -1
  98. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{users-eb904db7ac7ea57c.js → users-97c4ce119f7238b5.js} +1 -1
  99. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/sign-in-dcdd0c71f99aebad.js → frontend_dist/_next/static/chunks/pages/sign-in-1af3ba18ff646dd4.js} +1 -1
  100. mage_ai/server/frontend_dist/_next/static/chunks/pages/templates/[...slug]-ff9d49355393daea.js +1 -0
  101. mage_ai/server/frontend_dist/_next/static/chunks/pages/{templates-5ebfe79c24d8c4b4.js → templates-299a2c8f2dd89cf3.js} +1 -1
  102. mage_ai/server/frontend_dist/_next/static/chunks/pages/terminal-fb3f398009a02879.js +1 -0
  103. mage_ai/server/frontend_dist/_next/static/chunks/pages/test-59a08e06f4ef6c3a.js +1 -0
  104. mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-551b85802515e313.js +1 -0
  105. mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-1362aeda4a31dd41.js +1 -0
  106. mage_ai/server/frontend_dist/_next/static/chunks/{webpack-fea697dd168c6d0c.js → webpack-17c3a8f588f14cfd.js} +1 -1
  107. mage_ai/server/frontend_dist/block-layout.html +2 -2
  108. mage_ai/server/frontend_dist/compute.html +2 -2
  109. mage_ai/server/frontend_dist/files.html +2 -2
  110. mage_ai/server/frontend_dist/global-data-products/[...slug].html +2 -2
  111. mage_ai/server/frontend_dist/global-data-products.html +2 -2
  112. mage_ai/server/frontend_dist/global-hooks/[...slug].html +2 -2
  113. mage_ai/server/frontend_dist/global-hooks.html +2 -2
  114. mage_ai/server/frontend_dist/index.html +2 -2
  115. mage_ai/server/frontend_dist/manage/files.html +2 -2
  116. mage_ai/server/frontend_dist/manage/settings.html +2 -2
  117. mage_ai/server/frontend_dist/manage/users/[user].html +2 -2
  118. mage_ai/server/frontend_dist/manage/users/new.html +2 -2
  119. mage_ai/server/frontend_dist/manage/users.html +2 -2
  120. mage_ai/server/frontend_dist/manage.html +2 -2
  121. mage_ai/server/frontend_dist/oauth.html +3 -3
  122. mage_ai/server/frontend_dist/overview.html +2 -2
  123. mage_ai/server/frontend_dist/pipeline-runs.html +2 -2
  124. mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +2 -2
  125. mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +2 -2
  126. mage_ai/server/frontend_dist/pipelines/[pipeline]/dashboard.html +2 -2
  127. mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +2 -2
  128. mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +2 -2
  129. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +2 -2
  130. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +2 -2
  131. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +2 -2
  132. mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +2 -2
  133. mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +2 -2
  134. mage_ai/server/frontend_dist/pipelines/[pipeline]/settings.html +2 -2
  135. mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +2 -2
  136. mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +2 -2
  137. mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +2 -2
  138. mage_ai/server/frontend_dist/pipelines/[pipeline].html +2 -2
  139. mage_ai/server/frontend_dist/pipelines.html +2 -2
  140. mage_ai/server/frontend_dist/platform/global-hooks/[...slug].html +24 -0
  141. mage_ai/server/frontend_dist/platform/global-hooks.html +24 -0
  142. mage_ai/server/frontend_dist/settings/account/profile.html +2 -2
  143. mage_ai/server/frontend_dist/settings/platform/preferences.html +24 -0
  144. mage_ai/server/frontend_dist/settings/platform/settings.html +24 -0
  145. mage_ai/server/frontend_dist/settings/workspace/permissions/[...slug].html +2 -2
  146. mage_ai/server/frontend_dist/settings/workspace/permissions.html +2 -2
  147. mage_ai/server/frontend_dist/settings/workspace/preferences.html +2 -2
  148. mage_ai/server/frontend_dist/settings/workspace/roles/[...slug].html +2 -2
  149. mage_ai/server/frontend_dist/settings/workspace/roles.html +2 -2
  150. mage_ai/server/frontend_dist/settings/workspace/sync-data.html +2 -2
  151. mage_ai/server/frontend_dist/settings/workspace/users/[...slug].html +2 -2
  152. mage_ai/server/frontend_dist/settings/workspace/users.html +2 -2
  153. mage_ai/server/frontend_dist/settings.html +2 -2
  154. mage_ai/server/frontend_dist/sign-in.html +3 -3
  155. mage_ai/server/frontend_dist/templates/[...slug].html +2 -2
  156. mage_ai/server/frontend_dist/templates.html +2 -2
  157. mage_ai/server/frontend_dist/terminal.html +2 -2
  158. mage_ai/server/frontend_dist/test.html +2 -2
  159. mage_ai/server/frontend_dist/triggers.html +2 -2
  160. mage_ai/server/frontend_dist/version-control.html +2 -2
  161. mage_ai/server/frontend_dist_base_path_template/404.html +4 -4
  162. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1557-724bfc3eabd095f7.js +1 -0
  163. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/161-33f26e485ddef393.js +1 -0
  164. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2646-78905b899b68f4eb.js +1 -0
  165. mage_ai/server/{frontend_dist/_next/static/chunks/3419-ad674b271b8520ce.js → frontend_dist_base_path_template/_next/static/chunks/3419-b8bd26f5946bec5a.js} +1 -1
  166. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3437-ce26fc28e114b44e.js +1 -0
  167. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3540-9bb48b08f439d0a0.js +1 -0
  168. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3745-61b1c63bb56bb670.js +1 -0
  169. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{5729.0f2748e9e6dab951.js → 5189.dca121eccea793be.js} +1 -1
  170. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5457-b373ebdf4d05d8e2.js +1 -0
  171. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5533-3455832bc3f8429b.js +1 -0
  172. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5729-9d8204ab91da631d.js +1 -0
  173. mage_ai/server/{frontend_dist/_next/static/chunks/5810-e26a0768db1cfdba.js → frontend_dist_base_path_template/_next/static/chunks/5810-addfa3491ae6b01c.js} +1 -1
  174. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8264-68db2a8334ad48f1.js +1 -0
  175. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8432-0ace6fb7bdbc6864.js +1 -0
  176. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8731-82571147875a2d58.js +1 -0
  177. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/874-d9e1b3c9c00ebac9.js +1 -0
  178. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9264-5df6e4c7b1e85c02.js +1 -0
  179. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{_app-0d183e2f234d52c6.js → _app-4c0239ca6203e827.js} +1 -1
  180. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-822e66aa2e90cf4c.js +1 -0
  181. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/files-373217c5de51aeef.js +1 -0
  182. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-data-products/{[...slug]-1e4838e534c8f31e.js → [...slug]-0325e76a2f3e08c1.js} +1 -1
  183. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{global-data-products-bb38f73540efeac4.js → global-data-products-927ebbdc29529765.js} +1 -1
  184. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-a172f5a447bd8925.js +1 -0
  185. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-97bec2ac883e0c26.js +1 -0
  186. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/files-02d001d99eeaae3f.js +1 -0
  187. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-2e577bfd4f0db2b7.js +1 -0
  188. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-1827574a4ba95a72.js +1 -0
  189. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/new-a913c361bcc0d1a9.js +1 -0
  190. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-4e6fdcbbfc931d67.js +1 -0
  191. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage-1c327edcf05df9c9.js +1 -0
  192. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{oauth-eba7027969034415.js → oauth-bd8494f8875c5c97.js} +1 -1
  193. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/overview-5a98e6a531410afb.js +1 -0
  194. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-1442183d13edec2e.js +1 -0
  195. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/{[...slug]-b526282c8ac49986.js → [...slug]-38b2241cdd10320c.js} +1 -1
  196. mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-515eb343210aa1fb.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-1c646dbef65d6a69.js} +1 -1
  197. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{dashboard-fe4d1321da8291cb.js → dashboard-35cb916a18ac4e1f.js} +1 -1
  198. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-cd1918632dfef29d.js +1 -0
  199. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{logs-c011d465f61138ee.js → logs-67b0572c84db0940.js} +1 -1
  200. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/{block-runs-46c0dabd155581a0.js → block-runs-40201b626ea3a664.js} +1 -1
  201. mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-f2a052cb8a20fe47.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d1f23308effebe03.js} +1 -1
  202. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{monitors-579899cbaedcdefc.js → monitors-9a116d88f00916ff.js} +1 -1
  203. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/{[run]-7a2265b7e44bed0b.js → [run]-2d5abcd019d4bea1.js} +1 -1
  204. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{runs-9b53da919db959bd.js → runs-5363a7ae9afe8983.js} +1 -1
  205. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{settings-1839276725bfd757.js → settings-931a1b3112866a72.js} +1 -1
  206. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{syncs-68d779bc62185470.js → syncs-5ec5367cb877db38.js} +1 -1
  207. mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-01f4528602f4ba2a.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-8366661f8e2b2959.js} +1 -1
  208. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{triggers-358523847fdbf547.js → triggers-378f8dada7d0c1dd.js} +1 -1
  209. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-627be24ef4963cfb.js +1 -0
  210. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks/[...slug]-814bbd11e10c26dc.js +1 -0
  211. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks-021ec25e05862f8f.js +1 -0
  212. mage_ai/server/{frontend_dist/_next/static/chunks/pages/settings/account/profile-00393e67ab1e6788.js → frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-2b0aa123043519b8.js} +1 -1
  213. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/preferences-05186e17c94347c1.js +1 -0
  214. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/settings-efe8bf1bf3177a7e.js +1 -0
  215. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-eaeba99f9547a20a.js → [...slug]-aa5d871de1f3f7b0.js} +1 -1
  216. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{permissions-c3140516cc28e467.js → permissions-ce45aad47049d993.js} +1 -1
  217. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-1bc694b056ff0bcb.js +1 -0
  218. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-f6ff0e219a4b9ffd.js → [...slug]-88d29d1774db67e4.js} +1 -1
  219. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{roles-22ff9d862736b2ec.js → roles-d8ca763e405cd9d1.js} +1 -1
  220. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{sync-data-614925e838d1974c.js → sync-data-42bd909eb8951040.js} +1 -1
  221. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users/{[...slug]-5b88dfb1c6d0d16c.js → [...slug]-250dfdf22bfe67e9.js} +1 -1
  222. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{users-eb904db7ac7ea57c.js → users-97c4ce119f7238b5.js} +1 -1
  223. mage_ai/server/{frontend_dist/_next/static/chunks/pages/sign-in-dcdd0c71f99aebad.js → frontend_dist_base_path_template/_next/static/chunks/pages/sign-in-1af3ba18ff646dd4.js} +1 -1
  224. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-ff9d49355393daea.js +1 -0
  225. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{templates-5ebfe79c24d8c4b4.js → templates-299a2c8f2dd89cf3.js} +1 -1
  226. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/terminal-fb3f398009a02879.js +1 -0
  227. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/test-59a08e06f4ef6c3a.js +1 -0
  228. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-551b85802515e313.js +1 -0
  229. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/version-control-1362aeda4a31dd41.js +1 -0
  230. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{webpack-d30cb09c85b4c4f0.js → webpack-b55fe1e575d8ac9d.js} +1 -1
  231. mage_ai/server/frontend_dist_base_path_template/_next/static/wSRrM15xnvA8lOWcaque7/_buildManifest.js +1 -0
  232. mage_ai/server/frontend_dist_base_path_template/block-layout.html +2 -2
  233. mage_ai/server/frontend_dist_base_path_template/compute.html +5 -5
  234. mage_ai/server/frontend_dist_base_path_template/files.html +5 -5
  235. mage_ai/server/frontend_dist_base_path_template/global-data-products/[...slug].html +5 -5
  236. mage_ai/server/frontend_dist_base_path_template/global-data-products.html +5 -5
  237. mage_ai/server/frontend_dist_base_path_template/global-hooks/[...slug].html +5 -5
  238. mage_ai/server/frontend_dist_base_path_template/global-hooks.html +5 -5
  239. mage_ai/server/frontend_dist_base_path_template/index.html +2 -2
  240. mage_ai/server/frontend_dist_base_path_template/manage/files.html +5 -5
  241. mage_ai/server/frontend_dist_base_path_template/manage/settings.html +5 -5
  242. mage_ai/server/frontend_dist_base_path_template/manage/users/[user].html +5 -5
  243. mage_ai/server/frontend_dist_base_path_template/manage/users/new.html +5 -5
  244. mage_ai/server/frontend_dist_base_path_template/manage/users.html +5 -5
  245. mage_ai/server/frontend_dist_base_path_template/manage.html +5 -5
  246. mage_ai/server/frontend_dist_base_path_template/oauth.html +3 -3
  247. mage_ai/server/frontend_dist_base_path_template/overview.html +5 -5
  248. mage_ai/server/frontend_dist_base_path_template/pipeline-runs.html +5 -5
  249. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills/[...slug].html +5 -5
  250. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills.html +5 -5
  251. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/dashboard.html +5 -5
  252. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/edit.html +2 -2
  253. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/logs.html +5 -5
  254. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runs.html +5 -5
  255. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runtime.html +5 -5
  256. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors.html +5 -5
  257. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs/[run].html +5 -5
  258. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs.html +5 -5
  259. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/settings.html +5 -5
  260. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/syncs.html +5 -5
  261. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers/[...slug].html +5 -5
  262. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers.html +5 -5
  263. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline].html +2 -2
  264. mage_ai/server/frontend_dist_base_path_template/pipelines.html +5 -5
  265. mage_ai/server/frontend_dist_base_path_template/platform/global-hooks/[...slug].html +24 -0
  266. mage_ai/server/frontend_dist_base_path_template/platform/global-hooks.html +24 -0
  267. mage_ai/server/frontend_dist_base_path_template/settings/account/profile.html +5 -5
  268. mage_ai/server/frontend_dist_base_path_template/settings/platform/preferences.html +24 -0
  269. mage_ai/server/frontend_dist_base_path_template/settings/platform/settings.html +24 -0
  270. mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions/[...slug].html +5 -5
  271. mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions.html +5 -5
  272. mage_ai/server/frontend_dist_base_path_template/settings/workspace/preferences.html +5 -5
  273. mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles/[...slug].html +5 -5
  274. mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles.html +5 -5
  275. mage_ai/server/frontend_dist_base_path_template/settings/workspace/sync-data.html +5 -5
  276. mage_ai/server/frontend_dist_base_path_template/settings/workspace/users/[...slug].html +5 -5
  277. mage_ai/server/frontend_dist_base_path_template/settings/workspace/users.html +5 -5
  278. mage_ai/server/frontend_dist_base_path_template/settings.html +2 -2
  279. mage_ai/server/frontend_dist_base_path_template/sign-in.html +11 -11
  280. mage_ai/server/frontend_dist_base_path_template/templates/[...slug].html +5 -5
  281. mage_ai/server/frontend_dist_base_path_template/templates.html +5 -5
  282. mage_ai/server/frontend_dist_base_path_template/terminal.html +5 -5
  283. mage_ai/server/frontend_dist_base_path_template/test.html +2 -2
  284. mage_ai/server/frontend_dist_base_path_template/triggers.html +5 -5
  285. mage_ai/server/frontend_dist_base_path_template/version-control.html +5 -5
  286. mage_ai/server/websocket_server.py +33 -22
  287. mage_ai/settings/models/configuration_option.py +15 -1
  288. mage_ai/settings/platform/__init__.py +44 -20
  289. mage_ai/shared/io.py +3 -0
  290. mage_ai/streaming/sinks/rabbitmq.py +3 -1
  291. mage_ai/streaming/sources/rabbitmq.py +5 -2
  292. mage_ai/tests/api/endpoints/test_pipeline_runs.py +4 -0
  293. mage_ai/tests/api/endpoints/test_projects.py +1 -0
  294. mage_ai/tests/api/resources/test_pipeline_resource.py +2 -2
  295. mage_ai/tests/data_preparation/models/block/platform/test_mixins.py +4 -3
  296. mage_ai/tests/data_preparation/models/test_block.py +2 -1
  297. mage_ai/tests/data_preparation/models/test_project.py +27 -7
  298. mage_ai/tests/orchestration/db/models/test_schedules.py +25 -7
  299. mage_ai/tests/orchestration/test_pipeline_scheduler.py +6 -261
  300. mage_ai/tests/orchestration/test_pipeline_scheduler_project_platform.py +286 -0
  301. mage_ai/tests/shared/mixins.py +1 -0
  302. {mage_ai-0.9.55.dist-info → mage_ai-0.9.57.dist-info}/METADATA +1 -1
  303. {mage_ai-0.9.55.dist-info → mage_ai-0.9.57.dist-info}/RECORD +309 -286
  304. mage_ai/server/frontend_dist/_next/static/7yQskzl_RfcpoOQn1DPQV/_buildManifest.js +0 -1
  305. mage_ai/server/frontend_dist/_next/static/chunks/1125-fbdaaef471846c61.js +0 -1
  306. mage_ai/server/frontend_dist/_next/static/chunks/1952-c4ba37bc172d7051.js +0 -1
  307. mage_ai/server/frontend_dist/_next/static/chunks/2646-d8612648f7836101.js +0 -1
  308. mage_ai/server/frontend_dist/_next/static/chunks/3437-91f6098316edaf17.js +0 -1
  309. mage_ai/server/frontend_dist/_next/static/chunks/3745-0aacee8ac93a042a.js +0 -1
  310. mage_ai/server/frontend_dist/_next/static/chunks/5332-c5abdf5c8d65a52e.js +0 -1
  311. mage_ai/server/frontend_dist/_next/static/chunks/5457-6e700aadac17ceec.js +0 -1
  312. mage_ai/server/frontend_dist/_next/static/chunks/8264-dad1f090c4278137.js +0 -1
  313. mage_ai/server/frontend_dist/_next/static/chunks/8432-ec2b97cbf32ec5a7.js +0 -1
  314. mage_ai/server/frontend_dist/_next/static/chunks/8731-9e0ad513b0dfce83.js +0 -1
  315. mage_ai/server/frontend_dist/_next/static/chunks/874-18d9f33cdd028e9d.js +0 -1
  316. mage_ai/server/frontend_dist/_next/static/chunks/9264-4428392376aa9dd4.js +0 -1
  317. mage_ai/server/frontend_dist/_next/static/chunks/9626-2627bc34f11b2906.js +0 -1
  318. mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-5ead3afa88d14721.js +0 -1
  319. mage_ai/server/frontend_dist/_next/static/chunks/pages/files-87b31b998e9f1222.js +0 -1
  320. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-a7d74042d52c3c38.js +0 -1
  321. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-cf7f1ba0b44ec0fb.js +0 -1
  322. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/files-899b362caff47d4d.js +0 -1
  323. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/settings-b9ddd48737fba474.js +0 -1
  324. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/[user]-1e8731ba2559fef4.js +0 -1
  325. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/new-a6307396dfa82c88.js +0 -1
  326. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-fc5aafe5085739a9.js +0 -1
  327. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-c008f0201864d693.js +0 -1
  328. mage_ai/server/frontend_dist/_next/static/chunks/pages/overview-321f47b2dba4c780.js +0 -1
  329. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-bf4d162b5460acc6.js +0 -1
  330. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-62ee3e957688c725.js +0 -1
  331. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-33d9fb90871be84c.js +0 -1
  332. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-f4ff09cfff8bad46.js +0 -1
  333. mage_ai/server/frontend_dist/_next/static/chunks/pages/templates/[...slug]-04b0a55e8ad6f814.js +0 -1
  334. mage_ai/server/frontend_dist/_next/static/chunks/pages/terminal-88025dd0ed3051a6.js +0 -1
  335. mage_ai/server/frontend_dist/_next/static/chunks/pages/test-b936dd972db94c6b.js +0 -1
  336. mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-e5e49ac3b9282aaa.js +0 -1
  337. mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-a5372e488b5f44a2.js +0 -1
  338. mage_ai/server/frontend_dist_base_path_template/_next/static/2_SHgS8M315ekLG0qkZzC/_buildManifest.js +0 -1
  339. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1125-fbdaaef471846c61.js +0 -1
  340. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1952-c4ba37bc172d7051.js +0 -1
  341. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2646-d8612648f7836101.js +0 -1
  342. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3437-91f6098316edaf17.js +0 -1
  343. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3745-0aacee8ac93a042a.js +0 -1
  344. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5332-c5abdf5c8d65a52e.js +0 -1
  345. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5457-6e700aadac17ceec.js +0 -1
  346. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8264-dad1f090c4278137.js +0 -1
  347. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8432-ec2b97cbf32ec5a7.js +0 -1
  348. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8731-9e0ad513b0dfce83.js +0 -1
  349. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/874-18d9f33cdd028e9d.js +0 -1
  350. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9264-4428392376aa9dd4.js +0 -1
  351. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9626-2627bc34f11b2906.js +0 -1
  352. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-5ead3afa88d14721.js +0 -1
  353. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/files-87b31b998e9f1222.js +0 -1
  354. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-a7d74042d52c3c38.js +0 -1
  355. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-cf7f1ba0b44ec0fb.js +0 -1
  356. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/files-899b362caff47d4d.js +0 -1
  357. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-b9ddd48737fba474.js +0 -1
  358. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-1e8731ba2559fef4.js +0 -1
  359. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/new-a6307396dfa82c88.js +0 -1
  360. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-fc5aafe5085739a9.js +0 -1
  361. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage-c008f0201864d693.js +0 -1
  362. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/overview-321f47b2dba4c780.js +0 -1
  363. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-bf4d162b5460acc6.js +0 -1
  364. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-62ee3e957688c725.js +0 -1
  365. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-33d9fb90871be84c.js +0 -1
  366. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-f4ff09cfff8bad46.js +0 -1
  367. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-04b0a55e8ad6f814.js +0 -1
  368. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/terminal-88025dd0ed3051a6.js +0 -1
  369. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/test-b936dd972db94c6b.js +0 -1
  370. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-e5e49ac3b9282aaa.js +0 -1
  371. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/version-control-a5372e488b5f44a2.js +0 -1
  372. /mage_ai/server/frontend_dist/_next/static/{7yQskzl_RfcpoOQn1DPQV → A7VXVGKgLQCukXcjdysDz}/_ssgManifest.js +0 -0
  373. /mage_ai/server/frontend_dist_base_path_template/_next/static/{2_SHgS8M315ekLG0qkZzC → wSRrM15xnvA8lOWcaque7}/_ssgManifest.js +0 -0
  374. {mage_ai-0.9.55.dist-info → mage_ai-0.9.57.dist-info}/LICENSE +0 -0
  375. {mage_ai-0.9.55.dist-info → mage_ai-0.9.57.dist-info}/WHEEL +0 -0
  376. {mage_ai-0.9.55.dist-info → mage_ai-0.9.57.dist-info}/entry_points.txt +0 -0
  377. {mage_ai-0.9.55.dist-info → mage_ai-0.9.57.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>Triggers | Mage</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-fea697dd168c6d0c.js" defer=""></script><script src="/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/_next/static/chunks/main-77fe248a6fbd12d8.js" defer=""></script><script src="/_next/static/chunks/pages/_app-0d183e2f234d52c6.js" defer=""></script><script src="/_next/static/chunks/2852872c-15b31a7081e6a868.js" defer=""></script><script src="/_next/static/chunks/1154-2f262f7eb38ebaa1.js" defer=""></script><script src="/_next/static/chunks/844-1e171f361e63b36d.js" defer=""></script><script src="/_next/static/chunks/874-18d9f33cdd028e9d.js" defer=""></script><script src="/_next/static/chunks/9626-2627bc34f11b2906.js" defer=""></script><script src="/_next/static/chunks/8264-dad1f090c4278137.js" defer=""></script><script src="/_next/static/chunks/7858-26a5a5d04fa3c703.js" defer=""></script><script src="/_next/static/chunks/5499-261cfa2410506eb4.js" defer=""></script><script src="/_next/static/chunks/9624-89a4b20eb3b3c754.js" defer=""></script><script src="/_next/static/chunks/pages/triggers-e5e49ac3b9282aaa.js" defer=""></script><script src="/_next/static/7yQskzl_RfcpoOQn1DPQV/_buildManifest.js" defer=""></script><script src="/_next/static/7yQskzl_RfcpoOQn1DPQV/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.6">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>Triggers | Mage</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-17c3a8f588f14cfd.js" defer=""></script><script src="/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/_next/static/chunks/main-77fe248a6fbd12d8.js" defer=""></script><script src="/_next/static/chunks/pages/_app-4c0239ca6203e827.js" defer=""></script><script src="/_next/static/chunks/2852872c-15b31a7081e6a868.js" defer=""></script><script src="/_next/static/chunks/1154-2f262f7eb38ebaa1.js" defer=""></script><script src="/_next/static/chunks/844-1e171f361e63b36d.js" defer=""></script><script src="/_next/static/chunks/874-d9e1b3c9c00ebac9.js" defer=""></script><script src="/_next/static/chunks/1557-724bfc3eabd095f7.js" defer=""></script><script src="/_next/static/chunks/8264-68db2a8334ad48f1.js" defer=""></script><script src="/_next/static/chunks/7858-26a5a5d04fa3c703.js" defer=""></script><script src="/_next/static/chunks/5499-261cfa2410506eb4.js" defer=""></script><script src="/_next/static/chunks/9624-89a4b20eb3b3c754.js" defer=""></script><script src="/_next/static/chunks/pages/triggers-551b85802515e313.js" defer=""></script><script src="/_next/static/A7VXVGKgLQCukXcjdysDz/_buildManifest.js" defer=""></script><script src="/_next/static/A7VXVGKgLQCukXcjdysDz/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.6">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
2
2
  *,*::before,*::after{-webkit-box-sizing:inherit;box-sizing:inherit;}/*!sc*/
3
3
  data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
4
4
  .kOVcuR .Toastify__toast-container{margin-top:24px;padding:0 !important;width:500px !important;}/*!sc*/
@@ -21,4 +21,4 @@ data-styled.g80[id="indexstyle__ContainerStyle-sc-ecogjt-0"]{content:"ijwRXz,"}/
21
21
  @-webkit-keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
22
22
  @keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
23
23
  data-styled.g81[id="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1"]{content:"jQArIy,"}/*!sc*/
24
- </style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><div class="indexstyle__HeaderStyle-sc-1bk8irg-0 gbXfes"><div></div></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 ijwRXz"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 jQArIy"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 hDBiHu"><div></div></div></div><div class="Flex-sc-sgfnl9-0 dKQluW"><div></div></div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"auth":{"decodedToken":{"expires":0,"token":null}}},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/triggers","query":{},"buildId":"7yQskzl_RfcpoOQn1DPQV","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
24
+ </style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><div class="indexstyle__HeaderStyle-sc-1bk8irg-0 gbXfes"><div></div></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 ijwRXz"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 jQArIy"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 hDBiHu"><div></div></div></div><div class="Flex-sc-sgfnl9-0 dKQluW"><div></div></div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"auth":{"decodedToken":{"expires":0,"token":null}}},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/triggers","query":{},"buildId":"A7VXVGKgLQCukXcjdysDz","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>Version control | Mage</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-fea697dd168c6d0c.js" defer=""></script><script src="/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/_next/static/chunks/main-77fe248a6fbd12d8.js" defer=""></script><script src="/_next/static/chunks/pages/_app-0d183e2f234d52c6.js" defer=""></script><script src="/_next/static/chunks/2852872c-15b31a7081e6a868.js" defer=""></script><script src="/_next/static/chunks/1154-2f262f7eb38ebaa1.js" defer=""></script><script src="/_next/static/chunks/844-1e171f361e63b36d.js" defer=""></script><script src="/_next/static/chunks/7011-81dd8269c4806d26.js" defer=""></script><script src="/_next/static/chunks/6965-c613d1834c8ed92d.js" defer=""></script><script src="/_next/static/chunks/874-18d9f33cdd028e9d.js" defer=""></script><script src="/_next/static/chunks/9626-2627bc34f11b2906.js" defer=""></script><script src="/_next/static/chunks/8264-dad1f090c4278137.js" defer=""></script><script src="/_next/static/chunks/7858-26a5a5d04fa3c703.js" defer=""></script><script src="/_next/static/chunks/5499-261cfa2410506eb4.js" defer=""></script><script src="/_next/static/chunks/5283-8d1dacb2eeb9e652.js" defer=""></script><script src="/_next/static/chunks/2646-d8612648f7836101.js" defer=""></script><script src="/_next/static/chunks/5332-c5abdf5c8d65a52e.js" defer=""></script><script src="/_next/static/chunks/pages/version-control-a5372e488b5f44a2.js" defer=""></script><script src="/_next/static/7yQskzl_RfcpoOQn1DPQV/_buildManifest.js" defer=""></script><script src="/_next/static/7yQskzl_RfcpoOQn1DPQV/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.6">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>Version control | Mage</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-17c3a8f588f14cfd.js" defer=""></script><script src="/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/_next/static/chunks/main-77fe248a6fbd12d8.js" defer=""></script><script src="/_next/static/chunks/pages/_app-4c0239ca6203e827.js" defer=""></script><script src="/_next/static/chunks/2852872c-15b31a7081e6a868.js" defer=""></script><script src="/_next/static/chunks/1154-2f262f7eb38ebaa1.js" defer=""></script><script src="/_next/static/chunks/844-1e171f361e63b36d.js" defer=""></script><script src="/_next/static/chunks/7011-81dd8269c4806d26.js" defer=""></script><script src="/_next/static/chunks/6965-c613d1834c8ed92d.js" defer=""></script><script src="/_next/static/chunks/874-d9e1b3c9c00ebac9.js" defer=""></script><script src="/_next/static/chunks/1557-724bfc3eabd095f7.js" defer=""></script><script src="/_next/static/chunks/8264-68db2a8334ad48f1.js" defer=""></script><script src="/_next/static/chunks/7858-26a5a5d04fa3c703.js" defer=""></script><script src="/_next/static/chunks/5499-261cfa2410506eb4.js" defer=""></script><script src="/_next/static/chunks/5283-8d1dacb2eeb9e652.js" defer=""></script><script src="/_next/static/chunks/2646-78905b899b68f4eb.js" defer=""></script><script src="/_next/static/chunks/5533-3455832bc3f8429b.js" defer=""></script><script src="/_next/static/chunks/pages/version-control-1362aeda4a31dd41.js" defer=""></script><script src="/_next/static/A7VXVGKgLQCukXcjdysDz/_buildManifest.js" defer=""></script><script src="/_next/static/A7VXVGKgLQCukXcjdysDz/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.6">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
2
2
  *,*::before,*::after{-webkit-box-sizing:inherit;box-sizing:inherit;}/*!sc*/
3
3
  data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
4
4
  .kOVcuR .Toastify__toast-container{margin-top:24px;padding:0 !important;width:500px !important;}/*!sc*/
@@ -21,4 +21,4 @@ data-styled.g80[id="indexstyle__ContainerStyle-sc-ecogjt-0"]{content:"ijwRXz,"}/
21
21
  @-webkit-keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
22
22
  @keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
23
23
  data-styled.g81[id="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1"]{content:"jQArIy,"}/*!sc*/
24
- </style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><div class="indexstyle__HeaderStyle-sc-1bk8irg-0 gbXfes"><div></div></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 ijwRXz"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 jQArIy"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 hDBiHu"><div></div></div></div><div class="Flex-sc-sgfnl9-0 dKQluW"><div></div></div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"auth":{"decodedToken":{"expires":0,"token":null}}},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/version-control","query":{},"buildId":"7yQskzl_RfcpoOQn1DPQV","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
24
+ </style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><div class="indexstyle__HeaderStyle-sc-1bk8irg-0 gbXfes"><div></div></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 ijwRXz"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 jQArIy"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 hDBiHu"><div></div></div></div><div class="Flex-sc-sgfnl9-0 dKQluW"><div></div></div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"auth":{"decodedToken":{"expires":0,"token":null}}},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/version-control","query":{},"buildId":"A7VXVGKgLQCukXcjdysDz","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><title>Mage</title><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/webpack-d30cb09c85b4c4f0.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-70b78159c2bb3fe1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-0d183e2f234d52c6.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/404-5ddd12931e0e3e41.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/2_SHgS8M315ekLG0qkZzC/_buildManifest.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/2_SHgS8M315ekLG0qkZzC/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.6">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><title>Mage</title><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/webpack-b55fe1e575d8ac9d.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-70b78159c2bb3fe1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-4c0239ca6203e827.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/404-5ddd12931e0e3e41.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/wSRrM15xnvA8lOWcaque7/_buildManifest.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/wSRrM15xnvA8lOWcaque7/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.6">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
2
2
  *,*::before,*::after{-webkit-box-sizing:inherit;box-sizing:inherit;}/*!sc*/
3
3
  data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
4
4
  .kOVcuR .Toastify__toast-container{margin-top:24px;padding:0 !important;width:500px !important;}/*!sc*/
@@ -14,7 +14,7 @@ data-styled.g8[id="Spacing__SpacingStyle-sc-1mpmtgj-0"]{content:"cAAVhx,"}/*!sc*
14
14
  .hflLbl{margin:0;font-size:16px;line-height:22px;font-family:Roboto Regular,Helvetica Neue,Helvetica,sans-serif;color:#FFFFFF;}/*!sc*/
15
15
  data-styled.g9[id="Text__TextStyle-sc-sl5nur-0"]{content:"hflLbl,"}/*!sc*/
16
16
  .dDWSWx{color:#FFFFFF;}/*!sc*/
17
- data-styled.g68[id="Headline__HeadlineContainerStyle-sc-12jzt2e-0"]{content:"dDWSWx,"}/*!sc*/
17
+ data-styled.g30[id="Headline__HeadlineContainerStyle-sc-12jzt2e-0"]{content:"dDWSWx,"}/*!sc*/
18
18
  .iZKMvc{margin:0;font-size:14px;line-height:20px;font-family:Roboto Bold,Helvetica Neue,Helvetica,sans-serif;color:#FFFFFF;margin:0;font-family:Roboto Bold,Helvetica Neue,Helvetica,sans-serif;font-size:40px;line-height:48px;}/*!sc*/
19
- data-styled.g70[id="Headline__H1Style-sc-12jzt2e-2"]{content:"iZKMvc,"}/*!sc*/
20
- </style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><main style="align-items:center;display:flex;flex-direction:column;height:100vh;margin-top:16rem"><svg width="84.70857142857143" height="64" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path opacity="0.4" d="M15.3266 0L19.2641 1.82961e-06L11.9687 14L8.03125 14L15.3266 0Z" fill="url(#paint0_linear_1303_5)"></path><path d="M11.9692 1.82961e-06L8.03164 0L0.736328 14L4.67383 14L8.03164 7.55626V14H11.9691V8.38194e-05L11.9692 1.82961e-06Z" fill="url(#paint1_linear_1303_5)"></path><path d="M15.3269 2.57679e-06H19.2644V14H15.3269V2.57679e-06Z" fill="url(#paint2_linear_1303_5)"></path><defs><linearGradient id="paint0_linear_1303_5" x1="8.03125" y1="7" x2="19.2641" y2="7" gradientUnits="userSpaceOnUse"><stop offset="0.28125" stop-color="#7D55EC"></stop><stop offset="1" stop-color="#2AB2FE"></stop></linearGradient><linearGradient id="paint1_linear_1303_5" x1="0.736328" y1="7" x2="19.2644" y2="7" gradientUnits="userSpaceOnUse"><stop offset="0.28125" stop-color="#7D55EC"></stop><stop offset="1" stop-color="#2AB2FE"></stop></linearGradient><linearGradient id="paint2_linear_1303_5" x1="0.736328" y1="7" x2="19.2644" y2="7" gradientUnits="userSpaceOnUse"><stop offset="0.28125" stop-color="#7D55EC"></stop><stop offset="1" stop-color="#2AB2FE"></stop></linearGradient></defs></svg><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 cAAVhx"><div class="Headline__HeadlineContainerStyle-sc-12jzt2e-0 dDWSWx"><h1 class="Headline__H1Style-sc-12jzt2e-2 iZKMvc">404 - Page Not Found<!-- --></h1></div></div><p class="Text__TextStyle-sc-sl5nur-0 hflLbl">You will be redirected to the Pipelines dashboard in <!-- -->5<!-- --> seconds.<!-- --></p></main><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/404","query":{},"buildId":"2_SHgS8M315ekLG0qkZzC","assetPrefix":"/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
19
+ data-styled.g32[id="Headline__H1Style-sc-12jzt2e-2"]{content:"iZKMvc,"}/*!sc*/
20
+ </style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><main style="align-items:center;display:flex;flex-direction:column;height:100vh;margin-top:16rem"><svg width="84.70857142857143" height="64" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path opacity="0.4" d="M15.3266 0L19.2641 1.82961e-06L11.9687 14L8.03125 14L15.3266 0Z" fill="url(#paint0_linear_1303_5)"></path><path d="M11.9692 1.82961e-06L8.03164 0L0.736328 14L4.67383 14L8.03164 7.55626V14H11.9691V8.38194e-05L11.9692 1.82961e-06Z" fill="url(#paint1_linear_1303_5)"></path><path d="M15.3269 2.57679e-06H19.2644V14H15.3269V2.57679e-06Z" fill="url(#paint2_linear_1303_5)"></path><defs><linearGradient id="paint0_linear_1303_5" x1="8.03125" y1="7" x2="19.2641" y2="7" gradientUnits="userSpaceOnUse"><stop offset="0.28125" stop-color="#7D55EC"></stop><stop offset="1" stop-color="#2AB2FE"></stop></linearGradient><linearGradient id="paint1_linear_1303_5" x1="0.736328" y1="7" x2="19.2644" y2="7" gradientUnits="userSpaceOnUse"><stop offset="0.28125" stop-color="#7D55EC"></stop><stop offset="1" stop-color="#2AB2FE"></stop></linearGradient><linearGradient id="paint2_linear_1303_5" x1="0.736328" y1="7" x2="19.2644" y2="7" gradientUnits="userSpaceOnUse"><stop offset="0.28125" stop-color="#7D55EC"></stop><stop offset="1" stop-color="#2AB2FE"></stop></linearGradient></defs></svg><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 cAAVhx"><div class="Headline__HeadlineContainerStyle-sc-12jzt2e-0 dDWSWx"><h1 class="Headline__H1Style-sc-12jzt2e-2 iZKMvc">404 - Page Not Found<!-- --></h1></div></div><p class="Text__TextStyle-sc-sl5nur-0 hflLbl">You will be redirected to the Pipelines dashboard in <!-- -->5<!-- --> seconds.<!-- --></p></main><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/404","query":{},"buildId":"wSRrM15xnvA8lOWcaque7","assetPrefix":"/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1557],{28026:function(e,n,t){t.d(n,{Z:function(){return S}});var r=t(82394),i=t(89565),o=t.n(i),c=t(82684),l=t(40761),a=t(50724),s=t(30160),u=t(38626),d=t(44897),h=t(70515),f=t(47041),p=(0,u.css)([""," ",""],(function(e){return!e.width&&"\n width: 100%;\n "}),(function(e){return e.width&&"\n width: ".concat(e.width,"px;\n ")})),v=u.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-11d4rgl-0"})([""," "," height:100%;overflow:auto;position:absolute;",""],p,f.w5,(function(e){return"\n background-color: ".concat((e.theme.background||d.Z.background).codeTextarea,";\n ")})),m=u.default.div.withConfig({displayName:"indexstyle__InnerStyle",componentId:"sc-11d4rgl-1"})([""," padding:","px;"],p,h.cd*h.iI),g=(u.default.div.withConfig({displayName:"indexstyle__LineStyle",componentId:"sc-11d4rgl-2"})(["height:","px;"],20),(0,u.css)(["@keyframes cursor-blink{0%{opacity:0;}}::before{","}::after{","}"],(function(e){return e.focusBeginning&&"\n position: absolute;\n background-color: ".concat((e.theme.accent||d.Z.accent).warning,';\n content: "";\n display: inline-block;\n height: ').concat(20,"px;\n width: ").concat(h.iI,"px;\n opacity: 0.3;\n ")}),(function(e){return e.focused&&"\n background-color: ".concat((e.theme.accent||d.Z.accent).warning,';\n content: "";\n display: inline-block;\n height: ').concat(20,"px;\n width: ").concat(h.iI,"px;\n opacity: 0.3;\n ")}))),x=u.default.div.withConfig({displayName:"indexstyle__InputStyle",componentId:"sc-11d4rgl-3"})(["align-items:center;display:flex;gap:2px;",""],g),b=u.default.span.withConfig({displayName:"indexstyle__CharacterStyle",componentId:"sc-11d4rgl-4"})([""," ::after{","}"],g,(function(e){return e.focused&&"\n position: absolute;\n "})),j=t(48339),y=t(39643),w=t(11498),Z=t(42041),k=t(95924),C=t(44688),O=t(28598);function P(e,n){var t="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"===typeof e)return _(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return _(e,n)}(e))||n&&e&&"number"===typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==t.return||t.return()}finally{if(l)throw o}}}}function _(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function M(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function F(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?M(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):M(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var S=function(e){var n=e.lastMessage,t=e.onFocus,r=e.sendMessage,i=e.uuid,u=void 0===i?"terminal":i,d=e.width,h=(0,c.useRef)(null),f=(0,c.useRef)(null),p=(0,c.useState)(""),g=p[0],_=p[1],M=(0,c.useState)(0),S=M[0],z=M[1],D=(0,c.useState)(0),I=D[0],H=D[1],E=(0,c.useState)([]),T=E[0],L=E[1],A=(0,c.useState)(!1),N=A[0],U=A[1],B=(0,c.useState)(),R=B[0],G=B[1],q=(0,c.useMemo)((function(){return new l.Z}),[]),X=(0,c.useMemo)((function(){return{api_key:w.lG,token:q.decodedToken.token}}),[q]);(0,c.useEffect)((function(){if(n){var e=JSON.parse(n.data);G((function(n){var t=n||"";return"stdout"===e[0]?t+e[1]:t}))}}),[n]);var Y=(0,c.useMemo)((function(){return R?R.split("\n").filter((function(e){return!e.includes("# Mage terminal settings command")})).map((function(e){return{data:e,type:j.Gi.TEXT}})):[]}),[R]);(0,c.useEffect)((function(){if(h.current&&f.current){var e=f.current.getBoundingClientRect().height;h.current.scrollTo(0,e)}}),[g,Y,h,f]);var W=(0,C.y)(),V=W.registerOnKeyDown,J=W.setDisableGlobalKeyboardShortcuts,Q=W.unregisterOnKeyDown;(0,c.useEffect)((function(){return function(){Q(u)}}),[Q,u]);var K=(0,c.useCallback)((function(){H((function(e){return e>0?e-1:e}))}),[]),$=(0,c.useCallback)((function(){H((function(e){return e<g.length?e+1:e}))}),[g]),ee=(0,c.useCallback)((function(e){r(JSON.stringify(F(F({},X),{},{command:["stdin",e]}))),r(JSON.stringify(F(F({},X),{},{command:["stdin","\r"]}))),(null===e||void 0===e?void 0:e.length)>=2&&(z(T.length+1),L((function(n){return n.concat(e)})),H(0)),_("")}),[T,r,_,L,z,H]),ne=(0,c.useCallback)((function(e){var n=(null===e||void 0===e?void 0:e.split(/\n/))||[];if(n.length>1){var t=n.slice(0,-1);ee(g+t.join("\n"));var r=(n.slice(-1)[0]||"").trim();_(r),H(r.length)}else _((function(n){return n+e})),H(g.length+e.length)}),[g,ee,_,H]);V(u,(function(e,n,t){var i=e.code,o=e.key;if(N)if((0,k.j)(e),(0,Z.y)([y.PQ,y.VS],n))(null===g||void 0===g?void 0:g.length)>=0&&(r(JSON.stringify(F(F({},X),{},{command:["stdin",g]}))),r(JSON.stringify(F(F({},X),{},{command:["stdin","\x03"]}))),H(0)),_("");else if(y.Qj!==i||n[y.zX])if((0,Z.y)([y.QK],n))K();else if((0,Z.y)([y.DY],n))$();else if((0,Z.y)([y.Bu],n)){if(T.length>=1){var c,l=Math.max(0,S-1);_(T[l]),z(l),H((null===(c=T[l])||void 0===c?void 0:c.length)||0)}}else if((0,Z.y)([y.kD],n)){if(T.length>=1){var a=Math.min(T.length,S+1),s=T[a]||"";_(s),z(a),H(s.length)}}else if((0,Z.y)([y.Uq],n))ee(g);else if((0,Z.y)([y.zX,y.VS],n))navigator.clipboard.writeText(window.getSelection().toString());else if((0,Z.y)([y.zX,y.Pd],n)||(0,Z.y)([y.PQ,y.Pd],n)){var u,d,h,f,p;"undefined"===typeof(null===(u=navigator)||void 0===u?void 0:u.clipboard)?alert('Clipboard pasting is not allowed in insecure contexts. If your Mage deployment is not secure but you still want to use clipboard paste, you can override this setting (which should only be done temporarily) on Chrome browsers by going to "chrome://flags/#unsafely-treat-insecure-origin-as-secure", adding your origin to "Insecure origins treated as secure", and enabling that setting.'):null!==(d=navigator)&&void 0!==d&&null!==(h=d.clipboard)&&void 0!==h&&h.readText?navigator.clipboard.readText().then(ne).catch((function(e){return alert("".concat(e,'\n For Chrome, users need to allow clipboard permissions for this site under "Privacy and security" -> "Site settings".\n For Safari, users need to allow the clipboard paste by clicking "Paste" in the context menu that appears.'))})):null!==(f=navigator)&&void 0!==f&&null!==(p=f.clipboard)&&void 0!==p&&p.read?navigator.clipboard.read().then((function(e){var n,t=P(e);try{for(t.s();!(n=t.n()).done;){var r,i=n.value,o=P(i.types);try{for(o.s();!(r=o.n()).done;){var c=r.value;if("text/plain"===c)return i.getType(c)}}catch(l){o.e(l)}finally{o.f()}}}catch(l){t.e(l)}finally{t.f()}})).then((function(e){return e.text()})).then(ne).catch((function(e){return alert("".concat(e,'\n For Firefox, users need to allow clipboard paste by setting the "dom.events.asyncClipboard.read" preference in "about:config" to "true" and clicking "Paste" in the context menu that appears.'))})):alert('If pasting is not working properly, you may need to adjust some settings in your browser.\n\n For Firefox, users need to allow clipboard paste by setting both the "dom.events.asyncClipboard.clipboardItem" and "dom.events.asyncClipboard.read" preferences in "about:config" to "true" and clicking "Paste" in the context menu that appears.\n For Chrome, users need to allow clipboard permissions for this site under "Privacy and security" -> "Site settings".\n For Safari, users need to allow the clipboard paste by clicking "Paste" in the context menu that appears.\n')}else n[y.zX]||n[y.PQ]||1!==o.length||(_((function(e){return e.slice(0,I)+o+e.slice(I)})),H((function(e){return e+1})));else{var v=Math.max(0,I-1);_((function(e){return e.slice(0,v)+e.slice(I)})),H((function(e){return Math.max(0,e-1)}))}}),[g,T,S,N,_,L,z,u]);var te=(0,c.useMemo)((function(){var e;return null===(e=Y[Y.length-1])||void 0===e?void 0:e.data}),[Y]);return(0,O.jsx)(v,{ref:h,width:d,children:(0,O.jsx)(a.Z,{isOpen:!0,onClick:function(){null===t||void 0===t||t(),U(!0),J(!0)},onClickOutside:function(){U(!1),J(!1)},style:{minHeight:"100%"},children:(0,O.jsxs)(m,{ref:f,width:d,children:[null===Y||void 0===Y?void 0:Y.reduce((function(e,n,t){if(t==Y.length-1)return e;var r=n||{},i=r.command,c=r.data,l=r.type,a=[];a=(a=Array.isArray(c)?c:[c]).filter((function(e){return e}));var u=[];return a.forEach((function(e,n){var r;if(j.jU.includes(l)&&(r=(0,O.jsx)(s.ZP,{monospace:!0,preWrap:!0,children:e&&(0,O.jsx)(o(),{children:e})})),r){var c="command-".concat(t,"-").concat(n,"-").concat(e);i||u.push((0,O.jsx)("div",{children:r},c))}})),e.concat(u)}),[]),(0,O.jsx)(x,{focused:N&&0===(null===g||void 0===g?void 0:g.length),children:(0,O.jsxs)(s.ZP,{monospace:!0,children:[(0,O.jsx)(s.ZP,{inline:!0,monospace:!0,children:te&&(0,O.jsx)(o(),{children:te})}),null===g||void 0===g?void 0:g.split("").map((function(e,n,t){return(0,O.jsxs)(b,{focusBeginning:N&&0===I&&0===n,focused:N&&(I===n+1||I>=t.length&&n===t.length-1),children:[" "===e&&(0,O.jsx)(O.Fragment,{children:"\xa0"}),"\n"===e&&(0,O.jsx)("br",{})," "!==e&&e]},"command-".concat(n,"-").concat(e))}))]})})]})})})}},31353:function(e,n,t){t.d(n,{Mz:function(){return a},T5:function(){return u},bf:function(){return s}});var r,i=t(82394),o=t(72473),c=t(89370),l=t(70515),a=7*l.iI,s=22,u=(l.iI,l.iI,r={},(0,i.Z)(r,c.RL.CATEGORY,o.WD),(0,i.Z)(r,c.RL.CATEGORY_HIGH_CARDINALITY,o.Rj),(0,i.Z)(r,c.RL.DATETIME,o.aw),(0,i.Z)(r,c.RL.EMAIL,o.GT),(0,i.Z)(r,c.RL.LIST,o.aV),(0,i.Z)(r,c.RL.NUMBER,o.qZ),(0,i.Z)(r,c.RL.NUMBER_WITH_DECIMALS,o.As),(0,i.Z)(r,c.RL.PHONE_NUMBER,o.LP),(0,i.Z)(r,c.RL.TEXT,o.KJ),(0,i.Z)(r,c.RL.TRUE_OR_FALSE,o.Kb),(0,i.Z)(r,c.RL.UUID,o.SS),(0,i.Z)(r,c.RL.ZIP_CODE,o.$t),r)},70320:function(e,n,t){t.d(n,{EB:function(){return c},hY:function(){return a},qB:function(){return l}});var r=t(72191),i=t(78419),o=t(53808),c={block:!0,description:"Display dates in local timezone. Please note that certain pages (e.g. Monitor page) or components (e.g. Pipeline run bar charts) may still be in UTC time. Dates in local time will have a timezone offset in the timestamp (e.g. -07:00).",lightBackground:!0,muted:!0,size:r._k};function l(){return(0,o.U2)(i.am,null)||!1}function a(e){return"undefined"!==typeof e&&(0,o.t8)(i.am,e),e}},31557:function(e,n,t){t.d(n,{Z:function(){return Ae}});var r=t(21831),i=t(75582),o=t(12691),c=t.n(o),l=t(38626),a=t(82684),s=t(69864),u=t(34376),d=t(40761),h=t(54750),f=t(71180),p=t(39867),v=t(50724),m=t(58036),g=t(97618),x=t(55485),b=t(70374),j=t(82394),y=t(56085),w=t(70652),Z=t(44085),k=t(38276),C=t(4190),O=t(28026),P=t(30160),_=t(35576),M=t(17488),F=t(69650),S=t(35686),z=t(72473),D=t(44897),I=t(42631),H=t(31353),E=t(47041),T=t(70515),L=l.default.div.withConfig({displayName:"GitActionsstyle__HeaderStyle",componentId:"sc-ynrhio-0"})(["border-bottom:1px solid #1B1C20;height:","px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;"],H.Mz),A=l.default.div.withConfig({displayName:"GitActionsstyle__TerminalStyle",componentId:"sc-ynrhio-1"})(["height:calc(75vh - ","px);position:relative;"],H.Mz),N=l.default.div.withConfig({displayName:"GitActionsstyle__PanelStyle",componentId:"sc-ynrhio-2"})(["height:75vh;min-height:300px;width:75vw;backgroundColor:#232429;border-radius:","px;",""],I.n_,(function(e){return"\n background-color: ".concat((e.theme.background||D.Z.background).panel,";\n ")})),U=l.default.div.withConfig({displayName:"GitActionsstyle__OutputStyle",componentId:"sc-ynrhio-3"})([""," padding:","px;height:calc(75vh - ","px);overflow-y:auto;"],E.w5,2*T.iI,H.Mz),B=t(4383),R=t(72619),G=t(86735),q=t(50178),X=t(28598);function Y(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Y(Object(t),!0).forEach((function(n){(0,j.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Y(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var V={clone:"Clone repository",new_branch:"Create new branch",commit:"Commit & push",pull:"Pull",reset_hard:"Hard reset"};var J=function(e){var n,t=e.branch,r=(e.fetchBranch,(0,a.useState)()),o=r[0],c=r[1],l=(0,a.useState)(),u=l[0],d=l[1],h=(0,a.useState)(),p=h[0],v=h[1],m=(0,a.useState)(),g=m[0],b=m[1],j=(0,a.useState)(),D=j[0],I=j[1],H=(0,a.useState)(),E=H[0],T=H[1],Y=S.ZP.git_custom_branches.list(),J=Y.data,Q=Y.mutate,K=(0,a.useMemo)((function(){return null===J||void 0===J?void 0:J.git_custom_branches}),[J]),$=S.ZP.syncs.list().data,ee=(0,a.useMemo)((function(){var e;if($)return null===(e=$.syncs)||void 0===e?void 0:e[0]}),[$]),ne=(0,s.Db)(S.ZP.git_branches.useCreate(),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){Q(),window.location.reload()},onErrorCallback:function(e){var n=e.error.exception;I(n)}})}}),te=(0,i.Z)(ne,2),re=te[0],ie=te[1].isLoading,oe=(0,s.Db)((function(){return S.ZP.git_branches.useUpdate(t)({git_branch:{action_type:"status"}})}),{onSuccess:function(e){return(0,R.wD)(e,{onErrorCallback:function(e){var n=e.error.exception;I(n)}})}}),ce=(0,i.Z)(oe,1)[0],le=(0,s.Db)(S.ZP.git_branches.useUpdate(t),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){I(null),b("DONE")},onErrorCallback:function(e){var n=e.error.exception;I(n)}})}}),ae=(0,i.Z)(le,2),se=ae[0],ue=ae[1].isLoading,de=(0,s.Db)(S.ZP.git_branches.useUpdate(t),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){I(null),window.location.reload()},onErrorCallback:function(e){var n=e.error.exception;I(n)}})}}),he=(0,i.Z)(de,2),fe=he[0],pe=he[1].isLoading,ve=(0,a.useState)(),me=ve[0],ge=ve[1],xe=(0,a.useState)([]),be=xe[0],je=xe[1],ye=(0,a.useState)([]),we=ye[0],Ze=ye[1],ke=(0,a.useCallback)((function(){ce().then((function(e){var n=e.data,t=null===n||void 0===n?void 0:n.git_branch,r=null===t||void 0===t?void 0:t.status,i=null===t||void 0===t?void 0:t.modified_files,o=null===t||void 0===t?void 0:t.untracked_files;ge(r),je(o),Ze(i)}))}),[ce]),Ce=(0,a.useMemo)((function(){return ie||ue||pe}),[ie,ue,pe]);(0,a.useEffect)((function(){return ke()}),[p,ke]);var Oe=(0,a.useMemo)((function(){return(0,q.PR)()||{}}),[]),Pe=(0,a.useMemo)((function(){var e={term_name:null!==Oe&&void 0!==Oe&&Oe.id?"git_".concat(null===Oe||void 0===Oe?void 0:Oe.id):"git"};return null!==ee&&void 0!==ee&&ee.repo_path&&(e.cwd=null===ee||void 0===ee?void 0:ee.repo_path),e}),[null===ee||void 0===ee?void 0:ee.repo_path,Oe]),_e=(0,y.ZP)((0,B.Ib)("terminal"),{shouldReconnect:function(){return!0}},"cwd"in Pe),Me=_e.lastMessage,Fe=_e.sendMessage,Se=(0,a.useCallback)((function(e){return(0,X.jsx)(w.Z,{checked:((null===o||void 0===o?void 0:o.files)||[]).includes(e),label:(0,X.jsx)(P.ZP,{small:!0,children:e}),onClick:function(){c((function(n){var t=(null===n||void 0===n?void 0:n.files)||[];return t=t.includes(e)?(0,G.Od)(t,(function(n){return n===e})):[e].concat(t),W(W({},n),{},{files:t})}))},small:!0},e)}),[o]),ze=(0,a.useMemo)((function(){return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(f.ZP,{onClick:function(){return c((function(e){return W(W({},e),{},{files:we.concat(be)})}))},children:"Include all changes"}),we&&we.length>0&&(0,X.jsxs)(k.Z,{mb:1,children:[(0,X.jsx)(k.Z,{my:1,children:(0,X.jsx)(P.ZP,{children:"Modified files"})}),we.map(Se)]}),be&&be.length>0&&(0,X.jsxs)(k.Z,{mb:1,children:[(0,X.jsx)(k.Z,{my:1,children:(0,X.jsx)(P.ZP,{children:"Untracked files"})}),be.map(Se)]})]})}),[Se,we,be]),De=(0,a.useMemo)((function(){return(0,X.jsx)(k.Z,{p:2,children:Ce?(0,X.jsx)(C.Z,{color:"white"}):(0,X.jsxs)(X.Fragment,{children:["commit"===p&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(_.Z,{compact:!0,fullWidth:!0,label:"Commit message",monospace:!0,onChange:function(e){return c((function(n){return W(W({},n),{},{message:e.target.value})}))},required:!0,value:null===o||void 0===o?void 0:o.message}),(0,X.jsx)(k.Z,{mt:1}),(0,X.jsxs)(x.ZP,{children:[(0,X.jsx)(f.ZP,{borderLess:!0,onClick:function(){se({git_branch:W({action_type:"commit"},o)}).then((function(){ke(),c(null)}))},success:!0,children:"Commit"}),(0,X.jsx)(k.Z,{mr:1}),(0,X.jsx)(f.ZP,{borderLess:!0,onClick:function(){se({git_branch:{action_type:"push"}})},primary:!0,children:"Push"})]})]}),"new_branch"===p&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(M.Z,{compact:!0,fullWidth:!0,label:"Branch name",monospace:!0,onChange:function(e){return c({name:e.target.value})},value:null===o||void 0===o?void 0:o.name}),(0,X.jsx)(k.Z,{mt:1}),(0,X.jsx)(f.ZP,{borderLess:!0,onClick:function(){re({git_branch:o})},primary:!0,children:"Create"})]}),"clone"===p&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(P.ZP,{children:["Clone from ",(0,X.jsx)(P.ZP,{default:!0,inline:!0,children:null===ee||void 0===ee?void 0:ee.remote_repo_link})," to ",(0,X.jsx)(P.ZP,{default:!0,inline:!0,children:null===ee||void 0===ee?void 0:ee.repo_path}),". This ",(0,X.jsx)(P.ZP,{danger:!0,inline:!0,children:"will overwrite"})," any existing data in the local repository."]}),(0,X.jsx)(k.Z,{mt:1}),(0,X.jsx)(f.ZP,{borderLess:!0,onClick:function(){fe({git_branch:{action_type:"clone"}})},primary:!0,children:"Clone"})]}),"pull"===p&&(0,X.jsx)(f.ZP,{borderLess:!0,onClick:function(){fe({git_branch:{action_type:"pull"}})},primary:!0,children:"Pull"}),"reset_hard"===p&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(k.Z,{mb:1,children:(0,X.jsx)(P.ZP,{children:u||"This will reset your local branch to match the remote branch."})}),u?(0,X.jsx)(f.ZP,{borderLess:!0,onClick:function(){d(null),fe({git_branch:{action_type:"reset"}})},warning:!0,children:"Confirm"}):(0,X.jsx)(f.ZP,{borderLess:!0,onClick:function(){return d("Are you sure you want to reset your branch? Your local changes may be erased.")},primary:!0,children:"Reset branch"})]}),(0,X.jsx)(k.Z,{mt:1,children:!Ce&&(0,X.jsxs)(X.Fragment,{children:[!D&&g&&(0,X.jsx)(P.ZP,{children:g}),D&&(0,X.jsx)(P.ZP,{preWrap:!0,danger:!0,children:D})]})})]})})}),[Ce,p,D,ee,g,o,u,me]),Ie=(0,a.useMemo)((function(){return(0,X.jsx)(O.Z,{lastMessage:Me,sendMessage:Fe})}),[Me,Fe]);return(0,X.jsxs)(N,{children:[(0,X.jsxs)(L,{children:[(0,X.jsx)(k.Z,{m:2,children:(0,X.jsxs)(x.ZP,{children:[(0,X.jsx)(Z.Z,{beforeIcon:(0,X.jsx)(z.I0,{}),compact:!0,onChange:function(e){e.preventDefault(),re({git_branch:{name:e.target.value}})},placeholder:"Select a branch",value:t,children:null===K||void 0===K?void 0:K.map((function(e){var n=e.name;return(0,X.jsx)("option",{value:n,children:n},n)}))},"select_branch"),(0,X.jsx)(k.Z,{ml:2}),(0,X.jsxs)(Z.Z,{compact:!0,onChange:function(e){e.preventDefault(),v(e.target.value),T(!1),b(null),c(null)},value:p,children:[(0,X.jsx)("option",{value:"",children:"Select an action"}),Object.entries(V).map((function(e){var n=(0,i.Z)(e,2),t=n[0],r=n[1];return(0,X.jsx)("option",{value:t,children:r},t)}))]},"select_git_action")]})}),(0,X.jsx)(k.Z,{m:2,children:(0,X.jsxs)(x.ZP,{alignItems:"center",children:[(0,X.jsx)(P.ZP,{children:"UI"}),(0,X.jsx)(k.Z,{ml:1}),(0,X.jsx)(F.Z,{checked:!!E,monotone:!0,onCheck:function(){return T((function(e){return!e}))}}),(0,X.jsx)(k.Z,{ml:1}),(0,X.jsx)(P.ZP,{children:"Terminal"})]})})]}),(0,X.jsxs)(x.ZP,{children:[(0,X.jsx)("div",{style:{width:"50%"},children:(0,X.jsx)(U,{children:"commit"===p?ze:(0,X.jsx)(X.Fragment,{children:null===me||void 0===me||null===(n=me.split("\\n"))||void 0===n?void 0:n.map((function(e){return(0,X.jsx)(P.ZP,{monospace:!0,preWrap:!0,small:!0,children:e},e)}))})})}),(0,X.jsx)("div",{style:{width:"50%"},children:E?(0,X.jsx)(A,{children:Ie}):De})]})]})},Q=t(65186),K=t(93369),$=t(48670),ee=t(63637),ne=t(89515),te=t(26304),re="12px 20px",ie="1px",oe=(0,l.default)(f.ZP).withConfig({displayName:"indexstyle__ButtonStyle",componentId:"sc-hssntx-0"})(["",";"],(function(e){return e.active&&"\n background-color: ".concat((e.theme.background||D.Z.background).dashboard,";\n ")})),ce=l.default.div.withConfig({displayName:"indexstyle__DropdownContainerStyle",componentId:"sc-hssntx-1"})(["position:absolute;top:",";right:0;width:","px;display:flex;flex-direction:column;gap:",";overflow:hidden;background-color:",";border-radius:","px;border:1px solid ",";"],(function(e){return e.top||0}),45*T.iI,ie,(function(e){return(e.theme.borders||D.Z.borders).darkLight}),I.n_,(function(e){return(e.theme.borders||D.Z.borders).darkLight})),le=l.default.div.withConfig({displayName:"indexstyle__DropdownHeaderStyle",componentId:"sc-hssntx-2"})(["padding:",";background-color:",";"],re,(function(e){return(e.theme.background||D.Z.background).panel})),ae=l.default.div.withConfig({displayName:"indexstyle__TimeListContainerStyle",componentId:"sc-hssntx-3"})(["height:","px;display:flex;gap:",";"],20*T.iI,ie),se=l.default.div.withConfig({displayName:"indexstyle__TimeColumnStyle",componentId:"sc-hssntx-4"})(["display:flex;flex-direction:column;align-items:center;flex:1;gap:",";"],ie),ue=l.default.div.withConfig({displayName:"indexstyle__DropdownCellStyle",componentId:"sc-hssntx-5"})(["width:100%;padding:",";display:flex;flex-direction:",";flex-grow:",";justify-content:center;align-items:center;background-color:",";"],re,(function(e){return e.flexDirection||"unset"}),(function(e){return e.flexGrow||"unset"}),(function(e){return(e.theme.background||D.Z.background).dashboard})),de=l.default.div.withConfig({displayName:"indexstyle__ToggleGroupStyle",componentId:"sc-hssntx-6"})(["display:flex;flex-direction:column;"]),he=(0,l.default)(ue).withConfig({displayName:"indexstyle__ToggleDropdownCellStyle",componentId:"sc-hssntx-7"})(["justify-content:flex-start;gap:12px;padding-right:","px;"],1.25*T.iI),fe=["active","mountedCallback","time","timeZone"];function pe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ve(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?pe(Object(t),!0).forEach((function(n){(0,j.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pe(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function me(e){var n=e.active,t=e.mountedCallback,r=e.time,i=e.timeZone,o=(0,te.Z)(e,fe),c=(0,a.useRef)(null);return(0,a.useEffect)((function(){null!==c&&void 0!==c&&c.current&&t(c.current.offsetHeight)}),[t]),(0,X.jsx)(oe,ve(ve({},o),{},{active:n,borderLess:!0,borderRadius:"".concat(I.BG,"px"),compact:!0,highlightOnHoverAlt:!0,ref:c,transparent:!0,children:(0,X.jsx)(P.ZP,{inline:!0,monospace:!0,small:!0,children:"".concat(r," ").concat(i)})}))}var ge=(0,a.memo)(me),xe=t(12468),be=t(63055),je=t(82359),ye=t(72191),we=t(70320),Ze=t(79633),ke=t(3917),Ce=t(78419),Oe=t(53808);var Pe=t(23780);function _e(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Me(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?_e(Object(t),!0).forEach((function(n){(0,j.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_e(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Fe=[ke.Oh.UTC,ke.Oh.LOCAL];var Se=function(e){var n=e.projectName,t=(0,a.useState)((0,we.qB)()),r=t[0],o=t[1],c=(0,a.useState)((0,Oe.U2)(Ce.kL,!1)),l=c[0],u=c[1],d=(0,a.useState)(!1),h=d[0],f=d[1],p=(0,a.useState)((0,ke.e)({includeSeconds:!0,timeZones:Fe})),m=p[0],g=p[1],x=(0,a.useState)(0),b=x[0],y=x[1],w=r?ke.Oh.LOCAL:ke.Oh.UTC,Z=window.innerWidth<be.nc,k=(0,Pe.VI)(null,{},[],{uuid:"components/ServerTimeDropdown"}),C=(0,i.Z)(k,1)[0],O=(0,s.Db)(S.ZP.projects.useUpdate(n),{onSuccess:function(e){return(0,R.wD)(e,{onErrorCallback:function(e,n){return C({errors:n,response:e})}})}}),_=(0,i.Z)(O,1)[0],M=(0,a.useCallback)((function(){f((function(e){return!e}))}),[]),z=(0,a.useCallback)((function(e){y(e)}),[]),D=(0,a.useCallback)((function(){var e=(0,ke.e)({includeSeconds:l,timeZones:Fe});g((function(n){return n.size===e.size&&n.get(ke.Oh.UTC)===e.get(ke.Oh.UTC)?n:e}))}),[l]),I=[{checked:r,label:"Display local timezone (requires refresh)",onCheck:function(){var e=!r;o((0,we.hY)(e)),_({project:{features:(0,j.Z)({},je.d.LOCAL_TIMEZONE,e)}})},uuid:je.d.LOCAL_TIMEZONE},{checked:l,label:"Include seconds in current time",onCheck:function(){var e;u((e=!l,(0,Oe.uN)(Ce.kL,e)))},uuid:"current_time_seconds"}];return(0,a.useEffect)((function(){var e=setInterval((function(){D()}),1e3);return function(){return clearInterval(e)}}),[D]),(0,a.useEffect)((function(){D()}),[l,D]),m?(0,X.jsx)(v.Z,{onClickOutside:function(){return f(!1)},open:!0,children:(0,X.jsxs)("div",{style:{position:"relative"},children:[(0,X.jsx)(ge,{active:h,disabled:Z,mountedCallback:z,onClick:M,time:m.get(w),timeZone:(0,ke.WT)(w)}),!Z&&h&&(0,X.jsxs)(ce,{top:b,children:[(0,X.jsx)(le,{children:(0,X.jsx)(P.ZP,{bold:!0,muted:!0,uppercase:!0,children:"Current Time"})}),(0,X.jsx)(ae,{children:Fe.map((function(e){return(0,X.jsxs)(se,{children:[(0,X.jsx)(ue,{children:(0,X.jsx)(P.ZP,{bold:!0,center:!0,muted:!0,uppercase:!0,children:"".concat(e).concat(e===ke.Oh.LOCAL?" - ".concat((0,ke.WT)(e)):"")})}),(0,X.jsxs)(ue,{flexDirection:"column",flexGrow:3,children:[(0,X.jsx)(P.ZP,{bold:!0,center:!0,color:Ze.J$,largeLg:!0,children:m.get(e)}),(0,X.jsx)(P.ZP,{center:!0,muted:!0,small:!0,children:e===ke.Oh.UTC?"Universal Time":ke.mi[e]})]})]},e)}))}),(0,X.jsx)(de,{children:I.map((function(e){return(0,X.jsxs)(he,{children:[(0,X.jsx)(F.Z,{checked:e.checked,compact:!0,onCheck:e.onCheck,purpleBackground:!0}),(0,X.jsx)(P.ZP,{children:e.label}),e.uuid===je.d.LOCAL_TIMEZONE&&(0,X.jsx)(xe.Z,Me(Me({},we.EB),{},{appearAbove:!0,appearBefore:!0,size:ye.bL}))]},e.label)}))})]})]})}):null},ze=t(58401),De=t(77417),Ie=t(46684),He=l.default.div.withConfig({displayName:"indexstyle__LinkStyle",componentId:"sc-y3uzxv-0"})(["padding:","px ","px;&:hover{cursor:pointer;","}",""],.5*T.iI,1.5*T.iI,(function(e){return"\n background-color: ".concat((e.theme.interactive||D.Z.interactive).hoverBackground,";\n ")}),(function(e){return e.highlighted&&"\n background-color: ".concat((e.theme.interactive||D.Z.interactive).hoverBackground,";\n ")})),Ee=t(95363),Te=t(69419),Le=t(89538);var Ae=function(e){var n,t=e.breadcrumbs,o=e.menuItems,j=e.project,y=e.version,w=(0,Pe.VI)(null,{},[],{uuid:"shared/Header"}),Z=(0,i.Z)(w,1)[0],C=(0,a.useContext)(l.ThemeContext),O=(0,q.PR)(),_=(0,a.useState)(!1),M=_[0],F=_[1],D=(0,a.useState)(null),I=D[0],H=D[1],E=(0,a.useState)(!1),L=E[0],A=E[1],N=(0,a.useState)(null),U=N[0],B=N[1],G=(0,a.useRef)(null),Y=(0,a.useRef)(null),W=(0,u.useRouter)(),V=d.Z.isLoggedIn(),te=S.ZP.git_branches.detail("test",{_format:"with_basic_details"},{revalidateOnFocus:!1},{pauseFetch:(0,q.YB)()&&!V}),re=te.data,ie=te.mutate,oe=(0,a.useMemo)((function(){return(null===re||void 0===re?void 0:re.git_branch)||{}}),[re]),ce=oe.is_git_integration_enabled,le=oe.name,ae=(0,ze.Z)().design,se=(0,De.Z)(),ue=se.project,de=se.rootProject,he=(0,a.useMemo)((function(){return j||ue}),[ue,j]),fe=(0,a.useMemo)((function(){return y||(null===he||void 0===he?void 0:he.version)}),[he,y]),pe=(0,s.Db)(S.ZP.projects.useUpdate(null===he||void 0===he?void 0:he.name),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){window.location.reload()},onErrorCallback:function(e,n){return Z({errors:n,response:e})}})}}),ve=(0,i.Z)(pe,2),me=ve[0],ge=ve[1].isLoading,xe=[];if(de&&xe.push({label:function(){return null===de||void 0===de?void 0:de.name},linkProps:{href:"/"}}),he){var be={label:function(){return null===he||void 0===he?void 0:he.name}};de?(be.loading=ge,be.options=Object.keys((null===de||void 0===de?void 0:de.projects)||{}).map((function(e){return{onClick:function(){me({project:{activate_project:e}})},selected:e===(null===he||void 0===he?void 0:he.name),uuid:e}}))):be.linkProps={href:"/"},xe.push(be)}var je=(0,a.useMemo)((function(){return[].concat(xe,(0,r.Z)(t||[]))}),[xe,t,he]),ye=W.query.pipeline,we=(he||{}).latest_version,ke=(0,a.useState)(null),Ce=ke[0],Oe=ke[1],_e=((0,a.useMemo)((function(){var e,n,t=null===ae||void 0===ae||null===(e=ae.components)||void 0===e||null===(n=e.header)||void 0===n?void 0:n.media,r=new Image;return r.src=(null===t||void 0===t?void 0:t.url)||(null===t||void 0===t?void 0:t.file_path),r.onload=function(){Oe(r)},r}),[ae,Oe]),(0,a.useMemo)((function(){var e,n,t=Ie.y7,r=(0,X.jsx)(Q.Z,{height:Ie.y7});if(null!==ae&&void 0!==ae&&null!==(e=ae.components)&&void 0!==e&&null!==(n=e.header)&&void 0!==n&&n.media){var i,o,l=null===ae||void 0===ae||null===(i=ae.components)||void 0===i||null===(o=i.header)||void 0===o?void 0:o.media;if(null!==Ce){var a=((null===Ce||void 0===Ce?void 0:Ce.width)||1)/((null===Ce||void 0===Ce?void 0:Ce.height)||1);t=Ie.sQ,r=(0,X.jsx)(Ie.XD,{height:Ie.sQ,width:Ie.sQ*a,url:(null===l||void 0===l?void 0:l.url)||(null===l||void 0===l?void 0:l.file_path)})}}return(0,X.jsx)(c(),{as:"/",href:"/",passHref:!0,children:(0,X.jsx)($.Z,{block:!0,height:t,noHoverUnderline:!0,noOutline:!0,children:r})})}),[Ce,ae])),Me=[{label:function(){return"Settings"},linkProps:{href:"/settings/workspace/preferences"},uuid:"user_settings"}];(0,q.YB)()&&Me.push({label:function(){return"Sign out"},onClick:function(){d.Z.logout((function(){S.ZP.sessions.updateAsync(null,1).then((function(){(0,Te.nL)("/sign-in")})).catch((function(){(0,Te.nL)("/")}))}))},uuid:"sign_out"});var Fe=(0,Le.dd)((function(){return(0,X.jsx)(J,{branch:le,fetchBranch:ie})}),{},[le,ie],{background:!0,uuid:"git_actions"}),Ae=(0,i.Z)(Fe,2),Ne=Ae[0],Ue=(Ae[1],(0,a.useMemo)((function(){return(null===le||void 0===le?void 0:le.length)>=21?"".concat(le.slice(0,21),"..."):le}),[le])),Be=(0,a.useMemo)((function(){return!(!O||null===O||void 0===O||!O.avatar)&&!/[A-Za-z0-9]+/.exec((null===O||void 0===O?void 0:O.avatar)||"")}),[O]),Re=(0,a.useMemo)((function(){return!(!O||null===O||void 0===O||!O.avatar)&&!!/[A-Za-z0-9]+/.exec((null===O||void 0===O?void 0:O.avatar)||"")}),[O]),Ge=(0,a.useMemo)((function(){var e;if(!O||null===O||void 0===O||!O.avatar)return(0,X.jsx)(ee.Z,{});var n={color:null===C||void 0===C||null===(e=C.content)||void 0===e?void 0:e.active,fontFamily:Ee.v$};return Re?(n.fontSize=2*T.iI,n.lineHeight="".concat(2*T.iI,"px"),n.position="relative",n.top=1):n.fontSize=3*T.iI,(0,X.jsx)("div",{style:n,children:null===O||void 0===O?void 0:O.avatar})}),[Re,O]);return(0,X.jsx)(Ie.I5,{children:(0,X.jsx)(m.Z,{children:(0,X.jsxs)(x.ZP,{alignItems:"center",fullHeight:!0,justifyContent:"space-between",children:[(0,X.jsxs)(g.Z,{alignItems:"center",children:[_e,(0,X.jsx)(h.Z,{breadcrumbs:je})]}),(0,X.jsxs)(g.Z,{alignItems:"center",children:[ce&&le&&(0,X.jsx)(k.Z,{ml:1,children:(0,X.jsx)(K.ZP,{compact:!0,highlightOnHoverAlt:!0,noBackground:!0,noHoverUnderline:!0,onClick:Ne,sameColorAsText:!0,title:le,uuid:"Header/GitActions",children:(0,X.jsxs)(x.ZP,{alignItems:"center",children:[(0,X.jsx)(z.I0,{size:1.5*T.iI}),(0,X.jsx)(k.Z,{ml:1}),(0,X.jsx)(P.ZP,{monospace:!0,small:!0,children:Ue})]})})}),(0,X.jsx)(k.Z,{ml:1,children:(0,X.jsx)(Se,{projectName:null===he||void 0===he?void 0:he.name})}),fe&&"undefined"!==typeof fe&&(0,X.jsx)(k.Z,{ml:2,children:(0,X.jsx)($.Z,{href:"https://www.mage.ai/changelog",monospace:!0,openNewWindow:!0,sameColorAsText:!0,small:!0,children:"v".concat(fe)})}),we&&fe&&we!==fe&&(0,X.jsx)(k.Z,{ml:1,children:(0,X.jsx)(f.ZP,{backgroundColor:Ze.$R,borderLess:!0,compact:!0,linkProps:{href:"https://docs.mage.ai/about/releases"},noHoverUnderline:!0,pill:!0,sameColorAsText:!0,target:"_blank",title:"Update to version ".concat(we),children:(0,X.jsx)(P.ZP,{black:!0,bold:!0,children:"Update"})})}),(0,X.jsx)(k.Z,{ml:3,children:(0,X.jsx)(K.ZP,{beforeElement:(0,X.jsx)(z.jR,{}),compact:!0,highlightOnHoverAlt:!0,inline:!0,linkProps:{as:"https://www.mage.ai/chat",href:"https://www.mage.ai/chat"},noBackground:!0,noHoverUnderline:!0,openNewTab:!0,sameColorAsText:!0,uuid:"Header/live_chat",children:"Live help"})}),o&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(k.Z,{ml:2}),(0,X.jsx)(v.Z,{onClickOutside:function(){return H(null)},open:!0,style:{position:"relative"},children:(0,X.jsxs)(x.ZP,{children:[(0,X.jsx)(He,{highlighted:0===I,onClick:function(){return H((function(e){return 0===e?null:0}))},onMouseEnter:function(){return H((function(e){return null!==e?0:null}))},ref:G,children:(0,X.jsx)(P.ZP,{children:"Menu"})}),(0,X.jsx)(b.Z,{alternateBackground:!0,items:o,onClickCallback:function(){return H(null)},open:0===I,parentRef:G,rightOffset:0,setConfirmationAction:B,setConfirmationDialogueOpen:A,uuid:"PipelineDetail/Header/menu"})]})}),(0,X.jsx)(v.Z,{onClickOutside:function(){return A(!1)},open:L,children:(0,X.jsx)(ne.Z,{danger:!0,onCancel:function(){return A(!1)},onClick:U,right:16*T.iI,subtitle:"This is irreversible and will immediately delete everything associated with the pipeline, including its blocks, triggers, runs, logs, and history.",title:"Are you sure you want to delete the pipeline ".concat(ye,"?"),width:40*T.iI})})]}),(V||!(0,q.YB)())&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(k.Z,{ml:2}),(0,X.jsx)(v.Z,{onClickOutside:function(){return F(!1)},open:!0,style:{position:"relative"},children:(0,X.jsxs)(x.ZP,{alignItems:"center",flexDirection:"row",children:[(0,X.jsx)(He,{onClick:function(){return F(!0)},ref:Y,children:Be&&(null===O||void 0===O||null===(n=O.avatar)||void 0===n?void 0:n.length)>=2?Ge:(0,X.jsx)(p.Z,{color:Ze.Jm,size:4*T.iI,children:Ge})}),(0,X.jsx)(b.Z,{alternateBackground:!0,items:Me,onClickCallback:function(){return F(!1)},open:M,parentRef:Y,rightOffset:0,uuid:"shared/Header/user_menu"})]})})]})]})]})})})}},48339:function(e,n,t){var r,i;t.d(n,{Gi:function(){return i},jU:function(){return c},uF:function(){return r}}),function(e){e.BUSY="busy",e.IDLE="idle",e.QUEUED="queued"}(r||(r={})),function(e){e.IMAGE_PNG="image/png",e.PROGRESS="progress",e.TABLE="table",e.TEXT="text",e.TEXT_HTML="text/html",e.TEXT_PLAIN="text/plain"}(i||(i={}));var o,c=[i.TEXT,i.TEXT_PLAIN];!function(e){e.DISPLAY_DATA="display_data",e.STATUS="status",e.STREAM="stream",e.STREAM_PIPELINE="stream_pipeline"}(o||(o={}))},89515:function(e,n,t){t.d(n,{Z:function(){return m}});var r=t(71180),i=t(55485),o=t(38626),c=t(44897),l=t(42631),a=t(31353),s=t(70515),u=t(28598),d=o.default.div.withConfig({displayName:"PopupMenuContainer__ContainerStyle",componentId:"sc-lq9od4-0"})(["border-radius:","px;padding:","px;position:absolute;z-index:",";cursor:default;"," "," "," "," "," "," "," "," ",""],l.TR,2*s.iI,a.bf+100,(function(e){return"\n background-color: ".concat((e.theme.interactive||c.Z.interactive).defaultBackground,";\n box-shadow: ").concat((e.theme.shadow||c.Z.shadow).window,";\n ")}),(function(e){return"undefined"!==typeof e.left&&"\n left: ".concat(e.left,"px;\n ")}),(function(e){return"undefined"!==typeof e.right&&"\n right: ".concat(e.right,"px;\n ")}),(function(e){return"undefined"!==typeof e.top&&"\n top: ".concat(e.top,"px;\n ")}),(function(e){return"undefined"!==typeof e.bottom&&"\n bottom: ".concat(e.bottom,"px;\n ")}),(function(e){return"undefined"===typeof e.top&&"undefined"===typeof e.bottom&&"\n top: ".concat(a.Mz-1*s.iI,"px;\n ")}),(function(e){return e.centerOnScreen&&"\n top: 40%;\n left: 50%;\n transform: translate(-50%,-50%);\n "}),(function(e){return e.width&&"\n width: ".concat(e.width,"px;\n ")}),(function(e){return!e.width&&"\n min-width: ".concat(33*s.iI,"px;\n ")}));var h=function(e){var n=e.bottom,t=e.centerOnScreen,r=e.children,i=e.left,o=e.right,c=e.top,l=e.width;return(0,u.jsx)(d,{bottom:n,centerOnScreen:t,left:i,right:o,top:c,width:l,children:r})},f=t(38276),p=t(30160),v=32*s.iI;var m=function(e){var n=e.bottom,t=e.cancelText,o=e.centerOnScreen,c=e.confirmText,l=e.danger,a=e.left,s=e.isLoading,d=e.neutral,m=e.onCancel,g=e.onClick,x=e.right,b=e.subtitle,j=e.title,y=e.top,w=e.width;return(0,u.jsxs)(h,{bottom:n,centerOnScreen:o,left:a,right:x,top:y,width:w||v,children:[(0,u.jsxs)(i.ZP,{alignItems:"center",flexDirection:"column",children:[(0,u.jsx)(f.Z,{pb:1,children:(0,u.jsx)(p.ZP,{bold:!0,danger:l,large:!0,warning:!l,whiteSpaceNormal:!0,children:j})}),(0,u.jsx)(p.ZP,{small:!0,children:b})]}),(0,u.jsx)(f.Z,{mt:2,children:(0,u.jsxs)(i.ZP,{alignItems:"center",justifyContent:"center",children:[m&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r.ZP,{onClick:m,children:t||"Cancel"}),(0,u.jsx)(f.Z,{mr:1})]}),(0,u.jsx)(r.ZP,{loading:s,onClick:g,children:(0,u.jsx)(p.ZP,{bold:!0,danger:l,success:!l&&!d,children:c||"Confirm"})})]})})]})}},70652:function(e,n,t){var r=t(21831),i=t(82394),o=t(26304),c=(t(82684),t(38626)),l=t(55485),a=t(38276),s=t(30160),u=t(44897),d=t(72473),h=t(42631),f=t(70515),p=t(28598),v=["beforeIcon","checked","disabled","errorMessage","label","labelDescription","large","meta","monospace","onClick","required","small","warning","xsmall"];function m(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function g(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?m(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var x=c.default.div.withConfig({displayName:"Checkbox__CheckboxContainer",componentId:"sc-ujqx42-0"})(["display:inline-block;vertical-align:middle;cursor:pointer;"]),b=c.default.div.withConfig({displayName:"Checkbox__ErrorContainer",componentId:"sc-ujqx42-1"})(["margin-top:4px;"]),j=c.default.input.withConfig({displayName:"Checkbox__HiddenCheckbox",componentId:"sc-ujqx42-2"})(["border:0;clip:rect(0 0 0 0);clippath:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;",""],(function(e){return e.notClickable&&"\n background-color: ".concat((e.theme.content||u.Z.content).disabled,"\n border-color: ").concat((e.theme.content||u.Z.content).disabled,"\n\n &:hover {\n cursor: not-allowed;\n }\n ")})),y=c.default.div.withConfig({displayName:"Checkbox__StyledCheckbox",componentId:"sc-ujqx42-3"})(["border-radius:","px;height:","px;transition:all 150ms;width:","px;svg{position:relative;visibility:",";}"," "," "," "," input[disabled]{cursor:default;}"," ",""],.5*f.iI,2*f.iI,2*f.iI,(function(e){return e.checked||e.required?"visible":"hidden"}),(function(e){return e.large&&"\n svg {\n left: -4px;\n top: -8px;\n }\n "}),(function(e){return!e.checked&&"\n background-color: ".concat((e.theme.background||u.Z.background).popup,";\n border: ").concat(h.PV,"px ").concat(h.M8," ").concat((e.theme.content||u.Z.content).muted,";\n ")}),(function(e){return e.checked&&"\n background-color: ".concat((e.theme.interactive||u.Z.interactive).checked,";\n border: ").concat(h.YF,"px ").concat(h.M8," transparent;\n ")}),(function(e){return e.required&&"\n background-color: ".concat((e.theme.content||u.Z.content).disabled,";\n border: ").concat(h.YF,"px ").concat(h.M8," transparent;\n ")}),(function(e){return e.disabled&&"\n background-color: ".concat((e.theme.content||u.Z.content).disabled,";\n border-color: ").concat((e.theme.content||u.Z.content).disabled,";\n\n &:hover {\n cursor: not-allowed;\n }\n ")}),(function(e){return e.warning&&"\n background-color: ".concat((e.theme.accent||u.Z.accent).warning,";\n border-color: ").concat((e.theme.interactive||u.Z.interactive).defaultBorder,"\n ")})),w=c.default.label.withConfig({displayName:"Checkbox__LabelStyle",componentId:"sc-ujqx42-4"})(["-ms-flex-direction:column;align-items:center;display:flex;flex-direction:column;flex-direction:row;&:hover{cursor:pointer;}"]);n.Z=function(e){var n=e.beforeIcon,t=e.checked,i=e.disabled,c=e.errorMessage,u=e.label,h=e.labelDescription,m=e.large,Z=e.meta,k=e.monospace,C=void 0!==k&&k,O=e.onClick,P=e.required,_=e.small,M=void 0!==_&&_,F=e.warning,S=e.xsmall,z=void 0!==S&&S,D=(0,o.Z)(e,v),I=F||!!(c||Z&&Z.touched&&Z.error);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(w,{onClick:function(e){e.preventDefault(),O&&!i&&O(e)},children:[(0,p.jsxs)(x,{children:[(0,p.jsx)(j,g(g({},D),{},{disabled:i?"disabled":void 0,notClickable:i})),(0,p.jsx)(y,{checked:t,disabled:i,large:m,required:P,warning:I,children:(0,p.jsx)(d.Jr,{size:f.iI*(m?3:2)})})]}),n&&(0,p.jsx)(a.Z,{ml:1,children:(0,p.jsx)(l.ZP,{children:n})}),u&&(0,p.jsxs)(a.Z,{pl:1,children:["string"===typeof u&&(0,p.jsx)(s.ZP,{disabled:i,lineThrough:i,monospace:C,small:M,xsmall:z,children:u}),"string"!==typeof u&&u,h&&(0,p.jsx)(s.ZP,{muted:!0,small:!0,children:h})]})]}),(c||Z&&Z.touched&&Z.error)&&(0,p.jsx)(b,{children:(0,p.jsx)(s.ZP,{small:!0,warning:!0,children:c?(0,r.Z)(c):Z.error})})]})}},39867:function(e,n,t){var r=t(82394),i=t(26304),o=t(38626),c=t(97618),l=t(55485),a=t(44897),s=t(42631),u=t(70515),d=t(28598),h=["children"];function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var v=o.default.div.withConfig({displayName:"Circle__CircleStyle",componentId:"sc-1o70504-0"})([""," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",""],(function(e){return!e.square&&"\n border-radius: 50%;\n "}),(function(e){return e.square&&"\n border-radius: ".concat(e.size>=2*u.iI?s.BG:2,"px;\n ")}),(function(e){return!e.color&&!(e.borderSize||e.borderColor)&&"\n background-color: ".concat((e.theme.content||a.Z.content).muted,";\n ")}),(function(e){return!e.color&&e.primary&&"\n background-color: ".concat((e.theme.interactive||a.Z.interactive).linkPrimary,";\n ")}),(function(e){return!e.color&&e.primaryLight&&"\n background-color: ".concat((e.theme.interactive||a.Z.interactive).linkPrimaryLight,";\n ")}),(function(e){return e.success&&!e.borderSize&&"\n background-color: ".concat((e.theme.status||a.Z.status).positive,";\n ")}),(function(e){return e.warning&&!e.borderSize&&"\n background-color: ".concat((e.theme.accent||a.Z.accent).warning,";\n ")}),(function(e){return e.success&&e.borderSize&&"\n border-color: ".concat((e.theme.status||a.Z.status).positive," !important;\n ")}),(function(e){return e.warning&&e.borderSize&&"\n border-color: ".concat((e.theme.accent||a.Z.accent).warning," !important;\n ")}),(function(e){return e.borderSize&&"\n border-style: solid;\n border-width: ".concat(e.borderSize,"px;\n ")}),(function(e){return(e.borderSize||e.borderColor)&&"\n border: ".concat(e.borderSize||1,"px solid ").concat(e.borderColor||(e.theme.content||a.Z.content).active,";\n ")}),(function(e){return e.color&&"\n background-color: ".concat(e.color,";\n ")}),(function(e){return e.size&&"\n height: ".concat(e.size,"px;\n width: ").concat(e.size,"px;\n ")}),(function(e){return e.danger&&"\n background-color: ".concat((e.theme.borders||a.Z.borders).danger,";\n ")}),(function(e){return e.muted&&"\n border-color: ".concat((e.theme.content||a.Z.content).muted,";\n ")}),(function(e){return e.default&&"\n border-color: ".concat((e.theme.monotone||a.Z.monotone).gray,";\n ")}));n.Z=function(e){var n=e.children,t=(0,i.Z)(e,h);return(0,d.jsx)(v,p(p({},t),{},{children:(0,d.jsx)(l.ZP,{alignItems:"center",fullHeight:!0,fullWidth:!0,justifyContent:"center",children:n&&(0,d.jsx)(c.Z,{children:n})})}))}},35576:function(e,n,t){var r=t(82394),i=t(26304),o=t(82684),c=t(38626),l=t(28968),a=t(28598),s=["rows"];function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function d(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h=c.default.textarea.withConfig({displayName:"TextArea__TextInputStyle",componentId:"sc-112wx63-0"})(["",""],l.p),f=function(e,n){var t=e.rows,r=void 0===t?3:t,o=(0,i.Z)(e,s);return(0,a.jsx)(l.Z,d(d({},o),{},{input:(0,a.jsx)(h,d({rows:r},o)),ref:n}))};n.Z=o.forwardRef(f)},69650:function(e,n,t){var r=t(82394),i=t(26304),o=t(82684),c=t(38626),l=t(28968),a=t(44897),s=t(95924),u=t(28598),d=["checked","disabled","onCheck","pauseEvent"];function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?h(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var p=c.default.label.withConfig({displayName:"ToggleSwitch__ToggleSwitchStyle",componentId:"sc-179r5zs-0"})([""," position:relative;display:inline-block;width:","px;min-width:","px;height:","px;",' & input[type="checkbox"]{display:none;}& span{position:absolute;cursor:',";background-color:",";border-radius:13px;",';top:0;right:0;bottom:0;left:0;transition:background-color 0.2s ease;}& span::before{position:absolute;content:"";left:',"px;top:","px;width:","px;height:",'px;background-color:#787A85;border-radius:50%;transition:transform 0.3s ease;}& input[type="checkbox"]:checked + span::before{transform:',";}"," ",""],l.p,46,46,26,(function(e){return e.compact&&"\n width: ".concat(35,"px;\n min-width: ").concat(35,"px;\n height: ").concat(20,"px;\n ")}),(function(e){return e.disabled?"not-allowed":"pointer"}),(function(e){return e.disabled?a.Z.monotone.white:a.Z.monotone.black}),(function(e){return e.disabled&&"border: 1px solid ".concat(a.Z.monotone.grey200)}),(function(e){return e.compact?"1":"2"}),(function(e){return e.compact?"1":"2"}),(function(e){return e.compact?"18":"22"}),(function(e){return e.compact?"18":"22"}),(function(e){return e.compact?"translateX(15px)":"translateX(20px)"}),(function(e){return!e.disabled&&!e.monotone&&'\n & input[type="checkbox"]:checked + span {\n background-color: '.concat(a.Z.accent.sky,';\n }\n\n & input[type="checkbox"]:checked + span::before {\n background-color: ').concat(a.Z.monotone.white,";\n }\n ")}),(function(e){return e.purpleBackground&&'\n & input[type="checkbox"]:checked + span {\n background-color: '.concat(a.Z.interactive.purple,";\n }\n ")})),v=function(e,n){var t=e.checked,r=e.disabled,o=e.onCheck,c=e.pauseEvent,a=void 0===c||c,h=(0,i.Z)(e,d);return(0,u.jsx)(l.Z,f(f({},h),{},{disabled:r,input:(0,u.jsxs)(p,f(f({},h),{},{disabled:r,noBackground:!0,noBorder:!0,children:[(0,u.jsx)("input",{checked:t,readOnly:!0,type:"checkbox"}),(0,u.jsx)("span",{onClick:r?null:function(e){a&&(0,s.j)(e),null===o||void 0===o||o((function(e){return!e}))}})]})),noBackground:!0,ref:n}))};n.Z=o.forwardRef(v)},65186:function(e,n,t){var r=t(28598),i=18.53/14;n.Z=function(e){var n=e.height,t=e.width,o=n||(t?t*(1/i):14),c=t||(n?n*i:18.53);return(0,r.jsxs)("svg",{width:c,height:o,viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{opacity:"0.4",d:"M15.3266 0L19.2641 1.82961e-06L11.9687 14L8.03125 14L15.3266 0Z",fill:"url(#paint0_linear_1303_5)"}),(0,r.jsx)("path",{d:"M11.9692 1.82961e-06L8.03164 0L0.736328 14L4.67383 14L8.03164 7.55626V14H11.9691V8.38194e-05L11.9692 1.82961e-06Z",fill:"url(#paint1_linear_1303_5)"}),(0,r.jsx)("path",{d:"M15.3269 2.57679e-06H19.2644V14H15.3269V2.57679e-06Z",fill:"url(#paint2_linear_1303_5)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_1303_5",x1:"8.03125",y1:"7",x2:"19.2641",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_1303_5",x1:"0.736328",y1:"7",x2:"19.2644",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]}),(0,r.jsxs)("linearGradient",{id:"paint2_linear_1303_5",x1:"0.736328",y1:"7",x2:"19.2644",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})]})]})}},63637:function(e,n,t){var r=t(38626),i=t(28598),o=r.default.svg.withConfig({displayName:"Mage8Bit__SVGStyle",componentId:"sc-cj6ltf-0"})([""]);n.Z=function(e){var n=e.size,t=void 0===n?20:n,r=e.viewBox,c=void 0===r?"0 0 20 20":r;return(0,i.jsxs)(o,{height:t,viewBox:c,width:t,children:[(0,i.jsxs)("g",{clipPath:"url(#clip0_297_42814)",children:[(0,i.jsx)("path",{d:"M13.334 0h1.66667v1.66667H13.334zM11.666 1.6665h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M10 1.6665h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M8.33398 1.6665h1.66667v1.66667H8.33398z",fill:"#AF93FF"}),(0,i.jsx)("path",{d:"M8.33398 3.3335h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 3.3335h1.66667v1.66667H6.66602z",fill:"#AF93FF"}),(0,i.jsx)("path",{d:"M3.33398 5h1.66667v1.66667H3.33398z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M5 5h1.66667v1.66667H5z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 5h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 5h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 8.3335h1.66667v1.66667H6.66602z",fill:"#000"}),(0,i.jsx)("path",{d:"M6.66602 6.6665h1.66667v1.66667H6.66602z",fill:"#AD8FFF"}),(0,i.jsx)("path",{d:"M6.66602 10h1.66667v1.66667H6.66602z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M8.33398 6.6665h1.66667v1.66667H8.33398z",fill:"#AD8FFF"}),(0,i.jsx)("path",{d:"M1.66602 13.3335h1.66667v1.66667H1.66602z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M1.66602 11.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,i.jsx)("path",{d:"M1.66602 10h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,i.jsx)("path",{d:"M1.66602 8.3335h1.66667v1.66667H1.66602zM1.66602 6.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,i.jsx)("path",{d:"M1.66602 6.6665h1.66667v1.66667H1.66602zM0 0h1.66667v1.66667H0zM3.33398 1.6665h1.66667v1.66667H3.33398zM0 3.3335h1.66667v1.66667H0z",fill:"#2ECDF7"}),(0,i.jsx)("path",{d:"M1.66602 16.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,i.jsx)("path",{d:"M1.66602 16.6665h1.66667v1.66667H1.66602zM1.66602 18.3335h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,i.jsx)("path",{d:"M1.66602 15h1.66667v1.66667H1.66602zM3.33398 15h1.66667v1.66667H3.33398z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M3.33398 16.6665h1.66667v1.66667H3.33398z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M3.33398 13.3335h1.66667v1.66667H3.33398z",fill:"#AD8FFF"}),(0,i.jsx)("path",{d:"M8.33398 8.3335h1.66667v1.66667H8.33398z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M10 6.6665h1.66667v1.66667H10z",fill:"#AD8FFF"}),(0,i.jsx)("path",{d:"M10 10h1.66667v1.66667H10z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M11.666 6.6665h1.66667v1.66667H11.666z",fill:"#AD8FFF"}),(0,i.jsx)("path",{d:"M11.666 8.3335h1.66667v1.66667H11.666z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M8.33398 10h1.66667v1.66667H8.33398z",fill:"#FF8DA9"}),(0,i.jsx)("path",{d:"M8.33398 11.6665h1.66667v1.66667H8.33398z",fill:"#FF8DA9"}),(0,i.jsx)("path",{d:"M6.66602 11.6665h1.66667v1.66667H6.66602z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M6.66602 11.6665h1.66667v1.66667H6.66602z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M5 10h1.66667v1.66667H5z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M5 8.3335h1.66667v1.66667H5z",fill:"#232429"}),(0,i.jsx)("path",{d:"M8.33398 11.6665h1.66667v1.66667H8.33398zM8.33398 13.3335h1.66667v1.66667H8.33398z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M10 11.6665h1.66667v1.66667H10z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M11.666 10h1.66667v1.66667H11.666zM13.334 6.6665h1.66667v1.66667H13.334zM13.334 8.3335h1.66667v1.66667H13.334z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M15 8.3335h1.66667v1.66667H15z",fill:"#757575"}),(0,i.jsx)("path",{d:"M15 10h1.66667v1.66667H15z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M10 8.3335h1.66667v1.66667H10z",fill:"#000"}),(0,i.jsx)("path",{d:"M8.33398 5h1.66667v1.66667H8.33398zM11.666 5h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M13.334 10h1.66667v1.66667H13.334zM11.666 11.6665h1.66667v1.66667H11.666zM10 13.3335h1.66667v1.66667H10z",fill:"#501FD8"}),(0,i.jsx)("path",{d:"M8.33398 15h1.66667v1.66667H8.33398zM6.66602 13.3335h1.66667v1.66667H6.66602zM15 11.6665h1.66667v1.66667H15z",fill:"#501FD8"}),(0,i.jsx)("path",{d:"M16.666 11.6665h1.66667v1.66667H16.666zM16.666 13.3335h1.66667v1.66667H16.666z",fill:"#501FD8"}),(0,i.jsx)("path",{d:"M15 13.3335h1.66667v1.66667H15z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M13.334 13.3335h1.66667v1.66667H13.334zM13.334 11.6665h1.66667v1.66667H13.334zM11.666 13.3335h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M11.666 15h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M10 15h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M8.33398 16.6665h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 15h1.66667v1.66667H6.66602z",fill:"#AF93FF"}),(0,i.jsx)("path",{d:"M6.66602 16.6665h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M5 16.6665h1.66667v1.66667H5z",fill:"#AF93FF"}),(0,i.jsx)("path",{d:"M5 18.3335h1.66667v1.66667H5z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 18.3335h1.66667v1.66667H6.66602zM8.33398 18.3335h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M10 18.3335h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M11.666 18.3335h1.66667v1.66667H11.666zM13.334 18.3335h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M15 18.3335h1.66667v1.66667H15z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M16.666 18.3335h1.66667v1.66667H16.666z",fill:"#652EFF"}),(0,i.jsx)("path",{d:"M3.33398 18.3335h1.66667v1.66667H3.33398zM10 16.6665h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M11.666 16.6665h1.66667v1.66667H11.666zM13.334 15h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M13.334 16.6665h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M15 16.6665h1.66667v1.66667H15z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M15 15h1.66667v1.66667H15z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M16.666 15h1.66667v1.66667H16.666zM18.334 16.6665h1.66667v1.66667H18.334zM18.334 18.3335h1.66667v1.66667H18.334z",fill:"#501FD8"}),(0,i.jsx)("path",{d:"M16.666 16.6665h1.66667v1.66667H16.666z",fill:"#652EFF"}),(0,i.jsx)("path",{d:"M13.334 5h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M15 5h1.66667v1.66667H15zM10 5h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M10 3.3335h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M11.666 3.3335h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M11.666 0h1.66667v1.66667H11.666z",fill:"#AF93FF"})]}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_297_42814",children:(0,i.jsx)("path",{d:"M0 0h20v20H0z",fill:"#fff"})})})]})}},72191:function(e,n,t){t.d(n,{_k:function(){return o},bL:function(){return i},l2:function(){return c},nz:function(){return l}});var r=t(70515),i=(r.iI,2*r.iI),o=2.5*r.iI,c=3*r.iI,l=3.5*r.iI},42041:function(e,n,t){t.d(n,{y:function(){return o}});var r=t(75582),i=t(39643);function o(e,n){var t=e.map((function(e){return String(e)})),o=e.includes(i.PQ),c=e.includes(i.zX),l=e.includes(i.XR),a=i.xU.map((function(e){return String(e)})),s=i.vk.map((function(e){return String(e)})),u=i.Tr.map((function(e){return String(e)})),d=Object.entries(n).find((function(e){var n=(0,r.Z)(e,2),i=n[0];return n[1]&&!t.includes(String(i))&&(!c||!s.includes(String(i)))&&(!o||!a.includes(String(i)))&&(!l||!u.includes(String(i)))}));return e.every((function(e){return n[e]}))&&!d}},58401:function(e,n,t){var r=t(82684),i=t(34376),o=t(35686),c=t(77417),l=t(42122);n.Z=function(e){var n,t=e||{operation:null,pageType:null,pageUUID:null,resource:null,resourceID:null,resourceParent:null,resourceParentID:null,useProjectData:null},a=t.operation,s=t.pageType,u=t.pageUUID,d=t.resource,h=t.resourceID,f=t.resourceParent,p=t.resourceParentID,v=t.useProjectData,m=(0,c.Z)({pauseFetch:!!v}),g=(0,r.useMemo)((function(){return"undefined"!==typeof v&&null!==v?v:m}),[v,m])||{featureEnabled:null,featureUUIDs:null,project:null},x=g.featureEnabled,b=g.featureUUIDs,j=g.project,y=(0,r.useMemo)((function(){return x&&b&&j&&(null===x||void 0===x?void 0:x(null===b||void 0===b?void 0:b.CUSTOM_DESIGN))}),[x,b,j]),w=(0,i.useRouter)(),Z=null===w||void 0===w?void 0:w.asPath,k=null===w||void 0===w||null===(n=w.pathname)||void 0===n?void 0:n.replace(/^\/{1}/i,""),C=null===w||void 0===w?void 0:w.query,O=o.ZP.custom_designs.detail(encodeURIComponent(k),(0,l.hB)({operation:a,page_path:encodeURIComponent(Z),page_query:C?JSON.stringify(C||""):null,page_type:s,page_uuid:u,resource:d,resource_id:h,resource_parent:f,resource_parent_id:p}),{},{pauseFetch:!y}),P=O.data,_=O.mutate;return{design:(0,r.useMemo)((function(){return(null===P||void 0===P?void 0:P.custom_design)||[]}),[P]),fetchDesign:_,router:w,routerDetails:{asPath:Z,pathname:k,query:C}}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[161],{65557:function(e,n,t){var i=t(21831),o=t(75582),l=t(82684),r=t(80329);n.Z=function(e){var n=e.children,t=e.uuid,u=e.uuids,c=void 0===u?[]:u,s=(0,r.j)("apiReloads"),d=(0,o.Z)(s,1)[0],a=(0,i.Z)(c);t&&a.push(t);var f=a.map((function(e){return String(d[e])||"-"})).join("_");return l.cloneElement(n,{key:f})}},29618:function(e,n,t){t.d(n,{Z:function(){return B}});var i=t(82394),o=t(75582),l=t(17717),r=t(82684),u=t(80329),c=t(69864),s=t(40761),d=t(44425),a=t(71180),f=t(38626),v=t(97618),p=t(55485),h=t(28598),b=f.default.div.withConfig({displayName:"ButtonGroup__ButtonGroupStyle",componentId:"sc-15vbmc8-0"})([""]),m=f.default.div.withConfig({displayName:"ButtonGroup__VerticalDivider",componentId:"sc-15vbmc8-1"})(["width:1px;"]),g=function(e){var n=e.children,t=e.divider,i=r.Children.toArray(n).length;return(0,h.jsx)(b,{children:(0,h.jsx)(p.ZP,{children:r.Children.map(n,(function(e,n){return e&&(0,h.jsxs)(v.Z,{children:[n>=1&&t&&(0,h.jsx)(m,{}),r.cloneElement(e,{borderRadiusLeft:i>=2&&0===n,borderRadiusRight:i>=2&&n===i-1,halfPaddingLeft:i>=2&&0!==n,halfPaddingRight:i>=2&&n!==i-1,noBorder:i>=2&&n>0&&n<i-1,noBorderRight:i>=2&&n!==i-1})]},"button-group-child-".concat(n))}))})})},j=t(75810),k=t(89706),y=t(93369),x=t(57653),C=t(38276),P=t(35686),w=t(39643),Z=t(11498),O=t(85385),S=t(80330),F=t(86735),R=t(81728),_=t(72619),D=t(42041),E=t(44688);function I(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function T(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?I(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):I(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var B=function(e){var n,t=e.active,f=e.addNewBlock,v=e.disableRefreshWarning,b=e.fetchPipeline,m=e.fetchVariables,I=e.filePath,B=e.hideHeaderButtons,M=e.onContentChange,U=e.onUpdateFileSuccess,V=e.openSidekickView,N=e.pipeline,H=e.saveFile,A=e.selectedFilePath,z=e.sendTerminalMessage,L=e.setDisableShortcuts,W=e.setErrors,G=e.setFilesTouched,K=e.setSelectedBlock,X=(0,u.j)("apiReloads"),J=(0,o.Z)(X,2)[1],q=(0,r.useState)(null),$=q[0],Q=q[1],Y=(0,r.useState)(!1),ee=Y[0],ne=(Y[1],(0,r.useRef)(null)),te=(0,r.useMemo)((function(){return new s.Z}),[]),ie=(0,r.useMemo)((function(){return{api_key:Z.lG,token:te.decodedToken.token}}),[te]),oe=P.ZP.statuses.list().data,le=(0,r.useMemo)((function(){var e,n;return null===oe||void 0===oe||null===(e=oe.statuses)||void 0===e||null===(n=e[0])||void 0===n?void 0:n.repo_path}),[oe]),re=P.ZP.file_contents.detail(I).data;(0,r.useEffect)((function(){null!==re&&void 0!==re&&re.file_content?Q(re.file_content):null!==re&&void 0!==re&&re.error&&(0,_.h$)(re,{onErrorCallback:function(e,n){return W({errors:n,response:e})}})}),[re,W]);var ue=(0,r.useState)(null===$||void 0===$?void 0:$.content),ce=ue[0],se=ue[1],de=(0,r.useCallback)((function(e){se(e),M&&(null===M||void 0===M||M(e))}),[M]),ae=(0,r.useState)(!1),fe=ae[0],ve=ae[1];(0,r.useEffect)((function(){t&&L&&(null===L||void 0===L||L(!0))}),[t,L]),(0,r.useEffect)((function(){var e;A&&(null===ne||void 0===ne||null===(e=ne.current)||void 0===e||e.scrollIntoView())}),[A]);var pe=(0,c.Db)(P.ZP.file_contents.useUpdate((null===$||void 0===$?void 0:$.path)&&encodeURIComponent(null===$||void 0===$?void 0:$.path)),{onSuccess:function(e){return(0,_.wD)(e,{callback:function(e){var n=e.file_content;J((function(e){return T(T({},e),{},(0,i.Z)({},"FileVersions/".concat(null===$||void 0===$?void 0:$.path),Number(new Date)))})),U&&(null===U||void 0===U||U(n))},onErrorCallback:function(e,n){return null===W||void 0===W?void 0:W({errors:n,response:e})}})}}),he=(0,o.Z)(pe,1)[0],be=(0,r.useCallback)((function(e,n){if(H)return H(e,n);he({file_content:T(T({},n),{},{content:e})}).then((function(){decodeURIComponent(I).split(l.sep).pop()===k.dT.METADATA_YAML&&m&&(null===m||void 0===m||m())})),null===G||void 0===G||G((function(e){return T(T({},e),{},(0,i.Z)({},null===n||void 0===n?void 0:n.path,!1))})),ve(!1)}),[m,I,H,G,he]),me=(0,r.useMemo)((function(){return(0,S.lU)()}),[]),ge=(0,r.useMemo)((function(){var e,n,t,i;return null===(null===$||void 0===$||null===(e=$.path)||void 0===e?void 0:e.match(me))?k.Lu.TXT:null===$||void 0===$||null===(n=$.path)||void 0===n||null===(t=n.match(me))||void 0===t||null===(i=t[0])||void 0===i?void 0:i.split(".")[1]}),[me,$]),je=(0,r.useMemo)((function(){if(null!==$&&void 0!==$&&$.path)return(0,h.jsx)(j.Z,{autoHeight:!0,language:k.nB[ge],onChange:function(e){de(e),G&&G((function(e){return null!==e&&void 0!==e&&e[null===$||void 0===$?void 0:$.path]?e:T(T({},e),{},(0,i.Z)({},null===$||void 0===$?void 0:$.path,!0))})),ve(!0)},onSave:function(e){be(e,$)},padding:10,selected:!0,textareaFocused:!0,value:(0,R.Pb)(null===$||void 0===$?void 0:$.content)?JSON.stringify(JSON.parse(null===$||void 0===$?void 0:$.content),null,2):null===$||void 0===$?void 0:$.content,width:"100%"})}),[$,ge,be,de,G]),ke=null!==N&&void 0!==N&&N.blocks?(0,F.sE)(null===N||void 0===N?void 0:N.blocks,(function(e){var n=e.type;return d.tf.DATA_EXPORTER===n})):null,ye=(0,c.Db)(P.ZP.blocks.pipelines.useUpdate(encodeURIComponent(null===N||void 0===N?void 0:N.uuid),encodeURIComponent(null===ke||void 0===ke?void 0:ke.uuid)),{onSuccess:function(e){return(0,_.wD)(e,{callback:function(){null===b||void 0===b||b()}})}}),xe=(0,o.Z)(ye,1)[0],Ce=f&&N&&$&&k.tE.includes(ge)&&(0,S.ck)(null===$||void 0===$||null===(n=$.path)||void 0===n?void 0:n.split(l.sep))&&(0,h.jsx)(a.ZP,{onClick:function(){var e=(null===N||void 0===N?void 0:N.type)===x.qL.INTEGRATION,n=(0,S.TU)($,le,N);f(n,(function(n){e&&ke&&xe({block:T(T({},ke),{},{upstream_blocks:[n.uuid]})}),null===K||void 0===K||K(n)}))},primary:!0,children:"Add to current pipeline"}),Pe=z&&(0,h.jsx)(C.Z,{m:2,children:(0,h.jsx)(y.ZP,{disabled:!le,inline:!0,loading:ee,onClick:function(){null===V||void 0===V||V(O.cH.TERMINAL),null===z||void 0===z||z(JSON.stringify(T(T({},ie),{},{command:["stdin","pip install -r ".concat(le,"/requirements.txt\r")]})))},title:le?"Pip install packages from your saved requirements.txt file (\u2318+S to save).":"Please use right panel terminal to install packages.",uuid:"FileEditor/InstallPackages",children:"Install packages"})}),we="FileEditor/".concat(null===$||void 0===$?void 0:$.path),Ze=(0,E.y)(),Oe=Ze.registerOnKeyDown,Se=Ze.unregisterOnKeyDown;return(0,r.useEffect)((function(){return function(){Se(we)}}),[Se,we]),Oe(we,(function(e,n){if(t&&!v)if((0,D.y)([w.zX,w.Um],n)||(0,D.y)([w.PQ,w.Um],n))e.preventDefault(),be(ce,$);else if(fe&&(0,D.y)([w.zX,w.hS],n)){e.preventDefault();var i="".concat($.path," has changes that are unsaved. ")+"Click cancel and save your changes before reloading page.";"undefined"!==typeof location&&window.confirm(i)&&location.reload()}}),[t,ce,v,$,be,fe]),(0,h.jsxs)("div",{ref:ne,children:[!B&&(0,h.jsx)(C.Z,{p:2,children:(0,h.jsxs)(p.ZP,{justifyContent:"space-between",children:[(0,h.jsxs)(g,{children:[Ce,(0,h.jsx)(a.ZP,{disabled:!ce,onClick:function(e){e.preventDefault(),be(ce,$)},title:ce?null:"No changes have been made to this file.",children:"Save file content"})]}),V&&(0,h.jsx)(g,{children:(0,h.jsx)(a.ZP,{compact:!0,onClick:function(){V(O.cH.FILE_VERSIONS)},small:!0,title:"View previous changes to this file.",children:"Show versions"})})]})}),je,I===k.dT.REQS_TXT&&Pe]})}},69616:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(82684),o=t(38626),l=t(47041),r=o.default.div.withConfig({displayName:"indexstyle__ScrollerStyle",componentId:"sc-16b7ntp-0"})([""," align-items:center;display:flex;flex-direction:row;height:100%;overflow:auto;"],(0,l.y$)()),u=t(28598);var c=function(e){var n=e.children,t=(e.widthOffset,(0,i.useRef)(null)),o=(0,i.useRef)(null),l=(0,i.useState)(null),c=(l[0],l[1]);return(0,i.useEffect)((function(){setTimeout((function(){var e,n,i,l;c({scroll:(null===t||void 0===t||null===(e=t.current)||void 0===e||null===(n=e.getBoundingClientRect())||void 0===n?void 0:n.width)||0,tabs:(null===o||void 0===o||null===(i=o.current)||void 0===i||null===(l=i.getBoundingClientRect())||void 0===l?void 0:l.width)||0})}),1)}),[]),(0,u.jsx)(r,{ref:t,children:(0,u.jsx)("div",{ref:o,style:{height:"100%"},children:n})})}},28385:function(e,n,t){var i=t(82394),o=t(75582),l=t(17717),r=t(82684),u=t(80329),c=t(69864),s=t(71180),d=t(75810),a=t(89706),f=t(97618),v=t(55485),p=t(85854),h=t(38276),b=t(4190),m=t(75499),g=t(30160),j=t(35686),k=t(70515),y=t(80330),x=t(3917),C=t(81728),P=t(72619),w=t(95924),Z=t(86735),O=t(42122),S=t(28598);function F(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function R(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?F(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.onActionCallback,t=e.pipeline,F=e.selectedBlock,_=e.selectedFilePath,D=e.setErrors,E=e.width,I=(0,u.j)("apiReloads"),T=(0,o.Z)(I,2)[1],B=(0,r.useMemo)((function(){return _?encodeURIComponent(_):F?encodeURIComponent("".concat(null===F||void 0===F?void 0:F.type,"/").concat(null===F||void 0===F?void 0:F.uuid)):null}),[F,_]),M=j.ZP.file_versions.files.list(B,(0,O.hB)({block_uuid:null===F||void 0===F?void 0:F.uuid,pipeline_uuid:null===t||void 0===t?void 0:t.uuid})),U=M.data,V=M.mutate,N=(0,r.useMemo)((function(){return(null===U||void 0===U?void 0:U.file_versions)||[]}),[U]),H=(0,r.useState)(null),A=H[0],z=H[1],L=(0,r.useMemo)((function(){return null===N||void 0===N?void 0:N[A]}),[A,N]),W=j.ZP.file_contents.detail(L?encodeURIComponent(L.path):null).data,G=(0,r.useMemo)((function(){return null===W||void 0===W?void 0:W.file_content}),[W]),K=(0,r.useMemo)((function(){return(0,y.lU)()}),[]),X=(0,r.useMemo)((function(){var e,n,t;return null===_||void 0===_||null===(e=_.match(K))||void 0===e||null===(n=e[0])||void 0===n||null===(t=n.split("."))||void 0===t?void 0:t[1]}),[_,K]),J=(0,c.Db)(j.ZP.file_contents.useUpdate(B),{onSuccess:function(e){return(0,P.wD)(e,{callback:function(e){var t;_&&V();var o=null===e||void 0===e||null===(t=e.file_content)||void 0===t?void 0:t.path,r="FileEditor/".concat(o);if(o){var u=o.split(l.sep);if("pipelines"===u[0]){var c=u.slice(1,u.length-1).join(l.sep);r="PipelineDetail/".concat(c)}}T((function(e){return R(R({},e),{},(0,i.Z)({},r,Number(new Date)))})),z((function(e){return e+1})),null===n||void 0===n||n(null===e||void 0===e?void 0:e.file_content,{blockUUID:null===F||void 0===F?void 0:F.uuid})},onErrorCallback:function(e,n){return D({errors:n,response:e})}})}}),q=(0,o.Z)(J,2),$=q[0],Q=q[1].isLoading,Y=(0,r.useCallback)((function(e){var n=R({},e);return _||(n.block_uuid=null===F||void 0===F?void 0:F.uuid,n.pipeline_uuid=null===t||void 0===t?void 0:t.uuid),$({file_content:n})}),[t,F,_,$]),ee=(0,r.useMemo)((function(){var e=N.map((function(e){var n=e.name,t=e.path;return[(0,S.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,S.jsxs)(f.Z,{flex:1,children:[(0,S.jsx)(g.ZP,{default:!0,monospace:!0,children:(0,x.JX)(n,{withSeconds:!0})}),(0,S.jsx)(h.Z,{px:2*k.cd,children:(0,S.jsx)(g.ZP,{monospace:!0,children:n})})]}),L&&(null===L||void 0===L?void 0:L.path)===t&&(0,S.jsx)(s.ZP,{compact:!0,loading:Q,onClick:function(e){(0,w.j)(e),Y({version:n})},small:!0,children:"Replace with this version"})]},n)]}));if(L){var n=(0,S.jsx)(h.Z,{p:k.cd,children:(0,S.jsx)(b.Z,{},"spinner")});if(G&&(null===G||void 0===G?void 0:G.path)===(null===L||void 0===L?void 0:L.path)){var t=G.content,i=void 0===t?"":t;n=(0,S.jsx)(d.Z,{autoHeight:!0,language:a.nB[X],padding:2*k.iI,readOnly:!0,value:(0,C.Pb)(i)?JSON.stringify(JSON.parse(i),null,2):i,width:E})}e=(0,Z.Hk)([n],A+1,e)}return e}),[G,X,N,Q,L,A,Y,E]);return(0,S.jsxs)("div",{style:{width:E},children:[(0,S.jsxs)(h.Z,{p:k.cd,children:[(0,S.jsx)(p.Z,{level:5,children:"File versions"}),(0,S.jsx)(g.ZP,{inline:!0,monospace:!0,children:_?decodeURIComponent(_):null===F||void 0===F?void 0:F.uuid})]}),(0,S.jsx)(m.Z,{buildRowProps:function(e){if(L&&A+1===e)return{renderCell:function(e){return e},renderRow:function(e){return e}}},columnFlex:[1],columns:[{uuid:"Version"}],isSelectedRow:function(e){var n;return(null===(n=N[e])||void 0===n?void 0:n.name)===(null===L||void 0===L?void 0:L.name)},onClickRow:function(e){L?e===A?z(null):e<A?z(e):e>A+1&&z(e-1):z(e)},rows:ee})]})}},88353:function(e,n,t){t.d(n,{Z:function(){return N}});var i=t(82394),o=t(75582),l=t(82684),r=t(80329),u=t(69864),c=t(65557),s=t(29618),d=t(28598);var a=function(e){var n=e.addNewBlock,t=e.disableRefreshWarning,o=e.fetchPipeline,l=e.fetchVariables,r=e.onUpdateFileSuccess,u=e.openFilePaths,a=e.openSidekickView,f=e.pipeline,v=e.saveFile,p=e.selectedFilePath,h=e.sendTerminalMessage,b=e.setContentByFilePath,m=e.setDisableShortcuts,g=e.setErrors,j=e.setFilesTouched,k=e.setSelectedBlock;return(0,d.jsx)(d.Fragment,{children:null===u||void 0===u?void 0:u.map((function(e){return(0,d.jsx)("div",{style:{display:p===e?null:"none"},children:(0,d.jsx)(c.Z,{uuid:"FileEditor/".concat(decodeURIComponent(e)),children:(0,d.jsx)(s.Z,{active:p===e,addNewBlock:n,disableRefreshWarning:t,fetchPipeline:o,fetchVariables:l,filePath:e?encodeURIComponent(e):null,hideHeaderButtons:!0,onContentChange:function(n){return b((0,i.Z)({},e,n))},onUpdateFileSuccess:r,openSidekickView:a,pipeline:f,sendTerminalMessage:h,setDisableShortcuts:m,setSelectedBlock:k,saveFile:v,selectedFilePath:p,setErrors:g,setFilesTouched:j})})},e)}))})},f=t(85533),v=t(71180),p=t(50724),h=t(55485),b=t(70374),m=t(30160),g=t(72473),j=t(39643),k=t(58325),y=t(44688);var x=function(e){var n=e.children,t=e.fileVersionsVisible,i=e.onSave,o=e.setFilesVersionsVisible,r=(0,l.useState)(null),u=r[0],c=r[1],s=(0,l.useRef)(null),a=(0,l.useRef)(null),f=(0,l.useMemo)((function(){return[{disabled:!i,keyTextGroups:[[(0,k.V5)()?j.RJ:j.hE,j.SS]],label:function(){return"Save"},onClick:function(){return i?i():null},uuid:"save"}]}),[i]),x=(0,l.useMemo)((function(){return[{label:function(){return t?"Hide versions":"Show versions"},onClick:function(){return o(!t)},uuid:"versions"}]}),[t,o]),C="FileHeaderMenu/index",P=(0,y.y)(),w=P.registerOnKeyDown,Z=P.unregisterOnKeyDown;return(0,l.useEffect)((function(){return function(){Z(C)}}),[Z,C]),w(C,(function(e,n){null!==u&&(n[j.QK]?c((function(e){return 0===e?2:e-1})):n[j.DY]&&c((function(e){return 2===e?0:e+1})))}),[u,c]),(0,d.jsx)(p.Z,{onClickOutside:function(){return c(null)},open:!0,style:{height:"100%",position:"relative"},children:(0,d.jsxs)(h.ZP,{alignItems:"center",fullHeight:!0,fullWidth:!0,children:[(0,d.jsxs)("div",{style:{position:"relative"},children:[(0,d.jsx)(v.ZP,{compact:!0,noBackground:0!==u,noBorder:!0,highlightOnHoverAlt:!0,padding:"4px 12px",onClick:function(){return c((function(e){return 0===e?null:0}))},onMouseEnter:function(){return c((function(e){return null!==e?0:null}))},ref:s,children:(0,d.jsx)(m.ZP,{children:"File"})}),(0,d.jsx)(b.Z,{items:f,onClickCallback:function(){return c(null)},open:0===u,parentRef:s,uuid:"FileHeaderMenu/file"})]}),(0,d.jsxs)("div",{style:{position:"relative"},children:[(0,d.jsx)(v.ZP,{compact:!0,noBackground:1!==u,noBorder:!0,highlightOnHoverAlt:!0,padding:"4px 12px",onClick:function(){return c((function(e){return 1===e?null:1}))},onMouseEnter:function(){return c((function(e){return null!==e?1:null}))},ref:a,children:(0,d.jsx)(m.ZP,{children:"Edit"})}),(0,d.jsx)(b.Z,{items:x,onClickCallback:function(){return c(null)},open:1===u,parentRef:a,uuid:"FileHeaderMenu/edit"})]}),(0,d.jsx)("div",{style:{position:"relative"},children:(0,d.jsx)(v.ZP,{beforeIcon:(0,d.jsx)(g.$B,{muted:!t}),compact:!0,noBackground:!t,noBorder:!0,highlightOnHoverAlt:!0,padding:"4px 12px",onClick:function(){return o(!t)},children:(0,d.jsx)(m.ZP,{children:t?"Hide file versions":"Show file versions"})})}),n]})})},C=t(90758),P=t(28385),w=t(35686),Z=t(53808),O=t(86735),S="open_files";function F(){return(0,Z.U2)(S,[])}function R(e){(0,Z.t8)(S,e)}function _(e){var n=(0,Z.U2)(S,[]);return n.includes(e)||n.push(e),R(n),n}function D(e){var n=(0,Z.U2)(S,[]),t=(0,O.Od)(n,(function(n){return n===e}));return R(t),t}var E=t(17717);function I(e){var n=e.split(E.sep);return n[n.length-1]}var T=t(72619),B=t(42041),M=t(23780);function U(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function V(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?U(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):U(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.addNewBlock,t=e.blocks,s=e.deleteWidget,v=e.disableContextMenu,p=e.fetchAutocompleteItems,h=e.fetchPipeline,b=e.fetchVariables,m=e.onOpenFile,g=e.onSelectBlockFile,k=e.onSelectFile,Z=e.onUpdateFileSuccess,O=e.openSidekickView,S=e.pipeline,E=e.query,U=e.selectedFilePath,N=e.sendTerminalMessage,H=e.setDisableShortcuts,A=e.setSelectedBlock,z=e.uuid,L=e.widgets,W=(0,r.j)("apiReloads"),G=(0,o.Z)(W,2),K=G[1],X=(0,M.VI)(null,{},[],{uuid:"useFileComponents/".concat(z)}),J=(0,o.Z)(X,1),q=J[0],$=(0,l.useRef)(null),Q=(0,l.useRef)(null),Y=(0,l.useCallback)((function(e){Q.current||(Q.current={}),Q.current=V(V({},Q.current),e)}),[Q]),ee=(0,l.useState)([]),ne=ee[0],te=ee[1],ie=(0,l.useState)(null),oe=ie[0],le=ie[1],re=(0,l.useState)({}),ue=re[0],ce=re[1],se=(0,l.useState)(!1),de=se[0],ae=se[1],fe=(0,l.useMemo)((function(){return ne.reduce((function(e,n){var t=I(n);return e[t]||(e[t]=[]),e[t].push(n),e}),{})}),[ne]),ve=(0,l.useCallback)((function(e){R(e),te(e)}),[]),pe=(0,l.useCallback)((function(e){ve(_(e))}),[ve]),he=(0,l.useCallback)((function(e){Y((0,i.Z)({},e,null)),ce((function(n){return V(V({},n),{},(0,i.Z)({},e,!1))}));var n=D(e);ve(n),oe===e&&(null===n||void 0===n?void 0:n.length)>=1&&le(n[n.length-1]),0===(null===n||void 0===n?void 0:n.length)&&le(null)}),[oe,Y,ve]),be=(0,l.useCallback)((function(e,n){n||(pe(e),le(e)),m&&(null===m||void 0===m||m(e,n))}),[pe,m]);(0,l.useEffect)((function(){var e=F();ve(e),le(U||function(n){return!n&&(null===e||void 0===e?void 0:e.length)>=1?e[0]:n})}),[U,ve]);var me=w.ZP.files.list(E),ge=me.data,je=me.mutate,ke=(0,l.useMemo)((function(){return(null===ge||void 0===ge?void 0:ge.files)||[]}),[ge]),ye="Files/index",xe=(0,y.y)(),Ce=(xe.disableGlobalKeyboardShortcuts,xe.registerOnKeyDown),Pe=xe.unregisterOnKeyDown;(0,l.useEffect)((function(){return function(){Pe(ye)}}),[Pe,ye]),Ce(ye,(function(e,n){var t=Object.entries(ue).reduce((function(e,n){var t=(0,o.Z)(n,2),i=t[0];return t[1]?e.concat(i):e}),[]);if((0,B.y)([j.zX,j.hS],n)&&(null===t||void 0===t?void 0:t.length)>=1){e.preventDefault();var i="You have changes that are unsaved: ".concat(t.join(", "),". ")+"Click cancel and save your changes before reloading page.";"undefined"!==typeof location&&window.confirm(i)&&location.reload()}}),[ue]);var we=(0,u.Db)((function(e){return w.ZP.file_contents.useUpdate((null===e||void 0===e?void 0:e.path)&&encodeURIComponent(null===e||void 0===e?void 0:e.path))({file_content:e})}),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(e){var n=e.file_content;K((function(e){return V(V({},e),{},(0,i.Z)({},"FileVersions/".concat(null===n||void 0===n?void 0:n.path),Number(new Date)))})),Y((0,i.Z)({},null===n||void 0===n?void 0:n.path,null))},onErrorCallback:function(e,n){return q({errors:n,response:e})}})}}),Ze=(0,o.Z)(we,1),Oe=Ze[0],Se=(0,l.useCallback)((function(e,n){Oe(V(V({},n),{},{content:e})),ce((function(e){return V(V({},e),{},(0,i.Z)({},null===n||void 0===n?void 0:n.path,!1))}))}),[ce,Oe]),Fe=(0,l.useMemo)((function(){return(0,d.jsx)(f.Z,{addNewBlock:n,blocks:t,deleteWidget:s,disableContextMenu:v,fetchAutocompleteItems:p,fetchFiles:je,fetchPipeline:h,files:ke,onClickFile:function(e){return be(e)},onClickFolder:function(e){return be(e,!0)},onSelectBlockFile:g,openSidekickView:O,pipeline:S,ref:$,showError:q,setSelectedBlock:A,uuid:z,widgets:L})}),[n,t,s,v,p,je,h,$,ke,g,be,O,S,A,q,z,L]),Re=(0,l.useMemo)((function(){return(0,d.jsx)(a,{addNewBlock:n,disableRefreshWarning:!0,fetchPipeline:h,fetchVariables:b,onUpdateFileSuccess:Z,openFilePaths:ne,openSidekickView:O,pipeline:S,saveFile:Se,selectedFilePath:oe,sendTerminalMessage:N,setContentByFilePath:Y,setDisableShortcuts:H,setErrors:q,setFilesTouched:ce,setSelectedBlock:A})}),[n,h,b,Z,ne,O,S,Se,oe,N,Y,H,ce,A,q]),_e=(0,l.useMemo)((function(){return(0,d.jsx)(x,{fileVersionsVisible:de,onSave:function(){var e,n;(null===Q||void 0===Q||null===(e=Q.current)||void 0===e||null===(n=e[oe])||void 0===n?void 0:n.length)>=1&&Se(Q.current[oe],{path:oe})},setFilesVersionsVisible:ae})}),[Q,de,Se,oe,ae]),De=(0,l.useMemo)((function(){return(0,d.jsx)(C.Z,{filePaths:ne,filesTouched:ue,isSelectedFilePath:function(e,n){return e===n},onClickTab:function(e){le(e),k&&(null===k||void 0===k||k(e))},onClickTabClose:function(e){return he(e)},renderTabTitle:function(e){var n=I(e),t=fe[n];return t&&(null===t||void 0===t?void 0:t.length)>=2?e:n},selectedFilePath:oe})}),[ue,k,ne,fe,he,oe]),Ee=(0,l.useMemo)((function(){return(0,d.jsx)(c.Z,{uuid:"FileVersions/".concat(oe?decodeURIComponent(oe):""),children:(0,d.jsx)(P.Z,{selectedFilePath:oe,setErrors:q})})}),[oe,q]);return{browser:Fe,controller:Re,fetchFiles:je,filePaths:ne,files:ke,filesTouched:ue,menu:_e,openFile:be,selectedFilePath:oe,tabs:De,versions:Ee,versionsVisible:de}}},90758:function(e,n,t){t.d(n,{Z:function(){return O}});var i=t(82394),o=t(26304),l=t(82684),r=t(38626),u=t(39867),c=t(55485),s=t(48670),d=t(38276),a=t(30160),f=t(12468),v=t(44897),p=t(29120),h=t(72473),b=t(97133),m=t(70515),g=t(15610),j=t(95924),k=t(28598),y=1.25*m.iI;var x=function(e){var n=e.filePath,t=e.filesTouched,i=void 0===t?{}:t,o=e.isLast,r=e.onClickTab,x=e.onClickTabClose,C=e.renderTabTitle,P=e.savePipelineContent,w=e.selected,Z=e.themeContext,O=(0,l.useState)(!1),S=O[0],F=O[1],R=(0,p.Z)({filePath:n,name:n,uuid:n}),_=R.BlockIcon,D=R.Icon,E=R.color,I=R.iconColor,T=R.isBlockFile;return(0,k.jsx)(c.ZP,{flexDirection:"column",fullHeight:!0,onClick:function(e){e.preventDefault(),w||(r?r(n):(null===P||void 0===P||P(),(0,g.u)({file_path:encodeURIComponent(n)})))},onMouseEnter:function(){return F(!0)},onMouseLeave:function(){return F(!1)},children:(0,k.jsx)(b.Gb,{last:o,selected:w,children:(0,k.jsxs)(c.ZP,{alignItems:"center",fullHeight:!0,children:[(0,k.jsx)(f.Z,{appearAbove:!0,appearBefore:!0,label:n,size:null,widthFitContent:!0,children:(0,k.jsxs)(c.ZP,{alignItems:"center",fullHeight:!0,children:[!i[n]&&(0,k.jsx)(k.Fragment,{children:T?(0,k.jsx)(_,{color:E,size:1*m.iI,square:!0}):(0,k.jsx)(D,{fill:I,size:1.5*m.iI})}),i[n]&&(0,k.jsx)(f.Z,{label:"Unsaved changes",size:null,widthFitContent:!0,children:(0,k.jsx)("div",{style:{padding:1},children:(0,k.jsx)(u.Z,{borderColor:(Z||v.Z).borders.danger,size:y})})}),(0,k.jsx)(d.Z,{mr:1}),(0,k.jsx)(a.ZP,{monospace:!0,muted:!w,noWrapping:!0,small:!0,children:C?C(n):n})]})}),x&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(d.Z,{mr:2}),(0,k.jsx)(f.Z,{label:"Close",size:null,widthFitContent:!0,children:(0,k.jsxs)(s.Z,{autoHeight:!0,block:!0,noHoverUnderline:!0,noOutline:!0,onClick:function(e){(0,j.j)(e),null===x||void 0===x||x(n)},preventDefault:!0,children:[(S||w)&&(0,k.jsx)(h.x8,{muted:!w,size:y}),!S&&!w&&(0,k.jsx)("div",{style:{width:y}})]})})]})]})})})},C=t(86735),P=["filePaths","isSelectedFilePath","onClickTab","onClickTabClose","selectedFilePath","tabsBefore"];function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Z(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?w(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var O=function(e){var n=e.filePaths,t=e.isSelectedFilePath,i=e.onClickTab,u=e.onClickTabClose,s=e.selectedFilePath,d=e.tabsBefore,a=(0,o.Z)(e,P),f=(0,l.useContext)(r.ThemeContext),v=(0,l.useMemo)((function(){return n.map((function(e){return decodeURIComponent(e)}))}),[n]),p=(0,l.useMemo)((function(){return(null===v||void 0===v?void 0:v.length)||0}),[v]);return(0,k.jsxs)(c.ZP,{alignItems:"center",fullHeight:!0,justifyContent:"flex-start",children:[(null===d||void 0===d?void 0:d.length)>=1&&(null===d||void 0===d?void 0:d.map((function(e){var n=e.label,o=e.onClick,l=e.uuid,r=t?t(l,s):s===encodeURIComponent(l);return(0,k.jsx)(x,{onClickTab:function(){return null===o||void 0===o?void 0:o({onClickTab:i})},renderTabTitle:function(){return n?null===n||void 0===n?void 0:n():l},selected:r,themeContext:f},l)}))),null===v||void 0===v?void 0:v.map((function(e,n){var o=t?t(e,s):s===encodeURIComponent(e);return(0,l.createElement)(x,Z(Z({},a),{},{filePath:e,isLast:n===p-1,key:e,onClickTab:i,onClickTabClose:function(e){if(u)u(e);else{var n=(0,C.Od)(v,(function(n){return n===e})).map((function(e){return encodeURIComponent(e)}));(0,g.u)({file_path:n[n.length-1]||null,"file_paths[]":n},{pushHistory:!0})}},selected:o,themeContext:f}))}))]})}},97133:function(e,n,t){t.d(n,{Gb:function(){return f},fm:function(){return d},lO:function(){return s},rK:function(){return a},zn:function(){return c}});var i=t(38626),o=t(44897),l=t(2842),r=t(70515),u=t(47041),c=300,s=i.default.div.withConfig({displayName:"indexstyle__PipelineContainerStyle",componentId:"sc-1sv9513-0"})([".pipeline-detail-enter-active{opacity:1;transition:opacity ","ms linear;}.pipeline-detail-enter-done{opacity:0;transition:opacity ","ms linear;}"],c,c),d=i.default.div.withConfig({displayName:"indexstyle__OverlayStyle",componentId:"sc-1sv9513-1"})(["height:100vh;opacity:1;position:fixed;width:100vw;z-index:9999;",""],(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).codeArea,";\n ")})),a=i.default.div.withConfig({displayName:"indexstyle__PipelineHeaderStyle",componentId:"sc-1sv9513-2"})(["height:","px;position:sticky;top:","px;width:100%;z-index:5;"," "," "," ",""],l.Wi,l.Wi,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).panel,";\n border-bottom: 1px solid ").concat((e.theme.borders||o.Z.borders).medium,";\n ")}),(function(e){return e.relativePosition&&"\n position: relative;\n "}),(function(e){return e.secondary&&"\n height: ".concat(37,"px;\n top: ").concat(l.Wi,"px;\n overflow-x: auto;\n z-index: 3;\n ")}),(0,u.y$)()),f=i.default.div.withConfig({displayName:"indexstyle__FileTabStyle",componentId:"sc-1sv9513-3"})(["border-right:1px solid transparent;height:100%;padding:","px ","px;"," "," ",""],1*r.iI,1.5*r.iI,(function(e){return"\n &:hover {\n cursor: default;\n\n p {\n color: ".concat((e.theme.content||o.Z.content).active," !important;\n cursor: default;\n }\n }\n ")}),(function(e){return e.selected&&"\n background-color: ".concat((e.theme.background||o.Z.background).codeTextarea,";\n ")}),(function(e){return!e.selected&&!e.last&&"\n border-color: ".concat((e.theme.borders||o.Z.borders).light," !important;\n ")}));i.default.div.withConfig({displayName:"indexstyle__HeaderViewOptionsStyle",componentId:"sc-1sv9513-4"})(["left:50%;position:absolute;transform:translateX(-50%);"])},80329:function(e,n,t){t.d(n,{j:function(){return i}});var i=(0,t(44152).r)({apiReloads:{}}).useGlobalState}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2646],{32929:function(t,n,e){e.d(n,{A2:function(){return T},dP:function(){return P},hS:function(){return g},iK:function(){return S},n9:function(){return C},qy:function(){return A}});var r,o=e(26304),i=e(82394),u=e(13507),c=e(44425),f=e(72473),a=e(57653),s=e(55283),l=["uuid"],p=["uuid"];function d(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function O(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?d(Object(e),!0).forEach((function(n){(0,i.Z)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var C={uuid:"Blocks"},T={uuid:"Pipelines"},P=[C,T],S=(r={},(0,i.Z)(r,c.tf.CALLBACK,f.AQ),(0,i.Z)(r,c.tf.CHART,f.GQ),(0,i.Z)(r,c.tf.CONDITIONAL,f.hW),(0,i.Z)(r,c.tf.CUSTOM,f.VS),(0,i.Z)(r,c.tf.DATA_EXPORTER,f.zS),(0,i.Z)(r,c.tf.DATA_LOADER,f.rH),(0,i.Z)(r,c.tf.DBT,f.xE),(0,i.Z)(r,c.tf.EXTENSION,f.Bf),(0,i.Z)(r,c.tf.MARKDOWN,f.$B),(0,i.Z)(r,c.tf.SENSOR,f.LM),(0,i.Z)(r,c.tf.TRANSFORMER,f.Sv),r),A=[{Icon:f.zQ,uuid:"All templates"}].concat([{uuid:c.tf.DATA_LOADER},{uuid:c.tf.TRANSFORMER},{selectedIconProps:{inverted:!0},uuid:c.tf.DATA_EXPORTER},{uuid:c.tf.SENSOR},{selectedIconProps:{inverted:!0},uuid:c.tf.CUSTOM},{uuid:c.tf.CHART},{selectedIconProps:{inverted:!0},uuid:c.tf.CALLBACK},{selectedIconProps:{inverted:!0},uuid:c.tf.CONDITIONAL},{uuid:c.tf.EXTENSION},{selectedBackgroundColor:null,uuid:c.tf.DBT},{selectedIconProps:{inverted:!0},uuid:c.tf.MARKDOWN}].map((function(t){var n=t.uuid,e=(0,o.Z)(t,l);return O({Icon:S[n],filterTemplates:function(t){return null===t||void 0===t?void 0:t.filter((function(t){return t.block_type===n}))},label:function(){return c.V4[n]},selectedBackgroundColor:function(t){return(0,s.qn)(n,{theme:t}).accent},uuid:n},e)}))),g=[{Icon:f.zQ,uuid:"All templates"}].concat([{Icon:f.X5,uuid:a.qL.PYTHON},{Icon:f.ZG,uuid:a.qL.INTEGRATION},{Icon:u.Z,uuid:a.qL.STREAMING}].map((function(t){var n=t.uuid,e=(0,o.Z)(t,p);return O({filterTemplates:function(t){return null===t||void 0===t?void 0:t.filter((function(t){var e;return(null===t||void 0===t||null===(e=t.pipeline)||void 0===e?void 0:e.type)===n}))},label:function(){return a.G7[n]},uuid:n},e)})))},89706:function(t,n,e){e.d(n,{JD:function(){return S},Lu:function(){return u},PF:function(){return C},aZ:function(){return i},d2:function(){return O},dT:function(){return c},n6:function(){return s},nB:function(){return P},oy:function(){return T},tE:function(){return l},xF:function(){return d}});var r,o,i,u,c,f=e(82394),a=e(44425);!function(t){t.DBT="dbt"}(i||(i={})),function(t){t.CSV="csv",t.JSON="json",t.MD="md",t.PY="py",t.R="r",t.SH="sh",t.SQL="sql",t.TXT="txt",t.YAML="yaml",t.YML="yml"}(u||(u={})),function(t){t.INIT_PY="__init__.py",t.METADATA_YAML="metadata.yaml",t.REQS_TXT="requirements.txt"}(c||(c={}));var s=[u.PY,u.SQL],l=[u.MD,u.PY,u.R,u.SQL,u.YAML],p=[u.JSON,u.MD,u.PY,u.R,u.SH,u.SQL,u.TXT,u.YAML,u.YML],d=new RegExp(p.map((function(t){return".".concat(t,"$")})).join("|")),O=new RegExp([u.CSV,u.JSON,u.MD,u.PY,u.R,u.SH,u.SQL,u.TXT,u.YAML,u.YML].map((function(t){return".".concat(t,"$")})).join("|")),C="charts",T="pipelines",P=(r={},(0,f.Z)(r,u.MD,a.t6.MARKDOWN),(0,f.Z)(r,u.JSON,u.JSON),(0,f.Z)(r,u.PY,a.t6.PYTHON),(0,f.Z)(r,u.R,a.t6.R),(0,f.Z)(r,u.SQL,a.t6.SQL),(0,f.Z)(r,u.TXT,"text"),(0,f.Z)(r,u.YAML,a.t6.YAML),(0,f.Z)(r,u.YML,a.t6.YAML),r),S=(o={},(0,f.Z)(o,a.t6.MARKDOWN,u.MD),(0,f.Z)(o,a.t6.PYTHON,u.PY),(0,f.Z)(o,a.t6.R,u.R),(0,f.Z)(o,a.t6.SQL,u.SQL),(0,f.Z)(o,a.t6.YAML,u.YAML),(0,f.Z)(o,"text",u.TXT),o)},72098:function(t,n,e){var r;e.d(n,{U:function(){return r}}),function(t){t.PYSPARK="pysparkkernel",t.PYTHON3="python3"}(r||(r={}))},57653:function(t,n,e){e.d(n,{$1:function(){return C},G7:function(){return S},LM:function(){return A},Mj:function(){return g},QK:function(){return O},RH:function(){return P},a_:function(){return N},fj:function(){return h},kA:function(){return y},qL:function(){return c},r0:function(){return T}});var r,o,i,u,c,f=e(75582),a=e(82394),s=e(72473),l=e(72098);function p(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function d(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?p(Object(e),!0).forEach((function(n){(0,a.Z)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):p(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}!function(t){t.INTEGRATION="integration",t.PYTHON="python",t.PYSPARK="pyspark",t.STREAMING="streaming"}(c||(c={}));var O,C,T,P=(r={},(0,a.Z)(r,c.INTEGRATION,"Integration"),(0,a.Z)(r,c.PYTHON,"Python"),(0,a.Z)(r,c.PYSPARK,"PySpark"),(0,a.Z)(r,c.STREAMING,"Streaming"),r),S=(o={},(0,a.Z)(o,c.INTEGRATION,"Integration"),(0,a.Z)(o,c.PYTHON,"Standard"),(0,a.Z)(o,c.PYSPARK,"PySpark"),(0,a.Z)(o,c.STREAMING,"Streaming"),o),A="all",g=(c.PYTHON,c.INTEGRATION,c.STREAMING,i={},(0,a.Z)(i,A,s.ie),(0,a.Z)(i,c.INTEGRATION,s.YC),(0,a.Z)(i,c.PYTHON,s.El),(0,a.Z)(i,c.STREAMING,s.dB),i);!function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.NO_SCHEDULES="no_schedules",t.RETRY="retry",t.RETRY_INCOMPLETE_BLOCK_RUNS="retry_incomplete_block_runs"}(O||(O={})),function(t){t.GROUP="group_by",t.HISTORY_DAYS="from_history_days",t.NO_TAGS="no_tags",t.SEARCH="search",t.STATUS="status[]",t.TAG="tag[]",t.TYPE="type[]"}(C||(C={})),function(t){t.STATUS="status",t.TAG="tag",t.TYPE="type"}(T||(T={}));var y=[O.ACTIVE,O.INACTIVE,O.NO_SCHEDULES],N=(u={},(0,a.Z)(u,c.PYTHON,l.U.PYTHON3),(0,a.Z)(u,c.PYSPARK,l.U.PYSPARK),u),h=Object.entries(N).reduce((function(t,n){var e=(0,f.Z)(n,2),r=e[0],o=e[1];return d(d({},t),{},(0,a.Z)({},o,r))}),{})},35185:function(t,n,e){var r=e(82394),o=e(91835),i=(e(82684),e(38626)),u=e(44897),c=e(42631),f=e(70515),a=e(28598);function s(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function l(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?s(Object(e),!0).forEach((function(n){(0,r.Z)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):s(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var p=i.default.div.withConfig({displayName:"ProgressBar__ProgressBarContainerStyle",componentId:"sc-10x9ojc-0"})(["border-radius:","px;height:","px;overflow:hidden;position:relative;width:100%;",""],c.BG,.75*f.iI,(function(t){return"\n background-color: ".concat((t.theme.monotone||u.Z.monotone).grey200,";\n ")})),d=i.default.div.withConfig({displayName:"ProgressBar__ProgressBarStyle",componentId:"sc-10x9ojc-1"})(["height:inherit;position:absolute;"," "," "," ",""],(function(t){return!t.danger&&"\n background-color: ".concat((t.theme.progress||u.Z.progress).positive,";\n ")}),(function(t){return t.progress&&"\n width: ".concat(t.progress,"%;\n ")}),(function(t){return t.danger&&"\n background-color: ".concat((t.theme.progress||u.Z.progress).negative,";\n ")}),(function(t){return t.animateProgress&&"\n animation: animate-progress ".concat(t.animateProgress.duration,"ms linear forwards;\n\n @keyframes animate-progress {\n 0% {\n width: ").concat(t.animateProgress.start,"%;\n }\n\n 100% {\n width: ").concat(t.animateProgress.end,"%;\n }\n }\n ")}));n.Z=function(t){var n=(0,o.Z)({},t);return(0,a.jsx)(p,l(l({},n),{},{children:(0,a.jsx)(d,l({},n))}))}},13507:function(t,n,e){var r=e(28598);n.Z=function(t){var n=t.fill,e=void 0===n?"white":n,o=t.size;return(0,r.jsxs)("svg",{fill:"none",height:o,viewBox:"0 0 20 20",width:o,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_11802_82850)",children:[(0,r.jsx)("path",{d:"M15.6276 1.73378C15.97 1.96689 16.022 2.44136 15.7638 2.76532C15.5057 3.08929 15.0355 3.13958 14.69 2.91102C13.3636 2.0334 11.8126 1.54269 10.2126 1.50266C8.36175 1.45636 6.54643 2.01561 5.04253 3.09541C3.53863 4.1752 2.4284 5.71649 1.8806 7.48498C1.40702 9.01387 1.37618 10.6403 1.7837 12.1777C1.88982 12.5781 1.69185 13.0076 1.30237 13.1486C0.912892 13.2896 0.479935 13.0887 0.368517 12.6897C-0.147093 10.8435 -0.122519 8.88224 0.447763 7.04116C1.09223 4.96057 2.39838 3.14729 4.16768 1.87695C5.93697 0.606601 8.07265 -0.0513415 10.2501 0.00312922C12.1769 0.0513296 14.0431 0.655033 15.6276 1.73378Z",fill:e}),(0,r.jsx)("path",{d:"M13.2714 5.89383C13.5295 5.56986 13.4781 5.09341 13.1245 4.87771C12.2306 4.33247 11.2055 4.02828 10.15 4.00188C8.84359 3.9692 7.56218 4.36396 6.50061 5.12617C5.43903 5.88838 4.65534 6.97634 4.26866 8.22469C3.95628 9.23316 3.91679 10.3017 4.14767 11.323C4.23901 11.727 4.67403 11.928 5.06351 11.787C5.45299 11.6461 5.64766 11.216 5.57323 10.8086C5.44361 10.0989 5.48588 9.36461 5.70149 8.66852C5.9915 7.73226 6.57927 6.91628 7.37545 6.34463C8.17164 5.77297 9.13269 5.4769 10.1125 5.50141C10.841 5.51963 11.5503 5.71432 12.1813 6.06401C12.5436 6.26478 13.0133 6.2178 13.2714 5.89383Z",fill:e}),(0,r.jsx)("path",{clipRule:"evenodd",d:"M10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5ZM9 10C9 10.5523 9.44772 11 10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10Z",fill:e,fillRule:"evenodd"}),(0,r.jsx)("path",{d:"M6.87554 15.1223C6.52192 14.9066 6.47052 14.4301 6.72863 14.1062C6.98673 13.7822 7.45642 13.7352 7.81872 13.936C8.44971 14.2857 9.15897 14.4804 9.88746 14.4986C10.8673 14.5231 11.8284 14.227 12.6245 13.6554C13.4207 13.0837 14.0085 12.2677 14.2985 11.3315C14.5141 10.6354 14.5564 9.90111 14.4268 9.19144C14.3523 8.78397 14.547 8.35395 14.9365 8.21295C15.326 8.07196 15.761 8.27297 15.8523 8.67699C16.0832 9.69826 16.0437 10.7668 15.7313 11.7753C15.3447 13.0237 14.561 14.1116 13.4994 14.8738C12.4378 15.636 11.1564 16.0308 9.84995 15.9981C8.79455 15.9717 7.76942 15.6675 6.87554 15.1223Z",fill:e}),(0,r.jsx)("path",{d:"M4.23615 17.2347C3.97805 17.5586 4.03001 18.0331 4.37241 18.2662C5.95691 19.345 7.82314 19.9487 9.74992 19.9969C11.9274 20.0513 14.063 19.3934 15.8323 18.1231C17.6016 16.8527 18.9078 15.0394 19.5522 12.9588C20.1225 11.1178 20.1471 9.15647 19.6315 7.31026C19.5201 6.91131 19.0871 6.7104 18.6976 6.85139C18.3082 6.99238 18.1102 7.42188 18.2163 7.82227C18.6238 9.35971 18.593 10.9861 18.1194 12.515C17.5716 14.2835 16.4614 15.8248 14.9575 16.9046C13.4536 17.9844 11.6382 18.5436 9.78743 18.4973C8.18738 18.4573 6.63645 17.9666 5.30996 17.089C4.96451 16.8604 4.49426 16.9107 4.23615 17.2347Z",fill:e})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_11802_82850",children:(0,r.jsx)("rect",{fill:e,height:"20",width:"20"})})})]})}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3419],{23192:function(n,e,t){t.d(e,{fi:function(){return B},lG:function(){return Y}});var o=t(82394),r=t(75582),i=t(82684),u=t(12691),c=t.n(u),l=t(34376),a=t.n(l),d=t(38626),s=t(69864),p=t(40761),f=t(41143),v=t(71180),b=t(39867),h=t(55485),m=t(48670),g=t(57653),j=t(38276),O=t(75499),x=t(30160),y=t(12468),P=t(35686),Z=t(89706),k=t(11498),_=t(72473),S=t(81655),C=t(70515),w=t(3917),T=t(55283),L=t(86735),D=t(72619),R=t(74052),M=t(69419),I=t(70320),E=t(28598);function N(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function A(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?N(Object(t),!0).forEach((function(e){(0,o.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):N(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var Y=[0,1,3,4,5],B={0:"status",1:"block_uuid",3:"created_at",4:"started_at",5:"completed_at"};e.ZP=function(n){var e=n.blockRuns,t=n.onClickRow,o=n.pipeline,u=n.selectedRun,l=n.setErrors,N=n.sortableColumnIndexes,Y=(0,I.qB)(),B=(0,i.useContext)(d.ThemeContext),F=(0,i.useState)(null),U=F[0],X=F[1],H=(0,i.useState)(null),Q=H[0],G=H[1],z=o||{},J=z.uuid,K=z.type,q=(0,i.useMemo)((function(){return o.blocks||[]}),[o]),V=(0,i.useMemo)((function(){return(0,L.HK)(q,(function(n){return n.uuid}))}),[q]),$=(0,i.useMemo)((function(){return g.qL.INTEGRATION===K}),[K]),W=(0,i.useMemo)((function(){return g.qL.PYTHON===K}),[K]),nn=(0,M.iV)(),en=null===nn||void 0===nn?void 0:nn[S.lG.SORT_COL_IDX],tn=(0,i.useMemo)((function(){return en?{columnIndex:+en,sortDirection:(null===nn||void 0===nn?void 0:nn[S.lG.SORT_DIRECTION])||S.sh.ASC}:void 0}),[nn,en]),on=(0,i.useMemo)((function(){var n,e;return null===(n=new p.Z)||void 0===n||null===(e=n.decodedToken)||void 0===e?void 0:e.token}),[]),rn=(0,s.Db)((function(n){var e=n.blockUUID,t=n.pipelineRunId;return P.ZP.block_outputs.pipelines.downloads.detailAsync(null===o||void 0===o?void 0:o.uuid,e,{pipeline_run_id:t,token:on},{onDownloadProgress:function(n){return X((Number((null===n||void 0===n?void 0:n.loaded)||0)/1e6).toFixed(3))},responseType:k.Eg.BLOB})}),{onSuccess:function(n){return(0,D.wD)(n,{callback:function(n){G(null),(0,R.uS)(n,"block_output.".concat(Z.Lu.CSV))},onErrorCallback:function(n,e){return null===l||void 0===l?void 0:l({errors:e,response:n})}})}}),un=(0,r.Z)(rn,2),cn=un[0],ln=un[1].isLoading,an=Y?S.O$:{},dn=[{uuid:"Status"},{uuid:"Block"},{uuid:"Trigger"},A(A({},an),{},{uuid:"Created at"}),A(A({},an),{},{uuid:"Started at"}),A(A({},an),{},{uuid:"Completed at"}),{uuid:"Logs"}];return W&&dn.push({uuid:"Output"}),(0,E.jsx)(O.Z,{columnFlex:[1,2,2,1,1,1,null,null],columns:dn,isSelectedRow:function(n){return e[n].id===(null===u||void 0===u?void 0:u.id)},onClickRow:t,rows:null===e||void 0===e?void 0:e.map((function(n){var e,t,o,r,u=n||{},l=u.block_uuid,d=u.completed_at,s=u.created_at,p=u.id,g=u.pipeline_run_id,O=u.pipeline_schedule_id,P=u.pipeline_schedule_name,Z=u.started_at,k=u.status,L=l,D=L.split(":"),R=Q===p&&ln;$&&(L=D[0],o=D[1],r=D[2]);var M=V[L];M||(M=V[D[0]]);var I=[(0,i.createElement)(x.ZP,A(A({},(0,S.NC)(k)),{},{key:"".concat(p,"_status")}),k),(0,E.jsx)(c(),{as:"/pipelines/".concat(J,"/edit?block_uuid=").concat(L),href:"/pipelines/[pipeline]/edit",passHref:!0,children:(0,E.jsxs)(m.Z,{bold:!0,fitContentWidth:!0,verticalAlignContent:!0,children:[(0,E.jsx)(b.Z,{color:(0,T.qn)(null===(e=M)||void 0===e?void 0:e.type,{blockColor:null===(t=M)||void 0===t?void 0:t.color,theme:B}).accent,size:1.5*C.iI,square:!0}),(0,E.jsx)(j.Z,{mr:1}),(0,E.jsxs)(x.ZP,{monospace:!0,sky:!0,children:[L,o&&":",o&&(0,E.jsx)(x.ZP,{default:!0,inline:!0,monospace:!0,children:o}),r>=0&&":",r>=0&&(0,E.jsx)(x.ZP,{default:!0,inline:!0,monospace:!0,children:r})]})]})},"".concat(p,"_block_uuid")),(0,E.jsx)(c(),{as:"/pipelines/".concat(J,"/triggers/").concat(O),href:"/pipelines/[pipeline]/triggers/[...slug]",passHref:!0,children:(0,E.jsx)(m.Z,{bold:!0,sky:!0,children:P})},"".concat(p,"_trigger")),(0,E.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,title:s?(0,w._6)(s):null,children:Y?(0,w.XG)(s,Y):(0,w.d$)(s,{includeSeconds:!0})},"".concat(p,"_created_at")),(0,E.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,title:Z?(0,w._6)(Z):null,children:Z?Y?(0,w.XG)(Z,Y):(0,w.d$)(Z,{includeSeconds:!0}):(0,E.jsx)(E.Fragment,{children:"\u2014"})},"".concat(p,"_started_at")),(0,E.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,title:d?(0,w._6)(d):null,children:d?Y?(0,w.XG)(d,Y):(0,w.d$)(d,{includeSeconds:!0}):(0,E.jsx)(E.Fragment,{children:"\u2014"})},"".concat(p,"_completed_at")),(0,E.jsx)(v.ZP,{default:!0,iconOnly:!0,noBackground:!0,onClick:function(){return a().push("/pipelines/".concat(J,"/logs?block_run_id[]=").concat(p))},children:(0,E.jsx)(_.UL,{default:!0,size:2*C.iI})},"".concat(p,"_logs"))];return W&&I.push((0,E.jsx)(h.ZP,{alignItems:"center",justifyContent:"center",children:(0,E.jsx)(y.Z,{appearBefore:!0,autoHide:!R,block:!0,forceVisible:R,label:R?"".concat(U||0,"mb downloaded..."):"Save block run output as CSV file (not supported for dynamic blocks)",size:null,children:(0,E.jsx)(v.ZP,{default:!0,disabled:!W||!(f.V.COMPLETED===k)||ln,iconOnly:!0,loading:R,noBackground:!0,onClick:function(){X(null),G(p),cn({blockUUID:L,pipelineRunId:g})},children:(0,E.jsx)(_.vc,{default:!0,size:2*C.iI})})})},"".concat(p,"_save_output"))),I})),sortableColumnIndexes:N,sortedColumn:tn,uuid:"block-runs"})}},74052:function(n,e,t){t.d(e,{Dp:function(){return g},OF:function(){return j},Q9:function(){return x},Rt:function(){return b},Rz:function(){return P},h8:function(){return O},k1:function(){return h},uS:function(){return y},zv:function(){return Z}});var o=t(21831),r=t(82394),i=t(92083),u=t.n(i),c=t(48339),l=t(53808),a=t(3917),d=t(86735),s=t(81728),p=t(70320);function f(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function v(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?f(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function b(n){var e={},t={};return null===n||void 0===n||n.forEach((function(n){var o=n.content,r=n.outputs,i=n.type,u=n.uuid;(null===r||void 0===r?void 0:r.length)>=1&&(e[u]=r.map((function(n){if("object"===typeof n){var e=n||{},t=e.sample_data,o=e.shape,r=e.text_data,i=e.type;return t?{data:v({shape:o},t),type:i}:r&&(0,s.Pb)(r)?JSON.parse(r):r}return{data:String(n),type:c.Gi.TEXT}}))),t[i]||(t[i]={}),t[i][u]=o})),{content:t,messages:e}}function h(n,e,t){n.forEach((function(n){(0,l.t8)("".concat(t,"/").concat(n.uuid,"/codeCollapsed"),(0,l.Od)("".concat(e,"/").concat(n.uuid,"/codeCollapsed"))),(0,l.t8)("".concat(t,"/").concat(n.uuid,"/outputCollapsed"),(0,l.Od)("".concat(e,"/").concat(n.uuid,"/outputCollapsed")))}))}function m(n){return"".concat(n,"/").concat(l.kP)}function g(n){return(0,l.U2)(m(n),[])}function j(n,e){var t=g(n);t.includes(e)||(0,l.t8)(m(n),[].concat((0,o.Z)(t),[e]))}function O(n,e){var t=g(n).filter((function(n){return n!==e}));(0,l.t8)(m(n),t)}function x(n,e){var t=(0,d.HK)(e,(function(n){return n.uuid}));return n.map((function(n){return t[n]})).filter((function(n){return!!n}))}var y=function(n,e){var t=window.URL.createObjectURL(n),o=document.createElement("a");o.href=t,o.download=e,document.body.appendChild(o),o.click(),o.remove()};function P(n,e){var t,o=(0,p.qB)(),r=null===e||void 0===e?void 0:e.isPipelineUpdating,i=null===e||void 0===e?void 0:e.pipelineContentTouched,c=null===e||void 0===e?void 0:e.pipelineLastSaved;if(i)t="Unsaved changes";else if(r)t="Saving changes...";else if(c){var l=u()().utc().unix();if(null!==e&&void 0!==e&&e.displayRelative&&l-c<3600){var d=u().unix(l-(l-c)).utc().fromNow();t="Saved ".concat(d)}else{var s=(0,a.JX)(c/1e3);null!==n&&void 0!==n&&n.updated_at&&(s=(0,a.XG)(null===n||void 0===n?void 0:n.updated_at,o)),t="Last saved ".concat(s)}}else t="All changes saved";return t}function Z(n){var e=n.type,t=n.uuid;return"".concat(e,"s/").concat(t,".py")}},8955:function(n,e,t){t.d(e,{G7:function(){return y},ZP:function(){return P},u$:function(){return j}});var o=t(75582),r=t(82394),i=t(26304),u=t(90299),c=t(9134),l=t(24138),a=t(38276),d=t(30160),s=t(75499),p=t(70515),f=t(16488),v=t(42122),b=t(28598),h=["height","heightOffset","pipeline","selectedRun","selectedTab","setSelectedTab"];function m(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function g(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?m(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var j=44,O={uuid:"Run details"},x={uuid:"Dependency tree"},y=[x,O];function P(n){var e=n.height,t=n.heightOffset,r=n.pipeline,m=n.selectedRun,P=n.selectedTab,Z=n.setSelectedTab,k=g({},(0,i.Z)(n,h));m?k.blockStatus=(0,f.IJ)(null===m||void 0===m?void 0:m.block_runs):k.noStatus=!0;var _=(0,v.Kn)(null===m||void 0===m?void 0:m.variables)?g({},null===m||void 0===m?void 0:m.variables):(null===m||void 0===m?void 0:m.variables)||{},S=null===m||void 0===m?void 0:m.event_variables;if(S&&(0,v.Kn)(S)&&!(0,v.Qr)(S))if((0,v.Kn)(_)&&_.hasOwnProperty("event")){var C=(0,v.Kn)(_.event)?_.event:{};_.event=g(g({},C),S)}else _.event=g({},S);var w=[];_&&JSON.stringify(_,null,2).split("\n").forEach((function(n){w.push(" ".concat(n))}));var T=m&&[["Run ID",null===m||void 0===m?void 0:m.id],["Variables",(0,b.jsx)(c.Z,{language:"json",small:!0,source:w.join("\n")},"variable_value")]],L=m&&(0,b.jsx)(a.Z,{pb:p.cd,px:p.cd,children:(0,b.jsx)(s.Z,{alignTop:!0,columnFlex:[null,1],columnMaxWidth:function(n){return 1===n?"100px":null},rows:T.map((function(n,e){var t=(0,o.Z)(n,2),r=t[0],i=t[1];return[(0,b.jsx)(d.ZP,{monospace:!0,muted:!0,children:r},"key_".concat(e)),(0,b.jsx)(d.ZP,{monospace:!0,textOverflow:!0,children:i},"val_".concat(e))]})),uuid:"LogDetail"})}),D=P&&Z;return(0,b.jsxs)(b.Fragment,{children:[D&&(0,b.jsx)(a.Z,{py:p.cd,children:(0,b.jsx)(u.Z,{onClickTab:Z,selectedTabUUID:null===P||void 0===P?void 0:P.uuid,tabs:y,underlineStyle:!0})}),(!D||x.uuid===(null===P||void 0===P?void 0:P.uuid))&&(0,b.jsx)(l.ZP,g(g({},k),{},{height:e,heightOffset:(t||0)+(D?j:0),pipeline:r})),O.uuid===(null===P||void 0===P?void 0:P.uuid)&&L]})}},55072:function(n,e,t){t.d(e,{Et:function(){return p},Q:function(){return s}});t(82684);var o=t(71180),r=t(55485),i=t(38276),u=t(31748),c=t(72473),l=t(79633),a=t(70515),d=t(28598),s=30,p=9;e.ZP=function(n){var e=n.page,t=n.maxPages,s=n.onUpdate,p=n.totalPages,f=[],v=t;if(v>p)f=Array.from({length:p},(function(n,e){return e}));else{var b=Math.floor(v/2),h=e-b;e+b>=p?(h=p-v+2,v-=2):e-b<=0?(h=0,v-=2):(v-=4,h=e-Math.floor(v/2)),f=Array.from({length:v},(function(n,e){return e+h}))}return(0,d.jsx)(d.Fragment,{children:p>0&&(0,d.jsxs)(r.ZP,{alignItems:"center",children:[(0,d.jsx)(o.ZP,{disabled:0===e,onClick:function(){return s(e-1)},children:(0,d.jsx)(c.Hd,{size:1.5*a.iI,stroke:u.Av})}),!f.includes(0)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.Z,{ml:1,children:(0,d.jsx)(o.ZP,{borderLess:!0,noBackground:!0,onClick:function(){return s(0)},children:1})},0),!f.includes(1)&&(0,d.jsx)(i.Z,{ml:1,children:(0,d.jsx)(o.ZP,{noBackground:!0,noPadding:!0,notClickable:!0,children:"..."})},0)]}),f.map((function(n){return(0,d.jsx)(i.Z,{ml:1,children:(0,d.jsx)(o.ZP,{backgroundColor:n===e&&l.a$,borderLess:!0,noBackground:!0,notClickable:n===e,onClick:function(){n!==e&&s(n)},children:n+1})},n)})),!f.includes(p-1)&&(0,d.jsxs)(d.Fragment,{children:[!f.includes(p-2)&&(0,d.jsx)(i.Z,{ml:1,children:(0,d.jsx)(o.ZP,{noBackground:!0,noPadding:!0,notClickable:!0,children:"..."})},0),(0,d.jsx)(i.Z,{ml:1,children:(0,d.jsx)(o.ZP,{borderLess:!0,noBackground:!0,onClick:function(){return s(p-1)},children:p})},p-1)]}),(0,d.jsx)(i.Z,{ml:1}),(0,d.jsx)(o.ZP,{disabled:e===p-1,onClick:function(){return s(e+1)},children:(0,d.jsx)(c.Kw,{size:1.5*a.iI,stroke:u.Av})})]})})}},89706:function(n,e,t){t.d(e,{JD:function(){return h},Lu:function(){return u},PF:function(){return f},aZ:function(){return i},dT:function(){return c},n6:function(){return d},nB:function(){return b},oy:function(){return v},xF:function(){return p}});var o,r,i,u,c,l=t(82394),a=t(44425);!function(n){n.DBT="dbt"}(i||(i={})),function(n){n.CSV="csv",n.JSON="json",n.MD="md",n.PY="py",n.R="r",n.SH="sh",n.SQL="sql",n.TXT="txt",n.YAML="yaml",n.YML="yml"}(u||(u={})),function(n){n.INIT_PY="__init__.py",n.METADATA_YAML="metadata.yaml",n.REQS_TXT="requirements.txt"}(c||(c={}));var d=[u.PY,u.SQL],s=[u.JSON,u.MD,u.PY,u.R,u.SH,u.SQL,u.TXT,u.YAML,u.YML],p=new RegExp(s.map((function(n){return".".concat(n,"$")})).join("|")),f=(new RegExp(s.map((function(n){return".".concat(n,"$")})).join("|")),"charts"),v="pipelines",b=(o={},(0,l.Z)(o,u.MD,a.t6.MARKDOWN),(0,l.Z)(o,u.JSON,u.JSON),(0,l.Z)(o,u.PY,a.t6.PYTHON),(0,l.Z)(o,u.R,a.t6.R),(0,l.Z)(o,u.SQL,a.t6.SQL),(0,l.Z)(o,u.TXT,"text"),(0,l.Z)(o,u.YAML,a.t6.YAML),(0,l.Z)(o,u.YML,a.t6.YAML),o),h=(r={},(0,l.Z)(r,a.t6.MARKDOWN,u.MD),(0,l.Z)(r,a.t6.PYTHON,u.PY),(0,l.Z)(r,a.t6.R,u.R),(0,l.Z)(r,a.t6.SQL,u.SQL),(0,l.Z)(r,a.t6.YAML,u.YAML),(0,l.Z)(r,"text",u.TXT),r)},9134:function(n,e,t){var o=t(82684),r=t(21124),i=t(68432),u=t(38626),c=t(65292),l=t(44897),a=t(95363),d=t(70515),s=t(28598);e.Z=function(n){var e=n.language,t=n.maxWidth,p=n.showLineNumbers,f=n.small,v=n.source,b=n.wrapLines,h=(0,o.useContext)(u.ThemeContext);function m(n){var o=n.value;return(0,s.jsx)(i.Z,{customStyle:{backgroundColor:(h.background||l.Z.background).popup,border:"none",borderRadius:"none",boxShadow:"none",fontFamily:a.Vp,fontSize:f?12:14,marginBottom:0,marginTop:0,maxWidth:t,paddingBottom:2*d.iI,paddingTop:2*d.iI},language:e,lineNumberStyle:{color:(h.content||l.Z.content).muted},showLineNumbers:p,style:c._4,useInlineStyles:!0,wrapLines:b,children:o})}return(0,s.jsx)(r.D,{components:{code:function(n){var e=n.children;return(0,s.jsx)(m,{value:e})}},children:v})}}}]);
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3419],{23192:function(n,e,t){t.d(e,{fi:function(){return B},lG:function(){return N}});var o=t(82394),r=t(75582),i=t(82684),u=t(12691),c=t.n(u),l=t(34376),a=t.n(l),d=t(38626),s=t(69864),p=t(40761),f=t(41143),v=t(71180),b=t(39867),h=t(55485),m=t(48670),g=t(57653),j=t(38276),O=t(75499),x=t(30160),y=t(12468),P=t(35686),Z=t(89706),k=t(11498),_=t(72473),S=t(81655),C=t(70515),L=t(3917),w=t(55283),T=t(86735),D=t(72619),R=t(74052),M=t(69419),E=t(70320),I=t(28598);function Y(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function A(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?Y(Object(t),!0).forEach((function(e){(0,o.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Y(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var N=[0,1,3,4,5],B={0:"status",1:"block_uuid",3:"created_at",4:"started_at",5:"completed_at"};e.ZP=function(n){var e=n.blockRuns,t=n.onClickRow,o=n.pipeline,u=n.selectedRun,l=n.setErrors,Y=n.sortableColumnIndexes,N=(0,E.qB)(),B=(0,i.useContext)(d.ThemeContext),F=(0,i.useState)(null),Q=F[0],U=F[1],X=(0,i.useState)(null),H=X[0],G=X[1],J=o||{},z=J.uuid,K=J.type,V=(0,i.useMemo)((function(){return o.blocks||[]}),[o]),q=(0,i.useMemo)((function(){return(0,T.HK)(V,(function(n){return n.uuid}))}),[V]),$=(0,i.useMemo)((function(){return g.qL.INTEGRATION===K}),[K]),W=(0,i.useMemo)((function(){return g.qL.PYTHON===K}),[K]),nn=(0,M.iV)(),en=null===nn||void 0===nn?void 0:nn[S.lG.SORT_COL_IDX],tn=(0,i.useMemo)((function(){return en?{columnIndex:+en,sortDirection:(null===nn||void 0===nn?void 0:nn[S.lG.SORT_DIRECTION])||S.sh.ASC}:void 0}),[nn,en]),on=(0,i.useMemo)((function(){var n,e;return null===(n=new p.Z)||void 0===n||null===(e=n.decodedToken)||void 0===e?void 0:e.token}),[]),rn=(0,s.Db)((function(n){var e=n.blockUUID,t=n.pipelineRunId;return P.ZP.block_outputs.pipelines.downloads.detailAsync(null===o||void 0===o?void 0:o.uuid,e,{pipeline_run_id:t,token:on},{onDownloadProgress:function(n){return U((Number((null===n||void 0===n?void 0:n.loaded)||0)/1e6).toFixed(3))},responseType:k.Eg.BLOB})}),{onSuccess:function(n){return(0,D.wD)(n,{callback:function(n){G(null),(0,R.uS)(n,"block_output.".concat(Z.Lu.CSV))},onErrorCallback:function(n,e){return null===l||void 0===l?void 0:l({errors:e,response:n})}})}}),un=(0,r.Z)(rn,2),cn=un[0],ln=un[1].isLoading,an=N?S.O$:{},dn=[{uuid:"Status"},{uuid:"Block"},{uuid:"Trigger"},A(A({},an),{},{uuid:"Created at"}),A(A({},an),{},{uuid:"Started at"}),A(A({},an),{},{uuid:"Completed at"}),{uuid:"Logs"}];return W&&dn.push({uuid:"Output"}),(0,I.jsx)(O.Z,{columnFlex:[1,2,2,1,1,1,null,null],columns:dn,isSelectedRow:function(n){return e[n].id===(null===u||void 0===u?void 0:u.id)},onClickRow:t,rows:null===e||void 0===e?void 0:e.map((function(n){var e,t,o,r,u=n||{},l=u.block_uuid,d=u.completed_at,s=u.created_at,p=u.id,g=u.pipeline_run_id,O=u.pipeline_schedule_id,P=u.pipeline_schedule_name,Z=u.started_at,k=u.status,T=l,D=T.split(":"),R=H===p&&ln;$&&(T=D[0],o=D[1],r=D[2]);var M=q[T];M||(M=q[D[0]]);var E=[(0,i.createElement)(x.ZP,A(A({},(0,S.NC)(k)),{},{key:"".concat(p,"_status")}),k),(0,I.jsx)(c(),{as:"/pipelines/".concat(z,"/edit?block_uuid=").concat(T),href:"/pipelines/[pipeline]/edit",passHref:!0,children:(0,I.jsxs)(m.Z,{bold:!0,fitContentWidth:!0,verticalAlignContent:!0,children:[(0,I.jsx)(b.Z,{color:(0,w.qn)(null===(e=M)||void 0===e?void 0:e.type,{blockColor:null===(t=M)||void 0===t?void 0:t.color,theme:B}).accent,size:1.5*C.iI,square:!0}),(0,I.jsx)(j.Z,{mr:1}),(0,I.jsxs)(x.ZP,{monospace:!0,sky:!0,children:[T,o&&":",o&&(0,I.jsx)(x.ZP,{default:!0,inline:!0,monospace:!0,children:o}),r>=0&&":",r>=0&&(0,I.jsx)(x.ZP,{default:!0,inline:!0,monospace:!0,children:r})]})]})},"".concat(p,"_block_uuid")),(0,I.jsx)(c(),{as:"/pipelines/".concat(z,"/triggers/").concat(O),href:"/pipelines/[pipeline]/triggers/[...slug]",passHref:!0,children:(0,I.jsx)(m.Z,{bold:!0,sky:!0,children:P})},"".concat(p,"_trigger")),(0,I.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,title:s?(0,L._6)(s):null,children:N?(0,L.XG)(s,N):(0,L.d$)(s,{includeSeconds:!0})},"".concat(p,"_created_at")),(0,I.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,title:Z?(0,L._6)(Z):null,children:Z?N?(0,L.XG)(Z,N):(0,L.d$)(Z,{includeSeconds:!0}):(0,I.jsx)(I.Fragment,{children:"\u2014"})},"".concat(p,"_started_at")),(0,I.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,title:d?(0,L._6)(d):null,children:d?N?(0,L.XG)(d,N):(0,L.d$)(d,{includeSeconds:!0}):(0,I.jsx)(I.Fragment,{children:"\u2014"})},"".concat(p,"_completed_at")),(0,I.jsx)(v.ZP,{default:!0,iconOnly:!0,noBackground:!0,onClick:function(){return a().push("/pipelines/".concat(z,"/logs?block_run_id[]=").concat(p))},children:(0,I.jsx)(_.UL,{default:!0,size:2*C.iI})},"".concat(p,"_logs"))];return W&&E.push((0,I.jsx)(h.ZP,{alignItems:"center",justifyContent:"center",children:(0,I.jsx)(y.Z,{appearBefore:!0,autoHide:!R,block:!0,forceVisible:R,label:R?"".concat(Q||0,"mb downloaded..."):"Save block run output as CSV file (not supported for dynamic blocks)",size:null,children:(0,I.jsx)(v.ZP,{default:!0,disabled:!W||!(f.V.COMPLETED===k)||ln,iconOnly:!0,loading:R,noBackground:!0,onClick:function(){U(null),G(p),cn({blockUUID:T,pipelineRunId:g})},children:(0,I.jsx)(_.vc,{default:!0,size:2*C.iI})})})},"".concat(p,"_save_output"))),E})),sortableColumnIndexes:Y,sortedColumn:tn,uuid:"block-runs"})}},74052:function(n,e,t){t.d(e,{Dp:function(){return g},OF:function(){return j},Q9:function(){return x},Rt:function(){return b},Rz:function(){return P},h8:function(){return O},k1:function(){return h},uS:function(){return y},zv:function(){return Z}});var o=t(21831),r=t(82394),i=t(92083),u=t.n(i),c=t(48339),l=t(53808),a=t(3917),d=t(86735),s=t(81728),p=t(70320);function f(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function v(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?f(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function b(n){var e={},t={};return null===n||void 0===n||n.forEach((function(n){var o=n.content,r=n.outputs,i=n.type,u=n.uuid;(null===r||void 0===r?void 0:r.length)>=1&&(e[u]=r.map((function(n){if("object"===typeof n){var e=n||{},t=e.sample_data,o=e.shape,r=e.text_data,i=e.type;return t?{data:v({shape:o},t),type:i}:r&&(0,s.Pb)(r)?JSON.parse(r):r}return{data:String(n),type:c.Gi.TEXT}}))),t[i]||(t[i]={}),t[i][u]=o})),{content:t,messages:e}}function h(n,e,t){n.forEach((function(n){(0,l.t8)("".concat(t,"/").concat(n.uuid,"/codeCollapsed"),(0,l.Od)("".concat(e,"/").concat(n.uuid,"/codeCollapsed"))),(0,l.t8)("".concat(t,"/").concat(n.uuid,"/outputCollapsed"),(0,l.Od)("".concat(e,"/").concat(n.uuid,"/outputCollapsed")))}))}function m(n){return"".concat(n,"/").concat(l.kP)}function g(n){return(0,l.U2)(m(n),[])}function j(n,e){var t=g(n);t.includes(e)||(0,l.t8)(m(n),[].concat((0,o.Z)(t),[e]))}function O(n,e){var t=g(n).filter((function(n){return n!==e}));(0,l.t8)(m(n),t)}function x(n,e){var t=(0,d.HK)(e,(function(n){return n.uuid}));return n.map((function(n){return t[n]})).filter((function(n){return!!n}))}var y=function(n,e){var t=window.URL.createObjectURL(n),o=document.createElement("a");o.href=t,o.download=e,document.body.appendChild(o),o.click(),o.remove()};function P(n,e){var t,o=(0,p.qB)(),r=null===e||void 0===e?void 0:e.isPipelineUpdating,i=null===e||void 0===e?void 0:e.pipelineContentTouched,c=null===e||void 0===e?void 0:e.pipelineLastSaved;if(i)t="Unsaved changes";else if(r)t="Saving changes...";else if(c){var l=u()().utc().unix();if(null!==e&&void 0!==e&&e.displayRelative&&l-c<3600){var d=u().unix(l-(l-c)).utc().fromNow();t="Saved ".concat(d)}else{var s=(0,a.JX)(c/1e3);null!==n&&void 0!==n&&n.updated_at&&(s=(0,a.XG)(null===n||void 0===n?void 0:n.updated_at,o)),t="Last saved ".concat(s)}}else t="All changes saved";return t}function Z(n){var e=n.type,t=n.uuid;return"".concat(e,"s/").concat(t,".py")}},8955:function(n,e,t){t.d(e,{G7:function(){return y},ZP:function(){return P},u$:function(){return j}});var o=t(75582),r=t(82394),i=t(26304),u=t(90299),c=t(9134),l=t(24138),a=t(38276),d=t(30160),s=t(75499),p=t(70515),f=t(16488),v=t(42122),b=t(28598),h=["height","heightOffset","pipeline","selectedRun","selectedTab","setSelectedTab"];function m(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,o)}return t}function g(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?m(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var j=44,O={uuid:"Run details"},x={uuid:"Dependency tree"},y=[x,O];function P(n){var e=n.height,t=n.heightOffset,r=n.pipeline,m=n.selectedRun,P=n.selectedTab,Z=n.setSelectedTab,k=g({},(0,i.Z)(n,h));m?k.blockStatus=(0,f.IJ)(null===m||void 0===m?void 0:m.block_runs):k.noStatus=!0;var _=(0,v.Kn)(null===m||void 0===m?void 0:m.variables)?g({},null===m||void 0===m?void 0:m.variables):(null===m||void 0===m?void 0:m.variables)||{},S=null===m||void 0===m?void 0:m.event_variables;if(S&&(0,v.Kn)(S)&&!(0,v.Qr)(S))if((0,v.Kn)(_)&&_.hasOwnProperty("event")){var C=(0,v.Kn)(_.event)?_.event:{};_.event=g(g({},C),S)}else _.event=g({},S);var L=[];_&&JSON.stringify(_,null,2).split("\n").forEach((function(n){L.push(" ".concat(n))}));var w=m&&[["Run ID",null===m||void 0===m?void 0:m.id],["Variables",(0,b.jsx)(c.Z,{language:"json",small:!0,source:L.join("\n")},"variable_value")]],T=m&&(0,b.jsx)(a.Z,{pb:p.cd,px:p.cd,children:(0,b.jsx)(s.Z,{alignTop:!0,columnFlex:[null,1],columnMaxWidth:function(n){return 1===n?"100px":null},rows:w.map((function(n,e){var t=(0,o.Z)(n,2),r=t[0],i=t[1];return[(0,b.jsx)(d.ZP,{monospace:!0,muted:!0,children:r},"key_".concat(e)),(0,b.jsx)(d.ZP,{monospace:!0,textOverflow:!0,children:i},"val_".concat(e))]})),uuid:"LogDetail"})}),D=P&&Z;return(0,b.jsxs)(b.Fragment,{children:[D&&(0,b.jsx)(a.Z,{py:p.cd,children:(0,b.jsx)(u.Z,{onClickTab:Z,selectedTabUUID:null===P||void 0===P?void 0:P.uuid,tabs:y,underlineStyle:!0})}),(!D||x.uuid===(null===P||void 0===P?void 0:P.uuid))&&(0,b.jsx)(l.ZP,g(g({},k),{},{height:e,heightOffset:(t||0)+(D?j:0),pipeline:r})),O.uuid===(null===P||void 0===P?void 0:P.uuid)&&T]})}},55072:function(n,e,t){t.d(e,{Et:function(){return p},Q:function(){return s}});t(82684);var o=t(71180),r=t(55485),i=t(38276),u=t(31748),c=t(72473),l=t(79633),a=t(70515),d=t(28598),s=30,p=9;e.ZP=function(n){var e=n.page,t=n.maxPages,s=n.onUpdate,p=n.totalPages,f=[],v=t;if(v>p)f=Array.from({length:p},(function(n,e){return e}));else{var b=Math.floor(v/2),h=e-b;e+b>=p?(h=p-v+2,v-=2):e-b<=0?(h=0,v-=2):(v-=4,h=e-Math.floor(v/2)),f=Array.from({length:v},(function(n,e){return e+h}))}return(0,d.jsx)(d.Fragment,{children:p>0&&(0,d.jsxs)(r.ZP,{alignItems:"center",children:[(0,d.jsx)(o.ZP,{disabled:0===e,onClick:function(){return s(e-1)},children:(0,d.jsx)(c.Hd,{size:1.5*a.iI,stroke:u.Av})}),!f.includes(0)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.Z,{ml:1,children:(0,d.jsx)(o.ZP,{borderLess:!0,noBackground:!0,onClick:function(){return s(0)},children:1})},0),!f.includes(1)&&(0,d.jsx)(i.Z,{ml:1,children:(0,d.jsx)(o.ZP,{noBackground:!0,noPadding:!0,notClickable:!0,children:"..."})},0)]}),f.map((function(n){return(0,d.jsx)(i.Z,{ml:1,children:(0,d.jsx)(o.ZP,{backgroundColor:n===e&&l.a$,borderLess:!0,noBackground:!0,notClickable:n===e,onClick:function(){n!==e&&s(n)},children:n+1})},n)})),!f.includes(p-1)&&(0,d.jsxs)(d.Fragment,{children:[!f.includes(p-2)&&(0,d.jsx)(i.Z,{ml:1,children:(0,d.jsx)(o.ZP,{noBackground:!0,noPadding:!0,notClickable:!0,children:"..."})},0),(0,d.jsx)(i.Z,{ml:1,children:(0,d.jsx)(o.ZP,{borderLess:!0,noBackground:!0,onClick:function(){return s(p-1)},children:p})},p-1)]}),(0,d.jsx)(i.Z,{ml:1}),(0,d.jsx)(o.ZP,{disabled:e===p-1,onClick:function(){return s(e+1)},children:(0,d.jsx)(c.Kw,{size:1.5*a.iI,stroke:u.Av})})]})})}},89706:function(n,e,t){t.d(e,{JD:function(){return g},Lu:function(){return u},PF:function(){return b},aZ:function(){return i},d2:function(){return v},dT:function(){return c},n6:function(){return d},nB:function(){return m},oy:function(){return h},tE:function(){return s},xF:function(){return f}});var o,r,i,u,c,l=t(82394),a=t(44425);!function(n){n.DBT="dbt"}(i||(i={})),function(n){n.CSV="csv",n.JSON="json",n.MD="md",n.PY="py",n.R="r",n.SH="sh",n.SQL="sql",n.TXT="txt",n.YAML="yaml",n.YML="yml"}(u||(u={})),function(n){n.INIT_PY="__init__.py",n.METADATA_YAML="metadata.yaml",n.REQS_TXT="requirements.txt"}(c||(c={}));var d=[u.PY,u.SQL],s=[u.MD,u.PY,u.R,u.SQL,u.YAML],p=[u.JSON,u.MD,u.PY,u.R,u.SH,u.SQL,u.TXT,u.YAML,u.YML],f=new RegExp(p.map((function(n){return".".concat(n,"$")})).join("|")),v=new RegExp([u.CSV,u.JSON,u.MD,u.PY,u.R,u.SH,u.SQL,u.TXT,u.YAML,u.YML].map((function(n){return".".concat(n,"$")})).join("|")),b="charts",h="pipelines",m=(o={},(0,l.Z)(o,u.MD,a.t6.MARKDOWN),(0,l.Z)(o,u.JSON,u.JSON),(0,l.Z)(o,u.PY,a.t6.PYTHON),(0,l.Z)(o,u.R,a.t6.R),(0,l.Z)(o,u.SQL,a.t6.SQL),(0,l.Z)(o,u.TXT,"text"),(0,l.Z)(o,u.YAML,a.t6.YAML),(0,l.Z)(o,u.YML,a.t6.YAML),o),g=(r={},(0,l.Z)(r,a.t6.MARKDOWN,u.MD),(0,l.Z)(r,a.t6.PYTHON,u.PY),(0,l.Z)(r,a.t6.R,u.R),(0,l.Z)(r,a.t6.SQL,u.SQL),(0,l.Z)(r,a.t6.YAML,u.YAML),(0,l.Z)(r,"text",u.TXT),r)},9134:function(n,e,t){var o=t(82684),r=t(21124),i=t(68432),u=t(38626),c=t(65292),l=t(44897),a=t(95363),d=t(70515),s=t(28598);e.Z=function(n){var e=n.language,t=n.maxWidth,p=n.showLineNumbers,f=n.small,v=n.source,b=n.wrapLines,h=(0,o.useContext)(u.ThemeContext);function m(n){var o=n.value;return(0,s.jsx)(i.Z,{customStyle:{backgroundColor:(h.background||l.Z.background).popup,border:"none",borderRadius:"none",boxShadow:"none",fontFamily:a.Vp,fontSize:f?12:14,marginBottom:0,marginTop:0,maxWidth:t,paddingBottom:2*d.iI,paddingTop:2*d.iI},language:e,lineNumberStyle:{color:(h.content||l.Z.content).muted},showLineNumbers:p,style:c._4,useInlineStyles:!0,wrapLines:b,children:o})}return(0,s.jsx)(r.D,{components:{code:function(n){var e=n.children;return(0,s.jsx)(m,{value:e})}},children:v})}}}]);