mage-ai 0.9.58__py3-none-any.whl → 0.9.59__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 (682) hide show
  1. mage_ai/api/logging.py +11 -7
  2. mage_ai/api/policies/BlockPolicy.py +1 -0
  3. mage_ai/api/policies/CommandCenterItemPolicy.py +56 -0
  4. mage_ai/api/policies/CustomTemplatePolicy.py +0 -3
  5. mage_ai/api/policies/GitBranchPolicy.py +8 -1
  6. mage_ai/api/policies/GitFilePolicy.py +1 -0
  7. mage_ai/api/policies/PipelinePolicy.py +2 -0
  8. mage_ai/api/policies/PipelineSchedulePolicy.py +1 -0
  9. mage_ai/api/policies/VersionControlBranchPolicy.py +98 -0
  10. mage_ai/api/policies/VersionControlFilePolicy.py +96 -0
  11. mage_ai/api/policies/VersionControlProjectPolicy.py +92 -0
  12. mage_ai/api/policies/VersionControlRemotePolicy.py +94 -0
  13. mage_ai/api/presenters/CommandCenterItemPresenter.py +19 -0
  14. mage_ai/api/presenters/GitBranchPresenter.py +2 -0
  15. mage_ai/api/presenters/GitCustomBranchPresenter.py +1 -0
  16. mage_ai/api/presenters/PipelinePresenter.py +5 -5
  17. mage_ai/api/presenters/PipelineSchedulePresenter.py +4 -0
  18. mage_ai/api/presenters/VersionControlBranchPresenter.py +15 -0
  19. mage_ai/api/presenters/VersionControlFilePresenter.py +15 -0
  20. mage_ai/api/presenters/VersionControlProjectPresenter.py +14 -0
  21. mage_ai/api/presenters/VersionControlRemotePresenter.py +15 -0
  22. mage_ai/api/resources/BlockResource.py +110 -80
  23. mage_ai/api/resources/CommandCenterItemResource.py +29 -0
  24. mage_ai/api/resources/FileResource.py +15 -1
  25. mage_ai/api/resources/FolderResource.py +2 -1
  26. mage_ai/api/resources/GitBranchResource.py +183 -108
  27. mage_ai/api/resources/GitCustomBranchResource.py +9 -2
  28. mage_ai/api/resources/GitFileResource.py +26 -13
  29. mage_ai/api/resources/KernelResource.py +9 -1
  30. mage_ai/api/resources/LogResource.py +1 -1
  31. mage_ai/api/resources/OauthResource.py +4 -5
  32. mage_ai/api/resources/PipelineResource.py +71 -38
  33. mage_ai/api/resources/PipelineRunResource.py +7 -2
  34. mage_ai/api/resources/PullRequestResource.py +12 -3
  35. mage_ai/api/resources/SearchResultResource.py +4 -4
  36. mage_ai/api/resources/VersionControlBranchResource.py +85 -0
  37. mage_ai/api/resources/VersionControlFileResource.py +65 -0
  38. mage_ai/api/resources/VersionControlProjectResource.py +46 -0
  39. mage_ai/api/resources/VersionControlRemoteResource.py +64 -0
  40. mage_ai/authentication/oauth/constants.py +13 -16
  41. mage_ai/authentication/operation_history/models.py +11 -32
  42. mage_ai/authentication/operation_history/utils.py +14 -14
  43. mage_ai/authentication/permissions/constants.py +5 -0
  44. mage_ai/authentication/providers/active_directory.py +2 -2
  45. mage_ai/authentication/providers/bitbucket.py +2 -2
  46. mage_ai/authentication/providers/constants.py +6 -12
  47. mage_ai/authentication/providers/ghe.py +2 -2
  48. mage_ai/authentication/providers/google.py +2 -2
  49. mage_ai/authentication/providers/okta.py +2 -2
  50. mage_ai/cache/base.py +11 -3
  51. mage_ai/cache/block.py +116 -32
  52. mage_ai/cache/block_action_object/__init__.py +52 -43
  53. mage_ai/cache/constants.py +1 -0
  54. mage_ai/cache/file.py +114 -0
  55. mage_ai/cache/pipeline.py +34 -8
  56. mage_ai/cache/tag.py +51 -10
  57. mage_ai/cache/utils.py +44 -3
  58. mage_ai/cluster_manager/kubernetes/workload_manager.py +9 -1
  59. mage_ai/command_center/__init__.py +0 -0
  60. mage_ai/command_center/applications/__init__.py +0 -0
  61. mage_ai/command_center/applications/constants.py +96 -0
  62. mage_ai/command_center/applications/factory.py +54 -0
  63. mage_ai/command_center/blocks/__init__.py +0 -0
  64. mage_ai/command_center/blocks/factory.py +39 -0
  65. mage_ai/command_center/blocks/utils.py +127 -0
  66. mage_ai/command_center/constants.py +66 -0
  67. mage_ai/command_center/factory.py +161 -0
  68. mage_ai/command_center/files/__init__.py +0 -0
  69. mage_ai/command_center/files/constants.py +235 -0
  70. mage_ai/command_center/files/factory.py +86 -0
  71. mage_ai/command_center/models.py +442 -0
  72. mage_ai/command_center/pipeline_runs/__init__.py +0 -0
  73. mage_ai/command_center/pipeline_runs/utils.py +141 -0
  74. mage_ai/command_center/pipelines/__init__.py +0 -0
  75. mage_ai/command_center/pipelines/constants.py +118 -0
  76. mage_ai/command_center/pipelines/factory.py +132 -0
  77. mage_ai/command_center/pipelines/utils.py +120 -0
  78. mage_ai/command_center/service.py +45 -0
  79. mage_ai/command_center/settings.py +37 -0
  80. mage_ai/command_center/support/__init__.py +0 -0
  81. mage_ai/command_center/support/constants.py +46 -0
  82. mage_ai/command_center/triggers/__init__.py +0 -0
  83. mage_ai/command_center/triggers/factory.py +49 -0
  84. mage_ai/command_center/triggers/utils.py +463 -0
  85. mage_ai/command_center/utils.py +30 -0
  86. mage_ai/data_preparation/executors/azure_container_instance_executor.py +1 -1
  87. mage_ai/data_preparation/executors/block_executor.py +68 -19
  88. mage_ai/data_preparation/executors/ecs_block_executor.py +2 -2
  89. mage_ai/data_preparation/executors/executor_factory.py +2 -0
  90. mage_ai/data_preparation/executors/gcp_cloud_run_block_executor.py +1 -1
  91. mage_ai/data_preparation/executors/k8s_block_executor.py +2 -2
  92. mage_ai/data_preparation/executors/pyspark_block_executor.py +7 -1
  93. mage_ai/data_preparation/git/__init__.py +29 -11
  94. mage_ai/data_preparation/git/api.py +14 -13
  95. mage_ai/data_preparation/git/clients/base.py +4 -8
  96. mage_ai/data_preparation/git/clients/github.py +1 -0
  97. mage_ai/data_preparation/git/utils.py +5 -7
  98. mage_ai/data_preparation/models/block/__init__.py +556 -329
  99. mage_ai/data_preparation/models/block/content.py +111 -0
  100. mage_ai/data_preparation/models/block/data_integration/mixins.py +1 -0
  101. mage_ai/data_preparation/models/block/dbt/block.py +29 -19
  102. mage_ai/data_preparation/models/block/dbt/block_sql.py +50 -260
  103. mage_ai/data_preparation/models/block/dbt/block_yaml.py +74 -156
  104. mage_ai/data_preparation/models/block/dbt/dbt_adapter.py +22 -10
  105. mage_ai/data_preparation/models/block/dbt/profiles.py +19 -15
  106. mage_ai/data_preparation/models/block/dbt/project.py +3 -0
  107. mage_ai/data_preparation/models/block/dynamic/constants.py +0 -0
  108. mage_ai/data_preparation/models/block/dynamic/dynamic_child.py +507 -47
  109. mage_ai/data_preparation/models/block/dynamic/utils.py +432 -1
  110. mage_ai/data_preparation/models/block/platform/mixins.py +68 -44
  111. mage_ai/data_preparation/models/block/r/__init__.py +19 -9
  112. mage_ai/data_preparation/models/block/sql/__init__.py +34 -20
  113. mage_ai/data_preparation/models/block/sql/utils/shared.py +4 -1
  114. mage_ai/data_preparation/models/block/utils.py +176 -71
  115. mage_ai/data_preparation/models/constants.py +7 -0
  116. mage_ai/data_preparation/models/file.py +21 -2
  117. mage_ai/data_preparation/models/pipeline.py +20 -8
  118. mage_ai/data_preparation/models/project/__init__.py +12 -7
  119. mage_ai/data_preparation/models/project/constants.py +1 -0
  120. mage_ai/data_preparation/models/triggers/__init__.py +7 -0
  121. mage_ai/data_preparation/models/utils.py +20 -0
  122. mage_ai/data_preparation/models/variable.py +113 -15
  123. mage_ai/data_preparation/shared/utils.py +6 -3
  124. mage_ai/data_preparation/storage/base_storage.py +17 -0
  125. mage_ai/data_preparation/storage/gcs_storage.py +4 -0
  126. mage_ai/data_preparation/storage/local_storage.py +15 -0
  127. mage_ai/data_preparation/storage/s3_storage.py +4 -0
  128. mage_ai/data_preparation/templates/data_exporters/qdrant.py +0 -1
  129. mage_ai/data_preparation/templates/data_loaders/qdrant.py +2 -1
  130. mage_ai/data_preparation/variable_manager.py +1 -0
  131. mage_ai/io/base.py +4 -1
  132. mage_ai/io/bigquery.py +25 -16
  133. mage_ai/io/clickhouse.py +3 -0
  134. mage_ai/io/druid.py +3 -0
  135. mage_ai/io/mongodb.py +1 -1
  136. mage_ai/io/pinot.py +3 -0
  137. mage_ai/io/postgres.py +13 -0
  138. mage_ai/io/snowflake.py +4 -0
  139. mage_ai/io/spark.py +8 -3
  140. mage_ai/io/sql.py +6 -0
  141. mage_ai/orchestration/db/__init__.py +26 -19
  142. mage_ai/orchestration/db/cache.py +4 -3
  143. mage_ai/orchestration/db/models/schedules.py +72 -16
  144. mage_ai/orchestration/db/models/schedules_project_platform.py +2 -3
  145. mage_ai/orchestration/pipeline_scheduler_original.py +19 -11
  146. mage_ai/orchestration/pipeline_scheduler_project_platform.py +20 -11
  147. mage_ai/presenters/interactions/constants.py +1 -0
  148. mage_ai/presenters/interactions/models.py +4 -3
  149. mage_ai/presenters/pages/models/client_pages/pipeline_schedules.py +1 -1
  150. mage_ai/server/constants.py +1 -1
  151. mage_ai/server/frontend_dist/404.html +11 -11
  152. mage_ai/server/frontend_dist/_next/static/PPQxHOmWVJ0iQFzG2rc8m/_buildManifest.js +1 -0
  153. mage_ai/server/frontend_dist/_next/static/chunks/1235.c9ed47779baccc05.js +1 -0
  154. mage_ai/server/frontend_dist/_next/static/chunks/125-029194ff22eb33a5.js +1 -0
  155. mage_ai/server/frontend_dist/_next/static/chunks/1557-4f7485c2e2228f77.js +1 -0
  156. mage_ai/server/frontend_dist/_next/static/chunks/2474-8e702cea23ddd16d.js +1 -0
  157. mage_ai/server/frontend_dist/_next/static/chunks/2479-727fa69ee9be6fab.js +1 -0
  158. mage_ai/server/frontend_dist/_next/static/chunks/26-38bc9380422f3900.js +1 -0
  159. mage_ai/server/frontend_dist/_next/static/chunks/2717-3e7ea8543b3825b7.js +1 -0
  160. mage_ai/server/frontend_dist/_next/static/chunks/3366-420721116ea5a665.js +1 -0
  161. mage_ai/server/frontend_dist/_next/static/chunks/3449-a9c98239582cd6f0.js +1 -0
  162. mage_ai/server/frontend_dist/_next/static/chunks/3548-13563a1ff815f922.js +1 -0
  163. mage_ai/server/frontend_dist/_next/static/chunks/3943-9e0a8ba0db34b35f.js +1 -0
  164. mage_ai/server/frontend_dist/_next/static/chunks/4371-ef23f95888d6cd11.js +1 -0
  165. mage_ai/server/frontend_dist/_next/static/chunks/4632.a4171dbf46b31c7c.js +1 -0
  166. mage_ai/server/frontend_dist/_next/static/chunks/523-be11ad59861d00ca.js +1 -0
  167. mage_ai/server/frontend_dist/_next/static/chunks/5457-d582b00545b4cb5e.js +1 -0
  168. mage_ai/server/frontend_dist/_next/static/chunks/5831-2abc4063e887a03e.js +1 -0
  169. mage_ai/server/frontend_dist/_next/static/chunks/6085-692d2f784c0504f2.js +1 -0
  170. mage_ai/server/frontend_dist/_next/static/chunks/635-1e8857c2b6dde289.js +1 -0
  171. mage_ai/server/frontend_dist/_next/static/chunks/7022-0d52dd8868621fb0.js +1 -0
  172. mage_ai/server/frontend_dist/_next/static/chunks/7264-d05f4b7088533f6f.js +1 -0
  173. mage_ai/server/frontend_dist/_next/static/chunks/7361-b3d661ec743bfadf.js +1 -0
  174. mage_ai/server/frontend_dist/_next/static/chunks/737-cc6467310a130dd9.js +1 -0
  175. mage_ai/server/frontend_dist/_next/static/chunks/{4495-4f0340aa82e0c623.js → 7674-9ec4fe64b5bf64d5.js} +1 -1
  176. mage_ai/server/frontend_dist/_next/static/chunks/8038-85d715c8c8394827.js +1 -0
  177. mage_ai/server/frontend_dist/_next/static/chunks/8095-bdce03896ef9639a.js +1 -0
  178. mage_ai/server/frontend_dist/_next/static/chunks/8146-6bed4e7401e067e6.js +1 -0
  179. mage_ai/server/frontend_dist/_next/static/chunks/8192-0c0b91523a38c4ca.js +1 -0
  180. mage_ai/server/frontend_dist/_next/static/chunks/8432-f736d101fc6d9215.js +1 -0
  181. mage_ai/server/frontend_dist/_next/static/chunks/8513-d207733b485c8d03.js +1 -0
  182. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/9264-e7e040a54d34360c.js → frontend_dist/_next/static/chunks/9264-7cd9cd0ba86ec5e4.js} +1 -1
  183. mage_ai/server/frontend_dist/_next/static/chunks/9265-d2a1aaec75ec69b8.js +1 -0
  184. mage_ai/server/frontend_dist/_next/static/chunks/9440-54add041c392517f.js +1 -0
  185. mage_ai/server/frontend_dist/_next/static/chunks/9624-59b2f803f9c88cd6.js +1 -0
  186. mage_ai/server/frontend_dist/_next/static/chunks/9832-67896490f6e8a014.js +1 -0
  187. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/bd1a647f.fe5d87096be24a62.js → frontend_dist/_next/static/chunks/bd1a647f.04f7913662092327.js} +1 -1
  188. mage_ai/server/frontend_dist/_next/static/chunks/pages/404-7cabe357906f44f2.js +1 -0
  189. mage_ai/server/frontend_dist/_next/static/chunks/pages/_app-a11bd2ebe11b3fd2.js +1 -0
  190. mage_ai/server/frontend_dist/_next/static/chunks/pages/block-layout-ffca51945cd154ef.js +1 -0
  191. mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-3ba957769292db80.js +1 -0
  192. mage_ai/server/frontend_dist/_next/static/chunks/pages/files-45679fd18b3edd82.js +1 -0
  193. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-data-products/[...slug]-95735a218106aa99.js +1 -0
  194. mage_ai/server/frontend_dist/_next/static/chunks/pages/{global-data-products-cf98c2e4d20fd92c.js → global-data-products-81d6c7fd9a9cff38.js} +1 -1
  195. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-eb4421d51fb7368f.js +1 -0
  196. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-a8c712e20512fede.js +1 -0
  197. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/files-f1be1d4735ba6919.js +1 -0
  198. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/settings-febe676687966276.js +1 -0
  199. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/[user]-70efe222130490b5.js +1 -0
  200. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/new-0914c36b3c8fd59f.js +1 -0
  201. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/{users-81e6e5319a59cd07.js → users-4f12e989e7809ef9.js} +1 -1
  202. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-809d4c99b44991a1.js +1 -0
  203. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/oauth-0436d395963cd27a.js → frontend_dist/_next/static/chunks/pages/oauth-aa9079c8dbaea3a5.js} +1 -1
  204. mage_ai/server/frontend_dist/_next/static/chunks/pages/overview-4e30fb5b18383b71.js +1 -0
  205. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-5d31c3aace39182d.js +1 -0
  206. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-85a80ee66f60a65c.js +1 -0
  207. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-0bd74047e257e6d9.js +1 -0
  208. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-80619dc504d0103b.js +1 -0
  209. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-3cc8d74ff8525bfd.js +1 -0
  210. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-cdc379ff24ff8858.js +1 -0
  211. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-03396d6086003e16.js +1 -0
  212. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d6d920758654f6d9.js +1 -0
  213. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors-27727bb87be506c3.js +1 -0
  214. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-16aab67743651a0b.js +1 -0
  215. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-e3ca1bedb660b252.js +1 -0
  216. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-9d58701fe7213727.js +1 -0
  217. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-0041fd76ee15e49f.js +1 -0
  218. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-780be9a2da697915.js +1 -0
  219. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-db8bb970b1f2273f.js +1 -0
  220. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-a3422b0ab1dbacd7.js +1 -0
  221. mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks/[...slug]-987a1603f4201943.js +1 -0
  222. mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks-3dc8bf89cab2722b.js +1 -0
  223. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-43d3f2a5071b9537.js +1 -0
  224. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/preferences-c97b1a39b22c112a.js +1 -0
  225. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/settings-49efb66da67554ca.js +1 -0
  226. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-be6aaec07c138656.js → [...slug]-5117d3555972484c.js} +1 -1
  227. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions-ee1c19d4a192ae4d.js +1 -0
  228. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-4dc5724486ee3396.js +1 -0
  229. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-f380d293cff7592b.js → [...slug]-fa095aac732368c3.js} +1 -1
  230. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{roles-ddce04fae28bd7f6.js → roles-db6d71f8692a33e7.js} +1 -1
  231. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync-data-99c6a263d2ab9553.js +1 -0
  232. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users/{[...slug]-213a43564fdfbe17.js → [...slug]-9d881ac0a3db9baa.js} +1 -1
  233. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-bee414d57c4b55d7.js +1 -0
  234. mage_ai/server/frontend_dist/_next/static/chunks/pages/sign-in-e7030e1a7a9e88e1.js +1 -0
  235. mage_ai/server/frontend_dist/_next/static/chunks/pages/templates/[...slug]-312afc9a3f8d0a4f.js +1 -0
  236. mage_ai/server/frontend_dist/_next/static/chunks/pages/templates-e5300c340aa94c6b.js +1 -0
  237. mage_ai/server/frontend_dist/_next/static/chunks/pages/terminal-fa7ca0c86142d146.js +1 -0
  238. mage_ai/server/frontend_dist/_next/static/chunks/pages/test-bd51b3918b39329e.js +1 -0
  239. mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-5158a9d98d2459e8.js +1 -0
  240. mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-5ce099a7abb354ff.js +1 -0
  241. mage_ai/server/frontend_dist/_next/static/chunks/{webpack-fea697dd168c6d0c.js → webpack-efa55343114c8128.js} +1 -1
  242. mage_ai/server/{frontend_dist_base_path_template/_next/static/css/d1e8e64d0b07af2f.css → frontend_dist/_next/static/css/b59541b123fd7191.css} +1 -1
  243. mage_ai/server/frontend_dist/block-layout.html +3 -3
  244. mage_ai/server/frontend_dist/compute.html +11 -11
  245. mage_ai/server/frontend_dist/files.html +11 -11
  246. mage_ai/server/frontend_dist/global-data-products/[...slug].html +11 -11
  247. mage_ai/server/frontend_dist/global-data-products.html +11 -11
  248. mage_ai/server/frontend_dist/global-hooks/[...slug].html +11 -11
  249. mage_ai/server/frontend_dist/global-hooks.html +11 -11
  250. mage_ai/server/frontend_dist/index.html +3 -3
  251. mage_ai/server/frontend_dist/manage/files.html +11 -11
  252. mage_ai/server/frontend_dist/manage/settings.html +11 -11
  253. mage_ai/server/frontend_dist/manage/users/[user].html +11 -11
  254. mage_ai/server/frontend_dist/manage/users/new.html +11 -11
  255. mage_ai/server/frontend_dist/manage/users.html +11 -11
  256. mage_ai/server/frontend_dist/manage.html +11 -11
  257. mage_ai/server/frontend_dist/oauth.html +8 -8
  258. mage_ai/server/frontend_dist/overview.html +11 -11
  259. mage_ai/server/frontend_dist/pipeline-runs.html +11 -11
  260. mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +11 -11
  261. mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +11 -11
  262. mage_ai/server/frontend_dist/pipelines/[pipeline]/dashboard.html +11 -11
  263. mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +3 -3
  264. mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +11 -11
  265. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +11 -11
  266. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +11 -11
  267. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +11 -11
  268. mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +11 -11
  269. mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +11 -11
  270. mage_ai/server/frontend_dist/pipelines/[pipeline]/settings.html +11 -11
  271. mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +11 -11
  272. mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +11 -11
  273. mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +11 -11
  274. mage_ai/server/frontend_dist/pipelines/[pipeline].html +3 -3
  275. mage_ai/server/frontend_dist/pipelines.html +11 -11
  276. mage_ai/server/frontend_dist/platform/global-hooks/[...slug].html +11 -11
  277. mage_ai/server/frontend_dist/platform/global-hooks.html +11 -11
  278. mage_ai/server/frontend_dist/settings/account/profile.html +11 -11
  279. mage_ai/server/frontend_dist/settings/platform/preferences.html +11 -11
  280. mage_ai/server/frontend_dist/settings/platform/settings.html +11 -11
  281. mage_ai/server/frontend_dist/settings/workspace/permissions/[...slug].html +11 -11
  282. mage_ai/server/frontend_dist/settings/workspace/permissions.html +11 -11
  283. mage_ai/server/frontend_dist/settings/workspace/preferences.html +11 -11
  284. mage_ai/server/frontend_dist/settings/workspace/roles/[...slug].html +11 -11
  285. mage_ai/server/frontend_dist/settings/workspace/roles.html +11 -11
  286. mage_ai/server/frontend_dist/settings/workspace/sync-data.html +11 -11
  287. mage_ai/server/frontend_dist/settings/workspace/users/[...slug].html +11 -11
  288. mage_ai/server/frontend_dist/settings/workspace/users.html +11 -11
  289. mage_ai/server/frontend_dist/settings.html +3 -3
  290. mage_ai/server/frontend_dist/sign-in.html +41 -41
  291. mage_ai/server/frontend_dist/templates/[...slug].html +11 -11
  292. mage_ai/server/frontend_dist/templates.html +11 -11
  293. mage_ai/server/frontend_dist/terminal.html +11 -11
  294. mage_ai/server/frontend_dist/test.html +3 -5
  295. mage_ai/server/frontend_dist/triggers.html +11 -11
  296. mage_ai/server/frontend_dist/version-control.html +11 -11
  297. mage_ai/server/frontend_dist_base_path_template/404.html +11 -11
  298. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1235.c9ed47779baccc05.js +1 -0
  299. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/125-029194ff22eb33a5.js +1 -0
  300. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1557-4f7485c2e2228f77.js +1 -0
  301. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2474-8e702cea23ddd16d.js +1 -0
  302. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2479-727fa69ee9be6fab.js +1 -0
  303. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/26-38bc9380422f3900.js +1 -0
  304. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-3e7ea8543b3825b7.js +1 -0
  305. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3366-420721116ea5a665.js +1 -0
  306. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3449-a9c98239582cd6f0.js +1 -0
  307. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3548-13563a1ff815f922.js +1 -0
  308. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-9e0a8ba0db34b35f.js +1 -0
  309. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4371-ef23f95888d6cd11.js +1 -0
  310. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4632.a4171dbf46b31c7c.js +1 -0
  311. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/523-be11ad59861d00ca.js +1 -0
  312. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5457-d582b00545b4cb5e.js +1 -0
  313. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5831-2abc4063e887a03e.js +1 -0
  314. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6085-692d2f784c0504f2.js +1 -0
  315. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/635-1e8857c2b6dde289.js +1 -0
  316. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7022-0d52dd8868621fb0.js +1 -0
  317. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7264-d05f4b7088533f6f.js +1 -0
  318. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7361-b3d661ec743bfadf.js +1 -0
  319. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/737-cc6467310a130dd9.js +1 -0
  320. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{4495-4f0340aa82e0c623.js → 7674-9ec4fe64b5bf64d5.js} +1 -1
  321. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8038-85d715c8c8394827.js +1 -0
  322. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8095-bdce03896ef9639a.js +1 -0
  323. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8146-6bed4e7401e067e6.js +1 -0
  324. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8192-0c0b91523a38c4ca.js +1 -0
  325. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8432-f736d101fc6d9215.js +1 -0
  326. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8513-d207733b485c8d03.js +1 -0
  327. mage_ai/server/{frontend_dist/_next/static/chunks/9264-e7e040a54d34360c.js → frontend_dist_base_path_template/_next/static/chunks/9264-7cd9cd0ba86ec5e4.js} +1 -1
  328. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9265-d2a1aaec75ec69b8.js +1 -0
  329. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9440-54add041c392517f.js +1 -0
  330. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9624-59b2f803f9c88cd6.js +1 -0
  331. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9832-67896490f6e8a014.js +1 -0
  332. mage_ai/server/{frontend_dist/_next/static/chunks/bd1a647f.fe5d87096be24a62.js → frontend_dist_base_path_template/_next/static/chunks/bd1a647f.04f7913662092327.js} +1 -1
  333. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/404-7cabe357906f44f2.js +1 -0
  334. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/_app-a11bd2ebe11b3fd2.js +1 -0
  335. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/block-layout-ffca51945cd154ef.js +1 -0
  336. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-3ba957769292db80.js +1 -0
  337. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/files-45679fd18b3edd82.js +1 -0
  338. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-data-products/[...slug]-95735a218106aa99.js +1 -0
  339. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{global-data-products-cf98c2e4d20fd92c.js → global-data-products-81d6c7fd9a9cff38.js} +1 -1
  340. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-eb4421d51fb7368f.js +1 -0
  341. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-a8c712e20512fede.js +1 -0
  342. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/files-f1be1d4735ba6919.js +1 -0
  343. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-febe676687966276.js +1 -0
  344. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-70efe222130490b5.js +1 -0
  345. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/new-0914c36b3c8fd59f.js +1 -0
  346. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/{users-81e6e5319a59cd07.js → users-4f12e989e7809ef9.js} +1 -1
  347. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage-809d4c99b44991a1.js +1 -0
  348. mage_ai/server/{frontend_dist/_next/static/chunks/pages/oauth-0436d395963cd27a.js → frontend_dist_base_path_template/_next/static/chunks/pages/oauth-aa9079c8dbaea3a5.js} +1 -1
  349. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/overview-4e30fb5b18383b71.js +1 -0
  350. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-5d31c3aace39182d.js +1 -0
  351. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-85a80ee66f60a65c.js +1 -0
  352. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-0bd74047e257e6d9.js +1 -0
  353. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-80619dc504d0103b.js +1 -0
  354. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-3cc8d74ff8525bfd.js +1 -0
  355. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-cdc379ff24ff8858.js +1 -0
  356. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-03396d6086003e16.js +1 -0
  357. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d6d920758654f6d9.js +1 -0
  358. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors-27727bb87be506c3.js +1 -0
  359. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-16aab67743651a0b.js +1 -0
  360. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-e3ca1bedb660b252.js +1 -0
  361. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-9d58701fe7213727.js +1 -0
  362. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-0041fd76ee15e49f.js +1 -0
  363. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-780be9a2da697915.js +1 -0
  364. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-db8bb970b1f2273f.js +1 -0
  365. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-a3422b0ab1dbacd7.js +1 -0
  366. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks/[...slug]-987a1603f4201943.js +1 -0
  367. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks-3dc8bf89cab2722b.js +1 -0
  368. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-43d3f2a5071b9537.js +1 -0
  369. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/preferences-c97b1a39b22c112a.js +1 -0
  370. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/settings-49efb66da67554ca.js +1 -0
  371. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-be6aaec07c138656.js → [...slug]-5117d3555972484c.js} +1 -1
  372. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions-ee1c19d4a192ae4d.js +1 -0
  373. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-4dc5724486ee3396.js +1 -0
  374. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-f380d293cff7592b.js → [...slug]-fa095aac732368c3.js} +1 -1
  375. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{roles-ddce04fae28bd7f6.js → roles-db6d71f8692a33e7.js} +1 -1
  376. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/sync-data-99c6a263d2ab9553.js +1 -0
  377. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users/{[...slug]-213a43564fdfbe17.js → [...slug]-9d881ac0a3db9baa.js} +1 -1
  378. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users-bee414d57c4b55d7.js +1 -0
  379. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/sign-in-e7030e1a7a9e88e1.js +1 -0
  380. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-312afc9a3f8d0a4f.js +1 -0
  381. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates-e5300c340aa94c6b.js +1 -0
  382. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/terminal-fa7ca0c86142d146.js +1 -0
  383. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/test-bd51b3918b39329e.js +1 -0
  384. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-5158a9d98d2459e8.js +1 -0
  385. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/version-control-5ce099a7abb354ff.js +1 -0
  386. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{webpack-d30cb09c85b4c4f0.js → webpack-bd35e1c7bd7b5a9a.js} +1 -1
  387. mage_ai/server/{frontend_dist/_next/static/css/d1e8e64d0b07af2f.css → frontend_dist_base_path_template/_next/static/css/b59541b123fd7191.css} +1 -1
  388. mage_ai/server/frontend_dist_base_path_template/_next/static/do4WOsw7lNhouR0mtPTFi/_buildManifest.js +1 -0
  389. mage_ai/server/frontend_dist_base_path_template/block-layout.html +3 -3
  390. mage_ai/server/frontend_dist_base_path_template/compute.html +11 -11
  391. mage_ai/server/frontend_dist_base_path_template/files.html +11 -11
  392. mage_ai/server/frontend_dist_base_path_template/global-data-products/[...slug].html +11 -11
  393. mage_ai/server/frontend_dist_base_path_template/global-data-products.html +11 -11
  394. mage_ai/server/frontend_dist_base_path_template/global-hooks/[...slug].html +11 -11
  395. mage_ai/server/frontend_dist_base_path_template/global-hooks.html +11 -11
  396. mage_ai/server/frontend_dist_base_path_template/index.html +3 -3
  397. mage_ai/server/frontend_dist_base_path_template/manage/files.html +11 -11
  398. mage_ai/server/frontend_dist_base_path_template/manage/settings.html +11 -11
  399. mage_ai/server/frontend_dist_base_path_template/manage/users/[user].html +11 -11
  400. mage_ai/server/frontend_dist_base_path_template/manage/users/new.html +11 -11
  401. mage_ai/server/frontend_dist_base_path_template/manage/users.html +11 -11
  402. mage_ai/server/frontend_dist_base_path_template/manage.html +11 -11
  403. mage_ai/server/frontend_dist_base_path_template/oauth.html +8 -8
  404. mage_ai/server/frontend_dist_base_path_template/overview.html +11 -11
  405. mage_ai/server/frontend_dist_base_path_template/pipeline-runs.html +11 -11
  406. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills/[...slug].html +11 -11
  407. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills.html +11 -11
  408. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/dashboard.html +11 -11
  409. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/edit.html +3 -3
  410. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/logs.html +11 -11
  411. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runs.html +11 -11
  412. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runtime.html +11 -11
  413. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors.html +11 -11
  414. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs/[run].html +11 -11
  415. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs.html +11 -11
  416. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/settings.html +11 -11
  417. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/syncs.html +11 -11
  418. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers/[...slug].html +11 -11
  419. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers.html +11 -11
  420. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline].html +3 -3
  421. mage_ai/server/frontend_dist_base_path_template/pipelines.html +11 -11
  422. mage_ai/server/frontend_dist_base_path_template/platform/global-hooks/[...slug].html +11 -11
  423. mage_ai/server/frontend_dist_base_path_template/platform/global-hooks.html +11 -11
  424. mage_ai/server/frontend_dist_base_path_template/settings/account/profile.html +11 -11
  425. mage_ai/server/frontend_dist_base_path_template/settings/platform/preferences.html +11 -11
  426. mage_ai/server/frontend_dist_base_path_template/settings/platform/settings.html +11 -11
  427. mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions/[...slug].html +11 -11
  428. mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions.html +11 -11
  429. mage_ai/server/frontend_dist_base_path_template/settings/workspace/preferences.html +11 -11
  430. mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles/[...slug].html +11 -11
  431. mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles.html +11 -11
  432. mage_ai/server/frontend_dist_base_path_template/settings/workspace/sync-data.html +11 -11
  433. mage_ai/server/frontend_dist_base_path_template/settings/workspace/users/[...slug].html +11 -11
  434. mage_ai/server/frontend_dist_base_path_template/settings/workspace/users.html +11 -11
  435. mage_ai/server/frontend_dist_base_path_template/settings.html +3 -3
  436. mage_ai/server/frontend_dist_base_path_template/sign-in.html +39 -39
  437. mage_ai/server/frontend_dist_base_path_template/templates/[...slug].html +11 -11
  438. mage_ai/server/frontend_dist_base_path_template/templates.html +11 -11
  439. mage_ai/server/frontend_dist_base_path_template/terminal.html +11 -11
  440. mage_ai/server/frontend_dist_base_path_template/test.html +3 -5
  441. mage_ai/server/frontend_dist_base_path_template/triggers.html +11 -11
  442. mage_ai/server/frontend_dist_base_path_template/version-control.html +11 -11
  443. mage_ai/server/logger.py +8 -2
  444. mage_ai/server/server.py +18 -1
  445. mage_ai/services/aws/ecs/config.py +3 -3
  446. mage_ai/services/aws/ecs/ecs.py +2 -2
  447. mage_ai/services/search/block_action_objects.py +59 -5
  448. mage_ai/settings/models/configuration_option.py +3 -1
  449. mage_ai/settings/platform/__init__.py +54 -18
  450. mage_ai/settings/repo.py +5 -4
  451. mage_ai/shared/custom_logger.py +213 -0
  452. mage_ai/shared/environments.py +4 -0
  453. mage_ai/shared/files.py +52 -1
  454. mage_ai/shared/models.py +2 -1
  455. mage_ai/shared/parsers.py +8 -1
  456. mage_ai/shared/path_fixer.py +62 -5
  457. mage_ai/shared/retry.py +4 -0
  458. mage_ai/shared/strings.py +4 -0
  459. mage_ai/tests/api/endpoints/test_blocks.py +101 -1
  460. mage_ai/tests/api/operations/base/test_base_with_user_permissions.py +4 -1
  461. mage_ai/tests/base_test.py +21 -2
  462. mage_ai/tests/cache/test_pipeline_cache.py +11 -8
  463. mage_ai/tests/data_preparation/executors/test_block_executor.py +55 -45
  464. mage_ai/tests/data_preparation/git/test_api.py +4 -4
  465. mage_ai/tests/data_preparation/models/block/dbt/test_block.py +75 -43
  466. mage_ai/tests/data_preparation/models/block/dbt/test_block_sql.py +329 -329
  467. mage_ai/tests/data_preparation/models/block/dbt/test_block_yaml.py +296 -296
  468. mage_ai/tests/data_preparation/models/block/dbt/test_dbt_adapter.py +2 -2
  469. mage_ai/tests/data_preparation/models/block/dbt/test_dbt_cli.py +4 -4
  470. mage_ai/tests/data_preparation/models/block/dbt/test_profiles.py +2 -2
  471. mage_ai/tests/data_preparation/models/block/dbt/test_project.py +2 -2
  472. mage_ai/tests/data_preparation/models/block/dbt/test_sources.py +2 -2
  473. mage_ai/tests/data_preparation/models/block/dynamic/test_dynamic_child_block_factory.py +477 -474
  474. mage_ai/tests/data_preparation/models/block/dynamic/test_dynamic_helpers.py +25 -24
  475. mage_ai/tests/data_preparation/models/block/platform/test_mixins.py +16 -25
  476. mage_ai/tests/data_preparation/models/block/test_utils.py +8 -8
  477. mage_ai/tests/data_preparation/models/test_block.py +6 -8
  478. mage_ai/tests/data_preparation/models/test_project.py +10 -5
  479. mage_ai/tests/data_preparation/models/test_variable.py +51 -4
  480. mage_ai/tests/orchestration/test_pipeline_scheduler_project_platform.py +1 -0
  481. mage_ai/version_control/__init__.py +0 -0
  482. mage_ai/version_control/models.py +288 -0
  483. {mage_ai-0.9.58.dist-info → mage_ai-0.9.59.dist-info}/METADATA +6 -6
  484. {mage_ai-0.9.58.dist-info → mage_ai-0.9.59.dist-info}/RECORD +490 -476
  485. mage_ai/server/frontend_dist/_next/static/0XnQ0C0nTr1w0o9CGC7wQ/_buildManifest.js +0 -1
  486. mage_ai/server/frontend_dist/_next/static/chunks/1124-d8fc76201b83b376.js +0 -1
  487. mage_ai/server/frontend_dist/_next/static/chunks/1154-2f262f7eb38ebaa1.js +0 -1
  488. mage_ai/server/frontend_dist/_next/static/chunks/1235.53172e14801844e5.js +0 -1
  489. mage_ai/server/frontend_dist/_next/static/chunks/1550-32333b36ac6b061b.js +0 -1
  490. mage_ai/server/frontend_dist/_next/static/chunks/1557-7cfe722a9b83b935.js +0 -1
  491. mage_ai/server/frontend_dist/_next/static/chunks/1598-dd776e3a92e9cccd.js +0 -1
  492. mage_ai/server/frontend_dist/_next/static/chunks/1751-5adf859690505d7b.js +0 -1
  493. mage_ai/server/frontend_dist/_next/static/chunks/1952-b2197a87dd67d8e0.js +0 -1
  494. mage_ai/server/frontend_dist/_next/static/chunks/2056-0ea1faa46646a77e.js +0 -1
  495. mage_ai/server/frontend_dist/_next/static/chunks/2213-52267f1e9ef5751c.js +0 -1
  496. mage_ai/server/frontend_dist/_next/static/chunks/2474-352ae192b826d896.js +0 -1
  497. mage_ai/server/frontend_dist/_next/static/chunks/2512-46141494a1b75897.js +0 -1
  498. mage_ai/server/frontend_dist/_next/static/chunks/2717-accc279ae116b1b9.js +0 -1
  499. mage_ai/server/frontend_dist/_next/static/chunks/2852872c-15b31a7081e6a868.js +0 -1
  500. mage_ai/server/frontend_dist/_next/static/chunks/2886-9e73e1f48f248741.js +0 -1
  501. mage_ai/server/frontend_dist/_next/static/chunks/2920.86a65e5f26ff1795.js +0 -1
  502. mage_ai/server/frontend_dist/_next/static/chunks/3437-6055fd5aa82880f6.js +0 -1
  503. mage_ai/server/frontend_dist/_next/static/chunks/3449-214fce1a0e623b47.js +0 -1
  504. mage_ai/server/frontend_dist/_next/static/chunks/3494-23a9cc2cd649abac.js +0 -1
  505. mage_ai/server/frontend_dist/_next/static/chunks/3745-3662911c364d917b.js +0 -1
  506. mage_ai/server/frontend_dist/_next/static/chunks/3763-70c7eb1fc203c903.js +0 -1
  507. mage_ai/server/frontend_dist/_next/static/chunks/3943-a49377acc514e77f.js +0 -1
  508. mage_ai/server/frontend_dist/_next/static/chunks/4052-f89c85d2c8f51931.js +0 -1
  509. mage_ai/server/frontend_dist/_next/static/chunks/4296-14eaf96d6479e673.js +0 -1
  510. mage_ai/server/frontend_dist/_next/static/chunks/4804-1254a474f238d078.js +0 -1
  511. mage_ai/server/frontend_dist/_next/static/chunks/5283-9df961e430a79bea.js +0 -1
  512. mage_ai/server/frontend_dist/_next/static/chunks/5457-b373ebdf4d05d8e2.js +0 -1
  513. mage_ai/server/frontend_dist/_next/static/chunks/5499-bc2528f8e18f61a6.js +0 -1
  514. mage_ai/server/frontend_dist/_next/static/chunks/5810-e66141c1271bced6.js +0 -1
  515. mage_ai/server/frontend_dist/_next/static/chunks/5849-f30d8694e3318a81.js +0 -1
  516. mage_ai/server/frontend_dist/_next/static/chunks/5896-7b8e36634d7d94eb.js +0 -1
  517. mage_ai/server/frontend_dist/_next/static/chunks/6043-728790621ca9014c.js +0 -1
  518. mage_ai/server/frontend_dist/_next/static/chunks/6050-e48b7f97e96bbcb6.js +0 -1
  519. mage_ai/server/frontend_dist/_next/static/chunks/6285-648f9a732e100b2f.js +0 -1
  520. mage_ai/server/frontend_dist/_next/static/chunks/6639-74eefed142e14ea6.js +0 -1
  521. mage_ai/server/frontend_dist/_next/static/chunks/6965-c613d1834c8ed92d.js +0 -1
  522. mage_ai/server/frontend_dist/_next/static/chunks/7022-ea92cb336bd1aab8.js +0 -1
  523. mage_ai/server/frontend_dist/_next/static/chunks/7361-06ef4c642a8fe8c4.js +0 -1
  524. mage_ai/server/frontend_dist/_next/static/chunks/7858-677c641010ac9160.js +0 -1
  525. mage_ai/server/frontend_dist/_next/static/chunks/8125-b9d53e425b6ddc7e.js +0 -1
  526. mage_ai/server/frontend_dist/_next/static/chunks/8146-fb8f445644e573b0.js +0 -1
  527. mage_ai/server/frontend_dist/_next/static/chunks/8432-0ace6fb7bdbc6864.js +0 -1
  528. mage_ai/server/frontend_dist/_next/static/chunks/844-1e171f361e63b36d.js +0 -1
  529. mage_ai/server/frontend_dist/_next/static/chunks/9269-40e2101f56399dcc.js +0 -1
  530. mage_ai/server/frontend_dist/_next/static/chunks/9302-913007e2f801ad65.js +0 -1
  531. mage_ai/server/frontend_dist/_next/static/chunks/9440-c51bf1e8f271cb25.js +0 -1
  532. mage_ai/server/frontend_dist/_next/static/chunks/9624-89a4b20eb3b3c754.js +0 -1
  533. mage_ai/server/frontend_dist/_next/static/chunks/976-0a8c2c4d7acd957b.js +0 -1
  534. mage_ai/server/frontend_dist/_next/static/chunks/9775-c1142b1312e8f95d.js +0 -1
  535. mage_ai/server/frontend_dist/_next/static/chunks/pages/404-5ddd12931e0e3e41.js +0 -1
  536. mage_ai/server/frontend_dist/_next/static/chunks/pages/_app-ec5e62e8e5bb4e4c.js +0 -1
  537. mage_ai/server/frontend_dist/_next/static/chunks/pages/block-layout-44d7291d8f29eb36.js +0 -1
  538. mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-a6661a9c3647532a.js +0 -1
  539. mage_ai/server/frontend_dist/_next/static/chunks/pages/files-26b899d3adb4ed19.js +0 -1
  540. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-data-products/[...slug]-9bd164317e652311.js +0 -1
  541. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-c87d46dc53e35638.js +0 -1
  542. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-24785a5ed4eb340d.js +0 -1
  543. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/files-2c5fd116ecfacb33.js +0 -1
  544. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/settings-8c9285af31efa3fd.js +0 -1
  545. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/[user]-ec7e0419a64ae3b2.js +0 -1
  546. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/new-039e083cc068da54.js +0 -1
  547. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-8e4d4f6edc515265.js +0 -1
  548. mage_ai/server/frontend_dist/_next/static/chunks/pages/overview-b73185fdcb7a131c.js +0 -1
  549. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-97b3335bf60f8b07.js +0 -1
  550. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-83de126136539668.js +0 -1
  551. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-50f45e96892cfb63.js +0 -1
  552. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-5fe0f1de6fd365f8.js +0 -1
  553. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-306db9e11fa94d21.js +0 -1
  554. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-ebea4be0562b08e3.js +0 -1
  555. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-f09d21d5c2661504.js +0 -1
  556. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-61e770f155ae22ef.js +0 -1
  557. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors-d347a4614130e2ab.js +0 -1
  558. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-056c5e5080a3754f.js +0 -1
  559. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-208fa8de91f152bc.js +0 -1
  560. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-a32e02f46a816eb3.js +0 -1
  561. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-8012388b15f0e0a5.js +0 -1
  562. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-6714c72f90923cfb.js +0 -1
  563. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-afc0525ef27fe1f2.js +0 -1
  564. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-a91e7d86cd0540d9.js +0 -1
  565. mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks/[...slug]-7c8e5a8908fe9c83.js +0 -1
  566. mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks-be0684d1527587d8.js +0 -1
  567. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-147660a34351147c.js +0 -1
  568. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/preferences-ec5f01b683920ced.js +0 -1
  569. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/settings-28aa4512c0e23ec5.js +0 -1
  570. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions-a2850b2e0a282d16.js +0 -1
  571. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-b1df80674dca4713.js +0 -1
  572. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync-data-41abcd2241958dc8.js +0 -1
  573. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-a2c5859f53b5e9e1.js +0 -1
  574. mage_ai/server/frontend_dist/_next/static/chunks/pages/sign-in-1aea2a0c373bc6ae.js +0 -1
  575. mage_ai/server/frontend_dist/_next/static/chunks/pages/templates/[...slug]-e7485742708215d2.js +0 -1
  576. mage_ai/server/frontend_dist/_next/static/chunks/pages/templates-b4086d30a89d6801.js +0 -1
  577. mage_ai/server/frontend_dist/_next/static/chunks/pages/terminal-3cd171f43f0a0df8.js +0 -1
  578. mage_ai/server/frontend_dist/_next/static/chunks/pages/test-6a22493285c47ba2.js +0 -1
  579. mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-ad20a31dde4fe59b.js +0 -1
  580. mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-267952b4c87927c7.js +0 -1
  581. mage_ai/server/frontend_dist_base_path_template/_next/static/RC0Yenm06LvZI-RWFoT5C/_buildManifest.js +0 -1
  582. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1124-d8fc76201b83b376.js +0 -1
  583. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1154-2f262f7eb38ebaa1.js +0 -1
  584. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1235.53172e14801844e5.js +0 -1
  585. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1550-32333b36ac6b061b.js +0 -1
  586. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1557-7cfe722a9b83b935.js +0 -1
  587. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1598-dd776e3a92e9cccd.js +0 -1
  588. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1751-5adf859690505d7b.js +0 -1
  589. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1952-b2197a87dd67d8e0.js +0 -1
  590. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2056-0ea1faa46646a77e.js +0 -1
  591. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2213-52267f1e9ef5751c.js +0 -1
  592. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2474-352ae192b826d896.js +0 -1
  593. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2512-46141494a1b75897.js +0 -1
  594. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-accc279ae116b1b9.js +0 -1
  595. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2852872c-15b31a7081e6a868.js +0 -1
  596. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2886-9e73e1f48f248741.js +0 -1
  597. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2920.86a65e5f26ff1795.js +0 -1
  598. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3437-6055fd5aa82880f6.js +0 -1
  599. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3449-214fce1a0e623b47.js +0 -1
  600. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3494-23a9cc2cd649abac.js +0 -1
  601. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3745-3662911c364d917b.js +0 -1
  602. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3763-70c7eb1fc203c903.js +0 -1
  603. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-a49377acc514e77f.js +0 -1
  604. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4052-f89c85d2c8f51931.js +0 -1
  605. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4296-14eaf96d6479e673.js +0 -1
  606. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4804-1254a474f238d078.js +0 -1
  607. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5283-9df961e430a79bea.js +0 -1
  608. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5457-b373ebdf4d05d8e2.js +0 -1
  609. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5499-bc2528f8e18f61a6.js +0 -1
  610. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5810-e66141c1271bced6.js +0 -1
  611. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5849-f30d8694e3318a81.js +0 -1
  612. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5896-7b8e36634d7d94eb.js +0 -1
  613. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6043-728790621ca9014c.js +0 -1
  614. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6050-e48b7f97e96bbcb6.js +0 -1
  615. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6285-648f9a732e100b2f.js +0 -1
  616. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6639-74eefed142e14ea6.js +0 -1
  617. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6965-c613d1834c8ed92d.js +0 -1
  618. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7022-ea92cb336bd1aab8.js +0 -1
  619. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7361-06ef4c642a8fe8c4.js +0 -1
  620. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7858-677c641010ac9160.js +0 -1
  621. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8125-b9d53e425b6ddc7e.js +0 -1
  622. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8146-fb8f445644e573b0.js +0 -1
  623. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8432-0ace6fb7bdbc6864.js +0 -1
  624. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/844-1e171f361e63b36d.js +0 -1
  625. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9269-40e2101f56399dcc.js +0 -1
  626. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9302-913007e2f801ad65.js +0 -1
  627. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9440-c51bf1e8f271cb25.js +0 -1
  628. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9624-89a4b20eb3b3c754.js +0 -1
  629. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/976-0a8c2c4d7acd957b.js +0 -1
  630. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9775-c1142b1312e8f95d.js +0 -1
  631. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/404-5ddd12931e0e3e41.js +0 -1
  632. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/_app-ec5e62e8e5bb4e4c.js +0 -1
  633. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/block-layout-44d7291d8f29eb36.js +0 -1
  634. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-a6661a9c3647532a.js +0 -1
  635. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/files-26b899d3adb4ed19.js +0 -1
  636. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-data-products/[...slug]-9bd164317e652311.js +0 -1
  637. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-c87d46dc53e35638.js +0 -1
  638. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-24785a5ed4eb340d.js +0 -1
  639. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/files-2c5fd116ecfacb33.js +0 -1
  640. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-8c9285af31efa3fd.js +0 -1
  641. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-ec7e0419a64ae3b2.js +0 -1
  642. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/new-039e083cc068da54.js +0 -1
  643. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage-8e4d4f6edc515265.js +0 -1
  644. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/overview-b73185fdcb7a131c.js +0 -1
  645. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-97b3335bf60f8b07.js +0 -1
  646. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-83de126136539668.js +0 -1
  647. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-50f45e96892cfb63.js +0 -1
  648. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-5fe0f1de6fd365f8.js +0 -1
  649. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-306db9e11fa94d21.js +0 -1
  650. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-ebea4be0562b08e3.js +0 -1
  651. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-f09d21d5c2661504.js +0 -1
  652. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-61e770f155ae22ef.js +0 -1
  653. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors-d347a4614130e2ab.js +0 -1
  654. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-056c5e5080a3754f.js +0 -1
  655. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-208fa8de91f152bc.js +0 -1
  656. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-a32e02f46a816eb3.js +0 -1
  657. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-8012388b15f0e0a5.js +0 -1
  658. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-6714c72f90923cfb.js +0 -1
  659. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-afc0525ef27fe1f2.js +0 -1
  660. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-a91e7d86cd0540d9.js +0 -1
  661. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks/[...slug]-7c8e5a8908fe9c83.js +0 -1
  662. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks-be0684d1527587d8.js +0 -1
  663. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-147660a34351147c.js +0 -1
  664. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/preferences-ec5f01b683920ced.js +0 -1
  665. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/settings-28aa4512c0e23ec5.js +0 -1
  666. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions-a2850b2e0a282d16.js +0 -1
  667. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-b1df80674dca4713.js +0 -1
  668. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/sync-data-41abcd2241958dc8.js +0 -1
  669. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users-a2c5859f53b5e9e1.js +0 -1
  670. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/sign-in-1aea2a0c373bc6ae.js +0 -1
  671. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-e7485742708215d2.js +0 -1
  672. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates-b4086d30a89d6801.js +0 -1
  673. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/terminal-3cd171f43f0a0df8.js +0 -1
  674. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/test-6a22493285c47ba2.js +0 -1
  675. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-ad20a31dde4fe59b.js +0 -1
  676. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/version-control-267952b4c87927c7.js +0 -1
  677. /mage_ai/server/frontend_dist/_next/static/{0XnQ0C0nTr1w0o9CGC7wQ → PPQxHOmWVJ0iQFzG2rc8m}/_ssgManifest.js +0 -0
  678. /mage_ai/server/frontend_dist_base_path_template/_next/static/{RC0Yenm06LvZI-RWFoT5C → do4WOsw7lNhouR0mtPTFi}/_ssgManifest.js +0 -0
  679. {mage_ai-0.9.58.dist-info → mage_ai-0.9.59.dist-info}/LICENSE +0 -0
  680. {mage_ai-0.9.58.dist-info → mage_ai-0.9.59.dist-info}/WHEEL +0 -0
  681. {mage_ai-0.9.58.dist-info → mage_ai-0.9.59.dist-info}/entry_points.txt +0 -0
  682. {mage_ai-0.9.58.dist-info → mage_ai-0.9.59.dist-info}/top_level.txt +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4296],{93808:function(n,e,t){t.d(e,{Z:function(){return I}});var r=t(77837),i=t(26304),o=t(62243),c=t(29385),a=t(80022),d=t(13692),u=t(93189),l=t(15544),s=t(82394),h=t(38860),f=t.n(h),p=t(82684),g=t(56663),x=t.n(g),b=t(40761),m=t(34661),v=t(36105),j=t(50178),y=t(69419),Z=t(28598),P=["auth"];function w(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function k(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?w(Object(t),!0).forEach((function(e){(0,s.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function O(n){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var t,r=(0,l.Z)(n);if(e){var i=(0,l.Z)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,u.Z)(this,t)}}function I(n){return function(e){(0,d.Z)(u,e);var t=O(u);function u(){var n;(0,o.Z)(this,u);for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return n=t.call.apply(t,[this].concat(r)),(0,s.Z)((0,a.Z)(n),"state",{auth:new b.Z(n.props.token)}),n}return(0,c.Z)(u,[{key:"componentDidMount",value:function(){this.setState({auth:new b.Z(this.props.token)})}},{key:"render",value:function(){var e=this.props,t=(e.auth,(0,i.Z)(e,P));return(0,Z.jsx)(n,k({auth:this.state.auth},t))}}],[{key:"getInitialProps",value:function(){var e=(0,r.Z)(f().mark((function e(t){var r,i,o,c,a,d,u,l,s;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=x()(t),i=(0,j.ex)(t),o=i.id,c=r[m.Mv],a=r[v.qt],d=new b.Z(c),u=k(k({},t),{},{auth:d,currentGroupId:o,theme:a}),(0,j.YB)(t)&&d.isExpired&&(console.log("OAuth token has expired."),l=k(k({},t.query),{},{redirect_url:t.asPath}),(0,y.nL)("/sign-in?".concat((0,y.uM)(l)),t.res)),!n.getInitialProps){e.next=12;break}return e.next=10,n.getInitialProps(u);case 10:return s=e.sent,e.abrupt("return",k(k({},s),{},{auth:d,currentGroupId:o,theme:a}));case 12:return e.abrupt("return",u);case 13:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()}]),u}(p.Component)}},88543:function(n,e,t){t.d(e,{S:function(){return y},Z:function(){return Z}});var r=t(82684),i=t(15338),o=t(97618),c=t(55485),a=t(85854),d=t(65956),u=t(82394),l=t(44085),s=t(38276),h=t(30160),f=t(17488),p=t(69650),g=t(72473),x=t(8193),b=t(70515),m=t(28598);function v(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function j(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?v(Object(t),!0).forEach((function(e){(0,u.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):v(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var y=function(n){var e,t=n.children,r=n.description,i=n.invalid,a=n.large,d=void 0===a||a,u=n.selectInput,v=n.textInput,y=n.title,Z=n.toggleSwitch,P=n.warning;return(0,m.jsx)(s.Z,{p:b.cd,children:(0,m.jsxs)(c.ZP,{alignItems:"center",children:[(0,m.jsxs)(c.ZP,{flexDirection:"column",children:[(0,m.jsxs)(h.ZP,{danger:i,default:!0,large:d,warning:P,children:[y," ",i&&(0,m.jsx)(h.ZP,{danger:!0,inline:!0,large:d,children:"is required"})]}),r&&"string"===typeof r&&(0,m.jsx)(h.ZP,{muted:!0,small:!0,children:r}),r&&"string"!==typeof r&&r]}),(0,m.jsx)(s.Z,{mr:b.cd}),(0,m.jsxs)(o.Z,{flex:1,justifyContent:"flex-end",children:[t,v&&(0,m.jsx)(f.Z,j({afterIcon:(0,m.jsx)(g.I8,{}),afterIconClick:function(n,e){var t;null===e||void 0===e||null===(t=e.current)||void 0===t||t.focus()},afterIconSize:x.Z,alignRight:!0,autoComplete:"off",large:d,noBackground:!0,noBorder:!0,fullWidth:!0,paddingHorizontal:0,paddingVertical:0,setContentOnMount:!0},v)),u&&(0,m.jsx)(l.Z,j(j({},u),{},{afterIcon:(0,m.jsx)(g._M,{}),afterIconSize:x.Z,alignRight:!0,autoComplete:"off",large:d,noBackground:!0,noBorder:!0,paddingHorizontal:0,paddingVertical:0,setContentOnMount:!0,children:null===u||void 0===u||null===(e=u.options)||void 0===e?void 0:e.map((function(n){var e=n.label,t=n.value;return(0,m.jsx)("option",{value:t,children:e||t},t)}))})),Z&&(0,m.jsx)(p.Z,{checked:!(null===Z||void 0===Z||!Z.checked),compact:!0,onCheck:null===Z||void 0===Z?void 0:Z.onCheck})]})]})})},Z=function(n){var e=n.children,t=n.description,u=n.headerChildren,l=n.title;return(0,m.jsxs)(d.Z,{noPadding:!0,children:[(0,m.jsx)(s.Z,{p:b.cd,children:(0,m.jsxs)(c.ZP,{alignItems:"center",children:[(0,m.jsxs)(o.Z,{flex:1,flexDirection:"column",children:[(0,m.jsx)(a.Z,{level:4,children:l}),t&&"string"===typeof t&&(0,m.jsx)(s.Z,{mt:1,children:(0,m.jsx)(h.ZP,{muted:!0,children:t})}),t&&"string"!==typeof t&&t]}),u]})}),r.Children.map(e,(function(n,e){return(0,m.jsxs)("div",{children:[(0,m.jsx)(i.Z,{light:!0}),n]},"".concat(l,"-").concat(e))}))]})}},8193:function(n,e,t){t.d(e,{N:function(){return d},Z:function(){return a}});var r=t(38626),i=t(44897),o=t(42631),c=t(70515),a=2*c.iI,d=r.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-1ck7mzt-0"})(["border-radius:","px;padding:","px;",""],o.n_,c.cd*c.iI,(function(n){return"\n background-color: ".concat((n.theme.background||i.Z.background).codeArea,";\n ")}))},65956:function(n,e,t){var r=t(38626),i=t(55485),o=t(38276),c=t(30160),a=t(44897),d=t(42631),u=t(47041),l=t(70515),s=t(28598),h=(0,r.css)(["padding:","px;padding-bottom:","px;padding-top:","px;"],2*l.iI,1.5*l.iI,1.5*l.iI),f=r.default.div.withConfig({displayName:"Panel__PanelStyle",componentId:"sc-1ct8cgl-0"})(["border-radius:","px;overflow:hidden;"," "," "," "," "," "," "," "," "," "," "," ",""],d.n_,(function(n){return n.fullWidth&&"\n width: 100%;\n "}),(function(n){return!n.borderless&&"\n border: 1px solid ".concat((n.theme.interactive||a.Z.interactive).defaultBorder,";\n ")}),(function(n){return n.success&&"\n background-color: ".concat((n.theme.background||a.Z.background).successLight,";\n ")}),(function(n){return n.success&&!n.borderless&&"\n border: 1px solid ".concat((n.theme.background||a.Z.background).success,";\n ")}),(function(n){return!n.dark&&!n.success&&"\n background-color: ".concat((n.theme.background||a.Z.background).panel,";\n ")}),(function(n){return n.dark&&"\n background-color: ".concat((n.theme.background||a.Z.background).content,";\n ")}),(function(n){return!n.fullHeight&&"\n height: fit-content;\n "}),(function(n){return n.maxHeight&&"\n max-height: ".concat(n.maxHeight,";\n ")}),(function(n){return n.maxWidth&&"\n max-width: ".concat(n.maxWidth,"px;\n ")}),(function(n){return n.minWidth&&"\n min-width: ".concat(n.minWidth,"px;\n\n @media (max-width: ").concat(n.minWidth,"px) {\n min-width: 0;\n }\n ")}),(function(n){return n.borderless&&"\n border: none;\n "}),(function(n){return n.overflowVisible&&"\n overflow: visible;\n "})),p=r.default.div.withConfig({displayName:"Panel__HeaderStyle",componentId:"sc-1ct8cgl-1"})(["border-top-left-radius:","px;border-top-right-radius:","px;"," "," "," ",""],d.n_,d.n_,(function(n){return"\n background-color: ".concat((n.theme.background||a.Z.background).chartBlock,";\n border-bottom: 1px solid ").concat((n.theme.interactive||a.Z.interactive).defaultBorder,";\n ")}),(function(n){return n.height&&"\n height: ".concat(n.height,"px;\n ")}),h,(function(n){return n.headerPaddingVertical&&"\n padding-bottom: ".concat(n.headerPaddingVertical,"px;\n padding-top: ").concat(n.headerPaddingVertical,"px;\n ")})),g=r.default.div.withConfig({displayName:"Panel__ContentStyle",componentId:"sc-1ct8cgl-2"})(["overflow-y:auto;padding:","px;height:100%;"," "," "," "," ",""],1.75*l.iI,u.w5,(function(n){return n.height&&"\n height: ".concat(n.height,"px;\n ")}),(function(n){return n.maxHeight&&"\n max-height: calc(".concat(n.maxHeight," - ").concat(15*l.iI,"px);\n ")}),(function(n){return n.noPadding&&"\n padding: 0;\n "}),(function(n){return n.overflowVisible&&"\n overflow: visible;\n "})),x=r.default.div.withConfig({displayName:"Panel__FooterStyle",componentId:"sc-1ct8cgl-3"})(["border-style:",";border-top-width:","px;padding:","px;"],d.M8,d.YF,1.75*l.iI);e.Z=function(n){var e=n.borderless,t=n.children,r=n.containerRef,a=n.contentContainerRef,d=n.dark,u=n.footer,l=n.fullHeight,h=void 0===l||l,b=n.fullWidth,m=void 0===b||b,v=n.header,j=n.headerHeight,y=n.headerIcon,Z=n.headerPaddingVertical,P=n.headerTitle,w=n.maxHeight,k=n.maxWidth,O=n.minWidth,I=n.noPadding,C=n.overflowVisible,_=n.subtitle,H=n.success;return(0,s.jsxs)(f,{borderless:e,dark:d,fullHeight:h,fullWidth:m,maxHeight:w,maxWidth:k,minWidth:O,overflowVisible:C,ref:r,success:H,children:[(v||P)&&(0,s.jsxs)(p,{headerPaddingVertical:Z,height:j,children:[v&&v,P&&(0,s.jsx)(i.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,s.jsxs)(i.ZP,{alignItems:"center",children:[y&&y,(0,s.jsx)(o.Z,{ml:y?1:0,children:(0,s.jsx)(c.ZP,{bold:!0,default:!0,children:P})})]})})]}),(0,s.jsxs)(g,{maxHeight:w,noPadding:I,overflowVisible:C,ref:a,children:[_&&"string"===typeof _&&(0,s.jsx)(o.Z,{mb:2,children:(0,s.jsx)(c.ZP,{default:!0,children:_})}),_&&"string"!==typeof _&&_,t]}),u&&(0,s.jsx)(x,{children:u})]})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4804],{4804:function(e,t,s){s.d(t,{Qc:function(){return bs},Pz:function(){return ks}});const n=Symbol.for("yaml.alias"),i=Symbol.for("yaml.document"),o=Symbol.for("yaml.map"),r=Symbol.for("yaml.pair"),a=Symbol.for("yaml.scalar"),c=Symbol.for("yaml.seq"),l=Symbol.for("yaml.node.type"),u=e=>!!e&&"object"===typeof e&&e[l]===n,f=e=>!!e&&"object"===typeof e&&e[l]===i,h=e=>!!e&&"object"===typeof e&&e[l]===o,d=e=>!!e&&"object"===typeof e&&e[l]===r,p=e=>!!e&&"object"===typeof e&&e[l]===a,m=e=>!!e&&"object"===typeof e&&e[l]===c;function y(e){if(e&&"object"===typeof e)switch(e[l]){case o:case c:return!0}return!1}function g(e){if(e&&"object"===typeof e)switch(e[l]){case n:case o:case a:case c:return!0}return!1}class b{constructor(e){Object.defineProperty(this,l,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}}const k=Symbol("break visit"),w=Symbol("skip children"),v=Symbol("remove node");function S(e,t){const s=A(t);if(f(e)){E(null,e.contents,s,Object.freeze([e]))===v&&(e.contents=null)}else E(null,e,s,Object.freeze([]))}function E(e,t,s,n){const i=I(e,t,s,n);if(g(i)||d(i))return T(e,n,i),E(e,i,s,n);if("symbol"!==typeof i)if(y(t)){n=Object.freeze(n.concat(t));for(let e=0;e<t.items.length;++e){const i=E(e,t.items[e],s,n);if("number"===typeof i)e=i-1;else{if(i===k)return k;i===v&&(t.items.splice(e,1),e-=1)}}}else if(d(t)){n=Object.freeze(n.concat(t));const e=E("key",t.key,s,n);if(e===k)return k;e===v&&(t.key=null);const i=E("value",t.value,s,n);if(i===k)return k;i===v&&(t.value=null)}return i}async function N(e,t){const s=A(t);if(f(e)){await O(null,e.contents,s,Object.freeze([e]))===v&&(e.contents=null)}else await O(null,e,s,Object.freeze([]))}async function O(e,t,s,n){const i=await I(e,t,s,n);if(g(i)||d(i))return T(e,n,i),O(e,i,s,n);if("symbol"!==typeof i)if(y(t)){n=Object.freeze(n.concat(t));for(let e=0;e<t.items.length;++e){const i=await O(e,t.items[e],s,n);if("number"===typeof i)e=i-1;else{if(i===k)return k;i===v&&(t.items.splice(e,1),e-=1)}}}else if(d(t)){n=Object.freeze(n.concat(t));const e=await O("key",t.key,s,n);if(e===k)return k;e===v&&(t.key=null);const i=await O("value",t.value,s,n);if(i===k)return k;i===v&&(t.value=null)}return i}function A(e){return"object"===typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function I(e,t,s,n){return"function"===typeof s?s(e,t,n):h(t)?s.Map?.(e,t,n):m(t)?s.Seq?.(e,t,n):d(t)?s.Pair?.(e,t,n):p(t)?s.Scalar?.(e,t,n):u(t)?s.Alias?.(e,t,n):void 0}function T(e,t,s){const n=t[t.length-1];if(y(n))n.items[e]=s;else if(d(n))"key"===e?n.key=s:n.value=s;else{if(!f(n)){const e=u(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}n.contents=s}}S.BREAK=k,S.SKIP=w,S.REMOVE=v,N.BREAK=k,N.SKIP=w,N.REMOVE=v;const L={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class ${constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},$.defaultYaml,e),this.tags=Object.assign({},$.defaultTags,t)}clone(){const e=new $(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new $(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:$.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},$.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:$.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},$.defaultTags),this.atNextDocument=!1);const s=e.trim().split(/[ \t]+/),n=s.shift();switch(n){case"%TAG":{if(2!==s.length&&(t(0,"%TAG directive should contain exactly two parts"),s.length<2))return!1;const[e,n]=s;return this.tags[e]=n,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==s.length)return t(0,"%YAML directive should contain exactly one part"),!1;const[e]=s;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;return t(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1}default:return t(0,`Unknown directive ${n}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){const s=e.slice(2,-1);return"!"===s||"!!"===s?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),s)}const[,s,n]=e.match(/^(.*!)([^!]*)$/);n||t(`The ${e} tag has no suffix`);const i=this.tags[s];return i?i+decodeURIComponent(n):"!"===s?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,s]of Object.entries(this.tags))if(e.startsWith(s))return t+e.substring(s.length).replace(/[!,[\]{}]/g,(e=>L[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],s=Object.entries(this.tags);let n;if(e&&s.length>0&&g(e.contents)){const t={};S(e.contents,((e,s)=>{g(s)&&s.tag&&(t[s.tag]=!0)})),n=Object.keys(t)}else n=[];for(const[i,o]of s)"!!"===i&&"tag:yaml.org,2002:"===o||e&&!n.some((e=>e.startsWith(o)))||t.push(`%TAG ${i} ${o}`);return t.join("\n")}}function x(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function C(e){const t=new Set;return S(e,{Value(e,s){s.anchor&&t.add(s.anchor)}}),t}function _(e,t){for(let s=1;;++s){const n=`${e}${s}`;if(!t.has(n))return n}}$.defaultYaml={explicit:!1,version:"1.2"},$.defaultTags={"!!":"tag:yaml.org,2002:"};class B extends b{constructor(e){super(n),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return S(e,{Node:(e,s)=>{if(s===this)return S.BREAK;s.anchor===this.source&&(t=s)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:s,doc:n,maxAliasCount:i}=t,o=this.resolve(n);if(!o){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}const r=s.get(o);if(!r||void 0===r.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(i>=0&&(r.count+=1,0===r.aliasCount&&(r.aliasCount=j(n,o,s)),r.count*r.aliasCount>i)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return r.res}toString(e,t,s){const n=`*${this.source}`;if(e){if(x(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${n} `}return n}}function j(e,t,s){if(u(t)){const n=t.resolve(e),i=s&&n&&s.get(n);return i?i.count*i.aliasCount:0}if(y(t)){let n=0;for(const i of t.items){const t=j(e,i,s);t>n&&(n=t)}return n}if(d(t)){const n=j(e,t.key,s),i=j(e,t.value,s);return Math.max(n,i)}return 1}function M(e,t,s){if(Array.isArray(e))return e.map(((e,t)=>M(e,String(t),s)));if(e&&"function"===typeof e.toJSON){if(!s||(!p(n=e)&&!y(n)||!n.anchor))return e.toJSON(t,s);const i={aliasCount:0,count:1,res:void 0};s.anchors.set(e,i),s.onCreate=e=>{i.res=e,delete s.onCreate};const o=e.toJSON(t,s);return s.onCreate&&s.onCreate(o),o}var n;return"bigint"!==typeof e||s?.keep?e:Number(e)}const D=e=>!e||"function"!==typeof e&&"object"!==typeof e;class K extends b{constructor(e){super(a),this.value=e}toJSON(e,t){return t?.keep?this.value:M(this.value,e,t)}toString(){return String(this.value)}}K.BLOCK_FOLDED="BLOCK_FOLDED",K.BLOCK_LITERAL="BLOCK_LITERAL",K.PLAIN="PLAIN",K.QUOTE_DOUBLE="QUOTE_DOUBLE",K.QUOTE_SINGLE="QUOTE_SINGLE";function P(e,t,s){if(f(e)&&(e=e.contents),g(e))return e;if(d(e)){const t=s.schema[o].createNode?.(s.schema,null,s);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!==typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:n,onAnchor:i,onTagObj:r,schema:a,sourceObjects:l}=s;let u;if(n&&e&&"object"===typeof e){if(u=l.get(e),u)return u.anchor||(u.anchor=i(e)),new B(u.anchor);u={anchor:null,node:null},l.set(e,u)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let h=function(e,t,s){if(t){const e=s.filter((e=>e.tag===t)),n=e.find((e=>!e.format))??e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return s.find((t=>t.identify?.(e)&&!t.format))}(e,t,a.tags);if(!h){if(e&&"function"===typeof e.toJSON&&(e=e.toJSON()),!e||"object"!==typeof e){const t=new K(e);return u&&(u.node=t),t}h=e instanceof Map?a[o]:Symbol.iterator in Object(e)?a[c]:a[o]}r&&(r(h),delete s.onTagObj);const p=h?.createNode?h.createNode(s.schema,e,s):new K(e);return t&&(p.tag=t),u&&(u.node=p),p}function U(e,t,s){let n=s;for(let i=t.length-1;i>=0;--i){const e=t[i];if("number"===typeof e&&Number.isInteger(e)&&e>=0){const t=[];t[e]=n,n=t}else n=new Map([[e,n]])}return P(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const q=e=>null==e||"object"===typeof e&&!!e[Symbol.iterator]().next().done;class R extends b{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>g(t)||d(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(q(e))this.add(t);else{const[s,...n]=e,i=this.get(s,!0);if(y(i))i.addIn(n,t);else{if(void 0!==i||!this.schema)throw new Error(`Expected YAML collection at ${s}. Remaining path: ${n}`);this.set(s,U(this.schema,n,t))}}}deleteIn(e){const[t,...s]=e;if(0===s.length)return this.delete(t);const n=this.get(t,!0);if(y(n))return n.deleteIn(s);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${s}`)}getIn(e,t){const[s,...n]=e,i=this.get(s,!0);return 0===n.length?!t&&p(i)?i.value:i:y(i)?i.getIn(n,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!d(t))return!1;const s=t.value;return null==s||e&&p(s)&&null==s.value&&!s.commentBefore&&!s.comment&&!s.tag}))}hasIn(e){const[t,...s]=e;if(0===s.length)return this.has(t);const n=this.get(t,!0);return!!y(n)&&n.hasIn(s)}setIn(e,t){const[s,...n]=e;if(0===n.length)this.set(s,t);else{const e=this.get(s,!0);if(y(e))e.setIn(n,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${s}. Remaining path: ${n}`);this.set(s,U(this.schema,n,t))}}}}R.maxFlowStringSingleLineLength=60;const F=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function V(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const J=(e,t,s)=>e.endsWith("\n")?V(s,t):s.includes("\n")?"\n"+V(s,t):(e.endsWith(" ")?"":" ")+s,Y="flow",G="block",W="quoted";function Q(e,t,s="flow",{indentAtStart:n,lineWidth:i=80,minContentWidth:o=20,onFold:r,onOverflow:a}={}){if(!i||i<0)return e;const c=Math.max(1+o,1+i-t.length);if(e.length<=c)return e;const l=[],u={};let f,h,d=i-t.length;"number"===typeof n&&(n>i-Math.max(2,o)?l.push(0):d=i-n);let p,m=!1,y=-1,g=-1,b=-1;for(s===G&&(y=H(e,y),-1!==y&&(d=y+c));p=e[y+=1];){if(s===W&&"\\"===p){switch(g=y,e[y+1]){case"x":y+=3;break;case"u":y+=5;break;case"U":y+=9;break;default:y+=1}b=y}if("\n"===p)s===G&&(y=H(e,y)),d=y+c,f=void 0;else{if(" "===p&&h&&" "!==h&&"\n"!==h&&"\t"!==h){const t=e[y+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(f=y)}if(y>=d)if(f)l.push(f),d=f+c,f=void 0;else if(s===W){for(;" "===h||"\t"===h;)h=p,p=e[y+=1],m=!0;const t=y>b+1?y-2:g-1;if(u[t])return e;l.push(t),u[t]=!0,d=t+c,f=void 0}else m=!0}h=p}if(m&&a&&a(),0===l.length)return e;r&&r();let k=e.slice(0,l[0]);for(let w=0;w<l.length;++w){const n=l[w],i=l[w+1]||e.length;0===n?k=`\n${t}${e.slice(0,i)}`:(s===W&&u[n]&&(k+=`${e[n]}\\`),k+=`\n${t}${e.slice(n+1,i)}`)}return k}function H(e,t){let s=e[t+1];for(;" "===s||"\t"===s;){do{s=e[t+=1]}while(s&&"\n"!==s);s=e[t+1]}return t}const X=e=>({indentAtStart:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),z=e=>/^(%|---|\.\.\.)/m.test(e);function Z(e,t){const s=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return s;const{implicitKey:n}=t,i=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(z(e)?" ":"");let r="",a=0;for(let c=0,l=s[c];l;l=s[++c])if(" "===l&&"\\"===s[c+1]&&"n"===s[c+2]&&(r+=s.slice(a,c)+"\\ ",c+=1,a=c,l="\\"),"\\"===l)switch(s[c+1]){case"u":{r+=s.slice(a,c);const e=s.substr(c+2,4);switch(e){case"0000":r+="\\0";break;case"0007":r+="\\a";break;case"000b":r+="\\v";break;case"001b":r+="\\e";break;case"0085":r+="\\N";break;case"00a0":r+="\\_";break;case"2028":r+="\\L";break;case"2029":r+="\\P";break;default:"00"===e.substr(0,2)?r+="\\x"+e.substr(2):r+=s.substr(c,6)}c+=5,a=c+1}break;case"n":if(n||'"'===s[c+2]||s.length<i)c+=1;else{for(r+=s.slice(a,c)+"\n\n";"\\"===s[c+2]&&"n"===s[c+3]&&'"'!==s[c+4];)r+="\n",c+=2;r+=o," "===s[c+2]&&(r+="\\"),c+=1,a=c+1}break;default:c+=1}return r=a?r+s.slice(a):s,n?r:Q(r,o,W,X(t))}function ee(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return Z(e,t);const s=t.indent||(z(e)?" ":""),n="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${s}`)+"'";return t.implicitKey?n:Q(n,s,Y,X(t))}function te(e,t){const{singleQuote:s}=t.options;let n;if(!1===s)n=Z;else{const t=e.includes('"'),i=e.includes("'");n=t&&!i?ee:i&&!t?Z:s?ee:Z}return n(e,t)}function se({comment:e,type:t,value:s},n,i,o){const{blockQuote:r,commentString:a,lineWidth:c}=n.options;if(!r||/\n[\t ]+$/.test(s)||/^\s*$/.test(s))return te(s,n);const l=n.indent||(n.forceBlockIndent||z(s)?" ":""),u="literal"===r||"folded"!==r&&t!==K.BLOCK_FOLDED&&(t===K.BLOCK_LITERAL||!function(e,t,s){if(!t||t<0)return!1;const n=t-s,i=e.length;if(i<=n)return!1;for(let o=0,r=0;o<i;++o)if("\n"===e[o]){if(o-r>n)return!0;if(r=o+1,i-r<=n)return!1}return!0}(s,c,l.length));if(!s)return u?"|\n":">\n";let f,h;for(h=s.length;h>0;--h){const e=s[h-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let d=s.substring(h);const p=d.indexOf("\n");-1===p?f="-":s===d||p!==d.length-1?(f="+",o&&o()):f="",d&&(s=s.slice(0,-d.length),"\n"===d[d.length-1]&&(d=d.slice(0,-1)),d=d.replace(/\n+(?!\n|$)/g,`$&${l}`));let m,y=!1,g=-1;for(m=0;m<s.length;++m){const e=s[m];if(" "===e)y=!0;else{if("\n"!==e)break;g=m}}let b=s.substring(0,g<m?g+1:m);b&&(s=s.substring(b.length),b=b.replace(/\n+/g,`$&${l}`));let k=(u?"|":">")+(y?l?"2":"1":"")+f;if(e&&(k+=" "+a(e.replace(/ ?[\r\n]+/g," ")),i&&i()),u)return`${k}\n${l}${b}${s=s.replace(/\n+/g,`$&${l}`)}${d}`;return`${k}\n${l}${Q(`${b}${s=s.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`)}${d}`,l,G,X(n))}`}function ne(e,t,s,n){const{implicitKey:i,inFlow:o}=t,r="string"===typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==K.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(r.value)&&(a=K.QUOTE_DOUBLE);const c=e=>{switch(e){case K.BLOCK_FOLDED:case K.BLOCK_LITERAL:return i||o?te(r.value,t):se(r,t,s,n);case K.QUOTE_DOUBLE:return Z(r.value,t);case K.QUOTE_SINGLE:return ee(r.value,t);case K.PLAIN:return function(e,t,s,n){const{type:i,value:o}=e,{actualString:r,implicitKey:a,indent:c,inFlow:l}=t;if(a&&/[\n[\]{},]/.test(o)||l&&/[[\]{},]/.test(o))return te(o,t);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return a||l||!o.includes("\n")?te(o,t):se(e,t,s,n);if(!a&&!l&&i!==K.PLAIN&&o.includes("\n"))return se(e,t,s,n);if(""===c&&z(o))return t.forceBlockIndent=!0,se(e,t,s,n);const u=o.replace(/\n+/g,`$&\n${c}`);if(r){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(u),{compat:s,tags:n}=t.doc.schema;if(n.some(e)||s?.some(e))return te(o,t)}return a?u:Q(u,c,Y,X(t))}(r,t,s,n);default:return null}};let l=c(a);if(null===l){const{defaultKeyType:e,defaultStringType:s}=t.options,n=i&&e||s;if(l=c(n),null===l)throw new Error(`Unsupported default string type ${n}`)}return l}function ie(e,t){const s=Object.assign({blockQuote:!0,commentString:F,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let n;switch(s.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,indent:"",indentStep:"number"===typeof s.indent?" ".repeat(s.indent):" ",inFlow:n,options:s}}function oe(e,t,s,n){if(d(e))return e.toString(t,s,n);if(u(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i;const o=g(e)?e:t.doc.createNode(e,{onTagObj:e=>i=e});i||(i=function(e,t){if(t.tag){const s=e.filter((e=>e.tag===t.tag));if(s.length>0)return s.find((e=>e.format===t.format))??s[0]}let s,n;if(p(t)){n=t.value;const i=e.filter((e=>e.identify?.(n)));s=i.find((e=>e.format===t.format))??i.find((e=>!e.format))}else n=t,s=e.find((e=>e.nodeClass&&n instanceof e.nodeClass));if(!s)throw new Error(`Tag not resolved for ${n?.constructor?.name??typeof n} value`);return s}(t.doc.schema.tags,o));const r=function(e,t,{anchors:s,doc:n}){if(!n.directives)return"";const i=[],o=(p(e)||y(e))&&e.anchor;o&&x(o)&&(s.add(o),i.push(`&${o}`));const r=e.tag?e.tag:t.default?null:t.tag;return r&&i.push(n.directives.tagString(r)),i.join(" ")}(o,i,t);r.length>0&&(t.indentAtStart=(t.indentAtStart??0)+r.length+1);const a="function"===typeof i.stringify?i.stringify(o,t,s,n):p(o)?ne(o,t,s,n):o.toString(t,s,n);return r?p(o)||"{"===a[0]||"["===a[0]?`${r} ${a}`:`${r}\n${t.indent}${a}`:a}var re=s(554);function ae(e,t){"debug"!==e&&"warn"!==e||("undefined"!==typeof re&&re.emitWarning?re.emitWarning(t):console.warn(t))}function ce(e,t,{key:s,value:n}){if(e?.doc.schema.merge&&le(s))if(n=u(n)?n.resolve(e.doc):n,m(n))for(const i of n.items)ue(e,t,i);else if(Array.isArray(n))for(const i of n)ue(e,t,i);else ue(e,t,n);else{const i=M(s,"",e);if(t instanceof Map)t.set(i,M(n,i,e));else if(t instanceof Set)t.add(i);else{const o=function(e,t,s){if(null===t)return"";if("object"!==typeof t)return String(t);if(g(e)&&s&&s.doc){const t=ie(s.doc,{});t.anchors=new Set;for(const e of s.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const n=e.toString(t);if(!s.mapKeyWarned){let e=JSON.stringify(n);e.length>40&&(e=e.substring(0,36)+'..."'),ae(s.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),s.mapKeyWarned=!0}return n}return JSON.stringify(t)}(s,i,e),r=M(n,o,e);o in t?Object.defineProperty(t,o,{value:r,writable:!0,enumerable:!0,configurable:!0}):t[o]=r}}return t}const le=e=>"<<"===e||p(e)&&"<<"===e.value&&(!e.type||e.type===K.PLAIN);function ue(e,t,s){const n=e&&u(s)?s.resolve(e.doc):s;if(!h(n))throw new Error("Merge sources must be maps or map aliases");const i=n.toJSON(null,e,Map);for(const[o,r]of i)t instanceof Map?t.has(o)||t.set(o,r):t instanceof Set?t.add(o):Object.prototype.hasOwnProperty.call(t,o)||Object.defineProperty(t,o,{value:r,writable:!0,enumerable:!0,configurable:!0});return t}function fe(e,t,s){const n=P(e,void 0,s),i=P(t,void 0,s);return new he(n,i)}class he{constructor(e,t=null){Object.defineProperty(this,l,{value:r}),this.key=e,this.value=t}clone(e){let{key:t,value:s}=this;return g(t)&&(t=t.clone(e)),g(s)&&(s=s.clone(e)),new he(t,s)}toJSON(e,t){return ce(t,t?.mapAsMap?new Map:{},this)}toString(e,t,s){return e?.doc?function({key:e,value:t},s,n,i){const{allNullValues:o,doc:r,indent:a,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:f}}=s;let h=g(e)&&e.comment||null;if(f){if(h)throw new Error("With simple keys, key nodes cannot have comments");if(y(e))throw new Error("With simple keys, collection cannot be used as a key value")}let d=!f&&(!e||h&&null==t&&!s.inFlow||y(e)||(p(e)?e.type===K.BLOCK_FOLDED||e.type===K.BLOCK_LITERAL:"object"===typeof e));s=Object.assign({},s,{allNullValues:!1,implicitKey:!d&&(f||!o),indent:a+c});let b=!1,k=!1,w=oe(e,s,(()=>b=!0),(()=>k=!0));if(!d&&!s.inFlow&&w.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(s.inFlow){if(o||null==t)return b&&n&&n(),""===w?"?":d?`? ${w}`:w}else if(o&&!f||null==t&&d)return w=`? ${w}`,h&&!b?w+=J(w,s.indent,l(h)):k&&i&&i(),w;b&&(h=null),d?(h&&(w+=J(w,s.indent,l(h))),w=`? ${w}\n${a}:`):(w=`${w}:`,h&&(w+=J(w,s.indent,l(h))));let v="",S=null;g(t)?(t.spaceBefore&&(v="\n"),t.commentBefore&&(v+=`\n${V(l(t.commentBefore),s.indent)}`),S=t.comment):t&&"object"===typeof t&&(t=r.createNode(t));s.implicitKey=!1,d||h||!p(t)||(s.indentAtStart=w.length+1),k=!1,u||!(c.length>=2)||s.inFlow||d||!m(t)||t.flow||t.tag||t.anchor||(s.indent=s.indent.substr(2));let E=!1;const N=oe(t,s,(()=>E=!0),(()=>k=!0));let O=" ";v||h?O=""!==N||s.inFlow?`${v}\n${s.indent}`:"\n"===v?"\n\n":v:!d&&y(t)?("["===N[0]||"{"===N[0])&&!N.includes("\n")||(O=`\n${s.indent}`):""!==N&&"\n"!==N[0]||(O="");return w+=O+N,s.inFlow?E&&n&&n():S&&!E?w+=J(w,s.indent,l(S)):k&&i&&i(),w}(this,e,t,s):JSON.stringify(this)}}function de(e,t,s){return(t.inFlow??e.flow?me:pe)(e,t,s)}function pe({comment:e,items:t},s,{blockItemPrefix:n,flowChars:i,itemIndent:o,onChompKeep:r,onComment:a}){const{indent:c,options:{commentString:l}}=s,u=Object.assign({},s,{indent:o,type:null});let f=!1;const h=[];for(let m=0;m<t.length;++m){const e=t[m];let i=null;if(g(e))!f&&e.spaceBefore&&h.push(""),ye(s,h,e.commentBefore,f),e.comment&&(i=e.comment);else if(d(e)){const t=g(e.key)?e.key:null;t&&(!f&&t.spaceBefore&&h.push(""),ye(s,h,t.commentBefore,f))}f=!1;let r=oe(e,u,(()=>i=null),(()=>f=!0));i&&(r+=J(r,o,l(i))),f&&i&&(f=!1),h.push(n+r)}let p;if(0===h.length)p=i.start+i.end;else{p=h[0];for(let e=1;e<h.length;++e){const t=h[e];p+=t?`\n${c}${t}`:"\n"}}return e?(p+="\n"+V(l(e),c),a&&a()):f&&r&&r(),p}function me({comment:e,items:t},s,{flowChars:n,itemIndent:i,onComment:o}){const{indent:r,indentStep:a,options:{commentString:c}}=s;i+=a;const l=Object.assign({},s,{indent:i,inFlow:!0,type:null});let u=!1,f=0;const h=[];for(let b=0;b<t.length;++b){const e=t[b];let n=null;if(g(e))e.spaceBefore&&h.push(""),ye(s,h,e.commentBefore,!1),e.comment&&(n=e.comment);else if(d(e)){const t=g(e.key)?e.key:null;t&&(t.spaceBefore&&h.push(""),ye(s,h,t.commentBefore,!1),t.comment&&(u=!0));const i=g(e.value)?e.value:null;i?(i.comment&&(n=i.comment),i.commentBefore&&(u=!0)):null==e.value&&t&&t.comment&&(n=t.comment)}n&&(u=!0);let o=oe(e,l,(()=>n=null));b<t.length-1&&(o+=","),n&&(o+=J(o,i,c(n))),!u&&(h.length>f||o.includes("\n"))&&(u=!0),h.push(o),f=h.length}let p;const{start:m,end:y}=n;if(0===h.length)p=m+y;else{if(!u){u=h.reduce(((e,t)=>e+t.length+2),2)>R.maxFlowStringSingleLineLength}if(u){p=m;for(const e of h)p+=e?`\n${a}${r}${e}`:"\n";p+=`\n${r}${y}`}else p=`${m} ${h.join(" ")} ${y}`}return e&&(p+=J(p,c(e),r),o&&o()),p}function ye({indent:e,options:{commentString:t}},s,n,i){if(n&&i&&(n=n.replace(/^\n+/,"")),n){const i=V(t(n),e);s.push(i.trimStart())}}function ge(e,t){const s=p(t)?t.value:t;for(const n of e)if(d(n)){if(n.key===t||n.key===s)return n;if(p(n.key)&&n.key.value===s)return n}}class be extends R{constructor(e){super(o,e),this.items=[]}static get tagName(){return"tag:yaml.org,2002:map"}add(e,t){let s;s=d(e)?e:e&&"object"===typeof e&&"key"in e?new he(e.key,e.value):new he(e,e?.value);const n=ge(this.items,s.key),i=this.schema?.sortMapEntries;if(n){if(!t)throw new Error(`Key ${s.key} already set`);p(n.value)&&D(s.value)?n.value.value=s.value:n.value=s.value}else if(i){const e=this.items.findIndex((e=>i(s,e)<0));-1===e?this.items.push(s):this.items.splice(e,0,s)}else this.items.push(s)}delete(e){const t=ge(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const s=ge(this.items,e)?.value;return(!t&&p(s)?s.value:s)??void 0}has(e){return!!ge(this.items,e)}set(e,t){this.add(new he(e,t),!0)}toJSON(e,t,s){const n=s?new s:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(n);for(const i of this.items)ce(t,n,i);return n}toString(e,t,s){if(!e)return JSON.stringify(this);for(const n of this.items)if(!d(n))throw new Error(`Map items must all be pairs; found ${JSON.stringify(n)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),de(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:s,onComment:t})}}const ke={collection:"map",createNode:function(e,t,s){const{keepUndefined:n,replacer:i}=s,o=new be(e),r=(e,r)=>{if("function"===typeof i)r=i.call(t,e,r);else if(Array.isArray(i)&&!i.includes(e))return;(void 0!==r||n)&&o.items.push(fe(e,r,s))};if(t instanceof Map)for(const[a,c]of t)r(a,c);else if(t&&"object"===typeof t)for(const a of Object.keys(t))r(a,t[a]);return"function"===typeof e.sortMapEntries&&o.items.sort(e.sortMapEntries),o},default:!0,nodeClass:be,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(h(e)||t("Expected a mapping for this tag"),e)};class we extends R{constructor(e){super(c,e),this.items=[]}static get tagName(){return"tag:yaml.org,2002:seq"}add(e){this.items.push(e)}delete(e){const t=ve(e);if("number"!==typeof t)return!1;return this.items.splice(t,1).length>0}get(e,t){const s=ve(e);if("number"!==typeof s)return;const n=this.items[s];return!t&&p(n)?n.value:n}has(e){const t=ve(e);return"number"===typeof t&&t<this.items.length}set(e,t){const s=ve(e);if("number"!==typeof s)throw new Error(`Expected a valid index, not ${e}.`);const n=this.items[s];p(n)&&D(t)?n.value=t:this.items[s]=t}toJSON(e,t){const s=[];t?.onCreate&&t.onCreate(s);let n=0;for(const i of this.items)s.push(M(i,String(n++),t));return s}toString(e,t,s){return e?de(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:s,onComment:t}):JSON.stringify(this)}}function ve(e){let t=p(e)?e.value:e;return t&&"string"===typeof t&&(t=Number(t)),"number"===typeof t&&Number.isInteger(t)&&t>=0?t:null}const Se={collection:"seq",createNode:function(e,t,s){const{replacer:n}=s,i=new we(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let o of t){if("function"===typeof n){const s=t instanceof Set?o:String(e++);o=n.call(t,s,o)}i.items.push(P(o,void 0,s))}}return i},default:!0,nodeClass:we,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(m(e)||t("Expected a sequence for this tag"),e)},Ee={identify:e=>"string"===typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,s,n)=>ne(e,t=Object.assign({actualString:!0},t),s,n)},Ne={identify:e=>null==e,createNode:()=>new K(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new K(null),stringify:({source:e},t)=>"string"===typeof e&&Ne.test.test(e)?e:t.options.nullStr},Oe={identify:e=>"boolean"===typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new K("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},s){if(e&&Oe.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}return t?s.options.trueStr:s.options.falseStr}};function Ae({format:e,minFractionDigits:t,tag:s,value:n}){if("bigint"===typeof n)return String(n);const i="number"===typeof n?n:Number(n);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let o=JSON.stringify(n);if(!e&&t&&(!s||"tag:yaml.org,2002:float"===s)&&/^\d/.test(o)){let e=o.indexOf(".");e<0&&(e=o.length,o+=".");let s=t-(o.length-e-1);for(;s-- >0;)o+="0"}return o}const Ie={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ae},Te={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Ae(e)}},Le={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new K(parseFloat(e)),s=e.indexOf(".");return-1!==s&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-s-1),t},stringify:Ae},$e=e=>"bigint"===typeof e||Number.isInteger(e),xe=(e,t,s,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),s);function Ce(e,t,s){const{value:n}=e;return $e(n)&&n>=0?s+n.toString(t):Ae(e)}const _e={identify:e=>$e(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,s)=>xe(e,2,8,s),stringify:e=>Ce(e,8,"0o")},Be={identify:$e,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,s)=>xe(e,0,10,s),stringify:Ae},je={identify:e=>$e(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,s)=>xe(e,2,16,s),stringify:e=>Ce(e,16,"0x")},Me=[ke,Se,Ee,Ne,Oe,_e,Be,je,Ie,Te,Le];function De(e){return"bigint"===typeof e||Number.isInteger(e)}const Ke=({value:e})=>JSON.stringify(e),Pe=[ke,Se].concat([{identify:e=>"string"===typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Ke},{identify:e=>null==e,createNode:()=>new K(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Ke},{identify:e=>"boolean"===typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:Ke},{identify:De,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:s})=>s?BigInt(e):parseInt(e,10),stringify:({value:e})=>De(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Ke}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)});var Ue=s(80365).lW;const qe={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"===typeof Ue)return Ue.from(e,"base64");if("function"===typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),s=new Uint8Array(t.length);for(let e=0;e<t.length;++e)s[e]=t.charCodeAt(e);return s}return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:s},n,i,o){const r=s;let a;if("function"===typeof Ue)a=r instanceof Ue?r.toString("base64"):Ue.from(r.buffer).toString("base64");else{if("function"!==typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<r.length;++t)e+=String.fromCharCode(r[t]);a=btoa(e)}}if(t||(t=K.BLOCK_LITERAL),t!==K.QUOTE_DOUBLE){const e=Math.max(n.options.lineWidth-n.indent.length,n.options.minContentWidth),s=Math.ceil(a.length/e),i=new Array(s);for(let t=0,n=0;t<s;++t,n+=e)i[t]=a.substr(n,e);a=i.join(t===K.BLOCK_LITERAL?"\n":" ")}return ne({comment:e,type:t,value:a},n,i,o)}};function Re(e,t){if(m(e))for(let s=0;s<e.items.length;++s){let n=e.items[s];if(!d(n)){if(h(n)){n.items.length>1&&t("Each pair must have its own sequence indicator");const e=n.items[0]||new he(new K(null));if(n.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${n.commentBefore}\n${e.key.commentBefore}`:n.commentBefore),n.comment){const t=e.value??e.key;t.comment=t.comment?`${n.comment}\n${t.comment}`:n.comment}n=e}e.items[s]=d(n)?n:new he(n)}}else t("Expected a sequence for this tag");return e}function Fe(e,t,s){const{replacer:n}=s,i=new we(e);i.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let r of t){let e,a;if("function"===typeof n&&(r=n.call(t,String(o++),r)),Array.isArray(r)){if(2!==r.length)throw new TypeError(`Expected [key, value] tuple: ${r}`);e=r[0],a=r[1]}else if(r&&r instanceof Object){const t=Object.keys(r);if(1!==t.length)throw new TypeError(`Expected { key: value } tuple: ${r}`);e=t[0],a=r[e]}else e=r;i.items.push(fe(e,a,s))}return i}const Ve={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Re,createNode:Fe};class Je extends we{constructor(){super(),this.add=be.prototype.add.bind(this),this.delete=be.prototype.delete.bind(this),this.get=be.prototype.get.bind(this),this.has=be.prototype.has.bind(this),this.set=be.prototype.set.bind(this),this.tag=Je.tag}toJSON(e,t){if(!t)return super.toJSON(e);const s=new Map;t?.onCreate&&t.onCreate(s);for(const n of this.items){let e,i;if(d(n)?(e=M(n.key,"",t),i=M(n.value,e,t)):e=M(n,"",t),s.has(e))throw new Error("Ordered maps must not include duplicate keys");s.set(e,i)}return s}}Je.tag="tag:yaml.org,2002:omap";const Ye={collection:"seq",identify:e=>e instanceof Map,nodeClass:Je,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const s=Re(e,t),n=[];for(const{key:i}of s.items)p(i)&&(n.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):n.push(i.value));return Object.assign(new Je,s)},createNode(e,t,s){const n=Fe(e,t,s),i=new Je;return i.items=n.items,i}};function Ge({value:e,source:t},s){return t&&(e?We:Qe).test.test(t)?t:e?s.options.trueStr:s.options.falseStr}const We={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new K(!0),stringify:Ge},Qe={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new K(!1),stringify:Ge},He={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ae},Xe={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Ae(e)}},ze={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new K(parseFloat(e.replace(/_/g,""))),s=e.indexOf(".");if(-1!==s){const n=e.substring(s+1).replace(/_/g,"");"0"===n[n.length-1]&&(t.minFractionDigits=n.length)}return t},stringify:Ae},Ze=e=>"bigint"===typeof e||Number.isInteger(e);function et(e,t,s,{intAsBigInt:n}){const i=e[0];if("-"!==i&&"+"!==i||(t+=1),e=e.substring(t).replace(/_/g,""),n){switch(s){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===i?BigInt(-1)*t:t}const o=parseInt(e,s);return"-"===i?-1*o:o}function tt(e,t,s){const{value:n}=e;if(Ze(n)){const e=n.toString(t);return n<0?"-"+s+e.substr(1):s+e}return Ae(e)}const st={identify:Ze,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,s)=>et(e,2,2,s),stringify:e=>tt(e,2,"0b")},nt={identify:Ze,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,s)=>et(e,1,8,s),stringify:e=>tt(e,8,"0")},it={identify:Ze,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,s)=>et(e,0,10,s),stringify:Ae},ot={identify:Ze,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,s)=>et(e,2,16,s),stringify:e=>tt(e,16,"0x")};class rt extends be{constructor(e){super(e),this.tag=rt.tag}add(e){let t;t=d(e)?e:e&&"object"===typeof e&&"key"in e&&"value"in e&&null===e.value?new he(e.key,null):new he(e,null);ge(this.items,t.key)||this.items.push(t)}get(e,t){const s=ge(this.items,e);return!t&&d(s)?p(s.key)?s.key.value:s.key:s}set(e,t){if("boolean"!==typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const s=ge(this.items,e);s&&!t?this.items.splice(this.items.indexOf(s),1):!s&&t&&this.items.push(new he(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,s){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,s);throw new Error("Set items must all have null values")}}rt.tag="tag:yaml.org,2002:set";const at={collection:"map",identify:e=>e instanceof Set,nodeClass:rt,default:!1,tag:"tag:yaml.org,2002:set",resolve(e,t){if(h(e)){if(e.hasAllNullValues(!0))return Object.assign(new rt,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e},createNode(e,t,s){const{replacer:n}=s,i=new rt(e);if(t&&Symbol.iterator in Object(t))for(let o of t)"function"===typeof n&&(o=n.call(t,o,o)),i.items.push(fe(o,null,s));return i}};function ct(e,t){const s=e[0],n="-"===s||"+"===s?e.substring(1):e,i=e=>t?BigInt(e):Number(e),o=n.replace(/_/g,"").split(":").reduce(((e,t)=>e*i(60)+i(t)),i(0));return"-"===s?i(-1)*o:o}function lt(e){let{value:t}=e,s=e=>e;if("bigint"===typeof t)s=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Ae(e);let n="";t<0&&(n="-",t*=s(-1));const i=s(60),o=[t%i];return t<60?o.unshift(0):(t=(t-o[0])/i,o.unshift(t%i),t>=60&&(t=(t-o[0])/i,o.unshift(t))),n+o.map((e=>e<10?"0"+String(e):String(e))).join(":").replace(/000000\d*$/,"")}const ut={identify:e=>"bigint"===typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:s})=>ct(e,s),stringify:lt},ft={identify:e=>"number"===typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>ct(e,!1),stringify:lt},ht={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(ht.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,s,n,i,o,r,a]=t.map(Number),c=t[7]?Number((t[7]+"00").substr(1,3)):0;let l=Date.UTC(s,n-1,i,o||0,r||0,a||0,c);const u=t[8];if(u&&"Z"!==u){let e=ct(u,!1);Math.abs(e)<30&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},dt=[ke,Se,Ee,Ne,We,Qe,st,nt,it,ot,He,Xe,ze,qe,Ye,Ve,at,ut,ft,ht],pt=new Map([["core",Me],["failsafe",[ke,Se,Ee]],["json",Pe],["yaml11",dt],["yaml-1.1",dt]]),mt={binary:qe,bool:Oe,float:Le,floatExp:Te,floatNaN:Ie,floatTime:ft,int:Be,intHex:je,intOct:_e,intTime:ut,map:ke,null:Ne,omap:Ye,pairs:Ve,seq:Se,set:at,timestamp:ht},yt={"tag:yaml.org,2002:binary":qe,"tag:yaml.org,2002:omap":Ye,"tag:yaml.org,2002:pairs":Ve,"tag:yaml.org,2002:set":at,"tag:yaml.org,2002:timestamp":ht};function gt(e,t){let s=pt.get(t);if(!s){if(!Array.isArray(e)){const e=Array.from(pt.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}s=[]}if(Array.isArray(e))for(const n of e)s=s.concat(n);else"function"===typeof e&&(s=e(s.slice()));return s.map((e=>{if("string"!==typeof e)return e;const t=mt[e];if(t)return t;const s=Object.keys(mt).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${s}`)}))}const bt=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class kt{constructor({compat:e,customTags:t,merge:s,resolveKnownTags:n,schema:i,sortMapEntries:r,toStringDefaults:l}){this.compat=Array.isArray(e)?gt(e,"compat"):e?gt(null,e):null,this.merge=!!s,this.name="string"===typeof i&&i||"core",this.knownTags=n?yt:{},this.tags=gt(t,this.name),this.toStringOptions=l??null,Object.defineProperty(this,o,{value:ke}),Object.defineProperty(this,a,{value:Ee}),Object.defineProperty(this,c,{value:Se}),this.sortMapEntries="function"===typeof r?r:!0===r?bt:null}clone(){const e=Object.create(kt.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}function wt(e,t,s,n){if(n&&"object"===typeof n)if(Array.isArray(n))for(let i=0,o=n.length;i<o;++i){const t=n[i],s=wt(e,n,String(i),t);void 0===s?delete n[i]:s!==t&&(n[i]=s)}else if(n instanceof Map)for(const i of Array.from(n.keys())){const t=n.get(i),s=wt(e,n,i,t);void 0===s?n.delete(i):s!==t&&n.set(i,s)}else if(n instanceof Set)for(const i of Array.from(n)){const t=wt(e,n,i,i);void 0===t?n.delete(i):t!==i&&(n.delete(i),n.add(t))}else for(const[i,o]of Object.entries(n)){const t=wt(e,n,i,o);void 0===t?delete n[i]:t!==o&&(n[i]=t)}return e.call(t,s,n)}class vt{constructor(e,t,s){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,l,{value:i});let n=null;"function"===typeof t||Array.isArray(t)?n=t:void 0===s&&t&&(s=t,t=void 0);const o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},s);this.options=o;let{version:r}=o;s?._directives?(this.directives=s._directives.atDocument(),this.directives.yaml.explicit&&(r=this.directives.yaml.version)):this.directives=new $({version:r}),this.setSchema(r,s),this.contents=void 0===e?null:this.createNode(e,n,s)}clone(){const e=Object.create(vt.prototype,{[l]:{value:i}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=g(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){St(this.contents)&&this.contents.add(e)}addIn(e,t){St(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const s=C(this);e.anchor=!t||s.has(t)?_(t||"a",s):t}return new B(e.anchor)}createNode(e,t,s){let n;if("function"===typeof t)e=t.call({"":e},"",e),n=t;else if(Array.isArray(t)){const e=e=>"number"===typeof e||e instanceof String||e instanceof Number,s=t.filter(e).map(String);s.length>0&&(t=t.concat(s)),n=t}else void 0===s&&t&&(s=t,t=void 0);const{aliasDuplicateObjects:i,anchorPrefix:o,flow:r,keepUndefined:a,onTagObj:c,tag:l}=s??{},{onAnchor:u,setAnchors:f,sourceObjects:h}=function(e,t){const s=[],n=new Map;let i=null;return{onAnchor:n=>{s.push(n),i||(i=C(e));const o=_(t,i);return i.add(o),o},setAnchors:()=>{for(const e of s){const t=n.get(e);if("object"!==typeof t||!t.anchor||!p(t.node)&&!y(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:n}}(this,o||"a"),d=P(e,l,{aliasDuplicateObjects:i??!0,keepUndefined:a??!1,onAnchor:u,onTagObj:c,replacer:n,schema:this.schema,sourceObjects:h});return r&&y(d)&&(d.flow=!0),f(),d}createPair(e,t,s={}){const n=this.createNode(e,null,s),i=this.createNode(t,null,s);return new he(n,i)}delete(e){return!!St(this.contents)&&this.contents.delete(e)}deleteIn(e){return q(e)?null!=this.contents&&(this.contents=null,!0):!!St(this.contents)&&this.contents.deleteIn(e)}get(e,t){return y(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return q(e)?!t&&p(this.contents)?this.contents.value:this.contents:y(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!y(this.contents)&&this.contents.has(e)}hasIn(e){return q(e)?void 0!==this.contents:!!y(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=U(this.schema,[e],t):St(this.contents)&&this.contents.set(e,t)}setIn(e,t){q(e)?this.contents=t:null==this.contents?this.contents=U(this.schema,Array.from(e),t):St(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let s;switch("number"===typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new $({version:"1.1"}),s={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new $({version:e}),s={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,s=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!s)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new kt(Object.assign(s,t))}}toJS({json:e,jsonArg:t,mapAsMap:s,maxAliasCount:n,onAnchor:i,reviver:o}={}){const r={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===s,mapKeyWarned:!1,maxAliasCount:"number"===typeof n?n:100,stringify:oe},a=M(this.contents,t??"",r);if("function"===typeof i)for(const{count:c,res:l}of r.anchors.values())i(l,c);return"function"===typeof o?wt(o,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){const s=[];let n=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(s.push(t),n=!0):e.directives.docStart&&(n=!0)}n&&s.push("---");const i=ie(e,t),{commentString:o}=i.options;if(e.commentBefore){1!==s.length&&s.unshift("");const t=o(e.commentBefore);s.unshift(V(t,""))}let r=!1,a=null;if(e.contents){if(g(e.contents)){if(e.contents.spaceBefore&&n&&s.push(""),e.contents.commentBefore){const t=o(e.contents.commentBefore);s.push(V(t,""))}i.forceBlockIndent=!!e.comment,a=e.contents.comment}const t=a?void 0:()=>r=!0;let c=oe(e.contents,i,(()=>a=null),t);a&&(c+=J(c,"",o(a))),"|"!==c[0]&&">"!==c[0]||"---"!==s[s.length-1]?s.push(c):s[s.length-1]=`--- ${c}`}else s.push(oe(e.contents,i));if(e.directives?.docEnd)if(e.comment){const t=o(e.comment);t.includes("\n")?(s.push("..."),s.push(V(t,""))):s.push(`... ${t}`)}else s.push("...");else{let t=e.comment;t&&r&&(t=t.replace(/^\n+/,"")),t&&(r&&!a||""===s[s.length-1]||s.push(""),s.push(V(o(t),"")))}return s.join("\n")+"\n"}(this,e)}}function St(e){if(y(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Et extends Error{constructor(e,t,s,n){super(),this.name=e,this.code=s,this.message=n,this.pos=t}}class Nt extends Et{constructor(e,t,s){super("YAMLParseError",e,t,s)}}class Ot extends Et{constructor(e,t,s){super("YAMLWarning",e,t,s)}}const At=(e,t)=>s=>{if(-1===s.pos[0])return;s.linePos=s.pos.map((e=>t.linePos(e)));const{line:n,col:i}=s.linePos[0];s.message+=` at line ${n}, column ${i}`;let o=i-1,r=e.substring(t.lineStarts[n-1],t.lineStarts[n]).replace(/[\n\r]+$/,"");if(o>=60&&r.length>80){const e=Math.min(o-39,r.length-79);r="\u2026"+r.substring(e),o-=e-1}if(r.length>80&&(r=r.substring(0,79)+"\u2026"),n>1&&/^ *$/.test(r.substring(0,o))){let s=e.substring(t.lineStarts[n-2],t.lineStarts[n-1]);s.length>80&&(s=s.substring(0,79)+"\u2026\n"),r=s+r}if(/[^ ]/.test(r)){let e=1;const t=s.linePos[1];t&&t.line===n&&t.col>i&&(e=Math.min(t.col-i,80-o));const a=" ".repeat(o)+"^".repeat(e);s.message+=`:\n\n${r}\n${a}\n`}};function It(e,{flow:t,indicator:s,next:n,offset:i,onError:o,startOnNewline:r}){let a=!1,c=r,l=r,u="",f="",h=!1,d=!1,p=!1,m=null,y=null,g=null,b=null,k=null;for(const S of e)switch(p&&("space"!==S.type&&"newline"!==S.type&&"comma"!==S.type&&o(S.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),S.type){case"space":!t&&c&&"doc-start"!==s&&"\t"===S.source[0]&&o(S,"TAB_AS_INDENT","Tabs are not allowed as indentation"),l=!0;break;case"comment":{l||o(S,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=S.source.substring(1)||" ";u?u+=f+e:u=e,f="",c=!1;break}case"newline":c?u?u+=S.source:a=!0:f+=S.source,c=!0,h=!0,(m||y)&&(d=!0),l=!0;break;case"anchor":m&&o(S,"MULTIPLE_ANCHORS","A node can have at most one anchor"),S.source.endsWith(":")&&o(S.offset+S.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=S,null===k&&(k=S.offset),c=!1,l=!1,p=!0;break;case"tag":y&&o(S,"MULTIPLE_TAGS","A node can have at most one tag"),y=S,null===k&&(k=S.offset),c=!1,l=!1,p=!0;break;case s:(m||y)&&o(S,"BAD_PROP_ORDER",`Anchors and tags must be after the ${S.source} indicator`),b&&o(S,"UNEXPECTED_TOKEN",`Unexpected ${S.source} in ${t??"collection"}`),b=S,c=!1,l=!1;break;case"comma":if(t){g&&o(S,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),g=S,c=!1,l=!1;break}default:o(S,"UNEXPECTED_TOKEN",`Unexpected ${S.type} token`),c=!1,l=!1}const w=e[e.length-1],v=w?w.offset+w.source.length:i;return p&&n&&"space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&("scalar"!==n.type||""!==n.source)&&o(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:g,found:b,spaceBefore:a,comment:u,hasNewline:h,hasNewlineAfterProp:d,anchor:m,tag:y,end:v,start:k??v}}function Tt(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(Tt(t.key)||Tt(t.value))return!0}return!1;default:return!0}}function Lt(e,t,s){if("flow-collection"===t?.type){const n=t.end[0];if(n.indent===e&&("]"===n.source||"}"===n.source)&&Tt(t)){s(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function $t(e,t,s){const{uniqueKeys:n}=e.options;if(!1===n)return!1;const i="function"===typeof n?n:(t,s)=>t===s||p(t)&&p(s)&&t.value===s.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>i(e.key,s)))}const xt="All mapping items must start at the same column";function Ct(e,t,s,n){let i="";if(e){let o=!1,r="";for(const a of e){const{source:e,type:c}=a;switch(c){case"space":o=!0;break;case"comment":{s&&!o&&n(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";i?i+=r+t:i=t,r="";break}case"newline":i&&(r+=e),o=!0;break;default:n(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=e.length}}return{comment:i,offset:t}}const _t="Block collections are not allowed within flow collections",Bt=e=>e&&("block-map"===e.type||"block-seq"===e.type);function jt(e,t,s,n,i){let o;switch(s.type){case"block-map":o=function({composeNode:e,composeEmptyNode:t},s,n,i){const o=new be(s.schema);s.atRoot&&(s.atRoot=!1);let r=n.offset,a=null;for(const c of n.items){const{start:l,key:u,sep:f,value:h}=c,d=It(l,{indicator:"explicit-key-ind",next:u??f?.[0],offset:r,onError:i,startOnNewline:!0}),p=!d.found;if(p){if(u&&("block-seq"===u.type?i(r,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==n.indent&&i(r,"BAD_INDENT",xt)),!d.anchor&&!d.tag&&!f){a=d.end,d.comment&&(o.comment?o.comment+="\n"+d.comment:o.comment=d.comment);continue}(d.hasNewlineAfterProp||Tt(u))&&i(u??l[l.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else d.found?.indent!==n.indent&&i(r,"BAD_INDENT",xt);const m=d.end,y=u?e(s,u,d,i):t(s,m,l,null,d,i);s.schema.compat&&Lt(n.indent,u,i),$t(s,o.items,y)&&i(m,"DUPLICATE_KEY","Map keys must be unique");const g=It(f??[],{indicator:"map-value-ind",next:h,offset:y.range[2],onError:i,startOnNewline:!u||"block-scalar"===u.type});if(r=g.end,g.found){p&&("block-map"!==h?.type||g.hasNewline||i(r,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),s.options.strict&&d.start<g.found.offset-1024&&i(y.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const a=h?e(s,h,g,i):t(s,r,f,null,g,i);s.schema.compat&&Lt(n.indent,h,i),r=a.range[2];const l=new he(y,a);s.options.keepSourceTokens&&(l.srcToken=c),o.items.push(l)}else{p&&i(y.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),g.comment&&(y.comment?y.comment+="\n"+g.comment:y.comment=g.comment);const e=new he(y);s.options.keepSourceTokens&&(e.srcToken=c),o.items.push(e)}}return a&&a<r&&i(a,"IMPOSSIBLE","Map comment with trailing content"),o.range=[n.offset,r,a??r],o}(e,t,s,i);break;case"block-seq":o=function({composeNode:e,composeEmptyNode:t},s,n,i){const o=new we(s.schema);s.atRoot&&(s.atRoot=!1);let r=n.offset,a=null;for(const{start:c,value:l}of n.items){const u=It(c,{indicator:"seq-item-ind",next:l,offset:r,onError:i,startOnNewline:!0});if(!u.found){if(!(u.anchor||u.tag||l)){a=u.end,u.comment&&(o.comment=u.comment);continue}l&&"block-seq"===l.type?i(u.end,"BAD_INDENT","All sequence items must start at the same column"):i(r,"MISSING_CHAR","Sequence item without - indicator")}const f=l?e(s,l,u,i):t(s,u.end,c,null,u,i);s.schema.compat&&Lt(n.indent,l,i),r=f.range[2],o.items.push(f)}return o.range=[n.offset,r,a??r],o}(e,t,s,i);break;case"flow-collection":o=function({composeNode:e,composeEmptyNode:t},s,n,i){const o="{"===n.start.source,r=o?"flow map":"flow sequence",a=o?new be(s.schema):new we(s.schema);a.flow=!0;const c=s.atRoot;c&&(s.atRoot=!1);let l=n.offset+n.start.source.length;for(let m=0;m<n.items.length;++m){const c=n.items[m],{start:u,key:f,sep:h,value:p}=c,y=It(u,{flow:r,indicator:"explicit-key-ind",next:f??h?.[0],offset:l,onError:i,startOnNewline:!1});if(!y.found){if(!y.anchor&&!y.tag&&!h&&!p){0===m&&y.comma?i(y.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${r}`):m<n.items.length-1&&i(y.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${r}`),y.comment&&(a.comment?a.comment+="\n"+y.comment:a.comment=y.comment),l=y.end;continue}!o&&s.options.strict&&Tt(f)&&i(f,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===m)y.comma&&i(y.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${r}`);else if(y.comma||i(y.start,"MISSING_CHAR",`Missing , between ${r} items`),y.comment){let e="";e:for(const t of u)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=a.items[a.items.length-1];d(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,y.comment=y.comment.substring(e.length+1)}}if(o||h||y.found){const n=y.end,d=f?e(s,f,y,i):t(s,n,u,null,y,i);Bt(f)&&i(d.range,"BLOCK_IN_FLOW",_t);const m=It(h??[],{flow:r,indicator:"map-value-ind",next:p,offset:d.range[2],onError:i,startOnNewline:!1});if(m.found){if(!o&&!y.found&&s.options.strict){if(h)for(const e of h){if(e===m.found)break;if("newline"===e.type){i(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}y.start<m.found.offset-1024&&i(m.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else p&&("source"in p&&p.source&&":"===p.source[0]?i(p,"MISSING_CHAR",`Missing space after : in ${r}`):i(m.start,"MISSING_CHAR",`Missing , or : between ${r} items`));const g=p?e(s,p,m,i):m.found?t(s,m.end,h,null,m,i):null;g?Bt(p)&&i(g.range,"BLOCK_IN_FLOW",_t):m.comment&&(d.comment?d.comment+="\n"+m.comment:d.comment=m.comment);const b=new he(d,g);if(s.options.keepSourceTokens&&(b.srcToken=c),o){const e=a;$t(s,e.items,d)&&i(n,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(b)}else{const e=new be(s.schema);e.flow=!0,e.items.push(b),a.items.push(e)}l=g?g.range[2]:m.end}else{const n=p?e(s,p,y,i):t(s,y.end,h,null,y,i);a.items.push(n),l=n.range[2],Bt(p)&&i(n.range,"BLOCK_IN_FLOW",_t)}}const u=o?"}":"]",[f,...h]=n.end;let p=l;if(f&&f.source===u)p=f.offset+f.source.length;else{const e=r[0].toUpperCase()+r.substring(1);i(l,c?"MISSING_CHAR":"BAD_INDENT",c?`${e} must end with a ${u}`:`${e} in block collection must be sufficiently indented and end with a ${u}`),f&&1!==f.source.length&&h.unshift(f)}if(h.length>0){const e=Ct(h,p,s.options.strict,i);e.comment&&(a.comment?a.comment+="\n"+e.comment:a.comment=e.comment),a.range=[n.offset,p,e.offset]}else a.range=[n.offset,p,p];return a}(e,t,s,i)}if(!n)return o;const r=t.directives.tagName(n.source,(e=>i(n,"TAG_RESOLVE_FAILED",e)));if(!r)return o;const a=o.constructor;if("!"===r||r===a.tagName)return o.tag=a.tagName,o;const c=h(o)?"map":"seq";let l=t.schema.tags.find((e=>e.collection===c&&e.tag===r));if(!l){const e=t.schema.knownTags[r];if(!e||e.collection!==c)return i(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${r}`,!0),o.tag=r,o;t.schema.tags.push(Object.assign({},e,{default:!1})),l=e}const u=l.resolve(o,(e=>i(n,"TAG_RESOLVE_FAILED",e)),t.options),f=g(u)?u:new K(u);return f.range=o.range,f.tag=r,l?.format&&(f.format=l.format),f}function Mt(e,t,s){const n=e.offset,i=function({offset:e,props:t},s,n){if("block-scalar-header"!==t[0].type)return n(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=t[0],o=i[0];let r=0,a="",c=-1;for(let h=1;h<i.length;++h){const t=i[h];if(a||"-"!==t&&"+"!==t){const s=Number(t);!r&&s?r=s:-1===c&&(c=e+h)}else a=t}-1!==c&&n(c,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let l=!1,u="",f=i.length;for(let h=1;h<t.length;++h){const e=t[h];switch(e.type){case"space":l=!0;case"newline":f+=e.source.length;break;case"comment":if(s&&!l){n(e,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")}f+=e.source.length,u=e.source.substring(1);break;case"error":n(e,"UNEXPECTED_TOKEN",e.message),f+=e.source.length;break;default:{n(e,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${e.type}`);const t=e.source;t&&"string"===typeof t&&(f+=t.length)}}}return{mode:o,indent:r,chomp:a,comment:u,length:f}}(e,t,s);if(!i)return{value:"",type:null,comment:"",range:[n,n,n]};const o=">"===i.mode?K.BLOCK_FOLDED:K.BLOCK_LITERAL,r=e.source?function(e){const t=e.split(/\n( *)/),s=t[0],n=s.match(/^( *)/),i=[n?.[1]?[n[1],s.slice(n[1].length)]:["",s]];for(let o=1;o<t.length;o+=2)i.push([t[o],t[o+1]]);return i}(e.source):[];let a=r.length;for(let m=r.length-1;m>=0;--m){const e=r[m][1];if(""!==e&&"\r"!==e)break;a=m}if(0===a){const t="+"===i.chomp&&r.length>0?"\n".repeat(Math.max(1,r.length-1)):"";let s=n+i.length;return e.source&&(s+=e.source.length),{value:t,type:o,comment:i.comment,range:[n,s,s]}}let c=e.indent+i.indent,l=e.offset+i.length,u=0;for(let m=0;m<a;++m){const[e,t]=r[m];if(""!==t&&"\r"!==t){if(e.length<c){const t="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";s(l+e.length,"MISSING_CHAR",t)}0===i.indent&&(c=e.length),u=m;break}0===i.indent&&e.length>c&&(c=e.length),l+=e.length+t.length+1}for(let m=r.length-1;m>=a;--m)r[m][0].length>c&&(a=m+1);let f="",h="",d=!1;for(let m=0;m<u;++m)f+=r[m][0].slice(c)+"\n";for(let m=u;m<a;++m){let[e,t]=r[m];l+=e.length+t.length+1;const n="\r"===t[t.length-1];if(n&&(t=t.slice(0,-1)),t&&e.length<c){const o=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;s(l-t.length-(n?2:1),"BAD_INDENT",o),e=""}o===K.BLOCK_LITERAL?(f+=h+e.slice(c)+t,h="\n"):e.length>c||"\t"===t[0]?(" "===h?h="\n":d||"\n"!==h||(h="\n\n"),f+=h+e.slice(c)+t,h="\n",d=!0):""===t?"\n"===h?f+="\n":h="\n":(f+=h+t,h=" ",d=!1)}switch(i.chomp){case"-":break;case"+":for(let e=a;e<r.length;++e)f+="\n"+r[e][0].slice(c);"\n"!==f[f.length-1]&&(f+="\n");break;default:f+="\n"}const p=n+i.length+e.source.length;return{value:f,type:o,comment:i.comment,range:[n,p,p]}}function Dt(e,t,s){const{offset:n,type:i,source:o,end:r}=e;let a,c;const l=(e,t,i)=>s(n+e,t,i);switch(i){case"scalar":a=K.PLAIN,c=function(e,t){let s="";switch(e[0]){case"\t":s="a tab character";break;case",":s="flow indicator character ,";break;case"%":s="directive indicator character %";break;case"|":case">":s=`block scalar indicator ${e[0]}`;break;case"@":case"`":s=`reserved character ${e[0]}`}s&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${s}`);return Kt(e)}(o,l);break;case"single-quoted-scalar":a=K.QUOTE_SINGLE,c=function(e,t){"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote");return Kt(e.slice(1,-1)).replace(/''/g,"'")}(o,l);break;case"double-quoted-scalar":a=K.QUOTE_DOUBLE,c=function(e,t){let s="";for(let n=1;n<e.length-1;++n){const i=e[n];if("\r"!==i||"\n"!==e[n+1])if("\n"===i){const{fold:t,offset:i}=Pt(e,n);s+=t,n=i}else if("\\"===i){let i=e[++n];const o=Ut[i];if(o)s+=o;else if("\n"===i)for(i=e[n+1];" "===i||"\t"===i;)i=e[1+ ++n];else if("\r"===i&&"\n"===e[n+1])for(i=e[1+ ++n];" "===i||"\t"===i;)i=e[1+ ++n];else if("x"===i||"u"===i||"U"===i){const o={x:2,u:4,U:8}[i];s+=qt(e,n+1,o,t),n+=o}else{const i=e.substr(n-1,2);t(n-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${i}`),s+=i}}else if(" "===i||"\t"===i){const t=n;let o=e[n+1];for(;" "===o||"\t"===o;)o=e[1+ ++n];"\n"===o||"\r"===o&&"\n"===e[n+2]||(s+=n>t?e.slice(t,n+1):i)}else s+=i}'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote');return s}(o,l);break;default:return s(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[n,n+o.length,n+o.length]}}const u=n+o.length,f=Ct(r,u,t,s);return{value:c,type:a,comment:f.comment,range:[n,u,f.offset]}}function Kt(e){let t,s;try{t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),s=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch(c){t=/(.*?)[ \t]*\r?\n/ys,s=/[ \t]*(.*?)[ \t]*\r?\n/ys}let n=t.exec(e);if(!n)return e;let i=n[1],o=" ",r=t.lastIndex;for(s.lastIndex=r;n=s.exec(e);)""===n[1]?"\n"===o?i+=o:o="\n":(i+=o+n[1],o=" "),r=s.lastIndex;const a=/[ \t]*(.*)/ys;return a.lastIndex=r,n=a.exec(e),i+o+(n?.[1]??"")}function Pt(e,t){let s="",n=e[t+1];for(;(" "===n||"\t"===n||"\n"===n||"\r"===n)&&("\r"!==n||"\n"===e[t+2]);)"\n"===n&&(s+="\n"),n=e[(t+=1)+1];return s||(s=" "),{fold:s,offset:t}}const Ut={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function qt(e,t,s,n){const i=e.substr(t,s),o=i.length===s&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(o)){const i=e.substr(t-2,s+2);return n(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${i}`),i}return String.fromCodePoint(o)}function Rt(e,t,s,n){const{value:i,type:o,comment:r,range:c}="block-scalar"===t.type?Mt(t,e.options.strict,n):Dt(t,e.options.strict,n),l=s?e.directives.tagName(s.source,(e=>n(s,"TAG_RESOLVE_FAILED",e))):null,u=s&&l?function(e,t,s,n,i){if("!"===s)return e[a];const o=[];for(const a of e.tags)if(!a.collection&&a.tag===s){if(!a.default||!a.test)return a;o.push(a)}for(const a of o)if(a.test?.test(t))return a;const r=e.knownTags[s];if(r&&!r.collection)return e.tags.push(Object.assign({},r,{default:!1,test:void 0})),r;return i(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,"tag:yaml.org,2002:str"!==s),e[a]}(e.schema,i,l,s,n):"scalar"===t.type?function({directives:e,schema:t},s,n,i){const o=t.tags.find((e=>e.default&&e.test?.test(s)))||t[a];if(t.compat){const r=t.compat.find((e=>e.default&&e.test?.test(s)))??t[a];if(o.tag!==r.tag){i(n,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(o.tag)} or ${e.tagString(r.tag)}`,!0)}}return o}(e,i,t,n):e.schema[a];let f;try{const o=u.resolve(i,(e=>n(s??t,"TAG_RESOLVE_FAILED",e)),e.options);f=p(o)?o:new K(o)}catch(h){const e=h instanceof Error?h.message:String(h);n(s??t,"TAG_RESOLVE_FAILED",e),f=new K(i)}return f.range=c,f.source=i,o&&(f.type=o),l&&(f.tag=l),u.format&&(f.format=u.format),r&&(f.comment=r),f}function Ft(e,t,s){if(t){null===s&&(s=t.length);for(let n=s-1;n>=0;--n){let s=t[n];switch(s.type){case"space":case"comment":case"newline":e-=s.source.length;continue}for(s=t[++n];"space"===s?.type;)e+=s.source.length,s=t[++n];break}}return e}const Vt={composeNode:Jt,composeEmptyNode:Yt};function Jt(e,t,s,n){const{spaceBefore:i,comment:o,anchor:r,tag:a}=s;let c,l=!0;switch(t.type){case"alias":c=function({options:e},{offset:t,source:s,end:n},i){const o=new B(s.substring(1));""===o.source&&i(t,"BAD_ALIAS","Alias cannot be an empty string");o.source.endsWith(":")&&i(t+s.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const r=t+s.length,a=Ct(n,r,e.strict,i);o.range=[t,r,a.offset],a.comment&&(o.comment=a.comment);return o}(e,t,n),(r||a)&&n(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=Rt(e,t,a,n),r&&(c.anchor=r.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":c=jt(Vt,e,t,a,n),r&&(c.anchor=r.source.substring(1));break;default:n(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),c=Yt(e,t.offset,void 0,null,s,n),l=!1}return r&&""===c.anchor&&n(r,"BAD_ALIAS","Anchor cannot be an empty string"),i&&(c.spaceBefore=!0),o&&("scalar"===t.type&&""===t.source?c.comment=o:c.commentBefore=o),e.options.keepSourceTokens&&l&&(c.srcToken=t),c}function Yt(e,t,s,n,{spaceBefore:i,comment:o,anchor:r,tag:a,end:c},l){const u=Rt(e,{type:"scalar",offset:Ft(t,s,n),indent:-1,source:""},a,l);return r&&(u.anchor=r.source.substring(1),""===u.anchor&&l(r,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(u.spaceBefore=!0),o&&(u.comment=o,u.range[2]=c),u}function Gt(e){if("number"===typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:s}=e;return[t,t+("string"===typeof s?s.length:1)]}function Wt(e){let t="",s=!1,n=!1;for(let i=0;i<e.length;++i){const o=e[i];switch(o[0]){case"#":t+=(""===t?"":n?"\n\n":"\n")+(o.substring(1)||" "),s=!0,n=!1;break;case"%":"#"!==e[i+1]?.[0]&&(i+=1),s=!1;break;default:s||(n=!0),s=!1}}return{comment:t,afterEmptyLine:n}}class Qt{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,s,n)=>{const i=Gt(e);n?this.warnings.push(new Ot(i,t,s)):this.errors.push(new Nt(i,t,s))},this.directives=new $({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:s,afterEmptyLine:n}=Wt(this.prelude);if(s){const i=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${s}`:s;else if(n||e.directives.docStart||!i)e.commentBefore=s;else if(y(i)&&!i.flow&&i.items.length>0){let e=i.items[0];d(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${s}\n${t}`:s}else{const e=i.commentBefore;i.commentBefore=e?`${s}\n${e}`:s}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Wt(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,s=-1){for(const n of e)yield*this.next(n);yield*this.end(t,s)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,s,n)=>{const i=Gt(e);i[0]+=t,this.onError(i,"BAD_DIRECTIVE",s,n)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:s,start:n,value:i,end:o},r){const a=Object.assign({_directives:t},e),c=new vt(void 0,a),l={atRoot:!0,directives:c.directives,options:c.options,schema:c.schema},u=It(n,{indicator:"doc-start",next:i??o?.[0],offset:s,onError:r,startOnNewline:!0});u.found&&(c.directives.docStart=!0,!i||"block-map"!==i.type&&"block-seq"!==i.type||u.hasNewline||r(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),c.contents=i?Jt(l,i,u,r):Yt(l,u.end,n,null,u,r);const f=c.contents.range[2],h=Ct(o,f,!1,r);return h.comment&&(c.comment=h.comment),c.range=[s,f,h.offset],c}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,s=new Nt(Gt(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(s):this.doc.errors.push(s);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new Nt(Gt(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Ct(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new Nt(Gt(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),s=new vt(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),s.range=[0,t,t],this.decorate(s,!1),yield s}}}const Ht=Symbol("break visit"),Xt=Symbol("skip children"),zt=Symbol("remove item");function Zt(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),es(Object.freeze([]),e,t)}function es(e,t,s){let n=s(t,e);if("symbol"===typeof n)return n;for(const i of["key","value"]){const o=t[i];if(o&&"items"in o){for(let t=0;t<o.items.length;++t){const n=es(Object.freeze(e.concat([[i,t]])),o.items[t],s);if("number"===typeof n)t=n-1;else{if(n===Ht)return Ht;n===zt&&(o.items.splice(t,1),t-=1)}}"function"===typeof n&&"key"===i&&(n=n(t,e))}}return"function"===typeof n?n(t,e):n}Zt.BREAK=Ht,Zt.SKIP=Xt,Zt.REMOVE=zt,Zt.itemAtPath=(e,t)=>{let s=e;for(const[n,i]of t){const e=s?.[n];if(!e||!("items"in e))return;s=e.items[i]}return s},Zt.parentCollection=(e,t)=>{const s=Zt.itemAtPath(e,t.slice(0,-1))?.[t[t.length-1][0]];if(s&&"items"in s)return s;throw new Error("Parent collection not found")};const ts="\x1f";function ss(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const ns="0123456789ABCDEFabcdef".split(""),is="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),os=",[]{}".split(""),rs=" ,[]{}\n\r\t".split(""),as=e=>!e||rs.includes(e);class cs{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let s=this.next??"stream";for(;s&&(t||this.hasChars(1));)s=yield*this.parseNext(s)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let s=0;for(;" "===t;)t=this.buffer[++s+e];if("\r"===t){const t=this.buffer[s+e+1];if("\n"===t||!t&&!this.atEnd)return e+s+1}return"\n"===t||s>=this.indentNext||!t&&!this.atEnd?e+s:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&ss(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!==typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if("\ufeff"===e[0]&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length;const s=e.indexOf("#");if(-1!==s){const n=e[s-1];" "!==n&&"\t"!==n||(t=s-1)}for(;;){const s=e[t-1];if(" "!==s&&"\t"!==s)break;t-=1}const n=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-n),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield"\x02",yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const e=this.peek(3);if("---"===e&&ss(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if("..."===e&&ss(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!ss(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&ss(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(as),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,s=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=s=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const n=this.getLine();if(null===n)return this.setNext("flow");if(-1!==s&&s<this.indentNext&&"#"!==n[0]||0===s&&(n.startsWith("---")||n.startsWith("..."))&&ss(n[3])){if(!(s===this.indentNext-1&&1===this.flowLevel&&("]"===n[0]||"}"===n[0])))return this.flowLevel=0,yield"\x18",yield*this.parseLineStart()}let i=0;for(;","===n[i];)i+=(yield*this.pushCount(1)),i+=(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(i+=(yield*this.pushIndicators()),n[i]){case void 0:return"flow";case"#":return yield*this.pushCount(n.length-i),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(as),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const e=this.charAt(1);if(this.flowKey||ss(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2===0)break;t=this.buffer.indexOf('"',t+1)}const s=this.buffer.substring(0,t);let n=s.indexOf("\n",this.pos);if(-1!==n){for(;-1!==n;){const e=this.continueScalar(n+1);if(-1===e)break;n=s.indexOf("\n",e)}-1!==n&&(t=n-("\r"===s[n-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>ss(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,s=0;e:for(let n=this.pos;e=this.buffer[n];++n)switch(e){case" ":s+=1;break;case"\n":t=n,s=0;break;case"\r":{const e=this.buffer[n+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(s>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=s:this.indentNext+=this.blockScalarIndent;do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=t-1,n=this.buffer[e];"\r"===n&&(n=this.buffer[--e]);const i=e;for(;" "===n||"\t"===n;)n=this.buffer[--e];if(!("\n"===n&&e>=this.pos&&e+1+s>i))break;t=e}return yield ts,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,s=this.pos-1,n=this.pos-1;for(;t=this.buffer[++n];)if(":"===t){const t=this.buffer[n+1];if(ss(t)||e&&","===t)break;s=n}else if(ss(t)){let i=this.buffer[n+1];if("\r"===t&&("\n"===i?(n+=1,t="\n",i=this.buffer[n+1]):s=n),"#"===i||e&&os.includes(i))break;if("\n"===t){const e=this.continueScalar(n+1);if(-1===e)break;n=Math.max(n,e-2)}}else{if(e&&os.includes(t))break;s=n}return t||this.atEnd?(yield ts,yield*this.pushToIndex(s+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const s=this.buffer.slice(this.pos,e);return s?(yield s,this.pos+=s.length,s.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(as))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(ss(t)||e&&os.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!ss(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(is.includes(t))t=this.buffer[++e];else{if("%"!==t||!ns.includes(this.buffer[e+1])||!ns.includes(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,s=this.pos-1;do{t=this.buffer[++s]}while(" "===t||e&&"\t"===t);const n=s-this.pos;return n>0&&(yield this.buffer.substr(this.pos,n),this.pos=s),n}*pushUntil(e){let t=this.pos,s=this.buffer[t];for(;!e(s);)s=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}function ls(e,t){for(let s=0;s<e.length;++s)if(e[s].type===t)return!0;return!1}function us(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function fs(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function hs(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function ds(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function ps(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||ls(t.start,"explicit-key-ind")||ls(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,fs(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class ms{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new cs,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const s of this.lexer.lex(e,t))yield*this.next(s);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=function(e){switch(e){case"\ufeff":return"byte-order-mark";case"\x02":return"doc-mode";case"\x18":return"flow-error-end";case ts:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&ps(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const s=e.items[e.items.length-1];if(s.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!s.sep)return Object.assign(s,{key:t,sep:[]}),void(this.onKeyLine=!ls(s.start,"explicit-key-ind"));s.value=t;break}case"block-seq":{const s=e.items[e.items.length-1];s.value?e.items.push({start:[],value:t}):s.value=t;break}case"flow-collection":{const s=e.items[e.items.length-1];return void(!s||s.value?e.items.push({start:[],key:t,sep:[]}):s.sep?s.value=t:Object.assign(s,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){const s=t.items[t.items.length-1];s&&!s.sep&&!s.value&&s.start.length>0&&-1===us(s.start)&&(0===t.indent||s.start.every((e=>"comment"!==e.type||e.indent<t.indent)))&&("document"===e.type?e.end=s.start:e.items.push({start:s.start}),t.items.splice(-1,1))}}else{const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}}*stream(){switch(this.type){case"directive-line":return void(yield{type:"directive",offset:this.offset,source:this.source});case"byte-order-mark":case"space":case"comment":case"newline":return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};return"doc-start"===this.type&&e.start.push(this.sourceToken),void this.stack.push(e)}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":return void(-1!==us(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken));case"anchor":case"tag":case"space":case"comment":case"newline":return void e.start.push(this.sourceToken)}const t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){const t=ds(hs(this.peek(2)));let s;e.end?(s=e.end,s.push(this.sourceToken),delete e.end):s=[this.sourceToken];const n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:s}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=n}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":return void e.props.push(this.sourceToken);case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const s="end"in t.value?t.value.end:void 0;"comment"===(Array.isArray(s)?s[s.length-1]:void 0)?.type?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const s=e.items[e.items.length-2]?.value?.end;if(Array.isArray(s))return Array.prototype.push.apply(s,t.start),s.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const s=!this.onKeyLine&&this.indent===e.indent&&t.sep;let n=[];if(s&&t.sep&&!t.value){const s=[];for(let n=0;n<t.sep.length;++n){const i=t.sep[n];switch(i.type){case"newline":s.push(n);break;case"space":break;case"comment":i.indent>e.indent&&(s.length=0);break;default:s.length=0}}s.length>=2&&(n=t.sep.splice(s[1]))}switch(this.type){case"anchor":case"tag":return void(s||t.value?(n.push(this.sourceToken),e.items.push({start:n}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||ls(t.start,"explicit-key-ind")?s||t.value?(n.push(this.sourceToken),e.items.push({start:n})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if(ls(t.start,"explicit-key-ind"))if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(ls(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]});else if(fs(t.key)&&!ls(t.sep,"newline")){const e=ds(t.start),s=t.key,n=t.sep;n.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:s,sep:n}]})}else n.length>0?t.sep=t.sep.concat(n,this.sourceToken):t.sep.push(this.sourceToken);else if(ls(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=ds(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||s?e.items.push({start:n,key:null,sep:[this.sourceToken]}):ls(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);return void(s||t.value?(e.items.push({start:n,key:i,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(i):(Object.assign(t,{key:i,sep:[]}),this.onKeyLine=!0))}default:{const i=this.startBlockValue(e);if(i)return s&&"block-seq"!==i.type&&ls(t.start,"explicit-key-ind")&&e.items.push({start:n}),void this.stack.push(i)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const s="end"in t.value?t.value.end:void 0;"comment"===(Array.isArray(s)?s[s.length-1]:void 0)?.type?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const s=e.items[e.items.length-2]?.value?.end;if(Array.isArray(s))return Array.prototype.push.apply(s,t.start),s.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||ls(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const s=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:s,sep:[]}):t.sep?this.stack.push(s):Object.assign(t,{key:s,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const s=this.startBlockValue(e);s?this.stack.push(s):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const s=ds(hs(t));ps(e);const n=e.end.splice(1,e.end.length);n.push(this.sourceToken);const i={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=ds(hs(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]}}case"map-value-ind":{this.onKeyLine=!0;const t=ds(hs(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&(!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type)))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}class ys{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,s=this.lineStarts.length;for(;t<s;){const n=t+s>>1;this.lineStarts[n]<e?t=n+1:s=n}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};return{line:t,col:e-this.lineStarts[t-1]+1}}}}function gs(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new ys||null,prettyErrors:t}}function bs(e,t,s){let n;"function"===typeof t?n=t:void 0===s&&t&&"object"===typeof t&&(s=t);const i=function(e,t={}){const{lineCounter:s,prettyErrors:n}=gs(t),i=new ms(s?.addNewLine),o=new Qt(t);let r=null;for(const a of o.compose(i.parse(e),!0,e.length))if(r){if("silent"!==r.options.logLevel){r.errors.push(new Nt(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else r=a;return n&&s&&(r.errors.forEach(At(e,s)),r.warnings.forEach(At(e,s))),r}(e,s);if(!i)return null;if(i.warnings.forEach((e=>ae(i.options.logLevel,e))),i.errors.length>0){if("silent"!==i.options.logLevel)throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:n},s))}function ks(e,t,s){let n=null;if("function"===typeof t||Array.isArray(t)?n=t:void 0===s&&t&&(s=t),"string"===typeof s&&(s=s.length),"number"===typeof s){const e=Math.round(s);s=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=s??t??{};if(!e)return}return new vt(e,n,s).toString(s)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5283],{55283:function(n,t,e){e.d(t,{HC:function(){return _},HS:function(){return m},IN:function(){return s},Ig:function(){return O},Kf:function(){return R},Nk:function(){return b},PB:function(){return E},PY:function(){return h},WC:function(){return A},fk:function(){return N},gE:function(){return y},j1:function(){return g},jv:function(){return C},nz:function(){return D},oh:function(){return f},qn:function(){return T},t1:function(){return S},u2:function(){return p},y9:function(){return L}});var o=e(38626),r=e(44897),i=e(44425),c=e(42631),d=e(8059),a=e(70515),u=e(47041),l=e(91437),f=68,s=1.5*a.iI,A=3*a.iI;function p(n){var t=d.eW;return i.tf.CALLBACK===n?t=d.J:i.tf.CHART===n||i.tf.CONDITIONAL===n?t=d.Hv:i.tf.CUSTOM===n?t=d.AK:i.tf.DATA_EXPORTER===n?t=d.Sr:i.tf.DATA_LOADER===n?t=d.R2:i.tf.DBT===n?t=d.J:i.tf.EXTENSION===n?t=d.FI:i.tf.GLOBAL_DATA_PRODUCT===n?t=d.yr:i.tf.SCRATCHPAD===n?t=d.Hv:i.tf.SENSOR===n?t=d.rK:i.tf.MARKDOWN===n?t=d.RK:i.tf.TRANSFORMER===n&&(t=d.eW),t}function T(n,t){var e,o,c,d=((null===t||void 0===t||null===(e=t.theme)||void 0===e?void 0:e.borders)||r.Z.borders).light,a=((null===t||void 0===t||null===(o=t.theme)||void 0===o?void 0:o.monotone)||r.Z.monotone).grey500,u=t||{},l=u.blockColor,f=u.isSelected,s=u.theme;return f?d=(s||r.Z).content.active:i.tf.TRANSFORMER===n||l===i.Lq.PURPLE?(d=(s||r.Z).accent.purple,a=(s||r.Z).accent.purpleLight):i.tf.DATA_EXPORTER===n||l===i.Lq.YELLOW?(d=(s||r.Z).accent.yellow,a=(s||r.Z).accent.yellowLight):i.tf.DATA_LOADER===n||l===i.Lq.BLUE?(d=(s||r.Z).accent.blue,a=(s||r.Z).accent.blueLight):i.tf.MARKDOWN===n?(d=(s||r.Z).accent.sky,a=(s||r.Z).accent.skyLight):i.tf.SENSOR===n||l===i.Lq.PINK?(d=(s||r.Z).accent.pink,a=(s||r.Z).accent.pinkLight):i.tf.DBT===n?(d=(s||r.Z).accent.dbt,a=(s||r.Z).accent.dbtLight,c=(s||r.Z).accent.dbtDark):i.tf.EXTENSION===n||l===i.Lq.TEAL?(d=((null===s||void 0===s?void 0:s.accent)||r.Z.accent).teal,a=((null===s||void 0===s?void 0:s.accent)||r.Z.accent).tealLight):i.tf.CALLBACK===n?(d=((null===s||void 0===s?void 0:s.accent)||r.Z.accent).rose,a=((null===s||void 0===s?void 0:s.accent)||r.Z.accent).roseLight):i.tf.CONDITIONAL===n||i.tf.SCRATCHPAD===n||l===i.Lq.GREY||i.tf.CUSTOM===n&&!l?(d=(s||r.Z).content.default,a=(s||r.Z).accent.contentDefaultTransparent):[i.tf.CHART,i.tf.GLOBAL_DATA_PRODUCT].includes(n)&&!l&&(d=(s||r.Z).monotone.white,a=(s||r.Z).monotone.whiteTransparent),{accent:d,accentLight:a,accentDark:c}}var R=(0,o.css)([""," "," "," "," "," "," ",""],(0,l.eR)(),(function(n){return!n.selected&&!n.hasError&&"\n border-color: ".concat(T(n.blockType,n).accentLight,";\n ")}),(function(n){return n.selected&&!n.hasError&&"\n border-color: ".concat(T(n.blockType,n).accent,";\n ")}),(function(n){return!n.selected&&n.hasError&&"\n border-color: ".concat((n.theme.accent||r.Z.accent).negativeTransparent,";\n ")}),(function(n){return n.selected&&n.hasError&&"\n border-color: ".concat((n.theme.borders||r.Z.borders).danger,";\n ")}),(function(n){return n.dynamicBlock&&"\n border-style: dashed !important;\n "}),(function(n){return n.dynamicChildBlock&&"\n border-style: dotted !important;\n "})),O=o.default.div.withConfig({displayName:"indexstyle__CodeBlockV1WrapperStyle",componentId:"sc-s5rj34-0"})(["&.disable-border-radius{.code-block-header-sticky{border-top-left-radius:0px !important;border-top-right-radius:0px !important;}}.code-block-header-sticky{border-top-left-radius:","px;border-top-right-radius:","px;}"],c.n_,c.n_),b=o.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-s5rj34-1"})(["border-radius:","px;position:relative;"],c.n_),h=o.default.div.withConfig({displayName:"indexstyle__HiddenBlockContainerStyle",componentId:"sc-s5rj34-2"})([""," border-radius:","px;border-style:",";border-width:","px;",""],R,c.n_,c.M8,c.mP,(function(n){return"\n background-color: ".concat((n.theme||r.Z).background.content,";\n\n &:hover {\n border-color: ").concat(T(n.blockType,n).accent,";\n }\n ")})),E=o.default.div.withConfig({displayName:"indexstyle__HeaderHorizontalBorder",componentId:"sc-s5rj34-3"})(["",""],(function(n){return"\n border-bottom: 1px solid ".concat((n.theme||r.Z).borders.darkLight,";\n ")})),D=o.default.div.withConfig({displayName:"indexstyle__BlockHeaderStyle",componentId:"sc-s5rj34-4"})([""," border-top-style:",";border-top-width:","px;border-left-style:",";border-left-width:","px;border-right-style:",";border-right-width:","px;"," "," "," ",""],R,c.M8,c.mP,c.M8,c.mP,c.M8,c.mP,(function(n){return"\n background-color: ".concat((n.theme||r.Z).background.dashboard,";\n ")}),(function(n){return"undefined"!==typeof n.zIndex&&null!==n.zIndex&&"\n z-index: ".concat(6+(n.zIndex||0),";\n ")}),(function(n){return!n.noSticky&&"\n // This is to hide the horizontal scrollbar in the block header when sideBySide is enabled,\n // and the screen width is too small.\n position: sticky;\n top: 0px;\n "}),(function(n){return n.noSticky&&"\n ".concat((0,u.y$)(),"\n\n overflow-x: auto;\n overflow-y: visible;\n ")})),m=o.default.div.withConfig({displayName:"indexstyle__SubheaderStyle",componentId:"sc-s5rj34-5"})([""," "," ",""],(function(n){return!n.darkBorder&&"\n border-bottom: 1px solid ".concat((n.theme.borders||r.Z.borders).darkLight,";\n ")}),(function(n){return n.darkBorder&&"\n border-bottom: 1px solid ".concat((n.theme.borders||r.Z.borders).medium,";\n ")}),(function(n){return!n.noBackground&&"\n background-color: ".concat((n.theme||r.Z).background.dashboard,";\n ")})),C=o.default.div.withConfig({displayName:"indexstyle__CodeContainerStyle",componentId:"sc-s5rj34-6"})([""," border-left-style:",";border-left-width:","px;border-right-style:",";border-right-width:","px;position:relative;"," "," "," "," .line-numbers{opacity:0;}&.selected{.line-numbers{opacity:1 !important;}}"],R,c.M8,c.mP,c.M8,c.mP,(function(n){return"\n background-color: ".concat((n.theme.background||r.Z.background).codeTextarea,";\n ")}),(function(n){return!n.noPadding&&"\n padding-bottom: ".concat(a.iI,"px;\n padding-top: ").concat(a.iI,"px;\n ")}),(function(n){return n.lightBackground&&"\n background-color: ".concat((n.theme||r.Z).background.content,";\n ")}),(function(n){return!n.hideBorderBottom&&"\n border-bottom-left-radius: ".concat(c.n_,"px;\n border-bottom-right-radius: ").concat(c.n_,"px;\n border-bottom-style: ").concat(c.M8,";\n border-bottom-width: ").concat(c.mP,"px;\n overflow: hidden;\n ")})),y=o.default.div.withConfig({displayName:"indexstyle__BlockDivider",componentId:"sc-s5rj34-7"})(["align-items:center;display:flex;height:","px;justify-content:center;position:relative;z-index:8;&:hover{"," .block-divider-inner{","}}"," "," "," ",""],2*a.iI,(function(n){return n.additionalZIndex>0&&"\n z-index: ".concat(8+n.additionalZIndex,";\n ")}),(function(n){return"\n background-color: ".concat((n.theme.text||r.Z.text).fileBrowser,";\n ")}),(function(n){return!n.height&&"\n height: ".concat(2*a.iI,"px;\n ")}),(function(n){return n.height&&"\n height: ".concat(n.height,"px;\n ")}),(function(n){return!n.bottom&&"\n bottom: ".concat(.5*a.iI,"px;\n ")}),(function(n){return"undefined"!==typeof n.bottom&&"\n bottom: ".concat(n.bottom,"px;\n ")})),S=o.default.div.withConfig({displayName:"indexstyle__BlockDividerInner",componentId:"sc-s5rj34-8"})(["height 1px;width:100%;position:absolute;z-index:-1;"," ",""],(function(n){return!n.top&&"\n top: ".concat(1.5*a.iI,"px;\n ")}),(function(n){return"undefined"!==typeof n.top&&"\n top: ".concat(n.top,"px;\n ")})),L=o.default.div.withConfig({displayName:"indexstyle__CodeHelperStyle",componentId:"sc-s5rj34-9"})([""," ",""],(function(n){return"\n border-bottom: 1px solid ".concat((n.theme.borders||r.Z.borders).medium,";\n padding-left: ").concat(n.normalPadding?a.iI:f,"px;\n ")}),(function(n){return!n.noMargin&&"\n margin-bottom: ".concat(1*a.iI,"px;\n padding-bottom: ").concat(1*a.iI,"px;\n ")})),_=o.default.div.withConfig({displayName:"indexstyle__TimeTrackerStyle",componentId:"sc-s5rj34-10"})(["bottom:","px;left:","px;position:absolute;"],1*a.iI,f),N=o.default.div.withConfig({displayName:"indexstyle__ScrollColunnsContainerStyle",componentId:"sc-s5rj34-11"})(["position:relative;",""],(function(n){return"\n z-index: ".concat((null===n||void 0===n?void 0:n.zIndex)||1,";\n ")})),g=o.default.div.attrs((function(n){var t=n.height,e=n.left,o=n.right,r=n.top;return{style:{position:"fixed",height:t,width:n.width,left:e,right:o,top:r,zIndex:(n.zIndex||0)+2}}})).withConfig({displayName:"indexstyle__ScrollColunnStyle",componentId:"sc-s5rj34-12"})([""])},44425:function(n,t,e){e.d(t,{$W:function(){return C},DA:function(){return D},GJ:function(){return h},HX:function(){return _},J8:function(){return L},L8:function(){return a},LE:function(){return R},Lk:function(){return Z},Lq:function(){return O},M5:function(){return E},Q3:function(){return y},Qj:function(){return N},Ut:function(){return P},V4:function(){return I},VZ:function(){return S},dO:function(){return T},f2:function(){return x},iZ:function(){return g},qC:function(){return b},t6:function(){return u},tf:function(){return p}});var o,r,i,c,d,a,u,l=e(75582),f=e(82394);function s(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,o)}return e}function A(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?s(Object(e),!0).forEach((function(t){(0,f.Z)(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):s(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}!function(n){n.CONDITION="condition",n.DBT_SNAPSHOT="snapshot",n.DYNAMIC="dynamic",n.DYNAMIC_CHILD="dynamic_child",n.REDUCE_OUTPUT="reduce_output",n.REPLICA="replica"}(a||(a={})),function(n){n.MARKDOWN="markdown",n.PYTHON="python",n.R="r",n.SQL="sql",n.YAML="yaml"}(u||(u={}));var p,T=(o={},(0,f.Z)(o,u.MARKDOWN,"MD"),(0,f.Z)(o,u.PYTHON,"PY"),(0,f.Z)(o,u.R,"R"),(0,f.Z)(o,u.SQL,"SQL"),(0,f.Z)(o,u.YAML,"YAML"),o),R=(r={},(0,f.Z)(r,u.MARKDOWN,"Markdown"),(0,f.Z)(r,u.PYTHON,"Python"),(0,f.Z)(r,u.R,"R"),(0,f.Z)(r,u.SQL,"SQL"),(0,f.Z)(r,u.YAML,"YAML"),r);!function(n){n.CALLBACK="callback",n.CHART="chart",n.CONDITIONAL="conditional",n.CUSTOM="custom",n.DATA_EXPORTER="data_exporter",n.DATA_LOADER="data_loader",n.DBT="dbt",n.EXTENSION="extension",n.GLOBAL_DATA_PRODUCT="global_data_product",n.SCRATCHPAD="scratchpad",n.SENSOR="sensor",n.MARKDOWN="markdown",n.TRANSFORMER="transformer"}(p||(p={}));var O,b=(i={},(0,f.Z)(i,p.CUSTOM,p.CUSTOM),(0,f.Z)(i,p.DBT,p.DBT),i),h=Object.entries(p).reduce((function(n,t){var e=(0,l.Z)(t,2),o=e[0],r=e[1];return A(A({},n),{},(0,f.Z)({},r,o))}),{}),E=[p.CALLBACK,p.CONDITIONAL,p.EXTENSION];!function(n){n.BLUE="blue",n.GREY="grey",n.PINK="pink",n.PURPLE="purple",n.TEAL="teal",n.YELLOW="yellow"}(O||(O={}));var D,m,C=[p.CHART,p.CUSTOM,p.DATA_EXPORTER,p.DATA_LOADER,p.SCRATCHPAD,p.SENSOR,p.MARKDOWN,p.TRANSFORMER],y=[p.CUSTOM,p.DATA_EXPORTER,p.DATA_LOADER,p.SCRATCHPAD,p.SENSOR,p.MARKDOWN,p.TRANSFORMER],S=[p.DATA_EXPORTER,p.DATA_LOADER],L=[p.DATA_EXPORTER,p.DATA_LOADER,p.TRANSFORMER],_=[p.DATA_EXPORTER,p.DATA_LOADER,p.DBT,p.TRANSFORMER],N=[p.CHART,p.SCRATCHPAD,p.SENSOR,p.MARKDOWN],g=[p.CALLBACK,p.CHART,p.EXTENSION,p.SCRATCHPAD,p.MARKDOWN],Z=[p.CUSTOM,p.DATA_EXPORTER,p.DATA_LOADER,p.SENSOR,p.TRANSFORMER];!function(n){n.EXECUTED="executed",n.FAILED="failed",n.NOT_EXECUTED="not_executed",n.UPDATED="updated"}(D||(D={})),function(n){n.BLOCK_FILE="block_file",n.CUSTOM_BLOCK_TEMPLATE="custom_block_template",n.MAGE_TEMPLATE="mage_template"}(m||(m={}));var x=[p.CUSTOM,p.DATA_EXPORTER,p.DATA_LOADER,p.TRANSFORMER],I=(c={},(0,f.Z)(c,p.CALLBACK,"Callback"),(0,f.Z)(c,p.CHART,"Chart"),(0,f.Z)(c,p.CONDITIONAL,"Conditional"),(0,f.Z)(c,p.CUSTOM,"Custom"),(0,f.Z)(c,p.DATA_EXPORTER,"Data exporter"),(0,f.Z)(c,p.DATA_LOADER,"Data loader"),(0,f.Z)(c,p.DBT,"DBT"),(0,f.Z)(c,p.EXTENSION,"Extension"),(0,f.Z)(c,p.GLOBAL_DATA_PRODUCT,"Global data product"),(0,f.Z)(c,p.MARKDOWN,"Markdown"),(0,f.Z)(c,p.SCRATCHPAD,"Scratchpad"),(0,f.Z)(c,p.SENSOR,"Sensor"),(0,f.Z)(c,p.TRANSFORMER,"Transformer"),c),P=[p.DATA_LOADER,p.TRANSFORMER,p.DATA_EXPORTER,p.SENSOR];d={},(0,f.Z)(d,p.DATA_EXPORTER,"DE"),(0,f.Z)(d,p.DATA_LOADER,"DL"),(0,f.Z)(d,p.SCRATCHPAD,"SP"),(0,f.Z)(d,p.SENSOR,"SR"),(0,f.Z)(d,p.MARKDOWN,"MD"),(0,f.Z)(d,p.TRANSFORMER,"TF")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5457],{94629:function(e,n,r){r.d(n,{Z:function(){return T}});var t=r(82394),i=r(21831),o=r(82684),u=r(50724),c=r(82555),s=r(97618),l=r(70613),a=r(31557),d=r(68899),f=r(28598);function p(e,n){var r=e.children,t=e.noPadding;return(0,f.jsx)(d.HS,{noPadding:t,ref:n,children:r})}var b=o.forwardRef(p),h=r(62547),O=r(82571),g=r(98464),P=r(77417),S=r(46684),I=r(70515),v=r(53808),m=r(19183);function y(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function E(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?y(Object(r),!0).forEach((function(n){(0,t.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}function j(e,n){e.addProjectBreadcrumbToCustomBreadcrumbs;var r=e.after,t=e.afterHeader,p=e.afterHidden,y=e.afterWidth,j=e.afterWidthOverride,T=e.appendBreadcrumbs,N=e.before,k=e.beforeWidth,R=e.breadcrumbs,A=e.children,M=e.contained,Z=e.errors,_=e.headerMenuItems,w=e.headerOffset,C=e.hideAfterCompletely,x=e.mainContainerHeader,H=e.navigationItems,G=e.setAfterHidden,D=e.setErrors,Y=e.subheaderChildren,L=e.subheaderNoPadding,B=e.title,U=e.uuid,K=(0,m.i)().width,W="dashboard_after_width_".concat(U),F="dashboard_before_width_".concat(U),q=(0,o.useRef)(null),z=(0,o.useState)(j?y:(0,v.U2)(W,y)),V=z[0],J=z[1],Q=(0,o.useState)(!1),$=Q[0],X=Q[1],ee=(0,o.useState)(N?Math.max((0,v.U2)(F,k),13*I.iI):null),ne=ee[0],re=ee[1],te=(0,o.useState)(!1),ie=te[0],oe=te[1],ue=(0,o.useState)(null)[1],ce=(0,P.Z)().project,se=[];R&&se.push.apply(se,(0,i.Z)(R)),null!==R&&void 0!==R&&R.length&&!T||!ce||null!==R&&void 0!==R&&R.length||se.unshift({bold:!T,label:function(){return B}}),(0,o.useEffect)((function(){null===q||void 0===q||!q.current||$||ie||null===ue||void 0===ue||ue(q.current.getBoundingClientRect().width)}),[$,V,ie,ne,q,ue,K]),(0,o.useEffect)((function(){$||(0,v.t8)(W,V)}),[p,$,V,W]),(0,o.useEffect)((function(){ie||(0,v.t8)(F,ne)}),[ie,ne,F]);var le=(0,g.Z)(y);return(0,o.useEffect)((function(){j&&le!==y&&J(y)}),[j,y,le]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(l.Z,{title:B}),(0,f.jsx)(a.Z,{breadcrumbs:se,menuItems:_}),(0,f.jsxs)(d.Nk,{ref:n,children:[0!==(null===H||void 0===H?void 0:H.length)&&(0,f.jsx)(d.lm,{showMore:!0,children:(0,f.jsx)(O.Z,{navigationItems:H,showMore:!0})}),(0,f.jsx)(s.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(h.Z,{after:r,afterHeader:t,afterHeightOffset:S.Mz,afterHidden:p,afterMousedownActive:$,afterWidth:V,before:N,beforeHeightOffset:S.Mz,beforeMousedownActive:ie,beforeWidth:d.k1+(N?ne:0),contained:M,headerOffset:w,hideAfterCompletely:!G||C,leftOffset:N?d.k1:null,mainContainerHeader:x,mainContainerRef:q,setAfterHidden:G,setAfterMousedownActive:X,setAfterWidth:J,setBeforeMousedownActive:oe,setBeforeWidth:re,children:[Y&&(0,f.jsx)(b,{noPadding:L,children:Y}),A]})})]}),Z&&(0,f.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===D||void 0===D?void 0:D(null)},children:(0,f.jsx)(c.Z,E(E({},Z),{},{onClose:function(){return null===D||void 0===D?void 0:D(null)}}))})]})}var T=o.forwardRef(j)},28795:function(e,n,r){var t;r.d(n,{B:function(){return i},M:function(){return t}}),function(e){e.BACKFILLS="backfills",e.BLOCK_RUNS="block_runs",e.DASHBOARD="dashboard",e.EDIT="edit",e.MONITOR="monitor",e.PIPELINE_LOGS="pipeline_logs",e.PIPELINE_RUNS="pipeline_runs",e.RUNS="runs",e.SETTINGS="settings",e.SYNCS="syncs",e.TRIGGERS="triggers"}(t||(t={}));var i="cancel_all_running_pipeline_runs"},75457:function(e,n,r){r.d(n,{Z:function(){return k}});var t=r(82394),i=r(21831),o=r(82684),u=r(34376),c=r(50724),s=r(94629),l=r(15338),a=r(82555),d=r(55485),f=r(85854),p=r(38276),b=r(35686),h=r(38626),O=r(44897),g=r(42631),P=r(70515),S=h.default.div.withConfig({displayName:"indexstyle__BannerStyle",componentId:"sc-1te3pmf-0"})(["border-radius:","px;padding:","px;"," "," ",""],g.n_,3*P.iI,(function(e){return"\n box-shadow: ".concat((e.theme.shadow||O.Z.shadow).small,";\n ")}),(function(e){return e.background&&"\n background: ".concat(e.background,";\n ")}),(function(e){return e.backgroundImage&&'\n background-image: url("'.concat(e.backgroundImage,'");\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n ')})),I=r(46684),v=r(85010),m=r(72619),y=r(19183),E=r(28598);function j(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function T(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?j(Object(r),!0).forEach((function(n){(0,t.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}function N(e,n){var r=e.after,t=e.afterHidden,h=e.afterWidth,O=e.before,g=e.beforeWidth,j=e.breadcrumbs,N=e.buildSidekick,k=e.children,R=e.errors,A=e.headline,M=e.pageName,Z=e.pipeline,_=e.setErrors,w=e.subheader,C=e.subheaderBackground,x=e.subheaderBackgroundImage,H=e.subheaderButton,G=e.subheaderNoPadding,D=e.subheaderText,Y=e.title,L=e.uuid,B=(0,y.i)().height,U=(0,u.useRouter)().query.pipeline,K=null===Z||void 0===Z?void 0:Z.uuid,W=b.ZP.pipelines.detail(K,{includes_outputs:!1},{revalidateOnFocus:!1}).data,F=null===W||void 0===W?void 0:W.pipeline;(0,o.useEffect)((function(){(0,m.bB)(W,_)}),[W,_]);var q=(0,o.useMemo)((function(){return r||(N?N({height:B,heightOffset:I.Mz,pipeline:F}):null)}),[r,N,B,F]),z=h||(q?50*P.iI:null),V=(0,o.useMemo)((function(){var e=[];return F?(e.push.apply(e,[{label:function(){return"Pipelines"},linkProps:{href:"/pipelines"}}]),j?(e.push({label:function(){return F.uuid},linkProps:{as:"/pipelines/".concat(K,"/triggers"),href:"/pipelines/[pipeline]/triggers"}}),e.push.apply(e,(0,i.Z)(j)),e[e.length-1].bold=!0):e.push({bold:!0,label:function(){return F.name}})):null!==W&&void 0!==W&&W.error&&e.push({bold:!0,danger:!0,label:function(){return"Error loading pipeline"}}),e}),[j,null===W||void 0===W?void 0:W.error,F,K]);return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)(s.Z,{after:q,afterHidden:t,afterWidth:z,before:O,beforeWidth:g,breadcrumbs:V,navigationItems:(0,v.H)(M,F,U),ref:n,subheaderChildren:"undefined"!==typeof w&&w,subheaderNoPadding:G,title:F?Y?Y(F):F.name:null,uuid:L,children:[(H||D)&&(0,E.jsx)(p.Z,{mb:P.Mq,mt:P.cd,mx:P.cd,children:(0,E.jsx)(S,{background:C,backgroundImage:x,children:(0,E.jsxs)(d.ZP,{alignItems:"center",children:[H,D&&(0,E.jsx)(p.Z,{ml:3}),D]})})}),A&&(0,E.jsx)(p.Z,{p:P.cd,children:(0,E.jsxs)(p.Z,{mt:P.cd,px:P.cd,children:[(0,E.jsx)(f.Z,{level:5,children:A}),(0,E.jsx)(l.Z,{light:!0,mt:P.cd,short:!0})]})}),k]}),R&&(0,E.jsx)(c.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===_||void 0===_?void 0:_(null)},children:(0,E.jsx)(a.Z,T(T({},R),{},{onClose:function(){return null===_||void 0===_?void 0:_(null)}}))})]})}var k=o.forwardRef(N)},85010:function(e,n,r){r.d(n,{H:function(){return c}});var t=r(57653),i=r(72473),o=r(28795),u=r(50178);function c(e,n,r){var c=(n||{}).uuid||r,s=[{Icon:i.Bf,id:o.M.TRIGGERS,isSelected:function(){return o.M.TRIGGERS===e},label:function(){return"Triggers"},linkProps:{as:"/pipelines/".concat(c,"/triggers"),href:"/pipelines/[pipeline]/triggers"}},{Icon:i.Pf,id:o.M.RUNS,isSelected:function(){return o.M.RUNS===e},label:function(){return"Runs"},linkProps:{as:"/pipelines/".concat(c,"/runs"),href:"/pipelines/[pipeline]/runs"}},{Icon:i.UL,id:o.M.PIPELINE_LOGS,isSelected:function(){return o.M.PIPELINE_LOGS===e},label:function(){return"Logs"},linkProps:{as:"/pipelines/".concat(c,"/logs"),href:"/pipelines/[pipeline]/logs"}},{Icon:i.ug,id:o.M.MONITOR,isSelected:function(){return o.M.MONITOR===e},label:function(){return"Monitor"},linkProps:{as:"/pipelines/".concat(c,"/monitors"),href:"/pipelines/[pipeline]/monitors"}}];return t.qL.PYTHON===(null===n||void 0===n?void 0:n.type)&&s.splice(2,0,{Icon:i.dE,id:o.M.BACKFILLS,isSelected:function(){return o.M.BACKFILLS===e},label:function(){return"Backfills"},linkProps:{as:"/pipelines/".concat(c,"/backfills"),href:"/pipelines/[pipeline]/backfills"}}),t.qL.INTEGRATION===(null===n||void 0===n?void 0:n.type)&&s.unshift({Icon:i.Nt,id:o.M.SYNCS,isSelected:function(){return o.M.SYNCS===e},label:function(){return"Syncs"},linkProps:{as:"/pipelines/".concat(c,"/syncs"),href:"/pipelines/[pipeline]/syncs"}}),(0,u.Ct)()||(s.unshift({Icon:i.EK,disabled:!c,id:o.M.EDIT,isSelected:function(){return o.M.EDIT===e},label:function(){return"Edit pipeline"},linkProps:{as:"/pipelines/".concat(c,"/edit"),href:"/pipelines/[pipeline]/edit"}}),s.push({Icon:i.JG,id:o.M.SETTINGS,isSelected:function(){return o.M.SETTINGS===e},label:function(){return"Pipeline settings"},linkProps:{as:"/pipelines/".concat(c,"/settings"),href:"/pipelines/[pipeline]/settings"}})),s.unshift({Icon:i.G6,id:o.M.DASHBOARD,isSelected:function(){return o.M.DASHBOARD===e},label:function(){return"Dashboard"},linkProps:{as:"/pipelines/".concat(c,"/dashboard"),href:"/pipelines/[pipeline]/dashboard"}}),s}},72098:function(e,n,r){var t;r.d(n,{U:function(){return t}}),function(e){e.PYSPARK="pysparkkernel",e.PYTHON3="python3"}(t||(t={}))},57653:function(e,n,r){r.d(n,{$1:function(){return h},G7:function(){return P},LM:function(){return S},Mj:function(){return I},QK:function(){return b},RH:function(){return g},a_:function(){return m},fj:function(){return y},kA:function(){return v},qL:function(){return c},r0:function(){return O}});var t,i,o,u,c,s=r(75582),l=r(82394),a=r(72473),d=r(72098);function f(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function p(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?f(Object(r),!0).forEach((function(n){(0,l.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}!function(e){e.INTEGRATION="integration",e.PYTHON="python",e.PYSPARK="pyspark",e.STREAMING="streaming"}(c||(c={}));var b,h,O,g=(t={},(0,l.Z)(t,c.INTEGRATION,"Integration"),(0,l.Z)(t,c.PYTHON,"Python"),(0,l.Z)(t,c.PYSPARK,"PySpark"),(0,l.Z)(t,c.STREAMING,"Streaming"),t),P=(i={},(0,l.Z)(i,c.INTEGRATION,"Integration"),(0,l.Z)(i,c.PYTHON,"Standard"),(0,l.Z)(i,c.PYSPARK,"PySpark"),(0,l.Z)(i,c.STREAMING,"Streaming"),i),S="all",I=(c.PYTHON,c.INTEGRATION,c.STREAMING,o={},(0,l.Z)(o,S,a.ie),(0,l.Z)(o,c.INTEGRATION,a.YC),(0,l.Z)(o,c.PYTHON,a.El),(0,l.Z)(o,c.STREAMING,a.dB),o);!function(e){e.ACTIVE="active",e.INACTIVE="inactive",e.NO_SCHEDULES="no_schedules",e.RETRY="retry",e.RETRY_INCOMPLETE_BLOCK_RUNS="retry_incomplete_block_runs"}(b||(b={})),function(e){e.GROUP="group_by",e.HISTORY_DAYS="from_history_days",e.NO_TAGS="no_tags",e.SEARCH="search",e.STATUS="status[]",e.TAG="tag[]",e.TYPE="type[]"}(h||(h={})),function(e){e.STATUS="status",e.TAG="tag",e.TYPE="type"}(O||(O={}));var v=[b.ACTIVE,b.INACTIVE,b.NO_SCHEDULES],m=(u={},(0,l.Z)(u,c.PYTHON,d.U.PYTHON3),(0,l.Z)(u,c.PYSPARK,d.U.PYSPARK),u),y=Object.entries(m).reduce((function(e,n){var r=(0,s.Z)(n,2),t=r[0],i=r[1];return p(p({},e),{},(0,l.Z)({},i,t))}),{})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5499],{81655:function(n,e,t){t.d(e,{NC:function(){return h},O$:function(){return p},OK:function(){return s},Xx:function(){return d},cg:function(){return u},lG:function(){return r},nH:function(){return f},oz:function(){return a},sh:function(){return o},w4:function(){return v}});var o,r,i=t(3917),l=t(41143),c=t(70515),u=20*c.iI,d=40*c.iI,a=40,s=96,f=286;!function(n){n.ASC="asc",n.DESC="desc"}(o||(o={})),function(n){n.SORT_COL_IDX="sort_column_index",n.SORT_DIRECTION="sort_direction"}(r||(r={}));var p={fitTooltipContentWidth:!0,tooltipMessage:"Timezone: ".concat(i.yd)},v=function(n){var e=n.uuid,t=n.rowIndex;return"".concat(e,"-row-").concat(t)},h=function(n){return{danger:l.V.FAILED===n,default:!n,info:l.V.RUNNING===n,monospace:!0,success:l.V.COMPLETED===n,warning:l.V.CANCELLED===n}}},31608:function(n,e,t){t.d(e,{A2:function(){return d},DI:function(){return c},GZ:function(){return v},Vq:function(){return f},cE:function(){return g},cl:function(){return a},kA:function(){return s},mB:function(){return h}});var o=t(38626),r=t(44897),i=t(47041),l=t(70515),c=2*l.iI,u=1*l.iI,d=o.default.div.withConfig({displayName:"indexstyle__TableWrapperStyle",componentId:"sc-1wzfyed-0"})(["position:relative;",""],(function(n){return n.fixed&&"\n table-layout: fixed;\n "})),a=o.default.div.withConfig({displayName:"indexstyle__TableContainerStyle",componentId:"sc-1wzfyed-1"})(["position:relative;overflow:auto;"," "," "," "," "," ",""],i.w5,(function(n){return n.includePadding&&"\n padding: ".concat(2*l.iI,"px;\n ")}),(function(n){return n.maxHeight&&"\n max-height: ".concat(n.maxHeight,";\n ")}),(function(n){return n.minHeight&&"\n min-height: ".concat(n.minHeight,"px;\n ")}),(function(n){return n.overflowVisible&&"\n overflow: visible;\n "}),(function(n){return n.hide&&"\n display: none;\n "})),s=o.default.table.withConfig({displayName:"indexstyle__TableStyle",componentId:"sc-1wzfyed-2"})(["contain:size;width:100%;"," ",""],(function(n){return(n.columnBorders||n.borderCollapseSeparate)&&"\n border-collapse: separate;\n "}),(function(n){return n.fixed&&"\n table-layout: fixed;\n "})),f=o.default.tr.withConfig({displayName:"indexstyle__TableRowStyle",componentId:"sc-1wzfyed-3"})([""," ",""],(function(n){return n.highlightOnHover&&"\n &:hover {\n background: ".concat((n.theme.interactive||r.Z.interactive).rowHoverBackground,";\n }\n ")}),(function(n){return!n.noHover&&"\n &:hover {\n background: ".concat((n.theme.interactive||r.Z.interactive).rowHoverBackground,";\n cursor: pointer;\n }\n ")})),p=(0,o.css)(["text-overflow:ellipsis;white-space:nowrap;"," "," "," "," "," "," "," "," ",""],(function(n){return!n.alignTop&&"\n vertical-align: middle;\n "}),(function(n){return n.alignTop&&"\n vertical-align: top;\n "}),(function(n){return!n.noBorder&&"\n border-bottom: 1px solid ".concat((n.theme.borders||r.Z.borders).light,";\n ")}),(function(n){return n.compact&&"\n padding-left: ".concat(l.iI,"px;\n padding-right: ").concat(l.iI,"px;\n ")}),(function(n){return n.compact&&("undefined"===typeof n.rowVerticalPadding||null===n.rowVerticalPadding)&&"\n padding-bottom: ".concat(l.iI/2,"px;\n padding-top: ").concat(l.iI/2,"px;\n ")}),(function(n){return!n.compact&&"\n padding-left: ".concat(c,"px;\n padding-right: ").concat(c,"px;\n ")}),(function(n){return!n.compact&&("undefined"===typeof n.rowVerticalPadding||null===n.rowVerticalPadding)&&"\n padding-bottom: ".concat(u,"px;\n padding-top: ").concat(u,"px;\n ")}),(function(n){return n.maxWidth&&"\n max-width: ".concat(n.maxWidth,";\n ")}),(function(n){return"undefined"!==typeof n.rowVerticalPadding&&null!==n.rowVerticalPadding&&"\n padding-top: ".concat(n.rowVerticalPadding,"px;\n padding-bottom: ").concat(n.rowVerticalPadding,"px;\n ")})),v=o.default.th.withConfig({displayName:"indexstyle__TableHeadStyle",componentId:"sc-1wzfyed-4"})([""," "," "," ",""],p,(function(n){return n.columnBorders&&"\n border: 1px solid ".concat((n.theme.borders||r.Z.borders).light,";\n border-right: none;\n ")}),(function(n){return n.columnBorders&&n.last&&"\n border-right: 1px solid ".concat((n.theme.borders||r.Z.borders).light,";\n ")}),(function(n){return n.sticky&&"\n background-color: ".concat((n.theme||r.Z).background.panel,";\n border-bottom: 1px solid ").concat((n.theme.borders||r.Z.borders).medium,";\n z-index: 2;\n position: sticky;\n top: 0;\n\n &:first-child {\n left: 0;\n z-index: 2;\n }\n ")})),h=o.default.div.withConfig({displayName:"indexstyle__SortIconContainerStyle",componentId:"sc-1wzfyed-5"})(["opacity:0;padding-left:","px;position:relative;top:1px;",""],l.iI,(function(n){return n.active&&"\n opacity: 1;\n "})),g=o.default.td.withConfig({displayName:"indexstyle__TableDataStyle",componentId:"sc-1wzfyed-6"})([""," "," "," "," "," ",""],p,(function(n){return n.columnBorders&&"\n border-left: 1px solid ".concat((n.theme.borders||r.Z.borders).light,";\n ")}),(function(n){return n.columnBorders&&n.last&&"\n border-right: 1px solid ".concat((n.theme.borders||r.Z.borders).light,";\n ")}),(function(n){return n.stickyFirstColumn&&"\n background-color: ".concat((n.theme||r.Z).background.panel,";\n z-index: 1;\n position: sticky;\n left: 0;\n ")}),(function(n){return n.selected&&"\n background-color: ".concat((n.theme.interactive||r.Z.interactive).activeBorder,";\n ")}),(function(n){return n.wrapColumns&&"\n white-space: break-spaces;\n "}))},75499:function(n,e,t){var o=t(82394),r=t(21831),i=t(12691),l=t.n(i),c=t(82684),u=t(32013),d=t(98777),a=t(15338),s=t(55485),f=t(70374),p=t(85854),v=t(48670),h=t(38276),g=t(30160),m=t(12468),x=t(44897),b=t(98464),y=t(81655),w=t(11498),C=t(70515),j=t(72473),O=t(31608),I=t(15610),S=t(33834),P=t(42122),k=t(53808),E=t(86735),Z=t(28598);function D(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?D(Object(t),!0).forEach((function(e){(0,o.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):D(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function R(n,e){var t=n.alignTop,i=n.apiForFetchingAfterAction,D=n.borderCollapseSeparate,R=n.buildApiOptionsFromObject,_=n.buildLinkProps,M=n.buildRowProps,B=n.columnBorders,H=n.columnFlex,N=n.columnMaxWidth,T=n.columns,F=void 0===T?[]:T,V=n.compact,L=n.defaultSortColumnIndex,z=n.disableSort,W=n.getObjectAtRowIndex,G=n.getUUIDFromRow,U=n.getUniqueRowIdentifier,Y=n.groupsInline,q=n.highlightRowOnHover,J=n.isSelectedRow,X=n.localStorageKeySortColIdx,$=n.localStorageKeySortDirection,K=n.menu,Q=n.noBorder,nn=n.noHeader,en=n.onClickRow,tn=n.onDoubleClickRow,on=n.onRightClickRow,rn=n.renderExpandedRowWithObject,ln=n.renderRightClickMenu,cn=n.renderRightClickMenuItems,un=n.rightClickMenuHeight,dn=n.rightClickMenuWidth,an=void 0===dn?y.cg:dn,sn=n.rowGroupHeaders,fn=n.rowVerticalPadding,pn=n.rows,vn=n.rowsGroupedByIndex,hn=n.selectedRowIndexInternal,gn=n.setRowsSorted,mn=n.sortableColumnIndexes,xn=n.sortedColumn,bn=n.stickyFirstColumn,yn=n.stickyHeader,wn=n.uuid,Cn=n.uuidColumnIndex,jn=n.wrapColumns,On=(0,c.useState)(null),In=On[0],Sn=On[1],Pn=(0,c.useMemo)((function(){return"undefined"!==typeof hn?hn:In}),[hn,In]),kn=(0,c.useCallback)((function(n,e){Sn((function(e){return e===n?null:n}))}),[Sn]),En=(0,c.useMemo)((function(){return null===Pn?null:null===W||void 0===W?void 0:W(Pn)}),[W,Pn]),Zn=R&&En?R(En):[null],Dn=((null===i||void 0===i?void 0:i.apply(void 0,(0,r.Z)(Zn)))||{}).data,An=(0,c.useState)(null),Rn=An[0],_n=An[1],Mn=(0,c.useState)(null),Bn=Mn[0],Hn=Mn[1],Nn=(0,c.useState)(null),Tn=Nn[0],Fn=Nn[1],Vn=(0,c.useState)(xn),Ln=Vn[0],zn=Vn[1],Wn=(0,c.useMemo)((function(){return null===Ln||void 0===Ln?void 0:Ln.columnIndex}),[Ln]),Gn=(0,c.useMemo)((function(){return null===Ln||void 0===Ln?void 0:Ln.sortDirection}),[Ln]),Un=(0,c.useMemo)((function(){return H.reduce((function(n,e){return n+(e||0)}),0)}),[H]),Yn=(0,c.useCallback)((function(n){if(H[n]){var e=Math.round(H[n]/Un*100);return"".concat(e,"%")}return null}),[H,Un]),qn=(0,c.useCallback)((function(){return _n(null)}),[_n]);(0,c.useEffect)((function(){var n;return null===(n=document)||void 0===n||n.addEventListener("click",qn),function(){var n;null===(n=document)||void 0===n||n.removeEventListener("click",qn)}}),[qn]);var Jn=(0,c.useMemo)((function(){return ln||cn}),[ln,cn]),Xn=(0,c.useMemo)((function(){var n;if(!Jn)return null;var t=(null===e||void 0===e||null===(n=e.current)||void 0===n?void 0:n.getBoundingClientRect())||{},o=t.x,r=t.width,i=Rn||{},l=i.x,c=void 0===l?0:l,u=i.y,d=void 0===u?0:u,a=c;return c+an>=o+r&&(a=o+r-(an+C.iI)),a<0&&(a=0),(0,Z.jsxs)("div",{style:{left:a,position:"fixed",top:d+C.iI/2,zIndex:100},children:[null===ln||void 0===ln?void 0:ln(Bn),cn&&(0,Z.jsx)(f.Z,{items:cn(Bn)||[],open:!0,parentRef:void 0,uuid:"FileBrowser/ContextMenu",width:an})]})}),[Rn,Bn,Jn,e,ln,cn,an]),$n=(0,c.useMemo)((function(){return gn&&Ln&&!z?(0,E.YC)(pn,(function(n){var e,t="number"===typeof Wn?Wn:L,o=null===n||void 0===n?void 0:n[t],r=null===o||void 0===o||null===(e=o.props)||void 0===e?void 0:e.children;if(G&&t===Cn)r=null===G||void 0===G?void 0:G(n);else for(var i=0;"string"!==typeof r&&"number"!==typeof r&&i<10;){var l,c;i+=1,"undefined"===typeof(r=null===(l=r)||void 0===l||null===(c=l.props)||void 0===c?void 0:c.children)&&(r="")}return r}),{ascending:Gn!==y.sh.DESC}):pn}),[L,z,G,pn,gn,Ln,Gn,Wn,Cn]),Kn=(0,c.useMemo)((function(){return U?null===$n||void 0===$n?void 0:$n.map((function(n){return null===U||void 0===U?void 0:U(n)})):void 0}),[U,$n]),Qn=(0,b.Z)(Ln),ne=(0,b.Z)(Kn);(0,c.useEffect)((function(){if(mn&&(JSON.stringify(Ln)!==JSON.stringify(Qn)||JSON.stringify(Kn)!==JSON.stringify(ne))){var n,e;null===gn||void 0===gn||gn($n);var t="number"===typeof Wn?Wn:null,r=Gn||null;X&&(0,k.t8)(X,t),$&&(0,k.t8)($,r);var i=null===F||void 0===F||null===(n=F[t])||void 0===n?void 0:n.uuid;(0,I.u)(A(A({},(0,P.hB)((e={},(0,o.Z)(e,y.lG.SORT_COL_IDX,t),(0,o.Z)(e,y.lG.SORT_DIRECTION,r),e))),{},(0,o.Z)({},w.$D.ORDER_BY,i?"".concat(Gn===y.sh.DESC?"-":"").concat(i):null)),{pushHistory:!0})}}),[F,L,X,$,$n,gn,mn,Ln,Wn,Gn,Qn,Kn,ne]);var ee=(0,c.useMemo)((function(){return null===$n||void 0===$n?void 0:$n.map((function(n,e){var o,r=null===_||void 0===_?void 0:_(e),i=(null===M||void 0===M?void 0:M(e))||{cellProps:null,renderCell:null,renderRow:null,rowProps:null},u=i.cellProps,d=i.renderCell,a=i.renderRow,s=i.rowProps,f=[];if(n.forEach((function(o,r){var i;d&&(i=d(o,r)),i||(i=(0,Z.jsx)(O.cE,A(A({alignTop:t,columnBorders:B,compact:V,last:r===n.length-1,maxWidth:null===N||void 0===N?void 0:N(r),noBorder:Q,rowVerticalPadding:fn,selected:J?null===J||void 0===J?void 0:J(e):rn?Pn===e:null,stickyFirstColumn:bn&&0===r,width:Yn(r),wrapColumns:jn},u||{}),{},{children:o}),"".concat(wn,"-row-").concat(e,"-cell-").concat(r))),f.push(i)})),a)o=a(f);else{var p=(0,y.w4)({rowIndex:e,uuid:wn});o=(0,Z.jsx)(O.Vq,A(A({highlightOnHover:q,id:p,noHover:!(r||en||rn),onClick:function(n){(0,S.jF)(n)||(en&&function(n,e){1===(null===e||void 0===e?void 0:e.detail)?en(n,e):tn&&2===(null===e||void 0===e?void 0:e.detail)&&tn(n)}(e,n),kn(e,n))},onContextMenu:Jn?function(n){n.preventDefault();var t=n.pageY;if(un){var o=window.innerHeight;t=(o?o-n.pageY:0)-un<0?n.pageY-un:n.pageY}_n({x:n.pageX,y:t}),Hn(e),null===on||void 0===on||on(e,n)}:null},s||{}),{},{children:f}),p)}return r?(0,c.createElement)(l(),A(A({},r),{},{key:"".concat(wn,"-row-link-").concat(e),passHref:!0}),(0,Z.jsx)(v.Z,{fullWidth:!0,noHoverUnderline:!0,noOutline:!0,style:{display:"table-row-group"},verticalAlignContent:!0,children:o})):o}))}),[t,_,M,Yn,B,N,V,Jn,q,J,Q,en,kn,tn,on,rn,fn,$n,Pn,Hn,Ln,bn,wn,jn]),te=(0,c.useCallback)((function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.groupIndex,t=n.showEmptyHeaderCells;return(0,Z.jsx)(O.Vq,{noHover:!0,children:null===F||void 0===F?void 0:F.map((function(n,o){var r,i=n||{},l=i.center,c=i.fitTooltipContentWidth,u=i.label,d=i.rightAligned,a=i.tooltipAppearAfter,f=i.tooltipMessage,p=i.tooltipWidth,b=i.uuid,w=null===mn||void 0===mn?void 0:mn.includes(o),C={bold:!0,cyan:Wn===o,leftAligned:!0,monospace:!0,muted:!0},I=u?u({columnIndex:o,groupIndex:e}):b;return r=t?(0,Z.jsx)(g.ZP,A(A({},C),{},{style:{opacity:0,height:0},children:I})):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(g.ZP,A(A({},C),{},{children:I})),f&&(0,Z.jsx)(h.Z,{ml:"4px",children:(0,Z.jsx)(m.Z,{appearBefore:!a,label:(0,Z.jsx)(g.ZP,{leftAligned:!0,children:f}),lightBackground:!0,maxWidth:p,muted:!0,relativePosition:!0,widthFitContent:c})})]}),(0,Z.jsx)(O.GZ,{columnBorders:B,compact:V,last:o===F.length-1,noBorder:Q,onMouseEnter:w?function(){return Fn(o)}:null,onMouseLeave:w?function(){return Fn(null)}:null,rowVerticalPadding:t?0:null,sticky:yn,children:(0,Z.jsx)(s.ZP,{alignItems:"center",justifyContent:l&&!d?"center":d?"flex-end":"flex-start",children:w?(0,Z.jsx)(v.Z,{fullHeight:!0,fullWidth:!0,noHoverUnderline:!0,noOutline:!0,onClick:function(){zn((function(n){var e=n||{},t=e.columnIndex,r=e.sortDirection,i={columnIndex:o,sortDirection:y.sh.ASC};return n&&t===o&&(r===y.sh.ASC?i.sortDirection=y.sh.DESC:r===y.sh.DESC&&(i=null)),i}))},preventDefault:!0,children:(0,Z.jsxs)(s.ZP,{alignItems:"center",children:[r,(0,Z.jsx)(O.mB,{active:o===Tn||o===Wn,children:y.sh.DESC===Gn&&o===Wn?(0,Z.jsx)(j.Vh,{fill:x.Z.accent.cyan}):(0,Z.jsx)(j.cg,{fill:x.Z.accent.cyan})})]})}):r})},"".concat(wn,"-col-").concat(b,"-").concat(o))}))})}),[B,F,V,Tn,Q,mn,Gn,Wn,yn,wn]),oe=(0,c.useMemo)((function(){if((null===sn||void 0===sn?void 0:sn.length)>=1&&(null===vn||void 0===vn?void 0:vn.length)>=1)return null===vn||void 0===vn?void 0:vn.reduce((function(n,e,t){var o=null===e||void 0===e?void 0:e.map((function(n){return null===ee||void 0===ee?void 0:ee[n]}));if((null===o||void 0===o?void 0:o.length)>=1){var r=sn[t],i="table-group-".concat(t);Y?n.push((0,Z.jsxs)("div",{children:[r&&(0,Z.jsxs)(Z.Fragment,{children:["string"===typeof r&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(h.Z,{p:C.cd,children:(0,Z.jsx)(p.Z,{level:5,children:r})}),(0,Z.jsx)(a.Z,{light:!0})]}),"string"!==typeof r&&r]}),(0,Z.jsx)(O.kA,{borderCollapseSeparate:D,columnBorders:B,children:(0,Z.jsxs)(Z.Fragment,{children:[(null===F||void 0===F?void 0:F.length)>=1&&!nn&&te({groupIndex:t}),o]})})]},i)):n.push((0,Z.jsx)(h.Z,{mt:t>=1?2:0,children:(0,Z.jsx)(u.Z,{visibleMapping:{0:!0},children:(0,Z.jsx)(d.Z,{noPaddingContent:!0,title:r,children:(0,Z.jsx)(O.kA,{borderCollapseSeparate:D,columnBorders:B,children:(0,Z.jsxs)(Z.Fragment,{children:[(null===F||void 0===F?void 0:F.length)>=1&&!nn&&te({groupIndex:t}),o]})})})})},i))}return n}),[]);if(rn&&null!==Pn){var n=null===ee||void 0===ee?void 0:ee.slice(0,Pn+1),e=null===ee||void 0===ee?void 0:ee.slice(Pn+1,null===ee||void 0===ee?void 0:ee.length);return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(O.kA,{borderCollapseSeparate:D,columnBorders:B,children:[(null===F||void 0===F?void 0:F.length)>=1&&!nn&&te(),n]}),null===rn||void 0===rn?void 0:rn(Pn,Dn),(0,Z.jsxs)(O.kA,{borderCollapseSeparate:D,columnBorders:B,children:[(null===F||void 0===F?void 0:F.length)>=1&&!nn&&te({showEmptyHeaderCells:!0}),e]})]})}return(0,Z.jsxs)(O.kA,{borderCollapseSeparate:D,columnBorders:B,children:[(null===F||void 0===F?void 0:F.length)>=1&&!nn&&te(),ee]})}),[D,B,null===F||void 0===F?void 0:F.length,Dn,Y,nn,rn,te,ee,sn,vn,Pn]);return(0,Z.jsxs)(O.A2,{children:[oe,K,Jn&&Rn&&Xn]})}e.Z=c.forwardRef(R)},41143:function(n,e,t){var o;t.d(e,{V:function(){return o}}),function(n){n.CANCELLED="cancelled",n.COMPLETED="completed",n.FAILED="failed",n.INITIAL="initial",n.RUNNING="running",n.UPSTREAM_FAILED="upstream_failed",n.CONDITION_FAILED="condition_failed"}(o||(o={}))},15610:function(n,e,t){t.d(e,{g:function(){return p},u:function(){return f}});var o=t(75582),r=t(82394),i=t(34376),l=t.n(i),c=t(11498),u=t(69419),d=t(86735);function a(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 s(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?a(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function f(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.preserveParams,r=e.pushHistory,i=e.replaceParams,c=(0,u.iV)(),d={};t&&t.forEach((function(n){c[n]&&(d[n]=c[n])}));var a,f=i?d:c;a=window.location.pathname;var p=r?l().push:l().replace,v=s(s({},f),n);Object.entries(n).forEach((function(n){var e=(0,o.Z)(n,2),t=e[0],r=e[1];"undefined"!==typeof r&&null!==r||delete v[t]}));var h=(0,u.uM)(v);h.length>=1&&(h="?".concat(h));var g="".concat(a.split("?")[0]).concat(h),m=l().router.basePath;return m&&g.startsWith(m)&&(g=g.replace(m,"")),p(l().router.pathname,g,{shallow:!0})}function p(n,e,t){var r=t.addingMultipleValues,i=t.isList,l=t.itemsPerPage,u=t.pushHistory,a=void 0!==u&&u,p=t.resetLimitParams,v=void 0!==p&&p,h=t.resetPage,g=void 0!==h&&h,m=s({},n);g&&(m.page=0),r?Object.entries(e).forEach((function(n){var e=(0,o.Z)(n,2),t=e[0],r=e[1];if(Array.isArray(r)){var i="".concat(t,"[]");m[i]=r.map(String)}})):i?Object.entries(e).forEach((function(n){var e=(0,o.Z)(n,2),t=e[0],r=e[1],i=String(r),l="".concat(t,"[]"),c=m[l];c&&Array.isArray(c)?(c=c.map(String)).includes(i)?m[l]=(0,d.Od)(c,(function(n){return n===i})):m[l]=c.concat(i):m[l]=[i]})):m=s(s({},m),e),v&&(m[c.$D.LIMIT]=l||20,m[c.$D.OFFSET]=0),f(m,{pushHistory:a})}}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5810],{7432:function(n,e,o){var t={"./Active4D.json":[266,266],"./All Hallows Eve.json":[4450,4450],"./Amy.json":[88849,8849],"./Birds of Paradise.json":[78097,8097],"./Blackboard.json":[88018,6115],"./Brilliance Black.json":[73835,3835],"./Brilliance Dull.json":[6507,6507],"./Chrome DevTools.json":[22508,2508],"./Clouds Midnight.json":[49566,9566],"./Clouds.json":[57951,7951],"./Cobalt.json":[80826,826],"./Cobalt2.json":[98256,8256],"./Dawn.json":[76958,6958],"./Dominion Day.json":[89307,9307],"./Dracula.json":[33453,3453],"./Dreamweaver.json":[19363,9363],"./Eiffel.json":[82481,2481],"./Espresso Libre.json":[44776,4776],"./GitHub Dark.json":[792,792],"./GitHub Light.json":[61450,1450],"./GitHub.json":[10739,739],"./IDLE.json":[67947,7947],"./Katzenmilch.json":[81240,1240],"./Kuroir Theme.json":[4388,4388],"./LAZY.json":[25164,5164],"./MagicWB (Amiga).json":[76443,6443],"./Merbivore Soft.json":[99361,9361],"./Merbivore.json":[86042,6042],"./Monokai Bright.json":[14883,4883],"./Monokai.json":[34454,4454],"./Night Owl.json":[60261,261],"./Nord.json":[59785,9785],"./Oceanic Next.json":[58920,8920],"./Pastels on Dark.json":[38901,8901],"./Slush and Poppies.json":[26434,6434],"./Solarized-dark.json":[36116,6116],"./Solarized-light.json":[5008,5008],"./SpaceCadet.json":[20440,440],"./Sunburst.json":[68018,8018],"./Textmate (Mac Classic).json":[15824,5824],"./Tomorrow-Night-Blue.json":[81150,1150],"./Tomorrow-Night-Bright.json":[8762,8762],"./Tomorrow-Night-Eighties.json":[82545,2545],"./Tomorrow-Night.json":[99855,9855],"./Tomorrow.json":[34092,4092],"./Twilight.json":[93898,3898],"./Upstream Sunburst.json":[98807,8807],"./Vibrant Ink.json":[89927,9927],"./Xcode_default.json":[64042,4042],"./Zenburnesque.json":[33467,3467],"./iPlastic.json":[88277,8277],"./idleFingers.json":[5104,5104],"./krTheme.json":[9633,9633],"./monoindustrial.json":[15729,5729],"./themelist.json":[79437,9437]};function i(n){if(!o.o(t,n))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=t[n],i=e[0];return o.e(e[1]).then((function(){return o.t(i,19)}))}i.keys=function(){return Object.keys(t)},i.id=7432,n.exports=i},89209:function(n,e,o){"use strict";o.d(e,{M4:function(){return d},S0:function(){return s},S_:function(){return c},Yn:function(){return f},rW:function(){return l}});var t=o(82394),i=o(21831),r=o(75582);function a(n,e){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.push.apply(o,t)}return o}function u(n){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?a(Object(o),!0).forEach((function(e){(0,t.Z)(n,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}))}return n}function c(n,e){return Object.entries(e).map((function(e){var o=(0,r.Z)(e,2),t=o[0],i=o[1];return n.languages.registerCompletionItemProvider(t,{provideCompletionItems:i(n)})}))}function s(n){var e=function(n){var e="[\\w.]+",o=["import ".concat(e," as ").concat(e),"import ".concat(e),"from ".concat(e," import ").concat(e," as ").concat(e),"from ".concat(e," import ").concat(e)],t=new RegExp("(".concat(o.join("|"),")"),"g");return(0,i.Z)(n.matchAll(t)).map((function(n){return n[1]}))}(n),o="[\\w.]+",r=["from ".concat(o," import ").concat(o," as (").concat(o,")"),"from ".concat(o," import (").concat(o,")"),"import ".concat(o," as (").concat(o,")"),"import (".concat(o,")")],a=new RegExp("(".concat(r.join("|"),")"));return e.reduce((function(n,e){var o=e.match(a);if(!o)return n;var r=(0,i.Z)(o),c=r[2],s=r[3],l=r[4],d=r[5],f=c||s||l||d;return u(u({},n),{},(0,t.Z)({},f,e))}),{})}function l(n,e){var o=n;e&&(o=o.split(" as ".concat(e))[0]);var t="[\\w.]+",a=["from ".concat(t," import (").concat(t,")"),"import (".concat(t,")")],u=new RegExp("(".concat(a.join("|"),")"),"g"),c=(0,i.Z)(o.matchAll(u))[0];if(c){var s=(0,r.Z)(c,4),l=s[2],d=s[3];return l||d}}function d(n,e){return function(n,e){return n.split("\n")[e.startLineNumber-1]}(n,e).slice(0,e.startColumn-1)}function f(n){var e=new RegExp("([\\w_]+)[ ]*=[ ]*([\\w_]+)","g");return(0,i.Z)(n.matchAll(e)).map((function(n){return{assignmentValue:n[2],variableName:n[1]}}))}},89678:function(n,e,o){"use strict";o.d(e,{Ep:function(){return a},KT:function(){return s},Nk:function(){return c},aU:function(){return u}});var t=o(38626),i=o(44897),r=o(95363),a=2,u=21,c=t.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-w2hta3-0"})(["font-family:",";"," ",""],r.ry,(function(n){return"number"===typeof n.padding&&n.padding>0&&"\n padding-top: ".concat(n.padding,"px;\n background-color: ").concat((n.theme.background||i.Z.background).codeTextarea,";\n ")}),(function(n){return n.hideDuplicateMenuItems&&'\n /*\n * The (n + 10) assumes a specific number of items in the block editor context\n * menu. This includes "Run selected block", "Change All Occurrences", "Cut",\n * "Copy", "Paste", "Command Palette", and 3 dividers. The 10th item from the\n * bottom and higher are hidden to avoid duplicate shortcut items in the\n * context menu.\n */\n .monaco-menu li.action-item:nth-last-child(n + 10) {\n display: none;\n }\n '})),s=t.default.div.withConfig({displayName:"indexstyle__PlaceholderStyle",componentId:"sc-w2hta3-1"})(["padding-left:67px;position:absolute;z-index:1;"])},75810:function(n,e,o){"use strict";o.d(e,{Z:function(){return w}});var t=o(85202),i=o(66639),r=o(82684),a=o(4383),u=o(44425),c=o(30160),s=o(98464),l=o(95363),d=o(61896),f=o(89678),m=o(89209);function h(n,e,o){o.forEach((function(n){e.addAction(n)}))}var g=o(75582),p={"all-hallows-eve":"All Hallows Eve","birds-of-paradise":"Birds of Paradise","brilliance-black":"Brilliance Black","brilliance-dull":"Brilliance Dull","chrome-devtools":"Chrome DevTools","clouds-midnight":"Clouds Midnight","espresso-libre":"Espresso Libre","kuroir-theme":"Kuroir Theme","magicwb--amiga-":"MagicWB (Amiga)","merbivore-soft":"Merbivore Soft","monokai-bright":"Monokai Bright","night-owl":"Night Owl","oceanic-next":"Oceanic Next","pastels-on-dark":"Pastels on Dark","slush-and-poppies":"Slush and Poppies","solarized-dark":"Solarized-dark","solarized-light":"Solarized-light","textmate--mac-classic-":"Textmate (Mac Classic)","tomorrow-night":"Tomorrow-Night","tomorrow-night-blue":"Tomorrow-Night-Blue","tomorrow-night-bright":"Tomorrow-Night-Bright","tomorrow-night-eighties":"Tomorrow-Night-Eighties","upstream-sunburst":"Upstream Sunburst","vibrant-ink":"Vibrant Ink","xcode-default":"Xcode_default",active4d:"Active4D",amy:"Amy",blackboard:"Blackboard",clouds:"Clouds",cobalt:"Cobalt",dawn:"Dawn",dreamweaver:"Dreamweaver",eiffel:"Eiffel",github:"GitHub",idle:"IDLE",idlefingers:"idleFingers",iplastic:"iPlastic",katzenmilch:"Katzenmilch",krtheme:"krTheme",lazy:"LAZY",merbivore:"Merbivore",monoindustrial:"monoindustrial",monokai:"Monokai",spacecadet:"SpaceCadet",sunburst:"Sunburst",tomorrow:"Tomorrow",twilight:"Twilight",zenburnesque:"Zenburnesque"};var v=o(37529),b=o(28598);function j(n,e){var a=n.autocompleteProviders,j=n.autoHeight,w=n.autoSave,k=n.block,C=n.editorRef,y=n.fontSize,S=void 0===y?d.i3:y,E=n.height,O=n.language,x=n.onChange,D=n.onContentSizeChangeCallback,N=n.onDidChangeCursorPosition,T=n.onMountCallback,M=n.onSave,P=n.padding,_=n.placeholder,B=n.readOnly,Z=n.selected,z=(n.setSelected,n.setTextareaFocused),R=n.shortcuts,A=n.showLineNumbers,F=void 0===A||A,I=n.tabSize,L=void 0===I?4:I,K=n.textareaFocused,H=n.theme,W=void 0===H?"twilight":H,U=n.value,G=n.width,V=void 0===G?"100%":G,q=C||(0,r.useRef)(null),X=(0,r.useRef)(null),Y=(0,r.useRef)(null),Q=(0,r.useState)([]),J=Q[0],$=Q[1],nn=(0,r.useState)(null),en=nn[0],on=nn[1],tn=(0,r.useState)(!1),rn=tn[0],an=tn[1],un=(0,r.useState)(null),cn=un[0],sn=un[1],ln=(0,r.useCallback)((function(n){sn((function(e){return e!==W&&function(n){return new Promise((function(e){Promise.all([i._m.init(),o(7432)("./".concat(p[n],".json"))]).then((function(o){var t=(0,g.Z)(o,2),i=t[0],r=t[1];r.colors["editor.background"]="#000000",r.colors["editor.foreground"]="#FFFFFF",i.editor.defineTheme(n,r),e(!0)})).catch((function(){e(!1)}))}))}(W).then((function(e){if(e)return n.editor.setTheme(W),W})),e}))}),[W]),dn=(0,r.useCallback)((function(n){n.languages.typescript.javascriptDefaults.setEagerModelSync(!0),on(n),ln(n)}),[ln]),fn=(0,r.useCallback)((function(n,e){q.current=n,X.current=e;var o=[];null===R||void 0===R||R.forEach((function(t){o.push(t(e,n))})),M&&o.push((0,v.e)(e,(function(){M(n.getValue())}))),h(0,n,o),n.getModel().updateOptions({tabSize:L}),j&&!E&&(n._domElement.style.height="".concat(((U||"").split("\n").length+f.Ep)*f.aU,"px")),n.onDidFocusEditorWidget((function(){null===z||void 0===z||z(!0)})),n.onDidContentSizeChange((function(e){var o=e.contentHeight,t=e.contentHeightChanged;j&&t&&(n._domElement.style.height="".concat(o+2*f.aU,"px")),D&&(null===D||void 0===D||D())})),Z&&K&&setTimeout((function(){n.focus()}),1),N&&n.onDidChangeCursorPosition((function(e){var o=e.position.lineNumber,t=n._domElement.getBoundingClientRect(),i=t.height,r=t.top,a=n.getTopForLineNumber(o);N({editor:n,editorRect:{height:Number(i),top:Number(r)},position:{lineNumber:o,lineNumberTop:a}})})),an(!0),null===T||void 0===T||T(n,e)}),[j,E,D,N,T,M,Z,an,z,R,L,K,U]);(0,r.useEffect)((function(){var n;return w&&M&&(n=setInterval((function(){M(q.current.getValue())}),5e3)),function(){w&&n&&clearInterval(n)}}),[w,q,M]);var mn=(0,s.Z)(Z),hn=(0,s.Z)(K);return(0,r.useEffect)((function(){null!==q&&void 0!==q&&q.current&&(Z&&K?setTimeout((function(){q.current.focus()}),1):t.findDOMNode(q.current._domElement).getElementsByClassName("inputarea")[0].blur())}),[q,Z,mn,K,hn]),(0,r.useEffect)((function(){if(null!==X&&void 0!==X&&X.current&&null!==q&&void 0!==q&&q.current){var n=[];null===R||void 0===R||R.forEach((function(e){n.push(e(null===X||void 0===X?void 0:X.current,null===q||void 0===q?void 0:q.current))})),h(null===X||void 0===X||X.current,null===q||void 0===q?void 0:q.current,n)}}),[null===k||void 0===k?void 0:k.downstream_blocks,null===k||void 0===k?void 0:k.upstream_blocks]),(0,r.useEffect)((function(){return function(){J.map((function(n){return n.dispose()}))}}),[J]),(0,r.useEffect)((function(){en&&a&&(0===J.length&&K||!hn&&K?$((0,m.S_)(en,a)):hn&&!K&&J.map((function(n){return n.dispose()})))}),[a,J,en,K,hn]),(0,b.jsxs)(f.Nk,{hideDuplicateMenuItems:!0,padding:P,ref:e,style:{display:rn?null:"none"},children:[_&&!(null!==U&&void 0!==U&&U.length)&&(0,b.jsx)(f.KT,{children:(0,b.jsx)(c.ZP,{monospace:!0,muted:!0,children:_})}),(0,b.jsx)(i.ZP,{beforeMount:dn,height:E,language:O||"python",onChange:function(n){null===x||void 0===x||x(n)},onMount:fn,options:{domReadOnly:B,fontFamily:l.Vp,fontLigatures:!0,fontSize:S,hideCursorInOverviewRuler:!0,lineNumbers:F?"on":"off",minimap:{enabled:!1},overviewRulerBorder:!1,readOnly:B,renderLineHighlightOnlyWhenFocus:!0,scrollBeyondLastLine:!1,scrollbar:{alwaysConsumeMouseWheel:!1,vertical:"hidden"},useShadowDOM:!1,wordBasedSuggestions:!1,wordWrap:(null===k||void 0===k?void 0:k.type)===u.tf.MARKDOWN?"on":"off"},theme:cn||"vs-dark",value:U,width:V}),(0,b.jsx)("div",{ref:Y})]})}i._m.config({paths:{vs:"".concat((0,a.XF)(),"/monaco-editor/min/vs")}});var w=r.forwardRef(j)},37529:function(n,e,o){"use strict";function t(n,e){return{contextMenuGroupId:"navigation",contextMenuOrder:1.5,id:"saveCode",keybindingContext:null,keybindings:[n.KeyMod.CtrlCmd|n.KeyCode.KeyS],label:"Save",precondition:null,run:function(n){e()}}}function i(n,e){return{contextMenuGroupId:"navigation",contextMenuOrder:1.5,id:"executeCode",keybindingContext:null,keybindings:[n.KeyMod.CtrlCmd|n.KeyCode.Enter],label:"Run selected block",precondition:null,run:function(){return e()}}}o.d(e,{Q:function(){return i},e:function(){return t}})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5849],{27277:function(e,n,t){var r=t(82394),i=t(21831),o=t(82684),l=t(39643),c=t(95924),u=t(44688),a=t(28598);function s(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?s(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.highlightedItemIndexInitial,t=void 0===n?null:n,r=e.itemGroups,s=e.maxResults,f=e.noResultGroups,v=e.onHighlightItemIndexChange,p=e.onMouseEnterItem,h=e.onMouseLeaveItem,j=e.onSelectItem,m=e.renderEmptyState,x=e.searchQuery,b=e.selectedItem,g=e.setItemRefs,y=e.uuid,Z=(0,o.useState)(!0),O=Z[0],P=Z[1],I=(0,o.useMemo)((function(){var e=[],n=r.reduce((function(n,t){if(!s||e.length<=s){var r,o=t.items.filter((function(e){return!x||function(e,n){return e.searchQueries.filter((function(e){return String(e).toLowerCase().includes(n.toLowerCase())})).length>=1}(e,x)}));if(0===o.length)return n;if(s)o=null===(r=o)||void 0===r?void 0:r.slice(0,s-(null===e||void 0===e?void 0:e.length));return e.push.apply(e,(0,i.Z)(o)),n.concat(d(d({},t),{},{items:o}))}return n}),[]);return{itemGroups:n,itemsFlattened:e}}),[r,s,x]),E=I.itemGroups,w=I.itemsFlattened;f&&0===w.length&&(E.push.apply(E,(0,i.Z)(f)),w.push.apply(w,(0,i.Z)(f.reduce((function(e,n){var t=n.items;return e.concat(t)}),[]))));var C=(0,o.useRef)(null);C.current=w.map((function(){return(0,o.createRef)()}));var D=(0,o.useState)(t),S=D[0],k=D[1],T=(0,o.useCallback)((function(e){null===v||void 0===v||v(e),k(e)}),[v,k]),R=w[S],L=(0,u.y)(),M=L.registerOnKeyDown,A=L.unregisterOnKeyDown;(0,o.useEffect)((function(){return function(){return A(y)}}),[A,y]),null===M||void 0===M||M(y,(function(e,n,t){var r,i=!0,o=w.length,u=w.findIndex((function(e,r){var i=e.keyboardShortcutValidation;return null===i||void 0===i?void 0:i({keyHistory:t,keyMapping:n},r)})),a=n[l.Gs]&&!n[l.XR]&&!b;return-1!==u?(e.preventDefault(),j(w[u]),P(i),T(u)):(n[l.Uq]||a)&&w[S]?(a&&e.preventDefault(),n[l.Uq]&&(0,c.j)(e),j(w[S]),P(i),T(S)):(n[l.Bu]?(i=!1,r=null===S?o-1:S-1):n[l.kD]?(i=!1,r=null===S?0:S+1):n[l.vP]&&T(null),"undefined"!==typeof r&&(r>=o?r=0:r<=-1&&(r=o-1),r>=0&&r<=o-1?(T(r),e.preventDefault()):T(null)),void P(i))}),[S,w,b,T,P]),(0,o.useEffect)((function(){null===g||void 0===g||g(C)}),[C,w,g]),(0,o.useEffect)((function(){var e=null===S||"undefined"===typeof S||S>=w.length;(null===x||void 0===x?void 0:x.length)>=1&&e&&T(0)}),[S,w,x,T]);var _=(0,o.useCallback)((function(){return P(!0)}),[P]);return(0,o.useEffect)((function(){return window.addEventListener("mousemove",_),function(){window.removeEventListener("mousemove",_)}}),[_]),0===E.length&&m?m():(0,a.jsx)(a.Fragment,{children:E.map((function(e,n){var t=e.items,r=e.renderItem,i=e.renderGroupHeader,o=e.uuid,l=n>=1?E.slice(0,n).reduce((function(e,n){return e+n.items.length}),0):0,c=t.map((function(e,n){var t=e.itemObject,i=e.value,o=i===(null===R||void 0===R?void 0:R.value),c=n+l,u=(null===t||void 0===t?void 0:t.id)||(null===t||void 0===t?void 0:t.uuid);return(0,a.jsx)("div",{id:"item-".concat(i,"-").concat(u),onMouseMove:function(){return O&&T(c)},ref:C.current[c],children:r(e,{highlighted:o,onClick:function(){return j(e)},onMouseEnter:function(){return null===p||void 0===p?void 0:p(e)},onMouseLeave:function(){return null===h||void 0===h?void 0:h(e)}},n,c)},"item-".concat(i,"-").concat(u))}));return c.length>=1&&(0,a.jsxs)("div",{children:[null===i||void 0===i?void 0:i(),c]},o||"group-uuid-".concat(n))}))})}},81769:function(e,n,t){t.d(n,{Z:function(){return re}});var r=t(82394),i=t(82684),o=t(85854),l=t(21831),c=t(65701),u=t(1254),a=t(97618),s=t(55485),d=t(70652),f=t(54193),v=t(44085),p=t(38276),h=t(30160),j=t(35576),m=t(17488),x=t(69650),b=t(70515),g=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 Z(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,r.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 O=function(e){var n=e.interaction,t=e.setVariables,o=e.showVariableUUID,l=e.variables,c=n||{inputs:{},layout:[],variables:{}},u=c.inputs,y=c.layout,O=c.variables,P=(0,i.useMemo)((function(){var e=[];return null===y||void 0===y||y.forEach((function(n,c){var y=[];null===n||void 0===n||n.forEach((function(e,n){var c,P=e.variable,I=(e.width,(null===O||void 0===O?void 0:O[P])||{uuid:P}),E=I.description,w=I.input,C=I.name,D=I.required,S=(null===u||void 0===u?void 0:u[w])||{options:[],style:null,type:null},k=S.options,T=S.style,R=S.type,L="".concat(P,"-").concat(R),M={required:D},A=[],_="undefined"!==typeof l?null===l||void 0===l?void 0:l[P]:void 0;if(f.bB.CHECKBOX===R)A.push((0,g.jsx)(s.ZP,{alignItems:"center",children:null===k||void 0===k?void 0:k.map((function(e){var n=e.label,i=e.value,o=(null===l||void 0===l?void 0:l[P])||{};console.log(i,o);var c=(null===o||void 0===o?void 0:o[i])||(null===o||void 0===o?void 0:o[String(i)]);return(0,g.jsx)(p.Z,{mr:b.cd,children:(0,g.jsx)(d.Z,Z(Z({},M),{},{label:n,checked:!!c,onClick:function(){return null===t||void 0===t?void 0:t((function(e){return Z(Z({},e),{},(0,r.Z)({},P,Z(Z({},o),{},(0,r.Z)({},i,!c))))}))}}))},String(i||n))}))},"".concat(L,"-").concat(R)));else if(f.bB.TEXT_FIELD===R)A.push((0,g.jsx)(s.ZP,{flexDirection:"column",children:null!==T&&void 0!==T&&T.multiline?(0,i.createElement)(j.Z,Z(Z({},M),{},{key:"".concat(L,"-").concat(R),onChange:function(e){return null===t||void 0===t?void 0:t((function(n){return Z(Z({},n),{},(0,r.Z)({},P,e.target.value))}))},value:_})):(0,i.createElement)(m.Z,Z(Z({},M),{},{key:"".concat(L,"-").concat(R),onChange:function(e){return null===t||void 0===t?void 0:t((function(n){return Z(Z({},n),{},(0,r.Z)({},P,e.target.value))}))},type:(null===T||void 0===T?void 0:T.input_type)||null,value:_}))},"".concat(L,"-").concat(R)));else if(f.bB.DROPDOWN_MENU===R)A.push((0,i.createElement)(v.Z,Z(Z({},M),{},{key:"".concat(L,"-").concat(R),onChange:function(e){return null===t||void 0===t?void 0:t((function(n){return Z(Z({},n),{},(0,r.Z)({},P,e.target.value))}))},value:_}),(0,g.jsx)("option",{value:""}),null===k||void 0===k?void 0:k.map((function(e){var n=e.label,t=e.value;return(0,g.jsx)("option",{value:String(t||n),children:String(n||t)},String(t||n))}))));else if(f.bB.SWITCH===R){var N;y.push((0,g.jsx)(p.Z,{mt:n>=1?b.cd:0,children:(0,g.jsxs)(s.ZP,{alignItems:"center",fullWidth:!0,children:[(0,i.createElement)(x.Z,Z(Z({},M),{},{checked:_,compact:!0,key:"".concat(L,"-").concat(R),onCheck:function(e){return null===t||void 0===t?void 0:t((function(n){return Z(Z({},n),{},(0,r.Z)({},P,e(_)))}))}})),(C||E)&&(0,g.jsx)(p.Z,{ml:b.cd}),(C||E||o)&&(0,g.jsxs)(s.ZP,{alignItems:"flex-start",flexDirection:"row",fullWidth:!0,justifyContent:"space-between",children:[(C||E)&&(0,g.jsxs)(a.Z,{flex:1,flexDirection:"column",children:[C&&(0,g.jsx)(h.ZP,{bold:!0,large:!0,success:!0,children:C}),E&&(null===E||void 0===E||null===(N=E.split("\n"))||void 0===N?void 0:N.map((function(e){return(0,g.jsx)(h.ZP,{default:!0,children:e},e)})))]}),o&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(p.Z,{mr:b.cd}),(0,g.jsx)(h.ZP,{monospace:!0,muted:!0,small:!0,children:P})]})]})]})},L))}(null===A||void 0===A?void 0:A.length)>=1&&y.push((0,g.jsxs)(p.Z,{mt:n>=1?b.cd:0,children:[(C||E||o)&&(0,g.jsxs)(s.ZP,{alignItems:"flex-start",justifyContent:"space-between",children:[(0,g.jsx)(a.Z,{flex:1,flexDirection:"column",children:(0,g.jsxs)(p.Z,{mb:1,children:[C&&(0,g.jsx)(h.ZP,{bold:!0,large:!0,success:!0,children:C}),E&&(null===E||void 0===E||null===(c=E.split("\n"))||void 0===c?void 0:c.map((function(e){return(0,g.jsx)(h.ZP,{default:!0,children:e},e)})))]})}),(0,g.jsx)(p.Z,{mr:b.cd}),o&&(0,g.jsx)(h.ZP,{monospace:!0,muted:!0,small:!0,children:P})]}),A]},L))})),e.push((0,g.jsx)(p.Z,{mt:c>=1?b.Mq:0,children:y},"row-".concat(c)))})),e}),[u,y,t,o,O,l]);return(0,g.jsx)(g.Fragment,{children:P})},P=t(72473),I=t(38626),E=t(44897),w=t(42631),C=t(55283),D=(b.iI,I.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-1ry80xj-0"})([""," border-radius:","px;position:relative;border-style:solid;border-width:1px;overflow:hidden;",""],C.Kf,w.n_,(function(e){return"\n background-color: ".concat((e.theme.background||E.Z.background).panel,";\n ")}))),S=I.default.div.withConfig({displayName:"indexstyle__HeadlineStyle",componentId:"sc-1ry80xj-1"})(["",""],(function(e){return"\n background-color: ".concat((e.theme.background||E.Z.background).chartBlock,";\n ")})),k=I.default.div.withConfig({displayName:"indexstyle__DottedLineStyle",componentId:"sc-1ry80xj-2"})(["",""],(function(e){return"\n border: 1px dashed ".concat((e.theme.borders||E.Z.borders).light,";\n ")})),T=I.default.div.withConfig({displayName:"indexstyle__LayoutItemStyle",componentId:"sc-1ry80xj-3"})(["",""],(function(e){return!e.disableDrag&&"\n &:hover {\n cursor: move;\n }\n "}));var R=function(e){var n=e.columnLayoutSettings,t=e.drag,i=e.drop,o=e.input,l=e.setVariables,c=e.showVariableUUID,u=e.variable,a=e.variables,s=e.width,d=null===u||void 0===u?void 0:u.input,f=null===n||void 0===n?void 0:n.variable;return(0,g.jsx)(T,{disableDrag:!t,ref:i,style:{width:s},children:(0,g.jsx)(D,{ref:t,style:{marginLeft:b.iI,marginRight:b.iI},children:(0,g.jsxs)(p.Z,{p:b.cd,children:[!!t&&(0,g.jsx)(p.Z,{mb:1,children:(0,g.jsx)(P.o0,{default:!0,size:2*b.iI})}),(0,g.jsx)(O,{interaction:{inputs:(0,r.Z)({},d,o),layout:[[{variable:f,width:1}]],variables:(0,r.Z)({},f,u)},setVariables:l,showVariableUUID:c,variables:a})]})})})},L=t(75582),M=t(26304),A=t(10975),_=t(14567),N=["columnIndex","columnsInRow","onDrop","rowIndex"];function B(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 U(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?B(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var G=function(e){var n=e.columnIndex,t=(e.columnsInRow,e.onDrop),r=e.rowIndex,i=(0,M.Z)(e,N),o=(0,A.c)((function(){return{collect:function(e){return{isDragging:!!e.isDragging()}},item:{columnIndex:n,rowIndex:r},type:"InteractionLayoutItem"}}),[n,r]),l=(0,L.Z)(o,2),c=(l[0],l[1]),u=(0,_.L)((function(){return{accept:"InteractionLayoutItem",drop:function(e){return null===t||void 0===t?void 0:t(e)}}}),[t]),a=(0,L.Z)(u,2)[1];return(0,g.jsx)(R,U(U({},i),{},{drag:c,drop:a}))};var F=function(e){var n=e.children,t=e.onDrop,r=e.width,i=(0,_.L)((function(){return{accept:"InteractionLayoutItem",drop:function(e){return null===t||void 0===t?void 0:t(e)}}}),[t]),o=(0,L.Z)(i,2)[1];return(0,g.jsx)("div",{ref:o,style:{width:r},children:(0,g.jsxs)(p.Z,{p:b.cd,children:[n,(0,g.jsx)(k,{})]})})},V=t(86735),H=t(19183);var q=function(e){var n=e.containerRef,t=e.containerWidth,r=e.interaction,o=e.setVariables,d=e.showVariableUUID,f=e.updateLayout,v=e.variables,h=e.widthOffset,j=(0,H.i)(),m=(0,i.useState)(null),x=m[0],b=m[1];(0,i.useEffect)((function(){var e;null!==n&&void 0!==n&&n.current?b(null===n||void 0===n||null===(e=n.current)||void 0===e?void 0:e.getBoundingClientRect()):t&&b({width:t})}),[t,n,j]);var y=(0,i.useMemo)((function(){return{inputs:null===r||void 0===r?void 0:r.inputs,layout:null===r||void 0===r?void 0:r.layout,variables:null===r||void 0===r?void 0:r.variables}}),[r]),Z=y.inputs,O=y.layout,P=y.variables,I=(0,i.useCallback)((function(e,n,t,r,i){var o=(0,l.Z)(O||[]),c=o[e]||[],u=c[n];if(null!==i&&void 0!==i&&i.newRow){var a,s=(0,V.oM)(c,n);return o[e]=s,-1===t?o.unshift([u]):t>=(null===(a=o)||void 0===a?void 0:a.length)?o.push([u]):o=(0,V.VS)([u],t,o),0===(null===s||void 0===s?void 0:s.length)&&(o=(0,V.oM)(o,t<e?e+1:e)),void(null===f||void 0===f||f(o))}if(e===t&&n!==r){var d=(0,V.oM)(c,n);o[e]=(0,V.Hk)(u,r>n?r:r-1,d)}else{var v=(0,V.oM)(c,n);o[e]=v;var p=(0,V.Hk)(u,r,o[t]);o[t]=p,0===(null===v||void 0===v?void 0:v.length)&&(o=(0,V.oM)(o,e))}e===t&&n===r||null===f||void 0===f||f(o)}),[O,f]),E=(0,i.useMemo)((function(){return(null===O||void 0===O?void 0:O.length)||0}),[O]),w=(0,i.useMemo)((function(){var e=[];return null===O||void 0===O||O.forEach((function(n,t){var r=(null===n||void 0===n?void 0:n.length)||0,i=[],l=(0,V.Sm)(null===n||void 0===n?void 0:n.map((function(e){return e.width||0}))),c=(null===n||void 0===n?void 0:n.length)||0,u=null===x||void 0===x?void 0:x.width;null===n||void 0===n||n.forEach((function(e,n){var s=e||{variable:null,width:0},p=s.variable,j=s.max_width_percentage,m=s.width,x=null===P||void 0===P?void 0:P[p],b=null===Z||void 0===Z?void 0:Z[null===x||void 0===x?void 0:x.input],y="undefined"!==typeof j&&null!==j?j>=0?j/100:j:null,O=m/l,E=y&&O>y?y:O,w=f?G:R,C=Math.floor(E*u)-("undefined"===typeof h||null===h?f?Math.round(24/r):Math.round(50/r):Math.round(h/r));i.push((0,g.jsx)(a.Z,{flexBasis:"".concat(Math.floor(100*E),"%"),children:(0,g.jsx)(w,{columnIndex:n,columnLayoutSettings:e,columnsInRow:c,disableDrag:!!f,first:0===n,input:b,onDrop:function(e){var r=e.columnIndex,i=e.rowIndex;I(i,r,t,n)},rowIndex:t,setVariables:o,showVariableUUID:d,variable:x,variables:v,width:C})},"row-".concat(t,"-column-").concat(n,"-").concat(p)))})),0===t&&f&&e.push((0,g.jsx)(F,{onDrop:function(e){var n=e.columnIndex,r=e.rowIndex;I(r,n,t-1,0,{newRow:!0})}},"layout-divider-".concat(t,"-top"))),e.push((0,g.jsx)(s.ZP,{children:i},"row-".concat(t))),f?e.push((0,g.jsx)(F,{onDrop:function(e){var n=e.columnIndex,r=e.rowIndex;I(r,n,t+1,0,{newRow:!0})}},"layout-divider-".concat(t,"-bottom"))):t<E-1&&e.push((0,g.jsx)(p.Z,{py:2},"layout-divider-".concat(t,"-bottom")))})),e}),[x,Z,O,I,E,o,d,f,P,v,h]);return f?(0,g.jsx)(c.W,{backend:u.PD,children:w}):(0,g.jsx)(g.Fragment,{children:w})},W=t(32013),K=t(98777),Y=t(71180),z=t(15338),X=t(81728),Q=t(95924);function J(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 $(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?J(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ee=function(e){var n,t,c,u,y=e.children,Z=e.containerWidth,I=e.interaction,E=e.removeBlockInteraction,w=e.updateInteraction,C=(0,i.useRef)(null),k=(0,i.useRef)(null),T=(0,i.useRef)(null),R=(0,i.useRef)(null),M=(0,i.useRef)(null),A=(0,i.useState)(!1),_=A[0],N=A[1],B=(0,i.useState)(!1),U=B[0],G=B[1],F=(0,i.useState)(null),H=F[0],J=F[1],ee=(0,i.useState)(null),ne=ee[0],te=ee[1],re=(0,i.useState)(null),ie=re[0],oe=re[1],le=(0,i.useState)(null),ce=le[0],ue=le[1],ae=(0,i.useState)(null),se=ae[0],de=ae[1],fe=(0,i.useState)({}),ve=fe[0],pe=fe[1],he=I||{layout:null,variables:null,uuid:null},je=he.inputs,me=he.layout,xe=he.uuid,be=he.variables,ge=(0,i.useCallback)((function(e){return w($($({},I),e))}),[I,w]),ye=(0,i.useCallback)((function(e,n){var t=$({},be),r=$({},je);return!n?(delete r[e],Object.entries(t||{}).forEach((function(n){var r=(0,L.Z)(n,2),i=r[0],o=r[1];e===(null===o||void 0===o?void 0:o.input)&&(t[i]=$($({},o),{},{input:null}))}))):r[e]=$($({},null===r||void 0===r?void 0:r[e]),n),ge({inputs:r})}),[je,ge,be]),Ze=(0,i.useCallback)((function(e,n){var t=[],r=$({},be),i=!n;return i?delete r[e]:r[e]=$($({},null===r||void 0===r?void 0:r[e]),n),null===me||void 0===me||me.forEach((function(n){var r=[];null===n||void 0===n||n.forEach((function(n){i&&e===(null===n||void 0===n?void 0:n.variable)||r.push(n)})),(null===r||void 0===r?void 0:r.length)>=1&&t.push(r)})),ge({layout:t,variables:r})}),[me,ge,be]),Oe=(0,i.useMemo)((function(){return Object.entries(je||{}).map((function(e,n){var t=(0,L.Z)(e,2),r=t[0],i=t[1]||{options:[],style:null,type:null},o=i.options,l=i.style,c=i.type;return(0,g.jsx)(p.Z,{mt:n>=1?b.cd:0,children:(0,g.jsxs)(D,{ref:H===r?k:null,children:[(0,g.jsx)(S,{children:(0,g.jsx)(p.Z,{p:b.cd,children:(0,g.jsxs)(s.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,g.jsx)(h.ZP,{large:!0,monospace:!0,children:r}),(0,g.jsx)(p.Z,{mr:b.cd}),(0,g.jsx)(Y.ZP,{iconOnly:!0,noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return ye(r,null)},children:(0,g.jsx)(P.x8,{default:!0})})]})})}),(0,g.jsx)(z.Z,{muted:!0}),(0,g.jsx)(p.Z,{p:b.cd,children:(0,g.jsxs)(s.ZP,{fullWidth:!0,children:[(0,g.jsxs)(a.Z,{flex:1,flexDirection:"column",children:[(0,g.jsx)(p.Z,{mb:1,children:(0,g.jsx)(h.ZP,{bold:!0,default:!0,children:"Type"})}),(0,g.jsx)(v.Z,{onChange:function(e){return ye(r,{type:e.target.value})},placeholder:"Choose a type of input",value:c,children:f.qS.map((function(e){return(0,g.jsx)("option",{value:e,children:(0,X.vg)(e)},e)}))})]}),(0,g.jsx)(p.Z,{mr:b.Mq}),(0,g.jsxs)(a.Z,{flex:1,flexDirection:"column",children:[f.bB.TEXT_FIELD===c&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(p.Z,{mb:b.cd,children:[(0,g.jsx)(p.Z,{mb:1,children:(0,g.jsxs)(h.ZP,{bold:!0,default:!0,children:["Style ",(0,X.J3)(c)]})}),(0,g.jsx)(d.Z,{checked:null===l||void 0===l?void 0:l.multiline,label:"Allow writing multiple lines",onClick:function(){return ye(r,{style:$($({},l),{},{multiline:!(null!==l&&void 0!==l&&l.multiline)})})}})]}),(0,g.jsxs)("div",{children:[(0,g.jsxs)(p.Z,{mb:1,children:[(0,g.jsx)(h.ZP,{bold:!0,default:!0,children:"Text field type"}),(null===l||void 0===l?void 0:l.multiline)&&(0,g.jsx)(h.ZP,{muted:!0,small:!0,children:"Not available for multiline text field."})]}),(0,g.jsx)(d.Z,{checked:f.al.NUMBER===(null===l||void 0===l?void 0:l.input_type),disabled:!(null===l||void 0===l||!l.multiline),label:"Numbers only",onClick:function(){return ye(r,{style:$($({},l),{},{input_type:f.al.NUMBER===(null===l||void 0===l?void 0:l.input_type)?null:f.al.NUMBER})})}})]})]}),[f.bB.CHECKBOX,f.bB.DROPDOWN_MENU].includes(c)&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(p.Z,{mb:1,children:(0,g.jsxs)(h.ZP,{bold:!0,default:!0,children:["Options for ",(0,X.J3)(c)]})}),null===o||void 0===o?void 0:o.map((function(e,n){var t=e.label,i=e.value;return(0,g.jsx)(p.Z,{mt:n>=1?1:0,children:(0,g.jsxs)(s.ZP,{alignItems:"center",flexDirection:"row",children:[(0,g.jsx)(Y.ZP,{iconOnly:!0,noBackground:!0,noBorder:!0,onClick:function(){return ye(r,{options:(0,V.oM)(o,n)})},children:(0,g.jsx)(P.x8,{})}),(0,g.jsx)(p.Z,{mr:b.cd}),(0,g.jsx)(h.ZP,{default:!0,children:"Label"}),(0,g.jsx)(p.Z,{mr:1}),(0,g.jsx)(m.Z,{compact:!0,onChange:function(e){var t;return ye(r,{options:null===(t=o||[])||void 0===t?void 0:t.map((function(t,r){return n===r?$($({},t),{},{label:e.target.value}):t}))})},value:t||""}),(0,g.jsx)(p.Z,{mr:b.cd}),(0,g.jsx)(h.ZP,{default:!0,children:"Value"}),(0,g.jsx)(p.Z,{mr:1}),(0,g.jsx)(m.Z,{compact:!0,onChange:function(e){var t;return ye(r,{options:null===(t=o||[])||void 0===t?void 0:t.map((function(t,r){return n===r?$($({},t),{},{value:e.target.value}):t}))})},value:i||""})]})},"".concat(r,"-option-").concat(n))})),(0,g.jsx)(p.Z,{mt:1,children:(0,g.jsx)(Y.ZP,{beforeIcon:(0,g.jsx)(P.mm,{}),compact:!0,onClick:function(){return ye(r,{options:(o||[]).concat({label:"",value:""})})},secondary:!0,children:"Add option"})})]})]})]})})]})},"".concat(r,"-").concat(n))}))}),[je,H,k,ye]),Pe=(0,i.useMemo)((function(){return Object.entries(be||{}).map((function(e,n){var t,i=(0,L.Z)(e,2),o=i[0],l=i[1],c=l||{description:"",name:"",required:!1,types:[]},u=c.description,y=c.input,Z=c.name,I=c.required,E=c.types,w=null===je||void 0===je?void 0:je[y];return(0,g.jsx)(p.Z,{mt:n>=1?b.cd:0,children:(0,g.jsxs)(D,{ref:ne===o?T:null,children:[(0,g.jsx)(S,{children:(0,g.jsx)(p.Z,{p:b.cd,children:(0,g.jsxs)(s.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,g.jsxs)(s.ZP,{alignItems:"center",flexDirection:"row",children:[(0,g.jsx)(h.ZP,{large:!0,monospace:!0,children:o}),(0,g.jsx)(p.Z,{mr:b.cd}),(0,g.jsxs)(s.ZP,{alignItems:"center",children:[(0,g.jsx)(x.Z,{checked:I,compact:!0,onCheck:function(e){return Ze(o,{required:e(I)})}}),(0,g.jsx)(p.Z,{mr:1}),(0,g.jsx)(h.ZP,{muted:!I,success:I,children:"Required"})]})]}),(0,g.jsx)(p.Z,{mr:b.cd}),(0,g.jsx)(Y.ZP,{iconOnly:!0,noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return Ze(o,null)},children:(0,g.jsx)(P.x8,{default:!0})})]})})}),(0,g.jsx)(z.Z,{muted:!0}),(0,g.jsxs)(p.Z,{p:b.cd,children:[(0,g.jsxs)(s.ZP,{fullWidth:!0,children:[(0,g.jsxs)(a.Z,{flex:1,flexDirection:"column",children:[(0,g.jsx)(p.Z,{mb:1,children:(0,g.jsx)(h.ZP,{bold:!0,default:!0,children:"Label"})}),(0,g.jsx)(m.Z,{onChange:function(e){return Ze(o,{name:e.target.value})},value:Z}),(0,g.jsxs)(p.Z,{mt:b.Mq,children:[(0,g.jsx)(p.Z,{mb:1,children:(0,g.jsx)(h.ZP,{bold:!0,default:!0,children:"Valid data types"})}),(0,g.jsx)(s.ZP,{alignItems:"center",flexWrap:"wrap",children:f.n8.map((function(e){var n=null===E||void 0===E?void 0:E.includes(e);return(0,g.jsx)(p.Z,{mr:b.cd,children:(0,g.jsx)(d.Z,{checked:n,label:(0,X.vg)(e),onClick:function(){return Ze(o,{types:n?null===E||void 0===E?void 0:E.filter((function(n){return n!==e})):(E||[]).concat(e)})}})},e)}))})]})]}),(0,g.jsx)(p.Z,{mr:b.Mq}),(0,g.jsxs)(a.Z,{flex:1,flexDirection:"column",children:[(0,g.jsx)(p.Z,{mb:1,children:(0,g.jsx)(h.ZP,{bold:!0,default:!0,children:"Description"})}),(0,g.jsx)(j.Z,{onChange:function(e){return Ze(o,{description:e.target.value})},rows:Math.max(3,null===u||void 0===u||null===(t=u.split("\n"))||void 0===t?void 0:t.length),value:u})]})]}),(0,g.jsxs)(p.Z,{mt:b.Mq,children:[(0,g.jsx)(s.ZP,{alignContent:"center",flexDirection:"row",justifyContent:"space-between",children:(0,g.jsxs)(s.ZP,{flexDirection:"column",children:[(0,g.jsx)(h.ZP,{bold:!0,default:!0,children:"Input"}),(0,g.jsx)(h.ZP,{muted:!0,children:"Associate an existing input to this variable or create a new input and then associate it to this variable."})]})}),(0,g.jsx)(p.Z,{mt:1,children:(0,g.jsxs)(v.Z,{monospace:!0,onChange:function(e){var n=e.target.value;"+ Add a new input"===n?(G(!0),oe(o),setTimeout((function(){var e;return null===R||void 0===R||null===(e=R.current)||void 0===e?void 0:e.focus()}),1)):Ze(o,{input:n})},placeholder:"Select an existing input",value:y,children:[(0,g.jsx)("option",{value:""}),(0,g.jsx)("option",{value:"+ Add a new input",children:"+ Add a new input"}),Object.keys(je||{}).map((function(e){return(0,g.jsx)("option",{value:e,children:e},e)}))]})})]})]}),y&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(z.Z,{muted:!0}),(0,g.jsxs)(p.Z,{p:b.cd,children:[(0,g.jsx)(p.Z,{mb:1,children:(0,g.jsx)(h.ZP,{muted:!0,rightAligned:!0,small:!0,uppercase:!0,children:"Preview"})}),!(null!==w&&void 0!==w&&w.type)&&(0,g.jsxs)(h.ZP,{muted:!0,children:["Select an input style for ",y," before seeing a preview."]}),(null===w||void 0===w?void 0:w.type)&&(0,g.jsx)(O,{interaction:{inputs:(0,r.Z)({},y,null===je||void 0===je?void 0:je[y]),layout:[[{variable:o,width:1}]],variables:(0,r.Z)({},o,l)}})]})]})]})},"".concat(o,"-").concat(n))}))}),[je,ne,T,oe,Ze,be]),Ie=(0,i.useMemo)((function(){return!(null===be||void 0===be||!be[se])}),[se,be]),Ee=(0,i.useMemo)((function(){return!(null===je||void 0===je||!je[ce])}),[je,ce]),we=(0,i.useMemo)((function(){return(0,g.jsx)(q,{containerRef:C,containerWidth:Z,interaction:I,showVariableUUID:!0,updateLayout:function(e){return ge({layout:e})}})}),[C,Z,I,ge]),Ce=(0,i.useMemo)((function(){return(0,g.jsxs)(s.ZP,{alignItems:"center",children:[!_&&(0,g.jsx)(Y.ZP,{beforeIcon:(0,g.jsx)(P.mm,{}),compact:!0,onClick:function(e){(0,Q.j)(e),N(!0),setTimeout((function(){var e;return null===M||void 0===M||null===(e=M.current)||void 0===e?void 0:e.focus()}),1)},secondary:!0,small:!0,children:"Add new variable"}),_&&(0,g.jsxs)(g.Fragment,{children:[Ie&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(h.ZP,{danger:!0,small:!0,children:"Variable already exists"}),(0,g.jsx)(p.Z,{mr:1})]}),(0,g.jsx)(m.Z,{compact:!0,meta:{touched:!!Ie,error:String(Ie)},monospace:!0,onChange:function(e){(0,Q.j)(e),de(e.target.value)},onClick:function(e){return(0,Q.j)(e)},ref:M,small:!0,value:se||""}),(0,g.jsx)(p.Z,{mr:1}),(0,g.jsx)(Y.ZP,{disabled:Ie,compact:!0,onClick:function(e){if((0,Q.j)(e),!Ie){var n=(0,l.Z)(me||[]);n.push([{width:1,variable:se}]),ge($($({},I),{},{layout:n,variables:$($({},be),{},(0,r.Z)({},se,{}))})),N(!1),te(se),de(null),pe({0:!0}),setTimeout((function(){var e;null===T||void 0===T||null===(e=T.current)||void 0===e||e.scrollIntoView(),pe({})}),K.e+100)}},primary:!0,small:!0,children:"Create variable"}),(0,g.jsx)(p.Z,{mr:1}),(0,g.jsx)(Y.ZP,{compact:!0,onClick:function(e){(0,Q.j)(e),N(!1),de(null)},secondary:!0,small:!0,children:"Cancel"})]})]})}),[_,me,se,T,M,N,te,de,pe,ge,Ie,be]),De=(0,i.useMemo)((function(){return(0,g.jsxs)(s.ZP,{alignItems:"center",children:[!U&&(0,g.jsx)(Y.ZP,{beforeIcon:(0,g.jsx)(P.mm,{}),compact:!0,onClick:function(e){(0,Q.j)(e),G(!0),setTimeout((function(){var e;return null===R||void 0===R||null===(e=R.current)||void 0===e?void 0:e.focus()}),1)},secondary:!0,small:!0,children:"Add new input"}),U&&(0,g.jsxs)(g.Fragment,{children:[Ee&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(h.ZP,{danger:!0,small:!0,children:"Input already exists"}),(0,g.jsx)(p.Z,{mr:1})]}),(0,g.jsx)(m.Z,{compact:!0,meta:{touched:!!Ee,error:String(Ee)},monospace:!0,onClick:function(e){return(0,Q.j)(e)},onChange:function(e){(0,Q.j)(e),ue(e.target.value)},ref:R,small:!0,value:ce||""}),(0,g.jsx)(p.Z,{mr:1}),(0,g.jsx)(Y.ZP,{disabled:Ee,compact:!0,onClick:function(e){(0,Q.j)(e),Ee||(ie?ge($($({},I),{},{inputs:$($({},je),{},(0,r.Z)({},ce,{})),variables:$($({},be),{},(0,r.Z)({},ie,$($({},null===be||void 0===be?void 0:be[ie]),{},{input:ce})))})):ye(ce,{}),G(!1),J(ce),oe(null),ue(null),pe({1:!0}),setTimeout((function(){var e;null===k||void 0===k||null===(e=k.current)||void 0===e||e.scrollIntoView(),pe({})}),K.e+100))},primary:!0,small:!0,children:"Create input"}),(0,g.jsx)(p.Z,{mr:1}),(0,g.jsx)(Y.ZP,{compact:!0,onClick:function(e){(0,Q.j)(e),G(!1),ue(null)},secondary:!0,small:!0,children:"Cancel"})]})]})}),[Ee,je,I,U,ie,ce,k,R,G,J,oe,ue,pe,ye,be]);return(0,g.jsxs)(D,{ref:C,children:[(0,g.jsx)(S,{children:(0,g.jsx)(p.Z,{p:b.cd,children:(0,g.jsxs)(s.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,g.jsx)(h.ZP,{default:!0,large:!0,monospace:!0,children:xe}),E&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(p.Z,{mr:b.cd}),(0,g.jsx)(Y.ZP,{iconOnly:!0,noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return E()},children:(0,g.jsx)(P.x8,{default:!0})})]})]})})}),(0,g.jsx)(z.Z,{muted:!0}),y,(0,g.jsxs)(W.Z,{noBorder:!0,visibleMapping:{0:!0,1:!0,2:!0},visibleMappingForced:ve,children:[(0,g.jsx)(K.Z,{noBorderRadius:!0,noPaddingContent:!0,onClick:function(){pe({})},titleXPadding:b.cd*b.iI,titleYPadding:b.iI,title:(0,g.jsxs)(s.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,g.jsx)(p.Z,{mr:b.cd,py:1,children:(0,g.jsx)(o.Z,{level:5,children:"Variables"})}),(null===(n=Object.keys(be||{}))||void 0===n?void 0:n.length)>=1&&Ce]}),children:(0,g.jsxs)(p.Z,{p:b.cd,children:[Pe,!(null!==(t=Object.keys(be||{}))&&void 0!==t&&t.length)&&Ce]})}),(0,g.jsx)(K.Z,{noBorderRadius:!0,noPaddingContent:!0,onClick:function(){pe({})},titleXPadding:b.cd*b.iI,titleYPadding:b.iI,title:(0,g.jsxs)(s.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,g.jsx)(p.Z,{mr:b.cd,py:1,children:(0,g.jsx)(o.Z,{level:5,children:"Inputs"})}),(null===(c=Object.keys(je||{}))||void 0===c?void 0:c.length)>=1&&De]}),children:(0,g.jsxs)(p.Z,{p:b.cd,children:[Oe,!(null!==(u=Object.keys(je||{}))&&void 0!==u&&u.length)&&De]})}),(0,g.jsxs)(K.Z,{noBorderRadius:!0,noPaddingContent:!0,onClick:function(){pe({})},titleXPadding:b.cd*b.iI,titleYPadding:b.iI,title:(0,g.jsx)(s.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,g.jsx)(p.Z,{mr:b.cd,py:1,children:(0,g.jsx)(o.Z,{level:5,children:"Interaction layout"})})}),children:[(0,g.jsx)(p.Z,{p:1,children:we}),!(null!==me&&void 0!==me&&me.length)&&(0,g.jsx)(p.Z,{px:b.cd,pb:b.cd,children:(0,g.jsx)(h.ZP,{muted:!0,children:"Add at least 1 variable and associate an input to it and see a preview."})})]})]})]})};function ne(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 te(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ne(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ne(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var re=function(e){var n=e.blockInteraction,t=e.children,l=e.contained,c=e.containerRef,u=e.containerWidth,a=e.interaction,s=e.isEditing,d=e.removeBlockInteraction,f=e.setInteractionsMapping,v=e.setVariables,j=e.showVariableUUID,m=e.variables,x=e.widthOffset,y=(0,i.useMemo)((function(){return n||{description:null,name:null}}),[n]),Z=y.description,O=y.name,P=(0,i.useCallback)((function(e){return null===f||void 0===f?void 0:f((function(n){return te(te({},n),{},(0,r.Z)({},null===e||void 0===e?void 0:e.uuid,te(te({},a),e)))}))}),[a,f]),I=(0,i.useMemo)((function(){var e;return(0,g.jsxs)(g.Fragment,{children:[O&&(0,g.jsxs)(p.Z,{mb:b.cd,pt:b.cd,px:b.cd,children:[(0,g.jsx)(o.Z,{level:5,children:O}),Z&&(null===Z||void 0===Z||null===(e=Z.split("\n"))||void 0===e?void 0:e.map((function(e){return(0,g.jsx)(h.ZP,{default:!0,children:e},e)})))]}),(0,g.jsx)(p.Z,{pb:b.Mq,pt:O?0:b.cd,px:1,children:(0,g.jsx)(q,{containerRef:c,containerWidth:u,interaction:a,setVariables:v,showVariableUUID:j,variables:m,widthOffset:x})})]})}),[Z,O,c,u,a,v,j,m,x]);return(0,g.jsxs)("div",{children:[s&&(0,g.jsx)(ee,{containerWidth:u,interaction:a,removeBlockInteraction:d,updateInteraction:P,children:t}),!s&&(0,g.jsxs)(g.Fragment,{children:[l&&I,!l&&(0,g.jsx)(D,{children:I})]})]})}},61599:function(e,n,t){t.d(n,{D5:function(){return m},MU:function(){return l},RL:function(){return a},Xv:function(){return s},Zj:function(){return j},_B:function(){return i},eL:function(){return d},fe:function(){return p},jL:function(){return u},kB:function(){return x},ks:function(){return v},th:function(){return h},u7:function(){return f},zS:function(){return c}});var r,i,o=t(82394);!function(e){e.FULL_TABLE="FULL_TABLE",e.INCREMENTAL="INCREMENTAL",e.LOG_BASED="LOG_BASED"}(i||(i={}));var l,c,u=[i.FULL_TABLE,i.INCREMENTAL];!function(e){e.IGNORE="IGNORE",e.UPDATE="UPDATE"}(l||(l={})),function(e){e.DATE_TIME="date-time",e.UUID="uuid"}(c||(c={}));var a,s="datetime",d=(r={},(0,o.Z)(r,c.DATE_TIME,s),(0,o.Z)(r,c.UUID,c.UUID),r);!function(e){e.ARRAY="array",e.BOOLEAN="boolean",e.INTEGER="integer",e.NULL="null",e.NUMBER="number",e.OBJECT="object",e.STRING="string"}(a||(a={}));var f,v,p,h,j,m=[a.ARRAY,a.BOOLEAN,s,a.INTEGER,a.NULL,a.NUMBER,a.OBJECT,a.STRING,c.UUID];!function(e){e.PROPERTIES="properties"}(f||(f={})),function(e){e.AUTOMATIC="automatic",e.AVAILABLE="available",e.UNSUPPORTED="unsupported"}(v||(v={})),function(e){e.FORCED_REPLICATION_METHOD="forced-replication-method",e.KEY_PROPERTIES="table-key-properties",e.REPLICATION_KEYS="valid-replication-keys",e.SCHEMA_NAME="schema-name"}(p||(p={})),function(e){e.AMPLITUDE="amplitude",e.BIGQUERY="bigquery",e.CHARGEBEE="chargebee",e.GOOGLE_ADS="google_ads",e.GOOGLE_SEARCH_CONSOLE="google_search_console",e.GOOGLE_SHEETS="google_sheets",e.INTERCOM="intercom",e.MYSQL="mysql",e.PIPEDRIVE="pipedrive",e.POSTGRESQL="postgresql",e.REDSHIFT="redshift",e.SALESFORCE="salesforce",e.STRIPE="stripe"}(h||(h={})),function(e){e.AMAZON_S3="amazon_s3",e.BIGQUERY="bigquery",e.DELTA_LAKE_S3="delta_lake_s3",e.GOOGLE_CLOUD_STORAGE="google_cloud_storage",e.KAFKA="kafka",e.MYSQL="mysql",e.POSTGRESQL="postgresql",e.SNOWFLAKE="snowflake"}(j||(j={}));var x=[j.AMAZON_S3,j.GOOGLE_CLOUD_STORAGE,j.KAFKA]},54193:function(e,n,t){var r;t.d(n,{al:function(){return l},bB:function(){return r},n8:function(){return c},qS:function(){return o},zj:function(){return i}}),function(e){e.CHECKBOX="checkbox",e.DROPDOWN_MENU="dropdown_menu",e.SWITCH="switch",e.TEXT_FIELD="text_field"}(r||(r={}));var i,o=[r.CHECKBOX,r.DROPDOWN_MENU,r.SWITCH,r.TEXT_FIELD];!function(e){e.BOOLEAN="boolean",e.DATE="date",e.DATETIME="datetime",e.DICTIONARY="dictionary",e.FLOAT="float",e.INTEGER="integer",e.LIST="list",e.STRING="string"}(i||(i={}));var l,c=[i.BOOLEAN,i.DATE,i.DATETIME,i.DICTIONARY,i.FLOAT,i.INTEGER,i.LIST,i.STRING];!function(e){e.NUMBER="number"}(l||(l={}))},39457:function(e,n,t){var r,i=t(82394),o=(t(82684),t(64866)),l=t(21764),c=t(55485),u=t(48670),a=t(38276),s=t(30160),d=t(12468),f=t(72473),v=t(70515),p=t(28598);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 j(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,i.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}!function(e){e.LEFT="left",e.RIGHT="right"}(r||(r={})),n.Z=function(e){var n,t=e.children,i=e.copiedText,h=e.iconPosition,m=void 0===h?r.LEFT:h,x=e.inverted,b=e.linkProps,g=e.linkText,y=e.monospace,Z=e.muted,O=e.small,P=e.toastMessage,I=e.withCopyIcon;return t?n=(0,p.jsx)("span",{children:t}):I&&(n=(0,p.jsx)(u.Z,j(j({href:"#",inline:!0,muted:Z,preventDefault:!0,sameColorAsText:!0,small:O},b),{},{children:(0,p.jsxs)(c.ZP,{alignItems:"center",children:[m===r.LEFT&&(0,p.jsx)(a.Z,{mr:g?1:0,children:(0,p.jsx)(c.ZP,{alignItems:"center",children:(0,p.jsx)(f.CK,{inverted:x,muted:Z,size:2*v.iI})})}),g&&(0,p.jsx)(s.ZP,{inverted:x,monospace:y,muted:Z,small:O,children:g}),m===r.RIGHT&&(0,p.jsx)(a.Z,{ml:g?1:0,children:(0,p.jsx)(c.ZP,{alignItems:"center",children:(0,p.jsx)(f.CK,{inverted:x,muted:Z})})})]})}))),(0,p.jsx)(d.Z,{block:!0,label:"Copy",size:null,widthFitContent:!0,children:(0,p.jsx)(o.CopyToClipboard,{onCopy:function(){return l.Am.success(P||"Successfully copied to clipboard.",{position:l.Am.POSITION.BOTTOM_RIGHT,toastId:i})},text:i,children:n})})}},22286:function(e,n,t){t.d(n,{M:function(){return s}});var r=t(82394),i=t(75582),o=t(54193),l=t(81728),c=t(42122);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 a(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}function s(e,n){var t,u;if(!n||null===n||void 0===n||!n.length)return e;if(null!==n&&void 0!==n&&n.includes(o.zj.LIST))return((0,c.Kn)(e)?Object.keys(e||{}):[e]).map((function(e){return s(e,null===n||void 0===n?void 0:n.filter((function(e){return o.zj.LIST!==e})))}));if(null!==n&&void 0!==n&&n.includes(o.zj.DICTIONARY)){var d=(0,c.Kn)(e)?e:(0,l.Pb)(e)?JSON.parse(e):e;if((0,c.Kn)(d))return Object.entries(d).reduce((function(e,t){var l=(0,i.Z)(t,2),c=l[0],u=l[1];return a(a({},e),{},(0,r.Z)({},c,s(u,null===n||void 0===n?void 0:n.filter((function(e){return o.zj.DICTIONARY!==e})))))}),{})}if(null!==n&&void 0!==n&&n.includes(o.zj.BOOLEAN)){var f,v;if("boolean"===typeof e)return e;if("true"===(null===(f=String(e))||void 0===f?void 0:f.toLowerCase()))return!0;if("false"===(null===(v=String(e))||void 0===v?void 0:v.toLowerCase()))return!1}return null!==n&&void 0!==n&&null!==(t=n.includes)&&void 0!==t&&t.call(n,o.zj.FLOAT)&&(0,l.HW)(e)?parseFloat(e):null!==n&&void 0!==n&&null!==(u=n.includes)&&void 0!==u&&u.call(n,o.zj.INTEGER)&&(0,l.HW)(e)?parseInt(e):e}}}]);