mage-ai 0.9.46__py3-none-any.whl → 0.9.47__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.
- mage_ai/api/operations/base.py +27 -5
- mage_ai/api/policies/GlobalHookPolicy.py +1 -1
- mage_ai/api/policies/IntegrationSourcePolicy.py +62 -0
- mage_ai/api/policies/OauthPolicy.py +6 -6
- mage_ai/api/presenters/GlobalHookPresenter.py +1 -1
- mage_ai/api/presenters/IntegrationSourcePresenter.py +9 -2
- mage_ai/api/presenters/PipelinePresenter.py +2 -0
- mage_ai/api/presenters/PipelineRunPresenter.py +8 -3
- mage_ai/api/presenters/PipelineSchedulePresenter.py +22 -1
- mage_ai/api/resources/BlockResource.py +5 -0
- mage_ai/api/resources/DataProviderResource.py +2 -0
- mage_ai/api/resources/IntegrationSourceResource.py +149 -2
- mage_ai/data_integrations/sources/constants.py +5 -0
- mage_ai/data_integrations/utils/scheduler.py +57 -2
- mage_ai/data_preparation/executors/block_executor.py +9 -1
- mage_ai/data_preparation/models/block/__init__.py +25 -12
- mage_ai/data_preparation/models/block/data_integration/constants.py +3 -0
- mage_ai/data_preparation/models/block/data_integration/utils.py +196 -37
- mage_ai/data_preparation/models/block/sql/utils/shared.py +18 -1
- mage_ai/data_preparation/models/block/utils.py +28 -13
- mage_ai/data_preparation/models/global_hooks/constants.py +50 -1
- mage_ai/data_preparation/models/global_hooks/models.py +148 -84
- mage_ai/data_preparation/models/global_hooks/predicates.py +316 -0
- mage_ai/data_preparation/models/pipeline.py +2 -0
- mage_ai/data_preparation/models/pipelines/integration_pipeline.py +0 -1
- mage_ai/data_preparation/preferences.py +29 -18
- mage_ai/data_preparation/repo_manager.py +12 -2
- mage_ai/data_preparation/sync/__init__.py +2 -0
- mage_ai/data_preparation/templates/constants.py +14 -0
- mage_ai/data_preparation/templates/data_exporters/chroma.py +24 -0
- mage_ai/data_preparation/templates/data_exporters/streaming/rabbitmq.yaml +7 -0
- mage_ai/data_preparation/templates/data_loaders/chroma.py +27 -0
- mage_ai/data_preparation/templates/repo/io_config.yaml +3 -0
- mage_ai/io/base.py +1 -0
- mage_ai/io/chroma.py +153 -0
- mage_ai/io/config.py +8 -0
- mage_ai/orchestration/db/models/schedules.py +98 -34
- mage_ai/orchestration/pipeline_scheduler.py +58 -19
- mage_ai/server/constants.py +1 -1
- mage_ai/server/frontend_dist/404.html +2 -2
- mage_ai/server/frontend_dist/_next/static/N3FS4bHv0jpYeeg672uYK/_buildManifest.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{1749-9a6276b2918fdae1.js → 1749-bf512b4dabbab7fa.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{1952-ac7722e8b1ab88fe.js → 1952-57858e7445d24413.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/2714-1e79e9f2e998b544.js → frontend_dist/_next/static/chunks/2714-68fef54789d7eaeb.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2717-92cdffd87b6f6e05.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/3419-f8d518d024e7b5c8.js → frontend_dist/_next/static/chunks/3419-715ca383fa15a5ef.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3437-b4d6a037cf5781f8.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3943-c9fb980f03df6450.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/4267-cb102e060a43d9bd.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/4366-93e09e5a4a7e182c.js → frontend_dist/_next/static/chunks/4366-3e52497942acbafe.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{4783-1a21d9be47574bba.js → 4783-422429203610c318.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5810-e26a0768db1cfdba.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{5896-14e5a23b1c6a0769.js → 5896-7b8e36634d7d94eb.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{6285-e9b45335bfb9ccaf.js → 6285-648f9a732e100b2f.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6798-b904395b0c18647b.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/7022-070ec0144a4d029c.js → frontend_dist/_next/static/chunks/7022-e76cae3ba5ee5312.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/722-900f786d24f91b2e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{7361-694e1e4fb9c97d68.js → 7361-6c5c9063b9f91700.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/8146-92e7ccfed169ee9c.js → frontend_dist/_next/static/chunks/8146-27f0e31f309897a5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/845-9a73c65fe3fdc328.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8487-8e1c09546dff4dbf.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9264-cc44b07f248707b0.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9618-4eb49cdbd1ba11d7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{976-18c98af60b76f1a7.js → 976-0a8c2c4d7acd957b.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/_app-78c4a077a2f279c2.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/files-b37d221eb5ddc248.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-7adc543fc490367a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-51d366993f6dd449.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/{files-449a022f2f0f2d94.js → files-fe6e73463a20d67c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{manage-f83deb790548693b.js → manage-d8a38b5d1f50e798.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-9adc2974aada27ba.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-51b1311dff2a974e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-2333e524d34b474a.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors-e051057d9fe94f23.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors-6d1afeb4a84f50f7.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-1ff9bb8e22ca1e75.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-11363aa58d51f4e1.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-779c3ef0676a12ac.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-bbea9a088657404a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-3737f2b0afc2ede3.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-3c8f062913c66f3e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-c1f4ed17d501ccca.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-8bdd858240d5dbf6.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-dd4fb405695f74bf.js +1 -0
- mage_ai/server/frontend_dist/block-layout.html +2 -2
- mage_ai/server/frontend_dist/compute.html +5 -5
- mage_ai/server/frontend_dist/files.html +5 -5
- mage_ai/server/frontend_dist/global-data-products/[...slug].html +5 -5
- mage_ai/server/frontend_dist/global-data-products.html +5 -5
- mage_ai/server/frontend_dist/global-hooks/[...slug].html +5 -5
- mage_ai/server/frontend_dist/global-hooks.html +5 -5
- mage_ai/server/frontend_dist/index.html +2 -2
- mage_ai/server/frontend_dist/manage/files.html +5 -5
- mage_ai/server/frontend_dist/manage/settings.html +5 -5
- mage_ai/server/frontend_dist/manage/users/[user].html +5 -5
- mage_ai/server/frontend_dist/manage/users/new.html +5 -5
- mage_ai/server/frontend_dist/manage/users.html +5 -5
- mage_ai/server/frontend_dist/manage.html +5 -5
- mage_ai/server/frontend_dist/oauth.html +4 -4
- mage_ai/server/frontend_dist/overview.html +5 -5
- mage_ai/server/frontend_dist/pipeline-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/dashboard.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/settings.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline].html +2 -2
- mage_ai/server/frontend_dist/pipelines.html +5 -5
- mage_ai/server/frontend_dist/settings/account/profile.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/permissions/[...slug].html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/permissions.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/preferences.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/roles/[...slug].html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/roles.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/sync-data.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/users/[...slug].html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/users.html +5 -5
- mage_ai/server/frontend_dist/settings.html +2 -2
- mage_ai/server/frontend_dist/sign-in.html +20 -20
- mage_ai/server/frontend_dist/templates/[...slug].html +5 -5
- mage_ai/server/frontend_dist/templates.html +5 -5
- mage_ai/server/frontend_dist/terminal.html +5 -5
- mage_ai/server/frontend_dist/test.html +5 -5
- mage_ai/server/frontend_dist/triggers.html +5 -5
- mage_ai/server/frontend_dist/version-control.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/404.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/_next/static/aoO6jYZLVlUGCCdY-wmy8/_buildManifest.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{1749-9a6276b2918fdae1.js → 1749-bf512b4dabbab7fa.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{1952-ac7722e8b1ab88fe.js → 1952-57858e7445d24413.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/2714-1e79e9f2e998b544.js → frontend_dist_base_path_template/_next/static/chunks/2714-68fef54789d7eaeb.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-92cdffd87b6f6e05.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/3419-f8d518d024e7b5c8.js → frontend_dist_base_path_template/_next/static/chunks/3419-715ca383fa15a5ef.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3437-b4d6a037cf5781f8.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-c9fb980f03df6450.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4267-cb102e060a43d9bd.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/4366-93e09e5a4a7e182c.js → frontend_dist_base_path_template/_next/static/chunks/4366-3e52497942acbafe.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{4783-1a21d9be47574bba.js → 4783-422429203610c318.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5810-e26a0768db1cfdba.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{5896-14e5a23b1c6a0769.js → 5896-7b8e36634d7d94eb.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{6285-e9b45335bfb9ccaf.js → 6285-648f9a732e100b2f.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6798-b904395b0c18647b.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/7022-070ec0144a4d029c.js → frontend_dist_base_path_template/_next/static/chunks/7022-e76cae3ba5ee5312.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/722-900f786d24f91b2e.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{7361-694e1e4fb9c97d68.js → 7361-6c5c9063b9f91700.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/8146-92e7ccfed169ee9c.js → frontend_dist_base_path_template/_next/static/chunks/8146-27f0e31f309897a5.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/845-9a73c65fe3fdc328.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8487-8e1c09546dff4dbf.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9264-cc44b07f248707b0.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9618-4eb49cdbd1ba11d7.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{976-18c98af60b76f1a7.js → 976-0a8c2c4d7acd957b.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/_app-78c4a077a2f279c2.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/files-b37d221eb5ddc248.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-7adc543fc490367a.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-51d366993f6dd449.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/{files-449a022f2f0f2d94.js → files-fe6e73463a20d67c.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{manage-f83deb790548693b.js → manage-d8a38b5d1f50e798.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-9adc2974aada27ba.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-51b1311dff2a974e.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-2333e524d34b474a.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors-e051057d9fe94f23.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors-6d1afeb4a84f50f7.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-1ff9bb8e22ca1e75.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-11363aa58d51f4e1.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-779c3ef0676a12ac.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-bbea9a088657404a.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-3737f2b0afc2ede3.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-3c8f062913c66f3e.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-c1f4ed17d501ccca.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-8bdd858240d5dbf6.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/version-control-dd4fb405695f74bf.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/block-layout.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/compute.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/files.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/global-data-products/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/global-data-products.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/global-hooks/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/global-hooks.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/index.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/manage/files.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/manage/settings.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/manage/users/[user].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/manage/users/new.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/manage/users.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/manage.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/oauth.html +4 -4
- mage_ai/server/frontend_dist_base_path_template/overview.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipeline-runs.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/dashboard.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/edit.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/logs.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runs.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runtime.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs/[run].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/settings.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/syncs.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/account/profile.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/preferences.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/sync-data.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/users/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/users.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/sign-in.html +23 -23
- mage_ai/server/frontend_dist_base_path_template/templates/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/templates.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/terminal.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/test.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/triggers.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/version-control.html +5 -5
- mage_ai/server/server.py +9 -3
- mage_ai/services/k8s/job_manager.py +1 -0
- mage_ai/settings/repo.py +3 -0
- mage_ai/shared/files.py +47 -0
- mage_ai/shared/models.py +1 -0
- mage_ai/streaming/constants.py +1 -0
- mage_ai/streaming/sinks/postgres.py +2 -0
- mage_ai/streaming/sinks/rabbitmq.py +76 -0
- mage_ai/streaming/sinks/sink_factory.py +4 -0
- mage_ai/tests/api/operations/test_operations_with_hooks.py +136 -91
- mage_ai/tests/api/policies/test_oauth_policy.py +38 -0
- mage_ai/tests/data_preparation/models/global_hooks/test_global_hooks.py +33 -8
- mage_ai/tests/data_preparation/models/global_hooks/test_hook.py +82 -38
- mage_ai/tests/data_preparation/models/global_hooks/test_predicates.py +803 -0
- mage_ai/tests/data_preparation/models/global_hooks/test_utils.py +6 -1
- mage_ai/tests/data_preparation/models/test_block.py +26 -0
- mage_ai/tests/data_preparation/models/test_pipeline.py +10 -0
- mage_ai/tests/factory.py +40 -2
- mage_ai/tests/orchestration/test_pipeline_scheduler.py +82 -1
- mage_ai/tests/services/k8s/test_job_manager.py +16 -0
- mage_ai/tests/shared/mixins.py +60 -23
- mage_ai/tests/streaming/sinks/test_rabbitmq.py +36 -0
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.47.dist-info}/METADATA +7 -4
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.47.dist-info}/RECORD +257 -243
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.47.dist-info}/WHEEL +1 -1
- mage_ai/server/frontend_dist/_next/static/9jB4XPuz6BzxBcG9VNao5/_buildManifest.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3943-9e1105393a3be0de.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/4267-fd4d8049e83178de.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5810-12eadc488265d55b.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/595-0d174b1f9fbfce4f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6333-bc1b433b428a9095.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/722-a1584445357a276c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8487-032ef9b17d20aad9.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9264-1d4f0327d42fed91.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9618-2c5045255ac5a6e7.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/_app-ebef928183f9a3bb.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/files-0f2d4be6fdca86ca.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-77edfa32d000e88b.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-e561ae38cf5592e8.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-10e9a2d19541caa2.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-c8d3a5289ab93f88.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-ff7e9108502f5716.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-0691711636fa95c7.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-2914e326a5f1ffe0.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-3a7500e6e53084d3.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-c0e551d265a8d467.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-e47db5c3eaf683af.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-55ac955dfa9a5a8d.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-29c92a9bc54ae5cd.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-572d82d6eb7a5d43.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-2d26d80370a2e481.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-9e1105393a3be0de.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4267-fd4d8049e83178de.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5810-12eadc488265d55b.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/595-0d174b1f9fbfce4f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6333-bc1b433b428a9095.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/722-a1584445357a276c.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8487-032ef9b17d20aad9.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9264-1d4f0327d42fed91.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9618-2c5045255ac5a6e7.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/_app-ebef928183f9a3bb.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/files-0f2d4be6fdca86ca.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-77edfa32d000e88b.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-e561ae38cf5592e8.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-10e9a2d19541caa2.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-c8d3a5289ab93f88.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-ff7e9108502f5716.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-0691711636fa95c7.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-2914e326a5f1ffe0.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-3a7500e6e53084d3.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-c0e551d265a8d467.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-e47db5c3eaf683af.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-55ac955dfa9a5a8d.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-29c92a9bc54ae5cd.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-572d82d6eb7a5d43.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/version-control-2d26d80370a2e481.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/uPDjJYpJMst1q6psbRyte/_buildManifest.js +0 -1
- /mage_ai/server/frontend_dist/_next/static/{9jB4XPuz6BzxBcG9VNao5 → N3FS4bHv0jpYeeg672uYK}/_ssgManifest.js +0 -0
- /mage_ai/server/frontend_dist_base_path_template/_next/static/{uPDjJYpJMst1q6psbRyte → aoO6jYZLVlUGCCdY-wmy8}/_ssgManifest.js +0 -0
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.47.dist-info}/LICENSE +0 -0
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.47.dist-info}/entry_points.txt +0 -0
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.47.dist-info}/top_level.txt +0 -0
|
@@ -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 C}});var t=r(82394),o=r(21831),i=r(82684),l=r(50724),c=r(82555),u=r(97618),s=r(70613),a=r(68487),d=r(68899),h=r(28598);function f(e,n){var r=e.children,t=e.noPadding;return(0,h.jsx)(d.HS,{noPadding:t,ref:n,children:r})}var m=i.forwardRef(f),v=r(62547),b=r(82571),g=r(35686),p=r(98464),j=r(46684),x=r(70515),Z=r(53808),P=r(19183);function y(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function _(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?y(Object(r),!0).forEach((function(n){(0,t.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}function w(e,n){var r,t=e.addProjectBreadcrumbToCustomBreadcrumbs,f=e.after,y=e.afterHeader,w=e.afterHidden,C=e.afterWidth,k=e.afterWidthOverride,S=e.appendBreadcrumbs,O=e.before,I=e.beforeWidth,T=e.breadcrumbs,E=e.children,A=e.errors,N=e.headerMenuItems,R=e.headerOffset,M=e.hideAfterCompletely,D=e.mainContainerHeader,B=e.navigationItems,H=e.setAfterHidden,L=e.setErrors,F=e.subheaderChildren,G=e.subheaderNoPadding,V=e.title,Y=e.uuid,U=(0,P.i)().width,q="dashboard_after_width_".concat(Y),W="dashboard_before_width_".concat(Y),z=(0,i.useRef)(null),K=(0,i.useState)(k?C:(0,Z.U2)(q,C)),Q=K[0],X=K[1],J=(0,i.useState)(!1),$=J[0],ee=J[1],ne=(0,i.useState)(O?Math.max((0,Z.U2)(W,I),13*x.iI):null),re=ne[0],te=ne[1],oe=(0,i.useState)(!1),ie=oe[0],le=oe[1],ce=(0,i.useState)(null)[1],ue=g.ZP.projects.list({},{revalidateOnFocus:!1}).data,se=null===ue||void 0===ue?void 0:ue.projects,ae={label:function(){var e;return null===se||void 0===se||null===(e=se[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},de=[];T&&(t&&de.push(ae),de.push.apply(de,(0,o.Z)(T))),(null===T||void 0===T||!T.length||S)&&(null===se||void 0===se?void 0:se.length)>=1&&(null!==T&&void 0!==T&&T.length||de.unshift({bold:!S,label:function(){return V}}),de.unshift(ae)),(0,i.useEffect)((function(){null===z||void 0===z||!z.current||$||ie||null===ce||void 0===ce||ce(z.current.getBoundingClientRect().width)}),[$,Q,ie,re,z,ce,U]),(0,i.useEffect)((function(){$||(0,Z.t8)(q,Q)}),[w,$,Q,q]),(0,i.useEffect)((function(){ie||(0,Z.t8)(W,re)}),[ie,re,W]);var he=(0,p.Z)(C);return(0,i.useEffect)((function(){k&&he!==C&&X(C)}),[k,C,he]),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(s.Z,{title:V}),(0,h.jsx)(a.Z,{breadcrumbs:de,menuItems:N,project:null===se||void 0===se?void 0:se[0],version:null===se||void 0===se||null===(r=se[0])||void 0===r?void 0:r.version}),(0,h.jsxs)(d.Nk,{ref:n,children:[0!==(null===B||void 0===B?void 0:B.length)&&(0,h.jsx)(d.lm,{showMore:!0,children:(0,h.jsx)(b.Z,{navigationItems:B,showMore:!0})}),(0,h.jsx)(u.Z,{flex:1,flexDirection:"column",children:(0,h.jsxs)(v.Z,{after:f,afterHeader:y,afterHeightOffset:j.Mz,afterHidden:w,afterMousedownActive:$,afterWidth:Q,before:O,beforeHeightOffset:j.Mz,beforeMousedownActive:ie,beforeWidth:d.k1+(O?re:0),headerOffset:R,hideAfterCompletely:!H||M,leftOffset:O?d.k1:null,mainContainerHeader:D,mainContainerRef:z,setAfterHidden:H,setAfterMousedownActive:ee,setAfterWidth:X,setBeforeMousedownActive:le,setBeforeWidth:te,children:[F&&(0,h.jsx)(m,{noPadding:G,children:F}),E]})})]}),A&&(0,h.jsx)(l.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===L||void 0===L?void 0:L(null)},children:(0,h.jsx)(c.Z,_(_({},A),{},{onClose:function(){return null===L||void 0===L?void 0:L(null)}}))})]})}var C=i.forwardRef(w)},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 d},j5:function(){return f},uM:function(){return a}});var t,o,i=r(82394),l=r(57653),c=r(82359),u=r(72473),s=r(86735),a="sideview",d=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.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,s.HK)(f(e),(function(e){return e.key}))}var v=(t={},(0,i.Z)(t,o.ADDON_BLOCKS,u.EJ),(0,i.Z)(t,o.BLOCK_SETTINGS,u.JG),(0,i.Z)(t,o.CALLBACKS,u.AQ),(0,i.Z)(t,o.CHARTS,u.GQ),(0,i.Z)(t,o.DATA,u.iA),(0,i.Z)(t,o.EXTENSIONS,u.Bf),(0,i.Z)(t,o.INTERACTIONS,u.yd),(0,i.Z)(t,o.SECRETS,u.Yo),(0,i.Z)(t,o.SETTINGS,u.Zr),(0,i.Z)(t,o.TERMINAL,u.oI),(0,i.Z)(t,o.TREE,u.mp),(0,i.Z)(t,o.VARIABLES,u.LO),t)},89706:function(e,n,r){"use strict";r.d(n,{JD:function(){return v},Lu:function(){return i},PF:function(){return h},dT:function(){return l},n6:function(){return s},nB:function(){return m},oy:function(){return f},xF:function(){return d}});var t,o,i,l,c=r(82394),u=r(44425);!function(e){e.CSV="csv",e.JSON="json",e.MD="md",e.PY="py",e.R="r",e.SH="sh",e.SQL="sql",e.TXT="txt",e.YAML="yaml",e.YML="yml"}(i||(i={})),function(e){e.INIT_PY="__init__.py",e.METADATA_YAML="metadata.yaml",e.REQS_TXT="requirements.txt"}(l||(l={}));var s=[i.PY,i.SQL],a=[i.JSON,i.MD,i.PY,i.R,i.SH,i.SQL,i.TXT,i.YAML,i.YML],d=new RegExp(a.map((function(e){return".".concat(e,"$")})).join("|")),h=(new RegExp(a.map((function(e){return".".concat(e,"$")})).join("|")),"charts"),f="pipelines",m=(t={},(0,c.Z)(t,i.MD,u.t6.MARKDOWN),(0,c.Z)(t,i.JSON,i.JSON),(0,c.Z)(t,i.PY,u.t6.PYTHON),(0,c.Z)(t,i.R,u.t6.R),(0,c.Z)(t,i.SQL,u.t6.SQL),(0,c.Z)(t,i.TXT,"text"),(0,c.Z)(t,i.YAML,u.t6.YAML),(0,c.Z)(t,i.YML,u.t6.YAML),t),v=(o={},(0,c.Z)(o,u.t6.MARKDOWN,i.MD),(0,c.Z)(o,u.t6.PYTHON,i.PY),(0,c.Z)(o,u.t6.R,i.R),(0,c.Z)(o,u.t6.SQL,i.SQL),(0,c.Z)(o,u.t6.YAML,i.YAML),(0,c.Z)(o,"text",i.TXT),o)},72098:function(e,n,r){"use strict";var t;r.d(n,{U:function(){return t}}),function(e){e.PYSPARK="pysparkkernel",e.PYTHON3="python3"}(t||(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),u=r(70515),s=r(69419),a=r(53808),d=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,d.jsx)(d.Fragment,{children:h&&(0,d.jsx)(l.ZP,{beforeElement:(0,d.jsx)(c._8,{size:2*u.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,s.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,d.jsx)(d.Fragment,{children:h&&(0,d.jsx)(l.ZP,{beforeElement:(0,d.jsx)(c.Dg,{size:2*u.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,s.iV)(h).state;m&&(0,a.t8)(e,m),r.push(h)},uuid:"SignForm/active_directory",children:"Sign in with Microsoft"})})};var m,v,b=function(e){var n=e.oauthResponse,r=(0,i.useRouter)(),t=(0,o.useMemo)((function(){return n||{}}),[n]),c=t.url,u=t.redirect_query_params,h=void 0===u?{}:u;return(0,d.jsx)(d.Fragment,{children:c&&(0,d.jsx)(l.ZP,{bold:!0,inline:!0,onClick:function(){var e=(0,s.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.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,b),m)},57653:function(e,n,r){"use strict";r.d(n,{$1:function(){return v},G7:function(){return p},LM:function(){return j},Mj:function(){return x},QK:function(){return m},RH:function(){return g},a_:function(){return P},fj:function(){return y},kA:function(){return Z},qL:function(){return c},r0:function(){return b}});var t,o,i,l,c,u=r(75582),s=r(82394),a=r(72473),d=r(72098);function h(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 f(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?h(Object(r),!0).forEach((function(n){(0,s.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}!function(e){e.INTEGRATION="integration",e.PYTHON="python",e.PYSPARK="pyspark",e.STREAMING="streaming"}(c||(c={}));var m,v,b,g=(t={},(0,s.Z)(t,c.INTEGRATION,"Integration"),(0,s.Z)(t,c.PYTHON,"Python"),(0,s.Z)(t,c.PYSPARK,"PySpark"),(0,s.Z)(t,c.STREAMING,"Streaming"),t),p=(o={},(0,s.Z)(o,c.INTEGRATION,"Integration"),(0,s.Z)(o,c.PYTHON,"Standard"),(0,s.Z)(o,c.PYSPARK,"PySpark"),(0,s.Z)(o,c.STREAMING,"Streaming"),o),j="all",x=(c.PYTHON,c.INTEGRATION,c.STREAMING,i={},(0,s.Z)(i,j,a.ie),(0,s.Z)(i,c.INTEGRATION,a.YC),(0,s.Z)(i,c.PYTHON,a.El),(0,s.Z)(i,c.STREAMING,a.dB),i);!function(e){e.ACTIVE="active",e.INACTIVE="inactive",e.NO_SCHEDULES="no_schedules",e.RETRY="retry",e.RETRY_INCOMPLETE_BLOCK_RUNS="retry_incomplete_block_runs"}(m||(m={})),function(e){e.GROUP="group_by",e.HISTORY_DAYS="from_history_days",e.NO_TAGS="no_tags",e.STATUS="status[]",e.TAG="tag[]",e.TYPE="type[]"}(v||(v={})),function(e){e.STATUS="status",e.TAG="tag",e.TYPE="type"}(b||(b={}));var Z=[m.ACTIVE,m.INACTIVE,m.NO_SCHEDULES],P=(l={},(0,s.Z)(l,c.PYTHON,d.U.PYTHON3),(0,s.Z)(l,c.PYSPARK,d.U.PYSPARK),l),y=Object.entries(P).reduce((function(e,n){var r=(0,u.Z)(n,2),t=r[0],o=r[1];return f(f({},e),{},(0,s.Z)({},o,t))}),{})},65956:function(e,n,r){"use strict";var t=r(38626),o=r(55485),i=r(38276),l=r(30160),c=r(44897),u=r(42631),s=r(47041),a=r(70515),d=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;"," "," "," "," "," "," "," "," "," "," "," ",""],u.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;"," "," "," ",""],u.n_,u.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,s.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 "})),b=t.default.div.withConfig({displayName:"Panel__FooterStyle",componentId:"sc-1ct8cgl-3"})(["border-style:",";border-top-width:","px;padding:","px;"],u.M8,u.YF,1.75*a.iI);n.Z=function(e){var n=e.borderless,r=e.children,t=e.containerRef,c=e.contentContainerRef,u=e.dark,s=e.footer,a=e.fullHeight,h=void 0===a||a,g=e.fullWidth,p=void 0===g||g,j=e.header,x=e.headerHeight,Z=e.headerIcon,P=e.headerPaddingVertical,y=e.headerTitle,_=e.maxHeight,w=e.maxWidth,C=e.minWidth,k=e.noPadding,S=e.overflowVisible,O=e.subtitle,I=e.success;return(0,d.jsxs)(f,{borderless:n,dark:u,fullHeight:h,fullWidth:p,maxHeight:_,maxWidth:w,minWidth:C,overflowVisible:S,ref:t,success:I,children:[(j||y)&&(0,d.jsxs)(m,{headerPaddingVertical:P,height:x,children:[j&&j,y&&(0,d.jsx)(o.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,d.jsxs)(o.ZP,{alignItems:"center",children:[Z&&Z,(0,d.jsx)(i.Z,{ml:Z?1:0,children:(0,d.jsx)(l.ZP,{bold:!0,default:!0,children:y})})]})})]}),(0,d.jsxs)(v,{maxHeight:_,noPadding:k,overflowVisible:S,ref:c,children:[O&&(0,d.jsx)(i.Z,{mb:2,children:(0,d.jsx)(l.ZP,{default:!0,children:O})}),r]}),s&&(0,d.jsx)(b,{children:s})]})}},35185:function(e,n,r){"use strict";var t=r(82394),o=r(91835),i=(r(82684),r(38626)),l=r(44897),c=r(42631),u=r(70515),s=r(28598);function a(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 d(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?a(Object(r),!0).forEach((function(n){(0,t.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var h=i.default.div.withConfig({displayName:"ProgressBar__ProgressBarContainerStyle",componentId:"sc-10x9ojc-0"})(["border-radius:","px;height:","px;overflow:hidden;position:relative;width:100%;",""],c.BG,.75*u.iI,(function(e){return"\n background-color: ".concat((e.theme.monotone||l.Z.monotone).grey200,";\n ")})),f=i.default.div.withConfig({displayName:"ProgressBar__ProgressBarStyle",componentId:"sc-10x9ojc-1"})(["height:inherit;position:absolute;"," "," "," ",""],(function(e){return!e.danger&&"\n background-color: ".concat((e.theme.progress||l.Z.progress).positive,";\n ")}),(function(e){return e.progress&&"\n width: ".concat(e.progress,"%;\n ")}),(function(e){return e.danger&&"\n background-color: ".concat((e.theme.progress||l.Z.progress).negative,";\n ")}),(function(e){return e.animateProgress&&"\n animation: animate-progress ".concat(e.animateProgress.duration,"ms linear forwards;\n\n @keyframes animate-progress {\n 0% {\n width: ").concat(e.animateProgress.start,"%;\n }\n\n 100% {\n width: ").concat(e.animateProgress.end,"%;\n }\n }\n ")}));n.Z=function(e){var n=(0,o.Z)({},e);return(0,s.jsx)(h,d(d({},n),{},{children:(0,s.jsx)(f,d({},n))}))}},58024:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return Se}});var t=r(77837),o=r(38860),i=r.n(o),l=r(93808),c=r(82394),u=r(75582),s=r(54407),a=r.n(s),d=r(82684),h=r(69864),f=r(71180),m=r(15338),v=r(55485),b=r(85854),g=r(44085),p=r(38276),j=r(4190),x=r(30160),Z=r(35576),P=r(17488),y=r(12468),_=r(35686),w=r(72473),C="clone",k="delete",S="fetch",O="merge",I="pull",T="push",E="rebase",A="git_remote_name",N="git_repository_name",R={uuid:"Branches"},M={uuid:"Files"},D={uuid:"Push"},B={uuid:"Setup"},H=[B,R,M,D],L=r(70515),F=r(81728),G=r(72619),V=r(28598);var Y=function(e){var n=e.actionRemoteName,r=e.branch,t=e.branches,o=e.fetchBranch,i=e.fetchBranches,l=e.remotes,s=e.setActionRemoteName,a=e.showError,C=(0,d.useState)(""),S=C[0],I=C[1],T=(0,d.useState)(null),A=T[0],N=T[1],R=(0,d.useState)(null),D=R[0],H=R[1],Y=(0,d.useState)(null),U=Y[0],q=Y[1],W=(0,d.useState)(""),z=W[0],K=W[1],Q=(0,d.useMemo)((function(){return null===l||void 0===l?void 0:l.find((function(e){return e.name===n}))}),[n,l]),X=(0,d.useMemo)((function(){return(null===t||void 0===t?void 0:t.concat((null===Q||void 0===Q?void 0:Q.refs)||[]))||[]}),[t,Q]),J=(0,h.Db)(_.ZP.git_custom_branches.useCreate(),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){o(),i(),K("")},onErrorCallback:function(e,n){return a({errors:n,response:e})}})}}),$=(0,u.Z)(J,2),ee=$[0],ne=$[1].isLoading,re=(0,h.Db)(_.ZP.git_custom_branches.useCreate(),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){o()},onErrorCallback:function(e,n){return a({errors:n,response:e})}})}}),te=(0,u.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,G.wD)(e,{callback:function(e){var n=e.git_custom_branch.progress;o(),I(""),N(""),H(n),q("")},onErrorCallback:function(e,n){return a({errors:n,response:e})}})}}),ce=(0,u.Z)(le,2),ue=ce[0],se=ce[1].isLoading;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsxs)(b.Z,{children:["Branches",t?" (".concat(null===t||void 0===t?void 0:t.length,")"):""]}),(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsxs)(v.ZP,{children:[(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Remote"})}),(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.VW,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return s(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,V.jsx)("option",{value:n,children:n},n)}))})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsx)(y.Z,{fullSize:!0,label:"Choose a different branch to switch branches",widthFitContent:!0,children:(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{muted:!1}),beforeIconSize:2*L.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,V.jsx)("option",{value:n,children:n},n)})))})}),(0,V.jsx)(p.Z,{mr:L.cd}),ie&&(0,V.jsx)(j.Z,{inverted:!0})]})]})]})}),(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsx)(P.Z,{label:"New branch name",monospace:!0,onChange:function(e){var n;return K(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)},value:z||""}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.mm,{size:2*L.iI}),disabled:!z,loading:ne,onClick:function(){ee({git_custom_branch:{name:z}})},primary:!0,children:"Create new branch"})]})})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(b.Z,{children:"Actions"}),(0,V.jsxs)(p.Z,{mt:L.Mq,children:[(0,V.jsxs)(p.Z,{mb:L.Mq,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),(null===r||void 0===r?void 0:r.name)&&(0,V.jsx)(x.ZP,{monospace:!0,children:null===r||void 0===r?void 0:r.name})]}),(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Base branch"})}),(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return q(e.target.value)},placeholder:"Choose a branch",value:U,children:null===X||void 0===X?void 0:X.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Action"})}),(0,V.jsxs)(g.Z,{onChange:function(e){return N(e.target.value)},placeholder:"Choose action",value:A||"",children:[(0,V.jsx)("option",{value:O,children:(0,F.vg)(O)}),(0,V.jsx)("option",{value:E,children:(0,F.vg)(E)}),(0,V.jsx)("option",{value:k,children:(0,F.vg)(k)})]})]})]}),A&&[O,E].includes(A)&&(0,V.jsxs)(p.Z,{mt:L.cd,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsxs)(x.ZP,{bold:!0,muted:!0,children:["Message for ",A]})}),(0,V.jsx)(Z.Z,{monospace:!0,onChange:function(e){return I(e.target.value)},value:S||""})]}),(0,V.jsxs)(p.Z,{mt:L.cd,children:[(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Bf,{size:2*L.iI}),disabled:!A||!U,loading:se,onClick:function(){(k!==A||"undefined"!==typeof location&&window.confirm("Are you sure you want to delete branch ".concat(U,"?")))&&ue({git_custom_branch:(0,c.Z)({action_type:A,message:S},A,{base_branch:U})})},primary:!0,children:A?(0,F.vg)(A):"Execute action"}),D&&(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsx)(x.ZP,{default:!0,monospace:!0,preWrap:!0,children:D})})]})]})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsxs)(v.ZP,{children:[(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Hd,{}),linkProps:{href:"/version-control?tab=".concat(B.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:B.uuid}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)(f.ZP,{afterIcon:(0,V.jsx)(w.Kw,{}),linkProps:{href:"/version-control?tab=".concat(M.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",M.uuid]})]})]})]})},U=r(90299),q=r(32013),W=r(98777),z=r(48670),K=r(75499);function Q(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 X(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Q(Object(r),!0).forEach((function(n){(0,c.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(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,s=e.repositories,a=e.repositoryName,y=e.setActionRemoteName,C=e.setRepositoryName,k=e.showError,S=(0,d.useState)((null===r||void 0===r?void 0:r.name)||""),O=S[0],I=S[1],E=(0,d.useState)(null),A=E[0],N=E[1],R=(0,d.useState)(null),D=R[0],B=R[1],H=(0,d.useState)(J),Y=H[0],U=H[1],Q=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(e){var n=e.git_custom_branch,r=n.error,t=n.progress;r?(N(r),B(null)):(o(),N(null),B(t))},onErrorCallback:function(e,n){return k({errors:n,response:e})}})}}),$=(0,u.Z)(Q,2),ee=$[0],ne=$[1].isLoading,re=_.ZP.pull_requests.list({repository:a},{},{pauseFetch:!a}),te=re.data,oe=re.mutate,ie=(0,d.useMemo)((function(){return(null===te||void 0===te?void 0:te.pull_requests)||[]}),[te]),le=(0,d.useMemo)((function(){return(0,V.jsx)(K.Z,{columnFlex:[null,null,null,null],columns:[{uuid:"Title"},{uuid:"Author"},{uuid:"Created"},{uuid:"Last modified"}],onClickRow:function(e){var n,r=null===ie||void 0===ie||null===(n=ie[e])||void 0===n?void 0:n.url;r&&window.open(r,"_blank")},rows:null===ie||void 0===ie?void 0:ie.map((function(e){var n=e.created_at,r=e.last_modified,t=e.title,o=e.url,i=e.user;return[(0,V.jsx)(z.Z,{default:!0,href:o,monospace:!0,openNewWindow:!0,small:!0,children:t},"title"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:i},"user"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:n},"createdAt"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:r||"-"},"lastModified")]})),uuid:"pull-requests"})}),[ie]),ce=_.ZP.git_custom_branches.list({repository:a},{},{pauseFetch:!a}).data,ue=(0,d.useMemo)((function(){return(null===ce||void 0===ce?void 0:ce.git_custom_branches)||[]}),[ce]);(0,d.useEffect)((function(){null!==Y&&void 0!==Y&&Y.compare_branch||null===ue||void 0===ue||!ue.find((function(e){return e.name===(null===r||void 0===r?void 0:r.name)}))||U((function(e){return X(X({},e),{},{compare_branch:null===r||void 0===r?void 0:r.name})}))}),[r,ue,Y]);var se=(0,h.Db)(_.ZP.pull_requests.useCreate(),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){oe(),U(J)},onErrorCallback:function(e,n){return k({errors:n,response:e})}})}}),ae=(0,u.Z)(se,2),de=ae[0],he=ae[1].isLoading;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(b.Z,{children:(0,F.vg)(T)})}),(0,V.jsxs)(p.Z,{mt:L.Mq,children:[(0,V.jsxs)(v.ZP,{children:[(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Remote"})}),i&&(0,V.jsx)(j.Z,{inverted:!0}),!i&&(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.VW,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return y(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,V.jsx)("option",{value:n,children:n},n)}))})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Branch"})}),(0,V.jsxs)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return I(e.target.value)},placeholder:"Choose branch",value:O||"",children:[(0,V.jsx)("option",{value:""}),null===t||void 0===t?void 0:t.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsxs)(f.ZP,{beforeIcon:(0,V.jsx)(w.Bf,{size:2*L.iI}),disabled:!n||!O,loading:ne,onClick:function(){B(null),ee({git_custom_branch:(0,c.Z)({action_type:T},T,{branch:O,remote:n})})},primary:!0,children:[(0,F.vg)(T)," ",n," ",n&&O]})}),(D||A)&&(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsx)(x.ZP,{danger:!!A,default:!!D,monospace:!0,preWrap:!0,children:D||A})})]})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(b.Z,{children:"Create pull request"})}),(0,V.jsxs)(p.Z,{mt:L.Mq,children:[i&&(0,V.jsx)(j.Z,{inverted:!0}),!i&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(v.ZP,{children:[(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Repository"})}),(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.fy,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return C(e.target.value)},placeholder:"Choose repository",value:a||"",children:null===s||void 0===s?void 0:s.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Base branch"})}),a&&!ce&&(0,V.jsx)(j.Z,{inverted:!0}),(!a||ce)&&(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{}),beforeIconSize:1.5*L.iI,disabled:!a,monospace:!0,onChange:function(e){return U((function(n){return X(X({},n),{},{base_branch:e.target.value})}))},placeholder:"Choose branch",value:(null===Y||void 0===Y?void 0:Y.base_branch)||"",children:null===ue||void 0===ue?void 0:ue.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),a&&!ce&&(0,V.jsx)(j.Z,{inverted:!0}),(!a||ce||(null===Y||void 0===Y?void 0:Y.compare_branch))&&(0,V.jsxs)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{}),beforeIconSize:1.5*L.iI,disabled:!a,monospace:!0,onChange:function(e){return U((function(n){return X(X({},n),{},{compare_branch:e.target.value})}))},placeholder:"Choose branch",value:(null===Y||void 0===Y?void 0:Y.compare_branch)||"",children:[!(null!==ue&&void 0!==ue&&ue.length)&&(null===Y||void 0===Y?void 0:Y.compare_branch)&&(0,V.jsx)("option",{value:null===Y||void 0===Y?void 0:Y.compare_branch,children:null===Y||void 0===Y?void 0:Y.compare_branch}),null===ue||void 0===ue?void 0:ue.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,V.jsx)(p.Z,{mt:1,children:(0,V.jsx)(P.Z,{label:"Title",monospace:!0,onChange:function(e){return U((function(n){return X(X({},n),{},{title:e.target.value})}))},value:(null===Y||void 0===Y?void 0:Y.title)||""})}),(0,V.jsx)(p.Z,{mt:1,children:(0,V.jsx)(Z.Z,{label:"Description",monospace:!0,onChange:function(e){return U((function(n){return X(X({},n),{},{body:e.target.value})}))},value:(null===Y||void 0===Y?void 0:Y.body)||""})}),(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Bf,{size:2*L.iI}),disabled:!a||!(null!==Y&&void 0!==Y&&Y.title)||!(null!==Y&&void 0!==Y&&Y.base_branch)||!(null!==Y&&void 0!==Y&&Y.compare_branch),loading:he,onClick:function(){de({pull_request:X(X({},Y),{},{repository:a})})},primary:!0,children:"Create new pull request"})})]})]}),(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsx)(q.Z,{visibleMapping:{0:!a},children:(0,V.jsxs)(W.Z,{noPaddingContent:!0,title:te?"Pull requests (".concat(null===ie||void 0===ie?void 0:ie.length,")"):"Pull requests",children:[!a&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(x.ZP,{muted:!0,children:"Please select a repository to view open pull requests."})}),a&&(0,V.jsxs)(V.Fragment,{children:[!te&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(j.Z,{inverted:!0})}),te&&le]})]})})})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsx)(v.ZP,{children:(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Hd,{}),linkProps:{href:"/version-control?tab=".concat(M.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:M.uuid})})]})]})},ee=r(94629),ne=r(10553),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*L.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 ue(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 se=function(e){var n=e.branch,r=e.fetchBranch,t=e.modifiedFiles,o=e.setSelectedFilePath,i=e.showError,l=e.stagedFiles,c=e.untrackedFiles,s=(0,d.useRef)(null),a=(0,d.useState)(""),g=a[0],P=a[1],y=(0,d.useState)({}),C=y[0],k=y[1],S=(0,d.useState)({}),O=S[0],I=S[1],T=(0,d.useMemo)((function(){return Object.keys(t).concat(Object.keys(c)).sort()}),[t,c]),E=(0,d.useMemo)((function(){return Object.keys(l||{})}),[l]),A=(0,d.useMemo)((function(){return E.length}),[E]),N=(0,d.useMemo)((function(){return Object.keys(C).length===(null===T||void 0===T?void 0:T.length)}),[C,T]),M=(0,d.useMemo)((function(){return Object.keys(O).length===(null===E||void 0===E?void 0:E.length)}),[O,E]),B=(0,d.useMemo)((function(){return{onErrorCallback:function(e,n){return i({errors:n,response:e})}}}),[i]),H=(0,d.useMemo)((function(){return{onSuccess:function(e){return(0,G.wD)(e,ue({callback:function(){r(),k({})}},B))}}}),[r,B]),Y=(0,d.useMemo)((function(){return _.ZP.git_custom_branches.useUpdate(null===n||void 0===n?void 0:n.name)}),[n]),U=(0,h.Db)(Y,H),Q=(0,u.Z)(U,2),X=Q[0],J=Q[1].isLoading,$=(0,h.Db)(Y,H),ee=(0,u.Z)($,2),ne=ee[0],oe=ee[1].isLoading,ce=(0,h.Db)(Y,{onSuccess:function(e){return(0,G.wD)(e,ue({callback:function(){r(),I({})}},B))}}),se=(0,u.Z)(ce,2),ae=se[0],de=se[1].isLoading,he=(0,d.useCallback)((function(e,n,r,t,o){var i=(null===e||void 0===e?void 0:e.length)>=1;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(z.Z,{block:!0,noHoverUnderline:!0,onClick:function(){r(o?{}:t)},preventDefault:!0,children:(0,V.jsxs)(v.ZP,{alignItems:"center",flexDirection:"row",children:[(0,V.jsx)(re.Z,{checked:i&&o,disabled:!i}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(x.ZP,{bold:!0,children:i&&o?"Unselect all":"Select all"})]})}),e.map((function(e){return(0,V.jsx)(ie,{children:(0,V.jsx)(z.Z,{block:!0,noHoverUnderline:!0,onClick:function(){return r((function(n){var r=ue({},n);return!(null!==r&&void 0!==r&&r[e])?r[e]=!0:delete r[e],r}))},preventDefault:!0,children:(0,V.jsxs)(v.ZP,{alignItems:"center",flexDirection:"row",children:[(0,V.jsx)(re.Z,{checked:!(null===n||void 0===n||!n[e])}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,children:e})]})})},e)}))]})}),[]),fe=(0,d.useMemo)((function(){return(0,le.Qr)(C)}),[C]),me=_.ZP.git_custom_branches.detail("with_logs",{_format:"with_logs"}),ve=me.data,be=me.mutate,ge=(0,d.useMemo)((function(){var e;return(null===ve||void 0===ve||null===(e=ve.git_custom_branch)||void 0===e?void 0:e.logs)||[]}),[ve]),pe=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===n||void 0===n?void 0:n.name),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){be(),r(),P("")},onErrorCallback:function(e,n){return i({errors:n,response:e})}})}}),je=(0,u.Z)(pe,2),xe=je[0],Ze=je[1].isLoading,Pe=(0,d.useMemo)((function(){return(0,V.jsx)(K.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,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:null===n||void 0===n?void 0:n.name},"author"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:r},"date"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:t},"message")]})),uuid:"git-branch-logs"})}),[ge]);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsxs)(v.ZP,{children:[(0,V.jsxs)(te.Z,{flex:1,flexDirection:"column",children:[(0,V.jsxs)(b.Z,{children:["Not staged ",(null===T||void 0===T?void 0:T.length)>=1&&"(".concat(null===T||void 0===T?void 0:T.length,")")]}),(0,V.jsx)(p.Z,{my:L.cd,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsx)(p.Z,{mb:L.cd,children:(0,V.jsxs)(v.ZP,{flexDirection:"row",children:[(0,V.jsx)(f.ZP,{compact:!0,disabled:fe||de||oe,loading:J,onClick:function(){X({git_custom_branch:{action_type:"add",files:Object.keys(C)}}).then((function(e){var n,r=e.data;null!==r&&void 0!==r&&r.git_custom_branch&&(null===s||void 0===s||null===(n=s.current)||void 0===n||n.focus())}))},primary:!0,children:"Add files"}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(f.ZP,{compact:!0,disabled:fe||J||de,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(C)}})},children:"Checkout files"})]})}),he(T,C,k,ue(ue({},t),c),N)]}),(0,V.jsx)(p.Z,{mr:L.cd}),(0,V.jsxs)(te.Z,{flex:1,flexDirection:"column",children:[(0,V.jsxs)(b.Z,{children:["Staged files ",(null===E||void 0===E?void 0:E.length)>=1&&"(".concat(null===E||void 0===E?void 0:E.length,")")]}),(0,V.jsx)(p.Z,{my:L.cd,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsx)(p.Z,{mb:L.cd,children:(0,V.jsx)(v.ZP,{flexDirection:"row",children:(0,V.jsx)(f.ZP,{compact:!0,disabled:(0,le.Qr)(O)||J||oe,loading:de,onClick:function(){ae({git_custom_branch:{action_type:"reset",files:Object.keys(O)}})},secondary:!0,children:"Reset files"})})}),he(E,O,I,l,M)]})]})}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(b.Z,{children:"Commit"})}),(0,V.jsx)(p.Z,{mb:L.cd,children:(0,V.jsx)(q.Z,{children:(0,V.jsx)(W.Z,{noPaddingContent:!0,title:A>=1?"Staged files (".concat(A,")"):"No staged files",children:null===E||void 0===E?void 0:E.map((function(e){return(0,V.jsx)(p.Z,{my:1,px:L.cd,children:(0,V.jsxs)(v.ZP,{justifyContent:"space-between",children:[(0,V.jsx)(z.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,V.jsx)(p.Z,{mr:1}),(null===t||void 0===t?void 0:t[e])&&(0,V.jsx)(x.ZP,{warning:!0,children:"Modified after staging"})]})},e)}))})})}),(0,V.jsx)(Z.Z,{label:"Commit message",monospace:!0,onChange:function(e){return P(e.target.value)},ref:s,value:g||""}),(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsxs)(f.ZP,{disabled:0===A||!((null===g||void 0===g?void 0:g.length)>=1),loading:Ze,onClick:function(){xe({git_custom_branch:{action_type:"commit",message:g}})},primary:!0,children:["Commit ",(0,F._6)("file",A,!0)," with message"]}),0===A&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(x.ZP,{danger:!0,small:!0,children:"Please stage at least 1 file before committing."})]})]})})]}),(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsx)(q.Z,{children:(0,V.jsxs)(W.Z,{noPaddingContent:!0,title:"Logs",children:[!ve&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(j.Z,{inverted:!0})}),ve&&Pe]})})}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsxs)(v.ZP,{children:[(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Hd,{}),linkProps:{href:"/version-control?tab=".concat(R.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:R.uuid}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)(f.ZP,{afterIcon:(0,V.jsx)(w.Kw,{}),linkProps:fe?{href:"/version-control?tab=".concat(D.uuid)}:null,noHoverUnderline:!0,primary:fe,sameColorAsText:!0,secondary:!fe,children:["Next: ",D.uuid]})]})]})]})},ae=r(12691),de=r.n(ae),he=r(34376),fe=r(40109),me=r(69419),ve=r(53808);var be=function(e){var n=e.actionRemoteName,r=e.branch,t=e.fetchBranch,o=e.loading,i=e.remotes,l=e.setActionRemoteName,s=e.showError,a=(0,he.useRouter)(),Z=(0,d.useRef)(null),y=(0,d.useState)(null),k=y[0],O=y[1],T=(0,d.useState)(null),E=T[0],A=T[1],N=(0,d.useState)(null),M=N[0],D=N[1],B=(0,d.useState)(null),H=B[0],Y=B[1],U=(0,d.useState)(!1),Q=U[0],X=U[1],J=(0,d.useState)(null),$=J[0],ee=J[1],ne=(0,d.useState)(""),re=ne[0],oe=ne[1],ie=(0,d.useState)(""),le=ie[0],ce=ie[1],ue=(0,d.useState)(null),se=ue[0],ae=ue[1],be=(0,d.useMemo)((function(){return!(null===r||void 0===r||!r.name)}),[r]),ge=(0,d.useMemo)((function(){return null===r||void 0===r?void 0:r.access_token_exists}),[r]);(0,d.useEffect)((function(){var e,n;null!==r&&void 0!==r&&null!==(e=r.sync_config)&&void 0!==e&&e.repo_path&&null===se&&ae(null===r||void 0===r||null===(n=r.sync_config)||void 0===n?void 0:n.repo_path)}),[r,se]);var pe=(0,d.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]),je=(0,h.Db)(_.ZP.syncs.useCreate(),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){t(),X(!1)},onErrorCallback:function(e,n){return s({errors:n,response:e})}})}}),xe=(0,u.Z)(je,2),Ze=xe[0],Pe=xe[1].isLoading,ye=(0,h.Db)(_.ZP.oauths.useUpdate("github"),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){return window.location.href=window.location.href.split("?")[0]},onErrorCallback:function(e,n){return s({errors:n,response:e})}})}}),_e=(0,u.Z)(ye,2),we=_e[0],Ce=_e[1].isLoading,ke=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(e){var n=e.git_custom_branch,r=n.error,o=n.progress;r?(A(r),Y(null)):(t(),O(null),A(null),D(null),Y(o))},onErrorCallback:function(e,n){return s({errors:n,response:e})}})}}),Se=(0,u.Z)(ke,2),Oe=Se[0],Ie=Se[1].isLoading,Te=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){t(),oe(""),ce("")},onErrorCallback:function(e,n){return s({errors:n,response:e})}})}}),Ee=(0,u.Z)(Te,2),Ae=Ee[0],Ne=Ee[1].isLoading,Re=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){t(),ee(null)},onErrorCallback:function(e,n){ee(null),s({errors:n,response:e})}})}}),Me=(0,u.Z)(Re,2),De=Me[0],Be=Me[1].isLoading,He=_.ZP.oauths.detail(fe.h.GITHUB,{redirect_uri:encodeURIComponent(window.location.href)}),Le=He.data,Fe=He.mutate,Ge=(0,d.useMemo)((function(){return(null===Le||void 0===Le?void 0:Le.oauth)||{}}),[Le]),Ve=(0,h.Db)(_.ZP.oauths.useCreate(),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){Fe()},onErrorCallback:function(e,n){s({errors:n,response:e})}})}}),Ye=(0,u.Z)(Ve,2),Ue=Ye[0],qe=Ye[1].isLoading,We=(0,me.iV)()||{},ze=We.access_token,Ke=We.provider;(0,d.useEffect)((function(){!Ge||null!==Ge&&void 0!==Ge&&Ge.authenticated||!ze||Ue({oauth:{provider:Ke||fe.h.GITHUB,token:ze}})}),[ze,Ue,Ge,Ke]);var Qe=(0,d.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,V.jsxs)(p.Z,{mt:L.Mq,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,V.jsxs)(te.Z,{alignItems:"center",children:[(0,V.jsx)(x.ZP,{bold:!0,children:r}),(0,V.jsx)(p.Z,{mx:1,children:(0,V.jsx)(w._Q,{muted:!0})}),null===o||void 0===o?void 0:o.map((function(e){return(0,V.jsx)(p.Z,{mr:1,children:(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:e})},e)}))]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(f.ZP,{compact:!0,disabled:Be&&$!==r,iconOnly:!0,loading:Be&&$===r,noBackground:!0,onClick:function(){"undefined"!==typeof location&&window.confirm("Are you sure you want to remove remote ".concat(r,"?"))&&(ee(r),De({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,V.jsx)(w.rF,{})})]})}),(0,V.jsx)(q.Z,{children:(0,V.jsxs)(W.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,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(x.ZP,{muted:!0,children:"This remote has no refs."})}),(null===t||void 0===t?void 0:t.length)>=1&&(0,V.jsx)(K.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,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:t},"ref-name"),(0,V.jsx)(x.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,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:null===r||void 0===r?void 0:r.date},"date"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:null===r||void 0===r?void 0:r.message},"message")]})),uuid:"git-branch-remotes-refs"})]})}),(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsx)(m.Z,{light:!0})})]},r)}))}),[Be,$,i,De]);return(0,V.jsxs)(V.Fragment,{children:[Le&&(0,V.jsxs)(p.Z,{mb:L.HN,children:[(null===Ge||void 0===Ge?void 0:Ge.authenticated)&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.fy,{size:2*L.iI}),disabled:!0,children:"Successfully authenticated with GitHub"}),(0,V.jsx)(p.Z,{my:1,children:(0,V.jsx)(x.ZP,{muted:!0,children:"You can pull, push, and create pull requests on GitHub."})}),(0,V.jsx)(f.ZP,{loading:Ce,onClick:function(){return we({oauth:{action_type:"reset"}})},warning:!0,children:"Reset GitHub authentication"})]}),!(null!==Ge&&void 0!==Ge&&Ge.authenticated)&&(null===Ge||void 0===Ge?void 0:Ge.url)&&(0,V.jsxs)(V.Fragment,{children:[ge&&(0,V.jsxs)(p.Z,{mb:2,children:[(0,V.jsx)(f.ZP,{disabled:!0,children:"Using access token from Git Settings"}),(0,V.jsx)(p.Z,{mt:1,children:(0,V.jsx)(x.ZP,{muted:!0,children:"Some features may not work unless you authenticate with GitHub."})})]}),(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.fy,{size:2*L.iI}),loading:qe,onClick:function(){var e=null===Ge||void 0===Ge?void 0:Ge.url,n=(0,me.iV)(e).state;(0,ve.t8)(n,(null===Ge||void 0===Ge?void 0:Ge.redirect_query_params)||{}),a.push(e)},primary:!0,children:"Authenticate with GitHub"}),(0,V.jsx)(p.Z,{mt:1,children:(0,V.jsx)(x.ZP,{muted:!0,children:"Authenticating with GitHub will allow you to pull, push, and create pull requests on GitHub."})})]})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(b.Z,{children:"Setup"}),(0,V.jsxs)(p.Z,{mt:L.Mq,children:[(0,V.jsxs)(p.Z,{mb:1,children:[(0,V.jsx)(x.ZP,{bold:!0,large:!0,children:be?"Git init directory":"Initialize Git directory"}),!be&&(0,V.jsxs)(x.ZP,{muted:!0,children:["Enter the directory you want to initialize git in. For example, ",(0,V.jsx)(x.ZP,{bold:!0,inline:!0,monospace:!0,muted:!0,children:"/home/src/default_repo"}),"."]}),be&&(0,V.jsxs)(x.ZP,{muted:!0,children:["If the directory below is blank, then the current working directory will be used to initialize git.",(0,V.jsx)("br",{}),"If git hasn\u2019t been initialized in the directory below, Mage will automatically run git init for you."]})]}),(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsx)(P.Z,{disabled:be&&!Q,label:"Git directory",monospace:!0,onChange:function(e){return ae(e.target.value)},ref:Z,value:se||""}),(0,V.jsx)(p.Z,{mr:1}),(!be||Q)&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(f.ZP,{compact:!0,disabled:!be&&!se,loading:Pe,onClick:function(){Ze({sync:{repo_path:se}})},primary:!0,small:!0,children:"Save"}),be&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(z.Z,{onClick:function(){return X(!1)},preventDefault:!0,sameColorAsText:!0,small:!0,children:"Cancel"})]})]}),be&&!Q&&(0,V.jsx)(z.Z,{onClick:function(){X(!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"})]})]})]}),be&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsxs)(b.Z,{children:["Remotes",!o&&i?" (".concat(null===i||void 0===i?void 0:i.length,")"):""]}),o&&(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsx)(j.Z,{inverted:!0})}),!o&&Qe,(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsxs)(v.ZP,{alignItems:"flex-start",children:[(0,V.jsx)(P.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,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)(v.ZP,{flexDirection:"column",children:[(0,V.jsx)(P.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,V.jsx)(p.Z,{mt:1,children:(0,V.jsxs)(x.ZP,{muted:!0,small:!0,children:["Use the https URL if you",(0,V.jsx)("br",{}),"authenticated with GitHub above."]})})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.mm,{size:2*L.iI}),disabled:!re||!le,loading:Ne,onClick:function(){Ae({git_custom_branch:{action_type:"add_remote",remote:{name:re,url:le}}})},primary:!0,children:"Create new remote"})]})})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(b.Z,{children:"Actions"}),(0,V.jsxs)(p.Z,{mt:L.Mq,children:[(0,V.jsxs)(p.Z,{mb:L.Mq,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(null===r||void 0===r?void 0:r.name)&&(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsx)(x.ZP,{monospace:!0,children:null===r||void 0===r?void 0:r.name}),(0,V.jsx)(p.Z,{mr:L.cd}),(0,V.jsx)(de(),{href:"/version-control?tab=".concat(R.uuid),passHref:!0,children:(0,V.jsx)(z.Z,{small:!0,children:"Switch branch"})})]})]}),(0,V.jsxs)(v.ZP,{children:[(0,V.jsxs)(g.Z,{onChange:function(e){return D(e.target.value)},placeholder:"Action",value:M||"",children:[(0,V.jsx)("option",{value:S,children:(0,F.vg)(S)}),(0,V.jsx)("option",{value:I,children:(0,F.vg)(I)}),(0,V.jsx)("option",{value:"reset",children:(0,F.vg)("reset --hard")}),(0,V.jsx)("option",{value:C,children:(0,F.vg)(C)})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.VW,{}),beforeIconSize:1.5*L.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,V.jsx)("option",{value:n,children:n},n)}))}),![S,C].includes(M)&&(0,V.jsx)(p.Z,{ml:1,children:(0,V.jsxs)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return O(e.target.value)},value:k||"",children:[(0,V.jsx)("option",{value:"",children:"All branches"}),null===pe||void 0===pe?void 0:pe.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))]})})]}),(0,V.jsxs)(p.Z,{mt:L.cd,children:[(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Bf,{size:2*L.iI}),disabled:!M||!n,loading:Ie,onClick:function(){Y(null),(M!==C||"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."))&&Oe({git_custom_branch:(0,c.Z)({action_type:M},M,{branch:k,remote:n})})},primary:!0,children:M?(0,F.vg)(M):"Execute action"}),(H||E)&&(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsx)(x.ZP,{danger:!!E,default:!!H,monospace:!0,preWrap:!0,children:H||E})})]})]})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsx)(v.ZP,{children:(0,V.jsxs)(f.ZP,{afterIcon:(0,V.jsx)(w.Kw,{}),linkProps:{href:"/version-control?tab=".concat(R.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",R.uuid]})})]})]})]})},ge=r(95363),pe=oe.default.div.withConfig({displayName:"indexstyle__DiffContainerStyle",componentId:"sc-1fo4nus-0"})(["pre{font-family:",";}"],ge.Vp),je={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:{}},xe=r(53005),Ze=r(15610),Pe=r(86735),ye=r(23780);function _e(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 we(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?_e(Object(r),!0).forEach((function(n){(0,c.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var Ce=function(){var e=(0,d.useRef)(null),n=(0,d.useRef)(null),r=(0,ye.VI)(null,{},[],{uuid:"VersionControlPage"}),t=(0,u.Z)(r,1)[0],o=(0,d.useState)(null),i=o[0],l=o[1],h=(0,d.useState)(null),f=h[0],v=h[1],b=(0,d.useState)(H[0]),Z=b[0],P=b[1],w=(0,me.iV)();(0,d.useEffect)((function(){null!==w&&void 0!==w&&w.tab&&P(H.find((function(e){return e.uuid===(null===w||void 0===w?void 0:w.tab)})))}),[w]);var C=_.ZP.git_custom_branches.list({include_remote_branches:1}),k=C.data,S=C.mutate,O=(0,d.useMemo)((function(){return null===k||void 0===k?void 0:k.git_custom_branches}),[k]),I=_.ZP.git_custom_branches.detail("current",{_format:"with_files"}),T=I.data,E=I.mutate,F=(0,d.useMemo)((function(){return(null===T||void 0===T?void 0:T.git_custom_branch)||{}}),[T]),G=(0,d.useMemo)((function(){return(null===F||void 0===F?void 0:F.files)||[]}),[F]),q=_.ZP.git_custom_branches.detail("with_remotes",{_format:"with_remotes"}),W=q.data,z=q.mutate,K=(0,d.useMemo)((function(){return null===W||void 0===W?void 0:W.git_custom_branch}),[W]),Q=(0,d.useMemo)((function(){return(null===K||void 0===K?void 0:K.remotes)||[]}),[K]),X=(0,d.useState)(null),J=X[0],re=X[1],te=(0,d.useCallback)((function(e){(0,ve.t8)(A,e),re(e)}),[]);(0,d.useEffect)((function(){var e=(0,ve.U2)(A,null);if(W&&e){var n=null===Q||void 0===Q?void 0:Q.find((function(n){return n.name===e}));te(n?null===n||void 0===n?void 0:n.name:null)}}),[W,Q,te]);var oe=(0,d.useState)((0,ve.U2)(N,"")),ie=oe[0],ce=oe[1],ue=(0,d.useCallback)((function(e){(0,ve.t8)(N,e),ce(e)}),[]),ae=(0,d.useMemo)((function(){return(0,Pe.Tw)(Q.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}))}),[Q]);(0,d.useEffect)((function(){var e=(0,ve.U2)(N,null);if(W&&e){var n=null===ae||void 0===ae?void 0:ae.find((function(n){return n.name===e}));ue(n?null===n||void 0===n?void 0:n.name:null)}}),[W,ae,ue]);var de=_.ZP.git_files.detail(f?encodeURIComponent(f):null,{base_branch:i}),he=de.data,fe=de.mutate,ge=(0,d.useMemo)((function(){return null===he||void 0===he?void 0:he.git_file}),[he]);(0,d.useEffect)((function(){i&&fe()}),[i,fe]),(0,d.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 _e=(0,d.useMemo)((function(){var e,n,r;return{modifiedFiles:null===F||void 0===F||null===(e=F.modified_files)||void 0===e?void 0:e.reduce((function(e,n){return we(we({},e),{},(0,c.Z)({},n,!0))}),{}),stagedFiles:null===F||void 0===F||null===(n=F.staged_files)||void 0===n?void 0:n.reduce((function(e,n){return we(we({},e),{},(0,c.Z)({},n,!0))}),{}),untrackedFiles:null===F||void 0===F||null===(r=F.untracked_files)||void 0===r?void 0:r.reduce((function(e,n){return we(we({},e),{},(0,c.Z)({},n,!0))}),{})}}),[F]),Ce=_e.modifiedFiles,ke=void 0===Ce?{}:Ce,Se=_e.stagedFiles,Oe=void 0===Se?{}:Se,Ie=_e.untrackedFiles,Te=void 0===Ie?{}:Ie;(0,d.useEffect)((function(){f&&(0,le.Qr)(ke)&&(0,le.Qr)(Oe)&&(0,le.Qr)(Te)&&v(null)}),[ke,f,Oe,Te]);var Ee=(0,d.useMemo)((function(){return(null===G||void 0===G?void 0:G.length)>=1?(0,V.jsx)(ne.Z,{allowEmptyFolders:!0,disableContextMenu:!0,fetchFileTree:E,files:G,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,xe.a9)(e);o&&(i="".concat(i,"/"));var l={};return null!==ke&&void 0!==ke&&ke[i]?(n="M",r="Modified",l.warning=!0):null!==Te&&void 0!==Te&&Te[i]?(n="U",r="Untracked",l.danger=!0):null!==Oe&&void 0!==Oe&&Oe[i]&&(n="S",r="Staged",l.success=!0),o&&!n?null:(0,V.jsx)(p.Z,{mx:1,children:(0,V.jsx)(y.Z,{appearBefore:!0,label:r,widthFitContent:!0,children:(0,V.jsx)(x.ZP,we(we({},l),{},{monospace:!0,rightAligned:!0,small:!0,children:n}))})})},useRootFolder:!0}):(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(x.ZP,{monospace:!0,muted:!0,children:"No files modified"})})}),[i,E,e,G,ke,n,v,Oe,Te]),Ae=(0,d.useMemo)((function(){return!he||!ge||f&&(null===ge||void 0===ge?void 0:ge.filename)!==f}),[he,ge,f]),Ne=(0,d.useMemo)((function(){if(!f)return null;var e=ge||{},n=e.content,r=e.content_from_base;return(0,V.jsxs)(pe,{children:[!i&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(x.ZP,{muted:!0,children:"Please select a base branch to see the file diffs."})}),(null===ge||void 0===ge?void 0:ge.error)&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(x.ZP,{danger:!0,monospace:!0,preWrap:!0,children:null===ge||void 0===ge?void 0:ge.error})}),i&&!(null!==ge&&void 0!==ge&&ge.error)&&(0,V.jsxs)(V.Fragment,{children:[Ae&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(j.Z,{inverted:!0})}),!Ae&&(0,V.jsx)(a(),{compareMethod:s.DiffMethod.WORDS,newValue:n||"",oldValue:r||"",renderContent:function(e){return(0,V.jsx)(x.ZP,{monospace:!0,children:e})},splitView:!0,styles:je,useDarkTheme:!0})]})]})}),[i,ge,Ae,f]),Re=(0,d.useMemo)((function(){return T&&null!==F&&void 0!==F&&F.name?H:H.slice(0,1)}),[F,T]),Me=(0,d.useMemo)((function(){return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)("div",{style:{marginBottom:.5*L.iI,marginTop:.5*L.iI},children:(0,V.jsx)(U.Z,{compact:!0,onClickTab:function(e){var n=e.uuid;(0,Ze.u7)({tab:n})},selectedTabUUID:null===Z||void 0===Z?void 0:Z.uuid,tabs:Re})}),(0,V.jsx)(m.Z,{light:!0})]})}),[Z,Re]),De=(0,d.useMemo)((function(){return(0,V.jsx)(be,{actionRemoteName:J,branch:F,fetchBranch:function(){E(),z()},loading:!W,remotes:Q,setActionRemoteName:te,showError:t})}),[J,F,W,E,z,Q,te,t]),Be=(0,d.useMemo)((function(){return(0,V.jsx)(Y,{actionRemoteName:J,branch:F,branches:O,fetchBranch:E,fetchBranches:S,remotes:Q,setActionRemoteName:te,showError:t})}),[J,F,O,E,S,Q,te,t]),He=(0,d.useMemo)((function(){return(0,V.jsx)(se,{branch:F,fetchBranch:E,modifiedFiles:ke,setSelectedFilePath:v,showError:t,stagedFiles:Oe,untrackedFiles:Te})}),[F,E,ke,v,t,Oe,Te]),Le=(0,d.useMemo)((function(){return(0,V.jsx)($,{actionRemoteName:J,branch:F,branches:O,fetchBranch:E,loading:!W,modifiedFiles:ke,remotes:Q,repositories:ae,repositoryName:ie,setActionRemoteName:te,setRepositoryName:ue,showError:t,stagedFiles:Oe})}),[J,F,O,W,E,ke,Q,ae,ie,te,ue,t,Oe]);return(0,V.jsx)(ee.Z,{after:Ne,afterHidden:!f,afterWidth:40*L.iI,before:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(p.Z,{p:1,children:(0,V.jsx)(g.Z,{compact:!0,label:"Base branch",onChange:function(e){return l(e.target.value)},ref:n,small:!0,value:i||"",children:null===O||void 0===O?void 0:O.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))})}),Ee]}),mainContainerHeader:Me,title:"Version control",uuid:"Version control/index",children:(0,V.jsxs)(p.Z,{p:L.cd,children:[!T&&(0,V.jsx)(j.Z,{inverted:!0}),T&&(0,V.jsxs)(V.Fragment,{children:[B.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&De,R.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&Be,M.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&He,D.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&Le]})]})})};function ke(){return(0,V.jsx)(Ce,{})}ke.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 Se=(0,l.Z)(ke)},75302:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/version-control",function(){return r(58024)}])}},function(e){e.O(0,[2678,1154,844,7011,6965,4267,600,8487,8264,7858,5499,4366,553,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/uPDjJYpJMst1q6psbRyte/_buildManifest.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST=function(s,e,i,a,c,t,n,p,l,u,g,k,r,f,b,o,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,X){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-a22f976b85beef2d.js"],"/_error":["static/chunks/pages/_error-e989623bffcbf724.js"],"/block-layout":[s,F,e,r,b,h,m,_,A,N,i,a,n,o,v,S,C,"static/chunks/pages/block-layout-a24cb24b6f08bbc9.js"],"/compute":[s,e,c,g,i,a,t,n,p,l,k,f,y,"static/chunks/pages/compute-419775ca1293b354.js"],"/files":[s,e,c,r,D,i,a,t,n,p,l,o,E,x,z,"static/chunks/pages/files-0f2d4be6fdca86ca.js"],"/global-data-products":[s,e,c,i,a,t,n,p,l,I,T,G,"static/chunks/pages/global-data-products-c3b79ef31007f95b.js"],"/global-data-products/[...slug]":[s,e,c,i,a,t,n,p,l,I,T,G,"static/chunks/pages/global-data-products/[...slug]-cfd68e760ae00958.js"],"/global-hooks":[s,e,c,i,a,t,n,p,l,H,"static/chunks/pages/global-hooks-e561ae38cf5592e8.js"],"/global-hooks/[...slug]":[s,e,c,i,a,t,n,p,H,"static/chunks/pages/global-hooks/[...slug]-77edfa32d000e88b.js"],"/manage":[s,e,c,r,D,i,a,t,n,p,l,o,E,"static/chunks/pages/manage-f83deb790548693b.js"],"/manage/files":[s,e,c,r,D,i,a,t,n,p,l,o,E,x,z,"static/chunks/pages/manage/files-449a022f2f0f2d94.js"],"/manage/settings":[s,e,c,r,i,a,t,n,o,x,"static/chunks/pages/manage/settings-60845f0b59142f32.js"],"/manage/users":[s,e,c,i,a,t,n,p,l,"static/chunks/pages/manage/users-28a930b148d99766.js"],"/manage/users/new":[s,e,c,i,a,t,n,P,"static/chunks/pages/manage/users/new-abd8571907664fdf.js"],"/manage/users/[user]":[s,e,c,i,a,t,n,p,l,P,"static/chunks/pages/manage/users/[user]-9384c5f1efa2ac18.js"],"/oauth":[s,e,c,i,a,t,"static/chunks/pages/oauth-8bb62c4f6a511c43.js"],"/overview":[s,F,e,c,g,r,d,b,h,m,_,L,A,N,i,a,t,n,p,l,k,f,o,w,v,y,M,S,C,J,"static/chunks/pages/overview-f0c40645f385f23f.js"],"/pipeline-runs":[s,e,c,i,a,t,n,p,l,I,q,"static/chunks/pages/pipeline-runs-b35d37bfba8fbccc.js"],"/pipelines":[s,e,c,g,r,d,b,h,L,i,a,t,n,p,l,k,f,o,w,v,y,M,q,J,"static/chunks/pages/pipelines-e47db5c3eaf683af.js"],"/pipelines/[pipeline]":["static/chunks/pages/pipelines/[pipeline]-02c843b9c8418bb5.js"],"/pipelines/[pipeline]/backfills":[s,e,c,i,a,t,n,p,l,u,"static/chunks/pages/pipelines/[pipeline]/backfills-c8d3a5289ab93f88.js"],"/pipelines/[pipeline]/backfills/[...slug]":[s,e,c,g,d,B,U,i,a,t,n,p,l,u,k,f,I,"static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-10e9a2d19541caa2.js"],"/pipelines/[pipeline]/dashboard":[s,F,e,c,r,b,h,m,_,A,N,i,a,t,n,u,o,v,S,C,"static/chunks/pages/pipelines/[pipeline]/dashboard-571c0962333b92f0.js"],"/pipelines/[pipeline]/edit":[s,F,e,c,g,r,d,b,h,m,_,B,L,A,D,N,"static/chunks/6563-5b3b97c9088baf69.js",i,a,t,n,p,l,f,w,v,y,M,E,S,K,"static/chunks/pages/pipelines/[pipeline]/edit-ff7e9108502f5716.js"],"/pipelines/[pipeline]/logs":[s,e,c,g,h,U,i,a,t,n,p,l,u,k,"static/chunks/pages/pipelines/[pipeline]/logs-ef680455ae54ccbe.js"],"/pipelines/[pipeline]/monitors":[s,e,c,m,_,i,a,t,n,u,"static/chunks/pages/pipelines/[pipeline]/monitors-e051057d9fe94f23.js"],"/pipelines/[pipeline]/monitors/block-runs":[s,e,c,m,_,i,a,t,n,u,"static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-ddddcddd2f74b4f6.js"],"/pipelines/[pipeline]/monitors/block-runtime":[s,F,e,c,m,_,"static/chunks/6285-e9b45335bfb9ccaf.js",i,a,t,n,u,"static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-4a238307feddb522.js"],"/pipelines/[pipeline]/runs":[s,e,c,g,d,B,i,a,t,n,p,l,u,k,f,I,O,"static/chunks/pages/pipelines/[pipeline]/runs-2d20b2cd08907afd.js"],"/pipelines/[pipeline]/runs/[run]":[s,e,c,g,d,h,m,B,A,i,a,t,n,p,l,u,k,f,O,"static/chunks/pages/pipelines/[pipeline]/runs/[run]-0691711636fa95c7.js"],"/pipelines/[pipeline]/settings":[s,e,c,i,a,t,n,u,"static/chunks/pages/pipelines/[pipeline]/settings-2914e326a5f1ffe0.js"],"/pipelines/[pipeline]/syncs":[s,e,c,i,a,t,n,p,l,u,"static/chunks/pages/pipelines/[pipeline]/syncs-b75bf17498e87354.js"],"/pipelines/[pipeline]/triggers":[s,e,c,g,d,b,B,U,Q,i,a,t,n,p,l,u,k,f,w,T,q,R,"static/chunks/pages/pipelines/[pipeline]/triggers-c0e551d265a8d467.js"],"/pipelines/[pipeline]/triggers/[...slug]":[s,e,c,g,d,b,B,U,Q,i,a,t,n,p,l,u,k,f,w,I,R,"static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-3a7500e6e53084d3.js"],"/settings":["static/chunks/pages/settings-0f0121db7f5ff93d.js"],"/settings/account/profile":[s,e,c,i,a,t,n,j,P,"static/chunks/pages/settings/account/profile-55ac955dfa9a5a8d.js"],"/settings/workspace/permissions":[s,e,c,i,a,t,n,p,l,j,V,"static/chunks/pages/settings/workspace/permissions-37b78a436eeab258.js"],"/settings/workspace/permissions/[...slug]":[s,e,c,i,a,t,n,p,l,j,V,"static/chunks/pages/settings/workspace/permissions/[...slug]-b78b1be5b9ed84b9.js"],"/settings/workspace/preferences":[s,e,c,i,a,t,n,j,"static/chunks/pages/settings/workspace/preferences-29c92a9bc54ae5cd.js"],"/settings/workspace/roles":[s,e,c,i,a,t,n,p,l,j,W,"static/chunks/pages/settings/workspace/roles-f55c77e4f46c8d33.js"],"/settings/workspace/roles/[...slug]":[s,e,c,i,a,t,n,p,l,j,W,"static/chunks/pages/settings/workspace/roles/[...slug]-db05a80d18c168e5.js"],"/settings/workspace/sync-data":[s,e,c,i,a,t,n,j,"static/chunks/pages/settings/workspace/sync-data-2a1f8737561fdd94.js"],"/settings/workspace/users":[s,e,c,i,a,t,n,p,l,j,X,"static/chunks/pages/settings/workspace/users-20f0a050a42a015d.js"],"/settings/workspace/users/[...slug]":[s,e,c,i,a,t,n,p,l,j,X,"static/chunks/pages/settings/workspace/users/[...slug]-e3bf6e5d8bb250c4.js"],"/sign-in":[s,e,c,i,a,t,"static/chunks/pages/sign-in-99e2748e3c1d57a3.js"],"/templates":[s,e,c,g,r,d,b,h,L,i,a,t,n,p,l,k,f,o,w,v,y,M,"static/chunks/pages/templates-1bfaa1c50e844813.js"],"/templates/[...slug]":[s,e,c,g,r,d,b,h,L,i,a,t,n,p,l,k,f,o,w,v,y,M,"static/chunks/pages/templates/[...slug]-f44ccd1499ffd23a.js"],"/terminal":[s,e,c,i,a,t,n,"static/chunks/pages/terminal-ed121e305169cf1c.js"],"/test":[s,e,b,i,p,w,K,"static/chunks/pages/test-9ae68758102cc843.js"],"/triggers":[s,e,c,i,a,t,n,p,l,T,"static/chunks/pages/triggers-572d82d6eb7a5d43.js"],"/version-control":[s,e,c,D,"static/chunks/6965-c613d1834c8ed92d.js",i,a,t,n,p,l,k,E,"static/chunks/pages/version-control-2d26d80370a2e481.js"],sortedPages:["/","/_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]","/settings","/settings/account/profile","/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/4267-fd4d8049e83178de.js","static/chunks/600-705fe234320ec5de.js","static/chunks/844-1e171f361e63b36d.js","static/chunks/8487-032ef9b17d20aad9.js","static/chunks/8264-0d582a6ca33c3dfa.js","static/chunks/7858-d9df72e95e438284.js","static/chunks/5499-76cf8f023c6b0985.js","static/chunks/5457-949640f4037bf12f.js","static/chunks/5820-28adeabb5cda2b96.js","static/chunks/4366-93e09e5a4a7e182c.js","static/chunks/6639-74eefed142e14ea6.js","static/chunks/722-a1584445357a276c.js","static/chunks/341-ef0f7b98b7f69802.js","static/chunks/5810-12eadc488265d55b.js","static/chunks/1124-09b283a2f26cc576.js","static/chunks/1751-5adf859690505d7b.js","static/chunks/8432-f191e39f9b5893f2.js","static/chunks/5896-14e5a23b1c6a0769.js","static/chunks/1769-4f94e148a0753037.js","static/chunks/2714-1e79e9f2e998b544.js","static/chunks/1550-410bc576795e0148.js","static/chunks/90-a7308bae028d7001.js","static/chunks/3943-9e1105393a3be0de.js","static/chunks/9161-837b653aa849a76f.js","static/chunks/29107295-989a0767a635d9d5.js","static/chunks/2631-b9f9bea3f1cf906d.js","static/chunks/7011-81dd8269c4806d26.js","static/chunks/553-7f7919e14392ca67.js","static/chunks/1821-953efd0da290d25f.js","static/chunks/9264-1d4f0327d42fed91.js","static/chunks/4783-1a21d9be47574bba.js","static/chunks/976-18c98af60b76f1a7.js","static/chunks/9624-334e7db5c84cb4ea.js","static/chunks/4495-4f0340aa82e0c623.js","static/chunks/9440-c51bf1e8f271cb25.js","static/chunks/9618-2c5045255ac5a6e7.js","static/chunks/6043-728790621ca9014c.js","static/chunks/5544-f43ece1ec93b6e0c.js","static/chunks/5638-a65610405a70961c.js","static/chunks/1845-5ce774d5ab81ed57.js","static/chunks/595-0d174b1f9fbfce4f.js","static/chunks/1952-ac7722e8b1ab88fe.js","static/chunks/1749-9a6276b2918fdae1.js","static/chunks/3419-f8d518d024e7b5c8.js","static/chunks/9302-913007e2f801ad65.js","static/chunks/6333-bc1b433b428a9095.js","static/chunks/8146-92e7ccfed169ee9c.js","static/chunks/7022-070ec0144a4d029c.js","static/chunks/7361-694e1e4fb9c97d68.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|