mage-ai 0.9.57__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.
- mage_ai/ai/constants.py +1 -0
- mage_ai/ai/generator.py +7 -0
- mage_ai/ai/llm_pipeline_wizard.py +13 -0
- mage_ai/ai/openai_client.py +9 -1
- mage_ai/api/logging.py +11 -7
- mage_ai/api/policies/BlockPolicy.py +1 -0
- mage_ai/api/policies/CacheItemPolicy.py +16 -3
- mage_ai/api/policies/CommandCenterItemPolicy.py +56 -0
- mage_ai/api/policies/CustomTemplatePolicy.py +0 -3
- mage_ai/api/policies/GitBranchPolicy.py +8 -1
- mage_ai/api/policies/GitFilePolicy.py +1 -0
- mage_ai/api/policies/PipelinePolicy.py +2 -0
- mage_ai/api/policies/PipelineSchedulePolicy.py +1 -0
- mage_ai/api/policies/VersionControlBranchPolicy.py +98 -0
- mage_ai/api/policies/VersionControlFilePolicy.py +96 -0
- mage_ai/api/policies/VersionControlProjectPolicy.py +92 -0
- mage_ai/api/policies/VersionControlRemotePolicy.py +94 -0
- mage_ai/api/presenters/CommandCenterItemPresenter.py +19 -0
- mage_ai/api/presenters/GitBranchPresenter.py +2 -0
- mage_ai/api/presenters/GitCustomBranchPresenter.py +1 -0
- mage_ai/api/presenters/PipelinePresenter.py +5 -5
- mage_ai/api/presenters/PipelineSchedulePresenter.py +4 -0
- mage_ai/api/presenters/VersionControlBranchPresenter.py +15 -0
- mage_ai/api/presenters/VersionControlFilePresenter.py +15 -0
- mage_ai/api/presenters/VersionControlProjectPresenter.py +14 -0
- mage_ai/api/presenters/VersionControlRemotePresenter.py +15 -0
- mage_ai/api/resources/BlockResource.py +110 -80
- mage_ai/api/resources/CacheItemResource.py +88 -0
- mage_ai/api/resources/CommandCenterItemResource.py +29 -0
- mage_ai/api/resources/FileResource.py +15 -1
- mage_ai/api/resources/FolderResource.py +2 -1
- mage_ai/api/resources/GitBranchResource.py +183 -108
- mage_ai/api/resources/GitCustomBranchResource.py +9 -2
- mage_ai/api/resources/GitFileResource.py +26 -13
- mage_ai/api/resources/KernelResource.py +9 -1
- mage_ai/api/resources/LogResource.py +1 -1
- mage_ai/api/resources/OauthResource.py +4 -5
- mage_ai/api/resources/PipelineResource.py +71 -38
- mage_ai/api/resources/PipelineRunResource.py +7 -2
- mage_ai/api/resources/ProjectResource.py +1 -2
- mage_ai/api/resources/PullRequestResource.py +12 -3
- mage_ai/api/resources/SearchResultResource.py +4 -4
- mage_ai/api/resources/VersionControlBranchResource.py +85 -0
- mage_ai/api/resources/VersionControlFileResource.py +65 -0
- mage_ai/api/resources/VersionControlProjectResource.py +46 -0
- mage_ai/api/resources/VersionControlRemoteResource.py +64 -0
- mage_ai/authentication/oauth/constants.py +13 -16
- mage_ai/authentication/operation_history/models.py +11 -32
- mage_ai/authentication/operation_history/utils.py +14 -14
- mage_ai/authentication/permissions/constants.py +5 -0
- mage_ai/authentication/providers/active_directory.py +2 -2
- mage_ai/authentication/providers/bitbucket.py +2 -2
- mage_ai/authentication/providers/constants.py +6 -12
- mage_ai/authentication/providers/ghe.py +2 -2
- mage_ai/authentication/providers/google.py +2 -2
- mage_ai/authentication/providers/okta.py +2 -2
- mage_ai/cache/base.py +11 -3
- mage_ai/cache/block.py +116 -32
- mage_ai/cache/block_action_object/__init__.py +52 -43
- mage_ai/cache/constants.py +1 -0
- mage_ai/cache/dbt/utils.py +31 -10
- mage_ai/cache/file.py +114 -0
- mage_ai/cache/models.py +2 -0
- mage_ai/cache/pipeline.py +34 -8
- mage_ai/cache/tag.py +51 -10
- mage_ai/cache/utils.py +44 -3
- mage_ai/cluster_manager/kubernetes/workload_manager.py +9 -1
- mage_ai/command_center/__init__.py +0 -0
- mage_ai/command_center/applications/__init__.py +0 -0
- mage_ai/command_center/applications/constants.py +96 -0
- mage_ai/command_center/applications/factory.py +54 -0
- mage_ai/command_center/blocks/__init__.py +0 -0
- mage_ai/command_center/blocks/factory.py +39 -0
- mage_ai/command_center/blocks/utils.py +127 -0
- mage_ai/command_center/constants.py +66 -0
- mage_ai/command_center/factory.py +161 -0
- mage_ai/command_center/files/__init__.py +0 -0
- mage_ai/command_center/files/constants.py +235 -0
- mage_ai/command_center/files/factory.py +86 -0
- mage_ai/command_center/models.py +442 -0
- mage_ai/command_center/pipeline_runs/__init__.py +0 -0
- mage_ai/command_center/pipeline_runs/utils.py +141 -0
- mage_ai/command_center/pipelines/__init__.py +0 -0
- mage_ai/command_center/pipelines/constants.py +118 -0
- mage_ai/command_center/pipelines/factory.py +132 -0
- mage_ai/command_center/pipelines/utils.py +120 -0
- mage_ai/command_center/service.py +45 -0
- mage_ai/command_center/settings.py +37 -0
- mage_ai/command_center/support/__init__.py +0 -0
- mage_ai/command_center/support/constants.py +46 -0
- mage_ai/command_center/triggers/__init__.py +0 -0
- mage_ai/command_center/triggers/factory.py +49 -0
- mage_ai/command_center/triggers/utils.py +463 -0
- mage_ai/command_center/utils.py +30 -0
- mage_ai/data_preparation/executors/azure_container_instance_executor.py +1 -1
- mage_ai/data_preparation/executors/block_executor.py +68 -19
- mage_ai/data_preparation/executors/ecs_block_executor.py +2 -2
- mage_ai/data_preparation/executors/executor_factory.py +2 -0
- mage_ai/data_preparation/executors/gcp_cloud_run_block_executor.py +1 -1
- mage_ai/data_preparation/executors/k8s_block_executor.py +2 -2
- mage_ai/data_preparation/executors/pyspark_block_executor.py +7 -1
- mage_ai/data_preparation/git/__init__.py +29 -11
- mage_ai/data_preparation/git/api.py +14 -13
- mage_ai/data_preparation/git/clients/base.py +4 -8
- mage_ai/data_preparation/git/clients/github.py +1 -0
- mage_ai/data_preparation/git/utils.py +5 -7
- mage_ai/data_preparation/models/block/__init__.py +556 -329
- mage_ai/data_preparation/models/block/content.py +111 -0
- mage_ai/data_preparation/models/block/data_integration/mixins.py +1 -0
- mage_ai/data_preparation/models/block/dbt/block.py +30 -20
- mage_ai/data_preparation/models/block/dbt/block_sql.py +93 -257
- mage_ai/data_preparation/models/block/dbt/block_yaml.py +81 -158
- mage_ai/data_preparation/models/block/dbt/constants.py +12 -0
- mage_ai/data_preparation/models/block/dbt/dbt_adapter.py +23 -10
- mage_ai/data_preparation/models/block/dbt/dbt_cli.py +124 -612
- mage_ai/data_preparation/models/block/dbt/profiles.py +19 -15
- mage_ai/data_preparation/models/block/dbt/project.py +3 -0
- mage_ai/data_preparation/models/block/dynamic/constants.py +0 -0
- mage_ai/data_preparation/models/block/dynamic/dynamic_child.py +507 -47
- mage_ai/data_preparation/models/block/dynamic/utils.py +432 -1
- mage_ai/data_preparation/models/block/platform/mixins.py +68 -44
- mage_ai/data_preparation/models/block/r/__init__.py +19 -9
- mage_ai/data_preparation/models/block/sql/__init__.py +33 -18
- mage_ai/data_preparation/models/block/sql/utils/shared.py +4 -1
- mage_ai/data_preparation/models/block/utils.py +176 -71
- mage_ai/data_preparation/models/constants.py +7 -0
- mage_ai/data_preparation/models/file.py +23 -4
- mage_ai/data_preparation/models/pipeline.py +20 -8
- mage_ai/data_preparation/models/project/__init__.py +12 -7
- mage_ai/data_preparation/models/project/constants.py +2 -0
- mage_ai/data_preparation/models/triggers/__init__.py +7 -0
- mage_ai/data_preparation/models/utils.py +20 -0
- mage_ai/data_preparation/models/variable.py +113 -15
- mage_ai/data_preparation/shared/utils.py +6 -3
- mage_ai/data_preparation/storage/base_storage.py +17 -0
- mage_ai/data_preparation/storage/gcs_storage.py +4 -0
- mage_ai/data_preparation/storage/local_storage.py +15 -0
- mage_ai/data_preparation/storage/s3_storage.py +4 -0
- mage_ai/data_preparation/templates/data_exporters/qdrant.py +0 -1
- mage_ai/data_preparation/templates/data_loaders/qdrant.py +2 -1
- mage_ai/data_preparation/variable_manager.py +1 -0
- mage_ai/io/base.py +4 -1
- mage_ai/io/bigquery.py +25 -16
- mage_ai/io/clickhouse.py +3 -0
- mage_ai/io/druid.py +3 -0
- mage_ai/io/mongodb.py +1 -1
- mage_ai/io/pinot.py +3 -0
- mage_ai/io/postgres.py +13 -0
- mage_ai/io/snowflake.py +4 -0
- mage_ai/io/spark.py +8 -3
- mage_ai/io/sql.py +6 -0
- mage_ai/orchestration/db/__init__.py +26 -19
- mage_ai/orchestration/db/cache.py +4 -3
- mage_ai/orchestration/db/models/schedules.py +72 -16
- mage_ai/orchestration/db/models/schedules_project_platform.py +2 -3
- mage_ai/orchestration/pipeline_scheduler_original.py +19 -11
- mage_ai/orchestration/pipeline_scheduler_project_platform.py +20 -11
- mage_ai/presenters/interactions/constants.py +1 -0
- mage_ai/presenters/interactions/models.py +4 -3
- mage_ai/presenters/pages/models/client_pages/pipeline_schedules.py +1 -1
- mage_ai/server/constants.py +1 -1
- mage_ai/server/frontend_dist/404.html +11 -11
- mage_ai/server/frontend_dist/_next/static/PPQxHOmWVJ0iQFzG2rc8m/_buildManifest.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/1235.c9ed47779baccc05.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/125-029194ff22eb33a5.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/1557-4f7485c2e2228f77.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/2474-8e702cea23ddd16d.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/2479-727fa69ee9be6fab.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/26-38bc9380422f3900.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/2717-3e7ea8543b3825b7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3366-420721116ea5a665.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3449-a9c98239582cd6f0.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3548-13563a1ff815f922.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3943-9e0a8ba0db34b35f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/4371-ef23f95888d6cd11.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/4632.a4171dbf46b31c7c.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/523-be11ad59861d00ca.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/5457-d582b00545b4cb5e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{5189.dca121eccea793be.js → 5729.0f2748e9e6dab951.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5831-2abc4063e887a03e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/6085-692d2f784c0504f2.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/635-1e8857c2b6dde289.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/7022-0d52dd8868621fb0.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/7264-d05f4b7088533f6f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/7361-b3d661ec743bfadf.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/737-cc6467310a130dd9.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{4495-4f0340aa82e0c623.js → 7674-9ec4fe64b5bf64d5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8038-85d715c8c8394827.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8095-bdce03896ef9639a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8146-6bed4e7401e067e6.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8192-0c0b91523a38c4ca.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8432-f736d101fc6d9215.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8513-d207733b485c8d03.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9264-7cd9cd0ba86ec5e4.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9265-d2a1aaec75ec69b8.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9440-54add041c392517f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9624-59b2f803f9c88cd6.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9832-67896490f6e8a014.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/bd1a647f.fe5d87096be24a62.js → frontend_dist/_next/static/chunks/bd1a647f.04f7913662092327.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/404-7cabe357906f44f2.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/_app-a11bd2ebe11b3fd2.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/block-layout-ffca51945cd154ef.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-3ba957769292db80.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/files-45679fd18b3edd82.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-data-products/[...slug]-95735a218106aa99.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{global-data-products-927ebbdc29529765.js → global-data-products-81d6c7fd9a9cff38.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-eb4421d51fb7368f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-a8c712e20512fede.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/files-f1be1d4735ba6919.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/settings-febe676687966276.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/[user]-70efe222130490b5.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/new-0914c36b3c8fd59f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-4f12e989e7809ef9.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-809d4c99b44991a1.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/oauth-bd8494f8875c5c97.js → frontend_dist/_next/static/chunks/pages/oauth-aa9079c8dbaea3a5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/overview-4e30fb5b18383b71.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-5d31c3aace39182d.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-85a80ee66f60a65c.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-0bd74047e257e6d9.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-80619dc504d0103b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-3cc8d74ff8525bfd.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-cdc379ff24ff8858.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-03396d6086003e16.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d6d920758654f6d9.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors-27727bb87be506c3.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-16aab67743651a0b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-e3ca1bedb660b252.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-9d58701fe7213727.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-0041fd76ee15e49f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-780be9a2da697915.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-db8bb970b1f2273f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-a3422b0ab1dbacd7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks/[...slug]-987a1603f4201943.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks-3dc8bf89cab2722b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-43d3f2a5071b9537.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/preferences-c97b1a39b22c112a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/settings-49efb66da67554ca.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-aa5d871de1f3f7b0.js → [...slug]-5117d3555972484c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions-ee1c19d4a192ae4d.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-4dc5724486ee3396.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-88d29d1774db67e4.js → [...slug]-fa095aac732368c3.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{roles-d8ca763e405cd9d1.js → roles-db6d71f8692a33e7.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync-data-99c6a263d2ab9553.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users/{[...slug]-250dfdf22bfe67e9.js → [...slug]-9d881ac0a3db9baa.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-bee414d57c4b55d7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/sign-in-e7030e1a7a9e88e1.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/templates/[...slug]-312afc9a3f8d0a4f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/templates-e5300c340aa94c6b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/terminal-fa7ca0c86142d146.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/test-bd51b3918b39329e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-5158a9d98d2459e8.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-5ce099a7abb354ff.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{webpack-17c3a8f588f14cfd.js → webpack-efa55343114c8128.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/css/d1e8e64d0b07af2f.css → frontend_dist/_next/static/css/b59541b123fd7191.css} +1 -1
- mage_ai/server/frontend_dist/block-layout.html +3 -3
- mage_ai/server/frontend_dist/compute.html +11 -11
- mage_ai/server/frontend_dist/files.html +11 -11
- mage_ai/server/frontend_dist/global-data-products/[...slug].html +11 -11
- mage_ai/server/frontend_dist/global-data-products.html +11 -11
- mage_ai/server/frontend_dist/global-hooks/[...slug].html +11 -11
- mage_ai/server/frontend_dist/global-hooks.html +11 -11
- mage_ai/server/frontend_dist/index.html +3 -3
- mage_ai/server/frontend_dist/manage/files.html +11 -11
- mage_ai/server/frontend_dist/manage/settings.html +11 -11
- mage_ai/server/frontend_dist/manage/users/[user].html +11 -11
- mage_ai/server/frontend_dist/manage/users/new.html +11 -11
- mage_ai/server/frontend_dist/manage/users.html +11 -11
- mage_ai/server/frontend_dist/manage.html +11 -11
- mage_ai/server/frontend_dist/oauth.html +8 -8
- mage_ai/server/frontend_dist/overview.html +11 -11
- mage_ai/server/frontend_dist/pipeline-runs.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/dashboard.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +3 -3
- mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/settings.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline].html +3 -3
- mage_ai/server/frontend_dist/pipelines.html +11 -11
- mage_ai/server/frontend_dist/platform/global-hooks/[...slug].html +11 -11
- mage_ai/server/frontend_dist/platform/global-hooks.html +11 -11
- mage_ai/server/frontend_dist/settings/account/profile.html +11 -11
- mage_ai/server/frontend_dist/settings/platform/preferences.html +11 -11
- mage_ai/server/frontend_dist/settings/platform/settings.html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/permissions/[...slug].html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/permissions.html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/preferences.html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/roles/[...slug].html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/roles.html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/sync-data.html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/users/[...slug].html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/users.html +11 -11
- mage_ai/server/frontend_dist/settings.html +3 -3
- mage_ai/server/frontend_dist/sign-in.html +40 -41
- mage_ai/server/frontend_dist/templates/[...slug].html +11 -11
- mage_ai/server/frontend_dist/templates.html +11 -11
- mage_ai/server/frontend_dist/terminal.html +11 -11
- mage_ai/server/frontend_dist/test.html +3 -3
- mage_ai/server/frontend_dist/triggers.html +11 -11
- mage_ai/server/frontend_dist/version-control.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/404.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1235.c9ed47779baccc05.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/125-029194ff22eb33a5.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1557-4f7485c2e2228f77.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2474-8e702cea23ddd16d.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2479-727fa69ee9be6fab.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/26-38bc9380422f3900.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-3e7ea8543b3825b7.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3366-420721116ea5a665.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3449-a9c98239582cd6f0.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3548-13563a1ff815f922.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-9e0a8ba0db34b35f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4371-ef23f95888d6cd11.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4632.a4171dbf46b31c7c.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/523-be11ad59861d00ca.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5457-d582b00545b4cb5e.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{5189.dca121eccea793be.js → 5729.0f2748e9e6dab951.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5831-2abc4063e887a03e.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6085-692d2f784c0504f2.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/635-1e8857c2b6dde289.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7022-0d52dd8868621fb0.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7264-d05f4b7088533f6f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7361-b3d661ec743bfadf.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/737-cc6467310a130dd9.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{4495-4f0340aa82e0c623.js → 7674-9ec4fe64b5bf64d5.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8038-85d715c8c8394827.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8095-bdce03896ef9639a.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8146-6bed4e7401e067e6.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8192-0c0b91523a38c4ca.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8432-f736d101fc6d9215.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8513-d207733b485c8d03.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9264-7cd9cd0ba86ec5e4.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9265-d2a1aaec75ec69b8.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9440-54add041c392517f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9624-59b2f803f9c88cd6.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9832-67896490f6e8a014.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/bd1a647f.fe5d87096be24a62.js → frontend_dist_base_path_template/_next/static/chunks/bd1a647f.04f7913662092327.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/404-7cabe357906f44f2.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/_app-a11bd2ebe11b3fd2.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/block-layout-ffca51945cd154ef.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-3ba957769292db80.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/files-45679fd18b3edd82.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-data-products/[...slug]-95735a218106aa99.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{global-data-products-927ebbdc29529765.js → global-data-products-81d6c7fd9a9cff38.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-eb4421d51fb7368f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-a8c712e20512fede.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/files-f1be1d4735ba6919.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-febe676687966276.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-70efe222130490b5.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/new-0914c36b3c8fd59f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-4f12e989e7809ef9.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage-809d4c99b44991a1.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/oauth-bd8494f8875c5c97.js → frontend_dist_base_path_template/_next/static/chunks/pages/oauth-aa9079c8dbaea3a5.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/overview-4e30fb5b18383b71.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-5d31c3aace39182d.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-85a80ee66f60a65c.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-0bd74047e257e6d9.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-80619dc504d0103b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-3cc8d74ff8525bfd.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-cdc379ff24ff8858.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-03396d6086003e16.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d6d920758654f6d9.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors-27727bb87be506c3.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-16aab67743651a0b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-e3ca1bedb660b252.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-9d58701fe7213727.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-0041fd76ee15e49f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-780be9a2da697915.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-db8bb970b1f2273f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-a3422b0ab1dbacd7.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks/[...slug]-987a1603f4201943.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks-3dc8bf89cab2722b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-43d3f2a5071b9537.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/preferences-c97b1a39b22c112a.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/settings-49efb66da67554ca.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-aa5d871de1f3f7b0.js → [...slug]-5117d3555972484c.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions-ee1c19d4a192ae4d.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-4dc5724486ee3396.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-88d29d1774db67e4.js → [...slug]-fa095aac732368c3.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{roles-d8ca763e405cd9d1.js → roles-db6d71f8692a33e7.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/sync-data-99c6a263d2ab9553.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users/{[...slug]-250dfdf22bfe67e9.js → [...slug]-9d881ac0a3db9baa.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users-bee414d57c4b55d7.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/sign-in-e7030e1a7a9e88e1.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-312afc9a3f8d0a4f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates-e5300c340aa94c6b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/terminal-fa7ca0c86142d146.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/test-bd51b3918b39329e.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-5158a9d98d2459e8.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/version-control-5ce099a7abb354ff.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{webpack-b55fe1e575d8ac9d.js → webpack-bd35e1c7bd7b5a9a.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/css/d1e8e64d0b07af2f.css → frontend_dist_base_path_template/_next/static/css/b59541b123fd7191.css} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/do4WOsw7lNhouR0mtPTFi/_buildManifest.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/block-layout.html +3 -3
- mage_ai/server/frontend_dist_base_path_template/compute.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/files.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/global-data-products/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/global-data-products.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/global-hooks/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/global-hooks.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/index.html +3 -3
- mage_ai/server/frontend_dist_base_path_template/manage/files.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/manage/settings.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/manage/users/[user].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/manage/users/new.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/manage/users.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/manage.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/oauth.html +8 -8
- mage_ai/server/frontend_dist_base_path_template/overview.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipeline-runs.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/dashboard.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/edit.html +3 -3
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/logs.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runs.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runtime.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs/[run].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/settings.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/syncs.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline].html +3 -3
- mage_ai/server/frontend_dist_base_path_template/pipelines.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/platform/global-hooks/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/platform/global-hooks.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/account/profile.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/platform/preferences.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/platform/settings.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/preferences.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/sync-data.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/users/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/users.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings.html +3 -3
- mage_ai/server/frontend_dist_base_path_template/sign-in.html +40 -41
- mage_ai/server/frontend_dist_base_path_template/templates/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/templates.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/terminal.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/test.html +3 -3
- mage_ai/server/frontend_dist_base_path_template/triggers.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/version-control.html +11 -11
- mage_ai/server/logger.py +8 -2
- mage_ai/server/server.py +18 -1
- mage_ai/services/aws/ecs/config.py +3 -3
- mage_ai/services/aws/ecs/ecs.py +2 -2
- mage_ai/services/search/block_action_objects.py +59 -5
- mage_ai/settings/models/configuration_option.py +3 -1
- mage_ai/settings/platform/__init__.py +64 -20
- mage_ai/settings/platform/utils.py +4 -1
- mage_ai/settings/repo.py +5 -4
- mage_ai/shared/custom_logger.py +213 -0
- mage_ai/shared/environments.py +4 -0
- mage_ai/shared/files.py +52 -1
- mage_ai/shared/models.py +2 -1
- mage_ai/shared/parsers.py +8 -1
- mage_ai/shared/path_fixer.py +62 -5
- mage_ai/shared/retry.py +4 -0
- mage_ai/shared/strings.py +4 -0
- mage_ai/tests/api/endpoints/test_blocks.py +101 -1
- mage_ai/tests/api/operations/base/test_base_with_user_permissions.py +4 -1
- mage_ai/tests/base_test.py +21 -2
- mage_ai/tests/cache/test_pipeline_cache.py +11 -8
- mage_ai/tests/data_preparation/executors/test_block_executor.py +55 -45
- mage_ai/tests/data_preparation/git/test_api.py +4 -4
- mage_ai/tests/data_preparation/models/block/dbt/test_block.py +75 -43
- mage_ai/tests/data_preparation/models/block/dbt/test_block_sql.py +329 -320
- mage_ai/tests/data_preparation/models/block/dbt/test_block_yaml.py +298 -268
- mage_ai/tests/data_preparation/models/block/dbt/test_dbt_adapter.py +14 -4
- mage_ai/tests/data_preparation/models/block/dbt/test_dbt_cli.py +14 -11
- mage_ai/tests/data_preparation/models/block/dbt/test_profiles.py +2 -2
- mage_ai/tests/data_preparation/models/block/dbt/test_project.py +2 -2
- mage_ai/tests/data_preparation/models/block/dbt/test_sources.py +2 -2
- mage_ai/tests/data_preparation/models/block/dynamic/test_dynamic_child_block_factory.py +477 -474
- mage_ai/tests/data_preparation/models/block/dynamic/test_dynamic_helpers.py +25 -24
- mage_ai/tests/data_preparation/models/block/platform/test_mixins.py +16 -25
- mage_ai/tests/data_preparation/models/block/test_utils.py +8 -8
- mage_ai/tests/data_preparation/models/test_block.py +6 -8
- mage_ai/tests/data_preparation/models/test_project.py +10 -5
- mage_ai/tests/data_preparation/models/test_variable.py +51 -4
- mage_ai/tests/orchestration/test_pipeline_scheduler_project_platform.py +1 -0
- mage_ai/version_control/__init__.py +0 -0
- mage_ai/version_control/models.py +288 -0
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/METADATA +49 -47
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/RECORD +504 -486
- mage_ai/server/frontend_dist/_next/static/A7VXVGKgLQCukXcjdysDz/_buildManifest.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1124-09b283a2f26cc576.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1154-2f262f7eb38ebaa1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1235.53172e14801844e5.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1557-724bfc3eabd095f7.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/161-33f26e485ddef393.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1751-5adf859690505d7b.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1821-953efd0da290d25f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2474-352ae192b826d896.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2646-78905b899b68f4eb.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2717-477f64b5e272d5a3.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2852872c-15b31a7081e6a868.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2920.86a65e5f26ff1795.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3004-9fff558eeede3a83.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/341-ef0f7b98b7f69802.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3419-b8bd26f5946bec5a.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3437-ce26fc28e114b44e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3540-9bb48b08f439d0a0.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3745-61b1c63bb56bb670.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3859-ba594d21a1260cd2.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3943-a49377acc514e77f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5283-8d1dacb2eeb9e652.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5457-b373ebdf4d05d8e2.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5499-261cfa2410506eb4.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5533-3455832bc3f8429b.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5729-9d8204ab91da631d.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5810-addfa3491ae6b01c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5820-28adeabb5cda2b96.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5896-7b8e36634d7d94eb.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6043-728790621ca9014c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6285-648f9a732e100b2f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6563-5b3b97c9088baf69.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6639-74eefed142e14ea6.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6965-c613d1834c8ed92d.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/7022-1c1c93b6222d48f9.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/7361-559f4d2eca379217.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/7858-26a5a5d04fa3c703.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8146-7fc9ef7d0202e6ab.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8264-68db2a8334ad48f1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8432-0ace6fb7bdbc6864.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/844-1e171f361e63b36d.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8731-82571147875a2d58.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/874-d9e1b3c9c00ebac9.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8998-e46ae0a83be32d42.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9264-5df6e4c7b1e85c02.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9302-913007e2f801ad65.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9440-c51bf1e8f271cb25.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9624-89a4b20eb3b3c754.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/976-0a8c2c4d7acd957b.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/404-5ddd12931e0e3e41.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/_app-4c0239ca6203e827.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/block-layout-d40babdbf465a7e1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-822e66aa2e90cf4c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/files-373217c5de51aeef.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-data-products/[...slug]-0325e76a2f3e08c1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-a172f5a447bd8925.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-97bec2ac883e0c26.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/files-02d001d99eeaae3f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/settings-2e577bfd4f0db2b7.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/[user]-1827574a4ba95a72.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/new-a913c361bcc0d1a9.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-4e6fdcbbfc931d67.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-1c327edcf05df9c9.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/overview-5a98e6a531410afb.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-1442183d13edec2e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-38b2241cdd10320c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-1c646dbef65d6a69.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-35cb916a18ac4e1f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-cd1918632dfef29d.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-67b0572c84db0940.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-40201b626ea3a664.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d1f23308effebe03.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors-9a116d88f00916ff.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-2d5abcd019d4bea1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-5363a7ae9afe8983.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-931a1b3112866a72.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-5ec5367cb877db38.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-8366661f8e2b2959.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-378f8dada7d0c1dd.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-627be24ef4963cfb.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks/[...slug]-814bbd11e10c26dc.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks-021ec25e05862f8f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-2b0aa123043519b8.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/preferences-05186e17c94347c1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/settings-efe8bf1bf3177a7e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions-ce45aad47049d993.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-1bc694b056ff0bcb.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync-data-42bd909eb8951040.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-97c4ce119f7238b5.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/sign-in-1af3ba18ff646dd4.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/templates/[...slug]-ff9d49355393daea.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/templates-299a2c8f2dd89cf3.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/terminal-fb3f398009a02879.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/test-59a08e06f4ef6c3a.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-551b85802515e313.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-1362aeda4a31dd41.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1124-09b283a2f26cc576.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1154-2f262f7eb38ebaa1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1235.53172e14801844e5.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1557-724bfc3eabd095f7.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/161-33f26e485ddef393.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1751-5adf859690505d7b.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1821-953efd0da290d25f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2474-352ae192b826d896.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2646-78905b899b68f4eb.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-477f64b5e272d5a3.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2852872c-15b31a7081e6a868.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2920.86a65e5f26ff1795.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3004-9fff558eeede3a83.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/341-ef0f7b98b7f69802.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3419-b8bd26f5946bec5a.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3437-ce26fc28e114b44e.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3540-9bb48b08f439d0a0.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3745-61b1c63bb56bb670.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3859-ba594d21a1260cd2.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-a49377acc514e77f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5283-8d1dacb2eeb9e652.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5457-b373ebdf4d05d8e2.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5499-261cfa2410506eb4.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5533-3455832bc3f8429b.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5729-9d8204ab91da631d.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5810-addfa3491ae6b01c.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5820-28adeabb5cda2b96.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5896-7b8e36634d7d94eb.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6043-728790621ca9014c.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6285-648f9a732e100b2f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6563-5b3b97c9088baf69.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6639-74eefed142e14ea6.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6965-c613d1834c8ed92d.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7022-1c1c93b6222d48f9.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7361-559f4d2eca379217.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7858-26a5a5d04fa3c703.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8146-7fc9ef7d0202e6ab.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8264-68db2a8334ad48f1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8432-0ace6fb7bdbc6864.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/844-1e171f361e63b36d.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8731-82571147875a2d58.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/874-d9e1b3c9c00ebac9.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8998-e46ae0a83be32d42.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9264-5df6e4c7b1e85c02.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9302-913007e2f801ad65.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9440-c51bf1e8f271cb25.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9624-89a4b20eb3b3c754.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/976-0a8c2c4d7acd957b.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/404-5ddd12931e0e3e41.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/_app-4c0239ca6203e827.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/block-layout-d40babdbf465a7e1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-822e66aa2e90cf4c.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/files-373217c5de51aeef.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-data-products/[...slug]-0325e76a2f3e08c1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-a172f5a447bd8925.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-97bec2ac883e0c26.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/files-02d001d99eeaae3f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-2e577bfd4f0db2b7.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-1827574a4ba95a72.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/new-a913c361bcc0d1a9.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-4e6fdcbbfc931d67.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage-1c327edcf05df9c9.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/overview-5a98e6a531410afb.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-1442183d13edec2e.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-38b2241cdd10320c.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-1c646dbef65d6a69.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-35cb916a18ac4e1f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-cd1918632dfef29d.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-67b0572c84db0940.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-40201b626ea3a664.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d1f23308effebe03.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors-9a116d88f00916ff.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-2d5abcd019d4bea1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-5363a7ae9afe8983.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-931a1b3112866a72.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-5ec5367cb877db38.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-8366661f8e2b2959.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-378f8dada7d0c1dd.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-627be24ef4963cfb.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks/[...slug]-814bbd11e10c26dc.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks-021ec25e05862f8f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-2b0aa123043519b8.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/preferences-05186e17c94347c1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/settings-efe8bf1bf3177a7e.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions-ce45aad47049d993.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-1bc694b056ff0bcb.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/sync-data-42bd909eb8951040.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users-97c4ce119f7238b5.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/sign-in-1af3ba18ff646dd4.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-ff9d49355393daea.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates-299a2c8f2dd89cf3.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/terminal-fb3f398009a02879.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/test-59a08e06f4ef6c3a.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-551b85802515e313.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/version-control-1362aeda4a31dd41.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/wSRrM15xnvA8lOWcaque7/_buildManifest.js +0 -1
- /mage_ai/server/frontend_dist/_next/static/{A7VXVGKgLQCukXcjdysDz → PPQxHOmWVJ0iQFzG2rc8m}/_ssgManifest.js +0 -0
- /mage_ai/server/frontend_dist_base_path_template/_next/static/{wSRrM15xnvA8lOWcaque7 → do4WOsw7lNhouR0mtPTFi}/_ssgManifest.js +0 -0
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/LICENSE +0 -0
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/WHEEL +0 -0
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/entry_points.txt +0 -0
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/top_level.txt +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2403],{85854:function(e,n,t){"use strict";var i,r,o,l,s,c,a,u,d=t(82394),h=t(26304),p=t(26653),m=t(38626),f=t(33591),y=t(44897),b=t(95363),g=t(61896),j=t(30160),x=t(70515),v=t(38276),_=t(28598),Z=["children","condensed","inline","level","marketing","spacingBelow"];function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function O(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?w(Object(t),!0).forEach((function(n){(0,d.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var S=(0,m.css)([""," margin:0;"," "," "," "," "," "," "," "," "," "," "," "," "," ",""],j.IH,(function(e){return e.color&&"\n color: ".concat(e.color,"\n ")}),(function(e){return e.yellow&&"\n color: ".concat((e.theme.accent||y.Z.accent).yellow,";\n ")}),(function(e){return e.center&&"\n text-align: center;\n "}),(function(e){return!e.monospace&&0===Number(e.weightStyle)&&"\n font-family: ".concat(b.iI,";\n ")}),(function(e){return!e.monospace&&1===Number(e.weightStyle)&&"\n font-family: ".concat(b.LX,";\n ")}),(function(e){return!e.monospace&&2===Number(e.weightStyle)&&"\n font-family: ".concat(b.LX,";\n ")}),(function(e){return!e.monospace&&3===Number(e.weightStyle)&&"\n font-family: ".concat(b.ry,";\n ")}),(function(e){return!e.monospace&&4===Number(e.weightStyle)&&"\n font-family: ".concat(b.YC,";\n ")}),(function(e){return!e.monospace&&5===Number(e.weightStyle)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return!e.monospace&&(6===Number(e.weightStyle)||e.bold)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return!e.monospace&&7===Number(e.weightStyle)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return!e.monospace&&8===Number(e.weightStyle)&&"\n font-family: ".concat(b.nF,";\n ")}),(function(e){return e.lineHeightAuto&&"\n line-height: normal !important;\n "}),(function(e){return e.strikethrough&&"\n text-decoration: line-through;\n "})),k=m.default.div.withConfig({displayName:"Headline__HeadlineContainerStyle",componentId:"sc-12jzt2e-0"})(["",""],(function(e){return"\n color: ".concat((e.theme.content||y.Z.content).active,";\n ")})),P=m.default.h1.withConfig({displayName:"Headline__H1HeroStyle",componentId:"sc-12jzt2e-1"})([""," font-size:42px;line-height:56px;"," "," ",""],S,f.media.md(i||(i=(0,p.Z)(["\n ","\n "])),g.aQ),f.media.lg(r||(r=(0,p.Z)(["\n ","\n "])),g.aQ),f.media.xl(o||(o=(0,p.Z)(["\n ","\n "])),g.aQ)),C=m.default.h1.withConfig({displayName:"Headline__H1Style",componentId:"sc-12jzt2e-2"})([""," ",""],S,g.MJ),I=m.default.h1.withConfig({displayName:"Headline__H1MarketingStyle",componentId:"sc-12jzt2e-3"})([""," "," "," "," "," ",""],S,f.media.xs(l||(l=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*x.iI,7*x.iI),f.media.sm(s||(s=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*x.iI,7*x.iI),f.media.md(c||(c=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*x.iI,7*x.iI),f.media.lg(a||(a=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*x.iI,7*x.iI),f.media.xl(u||(u=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*x.iI,7*x.iI)),N=m.default.h2.withConfig({displayName:"Headline__H2Style",componentId:"sc-12jzt2e-4"})([""," ",""],S,g.BL),H=m.default.h3.withConfig({displayName:"Headline__H3Style",componentId:"sc-12jzt2e-5"})([""," font-size:24px;line-height:32px;"],S),T=m.default.h4.withConfig({displayName:"Headline__H4Style",componentId:"sc-12jzt2e-6"})([""," font-size:20px;line-height:28px;"],S),M=m.default.h5.withConfig({displayName:"Headline__H5Style",componentId:"sc-12jzt2e-7"})([""," font-size:18px;line-height:26px;"],S),z=m.default.span.withConfig({displayName:"Headline__SpanStyle",componentId:"sc-12jzt2e-8"})([""," "," "," "," ",""],S,(function(e){return 1===e.level&&"\n ".concat(g.MJ,"\n ")}),(function(e){return 2===e.level&&"\n ".concat(g.BL,"\n ")}),(function(e){return 3===e.level&&"\n font-size: 24px;\n line-height: 32px;\n "}),(function(e){return 4===e.level&&"\n font-size: 20px;\n line-height: 28px;\n "})),q=function(e){var n,t=e.children,i=e.condensed,r=e.inline,o=e.level,l=e.marketing,s=e.spacingBelow,c=(0,h.Z)(e,Z);r?n=z:0===Number(o)?n=P:1===Number(o)?n=l?I:C:2===Number(o)?n=N:3===Number(o)?n=H:4===Number(o)?n=T:5===Number(o)&&(n=M);var a=(0,_.jsxs)(n,O(O({},c),{},{level:o,children:[s&&(0,_.jsx)(v.Z,{mb:i?2:3,children:t}),!s&&t]}));return r?a:(0,_.jsx)(k,{children:a})};q.defaultProps={level:3,weightStyle:6},n.Z=q},60480:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return E}});var i,r=t(77837),o=t(82394),l=t(75582),s=t(38860),c=t.n(s),a=t(82684),u=t(12691),d=t.n(u),h=t(21764),p=t(69864),m=t(71180),f=t(70652),y=t(50724),b=t(82555),g=t(55485),j=t(85854),x=t(48670),v=t(93808),_=t(44085),Z=t(28274),w=t(38276);!function(e){e.SSH="ssh",e.HTTPS="https"}(i||(i={}));var O=[{autoComplete:"remote_repo_link",label:"Remote repo url",required:!0,uuid:"remote_repo_link"},{autoComplete:"repo_path",label:"Local directory path",labelDescription:"Defaults to Python's os.getcwd() if omitted. Mage will create this local directory if it doesn't already exist.",uuid:"repo_path"}],S=[{autoComplete:"username",label:"Username",uuid:"username"},{autoComplete:"email",label:"Email",uuid:"email"},{autoComplete:"ssh_public_key",label:"SSH public key in base64",type:"password",uuid:"ssh_public_key"},{autoComplete:"ssh_private_key",label:"SSH private key in base64",type:"password",uuid:"ssh_private_key"}],k=[{autoComplete:"username",label:"Username",required:!0,uuid:"username"},{autoComplete:"email",label:"Email",required:!0,uuid:"email"},{autoComplete:"access_token",label:"Access token",labelDescription:"Add your Git access token to authenticate with your provided username. The access token will be stored as a Mage secret.",required:!0,type:"password",uuid:"access_token"}],P=[{autoComplete:"branch",label:"Branch name",required:!0,uuid:"branch"}],C=t(30160),I=t(17488),N=t(35686),H=t(70515),T=t(24755),M=t(72619),z=t(28598);function q(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function D(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?q(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):q(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function A(){var e=N.ZP.syncs.list().data,n=(0,a.useState)(null),t=n[0],r=n[1],s=(0,a.useState)(null),c=s[0],u=s[1],v=(0,a.useState)(null),q=v[0],A=v[1],E=(0,a.useState)(null),G=E[0],B=E[1];(0,a.useEffect)((function(){if(e){var n,t=null===e||void 0===e||null===(n=e.syncs)||void 0===n?void 0:n[0];u(null===t||void 0===t?void 0:t.user_git_settings),r(t),B(!(null===t||void 0===t||!t.branch))}}),[e]);var R=(0,a.useMemo)((function(){if(e){var n,t=null===e||void 0===e||null===(n=e.syncs)||void 0===n?void 0:n[0];return!(null===t||void 0===t||!t.branch)}return!1}),[e]),F=(0,p.Db)(N.ZP.syncs.useCreate(),{onSuccess:function(e){return(0,M.wD)(e,{callback:function(e){var n=e.sync;n&&(r(n),window.location.reload(),h.Am.success("Sync saved",{position:h.Am.POSITION.BOTTOM_RIGHT,toastId:"data_sync_success"}))},onErrorCallback:function(e,n){return A({errors:n,response:e})}})}}),L=(0,l.Z)(F,2),U=L[0],W=L[1].isLoading,X=(0,p.Db)(N.ZP.syncs.useUpdate("git"),{onSuccess:function(e){return(0,M.wD)(e,{callback:function(e){e.sync&&h.Am.success("Success!",{position:h.Am.POSITION.BOTTOM_RIGHT,toastId:"data_sync_success"})},onErrorCallback:function(e,n){return A({errors:n,response:e})}})}}),Q=(0,l.Z)(X,2),J=Q[0],Y=Q[1].isLoading,K=(0,a.useMemo)((function(){return(null===t||void 0===t?void 0:t.auth_type)||i.SSH}),[null===t||void 0===t?void 0:t.auth_type]),V=(0,a.useMemo)((function(){return K===i.HTTPS?k:S}),[K]),$=N.ZP.statuses.list().data,ee=(0,a.useMemo)((function(){var e,n;return null===$||void 0===$||null===(e=$.statuses)||void 0===e||null===(n=e[0])||void 0===n?void 0:n.require_user_authentication}),[$]),ne=(0,a.useMemo)((function(){var e=r,n=t;return!G&&ee&&(e=u,n=c),(0,z.jsx)("form",{children:V.map((function(t){var i,r,l=t.autoComplete,s=t.disabled,c=t.label,a=t.labelDescription,u=t.required,d=t.type,p=t.uuid;return r="ssh_public_key"===p?(0,z.jsx)(w.Z,{mb:1,children:(0,z.jsxs)(C.ZP,{small:!0,children:["Run ",(0,z.jsx)(x.Z,{onClick:function(){navigator.clipboard.writeText("cat ~/.ssh/id_ed25519.pub | base64 | tr -d \\\\n | echo"),h.Am.success("Successfully copied to clipboard.",{position:h.Am.POSITION.BOTTOM_RIGHT,toastId:p})},small:!0,children:"cat ~/.ssh/id_ed25519.pub | base64 | tr -d \\\\n | echo"})," in terminal to get base64 encoded public key and paste the result here. The key will be stored as a Mage secret."]})}):"ssh_private_key"===p?(0,z.jsx)(w.Z,{mb:1,children:(0,z.jsxs)(C.ZP,{small:!0,children:["Follow same steps as the public key, but run ",(0,z.jsx)(x.Z,{onClick:function(){navigator.clipboard.writeText("cat ~/.ssh/id_ed25519 | base64 | tr -d \\\\n && echo"),h.Am.success("Successfully copied to clipboard.",{position:h.Am.POSITION.BOTTOM_RIGHT,toastId:p})},small:!0,children:"cat ~/.ssh/id_ed25519 | base64 | tr -d \\\\n && echo"})," instead. The key will be stored as a Mage secret."]})}):a&&(0,z.jsx)(w.Z,{mb:1,children:(0,z.jsx)(C.ZP,{small:!0,children:a})}),(0,z.jsxs)(w.Z,{mt:2,children:[r,(0,z.jsx)(I.Z,{autoComplete:l,disabled:s,label:c,onChange:function(n){e((function(e){return D(D({},e),{},(0,o.Z)({},p,n.target.value))}))},primary:!0,required:u,setContentOnMount:!0,type:d,value:(null===(i=n)||void 0===i?void 0:i[p])||""})]},p)}))})}),[V,ee,u,r,G,t,c]);return(0,z.jsx)(Z.Z,{uuidItemSelected:T.fF,uuidWorkspaceSelected:T.WH,children:(0,z.jsxs)(w.Z,{p:H.cd,style:{width:"600px"},children:[(0,z.jsx)(j.Z,{children:"Git repository settings"}),(0,z.jsxs)(C.ZP,{children:["If you are using Github and want to use a more feature rich integration, you can check out the ",(0,z.jsx)(d(),{as:"/version-control",href:"/version-control",children:(0,z.jsx)(x.Z,{inline:!0,children:"version control app"})}),"."]}),(0,z.jsx)(x.Z,{}),(0,z.jsx)(w.Z,{mt:1,children:(0,z.jsx)(C.ZP,{bold:!0,children:"Authentication type"})}),(0,z.jsx)(w.Z,{mt:1,children:(0,z.jsx)(_.Z,{compact:!0,label:"Authentication type",onChange:function(e){var n=e.target.value;r((function(e){return D(D({},e),{},{auth_type:n})}))},value:K,children:Object.entries(i).map((function(e){var n=(0,l.Z)(e,2),t=n[0],i=n[1];return(0,z.jsx)("option",{value:i,children:t},i)}))})}),(0,z.jsx)(w.Z,{mt:H.Mq,children:K===i.SSH&&(0,z.jsxs)(C.ZP,{bold:!0,children:["You will need to ",(0,z.jsx)(x.Z,{href:"https://docs.mage.ai/development/git/configure#generate-ssh-token",openNewWindow:!0,children:"set up your SSH key"})," if you have not done so already."]})}),(0,z.jsx)("form",{children:O.map((function(e){var n=e.autoComplete,i=e.disabled,l=e.label,s=e.labelDescription,c=e.required,a=e.type,u=e.uuid;return(0,z.jsxs)(w.Z,{mt:2,children:[s&&(0,z.jsx)(w.Z,{mb:1,children:(0,z.jsx)(C.ZP,{small:!0,children:s})}),(0,z.jsx)(I.Z,{autoComplete:n,disabled:i,label:l,onChange:function(e){r((function(n){return D(D({},n),{},(0,o.Z)({},u,e.target.value))}))},primary:!0,required:c,setContentOnMount:!0,type:a,value:(null===t||void 0===t?void 0:t[u])||""})]},u)}))}),(0,z.jsx)(w.Z,{mt:H.Mq,children:(0,z.jsxs)(g.ZP,{alignItems:"center",children:[(0,z.jsx)(w.Z,{mr:1,children:(0,z.jsx)(f.Z,{checked:!!G,onClick:function(){return B((function(e){var n=!e;return n||r((function(e){return D(D({},e),{},{branch:null,sync_on_pipeline_run:!1,sync_on_start:!1})})),n}))}})}),(0,z.jsxs)(C.ZP,{bold:!0,children:["Use ",(0,z.jsx)(x.Z,{bold:!0,href:"https://docs.mage.ai/production/data-sync/git-sync",openNewWindow:!0,children:"One-way git sync"})," (Click link for more info)"]})]})}),G?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(w.Z,{mt:H.Mq,children:(0,z.jsx)(C.ZP,{bold:!0,children:"Sync with a specified branch. These settings will be saved at the project level."})}),(0,z.jsx)("form",{children:P.map((function(e){var n=e.autoComplete,i=e.disabled,l=e.label,s=e.required,c=e.type,a=e.uuid;return(0,z.jsx)(w.Z,{mt:2,children:(0,z.jsx)(I.Z,{autoComplete:n,disabled:i,label:l,onChange:function(e){r((function(n){return D(D({},n),{},(0,o.Z)({},a,e.target.value))}))},primary:!0,required:s,setContentOnMount:!0,type:c,value:(null===t||void 0===t?void 0:t[a])||""})},a)}))}),(0,z.jsx)(g.ZP,{alignItems:"center",children:(0,z.jsx)(w.Z,{mt:2,children:(0,z.jsx)(f.Z,{checked:null===t||void 0===t?void 0:t.sync_submodules,label:"Include submodules",onClick:function(){r((function(e){return D(D({},e),{},{sync_submodules:!(null!==t&&void 0!==t&&t.sync_submodules)})}))}})})}),(0,z.jsx)(w.Z,{mt:2,children:(0,z.jsx)(j.Z,{level:5,children:"Additional sync settings"})}),(0,z.jsx)(g.ZP,{alignItems:"center",children:(0,z.jsx)(w.Z,{mt:2,children:(0,z.jsx)(f.Z,{checked:null===t||void 0===t?void 0:t.sync_on_pipeline_run,label:"Sync before each trigger run",onClick:function(){r((function(e){return D(D({},e),{},{sync_on_pipeline_run:!(null!==t&&void 0!==t&&t.sync_on_pipeline_run)})}))}})})}),(0,z.jsx)(g.ZP,{alignItems:"center",children:(0,z.jsx)(w.Z,{mt:2,children:(0,z.jsx)(f.Z,{checked:null===t||void 0===t?void 0:t.sync_on_start,label:"Sync on server start up",onClick:function(){r((function(e){return D(D({},e),{},{sync_on_start:!(null!==t&&void 0!==t&&t.sync_on_start)})}))}})})}),(0,z.jsx)(w.Z,{mt:H.Mq,children:(0,z.jsx)(C.ZP,{bold:!0,children:"Configure the Git authentication credentials that will be used to sync with the specified Git repository."})}),ne]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(w.Z,{mt:H.Mq,children:(0,z.jsx)(C.ZP,{bold:!0,children:"These fields are required to help Mage configure your Git settings. These settings will be specific to your user."})}),ne]}),(0,z.jsx)(w.Z,{mt:2,children:(0,z.jsx)(m.ZP,{loading:W,onClick:function(){return U({sync:D(D({},t),{},{user_git_settings:c})})},primary:!0,children:"Save repository settings"})}),q&&(0,z.jsx)(y.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===A||void 0===A?void 0:A(null)},children:(0,z.jsx)(b.Z,D(D({},q),{},{onClose:function(){return null===A||void 0===A?void 0:A(null)}}))}),R&&(0,z.jsxs)(w.Z,{mt:H.HN,children:[(0,z.jsx)(j.Z,{children:"Synchronize code from remote repository"}),(0,z.jsxs)(w.Z,{mt:1,children:[(0,z.jsxs)(C.ZP,{children:["Running the sync from this page will run a one time sync with the remote repository.",(0,z.jsx)("br",{}),"This may ",(0,z.jsx)(C.ZP,{bold:!0,danger:!0,inline:!0,children:"overwrite"})," your existing data, so make sure you\u2019ve committed or backed up your current changes."]}),(0,z.jsx)(w.Z,{mt:2}),(0,z.jsxs)(C.ZP,{children:["Reset will tell Mage to try to clone your repository from remote. This will also ",(0,z.jsx)(C.ZP,{bold:!0,danger:!0,inline:!0,children:"overwrite"})," all your local changes and reset any settings you may have configured for your local Git repo. This may be helpful if you are having issues syncing your repository."]})]}),(0,z.jsx)(w.Z,{mt:2,children:(0,z.jsxs)(g.ZP,{children:[(0,z.jsx)(m.ZP,{loading:Y,onClick:function(){return J({sync:{action_type:"sync_data"}})},warning:!0,children:"Synchronize code"}),(0,z.jsx)(w.Z,{ml:2}),(0,z.jsx)(m.ZP,{danger:!0,loading:Y,onClick:function(){return J({sync:{action_type:"reset"}})},children:"Reset repository"})]})})]})]})})}A.getInitialProps=(0,r.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)})));var E=(0,v.Z)(A)},37056:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/workspace/sync-data",function(){return t(60480)}])}},function(e){e.O(0,[2678,1154,844,874,1557,8264,8432,9774,2888,179],(function(){return n=37056,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2287],{87992:function(e,n,r){"use strict";r.r(n);var u=r(77837),s=r(38860),t=r.n(s),i=r(82684),a=r(34376),l=r(71180),d=r(15338),c=r(93808),o=r(28274),f=r(38276),p=r(75499),m=r(30160),h=r(37361),_=r(35686),v=r(72473),w=r(70515),x=r(24755),Z=r(3917),j=r(50178),P=r(28598);function k(){var e=(0,a.useRouter)(),n=(0,i.useState)(!1),r=n[0],u=n[1],s=(0,j.PR)()||{},t=(s.id,s.owner),c=_.ZP.users.list({},{revalidateOnFocus:!1}).data,k=(0,i.useMemo)((function(){return(null===c||void 0===c?void 0:c.users)||[]}),[null===c||void 0===c?void 0:c.users]),b=[{bold:!r,label:function(){return"Users"}}];return r?(b[0].onClick=function(){return u(!1)},b.push({bold:!0,label:function(){return"New user"}})):b[0].linkProps={href:"/settings/workspace/users"},(0,P.jsxs)(o.Z,{appendBreadcrumbs:!0,breadcrumbs:b,title:"Users",uuidItemSelected:x.B2.USERS,uuidWorkspaceSelected:x.Pl.USER_MANAGEMENT,children:[r&&(0,P.jsx)(h.Z,{contained:!0,onCancel:function(){return u(!1)}}),!r&&(0,P.jsxs)(P.Fragment,{children:[t&&(0,P.jsx)(f.Z,{p:w.cd,children:(0,P.jsx)(l.ZP,{beforeIcon:(0,P.jsx)(v.DN,{}),onClick:function(){return u(!0)},primary:!0,children:"Add new user"})}),(0,P.jsx)(d.Z,{light:!0}),(0,P.jsx)(p.Z,{columnFlex:[null,1,1,1,1,null,null],columns:[{label:function(){return""},uuid:"avatar"},{uuid:"Username"},{uuid:"First name"},{uuid:"Last name"},{uuid:"Email"},{uuid:"Role"},{rightAligned:!0,uuid:"Created"}],onClickRow:function(n){var r,u=null===(r=k[n])||void 0===r?void 0:r.id;e.push("/settings/workspace/users/".concat(u))},rows:k.map((function(e){var n=e.avatar,r=e.created_at,u=e.email,s=e.first_name,t=(e.id,e.last_name),i=e.roles_display,a=e.roles_new,l=e.username,d=a||[];return d.sort((function(e,n){return e.id-n.id})),[(0,P.jsx)(m.ZP,{large:!0,rightAligned:!0,children:n},"avatar"),(0,P.jsx)(m.ZP,{children:l||"-"},"username"),(0,P.jsx)(m.ZP,{default:!0,children:s||"-"},"firstName"),(0,P.jsx)(m.ZP,{default:!0,children:t||"-"},"lastName"),(0,P.jsx)(m.ZP,{default:!0,children:u},"email"),(0,P.jsx)(m.ZP,{default:!0,children:d.length>0?d[0].name:i},"roles"),(0,P.jsx)(m.ZP,{monospace:!0,default:!0,children:r&&(0,Z.d$)(r)},"created")]})),uuid:"pipeline-runs"})]})]})}k.getInitialProps=(0,u.Z)(t().mark((function e(){return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),n.default=(0,c.Z)(k)},48673:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/workspace/users",function(){return r(87992)}])}},function(e){e.O(0,[2678,1154,844,874,1557,8264,7858,5499,8432,7361,9774,2888,179],(function(){return n=48673,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1312],{66316:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var r=t(82394),i=t(70613),o=t(31557),c=t(33591),u=t(38276),l=t(70515),a=t(28598);var s=function(e){var n=e.children,t=e.width,r=void 0===t?12:t;return(0,a.jsx)(u.Z,{px:l.zC,children:(0,a.jsx)(c.Row,{children:(0,a.jsx)(c.Col,{lg:r,md:Math.min(12,Math.round(1.5*(12-r))),sm:Math.min(12,Math.round(1.75*(12-r))),xs:12,children:n})})})},d=t(38626),f=t(46684),p=d.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-jcgu5l-0"})(["padding-top:","px;",""],f.Mz,(function(e){return e.fullHeight&&"\n height: calc(100vh);\n "}));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 g(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?h(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var m=function(e){var n=e.children,t=e.headerProps,r=e.title;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Z,{title:r}),(0,a.jsx)(o.Z,g({},t)),(0,a.jsx)(s,{children:(0,a.jsx)(p,{fullHeight:!0,children:n})})]})}},46568:function(e,n,t){"use strict";var r=t(82394),i=t(26304),o=(t(82684),t(33591)),c=t(28598),u=["children","fullHeight","gutter","style"];function l(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?l(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.children,t=e.fullHeight,r=e.gutter,l=e.style,s=void 0===l?{}:l,d=(0,i.Z)(e,u),f=a({},s);return r&&(f.paddingLeft=r,f.paddingRight=f.paddingLeft),t&&(f.height="100%"),(0,c.jsx)(o.Col,a(a({},d),{},{style:f,children:n}))}},82682:function(e,n,t){"use strict";var r=t(82394),i=t(26304),o=t(82684),c=t(33591),u=t(28598),l=["children","fullHeight","gutter","justifyContent","style"];function a(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 s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.children,t=e.fullHeight,r=e.gutter,a=e.justifyContent,d=e.style,f=void 0===d?{}:d,p=(0,i.Z)(e,l),h=s({},f);return r&&(h.marginLeft=-1*r,h.marginRight=h.marginLeft),t&&(h.height="100%"),(0,u.jsx)(c.Row,s(s({},p),{},{justifyContent:a,style:h,children:o.Children.map(n,(function(e,n){return e&&o.cloneElement(e,{gutter:r,key:n})}))}))}},94542:function(e,n,t){"use strict";t.d(n,{J:function(){return o},X:function(){return c}});var r=t(46568),i=t(82682),o=r.Z,c=i.Z},40109:function(e,n,t){"use strict";t.d(n,{f:function(){return y},h:function(){return g}});var r=t(82394),i=t(82684),o=t(34376),c=t(93369),u=t(72473),l=t(70515),a=t(69419),s=t(53808),d=t(28598);var f=function(e){var n=e.oauthResponse,t=(0,o.useRouter)(),r=(0,i.useMemo)((function(){return n||{}}),[n]),f=r.url,p=r.redirect_query_params,h=void 0===p?{}:p;return(0,d.jsx)(d.Fragment,{children:f&&(0,d.jsx)(c.ZP,{beforeElement:(0,d.jsx)(u._8,{size:2*l.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,a.iV)(f).state;(0,s.t8)(e,h),t.push(f)},uuid:"SignForm/google",children:"Sign in with Google"})})};var p=function(e){var n=e.oauthResponse,t=(0,o.useRouter)(),r=(0,i.useMemo)((function(){return n||{}}),[n]),f=r.url,p=r.redirect_query_params,h=void 0===p?{}:p;return(0,d.jsx)(d.Fragment,{children:f&&(0,d.jsx)(c.ZP,{beforeElement:(0,d.jsx)(u.Dg,{size:2*l.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,a.iV)(f).state;h&&(0,s.t8)(e,h),t.push(f)},uuid:"SignForm/active_directory",children:"Sign in with Microsoft"})})};var h,g,m=function(e){var n=e.oauthResponse,t=(0,o.useRouter)(),r=(0,i.useMemo)((function(){return n||{}}),[n]),u=r.url,l=r.redirect_query_params,f=void 0===l?{}:l;return(0,d.jsx)(d.Fragment,{children:u&&(0,d.jsx)(c.ZP,{bold:!0,inline:!0,onClick:function(){var e=(0,a.iV)(u).state;(0,s.t8)(e,f),t.push(u)},uuid:"SignForm/okta",children:"Sign in with Okta"})})};!function(e){e.ACTIVE_DIRECTORY="active_directory",e.BITBUCKET="bitbucket",e.GITHUB="github",e.GOOGLE="google",e.OKTA="okta"}(g||(g={}));var y=(h={},(0,r.Z)(h,g.ACTIVE_DIRECTORY,p),(0,r.Z)(h,g.GOOGLE,f),(0,r.Z)(h,g.OKTA,m),h)},85854:function(e,n,t){"use strict";var r,i,o,c,u,l,a,s,d=t(82394),f=t(26304),p=t(26653),h=t(38626),g=t(33591),m=t(44897),y=t(95363),b=t(61896),j=t(30160),v=t(70515),O=t(38276),x=t(28598),w=["children","condensed","inline","level","marketing","spacingBelow"];function Z(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Z(Object(t),!0).forEach((function(n){(0,d.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Z(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _=(0,h.css)([""," margin:0;"," "," "," "," "," "," "," "," "," "," "," "," "," ",""],j.IH,(function(e){return e.color&&"\n color: ".concat(e.color,"\n ")}),(function(e){return e.yellow&&"\n color: ".concat((e.theme.accent||m.Z.accent).yellow,";\n ")}),(function(e){return e.center&&"\n text-align: center;\n "}),(function(e){return!e.monospace&&0===Number(e.weightStyle)&&"\n font-family: ".concat(y.iI,";\n ")}),(function(e){return!e.monospace&&1===Number(e.weightStyle)&&"\n font-family: ".concat(y.LX,";\n ")}),(function(e){return!e.monospace&&2===Number(e.weightStyle)&&"\n font-family: ".concat(y.LX,";\n ")}),(function(e){return!e.monospace&&3===Number(e.weightStyle)&&"\n font-family: ".concat(y.ry,";\n ")}),(function(e){return!e.monospace&&4===Number(e.weightStyle)&&"\n font-family: ".concat(y.YC,";\n ")}),(function(e){return!e.monospace&&5===Number(e.weightStyle)&&"\n font-family: ".concat(y.nF,";\n ")}),(function(e){return!e.monospace&&(6===Number(e.weightStyle)||e.bold)&&"\n font-family: ".concat(y.nF,";\n ")}),(function(e){return!e.monospace&&7===Number(e.weightStyle)&&"\n font-family: ".concat(y.nF,";\n ")}),(function(e){return!e.monospace&&8===Number(e.weightStyle)&&"\n font-family: ".concat(y.nF,";\n ")}),(function(e){return e.lineHeightAuto&&"\n line-height: normal !important;\n "}),(function(e){return e.strikethrough&&"\n text-decoration: line-through;\n "})),C=h.default.div.withConfig({displayName:"Headline__HeadlineContainerStyle",componentId:"sc-12jzt2e-0"})(["",""],(function(e){return"\n color: ".concat((e.theme.content||m.Z.content).active,";\n ")})),S=h.default.h1.withConfig({displayName:"Headline__H1HeroStyle",componentId:"sc-12jzt2e-1"})([""," font-size:42px;line-height:56px;"," "," ",""],_,g.media.md(r||(r=(0,p.Z)(["\n ","\n "])),b.aQ),g.media.lg(i||(i=(0,p.Z)(["\n ","\n "])),b.aQ),g.media.xl(o||(o=(0,p.Z)(["\n ","\n "])),b.aQ)),k=h.default.h1.withConfig({displayName:"Headline__H1Style",componentId:"sc-12jzt2e-2"})([""," ",""],_,b.MJ),I=h.default.h1.withConfig({displayName:"Headline__H1MarketingStyle",componentId:"sc-12jzt2e-3"})([""," "," "," "," "," ",""],_,g.media.xs(c||(c=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*v.iI,7*v.iI),g.media.sm(u||(u=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*v.iI,7*v.iI),g.media.md(l||(l=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*v.iI,7*v.iI),g.media.lg(a||(a=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*v.iI,7*v.iI),g.media.xl(s||(s=(0,p.Z)(["\n font-size: ","px;\n line-height: ","px;\n "])),6*v.iI,7*v.iI)),z=h.default.h2.withConfig({displayName:"Headline__H2Style",componentId:"sc-12jzt2e-4"})([""," ",""],_,b.BL),N=h.default.h3.withConfig({displayName:"Headline__H3Style",componentId:"sc-12jzt2e-5"})([""," font-size:24px;line-height:32px;"],_),H=h.default.h4.withConfig({displayName:"Headline__H4Style",componentId:"sc-12jzt2e-6"})([""," font-size:20px;line-height:28px;"],_),D=h.default.h5.withConfig({displayName:"Headline__H5Style",componentId:"sc-12jzt2e-7"})([""," font-size:18px;line-height:26px;"],_),E=h.default.span.withConfig({displayName:"Headline__SpanStyle",componentId:"sc-12jzt2e-8"})([""," "," "," "," ",""],_,(function(e){return 1===e.level&&"\n ".concat(b.MJ,"\n ")}),(function(e){return 2===e.level&&"\n ".concat(b.BL,"\n ")}),(function(e){return 3===e.level&&"\n font-size: 24px;\n line-height: 32px;\n "}),(function(e){return 4===e.level&&"\n font-size: 20px;\n line-height: 28px;\n "})),R=function(e){var n,t=e.children,r=e.condensed,i=e.inline,o=e.level,c=e.marketing,u=e.spacingBelow,l=(0,f.Z)(e,w);i?n=E:0===Number(o)?n=S:1===Number(o)?n=c?I:k:2===Number(o)?n=z:3===Number(o)?n=N:4===Number(o)?n=H:5===Number(o)&&(n=D);var a=(0,x.jsxs)(n,P(P({},l),{},{level:o,children:[u&&(0,x.jsx)(O.Z,{mb:r?2:3,children:t}),!u&&t]}));return i?a:(0,x.jsx)(C,{children:a})};R.defaultProps={level:3,weightStyle:6},n.Z=R},13180:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return V}});var r=t(77837),i=t(38860),o=t.n(i),c=t(66316),u=t(82394),l=t(75582),a=t(82684),s=t(69864),d=t(34376),f=t(40761),p=t(55485),h=t(85854),g=t(93369),m=t(38276),y=t(30160),b=t(17488),j=t(35686),v=t(38626),O=t(44897),x=t(42631),w=t(70515),Z=v.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-641xul-0"})(["border-radius:","px;padding-bottom:","px;padding-left:","px;padding-right:","px;padding-top:","px;width:100%;",""],x.TR,21*w.iI,w.Vj,w.Vj,w.Vj,(function(e){return"\n background-color: ".concat((e.theme.background||O.Z.background).panel,";\n ")})),P=v.default.div.withConfig({displayName:"indexstyle__BackgroundImageStyle",componentId:"sc-641xul-1"})(["border-radius:","px;font-size:0;overflow:hidden;",""],x.D7,(function(e){return e.src&&"\n background-image: url(".concat(e.src,");\n background-size: cover;\n background-repeat: no-repeat;\n height: 100%;\n width: 100%;\n ")})),_=t(94542),C=t(39643),S=t(40109),k=t(42122),I=t(72619),z=t(42041),N=t(69419),H=t(50178),D=t(28598);function E(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function R(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?E(Object(t),!0).forEach((function(n){(0,u.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):E(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var M="email",T="password";var F=function(e){var n=e.title,t=(0,d.useRouter)(),r=(0,a.useState)(null),i=r[0],o=r[1],c=(0,a.useState)({}),v=c[0],O=c[1],x=(0,s.Db)(j.ZP.sessions.useCreate(),{onSuccess:function(e){return(0,I.wD)(e,{callback:function(e){var n=e.session,t=n.token,r=n.user;(0,H.av)(r),f.Z.storeToken(t,(function(){var e="/",n=(0,N.iV)(window.location.href),t=(0,N.uM)((0,k.gR)(n,["redirect_url","access_token","provider"]));n.redirect_url&&(e="".concat(n.redirect_url,"?").concat(t)),window.location.href=e}))},onErrorCallback:function(e){var n=e.error;o(n)}})}}),E=(0,l.Z)(x,2),F=E[0],L=E[1].isLoading,V=(0,a.useCallback)((function(e){return f.Z.logout((function(){return F(e)}))}),[F]),B=j.ZP.oauths.list({redirect_uri:encodeURIComponent(window.location.href)}).data,G=(0,a.useMemo)((function(){var e;return null===B||void 0===B||null===(e=B.oauths)||void 0===e?void 0:e.reduce((function(e,n){return e[n.provider]=n,e}),{})}),[B]),X=(0,N.iV)()||{},A=X.access_token,J=X.provider;return(0,a.useEffect)((function(){var e;A&&J&&F({session:(e={},(0,u.Z)(e,"provider",J),(0,u.Z)(e,"token",A),e)})}),[A,F,J]),(0,D.jsxs)(_.X,{fullHeight:!0,children:[(0,D.jsx)(_.J,{lg:6,md:12,children:(0,D.jsx)(p.ZP,{flexDirection:"column",fullHeight:!0,fullWidth:!0,justifyContent:"center",children:(0,D.jsx)(m.Z,{px:{xl:5*w.zC,xs:w.zC},py:w.zC,children:(0,D.jsxs)(Z,{children:[(0,D.jsx)(h.Z,{yellow:!0,children:n}),(0,D.jsxs)("form",{children:[(0,D.jsxs)(m.Z,{mt:3,children:[(0,D.jsx)(b.Z,{autoComplete:"username",label:"Email",large:!0,meta:{error:" ",touched:!!i},onChange:function(e){return O((function(n){return R(R({},n),{},(0,u.Z)({},M,e.target.value))}))},primary:!i,value:v.email}),(0,D.jsx)(m.Z,{mt:2,children:(0,D.jsx)(b.Z,{autoComplete:"current-password",label:"Password",large:!0,meta:{error:" ",touched:!!i},onChange:function(e){return O((function(n){return R(R({},n),{},(0,u.Z)({},T,e.target.value))}))},primary:!i,type:"password",value:v.password})})]}),i&&(0,D.jsx)(m.Z,{mt:2,children:(0,D.jsx)(y.ZP,{danger:!0,children:i.message})}),(0,D.jsx)(m.Z,{mt:3,children:(0,D.jsx)(g.ZP,{bold:!0,inline:!0,keyTextGroups:[[C.Lz]],keyboardShortcutValidation:function(e){var n=e.keyMapping;return(0,z.y)([C.Uq],n)},large:!0,loading:L,noHoverUnderline:!0,onClick:function(){return V({session:v})},selected:!0,uuid:"SignForm/action",wind:!0,children:"Sign into Mage"})}),Object.entries(S.f).map((function(e){var n=(0,l.Z)(e,2),t=n[0],r=n[1];return(0,D.jsx)(D.Fragment,{children:(null===G||void 0===G?void 0:G[t])&&(0,D.jsx)(m.Z,{mt:4,children:(0,D.jsx)(r,{oauthResponse:null===G||void 0===G?void 0:G[t]})})})}))]})]})})})}),(0,D.jsx)(_.J,{hiddenLgDown:!0,lg:6,style:{flex:1},children:(0,D.jsx)(m.Z,{fullHeight:!0,fullWidth:!0,px:w.zC,py:w.zC+8,children:(0,D.jsx)(P,{src:"".concat(t.basePath,"/images/sessions/abstract.png"),children:"Sign in abstract image"})})})]})};function L(){return(0,D.jsx)(c.Z,{title:"Sign in",children:(0,D.jsx)(F,{title:"\ud83d\udc4b Sign in"})})}L.getInitialProps=(0,r.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)})));var V=L},6821:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sign-in",function(){return t(13180)}])}},function(e){e.O(0,[2678,1154,844,874,1557,9774,2888,179],(function(){return n=6821,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6568],{94629:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var n=r(82394),i=r(21831),o=r(82684),u=r(50724),s=r(82555),a=r(97618),c=r(70613),d=r(31557),l=r(68899),f=r(28598);function h(e,t){var r=e.children,n=e.noPadding;return(0,f.jsx)(l.HS,{noPadding:n,ref:t,children:r})}var p=o.forwardRef(h),b=r(62547),m=r(82571),v=r(98464),j=r(77417),O=r(46684),g=r(70515),w=r(53808),_=r(19183);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Z(e,t){e.addProjectBreadcrumbToCustomBreadcrumbs;var r=e.after,n=e.afterHeader,h=e.afterHidden,x=e.afterWidth,Z=e.afterWidthOverride,P=e.appendBreadcrumbs,C=e.before,E=e.beforeWidth,k=e.breadcrumbs,H=e.children,A=e.contained,M=e.errors,S=e.headerMenuItems,B=e.headerOffset,R=e.hideAfterCompletely,T=e.mainContainerHeader,I=e.navigationItems,N=e.setAfterHidden,W=e.setErrors,D=e.subheaderChildren,U=e.subheaderNoPadding,z=e.title,F=e.uuid,X=(0,_.i)().width,q="dashboard_after_width_".concat(F),V="dashboard_before_width_".concat(F),G=(0,o.useRef)(null),J=(0,o.useState)(Z?x:(0,w.U2)(q,x)),K=J[0],L=J[1],Q=(0,o.useState)(!1),Y=Q[0],$=Q[1],ee=(0,o.useState)(C?Math.max((0,w.U2)(V,E),13*g.iI):null),te=ee[0],re=ee[1],ne=(0,o.useState)(!1),ie=ne[0],oe=ne[1],ue=(0,o.useState)(null)[1],se=(0,j.Z)().project,ae=[];k&&ae.push.apply(ae,(0,i.Z)(k)),null!==k&&void 0!==k&&k.length&&!P||!se||null!==k&&void 0!==k&&k.length||ae.unshift({bold:!P,label:function(){return z}}),(0,o.useEffect)((function(){null===G||void 0===G||!G.current||Y||ie||null===ue||void 0===ue||ue(G.current.getBoundingClientRect().width)}),[Y,K,ie,te,G,ue,X]),(0,o.useEffect)((function(){Y||(0,w.t8)(q,K)}),[h,Y,K,q]),(0,o.useEffect)((function(){ie||(0,w.t8)(V,te)}),[ie,te,V]);var ce=(0,v.Z)(x);return(0,o.useEffect)((function(){Z&&ce!==x&&L(x)}),[Z,x,ce]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(c.Z,{title:z}),(0,f.jsx)(d.Z,{breadcrumbs:ae,menuItems:S}),(0,f.jsxs)(l.Nk,{ref:t,children:[0!==(null===I||void 0===I?void 0:I.length)&&(0,f.jsx)(l.lm,{showMore:!0,children:(0,f.jsx)(m.Z,{navigationItems:I,showMore:!0})}),(0,f.jsx)(a.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(b.Z,{after:r,afterHeader:n,afterHeightOffset:O.Mz,afterHidden:h,afterMousedownActive:Y,afterWidth:K,before:C,beforeHeightOffset:O.Mz,beforeMousedownActive:ie,beforeWidth:l.k1+(C?te:0),contained:A,headerOffset:B,hideAfterCompletely:!N||R,leftOffset:C?l.k1:null,mainContainerHeader:T,mainContainerRef:G,setAfterHidden:N,setAfterMousedownActive:$,setAfterWidth:L,setBeforeMousedownActive:oe,setBeforeWidth:re,children:[D&&(0,f.jsx)(p,{noPadding:U,children:D}),H]})})]}),M&&(0,f.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===W||void 0===W?void 0:W(null)},children:(0,f.jsx)(s.Z,y(y({},M),{},{onClose:function(){return null===W||void 0===W?void 0:W(null)}}))})]})}var P=o.forwardRef(Z)},14759:function(e,t,r){"use strict";r.r(t);var n=r(77837),i=r(38860),o=r.n(i),u=r(82684),s=r(44898),a=r(94629),c=r(88328),d=r(93808),l=r(38276),f=r(4190),h=r(5755),p=r(35686),b=r(70515),m=r(69419),v=r(28598);function j(e){var t,r=e.objectType,n=e.slug,i=(0,m.iV)().object_type,o=(0,u.useState)(null),d=o[0],j=o[1],O=i||r||s.Z,g=s.R===O,w=p.ZP.custom_templates.detail(n&&encodeURIComponent(n),{object_type:O}).data;return(0,u.useEffect)((function(){w&&j(null===w||void 0===w?void 0:w.custom_template)}),[w]),(0,v.jsxs)(a.Z,{addProjectBreadcrumbToCustomBreadcrumbs:!0,breadcrumbs:[{label:function(){return"Templates"},linkProps:{href:g?"/templates?object_type=".concat(s.R):"/templates"}},{bold:!0,label:function(){return n}}],title:n,uuid:"TemplatesDetail/index",children:[!w&&(0,v.jsx)(l.Z,{p:b.cd,children:(0,v.jsx)(f.Z,{inverted:!0})}),d&&(0,v.jsxs)(v.Fragment,{children:[(!O||s.Z===O)&&(0,v.jsx)(h.Z,{template:d},null===d||void 0===d||null===(t=d.content)||void 0===t?void 0:t.slice(0,40)),g&&(0,v.jsx)(c.Z,{template:d})]})]})}j.getInitialProps=function(){var e=(0,n.Z)(o().mark((function e(t){var r,n,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.query,n=r.object_type,i=r.slug,e.abrupt("return",{objectType:n,slug:i});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.default=(0,d.Z)(j)},45082:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/templates/[...slug]",function(){return r(14759)}])}},function(e){e.O(0,[2678,1154,844,5820,6639,1124,1751,341,1821,874,1557,8264,7858,5499,5283,3745,5810,3859,2646,8998,3004,9264,9774,2888,179],(function(){return t=45082,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5240],{60523:function(e,n,t){"use strict";var i=t(21831),r=t(82394),u=t(82684),o=t(38626),l=t(34376),d=t(54750),c=t(71180),s=t(90299),a=t(44898),f=t(55485),p=t(88328),h=t(38276),m=t(4190),v=t(48381),j=t(5755),b=t(30160),x=t(35686),g=t(72473),y=t(84649),Z=t(32929),w=t(15610),P=t(19183),O=t(28598);function C(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function k(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?C(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):C(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n,t=e.contained,r=e.defaultLinkUUID,C=e.defaultTab,_=e.objectType,I=e.onClickCustomTemplate,T=e.pipelineUUID,A=e.showAddingNewTemplates,M=e.showBreadcrumbs,S=e.tabs,U=(0,l.useRouter)(),E=(0,u.useContext)(o.ThemeContext),N=(0,P.i)(),R=N.height,D=N.width,B=(0,u.useMemo)((function(){return S||Z.dP}),[S]),H=(0,u.useState)(A||!1),q=H[0],z=H[1],F=(0,u.useState)(r?Z.qy.find((function(e){return e.uuid===r})):Z.qy[0]),W=F[0],L=F[1],G=(0,u.useState)(C?B.find((function(e){return e.uuid===(null===C||void 0===C?void 0:C.uuid)})):B[0]),X=G[0],Y=G[1],V=(0,u.useState)(null),J=V[0],K=V[1],Q=x.ZP.custom_templates.list({object_type:a.Z},{},{pauseFetch:Z.n9.uuid!==(null===X||void 0===X?void 0:X.uuid)}),$=Q.data,ee=Q.mutate,ne=(0,u.useMemo)((function(){var e=(null===$||void 0===$?void 0:$.custom_templates)||[];return null!==W&&void 0!==W&&W.filterTemplates?null===W||void 0===W?void 0:W.filterTemplates(e):e}),[$,W]),te=x.ZP.custom_templates.list({object_type:a.R},{},{pauseFetch:Z.A2.uuid!==(null===X||void 0===X?void 0:X.uuid)}),ie=te.data,re=te.mutate,ue=(0,u.useMemo)((function(){var e=(null===ie||void 0===ie?void 0:ie.custom_templates)||[];return null!==W&&void 0!==W&&W.filterTemplates?null===W||void 0===W?void 0:W.filterTemplates(e):e}),[ie,W]),oe=(0,u.useMemo)((function(){return Z.qy.map((function(e){var n=e.Icon,t=e.label,i=e.selectedBackgroundColor,r=e.selectedIconProps,u=e.uuid,o=(null===W||void 0===W?void 0:W.uuid)===u,l=k({size:y.ZG},o&&r?r:{});return(0,O.jsx)(y.wj,{onClick:function(){return L(e)},selected:o,children:(0,O.jsxs)(f.ZP,{alignItems:"center",children:[(0,O.jsx)(y.ze,{backgroundColor:o&&i?i(E):null,children:n?(0,O.jsx)(n,k({},l)):(0,O.jsx)(g.pd,k({},l))}),(0,O.jsx)(b.ZP,{bold:!0,large:!0,children:t?t():u})]})},u)}))}),[W,E]),le=(0,u.useMemo)((function(){return Z.hS.map((function(e){var n=e.Icon,t=e.label,i=e.selectedBackgroundColor,r=e.selectedIconProps,u=e.uuid,o=(null===W||void 0===W?void 0:W.uuid)===u,l=k({size:y.ZG},o&&r?r:{});return(0,O.jsx)(y.wj,{onClick:function(){return L(e)},selected:o,children:(0,O.jsxs)(f.ZP,{alignItems:"center",children:[(0,O.jsx)(y.ze,{backgroundColor:o&&i?i(E):null,children:n?(0,O.jsx)(n,k({},l)):(0,O.jsx)(g.pd,k({},l))}),(0,O.jsx)(b.ZP,{bold:!0,large:!0,children:t?t():u})]})},u)}))}),[W,E]),de=(0,u.useMemo)((function(){return null===ne||void 0===ne?void 0:ne.map((function(e){var n=e.description,t=e.name,r=e.tags,u=e.template_uuid,o=e.user,l=[];return null!==r&&void 0!==r&&r.length?l.push.apply(l,(0,i.Z)(r)):null!==o&&void 0!==o&&o.username&&l.push(null===o||void 0===o?void 0:o.username),(0,O.jsxs)(y.UE,{onClick:function(){I?I(e):U.push("/templates/[...slug]","/templates/".concat(encodeURIComponent(u)))},children:[(0,O.jsx)(y.Tj,{children:(0,O.jsx)(b.ZP,{bold:!0,monospace:!0,textOverflow:!0,children:t||u})}),(0,O.jsx)(y.SL,{children:(0,O.jsx)(b.ZP,{default:!!n,italic:!n,muted:!n,textOverflowLines:2,children:n||"No description"})}),(0,O.jsx)(y.EN,{children:(null===l||void 0===l?void 0:l.length)>=1&&(0,O.jsx)(v.Z,{tags:null===l||void 0===l?void 0:l.map((function(e){return{uuid:e}}))})})]},u)}))}),[ne,I,U]),ce=(0,u.useMemo)((function(){return null===ue||void 0===ue?void 0:ue.map((function(e){var n=e.description,t=e.name,r=e.tags,u=e.template_uuid,o=e.user,l=[];return null!==r&&void 0!==r&&r.length?l.push.apply(l,(0,i.Z)(r)):null!==o&&void 0!==o&&o.username&&l.push(null===o||void 0===o?void 0:o.username),(0,O.jsxs)(y.UE,{onClick:function(){I?I(e):U.push("/templates/[...slug]","/templates/".concat(encodeURIComponent(u),"?object_type=").concat(a.R))},children:[(0,O.jsx)(y.Tj,{children:(0,O.jsx)(b.ZP,{bold:!0,monospace:!0,textOverflow:!0,children:t||u})}),(0,O.jsx)(y.SL,{children:(0,O.jsx)(b.ZP,{default:!!n,italic:!n,muted:!n,textOverflowLines:2,children:n||"No description"})}),(0,O.jsx)(y.EN,{children:(null===l||void 0===l?void 0:l.length)>=1&&(0,O.jsx)(v.Z,{tags:null===l||void 0===l?void 0:l.map((function(e){return{uuid:e}}))})})]},u)}))}),[ue,I,U]),se=(0,u.useMemo)((function(){if(!M)return null;var e=[];return q?e.push.apply(e,[{label:function(){return"Templates"},onClick:function(){z(!1)}},{bold:!0,label:function(){return"New custom template"}}]):e.push({label:function(){return"Templates"}}),(0,O.jsx)(y.FX,{children:(0,O.jsx)(d.Z,{breadcrumbs:e})})}),[q,M]),ae=(0,u.useMemo)((function(){return M?36:0}),[M]),fe=(0,u.useMemo)((function(){return R-ae}),[R,ae]);if(q)return n=a.R===_&&T?(0,O.jsx)(p.Z,{onMutateSuccess:re,pipelineUUID:T,templateAttributes:W&&(null===W||void 0===W?void 0:W.uuid)!==(null===Z.qy||void 0===Z.qy?void 0:Z.qy[0].uuid)?{pipeline_type:null===W||void 0===W?void 0:W.uuid}:null,templateUUID:null===J||void 0===J?void 0:J.template_uuid}):(0,O.jsx)(j.Z,{contained:t,heightOffset:ae,onCreateCustomTemplate:t?function(e){K(e)}:null,onMutateSuccess:ee,templateAttributes:W&&(null===W||void 0===W?void 0:W.uuid)!==(null===Z.qy||void 0===Z.qy?void 0:Z.qy[0].uuid)?{block_type:null===W||void 0===W?void 0:W.uuid}:null,templateUUID:null===J||void 0===J?void 0:J.template_uuid}),t?(0,O.jsxs)(O.Fragment,{children:[M&&se,(0,O.jsx)(y.Rd,{height:fe,width:D,children:n})]}):n;var pe=(0,O.jsxs)(y.Nk,{children:[(0,O.jsxs)(y.bC,{height:t?fe:null,children:[(0,O.jsx)(y.Yf,{children:(0,O.jsx)(s.Z,{noPadding:!0,onClickTab:function(e){t?Y(e):(0,w.u)({object_type:Z.A2.uuid===e.uuid?a.R:a.Z})},selectedTabUUID:null===X||void 0===X?void 0:X.uuid,tabs:B})}),(0,O.jsxs)(y.wl,{contained:t,heightOffset:ae,children:[Z.n9.uuid===(null===X||void 0===X?void 0:X.uuid)&&oe,Z.A2.uuid===(null===X||void 0===X?void 0:X.uuid)&&le]})]}),(0,O.jsxs)(y.w5,{children:[Z.n9.uuid===(null===X||void 0===X?void 0:X.uuid)&&(0,O.jsx)(y.HS,{children:(0,O.jsx)(c.ZP,{beforeIcon:(0,O.jsx)(g.mm,{size:y.ZG}),onClick:function(){z(!0)},primary:!0,children:"New block template"})}),Z.n9.uuid===(null===X||void 0===X?void 0:X.uuid)&&(0,O.jsxs)(O.Fragment,{children:[!$&&(0,O.jsx)(h.Z,{p:2,children:(0,O.jsx)(m.Z,{inverted:!0})}),$&&!(null!==de&&void 0!==de&&de.length)&&(0,O.jsxs)(h.Z,{p:2,children:[(0,O.jsx)(b.ZP,{children:"There are currently no templates matching your search."}),(0,O.jsx)("br",{}),(0,O.jsx)(b.ZP,{children:"Add a new template by clicking the button above."})]}),(null===de||void 0===de?void 0:de.length)>=1&&(0,O.jsx)(y.n8,{children:de})]}),Z.A2.uuid===(null===X||void 0===X?void 0:X.uuid)&&(0,O.jsxs)(O.Fragment,{children:[!ie&&(0,O.jsx)(h.Z,{p:2,children:(0,O.jsx)(m.Z,{inverted:!0})}),ie&&!(null!==ce&&void 0!==ce&&ce.length)&&(0,O.jsxs)(h.Z,{p:2,children:[(0,O.jsx)(b.ZP,{children:"There are currently no templates matching your search."}),(0,O.jsx)("br",{}),(0,O.jsx)(b.ZP,{children:'Add a new template by right-clicking a pipeline row from the Pipelines page and selecting "Create template".'})]}),(null===ce||void 0===ce?void 0:ce.length)>=1&&(0,O.jsx)(y.n8,{children:ce})]})]})]});return t?(0,O.jsxs)(O.Fragment,{children:[M&&se,(0,O.jsx)(y.Rd,{height:fe,width:D,children:pe})]}):pe}},94629:function(e,n,t){"use strict";t.d(n,{Z:function(){return C}});var i=t(82394),r=t(21831),u=t(82684),o=t(50724),l=t(82555),d=t(97618),c=t(70613),s=t(31557),a=t(68899),f=t(28598);function p(e,n){var t=e.children,i=e.noPadding;return(0,f.jsx)(a.HS,{noPadding:i,ref:n,children:t})}var h=u.forwardRef(p),m=t(62547),v=t(82571),j=t(98464),b=t(77417),x=t(46684),g=t(70515),y=t(53808),Z=t(19183);function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?w(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function O(e,n){e.addProjectBreadcrumbToCustomBreadcrumbs;var t=e.after,i=e.afterHeader,p=e.afterHidden,w=e.afterWidth,O=e.afterWidthOverride,C=e.appendBreadcrumbs,k=e.before,_=e.beforeWidth,I=e.breadcrumbs,T=e.children,A=e.contained,M=e.errors,S=e.headerMenuItems,U=e.headerOffset,E=e.hideAfterCompletely,N=e.mainContainerHeader,R=e.navigationItems,D=e.setAfterHidden,B=e.setErrors,H=e.subheaderChildren,q=e.subheaderNoPadding,z=e.title,F=e.uuid,W=(0,Z.i)().width,L="dashboard_after_width_".concat(F),G="dashboard_before_width_".concat(F),X=(0,u.useRef)(null),Y=(0,u.useState)(O?w:(0,y.U2)(L,w)),V=Y[0],J=Y[1],K=(0,u.useState)(!1),Q=K[0],$=K[1],ee=(0,u.useState)(k?Math.max((0,y.U2)(G,_),13*g.iI):null),ne=ee[0],te=ee[1],ie=(0,u.useState)(!1),re=ie[0],ue=ie[1],oe=(0,u.useState)(null)[1],le=(0,b.Z)().project,de=[];I&&de.push.apply(de,(0,r.Z)(I)),null!==I&&void 0!==I&&I.length&&!C||!le||null!==I&&void 0!==I&&I.length||de.unshift({bold:!C,label:function(){return z}}),(0,u.useEffect)((function(){null===X||void 0===X||!X.current||Q||re||null===oe||void 0===oe||oe(X.current.getBoundingClientRect().width)}),[Q,V,re,ne,X,oe,W]),(0,u.useEffect)((function(){Q||(0,y.t8)(L,V)}),[p,Q,V,L]),(0,u.useEffect)((function(){re||(0,y.t8)(G,ne)}),[re,ne,G]);var ce=(0,j.Z)(w);return(0,u.useEffect)((function(){O&&ce!==w&&J(w)}),[O,w,ce]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(c.Z,{title:z}),(0,f.jsx)(s.Z,{breadcrumbs:de,menuItems:S}),(0,f.jsxs)(a.Nk,{ref:n,children:[0!==(null===R||void 0===R?void 0:R.length)&&(0,f.jsx)(a.lm,{showMore:!0,children:(0,f.jsx)(v.Z,{navigationItems:R,showMore:!0})}),(0,f.jsx)(d.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(m.Z,{after:t,afterHeader:i,afterHeightOffset:x.Mz,afterHidden:p,afterMousedownActive:Q,afterWidth:V,before:k,beforeHeightOffset:x.Mz,beforeMousedownActive:re,beforeWidth:a.k1+(k?ne:0),contained:A,headerOffset:U,hideAfterCompletely:!D||E,leftOffset:k?a.k1:null,mainContainerHeader:N,mainContainerRef:X,setAfterHidden:D,setAfterMousedownActive:$,setAfterWidth:J,setBeforeMousedownActive:ue,setBeforeWidth:te,children:[H&&(0,f.jsx)(h,{noPadding:q,children:H}),T]})})]}),M&&(0,f.jsx)(o.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===B||void 0===B?void 0:B(null)},children:(0,f.jsx)(l.Z,P(P({},M),{},{onClose:function(){return null===B||void 0===B?void 0:B(null)}}))})]})}var C=u.forwardRef(O)},48381:function(e,n,t){"use strict";var i=t(82684),r=t(31882),u=t(55485),o=t(30160),l=t(86735),d=t(28598);n.Z=function(e){var n=e.onClickTag,t=e.tags,c=void 0===t?[]:t,s=(0,i.useMemo)((function(){return(null===c||void 0===c?void 0:c.length)||0}),[c]),a=(0,i.useMemo)((function(){return(0,l.YC)(c||[],"uuid")}),[c]);return(0,d.jsx)(u.ZP,{alignItems:"center",flexWrap:"wrap",children:null===a||void 0===a?void 0:a.reduce((function(e,t){return e.push((0,d.jsx)("div",{style:{marginBottom:2,marginRight:s>=2?4:0,marginTop:2},children:(0,d.jsx)(r.Z,{onClick:n?function(){return n(t)}:null,small:!0,children:(0,d.jsx)(o.ZP,{children:t.uuid})})},"tag-".concat(t.uuid))),e}),[])})}},31882:function(e,n,t){"use strict";var i=t(38626),r=t(71180),u=t(55485),o=t(30160),l=t(44897),d=t(72473),c=t(70515),s=t(61896),a=t(28598),f=i.default.div.withConfig({displayName:"Chip__ChipStyle",componentId:"sc-1ok73g-0"})(["display:inline-block;"," "," "," "," "," ",""],(function(e){return!e.primary&&"\n background-color: ".concat((e.theme.background||l.Z.background).tag,";\n ")}),(function(e){return e.primary&&"\n background-color: ".concat((e.theme.chart||l.Z.chart).primary,";\n ")}),(function(e){return!e.small&&"\n border-radius: ".concat((c.iI+s.Al)/2,"px;\n height: ").concat(1.5*c.iI+s.Al,"px;\n padding: ").concat(c.iI/1.5,"px ").concat(1.25*c.iI,"px;\n ")}),(function(e){return e.small&&"\n border-radius: ".concat((c.iI/2+s.Al)/2,"px;\n height: ").concat(s.Al+c.iI/2+2,"px;\n padding: ").concat(c.iI/4,"px ").concat(c.iI,"px;\n ")}),(function(e){return e.xsmall&&"\n border-radius: ".concat((c.iI/1+s.Al)/1,"px;\n height: ").concat(20,"px;\n padding: 4px 6px;\n ")}),(function(e){return e.border&&"\n border: 1px solid ".concat((e.theme.content||l.Z.content).muted,";\n ")}));n.Z=function(e){var n=e.border,t=e.children,i=e.disabled,l=e.label,s=e.monospace,p=e.onClick,h=e.primary,m=e.small,v=e.xsmall;return(0,a.jsx)(f,{border:n,primary:h,small:m,xsmall:v,children:(0,a.jsx)(r.ZP,{basic:!0,disabled:i,noBackground:!0,noPadding:!0,onClick:p,transparent:!0,children:(0,a.jsxs)(u.ZP,{alignItems:"center",children:[t,l&&(0,a.jsx)(o.ZP,{monospace:s,small:m,xsmall:v,children:l}),!i&&p&&(0,a.jsx)("div",{style:{marginLeft:2}}),!i&&p&&(0,a.jsx)(d.x8,{default:h,muted:!h,size:m?c.iI:1.25*c.iI})]})})})}},60820:function(e,n,t){"use strict";t.r(n);var i=t(77837),r=t(38860),u=t.n(r),o=t(82684),l=t(60523),d=t(94629),c=t(93808),s=t(32929),a=t(44898),f=t(69419),p=t(28598);function h(){var e=(0,o.useState)(!1),n=e[0],t=e[1],i=(0,o.useState)(null),r=i[0],u=i[1],c=(0,o.useState)(null),h=c[0],m=c[1],v=(0,f.iV)();(0,o.useEffect)((function(){var e=v.new,n=v.object_type,i=v.pipeline_uuid;n&&u(n),i&&m(i),t(!!e)}),[v]);var j=(0,o.useMemo)((function(){var e=[n?"New":"Browse"];return r&&e.push(r),h&&e.push(h),e}),[n,r,h]),b=(0,o.useMemo)((function(){return a.R===r}),[r]);return(0,p.jsx)(d.Z,{addProjectBreadcrumbToCustomBreadcrumbs:n,breadcrumbs:n?[{label:function(){return"Templates"},linkProps:{href:b?"/templates?object_type=".concat(a.R):"/templates"}},{bold:!0,label:function(){return"New"}}]:null,title:"Templates",uuid:"Templates/index",children:(0,p.jsx)(l.Z,{defaultTab:b?s.A2:null,objectType:r,pipelineUUID:h,showAddingNewTemplates:n},j.join("_"))})}h.getInitialProps=(0,i.Z)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),n.default=(0,c.Z)(h)},87710:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/templates",function(){return t(60820)}])}},function(e){e.O(0,[2678,1154,844,5820,6639,1124,1751,341,1821,874,1557,8264,7858,5499,5283,3745,5810,3859,2646,8998,3004,9264,9774,2888,179],(function(){return n=87710,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4841],{94629:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(82394),i=r(21831),o=r(82684),u=r(50724),c=r(82555),s=r(97618),f=r(70613),a=r(31557),d=r(68899),l=r(28598);function h(e,t){var r=e.children,n=e.noPadding;return(0,l.jsx)(d.HS,{noPadding:n,ref:t,children:r})}var b=o.forwardRef(h),p=r(62547),v=r(82571),O=r(98464),j=r(77417),m=r(46684),w=r(70515),g=r(53808),y=r(19183);function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e,t){e.addProjectBreadcrumbToCustomBreadcrumbs;var r=e.after,n=e.afterHeader,h=e.afterHidden,_=e.afterWidth,P=e.afterWidthOverride,x=e.appendBreadcrumbs,E=e.before,M=e.beforeWidth,C=e.breadcrumbs,k=e.children,H=e.contained,A=e.errors,S=e.headerMenuItems,R=e.headerOffset,I=e.hideAfterCompletely,N=e.mainContainerHeader,W=e.navigationItems,B=e.setAfterHidden,D=e.setErrors,T=e.subheaderChildren,z=e.subheaderNoPadding,U=e.title,X=e.uuid,q=(0,y.i)().width,F="dashboard_after_width_".concat(X),G="dashboard_before_width_".concat(X),J=(0,o.useRef)(null),K=(0,o.useState)(P?_:(0,g.U2)(F,_)),L=K[0],Q=K[1],V=(0,o.useState)(!1),Y=V[0],$=V[1],ee=(0,o.useState)(E?Math.max((0,g.U2)(G,M),13*w.iI):null),te=ee[0],re=ee[1],ne=(0,o.useState)(!1),ie=ne[0],oe=ne[1],ue=(0,o.useState)(null)[1],ce=(0,j.Z)().project,se=[];C&&se.push.apply(se,(0,i.Z)(C)),null!==C&&void 0!==C&&C.length&&!x||!ce||null!==C&&void 0!==C&&C.length||se.unshift({bold:!x,label:function(){return U}}),(0,o.useEffect)((function(){null===J||void 0===J||!J.current||Y||ie||null===ue||void 0===ue||ue(J.current.getBoundingClientRect().width)}),[Y,L,ie,te,J,ue,q]),(0,o.useEffect)((function(){Y||(0,g.t8)(F,L)}),[h,Y,L,F]),(0,o.useEffect)((function(){ie||(0,g.t8)(G,te)}),[ie,te,G]);var fe=(0,O.Z)(_);return(0,o.useEffect)((function(){P&&fe!==_&&Q(_)}),[P,_,fe]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.Z,{title:U}),(0,l.jsx)(a.Z,{breadcrumbs:se,menuItems:S}),(0,l.jsxs)(d.Nk,{ref:t,children:[0!==(null===W||void 0===W?void 0:W.length)&&(0,l.jsx)(d.lm,{showMore:!0,children:(0,l.jsx)(v.Z,{navigationItems:W,showMore:!0})}),(0,l.jsx)(s.Z,{flex:1,flexDirection:"column",children:(0,l.jsxs)(p.Z,{after:r,afterHeader:n,afterHeightOffset:m.Mz,afterHidden:h,afterMousedownActive:Y,afterWidth:L,before:E,beforeHeightOffset:m.Mz,beforeMousedownActive:ie,beforeWidth:d.k1+(E?te:0),contained:H,headerOffset:R,hideAfterCompletely:!B||I,leftOffset:E?d.k1:null,mainContainerHeader:N,mainContainerRef:J,setAfterHidden:B,setAfterMousedownActive:$,setAfterWidth:Q,setBeforeMousedownActive:oe,setBeforeWidth:re,children:[T&&(0,l.jsx)(b,{noPadding:z,children:T}),k]})})]}),A&&(0,l.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===D||void 0===D?void 0:D(null)},children:(0,l.jsx)(c.Z,Z(Z({},A),{},{onClose:function(){return null===D||void 0===D?void 0:D(null)}}))})]})}var x=o.forwardRef(P)},74805:function(e,t,r){"use strict";r.r(t);var n=r(77837),i=r(38860),o=r.n(i),u=(r(82684),r(56085)),c=r(94629),s=r(93808),f=r(28026),a=r(4383),d=r(50178),l=r(28598);function h(){var e=(0,d.PR)()||{},t=(0,u.ZP)((0,a.Ib)("terminal"),{queryParams:{term_name:null===e||void 0===e?void 0:e.id},shouldReconnect:function(){return!0}}),r=t.lastMessage,n=t.sendMessage;return(0,l.jsx)(c.Z,{title:"Terminal",uuid:"terminal/index",children:(0,l.jsx)(f.Z,{lastMessage:r,sendMessage:n})})}h.getInitialProps=(0,n.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),t.default=(0,s.Z)(h)},27271:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/terminal",function(){return r(74805)}])},80022:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,{Z:function(){return n}})},15544:function(e,t,r){"use strict";function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}r.d(t,{Z:function(){return n}})},13692:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(61049);function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,n.Z)(e,t)}},93189:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(12539),i=r(80022);function o(e,t){if(t&&("object"===n(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},61049:function(e,t,r){"use strict";function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}r.d(t,{Z:function(){return n}})}},function(e){e.O(0,[2678,1154,844,874,1557,8264,9774,2888,179],(function(){return t=27271,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
|
mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/test-59a08e06f4ef6c3a.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5378],{82359:function(e,n,t){"use strict";var o,r;t.d(n,{d:function(){return o},k:function(){return r}}),function(e){e.ADD_NEW_BLOCK_V2="add_new_block_v2",e.COMPUTE_MANAGEMENT="compute_management",e.CUSTOM_DESIGN="custom_design",e.DATA_INTEGRATION_IN_BATCH_PIPELINE="data_integration_in_batch_pipeline",e.DBT_V2="dbt_v2",e.GLOBAL_HOOKS="global_hooks",e.INTERACTIONS="interactions",e.NOTEBOOK_BLOCK_OUTPUT_SPLIT_VIEW="notebook_block_output_split_view",e.LOCAL_TIMEZONE="display_local_timezone",e.OPERATION_HISTORY="operation_history",e.PROJECT_PLATFORM="project_platform"}(o||(o={})),function(e){e.DBT="dbt",e.MAIN="main",e.STANDALONE="standalone",e.SUB="sub"}(r||(r={}))},8025:function(e,n,t){"use strict";t.r(n);var o=t(58401),r=t(28598);n.default=function(){var e=(0,o.Z)().designs;return console.log(e),(0,r.jsx)("div",{})}},58401:function(e,n,t){"use strict";var o=t(82684),r=t(34376),u=t(35686),i=t(77417),a=t(42122);n.Z=function(e){var n,t=e||{operation:null,pageType:null,pageUUID:null,resource:null,resourceID:null,resourceParent:null,resourceParentID:null,useProjectData:null},l=t.operation,c=t.pageType,s=t.pageUUID,_=t.resource,d=t.resourceID,p=t.resourceParent,v=t.resourceParentID,f=t.useProjectData,E=(0,i.Z)({pauseFetch:!!f}),O=(0,o.useMemo)((function(){return"undefined"!==typeof f&&null!==f?f:E}),[f,E])||{featureEnabled:null,featureUUIDs:null,project:null},T=O.featureEnabled,g=O.featureUUIDs,I=O.project,P=(0,o.useMemo)((function(){return T&&g&&I&&(null===T||void 0===T?void 0:T(null===g||void 0===g?void 0:g.CUSTOM_DESIGN))}),[T,g,I]),N=(0,r.useRouter)(),h=null===N||void 0===N?void 0:N.asPath,m=null===N||void 0===N||null===(n=N.pathname)||void 0===n?void 0:n.replace(/^\/{1}/i,""),D=null===N||void 0===N?void 0:N.query,j=u.ZP.custom_designs.detail(encodeURIComponent(m),(0,a.hB)({operation:l,page_path:encodeURIComponent(h),page_query:D?JSON.stringify(D||""):null,page_type:c,page_uuid:s,resource:_,resource_id:d,resource_parent:p,resource_parent_id:v}),{},{pauseFetch:!P}),U=j.data,A=j.mutate;return{design:(0,o.useMemo)((function(){return(null===U||void 0===U?void 0:U.custom_design)||[]}),[U]),fetchDesign:A,router:N,routerDetails:{asPath:h,pathname:m,query:D}}}},77417:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var o=t(82684),r=t(82359),u=t(35686);function i(e,n){var t;return!(null===e||void 0===e||null===(t=e.features)||void 0===t||!t[n])}var a=function(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{pauseFetch:!1},a=t.pauseFetch,l=u.ZP.projects.list({},{revalidateOnFocus:!1},{pauseFetch:a}),c=l.data,s=l.mutate,_=(0,o.useMemo)((function(){var e,n,t;return null===(e=(null===c||void 0===c?void 0:c.projects)||[])||void 0===e||e.forEach((function(e){n&&t||(null!==e&&void 0!==e&&e.root_project?t||(t=e):n||(n=e))})),t&&!n&&(n=t,t=null),{project:n,rootProject:t}}),[c]),d=_.project,p=_.rootProject,v=i(d,r.d.COMPUTE_MANAGEMENT);return{featureEnabled:function(e){return i(d,e)},featureUUIDs:r.d,fetchProjects:s,project:d,projectPlatformActivated:(null===d||void 0===d?void 0:d.name)!==(null===p||void 0===p?void 0:p.name),rootProject:p,sparkEnabled:v&&(d.spark_config||d.emr_config)&&((null===(e=Object.keys(d.spark_config||{}))||void 0===e?void 0:e.length)>=1||(null===(n=Object.keys(d.emr_config||{}))||void 0===n?void 0:n.length)>=1)}}},91185:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/test",function(){return t(8025)}])}},function(e){e.O(0,[9774,2888,179],(function(){return n=91185,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[585],{94629:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var r=t(82394),i=t(21831),o=t(82684),u=t(50724),c=t(82555),l=t(97618),a=t(70613),s=t(31557),d=t(68899),f=t(28598);function p(e,n){var t=e.children,r=e.noPadding;return(0,f.jsx)(d.HS,{noPadding:r,ref:n,children:t})}var h=o.forwardRef(p),v=t(62547),m=t(82571),g=t(98464),b=t(77417),O=t(46684),j=t(70515),x=t(53808),P=t(19183);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}function E(e,n){e.addProjectBreadcrumbToCustomBreadcrumbs;var t=e.after,r=e.afterHeader,p=e.afterHidden,y=e.afterWidth,E=e.afterWidthOverride,w=e.appendBreadcrumbs,_=e.before,A=e.beforeWidth,I=e.breadcrumbs,T=e.children,k=e.contained,C=e.errors,N=e.headerMenuItems,S=e.headerOffset,M=e.hideAfterCompletely,D=e.mainContainerHeader,R=e.navigationItems,H=e.setAfterHidden,U=e.setErrors,L=e.subheaderChildren,Y=e.subheaderNoPadding,V=e.title,B=e.uuid,W=(0,P.i)().width,X="dashboard_after_width_".concat(B),z="dashboard_before_width_".concat(B),F=(0,o.useRef)(null),J=(0,o.useState)(E?y:(0,x.U2)(X,y)),Q=J[0],K=J[1],q=(0,o.useState)(!1),G=q[0],$=q[1],ee=(0,o.useState)(_?Math.max((0,x.U2)(z,A),13*j.iI):null),ne=ee[0],te=ee[1],re=(0,o.useState)(!1),ie=re[0],oe=re[1],ue=(0,o.useState)(null)[1],ce=(0,b.Z)().project,le=[];I&&le.push.apply(le,(0,i.Z)(I)),null!==I&&void 0!==I&&I.length&&!w||!ce||null!==I&&void 0!==I&&I.length||le.unshift({bold:!w,label:function(){return V}}),(0,o.useEffect)((function(){null===F||void 0===F||!F.current||G||ie||null===ue||void 0===ue||ue(F.current.getBoundingClientRect().width)}),[G,Q,ie,ne,F,ue,W]),(0,o.useEffect)((function(){G||(0,x.t8)(X,Q)}),[p,G,Q,X]),(0,o.useEffect)((function(){ie||(0,x.t8)(z,ne)}),[ie,ne,z]);var ae=(0,g.Z)(y);return(0,o.useEffect)((function(){E&&ae!==y&&K(y)}),[E,y,ae]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(a.Z,{title:V}),(0,f.jsx)(s.Z,{breadcrumbs:le,menuItems:N}),(0,f.jsxs)(d.Nk,{ref:n,children:[0!==(null===R||void 0===R?void 0:R.length)&&(0,f.jsx)(d.lm,{showMore:!0,children:(0,f.jsx)(m.Z,{navigationItems:R,showMore:!0})}),(0,f.jsx)(l.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(v.Z,{after:t,afterHeader:r,afterHeightOffset:O.Mz,afterHidden:p,afterMousedownActive:G,afterWidth:Q,before:_,beforeHeightOffset:O.Mz,beforeMousedownActive:ie,beforeWidth:d.k1+(_?ne:0),contained:k,headerOffset:S,hideAfterCompletely:!H||M,leftOffset:_?d.k1:null,mainContainerHeader:D,mainContainerRef:F,setAfterHidden:H,setAfterMousedownActive:$,setAfterWidth:K,setBeforeMousedownActive:oe,setBeforeWidth:te,children:[L&&(0,f.jsx)(h,{noPadding:Y,children:L}),T]})})]}),C&&(0,f.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===U||void 0===U?void 0:U(null)},children:(0,f.jsx)(c.Z,Z(Z({},C),{},{onClose:function(){return null===U||void 0===U?void 0:U(null)}}))})]})}var w=o.forwardRef(E)},48381:function(e,n,t){"use strict";var r=t(82684),i=t(31882),o=t(55485),u=t(30160),c=t(86735),l=t(28598);n.Z=function(e){var n=e.onClickTag,t=e.tags,a=void 0===t?[]:t,s=(0,r.useMemo)((function(){return(null===a||void 0===a?void 0:a.length)||0}),[a]),d=(0,r.useMemo)((function(){return(0,c.YC)(a||[],"uuid")}),[a]);return(0,l.jsx)(o.ZP,{alignItems:"center",flexWrap:"wrap",children:null===d||void 0===d?void 0:d.reduce((function(e,t){return e.push((0,l.jsx)("div",{style:{marginBottom:2,marginRight:s>=2?4:0,marginTop:2},children:(0,l.jsx)(i.Z,{onClick:n?function(){return n(t)}:null,small:!0,children:(0,l.jsx)(u.ZP,{children:t.uuid})})},"tag-".concat(t.uuid))),e}),[])})}},16488:function(e,n,t){"use strict";t.d(n,{IJ:function(){return v},M8:function(){return E},Uc:function(){return j},XM:function(){return Z},_U:function(){return h},eI:function(){return O},gU:function(){return P},lO:function(){return T},ri:function(){return g},tL:function(){return x},vJ:function(){return y},xH:function(){return b}});var r,i=t(82394),o=t(92083),u=t.n(o),c=t(3917),l=t(4383),a=t(30229),s=t(42122),d=t(86735);function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h=function(e){return!!e&&!Object.values(a.U5).includes(e)};function v(e){return null===e||void 0===e?void 0:e.reduce((function(e,n){var t=n.block_uuid,r=n.completed_at,o=n.started_at,c=n.status,l=null;o&&r&&(l=u()(r).valueOf()-u()(o).valueOf());return p(p({},e),{},(0,i.Z)({},t,{runtime:l,status:c}))}),{})}var m,g=function(e){var n=[{description:function(){return"This pipeline will run continuously on an interval or just once."},label:function(){return"Schedule"},uuid:a.Xm.TIME},{description:function(){return"This pipeline will run when a specific event occurs."},label:function(){return"Event"},uuid:a.Xm.EVENT},{description:function(){return"Run this pipeline when you make an API call."},label:function(){return"API"},uuid:a.Xm.API}];return e?n.slice(0,1):n};function b(e){var n=(0,s.gR)(e,[a.gm.INTERVAL,a.gm.TYPE]),t=e[a.gm.INTERVAL];t&&(n["schedule_interval[]"]=encodeURIComponent(t));var r=e[a.gm.TYPE];return r&&(n["schedule_type[]"]=r),n}function O(e){return e?new Date(u()(e).valueOf()):null}function j(e,n){return n?(0,c.XG)(e,n):function(e){if("string"!==typeof e)return e;var n=e.split("+")[0];return u()(O(n)).format(c.Nx)}(e)}!function(e){e.DAY="day",e.HOUR="hour",e.MINUTE="minute",e.SECOND="second"}(m||(m={}));var x=(r={},(0,i.Z)(r,m.DAY,86400),(0,i.Z)(r,m.HOUR,3600),(0,i.Z)(r,m.MINUTE,60),(0,i.Z)(r,m.SECOND,1),r);function P(e){var n=m.SECOND,t=e;return e%86400===0?(t/=86400,n=m.DAY):e%3600===0?(t/=3600,n=m.HOUR):e%60===0&&(t/=60,n=m.MINUTE),{time:t,unit:n}}function y(e,n){return e*x[n]}function Z(e,n,t){var r,i=u()(e);return i.set("hour",+(null===n||void 0===n?void 0:n.hour)||0),i.set("minute",+(null===n||void 0===n?void 0:n.minute)||0),i.set("second",0),r=i.format(c.TD),null!==t&&void 0!==t&&t.includeSeconds&&(r=r.concat(":00")),null!==t&&void 0!==t&&t.localTimezone&&(r=i.format(c.lE),null!==t&&void 0!==t&&t.convertToUtc&&(r=(0,c.d$)(r,{includeSeconds:null===t||void 0===t?void 0:t.includeSeconds,utcFormat:!0}))),r}function E(e){var n,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="",i=!0;return i&&(t?r="".concat(window.origin,"/api/pipeline_schedules/").concat(null===e||void 0===e?void 0:e.id,"/api_trigger"):(r="".concat(window.origin,"/api/pipeline_schedules/").concat(null===e||void 0===e?void 0:e.id,"/pipeline_runs"),null!==e&&void 0!==e&&e.token&&(r="".concat(r,"/").concat(e.token)))),i&&(n=window.location.port)&&(r=r.replace(n,l.QT)),r}function w(e,n,t){return e.match(/[*,-/]/)?{additionalOffset:0,cronValue:e}:function(e,n,t){var r=t.indexOf(e),i=0;if(n<0)for(var o=0;o>n;o--)0===r?(r=t.length-1,i-=1):r-=1;else if(n>0)for(var u=0;u<n;u++)r===t.length-1?(r=0,i+=1):r+=1;return{additionalOffset:i,cronValue:String(t[r]||e)}}(+e,n,t)}var _=(0,d.m5)(60),A=(0,d.m5)(24),I=(0,c.Cs)();function T(e,n){if(!e)return e;var t=u()().local().format("Z"),r=t.split(":"),i="-"===t[0],o=3===r[0].length?Number(r[0].slice(1)):Number(r[0]),c=Number(r[1]);(i&&!n||!i&&n)&&(o=-o,c=-c);var l=e.split(" "),a=l[0],s=l[1],d=l[2],f=w(a,c,_),p=w(s,o+f.additionalOffset,A);if(l[0]=f.cronValue,l[1]=p.cronValue,0!==(null===p||void 0===p?void 0:p.additionalOffset)){var h=w(d,p.additionalOffset,I);l[2]=h.cronValue}return l.join(" ")}},55072:function(e,n,t){"use strict";t.d(n,{Et:function(){return f},Q:function(){return d}});t(82684);var r=t(71180),i=t(55485),o=t(38276),u=t(31748),c=t(72473),l=t(79633),a=t(70515),s=t(28598),d=30,f=9;n.ZP=function(e){var n=e.page,t=e.maxPages,d=e.onUpdate,f=e.totalPages,p=[],h=t;if(h>f)p=Array.from({length:f},(function(e,n){return n}));else{var v=Math.floor(h/2),m=n-v;n+v>=f?(m=f-h+2,h-=2):n-v<=0?(m=0,h-=2):(h-=4,m=n-Math.floor(h/2)),p=Array.from({length:h},(function(e,n){return n+m}))}return(0,s.jsx)(s.Fragment,{children:f>0&&(0,s.jsxs)(i.ZP,{alignItems:"center",children:[(0,s.jsx)(r.ZP,{disabled:0===n,onClick:function(){return d(n-1)},children:(0,s.jsx)(c.Hd,{size:1.5*a.iI,stroke:u.Av})}),!p.includes(0)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{borderLess:!0,noBackground:!0,onClick:function(){return d(0)},children:1})},0),!p.includes(1)&&(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{noBackground:!0,noPadding:!0,notClickable:!0,children:"..."})},0)]}),p.map((function(e){return(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{backgroundColor:e===n&&l.a$,borderLess:!0,noBackground:!0,notClickable:e===n,onClick:function(){e!==n&&d(e)},children:e+1})},e)})),!p.includes(f-1)&&(0,s.jsxs)(s.Fragment,{children:[!p.includes(f-2)&&(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{noBackground:!0,noPadding:!0,notClickable:!0,children:"..."})},0),(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{borderLess:!0,noBackground:!0,onClick:function(){return d(f-1)},children:f})},f-1)]}),(0,s.jsx)(o.Z,{ml:1}),(0,s.jsx)(r.ZP,{disabled:n===f-1,onClick:function(){return d(n+1)},children:(0,s.jsx)(c.Kw,{size:1.5*a.iI,stroke:u.Av})})]})})}},30229:function(e,n,t){"use strict";t.d(n,{PN:function(){return c},TR:function(){return h},U5:function(){return a},Wb:function(){return p},Xm:function(){return o},Z4:function(){return s},fq:function(){return l},gm:function(){return d},kJ:function(){return f}});var r,i,o,u=t(82394),c="__bookmark_values__";!function(e){e.API="api",e.EVENT="event",e.TIME="time"}(o||(o={}));var l,a,s=(r={},(0,u.Z)(r,o.API,(function(){return"API"})),(0,u.Z)(r,o.EVENT,(function(){return"event"})),(0,u.Z)(r,o.TIME,(function(){return"schedule"})),r);!function(e){e.ACTIVE="active",e.INACTIVE="inactive"}(l||(l={})),function(e){e.ONCE="@once",e.HOURLY="@hourly",e.DAILY="@daily",e.WEEKLY="@weekly",e.MONTHLY="@monthly",e.ALWAYS_ON="@always_on"}(a||(a={}));var d,f,p=[a.ONCE,a.HOURLY,a.DAILY,a.WEEKLY,a.MONTHLY];!function(e){e.INTERVAL="frequency[]",e.STATUS="status[]",e.TAG="tag[]",e.TYPE="type[]"}(d||(d={})),function(e){e.CREATED_AT="created_at",e.NAME="name",e.PIPELINE="pipeline_uuid",e.STATUS="status",e.TYPE="schedule_type"}(f||(f={}));var h=(i={},(0,u.Z)(i,f.CREATED_AT,"Created at"),(0,u.Z)(i,f.NAME,"Name"),(0,u.Z)(i,f.PIPELINE,"Pipeline"),(0,u.Z)(i,f.STATUS,"Active"),(0,u.Z)(i,f.TYPE,"Type"),i)},31882:function(e,n,t){"use strict";var r=t(38626),i=t(71180),o=t(55485),u=t(30160),c=t(44897),l=t(72473),a=t(70515),s=t(61896),d=t(28598),f=r.default.div.withConfig({displayName:"Chip__ChipStyle",componentId:"sc-1ok73g-0"})(["display:inline-block;"," "," "," "," "," ",""],(function(e){return!e.primary&&"\n background-color: ".concat((e.theme.background||c.Z.background).tag,";\n ")}),(function(e){return e.primary&&"\n background-color: ".concat((e.theme.chart||c.Z.chart).primary,";\n ")}),(function(e){return!e.small&&"\n border-radius: ".concat((a.iI+s.Al)/2,"px;\n height: ").concat(1.5*a.iI+s.Al,"px;\n padding: ").concat(a.iI/1.5,"px ").concat(1.25*a.iI,"px;\n ")}),(function(e){return e.small&&"\n border-radius: ".concat((a.iI/2+s.Al)/2,"px;\n height: ").concat(s.Al+a.iI/2+2,"px;\n padding: ").concat(a.iI/4,"px ").concat(a.iI,"px;\n ")}),(function(e){return e.xsmall&&"\n border-radius: ".concat((a.iI/1+s.Al)/1,"px;\n height: ").concat(20,"px;\n padding: 4px 6px;\n ")}),(function(e){return e.border&&"\n border: 1px solid ".concat((e.theme.content||c.Z.content).muted,";\n ")}));n.Z=function(e){var n=e.border,t=e.children,r=e.disabled,c=e.label,s=e.monospace,p=e.onClick,h=e.primary,v=e.small,m=e.xsmall;return(0,d.jsx)(f,{border:n,primary:h,small:v,xsmall:m,children:(0,d.jsx)(i.ZP,{basic:!0,disabled:r,noBackground:!0,noPadding:!0,onClick:p,transparent:!0,children:(0,d.jsxs)(o.ZP,{alignItems:"center",children:[t,c&&(0,d.jsx)(u.ZP,{monospace:s,small:v,xsmall:m,children:c}),!r&&p&&(0,d.jsx)("div",{style:{marginLeft:2}}),!r&&p&&(0,d.jsx)(l.x8,{default:h,muted:!h,size:v?a.iI:1.25*a.iI})]})})})}},77174:function(e,n,t){"use strict";t.r(n);var r=t(77837),i=t(82394),o=t(75582),u=t(38860),c=t.n(u),l=t(82684),a=t(34376),s=t(94629),d=t(55485),f=t(55072),p=t(93808),h=t(82359),v=t(44085),m=t(38276),g=t(30160),b=t(29624),O=t(35686),j=t(30229),x=t(70515),P=t(15610),y=t(69419),Z=t(70320),E=t(28598);function w(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?w(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function A(){var e=(0,a.useRouter)(),n=(0,l.useState)(null),t=n[0],r=n[1],i=(0,y.iV)(),u=null!==i&&void 0!==i&&i.page?i.page:0,c=(null===i||void 0===i?void 0:i.order_by)||j.kJ.CREATED_AT,p=O.ZP.projects.list().data,w=(0,l.useMemo)((function(){var e;return null===p||void 0===p||null===(e=p.projects)||void 0===e?void 0:e[0]}),[p]),A=((0,l.useMemo)((function(){var e;return(0,Z.hY)(null===w||void 0===w||null===(e=w.features)||void 0===e?void 0:e[h.d.LOCAL_TIMEZONE])}),[null===w||void 0===w?void 0:w.features]),{_limit:f.Q,_offset:u*f.Q,order_by:c}),I=O.ZP.pipeline_schedules.list(A,{refreshInterval:7500,revalidateOnFocus:!0}),T=I.data,k=I.mutate,C=(0,l.useMemo)((function(){return(null===T||void 0===T?void 0:T.pipeline_schedules)||[]}),[T]),N=(0,l.useMemo)((function(){var e;return(null===T||void 0===T||null===(e=T.metadata)||void 0===e?void 0:e.count)||[]}),[T]);return(0,E.jsxs)(s.Z,{errors:t,setErrors:r,title:"Triggers",uuid:"triggers/index",children:[(0,E.jsx)(m.Z,{mx:2,my:1,children:(0,E.jsxs)(d.ZP,{alignItems:"center",children:[(0,E.jsx)(g.ZP,{bold:!0,default:!0,large:!0,children:"Sort runs by:"}),(0,E.jsx)(m.Z,{mr:1}),(0,E.jsx)(v.Z,{compact:!0,defaultColor:!0,fitContent:!0,onChange:function(e){e.preventDefault(),(0,P.u)({order_by:e.target.value,page:0})},paddingRight:4*x.iI,placeholder:"Select column",value:c||j.kJ.CREATED_AT,children:Object.entries(j.TR).map((function(e){var n=(0,o.Z)(e,2),t=n[0],r=n[1];return(0,E.jsx)("option",{value:t,children:r},t)}))})]})}),(0,E.jsx)(b.Z,{fetchPipelineSchedules:k,highlightRowOnHover:!0,includeCreatedAtColumn:!0,includePipelineColumn:!0,pipelineSchedules:C,setErrors:r,stickyHeader:!0}),(0,E.jsx)(m.Z,{p:2,children:(0,E.jsx)(f.ZP,{maxPages:9,onUpdate:function(n){var t=Number(n),r=_(_({},i),{},{page:t>=0?t:0});e.push("/triggers","/triggers?".concat((0,y.uM)(r)))},page:Number(u),totalPages:Math.ceil(N/f.Q)})})]})}A.getInitialProps=(0,r.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),n.default=(0,p.Z)(A)},59733:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/triggers",function(){return t(77174)}])},80022:function(e,n,t){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},15544:function(e,n,t){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},13692:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(61049);function i(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&(0,r.Z)(e,n)}},93189:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(12539),i=t(80022);function o(e,n){if(n&&("object"===r(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},61049:function(e,n,t){"use strict";function r(e,n){return r=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},r(e,n)}t.d(n,{Z:function(){return r}})}},function(e){e.O(0,[2678,1154,844,874,1557,8264,7858,5499,9624,9774,2888,179],(function(){return n=59733,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2858],{94629:function(e,n,r){"use strict";r.d(n,{Z:function(){return y}});var t=r(82394),o=r(21831),i=r(82684),l=r(50724),c=r(82555),s=r(97618),d=r(70613),a=r(31557),u=r(68899),h=r(28598);function f(e,n){var r=e.children,t=e.noPadding;return(0,h.jsx)(u.HS,{noPadding:t,ref:n,children:r})}var m=i.forwardRef(f),v=r(62547),x=r(82571),g=r(98464),b=r(77417),p=r(46684),j=r(70515),Z=r(53808),C=r(19183);function w(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){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?w(Object(r),!0).forEach((function(n){(0,t.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}function P(e,n){e.addProjectBreadcrumbToCustomBreadcrumbs;var r=e.after,t=e.afterHeader,f=e.afterHidden,w=e.afterWidth,P=e.afterWidthOverride,y=e.appendBreadcrumbs,k=e.before,I=e.beforeWidth,S=e.breadcrumbs,O=e.children,E=e.contained,H=e.errors,M=e.headerMenuItems,B=e.headerOffset,T=e.hideAfterCompletely,A=e.mainContainerHeader,N=e.navigationItems,D=e.setAfterHidden,R=e.setErrors,V=e.subheaderChildren,L=e.subheaderNoPadding,F=e.title,U=e.uuid,G=(0,C.i)().width,W="dashboard_after_width_".concat(U),q="dashboard_before_width_".concat(U),z=(0,i.useRef)(null),K=(0,i.useState)(P?w:(0,Z.U2)(W,w)),Q=K[0],X=K[1],Y=(0,i.useState)(!1),J=Y[0],$=Y[1],ee=(0,i.useState)(k?Math.max((0,Z.U2)(q,I),13*j.iI):null),ne=ee[0],re=ee[1],te=(0,i.useState)(!1),oe=te[0],ie=te[1],le=(0,i.useState)(null)[1],ce=(0,b.Z)().project,se=[];S&&se.push.apply(se,(0,o.Z)(S)),null!==S&&void 0!==S&&S.length&&!y||!ce||null!==S&&void 0!==S&&S.length||se.unshift({bold:!y,label:function(){return F}}),(0,i.useEffect)((function(){null===z||void 0===z||!z.current||J||oe||null===le||void 0===le||le(z.current.getBoundingClientRect().width)}),[J,Q,oe,ne,z,le,G]),(0,i.useEffect)((function(){J||(0,Z.t8)(W,Q)}),[f,J,Q,W]),(0,i.useEffect)((function(){oe||(0,Z.t8)(q,ne)}),[oe,ne,q]);var de=(0,g.Z)(w);return(0,i.useEffect)((function(){P&&de!==w&&X(w)}),[P,w,de]),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(d.Z,{title:F}),(0,h.jsx)(a.Z,{breadcrumbs:se,menuItems:M}),(0,h.jsxs)(u.Nk,{ref:n,children:[0!==(null===N||void 0===N?void 0:N.length)&&(0,h.jsx)(u.lm,{showMore:!0,children:(0,h.jsx)(x.Z,{navigationItems:N,showMore:!0})}),(0,h.jsx)(s.Z,{flex:1,flexDirection:"column",children:(0,h.jsxs)(v.Z,{after:r,afterHeader:t,afterHeightOffset:p.Mz,afterHidden:f,afterMousedownActive:J,afterWidth:Q,before:k,beforeHeightOffset:p.Mz,beforeMousedownActive:oe,beforeWidth:u.k1+(k?ne:0),contained:E,headerOffset:B,hideAfterCompletely:!D||T,leftOffset:k?u.k1:null,mainContainerHeader:A,mainContainerRef:z,setAfterHidden:D,setAfterMousedownActive:$,setAfterWidth:X,setBeforeMousedownActive:ie,setBeforeWidth:re,children:[V&&(0,h.jsx)(m,{noPadding:L,children:V}),O]})})]}),H&&(0,h.jsx)(l.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===R||void 0===R?void 0:R(null)},children:(0,h.jsx)(c.Z,_(_({},H),{},{onClose:function(){return null===R||void 0===R?void 0:R(null)}}))})]})}var y=i.forwardRef(P)},85385:function(e,n,r){"use strict";r.d(n,{Qq:function(){return m},Z7:function(){return v},cH:function(){return o},du:function(){return h},fp:function(){return u},j5:function(){return f},uM:function(){return a}});var t,o,i=r(82394),l=r(57653),c=r(82359),s=r(72473),d=r(86735),a="sideview",u=90;!function(e){e.ADDON_BLOCKS="addon_blocks",e.BLOCK_SETTINGS="block_settings",e.CALLBACKS="callbacks",e.CHARTS="charts",e.DATA="data",e.EXTENSIONS="power_ups",e.FILES="files",e.FILE_VERSIONS="file_versions",e.GRAPHS="graphs",e.INTERACTIONS="interactions",e.REPORTS="reports",e.SECRETS="secrets",e.SETTINGS="settings",e.TERMINAL="terminal",e.TREE="tree",e.VARIABLES="variables"}(o||(o={}));o.BLOCK_SETTINGS,o.CALLBACKS,o.CHARTS,o.DATA,o.EXTENSIONS,o.TREE;var h=[o.DATA];function f(e){var n,r,t,i=[{key:o.TREE,label:"Tree"},{buildLabel:function(e){var n=(e.pipeline||{}).widgets,r=void 0===n?[]:n;return(null===r||void 0===r?void 0:r.length)>=1?"Charts (".concat(r.length,")"):"Charts"},key:o.CHARTS},{buildLabel:function(e){var n=e.variables;return(null===n||void 0===n?void 0:n.length)>=1?"Variables (".concat(n.length,")"):"Variables"},key:o.VARIABLES},{buildLabel:function(e){var n=e.secrets;return(null===n||void 0===n?void 0:n.length)>=1?"Secrets (".concat(n.length,")"):"Secrets"},key:o.SECRETS}];return l.qL.PYSPARK!==(null===e||void 0===e||null===(n=e.pipeline)||void 0===n?void 0:n.type)&&i.push.apply(i,[{buildLabel:function(e){e.pipeline;return"Add-on blocks"},key:o.ADDON_BLOCKS},{buildLabel:function(e){var n=(e.pipeline||{}).extensions,r=void 0===n?{}:n,t=0;return Object.values(r).forEach((function(e){var n=e.blocks;t+=(null===n||void 0===n?void 0:n.length)||0})),t>=1?"Power ups (".concat(t,")"):"Power ups"},key:o.EXTENSIONS}]),i.push.apply(i,[{key:o.DATA,label:"Data"},{key:o.TERMINAL,label:"Terminal"},{key:o.BLOCK_SETTINGS,label:"Block settings"}]),null!==e&&void 0!==e&&null!==(r=e.project)&&void 0!==r&&null!==(t=r.features)&&void 0!==t&&t[c.d.INTERACTIONS]&&i.push({key:o.INTERACTIONS,label:"Interactions"}),i}function m(e){return(0,d.HK)(f(e),(function(e){return e.key}))}var v=(t={},(0,i.Z)(t,o.ADDON_BLOCKS,s.EJ),(0,i.Z)(t,o.BLOCK_SETTINGS,s.JG),(0,i.Z)(t,o.CALLBACKS,s.AQ),(0,i.Z)(t,o.CHARTS,s.GQ),(0,i.Z)(t,o.DATA,s.iA),(0,i.Z)(t,o.EXTENSIONS,s.Bf),(0,i.Z)(t,o.INTERACTIONS,s.yd),(0,i.Z)(t,o.SECRETS,s.Yo),(0,i.Z)(t,o.SETTINGS,s.Zr),(0,i.Z)(t,o.TERMINAL,s.oI),(0,i.Z)(t,o.TREE,s.mp),(0,i.Z)(t,o.VARIABLES,s.LO),t)},40109:function(e,n,r){"use strict";r.d(n,{f:function(){return g},h:function(){return v}});var t=r(82394),o=r(82684),i=r(34376),l=r(93369),c=r(72473),s=r(70515),d=r(69419),a=r(53808),u=r(28598);var h=function(e){var n=e.oauthResponse,r=(0,i.useRouter)(),t=(0,o.useMemo)((function(){return n||{}}),[n]),h=t.url,f=t.redirect_query_params,m=void 0===f?{}:f;return(0,u.jsx)(u.Fragment,{children:h&&(0,u.jsx)(l.ZP,{beforeElement:(0,u.jsx)(c._8,{size:2*s.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,d.iV)(h).state;(0,a.t8)(e,m),r.push(h)},uuid:"SignForm/google",children:"Sign in with Google"})})};var f=function(e){var n=e.oauthResponse,r=(0,i.useRouter)(),t=(0,o.useMemo)((function(){return n||{}}),[n]),h=t.url,f=t.redirect_query_params,m=void 0===f?{}:f;return(0,u.jsx)(u.Fragment,{children:h&&(0,u.jsx)(l.ZP,{beforeElement:(0,u.jsx)(c.Dg,{size:2*s.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,d.iV)(h).state;m&&(0,a.t8)(e,m),r.push(h)},uuid:"SignForm/active_directory",children:"Sign in with Microsoft"})})};var m,v,x=function(e){var n=e.oauthResponse,r=(0,i.useRouter)(),t=(0,o.useMemo)((function(){return n||{}}),[n]),c=t.url,s=t.redirect_query_params,h=void 0===s?{}:s;return(0,u.jsx)(u.Fragment,{children:c&&(0,u.jsx)(l.ZP,{bold:!0,inline:!0,onClick:function(){var e=(0,d.iV)(c).state;(0,a.t8)(e,h),r.push(c)},uuid:"SignForm/okta",children:"Sign in with Okta"})})};!function(e){e.ACTIVE_DIRECTORY="active_directory",e.BITBUCKET="bitbucket",e.GITHUB="github",e.GOOGLE="google",e.OKTA="okta"}(v||(v={}));var g=(m={},(0,t.Z)(m,v.ACTIVE_DIRECTORY,f),(0,t.Z)(m,v.GOOGLE,h),(0,t.Z)(m,v.OKTA,x),m)},65956:function(e,n,r){"use strict";var t=r(38626),o=r(55485),i=r(38276),l=r(30160),c=r(44897),s=r(42631),d=r(47041),a=r(70515),u=r(28598),h=(0,t.css)(["padding:","px;padding-bottom:","px;padding-top:","px;"],2*a.iI,1.5*a.iI,1.5*a.iI),f=t.default.div.withConfig({displayName:"Panel__PanelStyle",componentId:"sc-1ct8cgl-0"})(["border-radius:","px;overflow:hidden;"," "," "," "," "," "," "," "," "," "," "," ",""],s.n_,(function(e){return e.fullWidth&&"\n width: 100%;\n "}),(function(e){return!e.borderless&&"\n border: 1px solid ".concat((e.theme.interactive||c.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.success&&"\n background-color: ".concat((e.theme.background||c.Z.background).successLight,";\n ")}),(function(e){return e.success&&!e.borderless&&"\n border: 1px solid ".concat((e.theme.background||c.Z.background).success,";\n ")}),(function(e){return!e.dark&&!e.success&&"\n background-color: ".concat((e.theme.background||c.Z.background).panel,";\n ")}),(function(e){return e.dark&&"\n background-color: ".concat((e.theme.background||c.Z.background).content,";\n ")}),(function(e){return!e.fullHeight&&"\n height: fit-content;\n "}),(function(e){return e.maxHeight&&"\n max-height: ".concat(e.maxHeight,";\n ")}),(function(e){return e.maxWidth&&"\n max-width: ".concat(e.maxWidth,"px;\n ")}),(function(e){return e.minWidth&&"\n min-width: ".concat(e.minWidth,"px;\n\n @media (max-width: ").concat(e.minWidth,"px) {\n min-width: 0;\n }\n ")}),(function(e){return e.borderless&&"\n border: none;\n "}),(function(e){return e.overflowVisible&&"\n overflow: visible;\n "})),m=t.default.div.withConfig({displayName:"Panel__HeaderStyle",componentId:"sc-1ct8cgl-1"})(["border-top-left-radius:","px;border-top-right-radius:","px;"," "," "," ",""],s.n_,s.n_,(function(e){return"\n background-color: ".concat((e.theme.background||c.Z.background).chartBlock,";\n border-bottom: 1px solid ").concat((e.theme.interactive||c.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),h,(function(e){return e.headerPaddingVertical&&"\n padding-bottom: ".concat(e.headerPaddingVertical,"px;\n padding-top: ").concat(e.headerPaddingVertical,"px;\n ")})),v=t.default.div.withConfig({displayName:"Panel__ContentStyle",componentId:"sc-1ct8cgl-2"})(["overflow-y:auto;padding:","px;height:100%;"," "," "," "," ",""],1.75*a.iI,d.w5,(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),(function(e){return e.maxHeight&&"\n max-height: calc(".concat(e.maxHeight," - ").concat(15*a.iI,"px);\n ")}),(function(e){return e.noPadding&&"\n padding: 0;\n "}),(function(e){return e.overflowVisible&&"\n overflow: visible;\n "})),x=t.default.div.withConfig({displayName:"Panel__FooterStyle",componentId:"sc-1ct8cgl-3"})(["border-style:",";border-top-width:","px;padding:","px;"],s.M8,s.YF,1.75*a.iI);n.Z=function(e){var n=e.borderless,r=e.children,t=e.containerRef,c=e.contentContainerRef,s=e.dark,d=e.footer,a=e.fullHeight,h=void 0===a||a,g=e.fullWidth,b=void 0===g||g,p=e.header,j=e.headerHeight,Z=e.headerIcon,C=e.headerPaddingVertical,w=e.headerTitle,_=e.maxHeight,P=e.maxWidth,y=e.minWidth,k=e.noPadding,I=e.overflowVisible,S=e.subtitle,O=e.success;return(0,u.jsxs)(f,{borderless:n,dark:s,fullHeight:h,fullWidth:b,maxHeight:_,maxWidth:P,minWidth:y,overflowVisible:I,ref:t,success:O,children:[(p||w)&&(0,u.jsxs)(m,{headerPaddingVertical:C,height:j,children:[p&&p,w&&(0,u.jsx)(o.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,u.jsxs)(o.ZP,{alignItems:"center",children:[Z&&Z,(0,u.jsx)(i.Z,{ml:Z?1:0,children:(0,u.jsx)(l.ZP,{bold:!0,default:!0,children:w})})]})})]}),(0,u.jsxs)(v,{maxHeight:_,noPadding:k,overflowVisible:I,ref:c,children:[S&&"string"===typeof S&&(0,u.jsx)(i.Z,{mb:2,children:(0,u.jsx)(l.ZP,{default:!0,children:S})}),S&&"string"!==typeof S&&S,r]}),d&&(0,u.jsx)(x,{children:d})]})}},90299:function(e,n,r){"use strict";r.d(n,{Z:function(){return p}});var t=r(82684),o=r(71180),i=r(55485),l=r(64888),c=r(38276),s=r(30160),d=r(8059),a=r(38626),u=r(44897),h=r(70515),f=r(47041),m=a.default.div.withConfig({displayName:"indexstyle__TabsContainerStyle",componentId:"sc-segf7l-0"})(["padding-left:","px;padding-right:","px;"," "," ",""],h.cd*h.iI,h.cd*h.iI,(function(e){return e.noPadding&&"\n padding: 0;\n "}),(function(e){return e.allowScroll&&"\n overflow: auto;\n "}),f.w5),v=a.default.div.withConfig({displayName:"indexstyle__SelectedUnderlineStyle",componentId:"sc-segf7l-1"})(["border-radius:6px;height:","px;"," "," ",""],2,(function(e){return!e.selected&&"\n background-color: transparent;\n "}),(function(e){return e.selected&&!e.backgroundColor&&"\n background-color: ".concat((e.theme||u.Z).accent.blue,";\n ")}),(function(e){return e.selected&&e.backgroundColor&&"\n background-color: ".concat(e.backgroundColor,";\n ")})),x=r(95924),g=r(28598);function b(e,n){var r=e.allowScroll,a=e.compact,u=e.contained,f=e.noPadding,b=e.onClickTab,p=e.regularSizeText,j=e.selectedTabUUID,Z=e.small,C=e.tabs,w=e.underlineColor,_=e.underlineStyle,P=e.uppercase,y=void 0===P||P,k=(0,t.useMemo)((function(){var e=C.length,n=[];return C.forEach((function(r,t){var u=r.Icon,f=r.IconSelected,m=r.label,C=r.uuid,P=C===j,k=P&&f||u,I=m?m():C,S=(0,g.jsxs)(i.ZP,{alignItems:"center",children:[k&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(k,{default:!P,size:2*h.iI}),(0,g.jsx)(c.Z,{mr:1})]}),(0,g.jsx)(s.ZP,{bold:!0,default:!P,noWrapping:!0,small:!p,uppercase:y,children:I})]});t>=1&&e>=2&&n.push((0,g.jsx)("div",{style:{marginLeft:(p?2:1.5)*h.iI}},"spacing-".concat(C))),P&&!_?n.push((0,g.jsx)(l.Z,{backgroundGradient:d.yr,backgroundPanel:!0,borderLess:!0,borderWidth:2,compact:a||Z,onClick:function(e){(0,x.j)(e),b(r)},paddingUnitsHorizontal:1.75,paddingUnitsVertical:1.25,small:Z,children:S},C)):n.push((0,g.jsxs)(i.ZP,{flexDirection:"column",style:{paddingLeft:2,paddingRight:2,paddingBottom:_?0:2,paddingTop:_?0:2},children:[(0,g.jsxs)(o.ZP,{borderLess:!0,compact:a||Z,default:!0,noBackground:_,noPadding:_,onClick:function(e){(0,x.j)(e),b(r)},outline:!_,small:Z,children:[!_&&S,_&&(0,g.jsx)("div",{style:{paddingBottom:(a||Z?h.iI/2:h.iI)+2,paddingTop:(a||Z?h.iI/2:h.iI)+2+2},children:S})]}),_&&(0,g.jsx)(v,{backgroundColor:w,selected:P})]},"button-tab-".concat(C)))})),n}),[a,b,j,Z,C,_]),I=(0,g.jsx)(i.ZP,{alignItems:"center",children:k});return u?I:(0,g.jsx)(m,{allowScroll:r,noPadding:f,ref:n,children:I})}var p=t.forwardRef(b)},7828:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return Te}});var t=r(77837),o=r(38860),i=r.n(o),l=r(93808),c=r(82394),s=r(75582),d=r(54407),a=r.n(d),u=r(82684),h=r(69864),f=r(71180),m=r(15338),v=r(55485),x=r(85854),g=r(44085),b=r(38276),p=r(4190),j=r(30160),Z=r(35576),C=r(17488),w=r(12468),_=r(35686),P=r(72473),y="clone",k="delete",I="fetch",S="merge",O="pull",E="push",H="rebase",M="git_remote_name",B="git_repository_name",T={uuid:"Branches"},A={uuid:"Files"},N={uuid:"Push"},D={uuid:"Setup"},R=[D,T,A,N],V=r(70515),L=r(81728),F=r(72619),U=r(28598);var G=function(e){var n=e.actionRemoteName,r=e.branch,t=e.branches,o=e.fetchBranch,i=e.fetchBranches,l=e.remotes,d=e.setActionRemoteName,a=e.showError,y=(0,u.useState)(""),I=y[0],O=y[1],E=(0,u.useState)(null),M=E[0],B=E[1],T=(0,u.useState)(null),N=T[0],R=T[1],G=(0,u.useState)(null),W=G[0],q=G[1],z=(0,u.useState)(""),K=z[0],Q=z[1],X=(0,u.useMemo)((function(){return null===l||void 0===l?void 0:l.find((function(e){return e.name===n}))}),[n,l]),Y=(0,u.useMemo)((function(){return(null===t||void 0===t?void 0:t.concat((null===X||void 0===X?void 0:X.refs)||[]))||[]}),[t,X]),J=(0,h.Db)(_.ZP.git_custom_branches.useCreate(),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(){o(),i(),Q("")},onErrorCallback:function(e,n){return a({errors:n,response:e})}})}}),$=(0,s.Z)(J,2),ee=$[0],ne=$[1].isLoading,re=(0,h.Db)(_.ZP.git_custom_branches.useCreate(),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(){o()},onErrorCallback:function(e,n){return a({errors:n,response:e})}})}}),te=(0,s.Z)(re,2),oe=te[0],ie=te[1].isLoading,le=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(e){var n=e.git_custom_branch.progress;o(),O(""),B(""),R(n),q("")},onErrorCallback:function(e,n){return a({errors:n,response:e})}})}}),ce=(0,s.Z)(le,2),se=ce[0],de=ce[1].isLoading;return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsxs)(x.Z,{children:["Branches",t?" (".concat(null===t||void 0===t?void 0:t.length,")"):""]}),(0,U.jsx)(b.Z,{mt:V.Mq,children:(0,U.jsxs)(v.ZP,{children:[(0,U.jsxs)("div",{children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(j.ZP,{bold:!0,muted:!0,children:"Remote"})}),(0,U.jsx)(g.Z,{beforeIcon:(0,U.jsx)(P.VW,{}),beforeIconSize:1.5*V.iI,monospace:!0,onChange:function(e){return d(e.target.value)},placeholder:"Choose a remote",value:n||"",children:null===l||void 0===l?void 0:l.map((function(e){var n=e.name;return(0,U.jsx)("option",{value:n,children:n},n)}))})]}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsxs)("div",{children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(j.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(0,U.jsxs)(v.ZP,{alignItems:"center",children:[(0,U.jsx)(w.Z,{fullSize:!0,label:"Choose a different branch to switch branches",widthFitContent:!0,children:(0,U.jsx)(g.Z,{beforeIcon:(0,U.jsx)(P.I0,{muted:!1}),beforeIconSize:2*V.iI,monospace:!0,onChange:function(e){return oe({git_custom_branch:{name:e.target.value}})},value:null===r||void 0===r?void 0:r.name,children:(null===r||void 0===r?void 0:r.name)&&(null===t||void 0===t?void 0:t.map((function(e){var n=e.name;return(0,U.jsx)("option",{value:n,children:n},n)})))})}),(0,U.jsx)(b.Z,{mr:V.cd}),ie&&(0,U.jsx)(p.Z,{inverted:!0})]})]})]})}),(0,U.jsx)(b.Z,{mt:V.Mq,children:(0,U.jsxs)(v.ZP,{alignItems:"center",children:[(0,U.jsx)(C.Z,{label:"New branch name",monospace:!0,onChange:function(e){var n;return Q(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)},value:K||""}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsx)(f.ZP,{beforeIcon:(0,U.jsx)(P.mm,{size:2*V.iI}),disabled:!K,loading:ne,onClick:function(){ee({git_custom_branch:{name:K}})},primary:!0,children:"Create new branch"})]})})]}),(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsx)(x.Z,{children:"Actions"}),(0,U.jsxs)(b.Z,{mt:V.Mq,children:[(0,U.jsxs)(b.Z,{mb:V.Mq,children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(j.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),(null===r||void 0===r?void 0:r.name)&&(0,U.jsx)(j.ZP,{monospace:!0,children:null===r||void 0===r?void 0:r.name})]}),(0,U.jsxs)(v.ZP,{alignItems:"center",children:[(0,U.jsxs)("div",{children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(j.ZP,{bold:!0,muted:!0,children:"Base branch"})}),(0,U.jsx)(g.Z,{beforeIcon:(0,U.jsx)(P.I0,{}),beforeIconSize:1.5*V.iI,monospace:!0,onChange:function(e){return q(e.target.value)},placeholder:"Choose a branch",value:W,children:null===Y||void 0===Y?void 0:Y.map((function(e){var n=e.name;return(0,U.jsx)("option",{value:n,children:n},n)}))})]}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsxs)("div",{children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(j.ZP,{bold:!0,muted:!0,children:"Action"})}),(0,U.jsxs)(g.Z,{onChange:function(e){return B(e.target.value)},placeholder:"Choose action",value:M||"",children:[(0,U.jsx)("option",{value:S,children:(0,L.vg)(S)}),(0,U.jsx)("option",{value:H,children:(0,L.vg)(H)}),(0,U.jsx)("option",{value:k,children:(0,L.vg)(k)})]})]})]}),M&&[S,H].includes(M)&&(0,U.jsxs)(b.Z,{mt:V.cd,children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsxs)(j.ZP,{bold:!0,muted:!0,children:["Message for ",M]})}),(0,U.jsx)(Z.Z,{monospace:!0,onChange:function(e){return O(e.target.value)},value:I||""})]}),(0,U.jsxs)(b.Z,{mt:V.cd,children:[(0,U.jsx)(f.ZP,{beforeIcon:(0,U.jsx)(P.Bf,{size:2*V.iI}),disabled:!M||!W,loading:de,onClick:function(){(k!==M||"undefined"!==typeof location&&window.confirm("Are you sure you want to delete branch ".concat(W,"?")))&&se({git_custom_branch:(0,c.Z)({action_type:M,message:I},M,{base_branch:W})})},primary:!0,children:M?(0,L.vg)(M):"Execute action"}),N&&(0,U.jsx)(b.Z,{mt:V.cd,children:(0,U.jsx)(j.ZP,{default:!0,monospace:!0,preWrap:!0,children:N})})]})]})]}),(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsx)(b.Z,{mb:V.HN,children:(0,U.jsx)(m.Z,{light:!0})}),(0,U.jsxs)(v.ZP,{children:[(0,U.jsx)(f.ZP,{beforeIcon:(0,U.jsx)(P.Hd,{}),linkProps:{href:"/version-control?tab=".concat(D.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:D.uuid}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsxs)(f.ZP,{afterIcon:(0,U.jsx)(P.Kw,{}),linkProps:{href:"/version-control?tab=".concat(A.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",A.uuid]})]})]})]})},W=r(90299),q=r(32013),z=r(98777),K=r(48670),Q=r(75499);function X(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 Y(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?X(Object(r),!0).forEach((function(n){(0,c.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var J={base_branch:null,body:null,compare_branch:null,repository:null,title:null};var $=function(e){var n=e.actionRemoteName,r=e.branch,t=e.branches,o=e.fetchBranch,i=e.loading,l=e.remotes,d=e.repositories,a=e.repositoryName,w=e.setActionRemoteName,y=e.setRepositoryName,k=e.showError,I=(0,u.useState)((null===r||void 0===r?void 0:r.name)||""),S=I[0],O=I[1],H=(0,u.useState)(null),M=H[0],B=H[1],T=(0,u.useState)(null),N=T[0],D=T[1],R=(0,u.useState)(J),G=R[0],W=R[1],X=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(e){var n=e.git_custom_branch,r=n.error,t=n.progress;r?(B(r),D(null)):(o(),B(null),D(t))},onErrorCallback:function(e,n){return k({errors:n,response:e})}})}}),$=(0,s.Z)(X,2),ee=$[0],ne=$[1].isLoading,re=(0,u.useMemo)((function(){var e;return null===d||void 0===d||null===(e=d.find((function(e){return e.name===a})))||void 0===e?void 0:e.url}),[d,a]),te=_.ZP.pull_requests.list({remote_url:re,repository:a},{},{pauseFetch:!a}),oe=te.data,ie=te.mutate,le=(0,u.useMemo)((function(){return(null===oe||void 0===oe?void 0:oe.pull_requests)||[]}),[oe]),ce=(0,u.useMemo)((function(){return(0,U.jsx)(Q.Z,{columnFlex:[null,null,null,null],columns:[{uuid:"Title"},{uuid:"Author"},{uuid:"Created"},{uuid:"Last modified"}],onClickRow:function(e){var n,r=null===le||void 0===le||null===(n=le[e])||void 0===n?void 0:n.url;r&&window.open(r,"_blank")},rows:null===le||void 0===le?void 0:le.map((function(e){var n=e.created_at,r=e.last_modified,t=e.title,o=e.url,i=e.user;return[(0,U.jsx)(K.Z,{default:!0,href:o,monospace:!0,openNewWindow:!0,small:!0,children:t},"title"),(0,U.jsx)(j.ZP,{default:!0,monospace:!0,small:!0,children:i},"user"),(0,U.jsx)(j.ZP,{default:!0,monospace:!0,small:!0,children:n},"createdAt"),(0,U.jsx)(j.ZP,{default:!0,monospace:!0,small:!0,children:r||"-"},"lastModified")]})),uuid:"pull-requests"})}),[le]),se=_.ZP.git_custom_branches.list({remote_url:re,repository:a},{},{pauseFetch:!a}).data,de=(0,u.useMemo)((function(){return(null===se||void 0===se?void 0:se.git_custom_branches)||[]}),[se]);(0,u.useEffect)((function(){null!==G&&void 0!==G&&G.compare_branch||null===de||void 0===de||!de.find((function(e){return e.name===(null===r||void 0===r?void 0:r.name)}))||W((function(e){return Y(Y({},e),{},{compare_branch:null===r||void 0===r?void 0:r.name})}))}),[r,de,G]);var ae=(0,h.Db)(_.ZP.pull_requests.useCreate(),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(){ie(),W(J)},onErrorCallback:function(e,n){return k({errors:n,response:e})}})}}),ue=(0,s.Z)(ae,2),he=ue[0],fe=ue[1].isLoading;return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(x.Z,{children:(0,L.vg)(E)})}),(0,U.jsxs)(b.Z,{mt:V.Mq,children:[(0,U.jsxs)(v.ZP,{children:[(0,U.jsxs)("div",{children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(j.ZP,{bold:!0,muted:!0,children:"Remote"})}),i&&(0,U.jsx)(p.Z,{inverted:!0}),!i&&(0,U.jsx)(g.Z,{beforeIcon:(0,U.jsx)(P.VW,{}),beforeIconSize:1.5*V.iI,monospace:!0,onChange:function(e){return w(e.target.value)},placeholder:"Choose remote",value:n||"",children:null===l||void 0===l?void 0:l.map((function(e){var n=e.name;return(0,U.jsx)("option",{value:n,children:n},n)}))})]}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsxs)("div",{children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(j.ZP,{bold:!0,muted:!0,children:"Branch"})}),(0,U.jsxs)(g.Z,{beforeIcon:(0,U.jsx)(P.I0,{}),beforeIconSize:1.5*V.iI,monospace:!0,onChange:function(e){return O(e.target.value)},placeholder:"Choose branch",value:S||"",children:[(0,U.jsx)("option",{value:""}),null===t||void 0===t?void 0:t.map((function(e){var n=e.name;return(0,U.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,U.jsx)(b.Z,{mt:V.cd,children:(0,U.jsxs)(f.ZP,{beforeIcon:(0,U.jsx)(P.Bf,{size:2*V.iI}),disabled:!n||!S,loading:ne,onClick:function(){D(null),ee({git_custom_branch:(0,c.Z)({action_type:E},E,{branch:S,remote:n})})},primary:!0,children:[(0,L.vg)(E)," ",n," ",n&&S]})}),(N||M)&&(0,U.jsx)(b.Z,{mt:V.cd,children:(0,U.jsx)(j.ZP,{danger:!!M,default:!!N,monospace:!0,preWrap:!0,children:N||M})})]})]}),(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(x.Z,{children:"Create pull request"})}),(0,U.jsxs)(b.Z,{mt:V.Mq,children:[i&&(0,U.jsx)(p.Z,{inverted:!0}),!i&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(v.ZP,{children:[(0,U.jsxs)("div",{children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(j.ZP,{bold:!0,muted:!0,children:"Repository"})}),(0,U.jsx)(g.Z,{monospace:!0,onChange:function(e){return y(e.target.value)},placeholder:"Choose repository",value:a||"",children:null===d||void 0===d?void 0:d.map((function(e){var n=e.name;return(0,U.jsx)("option",{value:n,children:n},n)}))})]}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsxs)("div",{children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(j.ZP,{bold:!0,muted:!0,children:"Base branch"})}),a&&!se&&(0,U.jsx)(p.Z,{inverted:!0}),(!a||se)&&(0,U.jsx)(g.Z,{beforeIcon:(0,U.jsx)(P.I0,{}),beforeIconSize:1.5*V.iI,disabled:!a,monospace:!0,onChange:function(e){return W((function(n){return Y(Y({},n),{},{base_branch:e.target.value})}))},placeholder:"Choose branch",value:(null===G||void 0===G?void 0:G.base_branch)||"",children:null===de||void 0===de?void 0:de.map((function(e){var n=e.name;return(0,U.jsx)("option",{value:n,children:n},n)}))})]}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsxs)("div",{children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(j.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),a&&!se&&(0,U.jsx)(p.Z,{inverted:!0}),(!a||se||(null===G||void 0===G?void 0:G.compare_branch))&&(0,U.jsxs)(g.Z,{beforeIcon:(0,U.jsx)(P.I0,{}),beforeIconSize:1.5*V.iI,disabled:!a,monospace:!0,onChange:function(e){return W((function(n){return Y(Y({},n),{},{compare_branch:e.target.value})}))},placeholder:"Choose branch",value:(null===G||void 0===G?void 0:G.compare_branch)||"",children:[!(null!==de&&void 0!==de&&de.length)&&(null===G||void 0===G?void 0:G.compare_branch)&&(0,U.jsx)("option",{value:null===G||void 0===G?void 0:G.compare_branch,children:null===G||void 0===G?void 0:G.compare_branch}),null===de||void 0===de?void 0:de.map((function(e){var n=e.name;return(0,U.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,U.jsx)(b.Z,{mt:1,children:(0,U.jsx)(C.Z,{label:"Title",monospace:!0,onChange:function(e){return W((function(n){return Y(Y({},n),{},{title:e.target.value})}))},value:(null===G||void 0===G?void 0:G.title)||""})}),(0,U.jsx)(b.Z,{mt:1,children:(0,U.jsx)(Z.Z,{label:"Description",monospace:!0,onChange:function(e){return W((function(n){return Y(Y({},n),{},{body:e.target.value})}))},value:(null===G||void 0===G?void 0:G.body)||""})}),(0,U.jsx)(b.Z,{mt:V.cd,children:(0,U.jsx)(f.ZP,{beforeIcon:(0,U.jsx)(P.Bf,{size:2*V.iI}),disabled:!a||!(null!==G&&void 0!==G&&G.title)||!(null!==G&&void 0!==G&&G.base_branch)||!(null!==G&&void 0!==G&&G.compare_branch),loading:fe,onClick:function(){he({pull_request:Y(Y({},G),{},{remote_url:re,repository:a})})},primary:!0,children:"Create new pull request"})})]})]}),(0,U.jsx)(b.Z,{mt:V.Mq,children:(0,U.jsx)(q.Z,{visibleMapping:{0:!a},children:(0,U.jsxs)(z.Z,{noPaddingContent:!0,title:oe?"Pull requests (".concat(null===le||void 0===le?void 0:le.length,")"):"Pull requests",children:[!a&&(0,U.jsx)(b.Z,{p:V.cd,children:(0,U.jsx)(j.ZP,{muted:!0,children:"Please select a repository to view open pull requests."})}),a&&(0,U.jsxs)(U.Fragment,{children:[!oe&&(0,U.jsx)(b.Z,{p:V.cd,children:(0,U.jsx)(p.Z,{inverted:!0})}),oe&&ce]})]})})})]}),(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsx)(b.Z,{mb:V.HN,children:(0,U.jsx)(m.Z,{light:!0})}),(0,U.jsx)(v.ZP,{children:(0,U.jsx)(f.ZP,{beforeIcon:(0,U.jsx)(P.Hd,{}),linkProps:{href:"/version-control?tab=".concat(A.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:A.uuid})})]})]})},ee=r(94629),ne=r(85533),re=r(70652),te=r(97618),oe=r(38626),ie=oe.default.div.withConfig({displayName:"indexstyle__SpacingStyle",componentId:"sc-el09vr-0"})(["margin-top:","px;"],.5*V.iI),le=r(42122);function ce(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 se(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?ce(Object(r),!0).forEach((function(n){(0,c.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var de,ae=function(e){var n=e.branch,r=e.fetchBranch,t=e.modifiedFiles,o=e.setSelectedFilePath,i=e.showError,l=e.stagedFiles,c=e.untrackedFiles,d=(0,u.useRef)(null),a=(0,u.useState)(""),g=a[0],C=a[1],w=(0,u.useState)({}),y=w[0],k=w[1],I=(0,u.useState)({}),S=I[0],O=I[1],E=(0,u.useMemo)((function(){return Object.keys(t).concat(Object.keys(c)).sort()}),[t,c]),H=(0,u.useMemo)((function(){return Object.keys(l||{})}),[l]),M=(0,u.useMemo)((function(){return H.length}),[H]),B=(0,u.useMemo)((function(){return Object.keys(y).length===(null===E||void 0===E?void 0:E.length)}),[y,E]),A=(0,u.useMemo)((function(){return Object.keys(S).length===(null===H||void 0===H?void 0:H.length)}),[S,H]),D=(0,u.useMemo)((function(){return{onErrorCallback:function(e,n){return i({errors:n,response:e})}}}),[i]),R=(0,u.useMemo)((function(){return{onSuccess:function(e){return(0,F.wD)(e,se({callback:function(){r(),k({})}},D))}}}),[r,D]),G=(0,u.useMemo)((function(){return _.ZP.git_custom_branches.useUpdate(null===n||void 0===n?void 0:n.name)}),[n]),W=(0,h.Db)(G,R),X=(0,s.Z)(W,2),Y=X[0],J=X[1].isLoading,$=(0,h.Db)(G,R),ee=(0,s.Z)($,2),ne=ee[0],oe=ee[1].isLoading,ce=(0,h.Db)(G,{onSuccess:function(e){return(0,F.wD)(e,se({callback:function(){r(),O({})}},D))}}),de=(0,s.Z)(ce,2),ae=de[0],ue=de[1].isLoading,he=(0,u.useCallback)((function(e,n,r,t,o){var i=(null===e||void 0===e?void 0:e.length)>=1;return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(K.Z,{block:!0,noHoverUnderline:!0,onClick:function(){r(o?{}:t)},preventDefault:!0,children:(0,U.jsxs)(v.ZP,{alignItems:"center",flexDirection:"row",children:[(0,U.jsx)(re.Z,{checked:i&&o,disabled:!i}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsx)(j.ZP,{bold:!0,children:i&&o?"Unselect all":"Select all"})]})}),e.map((function(e){return(0,U.jsx)(ie,{children:(0,U.jsx)(K.Z,{block:!0,noHoverUnderline:!0,onClick:function(){return r((function(n){var r=se({},n);return!(null!==r&&void 0!==r&&r[e])?r[e]=!0:delete r[e],r}))},preventDefault:!0,children:(0,U.jsxs)(v.ZP,{alignItems:"center",flexDirection:"row",children:[(0,U.jsx)(re.Z,{checked:!(null===n||void 0===n||!n[e])}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsx)(j.ZP,{default:!0,monospace:!0,children:e})]})})},e)}))]})}),[]),fe=(0,u.useMemo)((function(){return(0,le.Qr)(y)}),[y]),me=_.ZP.git_custom_branches.detail("with_logs",{_format:"with_logs"}),ve=me.data,xe=me.mutate,ge=(0,u.useMemo)((function(){var e;return(null===ve||void 0===ve||null===(e=ve.git_custom_branch)||void 0===e?void 0:e.logs)||[]}),[ve]),be=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===n||void 0===n?void 0:n.name),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(){xe(),r(),C("")},onErrorCallback:function(e,n){return i({errors:n,response:e})}})}}),pe=(0,s.Z)(be,2),je=pe[0],Ze=pe[1].isLoading,Ce=(0,u.useMemo)((function(){return(0,U.jsx)(Q.Z,{columnFlex:[1,1,1],columns:[{uuid:"Author"},{uuid:"Date"},{uuid:"Message"}],rows:ge.map((function(e){var n=e.author,r=e.date,t=e.message;return[(0,U.jsx)(j.ZP,{default:!0,monospace:!0,small:!0,children:null===n||void 0===n?void 0:n.name},"author"),(0,U.jsx)(j.ZP,{default:!0,monospace:!0,small:!0,children:r},"date"),(0,U.jsx)(j.ZP,{default:!0,monospace:!0,small:!0,children:t},"message")]})),uuid:"git-branch-logs"})}),[ge]);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(b.Z,{mb:V.HN,children:(0,U.jsxs)(v.ZP,{children:[(0,U.jsxs)(te.Z,{flex:1,flexDirection:"column",children:[(0,U.jsxs)(x.Z,{children:["Not staged ",(null===E||void 0===E?void 0:E.length)>=1&&"(".concat(null===E||void 0===E?void 0:E.length,")")]}),(0,U.jsx)(b.Z,{my:V.cd,children:(0,U.jsx)(m.Z,{light:!0})}),(0,U.jsx)(b.Z,{mb:V.cd,children:(0,U.jsxs)(v.ZP,{flexDirection:"row",children:[(0,U.jsx)(f.ZP,{compact:!0,disabled:fe||ue||oe,loading:J,onClick:function(){Y({git_custom_branch:{action_type:"add",files:Object.keys(y)}}).then((function(e){var n,r=e.data;null!==r&&void 0!==r&&r.git_custom_branch&&(null===d||void 0===d||null===(n=d.current)||void 0===n||n.focus())}))},primary:!0,children:"Add files"}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsx)(f.ZP,{compact:!0,disabled:fe||J||ue,loading:oe,noBackground:!0,onClick:function(){"undefined"!==typeof location&&window.confirm("Are you sure you want to undo all changes in the selected files?")&&ne({git_custom_branch:{action_type:"checkout",files:Object.keys(y)}})},children:"Checkout files"})]})}),he(E,y,k,se(se({},t),c),B)]}),(0,U.jsx)(b.Z,{mr:V.cd}),(0,U.jsxs)(te.Z,{flex:1,flexDirection:"column",children:[(0,U.jsxs)(x.Z,{children:["Staged files ",(null===H||void 0===H?void 0:H.length)>=1&&"(".concat(null===H||void 0===H?void 0:H.length,")")]}),(0,U.jsx)(b.Z,{my:V.cd,children:(0,U.jsx)(m.Z,{light:!0})}),(0,U.jsx)(b.Z,{mb:V.cd,children:(0,U.jsx)(v.ZP,{flexDirection:"row",children:(0,U.jsx)(f.ZP,{compact:!0,disabled:(0,le.Qr)(S)||J||oe,loading:ue,onClick:function(){ae({git_custom_branch:{action_type:"reset",files:Object.keys(S)}})},secondary:!0,children:"Reset files"})})}),he(H,S,O,l,A)]})]})}),(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(x.Z,{children:"Commit"})}),(0,U.jsx)(b.Z,{mb:V.cd,children:(0,U.jsx)(q.Z,{children:(0,U.jsx)(z.Z,{noPaddingContent:!0,title:M>=1?"Staged files (".concat(M,")"):"No staged files",children:null===H||void 0===H?void 0:H.map((function(e){return(0,U.jsx)(b.Z,{my:1,px:V.cd,children:(0,U.jsxs)(v.ZP,{justifyContent:"space-between",children:[(0,U.jsx)(K.Z,{default:!0,monospace:!0,onClick:function(){return o((function(n){return n===e?null:e}))},warning:null===t||void 0===t?void 0:t[e],children:e}),(0,U.jsx)(b.Z,{mr:1}),(null===t||void 0===t?void 0:t[e])&&(0,U.jsx)(j.ZP,{warning:!0,children:"Modified after staging"})]})},e)}))})})}),(0,U.jsx)(Z.Z,{label:"Commit message",monospace:!0,onChange:function(e){return C(e.target.value)},ref:d,value:g||""}),(0,U.jsx)(b.Z,{mt:V.cd,children:(0,U.jsxs)(v.ZP,{alignItems:"center",children:[(0,U.jsxs)(f.ZP,{disabled:0===M||!((null===g||void 0===g?void 0:g.length)>=1),loading:Ze,onClick:function(){je({git_custom_branch:{action_type:"commit",message:g}})},primary:!0,children:["Commit ",(0,L._6)("file",M,!0)," with message"]}),0===M&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(b.Z,{mr:1}),(0,U.jsx)(j.ZP,{danger:!0,small:!0,children:"Please stage at least 1 file before committing."})]})]})})]}),(0,U.jsx)(b.Z,{mb:V.HN,children:(0,U.jsx)(q.Z,{children:(0,U.jsxs)(z.Z,{noPaddingContent:!0,title:"Logs",children:[!ve&&(0,U.jsx)(b.Z,{p:V.cd,children:(0,U.jsx)(p.Z,{inverted:!0})}),ve&&Ce]})})}),(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsx)(b.Z,{mb:V.HN,children:(0,U.jsx)(m.Z,{light:!0})}),(0,U.jsxs)(v.ZP,{children:[(0,U.jsx)(f.ZP,{beforeIcon:(0,U.jsx)(P.Hd,{}),linkProps:{href:"/version-control?tab=".concat(T.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:T.uuid}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsxs)(f.ZP,{afterIcon:(0,U.jsx)(P.Kw,{}),linkProps:fe?{href:"/version-control?tab=".concat(N.uuid)}:null,noHoverUnderline:!0,primary:fe,sameColorAsText:!0,secondary:!fe,children:["Next: ",N.uuid]})]})]})]})},ue=r(12691),he=r.n(ue),fe=r(34376),me=r(63403),ve=oe.default.svg.withConfig({displayName:"BitbucketWithText__SVGStyle",componentId:"sc-wdje9z-0"})([""]),xe=function(e){var n=e.fill,r=e.opacity,t=e.size,o=void 0===t?me.C:t,i=e.style,l=e.viewBox,c=void 0===l?"0 0 299 42":l;return(0,U.jsxs)(ve,{fill:n,height:o,opacity:r,style:i,viewBox:c,width:o,children:[(0,U.jsx)("path",{d:"M63.3372 2.9978H79.5353C87.4335 2.9978 91.2488 6.77741 91.2488 12.8379C91.2488 17.3994 89.1068 20.2016 84.756 21.179C90.4455 22.0914 93.3237 25.1542 93.3237 30.4978C93.3237 36.4931 89.1737 40.6637 80.4724 40.6637H63.3372V2.9978ZM68.625 19.0939H78.799C83.8191 19.0939 85.894 16.8782 85.894 13.2289C85.894 9.57954 83.6852 7.82008 78.799 7.82008H68.625V19.0939ZM68.625 23.7206V35.4504H80.673C85.7601 35.4504 88.036 33.6909 88.036 29.9113C88.036 25.871 85.827 23.7206 80.5393 23.7206H68.625Z",fill:n||"white"}),(0,U.jsx)("path",{d:"M101.958 0.977783C104.033 0.977783 105.506 2.21592 105.506 4.43157C105.506 6.58205 104.033 7.88536 101.958 7.88536C99.8833 7.88536 98.4106 6.6472 98.4106 4.43157C98.4106 2.21592 99.8833 0.977783 101.958 0.977783ZM99.3478 11.9907H104.435V40.6638H99.3478V11.9907Z",fill:n||"white"}),(0,U.jsx)("path",{d:"M123.779 36.0376C124.984 36.0376 126.055 35.7769 126.992 35.6466V40.4037C126.121 40.6643 125.117 40.8599 123.578 40.8599C117.286 40.8599 114.207 37.2756 114.207 31.9321V16.5529H109.455V11.9912H114.207V5.93091H119.16V11.9912H126.992V16.5529H119.16V31.7367C119.093 34.2781 120.633 36.0376 123.779 36.0376Z",fill:n||"white"}),(0,U.jsx)("path",{d:"M138.504 35.5806V40.5982H133.417V0H138.504V17.1386C140.378 13.359 143.926 11.4039 148.477 11.4039C156.309 11.4039 160.258 17.8554 160.258 26.3271C160.258 34.4076 156.108 41.25 147.875 41.25C143.524 41.25 140.244 39.3602 138.504 35.5806ZM147.072 16.0309C142.52 16.0309 138.504 18.8329 138.504 25.2191V27.5001C138.504 33.8863 142.186 36.6883 146.536 36.6883C152.226 36.6883 155.171 33.0392 155.171 26.3921C155.171 19.4194 152.36 16.0309 147.072 16.0309Z",fill:n||"white"}),(0,U.jsx)("path",{d:"M165.546 11.991H170.633V29.3252C170.633 34.4733 172.775 36.7541 177.594 36.7541C182.279 36.7541 185.559 33.6913 185.559 27.8915V11.991H190.647V40.664H185.559V35.972C183.685 39.3607 180.204 41.2505 176.255 41.2505C169.495 41.2505 165.613 36.6888 165.613 28.8039V11.991H165.546Z",fill:n||"white"}),(0,U.jsx)("path",{d:"M219.027 39.8814C217.287 40.7938 214.542 41.1847 211.864 41.1847C201.355 41.1847 196.469 34.9941 196.469 26.1967C196.469 17.5296 201.355 11.3389 211.864 11.3389C214.542 11.3389 216.55 11.6647 218.892 12.7072V17.2689C217.019 16.4218 215.011 15.9006 212.266 15.9006C204.636 15.9006 201.49 20.5924 201.49 26.1967C201.49 31.8009 204.702 36.4929 212.401 36.4929C215.412 36.4929 217.287 36.1018 219.092 35.4502V39.8814H219.027Z",fill:n||"white"}),(0,U.jsx)("path",{d:"M224.783 40.6635V0H229.87V25.4147L242.52 11.9904H249.147L235.29 26.0664L249.681 40.6635H242.789L229.802 27.2392V40.6635H224.783Z",fill:n||"white"}),(0,U.jsx)("path",{d:"M266.483 41.2506C255.437 41.2506 250.619 35.0599 250.619 26.2624C250.619 17.5954 255.572 11.4045 264.541 11.4045C273.644 11.4045 277.259 17.5302 277.259 26.2624V28.4781H255.773C256.51 33.3655 259.722 36.4935 266.684 36.4935C270.096 36.4935 272.974 35.8418 275.652 34.9296V39.4911C273.175 40.7944 269.494 41.2506 266.483 41.2506ZM255.706 24.2423H272.172C271.904 18.8987 269.427 15.9012 264.34 15.9012C258.919 15.9012 256.242 19.2897 255.706 24.2423Z",fill:n||"white"}),(0,U.jsx)("path",{d:"M294.929 36.0376C296.134 36.0376 297.205 35.7769 298.142 35.6466V40.4037C297.272 40.6643 296.267 40.8599 294.728 40.8599C288.437 40.8599 285.359 37.2756 285.359 31.9321V16.5529H280.606V11.9912H285.359V5.93091H290.311V11.9912H298.142V16.5529H290.311V31.7367C290.245 34.2781 291.784 36.0376 294.929 36.0376Z",fill:n||"white"}),(0,U.jsx)("path",{d:"M1.36497 4.1062C0.556341 4.1062 -0.117513 4.82301 0.0172582 5.605L5.74501 39.1654C5.87979 40.0127 6.62103 40.6642 7.56442 40.6642H34.9903C35.6641 40.6642 36.2032 40.208 36.338 39.5565L42.0658 5.605C42.2006 4.82301 41.594 4.1062 40.718 4.1062H1.36497ZM25.4889 28.3479H16.7288L14.3704 16.3573H27.6453L25.4889 28.3479Z",fill:n||"white"}),(0,U.jsx)("path",{d:"M40.2462 16.3572H27.5775L25.4886 28.3478H16.7286L6.3512 40.2079C6.3512 40.2079 6.82289 40.6641 7.56413 40.6641H34.99C35.6639 40.6641 36.2029 40.2079 36.3377 39.5562L40.2462 16.3572Z",fill:"url(#paint0_linear_13549_1163)"}),(0,U.jsx)("defs",{children:(0,U.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear_13549_1163",x1:"43.1513",x2:"22.7826",y1:"19.7256",y2:"36.1667",children:[(0,U.jsx)("stop",{offset:"0.176",stopColor:"#0052CC"}),(0,U.jsx)("stop",{offset:"1",stopColor:"#2684FF"})]})})]})},ge=r(40109),be=r(69419),pe=r(53808),je=(de={},(0,c.Z)(de,ge.h.GITHUB,P.Je),(0,c.Z)(de,ge.h.BITBUCKET,xe),de);function Ze(e){var n=e.isLoadingCreateOauth,r=e.oauth,t=e.provider,o=e.showError,i=(0,fe.useRouter)(),l=(0,h.Db)(_.ZP.oauths.useUpdate(t),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(){return window.location.href=window.location.href.split("?")[0]},onErrorCallback:function(e,n){return o({errors:n,response:e})}})}}),c=(0,s.Z)(l,2),d=c[0],a=c[1].isLoading,u=je[t];return(0,U.jsxs)(v.ZP,{justifyContent:"space-between",children:[(0,U.jsx)(te.Z,{children:(0,U.jsx)(u,{size:12*V.iI})}),(0,U.jsx)(te.Z,{alignItems:"center",children:null!==r&&void 0!==r&&r.authenticated?(0,U.jsx)(f.ZP,{loading:a,onClick:function(){return d({oauth:{action_type:"reset"}})},warning:!0,children:"Reset"}):(0,U.jsx)(f.ZP,{loading:n,onClick:function(){var e=null===r||void 0===r?void 0:r.url,n=(0,be.iV)(e).state;(0,pe.t8)(n,(null===r||void 0===r?void 0:r.redirect_query_params)||{}),i.push(e)},primary:!0,children:"Authenticate"})})]})}var Ce=function(e){var n=e.branch,r=e.isLoadingCreateOauth,t=e.showError,o=_.ZP.oauths.list({type:"git",redirect_uri:encodeURIComponent(window.location.href)}),i=o.data,l=(o.mutate,_.ZP.oauths.detail(ge.h.GITHUB,{redirect_uri:encodeURIComponent(window.location.href)})),c=l.data,d=(l.mutate,(0,u.useMemo)((function(){return(null===c||void 0===c?void 0:c.oauth)||{}}),[c])),a=(0,u.useMemo)((function(){return null===n||void 0===n?void 0:n.access_token_exists}),[n]),h=(0,u.useMemo)((function(){var e,n=(null===i||void 0===i||null===(e=i.oauths)||void 0===e?void 0:e.reduce((function(e,n){return e[n.provider]=n,e}),{}))||{};return n[ge.h.GITHUB]=d,n}),[i,d]);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(x.Z,{children:"Authentication"}),(0,U.jsxs)(b.Z,{mt:V.Mq,children:[a&&(0,U.jsxs)(b.Z,{mb:2,children:[(0,U.jsx)(f.ZP,{disabled:!0,children:"Using access token from Git Settings"}),(0,U.jsx)(b.Z,{mt:1,children:(0,U.jsx)(j.ZP,{muted:!0,children:"Some features may not work unless you authenticate with a Git client."})})]}),(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsx)(b.Z,{mb:V.Mq,children:(0,U.jsx)(j.ZP,{muted:!0,children:"Authenticating with the apps below will allow you to easily pull, push, and create pull requests."})}),(0,U.jsxs)(b.Z,{mb:V.Mq,style:{maxWidth:"600px"},children:[(0,U.jsx)(m.Z,{muted:!0}),Object.entries(h||{}).map((function(e){var n=(0,s.Z)(e,2),o=n[0],i=n[1];return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Ze,{isLoadingCreateOauth:r,oauth:i,provider:o,showError:t},o),(0,U.jsx)(m.Z,{muted:!0})]})}))]})]})]})]})};var we=function(e){var n=e.actionRemoteName,r=e.branch,t=e.fetchBranch,o=e.loading,i=e.remotes,l=e.setActionRemoteName,d=e.showError,a=(0,fe.useRouter)(),Z=(0,u.useRef)(null),w=(0,u.useState)(null),k=w[0],S=w[1],E=(0,u.useState)(null),H=E[0],M=E[1],B=(0,u.useState)(null),A=B[0],N=B[1],D=(0,u.useState)(null),R=D[0],G=D[1],W=(0,u.useState)(!1),X=W[0],Y=W[1],J=(0,u.useState)(null),$=J[0],ee=J[1],ne=(0,u.useState)(""),re=ne[0],oe=ne[1],ie=(0,u.useState)(""),le=ie[0],ce=ie[1],se=(0,u.useState)(null),de=se[0],ae=se[1],ue=(0,u.useMemo)((function(){return!(null===r||void 0===r||!r.name)}),[r]);(0,u.useMemo)((function(){return null===r||void 0===r?void 0:r.access_token_exists}),[r]),(0,u.useEffect)((function(){var e,n;null!==r&&void 0!==r&&null!==(e=r.sync_config)&&void 0!==e&&e.repo_path&&null===de&&ae(null===r||void 0===r||null===(n=r.sync_config)||void 0===n?void 0:n.repo_path)}),[r,de]);var me=(0,u.useMemo)((function(){var e,r;return null===i||void 0===i||null===(e=i.find((function(e){return e.name===n})))||void 0===e||null===(r=e.refs)||void 0===r?void 0:r.map((function(e){var n=e.name.split("/");return{name:n[n.length-1]}}))}),[n,i]),ve=(0,h.Db)(_.ZP.syncs.useCreate(),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(){t(),Y(!1)},onErrorCallback:function(e,n){return d({errors:n,response:e})}})}}),xe=(0,s.Z)(ve,2),pe=xe[0],je=xe[1].isLoading,Ze=(0,h.Db)(_.ZP.oauths.useUpdate("github"),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(){return window.location.href=window.location.href.split("?")[0]},onErrorCallback:function(e,n){return d({errors:n,response:e})}})}}),we=(0,s.Z)(Ze,2),_e=(we[0],we[1].isLoading,(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(e){var n=e.git_custom_branch,r=n.error,o=n.progress;r?(M(r),G(null)):(t(),S(null),M(null),N(null),G(o))},onErrorCallback:function(e,n){return d({errors:n,response:e})}})}})),Pe=(0,s.Z)(_e,2),ye=Pe[0],ke=Pe[1].isLoading,Ie=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(){t(),oe(""),ce("")},onErrorCallback:function(e,n){return d({errors:n,response:e})}})}}),Se=(0,s.Z)(Ie,2),Oe=Se[0],Ee=Se[1].isLoading,He=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(){t(),ee(null)},onErrorCallback:function(e,n){ee(null),d({errors:n,response:e})}})}}),Me=(0,s.Z)(He,2),Be=Me[0],Te=Me[1].isLoading,Ae=(0,h.Db)(_.ZP.oauths.useCreate(),{onSuccess:function(e){return(0,F.wD)(e,{callback:function(){return window.location.href="".concat(a.basePath,"/version-control")},onErrorCallback:function(e,n){d({errors:n,response:e})}})}}),Ne=(0,s.Z)(Ae,2),De=Ne[0],Re=Ne[1].isLoading,Ve=(0,be.iV)()||{},Le=Ve.access_token,Fe=Ve.provider;(0,u.useEffect)((function(){Le&&De({oauth:{provider:Fe||ge.h.GITHUB,token:Le}})}),[Le,De,Fe]);var Ue=(0,u.useMemo)((function(){return null===i||void 0===i?void 0:i.map((function(e){var r=e.name,t=e.refs,o=e.urls;return(0,U.jsxs)(b.Z,{mt:V.Mq,children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,U.jsxs)(te.Z,{alignItems:"center",children:[(0,U.jsx)(j.ZP,{bold:!0,children:r}),(0,U.jsx)(b.Z,{mx:1,children:(0,U.jsx)(P._Q,{muted:!0})}),null===o||void 0===o?void 0:o.map((function(e){return(0,U.jsx)(b.Z,{mr:1,children:(0,U.jsx)(j.ZP,{default:!0,monospace:!0,small:!0,children:e})},e)}))]}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsx)(f.ZP,{compact:!0,disabled:Te&&$!==r,iconOnly:!0,loading:Te&&$===r,noBackground:!0,onClick:function(){"undefined"!==typeof location&&window.confirm("Are you sure you want to remove remote ".concat(r,"?"))&&(ee(r),Be({git_custom_branch:{action_type:"remove_remote",remote:{name:r}}}).then((function(){n===r&&l(null)})))},small:!0,title:"Remote remote ".concat(r),children:(0,U.jsx)(P.rF,{})})]})}),(0,U.jsx)(q.Z,{children:(0,U.jsxs)(z.Z,{noPaddingContent:!0,smallTitle:!0,title:"Refs (".concat(null===t||void 0===t?void 0:t.length,")"),children:[0===(null===t||void 0===t?void 0:t.length)&&(0,U.jsx)(b.Z,{p:V.cd,children:(0,U.jsx)(j.ZP,{muted:!0,children:"This remote has no refs."})}),(null===t||void 0===t?void 0:t.length)>=1&&(0,U.jsx)(Q.Z,{columnFlex:[1,1,1],columns:[{uuid:"Ref"},{uuid:"Author"},{uuid:"Date"},{uuid:"Message"}],rows:t.map((function(e){var n,r=e.commit,t=e.name;return[(0,U.jsx)(j.ZP,{default:!0,monospace:!0,small:!0,children:t},"ref-name"),(0,U.jsx)(j.ZP,{default:!0,monospace:!0,small:!0,children:null===r||void 0===r||null===(n=r.author)||void 0===n?void 0:n.name},"author"),(0,U.jsx)(j.ZP,{default:!0,monospace:!0,small:!0,children:null===r||void 0===r?void 0:r.date},"date"),(0,U.jsx)(j.ZP,{default:!0,monospace:!0,small:!0,children:null===r||void 0===r?void 0:r.message},"message")]})),uuid:"git-branch-remotes-refs"})]})}),(0,U.jsx)(b.Z,{mt:V.Mq,children:(0,U.jsx)(m.Z,{light:!0})})]},r)}))}),[Te,$,i,Be]);return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsx)(x.Z,{children:"Setup"}),(0,U.jsxs)(b.Z,{mt:V.Mq,children:[(0,U.jsxs)(b.Z,{mb:1,children:[(0,U.jsx)(j.ZP,{bold:!0,large:!0,children:ue?"Git init directory":"Initialize Git directory"}),!ue&&(0,U.jsxs)(j.ZP,{muted:!0,children:["Enter the directory you want to initialize git in. For example, ",(0,U.jsx)(j.ZP,{bold:!0,inline:!0,monospace:!0,muted:!0,children:"/home/src/default_repo"}),"."]}),ue&&(0,U.jsxs)(j.ZP,{muted:!0,children:["If the directory below is blank, then the current working directory will be used to initialize git.",(0,U.jsx)("br",{}),"If git hasn\u2019t been initialized in the directory below, Mage will automatically run git init for you."]})]}),(0,U.jsxs)(v.ZP,{alignItems:"center",children:[(0,U.jsx)(C.Z,{disabled:ue&&!X,fullWidth:!0,label:"Git directory",maxWidth:400,monospace:!0,onChange:function(e){return ae(e.target.value)},ref:Z,value:de||""}),(0,U.jsx)(b.Z,{mr:1}),(!ue||X)&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(f.ZP,{compact:!0,disabled:!ue&&!de,loading:je,onClick:function(){pe({sync:{repo_path:de}})},primary:!0,small:!0,children:"Save"}),ue&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(b.Z,{mr:1}),(0,U.jsx)(K.Z,{onClick:function(){return Y(!1)},preventDefault:!0,sameColorAsText:!0,small:!0,children:"Cancel"})]})]}),ue&&!X&&(0,U.jsx)(K.Z,{onClick:function(){Y(!0),setTimeout((function(){var e;return null===Z||void 0===Z||null===(e=Z.current)||void 0===e?void 0:e.focus()}),1)},preventDefault:!0,sameColorAsText:!0,small:!0,children:"Edit"})]})]})]}),(0,U.jsx)(b.Z,{mb:V.HN,children:(0,U.jsx)(Ce,{branch:r,isLoadingCreateOauth:Re,showError:d})}),ue&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsxs)(x.Z,{children:["Remotes",!o&&i?" (".concat(null===i||void 0===i?void 0:i.length,")"):""]}),o&&(0,U.jsx)(b.Z,{mt:V.Mq,children:(0,U.jsx)(p.Z,{inverted:!0})}),!o&&Ue,(0,U.jsx)(b.Z,{mt:V.Mq,children:(0,U.jsxs)(v.ZP,{alignItems:"flex-start",children:[(0,U.jsx)(C.Z,{label:"New remote name",monospace:!0,onChange:function(e){var n;return oe(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)},value:re||""}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsxs)(v.ZP,{flexDirection:"column",children:[(0,U.jsx)(C.Z,{label:"Remote URL",monospace:!0,onChange:function(e){var n;return ce(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)},value:le||""}),(0,U.jsx)(b.Z,{mt:1,children:(0,U.jsxs)(j.ZP,{muted:!0,small:!0,children:["Use the https URL if you",(0,U.jsx)("br",{}),"authenticated with GitHub above."]})})]}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsx)(f.ZP,{beforeIcon:(0,U.jsx)(P.mm,{size:2*V.iI}),disabled:!re||!le,loading:Ee,onClick:function(){Oe({git_custom_branch:{action_type:"add_remote",remote:{name:re,url:le}}})},primary:!0,children:"Create new remote"})]})})]}),(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsx)(x.Z,{children:"Actions"}),(0,U.jsxs)(b.Z,{mt:V.Mq,children:[(0,U.jsxs)(b.Z,{mb:V.Mq,children:[(0,U.jsx)(b.Z,{mb:1,children:(0,U.jsx)(j.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(null===r||void 0===r?void 0:r.name)&&(0,U.jsxs)(v.ZP,{alignItems:"center",children:[(0,U.jsx)(j.ZP,{monospace:!0,children:null===r||void 0===r?void 0:r.name}),(0,U.jsx)(b.Z,{mr:V.cd}),(0,U.jsx)(he(),{href:"/version-control?tab=".concat(T.uuid),passHref:!0,children:(0,U.jsx)(K.Z,{small:!0,children:"Switch branch"})})]})]}),(0,U.jsxs)(v.ZP,{children:[(0,U.jsxs)(g.Z,{onChange:function(e){return N(e.target.value)},placeholder:"Action",value:A||"",children:[(0,U.jsx)("option",{value:I,children:(0,L.vg)(I)}),(0,U.jsx)("option",{value:O,children:(0,L.vg)(O)}),(0,U.jsx)("option",{value:"reset",children:(0,L.vg)("reset --hard")}),(0,U.jsx)("option",{value:y,children:(0,L.vg)(y)})]}),(0,U.jsx)(b.Z,{mr:1}),(0,U.jsx)(g.Z,{beforeIcon:(0,U.jsx)(P.VW,{}),beforeIconSize:1.5*V.iI,monospace:!0,onChange:function(e){return l(e.target.value)},placeholder:"Remote",value:n||"",children:null===i||void 0===i?void 0:i.map((function(e){var n=e.name;return(0,U.jsx)("option",{value:n,children:n},n)}))}),![I,y].includes(A)&&(0,U.jsx)(b.Z,{ml:1,children:(0,U.jsxs)(g.Z,{beforeIcon:(0,U.jsx)(P.I0,{}),beforeIconSize:1.5*V.iI,monospace:!0,onChange:function(e){return S(e.target.value)},value:k||"",children:[(0,U.jsx)("option",{value:"",children:"All branches"}),null===me||void 0===me?void 0:me.map((function(e){var n=e.name;return(0,U.jsx)("option",{value:n,children:n},n)}))]})})]}),(0,U.jsxs)(b.Z,{mt:V.cd,children:[(0,U.jsx)(f.ZP,{beforeIcon:(0,U.jsx)(P.Bf,{size:2*V.iI}),disabled:!A||!n,loading:ke,onClick:function(){G(null),(A!==y||"undefined"!==typeof location&&window.confirm("Are you sure you want to clone remote ".concat(n,"? This will ")+"overwrite all your local changes and may reset any settings you may have configured for your local Git repo. This action cannot be undone."))&&ye({git_custom_branch:(0,c.Z)({action_type:A},A,{branch:k,remote:n})})},primary:!0,children:A?(0,L.vg)(A):"Execute action"}),(R||H)&&(0,U.jsx)(b.Z,{mt:V.cd,children:(0,U.jsx)(j.ZP,{danger:!!H,default:!!R,monospace:!0,preWrap:!0,children:R||H})})]})]})]}),(0,U.jsxs)(b.Z,{mb:V.HN,children:[(0,U.jsx)(b.Z,{mb:V.HN,children:(0,U.jsx)(m.Z,{light:!0})}),(0,U.jsx)(v.ZP,{children:(0,U.jsxs)(f.ZP,{afterIcon:(0,U.jsx)(P.Kw,{}),linkProps:{href:"/version-control?tab=".concat(T.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",T.uuid]})})]})]})]})},_e=r(95363),Pe=oe.default.div.withConfig({displayName:"indexstyle__DiffContainerStyle",componentId:"sc-1fo4nus-0"})(["pre{font-family:",";}"],_e.Vp),ye={codeFoldGutter:{},content:{},contentText:{},diffAdded:{},diffContainer:{},diffRemoved:{},emptyGutter:{},emptyLine:{},gutter:{},highlightedGutter:{},highlightedLine:{},line:{},lineNumber:{},marker:{},splitView:{},titleBlock:{},variables:{dark:{addedBackground:"#044B53",addedColor:"white",addedGutterBackground:"#034148",addedGutterColor:"#8c8c8c",codeFoldBackground:"#262831",codeFoldContentColor:"#555a7b",codeFoldGutterBackground:"#21232b",diffViewerBackground:"#2e303c",diffViewerColor:"#FFF",diffViewerTitleBackground:"#2f323e",diffViewerTitleBorderColor:"#353846",diffViewerTitleColor:"#555a7b",emptyLineBackground:"#363946",gutterBackground:"#2c2f3a",gutterBackgroundDark:"#262933",gutterColor:"#464c67",highlightBackground:"#2a3967",highlightGutterBackground:"#2d4077",removedBackground:"#632F34",removedColor:"white",removedGutterBackground:"#632b30",removedGutterColor:"#8c8c8c",wordAddedBackground:"#055d67",wordRemovedBackground:"#7d383f"},light:{addedBackground:"#e6ffed",addedColor:"#24292e",addedGutterBackground:"#cdffd8",addedGutterColor:"#212529",codeFoldBackground:"#f1f8ff",codeFoldContentColor:"#212529",codeFoldGutterBackground:"#dbedff",diffViewerBackground:"#fff",diffViewerColor:"212529",diffViewerTitleBackground:"#fafbfc",diffViewerTitleBorderColor:"#eee",diffViewerTitleColor:"#212529",emptyLineBackground:"#fafbfc",gutterBackground:"#f7f7f7",gutterBackgroundDark:"#f3f1f1",gutterColor:"#212529",highlightBackground:"#fffbdd",highlightGutterBackground:"#fff5b1",removedBackground:"#ffeef0",removedColor:"#24292e",removedGutterBackground:"#ffdce0",removedGutterColor:"#212529",wordAddedBackground:"#acf2bd",wordRemovedBackground:"#fdb8c0"}},wordAdded:{},wordDiff:{},wordRemoved:{}},ke=r(53005),Ie=r(15610),Se=r(86735),Oe=r(23780);function Ee(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 He(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Ee(Object(r),!0).forEach((function(n){(0,c.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ee(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var Me=function(){var e=(0,u.useRef)(null),n=(0,u.useRef)(null),r=(0,Oe.VI)(null,{},[],{uuid:"VersionControlPage"}),t=(0,s.Z)(r,1)[0],o=(0,u.useState)(null),i=o[0],l=o[1],h=(0,u.useState)(null),f=h[0],v=h[1],x=(0,u.useState)(R[0]),Z=x[0],C=x[1],P=(0,be.iV)();(0,u.useEffect)((function(){null!==P&&void 0!==P&&P.tab&&C(R.find((function(e){return e.uuid===(null===P||void 0===P?void 0:P.tab)})))}),[P]);var y=_.ZP.git_custom_branches.list({include_remote_branches:1}),k=y.data,I=y.mutate,S=(0,u.useMemo)((function(){return null===k||void 0===k?void 0:k.git_custom_branches}),[k]),O=_.ZP.git_custom_branches.detail("current",{_format:"with_files"}),E=O.data,H=O.mutate,L=(0,u.useMemo)((function(){return(null===E||void 0===E?void 0:E.git_custom_branch)||{}}),[E]),F=(0,u.useMemo)((function(){return(null===L||void 0===L?void 0:L.files)||[]}),[L]),q=_.ZP.git_custom_branches.detail("with_remotes",{_format:"with_remotes"}),z=q.data,K=q.mutate,Q=(0,u.useMemo)((function(){return null===z||void 0===z?void 0:z.git_custom_branch}),[z]),X=(0,u.useMemo)((function(){return(null===Q||void 0===Q?void 0:Q.remotes)||[]}),[Q]),Y=(0,u.useState)(null),J=Y[0],re=Y[1],te=(0,u.useCallback)((function(e){(0,pe.t8)(M,e),re(e)}),[]);(0,u.useEffect)((function(){var e=(0,pe.U2)(M,null);if(z&&e){var n=null===X||void 0===X?void 0:X.find((function(n){return n.name===e}));te(n?null===n||void 0===n?void 0:n.name:null)}}),[z,X,te]);var oe=(0,u.useState)((0,pe.U2)(B,"")),ie=oe[0],ce=oe[1],se=(0,u.useCallback)((function(e){(0,pe.t8)(B,e),ce(e)}),[]),de=(0,u.useMemo)((function(){return(0,Se.Tw)(X.reduce((function(e,n){var r;return e.concat((null===n||void 0===n||null===(r=n.repository_names)||void 0===r?void 0:r.map((function(e){var r;return{name:e,url:null===n||void 0===n||null===(r=n.urls)||void 0===r?void 0:r[0]}})))||[])}),[]),(function(e){return e.name}))}),[X]);(0,u.useEffect)((function(){var e=(0,pe.U2)(B,null);if(z&&e){var n=null===de||void 0===de?void 0:de.find((function(n){return n.name===e}));se(n?null===n||void 0===n?void 0:n.name:null)}}),[z,de,se]);var ue=_.ZP.git_files.detail(f?encodeURIComponent(f):null,{base_branch:i}),he=ue.data,fe=ue.mutate,me=(0,u.useMemo)((function(){return null===he||void 0===he?void 0:he.git_file}),[he]);(0,u.useEffect)((function(){i&&fe()}),[i,fe]),(0,u.useEffect)((function(){null!==he&&void 0!==he&&he.error&&t({errors:null===he||void 0===he?void 0:he.error,response:he})}),[he,t]);var ve=(0,u.useMemo)((function(){var e,n,r;return{modifiedFiles:null===L||void 0===L||null===(e=L.modified_files)||void 0===e?void 0:e.reduce((function(e,n){return He(He({},e),{},(0,c.Z)({},n,!0))}),{}),stagedFiles:null===L||void 0===L||null===(n=L.staged_files)||void 0===n?void 0:n.reduce((function(e,n){return He(He({},e),{},(0,c.Z)({},n,!0))}),{}),untrackedFiles:null===L||void 0===L||null===(r=L.untracked_files)||void 0===r?void 0:r.reduce((function(e,n){return He(He({},e),{},(0,c.Z)({},n,!0))}),{})}}),[L]),xe=ve.modifiedFiles,ge=void 0===xe?{}:xe,je=ve.stagedFiles,Ze=void 0===je?{}:je,Ce=ve.untrackedFiles,_e=void 0===Ce?{}:Ce;(0,u.useEffect)((function(){f&&(0,le.Qr)(ge)&&(0,le.Qr)(Ze)&&(0,le.Qr)(_e)&&v(null)}),[ge,f,Ze,_e]);var Ee=(0,u.useMemo)((function(){return(null===F||void 0===F?void 0:F.length)>=1?(0,U.jsx)(ne.Z,{allowEmptyFolders:!0,disableContextMenu:!0,fetchFiles:H,files:F,isFileDisabled:function(){return!1},onClickFile:function(e){v((function(r){if(!r||r!==e){var t;if(!i)null===n||void 0===n||null===(t=n.current)||void 0===t||t.focus();return e}return null}))},ref:e,renderAfterContent:function(e){var n,r,t=e.children,o=(null===t||void 0===t?void 0:t.length)>=1,i=(0,ke.a9)(e);o&&(i="".concat(i,"/"));var l={};return null!==ge&&void 0!==ge&&ge[i]?(n="M",r="Modified",l.warning=!0):null!==_e&&void 0!==_e&&_e[i]?(n="U",r="Untracked",l.danger=!0):null!==Ze&&void 0!==Ze&&Ze[i]&&(n="S",r="Staged",l.success=!0),o&&!n?null:(0,U.jsx)(b.Z,{mx:1,children:(0,U.jsx)(w.Z,{appearBefore:!0,label:r,widthFitContent:!0,children:(0,U.jsx)(j.ZP,He(He({},l),{},{monospace:!0,rightAligned:!0,small:!0,children:n}))})})},useRootFolder:!0}):(0,U.jsx)(b.Z,{p:V.cd,children:(0,U.jsx)(j.ZP,{monospace:!0,muted:!0,children:"No files modified"})})}),[i,H,e,F,ge,n,v,Ze,_e]),Me=(0,u.useMemo)((function(){return!he||!me||f&&(null===me||void 0===me?void 0:me.filename)!==f}),[he,me,f]),Be=(0,u.useMemo)((function(){if(!f)return null;var e=me||{},n=e.content,r=e.content_from_base;return(0,U.jsxs)(Pe,{children:[!i&&(0,U.jsx)(b.Z,{p:V.cd,children:(0,U.jsx)(j.ZP,{muted:!0,children:"Please select a base branch to see the file diffs."})}),(null===me||void 0===me?void 0:me.error)&&(0,U.jsx)(b.Z,{p:V.cd,children:(0,U.jsx)(j.ZP,{danger:!0,monospace:!0,preWrap:!0,children:null===me||void 0===me?void 0:me.error})}),i&&!(null!==me&&void 0!==me&&me.error)&&(0,U.jsxs)(U.Fragment,{children:[Me&&(0,U.jsx)(b.Z,{p:V.cd,children:(0,U.jsx)(p.Z,{inverted:!0})}),!Me&&(0,U.jsx)(a(),{compareMethod:d.DiffMethod.WORDS,newValue:n||"",oldValue:r||"",renderContent:function(e){return(0,U.jsx)(j.ZP,{monospace:!0,children:e})},splitView:!0,styles:ye,useDarkTheme:!0})]})]})}),[i,me,Me,f]),Te=(0,u.useMemo)((function(){return E&&null!==L&&void 0!==L&&L.name?R:R.slice(0,1)}),[L,E]),Ae=(0,u.useMemo)((function(){return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)("div",{style:{marginBottom:.5*V.iI,marginTop:.5*V.iI},children:(0,U.jsx)(W.Z,{compact:!0,onClickTab:function(e){var n=e.uuid;(0,Ie.u)({tab:n})},selectedTabUUID:null===Z||void 0===Z?void 0:Z.uuid,tabs:Te})}),(0,U.jsx)(m.Z,{light:!0})]})}),[Z,Te]),Ne=(0,u.useMemo)((function(){return(0,U.jsx)(we,{actionRemoteName:J,branch:L,fetchBranch:function(){H(),K()},loading:!z,remotes:X,setActionRemoteName:te,showError:t})}),[J,L,z,H,K,X,te,t]),De=(0,u.useMemo)((function(){return(0,U.jsx)(G,{actionRemoteName:J,branch:L,branches:S,fetchBranch:H,fetchBranches:I,remotes:X,setActionRemoteName:te,showError:t})}),[J,L,S,H,I,X,te,t]),Re=(0,u.useMemo)((function(){return(0,U.jsx)(ae,{branch:L,fetchBranch:H,modifiedFiles:ge,setSelectedFilePath:v,showError:t,stagedFiles:Ze,untrackedFiles:_e})}),[L,H,ge,v,t,Ze,_e]),Ve=(0,u.useMemo)((function(){return(0,U.jsx)($,{actionRemoteName:J,branch:L,branches:S,fetchBranch:H,loading:!z,modifiedFiles:ge,remotes:X,repositories:de,repositoryName:ie,setActionRemoteName:te,setRepositoryName:se,showError:t,stagedFiles:Ze})}),[J,L,S,z,H,ge,X,de,ie,te,se,t,Ze]);return(0,U.jsx)(ee.Z,{after:Be,afterHidden:!f,afterWidth:40*V.iI,before:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(b.Z,{p:1,children:(0,U.jsx)(g.Z,{compact:!0,label:"Base branch",onChange:function(e){return l(e.target.value)},ref:n,small:!0,value:i||"",children:null===S||void 0===S?void 0:S.map((function(e){var n=e.name;return(0,U.jsx)("option",{value:n,children:n},n)}))})}),Ee]}),mainContainerHeader:Ae,title:"Version control",uuid:"Version control/index",children:(0,U.jsxs)(b.Z,{p:V.cd,children:[!E&&(0,U.jsx)(p.Z,{inverted:!0}),E&&(0,U.jsxs)(U.Fragment,{children:[D.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&Ne,T.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&De,A.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&Re,N.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&Ve]})]})})};function Be(){return(0,U.jsx)(Me,{})}Be.getInitialProps=(0,t.Z)(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)})));var Te=(0,l.Z)(Be)},75302:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/version-control",function(){return r(7828)}])}},function(e){e.O(0,[2678,1154,844,7011,6965,874,1557,8264,7858,5499,5283,2646,5533,9774,2888,179],(function(){return n=75302,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
mage_ai/server/frontend_dist_base_path_template/_next/static/wSRrM15xnvA8lOWcaque7/_buildManifest.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST=function(s,e,a,i,t,c,n,p,l,u,g,r,o,f,k,b,d,h,j,m,w,_,v,y,I,B,F,A,D,E,L,M,N,S,T,U,C,x,P,q,z,G,H,J,K,O,Q,R,V,W){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-a22f976b85beef2d.js"],"/404":["static/chunks/pages/404-5ddd12931e0e3e41.js"],"/_error":["static/chunks/pages/_error-e989623bffcbf724.js"],"/block-layout":[s,F,e,r,d,h,j,_,A,N,a,c,k,m,S,x,"static/chunks/pages/block-layout-d40babdbf465a7e1.js"],"/compute":[s,e,i,g,a,t,c,n,p,l,o,y,"static/chunks/pages/compute-822e66aa2e90cf4c.js"],"/files":[s,e,i,r,D,a,t,c,n,p,l,k,w,E,G,"static/chunks/pages/files-373217c5de51aeef.js"],"/global-data-products":[s,e,i,a,t,c,n,p,I,T,H,"static/chunks/pages/global-data-products-927ebbdc29529765.js"],"/global-data-products/[...slug]":[s,e,i,a,t,c,n,p,I,T,H,"static/chunks/pages/global-data-products/[...slug]-0325e76a2f3e08c1.js"],"/global-hooks":[s,e,i,a,t,c,n,p,l,U,"static/chunks/pages/global-hooks-97bec2ac883e0c26.js"],"/global-hooks/[...slug]":[s,e,i,a,t,c,n,l,U,"static/chunks/pages/global-hooks/[...slug]-a172f5a447bd8925.js"],"/manage":[s,e,i,r,D,a,t,c,n,p,l,k,w,E,"static/chunks/pages/manage-1c327edcf05df9c9.js"],"/manage/files":[s,e,i,r,D,a,t,c,n,p,l,k,w,E,"static/chunks/pages/manage/files-02d001d99eeaae3f.js"],"/manage/settings":[s,e,i,r,a,t,c,k,"static/chunks/pages/manage/settings-2e577bfd4f0db2b7.js"],"/manage/users":[s,e,i,a,t,c,n,p,"static/chunks/pages/manage/users-4e6fdcbbfc931d67.js"],"/manage/users/new":[s,e,i,a,t,c,P,"static/chunks/pages/manage/users/new-a913c361bcc0d1a9.js"],"/manage/users/[user]":[s,e,i,a,t,c,n,p,P,"static/chunks/pages/manage/users/[user]-1827574a4ba95a72.js"],"/oauth":[s,e,i,a,t,"static/chunks/pages/oauth-bd8494f8875c5c97.js"],"/overview":[s,F,e,i,g,r,b,d,h,j,_,L,A,N,a,t,c,n,p,l,o,k,m,w,v,y,M,S,x,J,"static/chunks/pages/overview-5a98e6a531410afb.js"],"/pipeline-runs":[s,e,i,a,t,c,n,p,I,q,"static/chunks/pages/pipeline-runs-1442183d13edec2e.js"],"/pipelines":[s,e,i,g,r,b,d,h,L,a,t,c,n,p,l,o,k,m,w,v,y,M,q,z,"static/chunks/pages/pipelines-627be24ef4963cfb.js"],"/pipelines/[pipeline]":["static/chunks/pages/pipelines/[pipeline]-02c843b9c8418bb5.js"],"/pipelines/[pipeline]/backfills":[s,e,i,a,t,c,n,p,u,"static/chunks/pages/pipelines/[pipeline]/backfills-1c646dbef65d6a69.js"],"/pipelines/[pipeline]/backfills/[...slug]":[s,e,i,g,b,B,C,a,t,c,n,p,l,u,o,I,"static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-38b2241cdd10320c.js"],"/pipelines/[pipeline]/dashboard":[s,F,e,i,r,d,h,j,_,A,N,a,t,c,u,k,m,S,x,"static/chunks/pages/pipelines/[pipeline]/dashboard-35cb916a18ac4e1f.js"],"/pipelines/[pipeline]/edit":[s,F,e,i,g,r,b,d,h,j,_,B,L,A,D,N,"static/chunks/6563-5b3b97c9088baf69.js",a,t,c,n,p,l,o,v,y,M,E,S,G,J,"static/chunks/pages/pipelines/[pipeline]/edit-cd1918632dfef29d.js"],"/pipelines/[pipeline]/logs":[s,e,i,g,d,C,a,t,c,n,p,l,u,m,"static/chunks/pages/pipelines/[pipeline]/logs-67b0572c84db0940.js"],"/pipelines/[pipeline]/monitors":[s,e,i,j,_,a,t,c,u,"static/chunks/pages/pipelines/[pipeline]/monitors-9a116d88f00916ff.js"],"/pipelines/[pipeline]/monitors/block-runs":[s,e,i,j,_,a,t,c,l,u,"static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-40201b626ea3a664.js"],"/pipelines/[pipeline]/monitors/block-runtime":[s,F,e,i,j,_,"static/chunks/6285-648f9a732e100b2f.js",a,t,c,l,u,"static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d1f23308effebe03.js"],"/pipelines/[pipeline]/runs":[s,e,i,g,b,B,a,t,c,n,p,l,u,o,I,K,"static/chunks/pages/pipelines/[pipeline]/runs-5363a7ae9afe8983.js"],"/pipelines/[pipeline]/runs/[run]":[s,e,i,g,b,d,j,B,A,a,t,c,n,p,l,u,o,m,K,"static/chunks/pages/pipelines/[pipeline]/runs/[run]-2d5abcd019d4bea1.js"],"/pipelines/[pipeline]/settings":[s,e,i,a,t,c,u,"static/chunks/pages/pipelines/[pipeline]/settings-931a1b3112866a72.js"],"/pipelines/[pipeline]/syncs":[s,e,i,a,t,c,n,p,u,"static/chunks/pages/pipelines/[pipeline]/syncs-5ec5367cb877db38.js"],"/pipelines/[pipeline]/triggers":[s,e,i,g,b,h,B,C,O,a,t,c,n,p,l,u,o,v,T,q,Q,"static/chunks/pages/pipelines/[pipeline]/triggers-378f8dada7d0c1dd.js"],"/pipelines/[pipeline]/triggers/[...slug]":[s,e,i,g,b,h,B,C,O,a,t,c,n,p,l,u,o,v,I,Q,"static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-8366661f8e2b2959.js"],"/platform/global-hooks":[s,e,i,a,t,c,n,p,l,U,"static/chunks/pages/platform/global-hooks-021ec25e05862f8f.js"],"/platform/global-hooks/[...slug]":[s,e,i,a,t,c,n,l,U,"static/chunks/pages/platform/global-hooks/[...slug]-814bbd11e10c26dc.js"],"/settings":["static/chunks/pages/settings-0f0121db7f5ff93d.js"],"/settings/account/profile":[s,e,i,a,t,c,f,P,"static/chunks/pages/settings/account/profile-2b0aa123043519b8.js"],"/settings/platform/preferences":[s,e,i,a,t,c,f,z,"static/chunks/pages/settings/platform/preferences-05186e17c94347c1.js"],"/settings/platform/settings":[s,e,i,a,t,c,n,f,"static/chunks/pages/settings/platform/settings-efe8bf1bf3177a7e.js"],"/settings/workspace/permissions":[s,e,i,a,t,c,n,p,f,R,"static/chunks/pages/settings/workspace/permissions-ce45aad47049d993.js"],"/settings/workspace/permissions/[...slug]":[s,e,i,a,t,c,n,p,f,R,"static/chunks/pages/settings/workspace/permissions/[...slug]-aa5d871de1f3f7b0.js"],"/settings/workspace/preferences":[s,e,i,a,t,c,f,z,"static/chunks/pages/settings/workspace/preferences-1bc694b056ff0bcb.js"],"/settings/workspace/roles":[s,e,i,a,t,c,n,p,f,V,"static/chunks/pages/settings/workspace/roles-d8ca763e405cd9d1.js"],"/settings/workspace/roles/[...slug]":[s,e,i,a,t,c,n,p,f,V,"static/chunks/pages/settings/workspace/roles/[...slug]-88d29d1774db67e4.js"],"/settings/workspace/sync-data":[s,e,i,a,t,c,f,"static/chunks/pages/settings/workspace/sync-data-42bd909eb8951040.js"],"/settings/workspace/users":[s,e,i,a,t,c,n,p,f,W,"static/chunks/pages/settings/workspace/users-97c4ce119f7238b5.js"],"/settings/workspace/users/[...slug]":[s,e,i,a,t,c,n,p,f,W,"static/chunks/pages/settings/workspace/users/[...slug]-250dfdf22bfe67e9.js"],"/sign-in":[s,e,i,a,t,"static/chunks/pages/sign-in-1af3ba18ff646dd4.js"],"/templates":[s,e,i,g,r,b,d,h,L,a,t,c,n,p,l,o,k,m,w,v,y,M,"static/chunks/pages/templates-299a2c8f2dd89cf3.js"],"/templates/[...slug]":[s,e,i,g,r,b,d,h,L,a,t,c,n,p,l,o,k,m,w,v,y,M,"static/chunks/pages/templates/[...slug]-ff9d49355393daea.js"],"/terminal":[s,e,i,a,t,c,"static/chunks/pages/terminal-fb3f398009a02879.js"],"/test":["static/chunks/pages/test-59a08e06f4ef6c3a.js"],"/triggers":[s,e,i,a,t,c,n,p,T,"static/chunks/pages/triggers-551b85802515e313.js"],"/version-control":[s,e,i,D,"static/chunks/6965-c613d1834c8ed92d.js",a,t,c,n,p,l,w,E,"static/chunks/pages/version-control-1362aeda4a31dd41.js"],sortedPages:["/","/404","/_app","/_error","/block-layout","/compute","/files","/global-data-products","/global-data-products/[...slug]","/global-hooks","/global-hooks/[...slug]","/manage","/manage/files","/manage/settings","/manage/users","/manage/users/new","/manage/users/[user]","/oauth","/overview","/pipeline-runs","/pipelines","/pipelines/[pipeline]","/pipelines/[pipeline]/backfills","/pipelines/[pipeline]/backfills/[...slug]","/pipelines/[pipeline]/dashboard","/pipelines/[pipeline]/edit","/pipelines/[pipeline]/logs","/pipelines/[pipeline]/monitors","/pipelines/[pipeline]/monitors/block-runs","/pipelines/[pipeline]/monitors/block-runtime","/pipelines/[pipeline]/runs","/pipelines/[pipeline]/runs/[run]","/pipelines/[pipeline]/settings","/pipelines/[pipeline]/syncs","/pipelines/[pipeline]/triggers","/pipelines/[pipeline]/triggers/[...slug]","/platform/global-hooks","/platform/global-hooks/[...slug]","/settings","/settings/account/profile","/settings/platform/preferences","/settings/platform/settings","/settings/workspace/permissions","/settings/workspace/permissions/[...slug]","/settings/workspace/preferences","/settings/workspace/roles","/settings/workspace/roles/[...slug]","/settings/workspace/sync-data","/settings/workspace/users","/settings/workspace/users/[...slug]","/sign-in","/templates","/templates/[...slug]","/terminal","/test","/triggers","/version-control"]}}("static/chunks/2852872c-15b31a7081e6a868.js","static/chunks/1154-2f262f7eb38ebaa1.js","static/chunks/874-d9e1b3c9c00ebac9.js","static/chunks/844-1e171f361e63b36d.js","static/chunks/1557-724bfc3eabd095f7.js","static/chunks/8264-68db2a8334ad48f1.js","static/chunks/7858-26a5a5d04fa3c703.js","static/chunks/5499-261cfa2410506eb4.js","static/chunks/5283-8d1dacb2eeb9e652.js","static/chunks/5457-b373ebdf4d05d8e2.js","static/chunks/5820-28adeabb5cda2b96.js","static/chunks/6639-74eefed142e14ea6.js","static/chunks/3745-61b1c63bb56bb670.js","static/chunks/8432-0ace6fb7bdbc6864.js","static/chunks/5810-addfa3491ae6b01c.js","static/chunks/1124-09b283a2f26cc576.js","static/chunks/1751-5adf859690505d7b.js","static/chunks/341-ef0f7b98b7f69802.js","static/chunks/5896-7b8e36634d7d94eb.js","static/chunks/3859-ba594d21a1260cd2.js","static/chunks/2646-78905b899b68f4eb.js","static/chunks/2714-68fef54789d7eaeb.js","static/chunks/8998-e46ae0a83be32d42.js","static/chunks/3004-9fff558eeede3a83.js","static/chunks/3943-a49377acc514e77f.js","static/chunks/9161-837b653aa849a76f.js","static/chunks/29107295-989a0767a635d9d5.js","static/chunks/2631-b9f9bea3f1cf906d.js","static/chunks/7011-81dd8269c4806d26.js","static/chunks/5533-3455832bc3f8429b.js","static/chunks/1821-953efd0da290d25f.js","static/chunks/9264-5df6e4c7b1e85c02.js","static/chunks/4783-422429203610c318.js","static/chunks/976-0a8c2c4d7acd957b.js","static/chunks/9624-89a4b20eb3b3c754.js","static/chunks/3437-ce26fc28e114b44e.js","static/chunks/4495-4f0340aa82e0c623.js","static/chunks/9440-c51bf1e8f271cb25.js","static/chunks/6043-728790621ca9014c.js","static/chunks/2474-352ae192b826d896.js","static/chunks/5729-9d8204ab91da631d.js","static/chunks/161-33f26e485ddef393.js","static/chunks/8731-82571147875a2d58.js","static/chunks/3540-9bb48b08f439d0a0.js","static/chunks/3419-b8bd26f5946bec5a.js","static/chunks/9302-913007e2f801ad65.js","static/chunks/2717-477f64b5e272d5a3.js","static/chunks/8146-7fc9ef7d0202e6ab.js","static/chunks/7022-1c1c93b6222d48f9.js","static/chunks/7361-559f4d2eca379217.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|