mage-ai 0.9.47__py3-none-any.whl → 0.9.48__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mage-ai might be problematic. Click here for more details.
- mage_ai/api/presenters/PipelinePresenter.py +1 -0
- mage_ai/data_preparation/executors/block_executor.py +21 -1
- mage_ai/data_preparation/executors/pipeline_executor.py +19 -4
- mage_ai/data_preparation/models/block/__init__.py +50 -20
- mage_ai/data_preparation/models/block/data_integration/mixins.py +6 -6
- mage_ai/data_preparation/models/block/data_integration/utils.py +2 -2
- mage_ai/data_preparation/models/block/sql/bigquery.py +2 -2
- mage_ai/data_preparation/models/block/sql/snowflake.py +2 -2
- mage_ai/data_preparation/models/block/sql/trino.py +2 -2
- mage_ai/data_preparation/models/block/sql/utils/shared.py +2 -2
- mage_ai/data_preparation/models/block/utils.py +25 -16
- mage_ai/data_preparation/models/pipeline.py +5 -0
- mage_ai/data_preparation/models/project/__init__.py +0 -2
- mage_ai/io/chroma.py +13 -4
- mage_ai/orchestration/db/models/schedules.py +71 -0
- mage_ai/orchestration/pipeline_scheduler.py +1 -70
- mage_ai/server/constants.py +1 -1
- mage_ai/server/frontend_dist/404.html +2 -2
- mage_ai/server/frontend_dist/_next/static/chunks/1952-0f9a12782f0aaae6.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/2717-14191a781cf2f286.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3419-a7a52bcaaa687b07.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3437-e81a62f33337ca06.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3943-3cb1f765210dd7a4.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/4138-2c16e6d2f22246cd.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{5499-76cf8f023c6b0985.js → 5499-c2853ef57d39fde8.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6990-303bb87fc50f1755.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{7858-d9df72e95e438284.js → 7858-26a5a5d04fa3c703.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8264-9d6a7cea289e29ff.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8487-608d62c0eef1f29a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{1845-5ce774d5ab81ed57.js → 8731-2f78ec7b7760be8f.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/90-93d18aaecef0685b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{9264-cc44b07f248707b0.js → 9264-727704fc34e74ae0.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9624-48fba6b4e6966fb7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{_app-78c4a077a2f279c2.js → _app-8254de4f793643d0.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/block-layout-a24cb24b6f08bbc9.js → frontend_dist/_next/static/chunks/pages/block-layout-b926f6eb1ee9a53b.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-a9402b51e9fe748e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{files-b37d221eb5ddc248.js → files-85cecae037fd7a70.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-data-products/{[...slug]-cfd68e760ae00958.js → [...slug]-c3c9523ea8072c11.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{global-data-products-c3b79ef31007f95b.js → global-data-products-4d046f15202a1c8d.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/{[...slug]-7adc543fc490367a.js → [...slug]-286133386c97a2b6.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-3da370825153056c.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/{files-fe6e73463a20d67c.js → files-39b73da5a15590f6.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-60845f0b59142f32.js → frontend_dist/_next/static/chunks/pages/manage/settings-666748ff5d101411.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-9384c5f1efa2ac18.js → frontend_dist/_next/static/chunks/pages/manage/users/[user]-be27631e67dbe070.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/{new-abd8571907664fdf.js → new-1932ce64823b372b.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-28a930b148d99766.js → frontend_dist/_next/static/chunks/pages/manage/users-ed509c75cf23f0f5.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage-d8a38b5d1f50e798.js → frontend_dist/_next/static/chunks/pages/manage-1feebec1124123fc.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{oauth-8bb62c4f6a511c43.js → oauth-e9b8f19c30381c28.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{overview-f0c40645f385f23f.js → overview-7b2ba2d5405c05fe.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-70fc3351bd11025f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-6ee3b88a5bb4ce94.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-c9cf383bc13ce7b8.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{dashboard-571c0962333b92f0.js → dashboard-7bca6f718b939934.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-c119f630038b0685.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-146051325c92d742.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-ddddcddd2f74b4f6.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-15d307e6ba934a56.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-4a238307feddb522.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-f6196e563b960e5c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{monitors-6d1afeb4a84f50f7.js → monitors-25dbd73201d99e80.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-06e55db757959ef8.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-2d20b2cd08907afd.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-ec3c45cfa027db58.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-11363aa58d51f4e1.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-495e877aa7ed709e.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-49adfeed5157d92b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-6143e028225390f5.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-0886f6320fef7131.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-e82a763d742cc034.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-3c8f062913c66f3e.js → frontend_dist/_next/static/chunks/pages/settings/account/profile-50d20fa715d454af.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-b78b1be5b9ed84b9.js → [...slug]-2bbd63b7e93a8600.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{permissions-37b78a436eeab258.js → permissions-4ea156c39608caab.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-f3c29ec53ee35795.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-db05a80d18c168e5.js → [...slug]-64ec8928d2542f3c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{roles-f55c77e4f46c8d33.js → roles-835e6ec2a48ec583.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{sync-data-2a1f8737561fdd94.js → sync-data-0769149af025de30.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users/{[...slug]-e3bf6e5d8bb250c4.js → [...slug]-612a65c42bcadef0.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{users-20f0a050a42a015d.js → users-e3365b4029a8db33.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{sign-in-99e2748e3c1d57a3.js → sign-in-f3a33e8f83abdb58.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-f44ccd1499ffd23a.js → frontend_dist/_next/static/chunks/pages/templates/[...slug]-f264097bf8120f31.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{templates-1bfaa1c50e844813.js → templates-406e13cc5c4caab4.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{terminal-ed121e305169cf1c.js → terminal-ef8ad878e5e7bb2f.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-a90728798f964700.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{version-control-dd4fb405695f74bf.js → version-control-0e0c2713a2922be7.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/xxcdnITr3IkTdETH5ghqw/_buildManifest.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 +3 -3
- 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 +11 -11
- 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 +4 -4
- 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/chunks/1952-0f9a12782f0aaae6.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-14191a781cf2f286.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3419-a7a52bcaaa687b07.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3437-e81a62f33337ca06.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-3cb1f765210dd7a4.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4138-2c16e6d2f22246cd.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{5499-76cf8f023c6b0985.js → 5499-c2853ef57d39fde8.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6990-303bb87fc50f1755.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{7858-d9df72e95e438284.js → 7858-26a5a5d04fa3c703.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8264-9d6a7cea289e29ff.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8487-608d62c0eef1f29a.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{1845-5ce774d5ab81ed57.js → 8731-2f78ec7b7760be8f.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/90-93d18aaecef0685b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{9264-cc44b07f248707b0.js → 9264-727704fc34e74ae0.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9624-48fba6b4e6966fb7.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{_app-78c4a077a2f279c2.js → _app-8254de4f793643d0.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/block-layout-a24cb24b6f08bbc9.js → frontend_dist_base_path_template/_next/static/chunks/pages/block-layout-b926f6eb1ee9a53b.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-a9402b51e9fe748e.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{files-b37d221eb5ddc248.js → files-85cecae037fd7a70.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-data-products/{[...slug]-cfd68e760ae00958.js → [...slug]-c3c9523ea8072c11.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{global-data-products-c3b79ef31007f95b.js → global-data-products-4d046f15202a1c8d.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/{[...slug]-7adc543fc490367a.js → [...slug]-286133386c97a2b6.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-3da370825153056c.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/{files-fe6e73463a20d67c.js → files-39b73da5a15590f6.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage/settings-60845f0b59142f32.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-666748ff5d101411.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage/users/[user]-9384c5f1efa2ac18.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-be27631e67dbe070.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/{new-abd8571907664fdf.js → new-1932ce64823b372b.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage/users-28a930b148d99766.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-ed509c75cf23f0f5.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage-d8a38b5d1f50e798.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage-1feebec1124123fc.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{oauth-8bb62c4f6a511c43.js → oauth-e9b8f19c30381c28.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{overview-f0c40645f385f23f.js → overview-7b2ba2d5405c05fe.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-70fc3351bd11025f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-6ee3b88a5bb4ce94.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-c9cf383bc13ce7b8.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{dashboard-571c0962333b92f0.js → dashboard-7bca6f718b939934.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-c119f630038b0685.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-146051325c92d742.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-ddddcddd2f74b4f6.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-15d307e6ba934a56.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-4a238307feddb522.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-f6196e563b960e5c.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{monitors-6d1afeb4a84f50f7.js → monitors-25dbd73201d99e80.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-06e55db757959ef8.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-2d20b2cd08907afd.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-ec3c45cfa027db58.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-11363aa58d51f4e1.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-495e877aa7ed709e.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-49adfeed5157d92b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-6143e028225390f5.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-0886f6320fef7131.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-e82a763d742cc034.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/settings/account/profile-3c8f062913c66f3e.js → frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-50d20fa715d454af.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-b78b1be5b9ed84b9.js → [...slug]-2bbd63b7e93a8600.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{permissions-37b78a436eeab258.js → permissions-4ea156c39608caab.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-f3c29ec53ee35795.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-db05a80d18c168e5.js → [...slug]-64ec8928d2542f3c.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{roles-f55c77e4f46c8d33.js → roles-835e6ec2a48ec583.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{sync-data-2a1f8737561fdd94.js → sync-data-0769149af025de30.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users/{[...slug]-e3bf6e5d8bb250c4.js → [...slug]-612a65c42bcadef0.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{users-20f0a050a42a015d.js → users-e3365b4029a8db33.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{sign-in-99e2748e3c1d57a3.js → sign-in-f3a33e8f83abdb58.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/templates/[...slug]-f44ccd1499ffd23a.js → frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-f264097bf8120f31.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{templates-1bfaa1c50e844813.js → templates-406e13cc5c4caab4.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{terminal-ed121e305169cf1c.js → terminal-ef8ad878e5e7bb2f.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-a90728798f964700.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{version-control-dd4fb405695f74bf.js → version-control-0e0c2713a2922be7.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/gDn6inKdLyj35NvURBSCV/_buildManifest.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 +3 -3
- 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 +10 -10
- 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 +4 -4
- 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 +2 -0
- mage_ai/streaming/sources/nats_js.py +12 -1
- mage_ai/tests/data_preparation/executors/test_block_executor.py +2 -0
- mage_ai/tests/data_preparation/models/test_pipeline.py +5 -0
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/METADATA +3 -3
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/RECORD +257 -257
- mage_ai/server/frontend_dist/_next/static/N3FS4bHv0jpYeeg672uYK/_buildManifest.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1952-57858e7445d24413.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2717-92cdffd87b6f6e05.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3419-715ca383fa15a5ef.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3437-b4d6a037cf5781f8.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3943-c9fb980f03df6450.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/600-705fe234320ec5de.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/722-900f786d24f91b2e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8264-0d582a6ca33c3dfa.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8487-8e1c09546dff4dbf.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/90-a7308bae028d7001.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9624-334e7db5c84cb4ea.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-419775ca1293b354.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-51d366993f6dd449.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-b35d37bfba8fbccc.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-9adc2974aada27ba.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-51b1311dff2a974e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-2333e524d34b474a.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-ef680455ae54ccbe.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-1ff9bb8e22ca1e75.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-b75bf17498e87354.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-779c3ef0676a12ac.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-bbea9a088657404a.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-3737f2b0afc2ede3.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-c1f4ed17d501ccca.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-8bdd858240d5dbf6.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/aoO6jYZLVlUGCCdY-wmy8/_buildManifest.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1952-57858e7445d24413.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-92cdffd87b6f6e05.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3419-715ca383fa15a5ef.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3437-b4d6a037cf5781f8.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-c9fb980f03df6450.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/600-705fe234320ec5de.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/722-900f786d24f91b2e.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8264-0d582a6ca33c3dfa.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8487-8e1c09546dff4dbf.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/90-a7308bae028d7001.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9624-334e7db5c84cb4ea.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-419775ca1293b354.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-51d366993f6dd449.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-b35d37bfba8fbccc.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-9adc2974aada27ba.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-51b1311dff2a974e.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-2333e524d34b474a.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-ef680455ae54ccbe.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-1ff9bb8e22ca1e75.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-b75bf17498e87354.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-779c3ef0676a12ac.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-bbea9a088657404a.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-3737f2b0afc2ede3.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-c1f4ed17d501ccca.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-8bdd858240d5dbf6.js +0 -1
- /mage_ai/server/frontend_dist/_next/static/{N3FS4bHv0jpYeeg672uYK → xxcdnITr3IkTdETH5ghqw}/_ssgManifest.js +0 -0
- /mage_ai/server/frontend_dist_base_path_template/_next/static/{aoO6jYZLVlUGCCdY-wmy8 → gDn6inKdLyj35NvURBSCV}/_ssgManifest.js +0 -0
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/LICENSE +0 -0
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/WHEEL +0 -0
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/entry_points.txt +0 -0
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8867],{59739:function(e,n,t){"use strict";var r=t(56669);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t}},47329:function(e,n,t){e.exports=t(59739)()},56669:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55283:function(e,n,t){"use strict";t.d(n,{HC:function(){return T},HS:function(){return Z},IN:function(){return f},Kf:function(){return b},Nk:function(){return x},PB:function(){return v},PY:function(){return g},WC:function(){return p},fk:function(){return P},gE:function(){return _},j1:function(){return A},jv:function(){return O},nz:function(){return y},oh:function(){return l},qn:function(){return m},t1:function(){return j},u2:function(){return h},y9:function(){return S}});var r=t(38626),o=t(44897),i=t(44425),c=t(42631),a=t(8059),u=t(70515),s=t(47041),d=t(91437),l=68,f=1.5*u.iI,p=3*u.iI;function h(e){var n=a.eW;return i.tf.CALLBACK===e?n=a.J:i.tf.CHART===e||i.tf.CONDITIONAL===e?n=a.Hv:i.tf.CUSTOM===e?n=a.AK:i.tf.DATA_EXPORTER===e?n=a.Sr:i.tf.DATA_LOADER===e?n=a.R2:i.tf.DBT===e?n=a.J:i.tf.EXTENSION===e?n=a.FI:i.tf.GLOBAL_DATA_PRODUCT===e?n=a.yr:i.tf.SCRATCHPAD===e?n=a.Hv:i.tf.SENSOR===e?n=a.rK:i.tf.MARKDOWN===e?n=a.RK:i.tf.TRANSFORMER===e&&(n=a.eW),n}function m(e,n){var t,r,c=((null===n||void 0===n||null===(t=n.theme)||void 0===t?void 0:t.borders)||o.Z.borders).light,a=((null===n||void 0===n||null===(r=n.theme)||void 0===r?void 0:r.monotone)||o.Z.monotone).grey500,u=n||{},s=u.blockColor,d=u.isSelected,l=u.theme;return d?c=(l||o.Z).content.active:i.tf.TRANSFORMER===e||s===i.Lq.PURPLE?(c=(l||o.Z).accent.purple,a=(l||o.Z).accent.purpleLight):i.tf.DATA_EXPORTER===e||s===i.Lq.YELLOW?(c=(l||o.Z).accent.yellow,a=(l||o.Z).accent.yellowLight):i.tf.DATA_LOADER===e||s===i.Lq.BLUE?(c=(l||o.Z).accent.blue,a=(l||o.Z).accent.blueLight):i.tf.MARKDOWN===e?(c=(l||o.Z).accent.sky,a=(l||o.Z).accent.skyLight):i.tf.SENSOR===e||s===i.Lq.PINK?(c=(l||o.Z).accent.pink,a=(l||o.Z).accent.pinkLight):i.tf.DBT===e?(c=(l||o.Z).accent.dbt,a=(l||o.Z).accent.dbtLight):i.tf.EXTENSION===e||s===i.Lq.TEAL?(c=((null===l||void 0===l?void 0:l.accent)||o.Z.accent).teal,a=((null===l||void 0===l?void 0:l.accent)||o.Z.accent).tealLight):i.tf.CALLBACK===e?(c=((null===l||void 0===l?void 0:l.accent)||o.Z.accent).rose,a=((null===l||void 0===l?void 0:l.accent)||o.Z.accent).roseLight):i.tf.CONDITIONAL===e||i.tf.SCRATCHPAD===e||s===i.Lq.GREY||i.tf.CUSTOM===e&&!s?(c=(l||o.Z).content.default,a=(l||o.Z).accent.contentDefaultTransparent):i.tf.GLOBAL_DATA_PRODUCT!==e||s||(c=(l||o.Z).monotone.white,a=(l||o.Z).monotone.whiteTransparent),{accent:c,accentLight:a}}var b=(0,r.css)([""," "," "," "," "," "," ",""],(0,d.eR)(),(function(e){return!e.selected&&!e.hasError&&"\n border-color: ".concat(m(e.blockType,e).accentLight,";\n ")}),(function(e){return e.selected&&!e.hasError&&"\n border-color: ".concat(m(e.blockType,e).accent,";\n ")}),(function(e){return!e.selected&&e.hasError&&"\n border-color: ".concat((e.theme.accent||o.Z.accent).negativeTransparent,";\n ")}),(function(e){return e.selected&&e.hasError&&"\n border-color: ".concat((e.theme.borders||o.Z.borders).danger,";\n ")}),(function(e){return e.dynamicBlock&&"\n border-style: dashed !important;\n "}),(function(e){return e.dynamicChildBlock&&"\n border-style: dotted !important;\n "})),x=r.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-s5rj34-0"})(["border-radius:","px;position:relative;"],c.n_),g=r.default.div.withConfig({displayName:"indexstyle__HiddenBlockContainerStyle",componentId:"sc-s5rj34-1"})([""," border-radius:","px;border-style:",";border-width:","px;",""],b,c.n_,c.M8,c.mP,(function(e){return"\n background-color: ".concat((e.theme||o.Z).background.content,";\n\n &:hover {\n border-color: ").concat(m(e.blockType,e).accent,";\n }\n ")})),v=r.default.div.withConfig({displayName:"indexstyle__HeaderHorizontalBorder",componentId:"sc-s5rj34-2"})(["",""],(function(e){return"\n border-bottom: 1px solid ".concat((e.theme||o.Z).borders.darkLight,";\n ")})),y=r.default.div.withConfig({displayName:"indexstyle__BlockHeaderStyle",componentId:"sc-s5rj34-3"})([""," border-top-left-radius:","px;border-top-right-radius:","px;border-top-style:",";border-top-width:","px;border-left-style:",";border-left-width:","px;border-right-style:",";border-right-width:","px;padding-bottom:","px;padding-top:","px;"," "," "," ",""],b,c.n_,c.n_,c.M8,c.mP,c.M8,c.mP,c.M8,c.mP,1*u.iI,1*u.iI,(function(e){return"\n background-color: ".concat((e.theme||o.Z).background.dashboard,";\n ")}),(function(e){return"undefined"!==typeof e.zIndex&&null!==e.zIndex&&"\n z-index: ".concat(6+(e.zIndex||0),";\n ")}),(function(e){return!e.noSticky&&"\n // This is to hide the horizontal scrollbar in the block header when sideBySide is enabled,\n // and the screen width is too small.\n position: sticky;\n top: -5px;\n "}),(function(e){return e.noSticky&&"\n ".concat((0,s.y$)(),"\n\n overflow-x: auto;\n overflow-y: visible;\n ")})),Z=r.default.div.withConfig({displayName:"indexstyle__SubheaderStyle",componentId:"sc-s5rj34-4"})([""," "," ",""],(function(e){return!e.darkBorder&&"\n border-bottom: 1px solid ".concat((e.theme.borders||o.Z.borders).darkLight,";\n ")}),(function(e){return e.darkBorder&&"\n border-bottom: 1px solid ".concat((e.theme.borders||o.Z.borders).medium,";\n ")}),(function(e){return!e.noBackground&&"\n background-color: ".concat((e.theme||o.Z).background.dashboard,";\n ")})),O=r.default.div.withConfig({displayName:"indexstyle__CodeContainerStyle",componentId:"sc-s5rj34-5"})([""," border-left-style:",";border-left-width:","px;border-right-style:",";border-right-width:","px;position:relative;"," "," "," "," .line-numbers{opacity:0;}&.selected{.line-numbers{opacity:1 !important;}}"],b,c.M8,c.mP,c.M8,c.mP,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).codeTextarea,";\n ")}),(function(e){return!e.noPadding&&"\n padding-bottom: ".concat(u.iI,"px;\n padding-top: ").concat(u.iI,"px;\n ")}),(function(e){return e.lightBackground&&"\n background-color: ".concat((e.theme||o.Z).background.content,";\n ")}),(function(e){return!e.hideBorderBottom&&"\n border-bottom-left-radius: ".concat(c.n_,"px;\n border-bottom-right-radius: ").concat(c.n_,"px;\n border-bottom-style: ").concat(c.M8,";\n border-bottom-width: ").concat(c.mP,"px;\n overflow: hidden;\n ")})),_=r.default.div.withConfig({displayName:"indexstyle__BlockDivider",componentId:"sc-s5rj34-6"})(["align-items:center;display:flex;height:","px;justify-content:center;position:relative;z-index:8;&:hover{"," .block-divider-inner{","}}"," "," "," ",""],2*u.iI,(function(e){return e.additionalZIndex>0&&"\n z-index: ".concat(8+e.additionalZIndex,";\n ")}),(function(e){return"\n background-color: ".concat((e.theme.text||o.Z.text).fileBrowser,";\n ")}),(function(e){return!e.height&&"\n height: ".concat(2*u.iI,"px;\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),(function(e){return!e.bottom&&"\n bottom: ".concat(.5*u.iI,"px;\n ")}),(function(e){return"undefined"!==typeof e.bottom&&"\n bottom: ".concat(e.bottom,"px;\n ")})),j=r.default.div.withConfig({displayName:"indexstyle__BlockDividerInner",componentId:"sc-s5rj34-7"})(["height 1px;width:100%;position:absolute;z-index:-1;"," ",""],(function(e){return!e.top&&"\n top: ".concat(1.5*u.iI,"px;\n ")}),(function(e){return"undefined"!==typeof e.top&&"\n top: ".concat(e.top,"px;\n ")})),S=r.default.div.withConfig({displayName:"indexstyle__CodeHelperStyle",componentId:"sc-s5rj34-8"})([""," ",""],(function(e){return"\n border-bottom: 1px solid ".concat((e.theme.borders||o.Z.borders).medium,";\n padding-left: ").concat(e.normalPadding?u.iI:l,"px;\n ")}),(function(e){return!e.noMargin&&"\n margin-bottom: ".concat(1*u.iI,"px;\n padding-bottom: ").concat(1*u.iI,"px;\n ")})),T=r.default.div.withConfig({displayName:"indexstyle__TimeTrackerStyle",componentId:"sc-s5rj34-9"})(["bottom:","px;left:","px;position:absolute;"],1*u.iI,l),P=r.default.div.withConfig({displayName:"indexstyle__ScrollColunnsContainerStyle",componentId:"sc-s5rj34-10"})(["position:relative;",""],(function(e){return"\n z-index: ".concat((null===e||void 0===e?void 0:e.zIndex)||1,";\n ")})),A=r.default.div.attrs((function(e){var n=e.height,t=e.left,r=e.right,o=e.top;return{style:{position:"fixed",height:n,width:e.width,left:t,right:r,top:o,zIndex:(e.zIndex||0)+2}}})).withConfig({displayName:"indexstyle__ScrollColunnStyle",componentId:"sc-s5rj34-11"})([""])},94629:function(e,n,t){"use strict";t.d(n,{Z:function(){return T}});var r=t(82394),o=t(21831),i=t(82684),c=t(50724),a=t(82555),u=t(97618),s=t(70613),d=t(68487),l=t(68899),f=t(28598);function p(e,n){var t=e.children,r=e.noPadding;return(0,f.jsx)(l.HS,{noPadding:r,ref:n,children:t})}var h=i.forwardRef(p),m=t(62547),b=t(82571),x=t(35686),g=t(98464),v=t(46684),y=t(70515),Z=t(53808),O=t(19183);function _(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function j(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?_(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function S(e,n){var t,r=e.addProjectBreadcrumbToCustomBreadcrumbs,p=e.after,_=e.afterHeader,S=e.afterHidden,T=e.afterWidth,P=e.afterWidthOverride,A=e.appendBreadcrumbs,C=e.before,E=e.beforeWidth,R=e.breadcrumbs,w=e.children,k=e.errors,I=e.headerMenuItems,N=e.headerOffset,D=e.hideAfterCompletely,L=e.mainContainerHeader,M=e.navigationItems,H=e.setAfterHidden,B=e.setErrors,W=e.subheaderChildren,Y=e.subheaderNoPadding,K=e.title,F=e.uuid,U=(0,O.i)().width,G="dashboard_after_width_".concat(F),X="dashboard_before_width_".concat(F),z=(0,i.useRef)(null),V=(0,i.useState)(P?T:(0,Z.U2)(G,T)),q=V[0],Q=V[1],$=(0,i.useState)(!1),J=$[0],ee=$[1],ne=(0,i.useState)(C?Math.max((0,Z.U2)(X,E),13*y.iI):null),te=ne[0],re=ne[1],oe=(0,i.useState)(!1),ie=oe[0],ce=oe[1],ae=(0,i.useState)(null)[1],ue=x.ZP.projects.list({},{revalidateOnFocus:!1}).data,se=null===ue||void 0===ue?void 0:ue.projects,de={label:function(){var e;return null===se||void 0===se||null===(e=se[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},le=[];R&&(r&&le.push(de),le.push.apply(le,(0,o.Z)(R))),(null===R||void 0===R||!R.length||A)&&(null===se||void 0===se?void 0:se.length)>=1&&(null!==R&&void 0!==R&&R.length||le.unshift({bold:!A,label:function(){return K}}),le.unshift(de)),(0,i.useEffect)((function(){null===z||void 0===z||!z.current||J||ie||null===ae||void 0===ae||ae(z.current.getBoundingClientRect().width)}),[J,q,ie,te,z,ae,U]),(0,i.useEffect)((function(){J||(0,Z.t8)(G,q)}),[S,J,q,G]),(0,i.useEffect)((function(){ie||(0,Z.t8)(X,te)}),[ie,te,X]);var fe=(0,g.Z)(T);return(0,i.useEffect)((function(){P&&fe!==T&&Q(T)}),[P,T,fe]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(s.Z,{title:K}),(0,f.jsx)(d.Z,{breadcrumbs:le,menuItems:I,project:null===se||void 0===se?void 0:se[0],version:null===se||void 0===se||null===(t=se[0])||void 0===t?void 0:t.version}),(0,f.jsxs)(l.Nk,{ref:n,children:[0!==(null===M||void 0===M?void 0:M.length)&&(0,f.jsx)(l.lm,{showMore:!0,children:(0,f.jsx)(b.Z,{navigationItems:M,showMore:!0})}),(0,f.jsx)(u.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(m.Z,{after:p,afterHeader:_,afterHeightOffset:v.Mz,afterHidden:S,afterMousedownActive:J,afterWidth:q,before:C,beforeHeightOffset:v.Mz,beforeMousedownActive:ie,beforeWidth:l.k1+(C?te:0),headerOffset:N,hideAfterCompletely:!H||D,leftOffset:C?l.k1:null,mainContainerHeader:L,mainContainerRef:z,setAfterHidden:H,setAfterMousedownActive:ee,setAfterWidth:Q,setBeforeMousedownActive:ce,setBeforeWidth:re,children:[W&&(0,f.jsx)(h,{noPadding:Y,children:W}),w]})})]}),k&&(0,f.jsx)(c.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===B||void 0===B?void 0:B(null)},children:(0,f.jsx)(a.Z,j(j({},k),{},{onClose:function(){return null===B||void 0===B?void 0:B(null)}}))})]})}var T=i.forwardRef(S)},53779:function(e,n,t){"use strict";t.d(n,{C:function(){return h},X$:function(){return p},eD:function(){return l},iW:function(){return m},nF:function(){return b}});var r=t(38626),o=t(44897),i=t(42631),c=t(70515),a=t(47041),u=t(91437),s=6.25*c.iI,d=(c.iI,100*c.iI),l=r.default.div.withConfig({displayName:"indexstyle__WindowContainerStyle",componentId:"sc-g0cszf-0"})(["border-radius:","px;width:100%;max-width:","px;z-index:101;position:absolute;overflow:hidden;top:50%;left:50%;transform:translate(-50%,-50%);",""],i.n_,d,(function(e){return"\n box-shadow: ".concat((e.theme||o.Z).shadow.window,";\n background-color: ").concat((e.theme||o.Z).background.panel,";\n ")})),f=(0,r.css)(["display:flex;align-items:center;justify-content:space-between;height:","px;padding:","px ","px;",""],s,c.iI,c.cd*c.iI,(function(e){return"\n background-color: ".concat((e.theme||o.Z).background.output,";\n ")})),p=r.default.div.withConfig({displayName:"indexstyle__WindowHeaderStyle",componentId:"sc-g0cszf-1"})([""," border-top-left-radius:","px;border-top-right-radius:","px;",""],f,i.n_,i.n_,(function(e){return"\n border-bottom: ".concat(i.YF,"px ").concat(i.M8," ").concat((e.theme||o.Z).borders.medium,";\n ")})),h=r.default.div.withConfig({displayName:"indexstyle__WindowContentStyle",componentId:"sc-g0cszf-2"})(["overflow:auto;padding:","px 0;"," "," "," ",""],c.iI,a.w5,(0,u.eR)(),(function(e){return e.minMaxHeight&&"\n max-height: ".concat(7*c.iI,"px;\n ")}),(function(e){return!e.minMaxHeight&&"\n max-height: calc(100vh - ".concat(6.5*s,"px);\n ")})),m=r.default.div.withConfig({displayName:"indexstyle__WindowFooterStyle",componentId:"sc-g0cszf-3"})([""," justify-content:flex-end;border-bottom-left-radius:","px;border-bottom-right-radius:","px;",""],f,i.n_,i.n_,(function(e){return"\n border-top: ".concat(i.YF,"px ").concat(i.M8," ").concat((e.theme||o.Z).borders.medium,";\n ")})),b=r.default.div.withConfig({displayName:"indexstyle__InputRowStyle",componentId:"sc-g0cszf-4"})(["padding:","px ","px;",""],.75*c.iI,2*c.iI,(function(e){return"\n border-bottom: ".concat(i.YF,"px ").concat(i.M8," ").concat((e.theme||o.Z).borders.medium,";\n ")}))},29480:function(e,n,t){"use strict";t.d(n,{$W:function(){return d},cl:function(){return l},cv:function(){return f},dE:function(){return u},zG:function(){return s}});var r=t(38626),o=t(44897),i=t(42631),c=t(70515),a=t(47041),u=r.default.div.withConfig({displayName:"indexstyle__SectionStyle",componentId:"sc-7a1uhf-0"})(["border-radius:","px;padding:","px;",""],i.n_,c.cd*c.iI,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).popup,";\n ")})),s=r.default.div.withConfig({displayName:"indexstyle__DocsStyle",componentId:"sc-7a1uhf-1"})(["> div{overflow:initial;}> div img{max-width:80%;background:white;padding:1rem;max-height:20vh;}"]),d=r.default.div.withConfig({displayName:"indexstyle__CodeEditorStyle",componentId:"sc-7a1uhf-2"})(["padding-top:","px;",""],c.cd*c.iI,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).codeTextarea,";\n ")})),l=r.default.div.withConfig({displayName:"indexstyle__TableContainerStyle",componentId:"sc-7a1uhf-3"})(["overflow:auto;max-height:90vh;width:100%;"," "," "," "," ",""],a.w5,(function(e){return e.hideHorizontalScrollbar&&"\n overflow-x: hidden;\n "}),(function(e){return e.width&&"\n width: ".concat(e.width,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,";\n ")}),(function(e){return e.maxHeight&&"\n max-height: ".concat(e.maxHeight,";\n ")})),f=r.default.div.withConfig({displayName:"indexstyle__HeaderRowStyle",componentId:"sc-7a1uhf-4"})(["padding:","px;"," "," ",""],2*c.iI,(function(e){return"\n background-color: ".concat((e.theme||o.Z).interactive.defaultBackground,";\n border-bottom: ").concat(i.YF,"px ").concat(i.M8," ").concat((e.theme||o.Z).borders.medium,";\n ")}),(function(e){return e.padding&&"\n padding: ".concat(e.padding,"px;\n ")}),(function(e){return e.rounded&&"\n border-top-left-radius: ".concat(i.n_,"px;\n border-top-right-radius: ").concat(i.n_,"px;\n ")}))},4611:function(e,n,t){"use strict";t.d(n,{f:function(){return a}});var r=t(38626),o=t(44897),i=t(70515),c=t(42631),a=r.default.div.withConfig({displayName:"Tablestyle__PopupContainerStyle",componentId:"sc-8ammqd-0"})(["position:absolute;max-height:","px;z-index:10;border-radius:","px;padding:","px;"," "," "," ",""],58*i.iI,c.TR,2*i.iI,(function(e){return"\n box-shadow: ".concat((e.theme.shadow||o.Z.shadow).popup,";\n background-color: ").concat((e.theme.interactive||o.Z.interactive).defaultBackground,";\n ")}),(function(e){return e.leftOffset&&"\n left: ".concat(e.leftOffset,"px;\n ")}),(function(e){return e.topOffset&&"\n top: ".concat(e.topOffset,"px;\n ")}),(function(e){return e.width&&"\n width: ".concat(e.width,"px;\n ")}))},85385:function(e,n,t){"use strict";t.d(n,{Qq:function(){return h},Z7:function(){return m},cH:function(){return o},du:function(){return f},fp:function(){return l},j5:function(){return p},uM:function(){return d}});var r,o,i=t(82394),c=t(57653),a=t(82359),u=t(72473),s=t(86735),d="sideview",l=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 f=[o.DATA];function p(e){var n,t,r,i=[{key:o.TREE,label:"Tree"},{buildLabel:function(e){var n=(e.pipeline||{}).widgets,t=void 0===n?[]:n;return(null===t||void 0===t?void 0:t.length)>=1?"Charts (".concat(t.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 c.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,t=void 0===n?{}:n,r=0;return Object.values(t).forEach((function(e){var n=e.blocks;r+=(null===n||void 0===n?void 0:n.length)||0})),r>=1?"Power ups (".concat(r,")"):"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!==(t=e.project)&&void 0!==t&&null!==(r=t.features)&&void 0!==r&&r[a.d.INTERACTIONS]&&i.push({key:o.INTERACTIONS,label:"Interactions"}),i}function h(e){return(0,s.HK)(p(e),(function(e){return e.key}))}var m=(r={},(0,i.Z)(r,o.ADDON_BLOCKS,u.EJ),(0,i.Z)(r,o.BLOCK_SETTINGS,u.JG),(0,i.Z)(r,o.CALLBACKS,u.AQ),(0,i.Z)(r,o.CHARTS,u.GQ),(0,i.Z)(r,o.DATA,u.iA),(0,i.Z)(r,o.EXTENSIONS,u.Bf),(0,i.Z)(r,o.INTERACTIONS,u.yd),(0,i.Z)(r,o.SECRETS,u.Yo),(0,i.Z)(r,o.SETTINGS,u.Zr),(0,i.Z)(r,o.TERMINAL,u.oI),(0,i.Z)(r,o.TREE,u.mp),(0,i.Z)(r,o.VARIABLES,u.LO),r)},75083:function(e,n,t){"use strict";t.d(n,{HF:function(){return i},L6:function(){return r}});var r,o=t(72473);function i(e,n,t){var i=e.owner,c=(e.roles,[{Icon:o.Vz,id:r.WORKSPACES,isSelected:function(){return r.WORKSPACES===t},label:function(){return"Workspaces"},linkProps:{href:"/manage"}}]);return i&&c.push({Icon:o.NO,id:r.USERS,isSelected:function(){return r.USERS===t},label:function(){return"Users"},linkProps:{href:"/manage/users"}}),c.push.apply(c,[{Icon:o.Zr,id:r.SETTINGS,isSelected:function(){return r.SETTINGS===t},label:function(){return"Settings"},linkProps:{href:"/manage/settings"}},{Icon:o.$B,id:r.FILE_BROWSER,isSelected:function(){return r.FILE_BROWSER===t},label:function(){return"File browser"},linkProps:{href:"/manage/files"}}]),c}!function(e){e.WORKSPACES="workspaces",e.USERS="users",e.SETTINGS="settings",e.FILE_BROWSER="file_browser"}(r||(r={}))},59533:function(e,n,t){"use strict";var r=t(82684),o=t(94629),i=t(35686),c=t(70515),a=t(75083),u=t(50178),s=t(28598);n.Z=function(e){var n=e.before,t=e.breadcrumbs,d=void 0===t?[]:t,l=e.children,f=e.errors,p=e.headerOffset,h=e.mainContainerHeader,m=e.pageName,b=e.setErrors,x=e.subheaderChildren,g=i.ZP.statuses.list().data,v=(0,r.useMemo)((function(){var e,n;return null===g||void 0===g||null===(e=g.statuses)||void 0===e||null===(n=e[0])||void 0===n?void 0:n.project_type}),[g]),y=(0,u.PR)()||{};return(0,s.jsx)(o.Z,{before:n,beforeWidth:n?50*c.iI:0,breadcrumbs:d,errors:f,headerOffset:p,mainContainerHeader:h,navigationItems:(0,a.HF)(y,v,m),setErrors:b,subheaderChildren:x,title:"Workspaces",uuid:"workspaces/index",children:l})}},44425:function(e,n,t){"use strict";t.d(n,{$W:function(){return x},DA:function(){return m},HX:function(){return Z},J8:function(){return y},L8:function(){return a},LE:function(){return f},Lk:function(){return j},Lq:function(){return p},M5:function(){return h},Q3:function(){return g},Qj:function(){return O},Ut:function(){return P},V4:function(){return T},VZ:function(){return v},dO:function(){return l},f2:function(){return S},iZ:function(){return _},t6:function(){return u},tf:function(){return d}});var r,o,i,c,a,u,s=t(82394);!function(e){e.CONDITION="condition",e.DBT_SNAPSHOT="snapshot",e.DYNAMIC="dynamic",e.DYNAMIC_CHILD="dynamic_child",e.REDUCE_OUTPUT="reduce_output",e.REPLICA="replica"}(a||(a={})),function(e){e.MARKDOWN="markdown",e.PYTHON="python",e.R="r",e.SQL="sql",e.YAML="yaml"}(u||(u={}));var d,l=(r={},(0,s.Z)(r,u.MARKDOWN,"MD"),(0,s.Z)(r,u.PYTHON,"PY"),(0,s.Z)(r,u.R,"R"),(0,s.Z)(r,u.SQL,"SQL"),(0,s.Z)(r,u.YAML,"YAML"),r),f=(o={},(0,s.Z)(o,u.MARKDOWN,"Markdown"),(0,s.Z)(o,u.PYTHON,"Python"),(0,s.Z)(o,u.R,"R"),(0,s.Z)(o,u.SQL,"SQL"),(0,s.Z)(o,u.YAML,"YAML"),o);!function(e){e.CALLBACK="callback",e.CHART="chart",e.CONDITIONAL="conditional",e.CUSTOM="custom",e.DATA_EXPORTER="data_exporter",e.DATA_LOADER="data_loader",e.DBT="dbt",e.EXTENSION="extension",e.GLOBAL_DATA_PRODUCT="global_data_product",e.SCRATCHPAD="scratchpad",e.SENSOR="sensor",e.MARKDOWN="markdown",e.TRANSFORMER="transformer"}(d||(d={}));var p,h=[d.CALLBACK,d.CONDITIONAL,d.EXTENSION];!function(e){e.BLUE="blue",e.GREY="grey",e.PINK="pink",e.PURPLE="purple",e.TEAL="teal",e.YELLOW="yellow"}(p||(p={}));var m,b,x=[d.CHART,d.CUSTOM,d.DATA_EXPORTER,d.DATA_LOADER,d.SCRATCHPAD,d.SENSOR,d.MARKDOWN,d.TRANSFORMER],g=[d.CUSTOM,d.DATA_EXPORTER,d.DATA_LOADER,d.SCRATCHPAD,d.SENSOR,d.MARKDOWN,d.TRANSFORMER],v=[d.DATA_EXPORTER,d.DATA_LOADER],y=[d.DATA_EXPORTER,d.DATA_LOADER,d.TRANSFORMER],Z=[d.DATA_EXPORTER,d.DATA_LOADER,d.DBT,d.TRANSFORMER],O=[d.CHART,d.SCRATCHPAD,d.SENSOR,d.MARKDOWN],_=[d.CALLBACK,d.CHART,d.EXTENSION,d.SCRATCHPAD,d.MARKDOWN],j=[d.CUSTOM,d.DATA_EXPORTER,d.DATA_LOADER,d.SENSOR,d.TRANSFORMER];!function(e){e.EXECUTED="executed",e.FAILED="failed",e.NOT_EXECUTED="not_executed",e.UPDATED="updated"}(m||(m={})),function(e){e.BLOCK_FILE="block_file",e.CUSTOM_BLOCK_TEMPLATE="custom_block_template",e.MAGE_TEMPLATE="mage_template"}(b||(b={}));var S=[d.CUSTOM,d.DATA_EXPORTER,d.DATA_LOADER,d.TRANSFORMER],T=(i={},(0,s.Z)(i,d.CALLBACK,"Callback"),(0,s.Z)(i,d.CHART,"Chart"),(0,s.Z)(i,d.CONDITIONAL,"Conditional"),(0,s.Z)(i,d.CUSTOM,"Custom"),(0,s.Z)(i,d.DATA_EXPORTER,"Data exporter"),(0,s.Z)(i,d.DATA_LOADER,"Data loader"),(0,s.Z)(i,d.DBT,"DBT"),(0,s.Z)(i,d.EXTENSION,"Extension"),(0,s.Z)(i,d.GLOBAL_DATA_PRODUCT,"Global data product"),(0,s.Z)(i,d.MARKDOWN,"Markdown"),(0,s.Z)(i,d.SCRATCHPAD,"Scratchpad"),(0,s.Z)(i,d.SENSOR,"Sensor"),(0,s.Z)(i,d.TRANSFORMER,"Transformer"),i),P=[d.DATA_LOADER,d.TRANSFORMER,d.DATA_EXPORTER,d.SENSOR];c={},(0,s.Z)(c,d.DATA_EXPORTER,"DE"),(0,s.Z)(c,d.DATA_LOADER,"DL"),(0,s.Z)(c,d.SCRATCHPAD,"SP"),(0,s.Z)(c,d.SENSOR,"SR"),(0,s.Z)(c,d.MARKDOWN,"MD"),(0,s.Z)(c,d.TRANSFORMER,"TF")},89706:function(e,n,t){"use strict";t.d(n,{JD:function(){return m},Lu:function(){return i},PF:function(){return f},dT:function(){return c},n6:function(){return s},nB:function(){return h},oy:function(){return p},xF:function(){return l}});var r,o,i,c,a=t(82394),u=t(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"}(c||(c={}));var s=[i.PY,i.SQL],d=[i.JSON,i.MD,i.PY,i.R,i.SH,i.SQL,i.TXT,i.YAML,i.YML],l=new RegExp(d.map((function(e){return".".concat(e,"$")})).join("|")),f=(new RegExp(d.map((function(e){return".".concat(e,"$")})).join("|")),"charts"),p="pipelines",h=(r={},(0,a.Z)(r,i.MD,u.t6.MARKDOWN),(0,a.Z)(r,i.JSON,i.JSON),(0,a.Z)(r,i.PY,u.t6.PYTHON),(0,a.Z)(r,i.R,u.t6.R),(0,a.Z)(r,i.SQL,u.t6.SQL),(0,a.Z)(r,i.TXT,"text"),(0,a.Z)(r,i.YAML,u.t6.YAML),(0,a.Z)(r,i.YML,u.t6.YAML),r),m=(o={},(0,a.Z)(o,u.t6.MARKDOWN,i.MD),(0,a.Z)(o,u.t6.PYTHON,i.PY),(0,a.Z)(o,u.t6.R,i.R),(0,a.Z)(o,u.t6.SQL,i.SQL),(0,a.Z)(o,u.t6.YAML,i.YAML),(0,a.Z)(o,"text",i.TXT),o)},72098:function(e,n,t){"use strict";var r;t.d(n,{U:function(){return r}}),function(e){e.PYSPARK="pysparkkernel",e.PYTHON3="python3"}(r||(r={}))},57653:function(e,n,t){"use strict";t.d(n,{$1:function(){return m},G7:function(){return g},LM:function(){return v},Mj:function(){return y},QK:function(){return h},RH:function(){return x},a_:function(){return O},fj:function(){return _},kA:function(){return Z},qL:function(){return a},r0:function(){return b}});var r,o,i,c,a,u=t(75582),s=t(82394),d=t(72473),l=t(72098);function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}!function(e){e.INTEGRATION="integration",e.PYTHON="python",e.PYSPARK="pyspark",e.STREAMING="streaming"}(a||(a={}));var h,m,b,x=(r={},(0,s.Z)(r,a.INTEGRATION,"Integration"),(0,s.Z)(r,a.PYTHON,"Python"),(0,s.Z)(r,a.PYSPARK,"PySpark"),(0,s.Z)(r,a.STREAMING,"Streaming"),r),g=(o={},(0,s.Z)(o,a.INTEGRATION,"Integration"),(0,s.Z)(o,a.PYTHON,"Standard"),(0,s.Z)(o,a.PYSPARK,"PySpark"),(0,s.Z)(o,a.STREAMING,"Streaming"),o),v="all",y=(a.PYTHON,a.INTEGRATION,a.STREAMING,i={},(0,s.Z)(i,v,d.ie),(0,s.Z)(i,a.INTEGRATION,d.YC),(0,s.Z)(i,a.PYTHON,d.El),(0,s.Z)(i,a.STREAMING,d.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"}(h||(h={})),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[]"}(m||(m={})),function(e){e.STATUS="status",e.TAG="tag",e.TYPE="type"}(b||(b={}));var Z=[h.ACTIVE,h.INACTIVE,h.NO_SCHEDULES],O=(c={},(0,s.Z)(c,a.PYTHON,l.U.PYTHON3),(0,s.Z)(c,a.PYSPARK,l.U.PYSPARK),c),_=Object.entries(O).reduce((function(e,n){var t=(0,u.Z)(n,2),r=t[0],o=t[1];return p(p({},e),{},(0,s.Z)({},o,r))}),{})},65956:function(e,n,t){"use strict";var r=t(38626),o=t(55485),i=t(38276),c=t(30160),a=t(44897),u=t(42631),s=t(47041),d=t(70515),l=t(28598),f=(0,r.css)(["padding:","px;padding-bottom:","px;padding-top:","px;"],2*d.iI,1.5*d.iI,1.5*d.iI),p=r.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||a.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.success&&"\n background-color: ".concat((e.theme.background||a.Z.background).successLight,";\n ")}),(function(e){return e.success&&!e.borderless&&"\n border: 1px solid ".concat((e.theme.background||a.Z.background).success,";\n ")}),(function(e){return!e.dark&&!e.success&&"\n background-color: ".concat((e.theme.background||a.Z.background).panel,";\n ")}),(function(e){return e.dark&&"\n background-color: ".concat((e.theme.background||a.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 "})),h=r.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||a.Z.background).chartBlock,";\n border-bottom: 1px solid ").concat((e.theme.interactive||a.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),f,(function(e){return e.headerPaddingVertical&&"\n padding-bottom: ".concat(e.headerPaddingVertical,"px;\n padding-top: ").concat(e.headerPaddingVertical,"px;\n ")})),m=r.default.div.withConfig({displayName:"Panel__ContentStyle",componentId:"sc-1ct8cgl-2"})(["overflow-y:auto;padding:","px;height:100%;"," "," "," "," ",""],1.75*d.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*d.iI,"px);\n ")}),(function(e){return e.noPadding&&"\n padding: 0;\n "}),(function(e){return e.overflowVisible&&"\n overflow: visible;\n "})),b=r.default.div.withConfig({displayName:"Panel__FooterStyle",componentId:"sc-1ct8cgl-3"})(["border-style:",";border-top-width:","px;padding:","px;"],u.M8,u.YF,1.75*d.iI);n.Z=function(e){var n=e.borderless,t=e.children,r=e.containerRef,a=e.contentContainerRef,u=e.dark,s=e.footer,d=e.fullHeight,f=void 0===d||d,x=e.fullWidth,g=void 0===x||x,v=e.header,y=e.headerHeight,Z=e.headerIcon,O=e.headerPaddingVertical,_=e.headerTitle,j=e.maxHeight,S=e.maxWidth,T=e.minWidth,P=e.noPadding,A=e.overflowVisible,C=e.subtitle,E=e.success;return(0,l.jsxs)(p,{borderless:n,dark:u,fullHeight:f,fullWidth:g,maxHeight:j,maxWidth:S,minWidth:T,overflowVisible:A,ref:r,success:E,children:[(v||_)&&(0,l.jsxs)(h,{headerPaddingVertical:O,height:y,children:[v&&v,_&&(0,l.jsx)(o.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,l.jsxs)(o.ZP,{alignItems:"center",children:[Z&&Z,(0,l.jsx)(i.Z,{ml:Z?1:0,children:(0,l.jsx)(c.ZP,{bold:!0,default:!0,children:_})})]})})]}),(0,l.jsxs)(m,{maxHeight:j,noPadding:P,overflowVisible:A,ref:a,children:[C&&"string"===typeof C&&(0,l.jsx)(i.Z,{mb:2,children:(0,l.jsx)(c.ZP,{default:!0,children:C})}),C&&"string"!==typeof C&&C,t]}),s&&(0,l.jsx)(b,{children:s})]})}},11074:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var r=t(38626),o=t(44897),i=t(42631),c=r.default.div.withConfig({displayName:"indexstyle__PanelStyle",componentId:"sc-1rfr5wd-0"})(["border-radius:","px;"," ",""],i.n_,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).panel,";\n ")}),(function(e){return e.fullWidth&&"\n width: 100%;\n "})),a=t(28598);var u=function(e){var n=e.children,t=e.fullWidth,r=void 0===t||t;return(0,a.jsx)(c,{fullWidth:r,children:n})}},35185:function(e,n,t){"use strict";var r=t(82394),o=t(91835),i=(t(82684),t(38626)),c=t(44897),a=t(42631),u=t(70515),s=t(28598);function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?d(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var f=i.default.div.withConfig({displayName:"ProgressBar__ProgressBarContainerStyle",componentId:"sc-10x9ojc-0"})(["border-radius:","px;height:","px;overflow:hidden;position:relative;width:100%;",""],a.BG,.75*u.iI,(function(e){return"\n background-color: ".concat((e.theme.monotone||c.Z.monotone).grey200,";\n ")})),p=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||c.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||c.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)(f,l(l({},n),{},{children:(0,s.jsx)(p,l({},n))}))}},2182:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return te}});var r,o=t(77837),i=t(75582),c=t(38860),a=t.n(c),u=t(82684),s=t(69864),d=t(71180),l=t(50724),f=t(82394),p=t(32013),h=t(98777),m=t(75810),b=t(15338),x=t(10553),g=t(97618),v=t(55485),y=t(85854),Z=t(93369),O=t(11074),_=t(44085),j=t(38276),S=t(30160),T=t(17488),P=t(69650),A=t(35686),C=["ReadWriteOnce","ReadWriteMany","ReadOnlyMany"],E=[{label:"Workspace name",required:!0,uuid:"name"}],R=[{label:"Service account name",placeholder:"default",uuid:"service_account_name"},{label:"Ingress name",labelDescription:"If you want to add the workspace to an existing ingress, enter the name of the ingress here. Otherwise, the workspace can be accessed through the service.",placeholder:"my-ingress",uuid:"ingress_name"}],w=[{label:"Storage class name",placeholder:"default",uuid:"storage_class_name"},{label:"Storage request size (in GB)",type:"number",uuid:"storage_request_size"}],k=t(44425),I=t(72473);!function(e){e.K8S="k8s",e.ECS="ecs",e.CLOUD_RUN="cloud_run",e.EMR="emr"}(r||(r={}));var N=t(29480),D=t(79633),L=t(53779),M=t(72619),H=t(81728),B=t(89538),W=t(28598);function Y(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function K(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Y(Object(t),!0).forEach((function(n){(0,f.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Y(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var F=function(e){var n=e.clusterType,t=e.onCancel,o=e.onCreate,c=(0,u.useState)(),a=c[0],l=c[1],Y=(0,u.useState)(),F=Y[0],U=Y[1],G=(0,u.useState)(null),X=G[0],z=G[1],V=(0,u.useState)(null),q=V[0],Q=V[1],$=(0,s.Db)(A.ZP.workspaces.useCreate(),{onSuccess:function(e){return(0,M.wD)(e,{callback:function(e){e.error_message?l(e.error_message):o()},onErrorCallback:function(e){var n=e.error,t=n.errors,r=n.message;l(r),console.log(t,r)}})}}),J=(0,i.Z)($,2),ee=J[0],ne=J[1].isLoading,te=A.ZP.files.list(),re=te.data,oe=te.mutate,ie=(0,u.useMemo)((function(){return(null===re||void 0===re?void 0:re.files)||[]}),[re]),ce=(0,B.dd)((function(e){return(0,W.jsxs)(L.eD,{children:[(0,W.jsxs)(L.X$,{children:[(0,W.jsx)(g.Z,{alignItems:"center",children:(0,W.jsx)(S.ZP,{disableWordBreak:!0,monospace:!0,children:"Select file"})}),(0,W.jsx)(d.ZP,{iconOnly:!0,onClick:se,children:(0,W.jsx)(I.x8,{muted:!0})})]}),(0,W.jsx)(L.C,{children:(0,W.jsx)(x.Z,{disableContextMenu:!0,fetchFileTree:oe,files:ie,isFileDisabled:null===e||void 0===e?void 0:e.isFileDisabled,openFile:e.onFileOpen})})]})}),{},[ie,oe],{background:!0,uuid:"file_selector"}),ae=(0,i.Z)(ce,2),ue=ae[0],se=ae[1],de=(0,u.useCallback)((function(e){var n=e.autoComplete,t=e.disabled,r=e.label,o=e.labelDescription,i=e.placeholder,c=e.required,a=e.type,u=e.uuid;return(0,W.jsxs)("div",{children:[(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsxs)(g.Z,{flex:2,flexDirection:"column",children:[(0,W.jsx)(S.ZP,{children:r}),o&&(0,W.jsx)(S.ZP,{muted:!0,children:o})]}),(0,W.jsx)(g.Z,{flex:1}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(T.Z,{autoComplete:n,disabled:t,onChange:function(e){z((function(n){return K(K({},n),{},(0,f.Z)({},u,e.target.value))}))},placeholder:i,required:c,setContentOnMount:!0,type:a,value:(null===X||void 0===X?void 0:X[u])||""})})]})})]},u)}),[X,z]),le=(0,u.useMemo)((function(){return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(v.ZP,{children:(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"General"})})}),R.map((function(e){return de(e)})),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(v.ZP,{children:(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"Volume claim params"})})}),w.map((function(e){return de(e)})),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsx)(g.Z,{flex:3,children:(0,W.jsx)(S.ZP,{children:"Access mode"})}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(_.Z,{fullWidth:!0,label:"Access mode",onChange:function(e){e.preventDefault(),z((function(n){return K(K({},n),{},{storage_access_mode:e.target.value})}))},placeholder:"Access mode",value:null===X||void 0===X?void 0:X.storage_access_mode,children:C.map((function(e){return(0,W.jsx)("option",{value:e,children:e},e)}))})})]})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsxs)(v.ZP,{alignItems:"center",children:[(0,W.jsx)(P.Z,{checked:F,compact:!0,onCheck:function(){return U((function(e){return!e}))}}),(0,W.jsx)(j.Z,{ml:1,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"Configure container"})})]})}),(0,W.jsx)(b.Z,{muted:!0}),F&&(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsx)(N.$W,{children:(0,W.jsx)(m.Z,{autoHeight:!0,fontSize:12,language:k.t6.YAML,onChange:function(e){z((function(n){return K(K({},n),{},{container_config:e})}))},tabSize:2,value:null===X||void 0===X?void 0:X.container_config,width:"100%"})})})]})}),[de,F,X]),fe=(0,u.useMemo)((function(){var e,n,t,r;return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(v.ZP,{children:(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"Termination policy"})})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsx)(g.Z,{flex:3,children:(0,W.jsx)(S.ZP,{children:"Enable auto termination"})}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsxs)(_.Z,{fullWidth:!0,onChange:function(e){e.preventDefault(),Q((function(n){return K(K({},n),{},{termination_policy:K(K({},null===n||void 0===n?void 0:n.termination_policy),{},{enable_auto_termination:"true"===e.target.value})})}))},value:(null===q||void 0===q||null===(e=q.termination_policy)||void 0===e?void 0:e.enable_auto_termination)||"false",children:[(0,W.jsx)("option",{value:"true",children:"True"},"true"),(0,W.jsx)("option",{value:"false",children:"False"},"false")]})})]})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsx)(g.Z,{flex:3,children:(0,W.jsx)(S.ZP,{children:"Max idle time (in seconds)"})}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(T.Z,{onChange:function(e){Q((function(n){return K(K({},n),{},{termination_policy:K(K({},null===n||void 0===n?void 0:n.termination_policy),{},{max_idle_seconds:e.target.value})})}))},setContentOnMount:!0,type:"number",value:(null===q||void 0===q||null===(n=q.termination_policy)||void 0===n?void 0:n.max_idle_seconds)||""})})]})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(v.ZP,{children:(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"Pre start"})})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsxs)(g.Z,{flex:3,justifyContent:"space-between",children:[(0,W.jsx)(S.ZP,{children:"Path to pre start script"}),(0,W.jsx)(j.Z,{mr:1,children:(0,W.jsx)(d.ZP,{iconOnly:!0,noBackground:!0,noBorder:!0,onClick:function(){return ue({isFileDisabled:function(e,n){return!n&&!e.endsWith(".py")},onFileOpen:function(e){Q((function(n){return K(K({},n),{},{pre_start_script_path:e})})),se()}})},children:(0,W.jsx)(I.gt,{})})})]}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(T.Z,{onChange:function(e){Q((function(n){return K(K({},n),{},{pre_start_script_path:e.target.value})}))},placeholder:"/",setContentOnMount:!0,value:(null===q||void 0===q?void 0:q.pre_start_script_path)||""})})]})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(v.ZP,{children:(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"Post start"})})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsx)(g.Z,{flex:3,children:(0,W.jsx)(S.ZP,{children:"Command"})}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(T.Z,{monospace:!0,onChange:function(e){Q((function(n){return K(K({},n),{},{post_start:K(K({},null===n||void 0===n?void 0:n.post_start),{},{command:e.target.value})})}))},setContentOnMount:!0,value:(null===q||void 0===q||null===(t=q.post_start)||void 0===t?void 0:t.command)||""})})]})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsxs)(g.Z,{flex:3,justifyContent:"space-between",children:[(0,W.jsx)(S.ZP,{children:"Path to hook (optional)"}),(0,W.jsx)(j.Z,{mr:1,children:(0,W.jsx)(d.ZP,{iconOnly:!0,noBackground:!0,noBorder:!0,onClick:function(){return ue({onFileOpen:function(e){Q((function(n){return K(K({},n),{},{post_start:K(K({},null===n||void 0===n?void 0:n.post_start),{},{hook_path:e})})})),se()}})},children:(0,W.jsx)(I.gt,{})})})]}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(T.Z,{onChange:function(e){Q((function(n){return K(K({},n),{},{post_start:K(K({},null===n||void 0===n?void 0:n.post_start),{},{hook_path:e.target.value})})}))},placeholder:"/",setContentOnMount:!0,value:(null===q||void 0===q||null===(r=q.post_start)||void 0===r?void 0:r.hook_path)||""})})]})}),(0,W.jsx)(b.Z,{muted:!0})]})}),[se,q,Q,ue]);return(0,W.jsx)(O.Z,{children:(0,W.jsx)("div",{style:{width:"750px"},children:(0,W.jsxs)(j.Z,{p:2,children:[(0,W.jsx)(y.Z,{level:4,children:"Create workspace"}),(0,W.jsxs)("form",{children:[E.map((function(e){var n=e.autoComplete,t=e.disabled,r=e.label,o=e.required,i=e.type,c=e.uuid;return(0,W.jsx)(j.Z,{mt:2,children:(0,W.jsx)(T.Z,{autoComplete:n,disabled:t,label:r,onChange:function(e){z((function(n){return K(K({},n),{},(0,f.Z)({},c,e.target.value))}))},required:o,setContentOnMount:!0,type:i,value:(null===X||void 0===X?void 0:X[c])||""})},c)})),(0,W.jsx)(j.Z,{mt:2,children:(0,W.jsxs)(p.Z,{noPaddingContent:!0,children:[n===r.K8S&&(0,W.jsx)(h.Z,{title:"Kubernetes",children:le}),(0,W.jsx)(h.Z,{title:"Lifecycle (optional)",children:fe})]})})]}),ne&&(0,W.jsx)(j.Z,{mt:1,children:(0,W.jsx)(S.ZP,{small:!0,warning:!0,children:"This may take up to a few minutes... Once the service is created, it may take another 5-10 minutes for the service to be accessible."})}),!ne&&a&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(j.Z,{mt:1,children:(0,W.jsx)(S.ZP,{danger:!0,small:!0,children:"Failed to create instance, see error below."})}),(0,W.jsx)(j.Z,{mt:1,children:(0,W.jsx)(S.ZP,{danger:!0,small:!0,children:a})})]}),(0,W.jsx)(j.Z,{my:2,children:(0,W.jsxs)(v.ZP,{flexDirection:"row-reverse",children:[(0,W.jsx)(Z.ZP,{background:D.a$,bold:!0,inline:!0,loading:ne,onClick:function(){var e=X||{},t=e.name,r=e.container_config;if(t){var o=K({},X);o.name=function(e){return"ecs"===n?(0,H.We)(e,"_"):(0,H.We)(e,"-")}(t),o.container_config=F&&r,ee({workspace:K(K({},o),{},{cluster_type:n,lifecycle_config:q})})}else l("Please enter a valid name!")},uuid:"workspaces/create",children:"Create"}),(0,W.jsx)(j.Z,{ml:1}),(0,W.jsx)(Z.ZP,{bold:!0,inline:!0,onClick:t,uuid:"workspaces/cancel",children:"Cancel"})]})})]})})})},U=t(70374),G=t(93808),X=t(75499),z=t(59533),V=t(42631),q=t(8059),Q=t(4611),$=t(70515),J=t(75083);function ee(e){var n=e.clusterType,t=e.fetchWorkspaces,r=e.instance,o=e.setErrors,c=(0,u.useRef)(null),a=(0,u.useState)(),f=a[0],p=a[1],h=(0,u.useState)(),m=h[0],b=h[1],x=r.name,g=(r.task_arn,{cluster_type:n}),y=(0,s.Db)(A.ZP.workspaces.useUpdate(x,g),{onSuccess:function(e){return(0,M.wD)(e,{callback:function(){t(),p(!1)},onErrorCallback:function(e,n){return o({errors:n,response:e})}})}}),Z=(0,i.Z)(y,1)[0],O=(0,s.Db)(A.ZP.workspaces.useDelete(x,g),{onSuccess:function(e){return(0,M.wD)(e,{callback:function(){t(),p(!1)},onErrorCallback:function(e,n){return o({errors:n,response:e})}})}}),_=(0,i.Z)(O,1)[0],T=(0,u.useMemo)((function(){var e=r.status,t=[{label:function(){return(0,W.jsx)(S.ZP,{children:"Delete workspace"})},onClick:function(){return b(!0)},uuid:"delete_workspace"}];return"ecs"===n&&("STOPPED"===e?t.unshift({label:function(){return(0,W.jsx)(S.ZP,{children:"Resume instance"})},onClick:function(){return Z({workspace:{action:"resume",cluster_type:n,name:r.name,task_arn:r.task_arn}})},uuid:"resume_instance"}):"RUNNING"===e&&t.unshift({label:function(){return(0,W.jsx)(S.ZP,{children:"Stop instance"})},onClick:function(){return Z({workspace:{action:"stop",cluster_type:n,name:r.name,task_arn:r.task_arn}})},uuid:"stop_instance"})),"k8s"===n&&("STOPPED"===e?t.unshift({label:function(){return(0,W.jsx)(S.ZP,{children:"Resume instance"})},onClick:function(){return Z({workspace:{action:"resume",cluster_type:n,name:r.name}})},uuid:"resume_instance"}):"RUNNING"===e&&t.unshift({label:function(){return(0,W.jsx)(S.ZP,{children:"Stop instance"})},onClick:function(){return Z({workspace:{action:"stop",cluster_type:n,name:r.name}})},uuid:"stop_instance"})),t}),[n,r,Z]);return(0,W.jsx)(W.Fragment,{children:["ecs","k8s"].includes(n)&&(0,W.jsxs)("div",{ref:c,style:{position:"relative",zIndex:"1"},children:[(0,W.jsx)(d.ZP,{iconOnly:!0,onClick:function(){return p(!f)},children:(0,W.jsx)(I.mH,{size:2*$.iI})}),(0,W.jsx)(l.Z,{disableEscape:!0,onClickOutside:function(){p(!1),b(!1)},open:f,children:m?(0,W.jsxs)(Q.f,{leftOffset:30*-$.iI,topOffset:3*-$.iI,width:30*$.iI,children:[(0,W.jsx)(S.ZP,{children:"Are you sure you want to delete"}),(0,W.jsx)(S.ZP,{children:"this instance? You may not be"}),(0,W.jsx)(S.ZP,{children:"able to recover your data."}),(0,W.jsx)(j.Z,{mt:1}),(0,W.jsxs)(v.ZP,{children:[(0,W.jsx)(d.ZP,{danger:!0,onClick:_,children:"Confirm"}),(0,W.jsx)(j.Z,{ml:1}),(0,W.jsx)(d.ZP,{default:!0,onClick:function(){return b(!1)},children:"Cancel"})]})]}):(0,W.jsx)(U.Z,{items:T,left:25*-$.iI,open:f,parentRef:c,topOffset:3*-$.iI,uuid:"workspaces/more_actions",width:25*$.iI})})]})})}function ne(){var e=A.ZP.statuses.list().data,n=(0,u.useState)(null),t=n[0],r=n[1],o=(0,u.useMemo)((function(){var n,t;return(null===e||void 0===e||null===(n=e.statuses)||void 0===n||null===(t=n[0])||void 0===t?void 0:t.instance_type)||"ecs"}),[e]),c=A.ZP.workspaces.list({cluster_type:o},{refreshInterval:1e4,revalidateOnFocus:!0}),a=c.data,s=c.mutate,l=(0,u.useMemo)((function(){var e;return null===a||void 0===a||null===(e=a.workspaces)||void 0===e?void 0:e.filter((function(e){return e.name}))}),[a]),f=(0,B.dd)((function(){return(0,W.jsx)(F,{clusterType:o,onCancel:m,onCreate:function(){s(),m()}})}),{},[o,s],{background:!0,disableClickOutside:!0,disableEscape:!0,uuid:"configure_workspace"}),p=(0,i.Z)(f,2),h=p[0],m=p[1];return(0,W.jsx)(z.Z,{breadcrumbs:[{bold:!0,label:function(){return"Workspaces"}}],errors:t,pageName:J.L6.WORKSPACES,setErrors:r,subheaderChildren:(0,W.jsx)(Z.ZP,{background:q.eW,beforeElement:(0,W.jsx)(I.mm,{size:2.5*$.iI}),bold:!0,inline:!0,onClick:function(){return h()},uuid:"workspaces/new",children:"Create new workspace"}),children:(0,W.jsx)(X.Z,{columnFlex:[2,4,2,3,1,null],columns:[{uuid:"Status"},{uuid:"Instance Name"},{uuid:"Type"},{uuid:"Public IP address"},{uuid:"Open"},{label:function(){return""},uuid:"Actions"}],rows:null===l||void 0===l?void 0:l.map((function(e){var n=e.instance,t=n.ip,i=n.name,c=n.status,a=n.type,u="http://".concat(t);return"ecs"===o&&(u="http://".concat(t,":6789")),[(0,W.jsx)(d.ZP,{borderRadius:"".concat(V.D7,"px"),danger:"STOPPED"===c,default:"PROVISIONING"===c,notClickable:!0,padding:"6px",primary:"RUNNING"===c,warning:"PENDING"===c,children:(0,H.vg)(c)},"status"),(0,W.jsx)(S.ZP,{children:i},"name"),(0,W.jsx)(S.ZP,{children:(0,H.vg)(a)},"type"),(0,W.jsx)(S.ZP,{children:t},"ip"),(0,W.jsx)(d.ZP,{disabled:!t,iconOnly:!0,onClick:function(){return window.open(u)},children:(0,W.jsx)(I.M0,{size:2*$.iI})},"open_button"),(0,W.jsx)(ee,{clusterType:o,fetchWorkspaces:s,instance:n,setErrors:r},"more_actions")]}))})})}ne.getInitialProps=(0,o.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)})));var te=(0,G.Z)(ne)},13157:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/manage",function(){return t(2182)}])},80022:function(e,n,t){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},15544:function(e,n,t){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},13692:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(61049);function o(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&(0,r.Z)(e,n)}},93189:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(12539),o=t(80022);function i(e,n){if(n&&("object"===r(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},61049:function(e,n,t){"use strict";function r(e,n){return r=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},r(e,n)}t.d(n,{Z:function(){return r}})}},function(e){e.O(0,[2678,1154,844,6639,7011,4267,600,8487,8264,7858,5499,5810,553,9774,2888,179],(function(){return n=13157,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8867],{59739:function(e,n,t){"use strict";var r=t(56669);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t}},47329:function(e,n,t){e.exports=t(59739)()},56669:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55283:function(e,n,t){"use strict";t.d(n,{HC:function(){return T},HS:function(){return Z},IN:function(){return f},Kf:function(){return b},Nk:function(){return x},PB:function(){return v},PY:function(){return g},WC:function(){return p},fk:function(){return P},gE:function(){return _},j1:function(){return A},jv:function(){return O},nz:function(){return y},oh:function(){return l},qn:function(){return m},t1:function(){return j},u2:function(){return h},y9:function(){return S}});var r=t(38626),o=t(44897),i=t(44425),c=t(42631),a=t(8059),u=t(70515),s=t(47041),d=t(91437),l=68,f=1.5*u.iI,p=3*u.iI;function h(e){var n=a.eW;return i.tf.CALLBACK===e?n=a.J:i.tf.CHART===e||i.tf.CONDITIONAL===e?n=a.Hv:i.tf.CUSTOM===e?n=a.AK:i.tf.DATA_EXPORTER===e?n=a.Sr:i.tf.DATA_LOADER===e?n=a.R2:i.tf.DBT===e?n=a.J:i.tf.EXTENSION===e?n=a.FI:i.tf.GLOBAL_DATA_PRODUCT===e?n=a.yr:i.tf.SCRATCHPAD===e?n=a.Hv:i.tf.SENSOR===e?n=a.rK:i.tf.MARKDOWN===e?n=a.RK:i.tf.TRANSFORMER===e&&(n=a.eW),n}function m(e,n){var t,r,c=((null===n||void 0===n||null===(t=n.theme)||void 0===t?void 0:t.borders)||o.Z.borders).light,a=((null===n||void 0===n||null===(r=n.theme)||void 0===r?void 0:r.monotone)||o.Z.monotone).grey500,u=n||{},s=u.blockColor,d=u.isSelected,l=u.theme;return d?c=(l||o.Z).content.active:i.tf.TRANSFORMER===e||s===i.Lq.PURPLE?(c=(l||o.Z).accent.purple,a=(l||o.Z).accent.purpleLight):i.tf.DATA_EXPORTER===e||s===i.Lq.YELLOW?(c=(l||o.Z).accent.yellow,a=(l||o.Z).accent.yellowLight):i.tf.DATA_LOADER===e||s===i.Lq.BLUE?(c=(l||o.Z).accent.blue,a=(l||o.Z).accent.blueLight):i.tf.MARKDOWN===e?(c=(l||o.Z).accent.sky,a=(l||o.Z).accent.skyLight):i.tf.SENSOR===e||s===i.Lq.PINK?(c=(l||o.Z).accent.pink,a=(l||o.Z).accent.pinkLight):i.tf.DBT===e?(c=(l||o.Z).accent.dbt,a=(l||o.Z).accent.dbtLight):i.tf.EXTENSION===e||s===i.Lq.TEAL?(c=((null===l||void 0===l?void 0:l.accent)||o.Z.accent).teal,a=((null===l||void 0===l?void 0:l.accent)||o.Z.accent).tealLight):i.tf.CALLBACK===e?(c=((null===l||void 0===l?void 0:l.accent)||o.Z.accent).rose,a=((null===l||void 0===l?void 0:l.accent)||o.Z.accent).roseLight):i.tf.CONDITIONAL===e||i.tf.SCRATCHPAD===e||s===i.Lq.GREY||i.tf.CUSTOM===e&&!s?(c=(l||o.Z).content.default,a=(l||o.Z).accent.contentDefaultTransparent):i.tf.GLOBAL_DATA_PRODUCT!==e||s||(c=(l||o.Z).monotone.white,a=(l||o.Z).monotone.whiteTransparent),{accent:c,accentLight:a}}var b=(0,r.css)([""," "," "," "," "," "," ",""],(0,d.eR)(),(function(e){return!e.selected&&!e.hasError&&"\n border-color: ".concat(m(e.blockType,e).accentLight,";\n ")}),(function(e){return e.selected&&!e.hasError&&"\n border-color: ".concat(m(e.blockType,e).accent,";\n ")}),(function(e){return!e.selected&&e.hasError&&"\n border-color: ".concat((e.theme.accent||o.Z.accent).negativeTransparent,";\n ")}),(function(e){return e.selected&&e.hasError&&"\n border-color: ".concat((e.theme.borders||o.Z.borders).danger,";\n ")}),(function(e){return e.dynamicBlock&&"\n border-style: dashed !important;\n "}),(function(e){return e.dynamicChildBlock&&"\n border-style: dotted !important;\n "})),x=r.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-s5rj34-0"})(["border-radius:","px;position:relative;"],c.n_),g=r.default.div.withConfig({displayName:"indexstyle__HiddenBlockContainerStyle",componentId:"sc-s5rj34-1"})([""," border-radius:","px;border-style:",";border-width:","px;",""],b,c.n_,c.M8,c.mP,(function(e){return"\n background-color: ".concat((e.theme||o.Z).background.content,";\n\n &:hover {\n border-color: ").concat(m(e.blockType,e).accent,";\n }\n ")})),v=r.default.div.withConfig({displayName:"indexstyle__HeaderHorizontalBorder",componentId:"sc-s5rj34-2"})(["",""],(function(e){return"\n border-bottom: 1px solid ".concat((e.theme||o.Z).borders.darkLight,";\n ")})),y=r.default.div.withConfig({displayName:"indexstyle__BlockHeaderStyle",componentId:"sc-s5rj34-3"})([""," border-top-left-radius:","px;border-top-right-radius:","px;border-top-style:",";border-top-width:","px;border-left-style:",";border-left-width:","px;border-right-style:",";border-right-width:","px;padding-bottom:","px;padding-top:","px;"," "," "," ",""],b,c.n_,c.n_,c.M8,c.mP,c.M8,c.mP,c.M8,c.mP,1*u.iI,1*u.iI,(function(e){return"\n background-color: ".concat((e.theme||o.Z).background.dashboard,";\n ")}),(function(e){return"undefined"!==typeof e.zIndex&&null!==e.zIndex&&"\n z-index: ".concat(6+(e.zIndex||0),";\n ")}),(function(e){return!e.noSticky&&"\n // This is to hide the horizontal scrollbar in the block header when sideBySide is enabled,\n // and the screen width is too small.\n position: sticky;\n top: -5px;\n "}),(function(e){return e.noSticky&&"\n ".concat((0,s.y$)(),"\n\n overflow-x: auto;\n overflow-y: visible;\n ")})),Z=r.default.div.withConfig({displayName:"indexstyle__SubheaderStyle",componentId:"sc-s5rj34-4"})([""," "," ",""],(function(e){return!e.darkBorder&&"\n border-bottom: 1px solid ".concat((e.theme.borders||o.Z.borders).darkLight,";\n ")}),(function(e){return e.darkBorder&&"\n border-bottom: 1px solid ".concat((e.theme.borders||o.Z.borders).medium,";\n ")}),(function(e){return!e.noBackground&&"\n background-color: ".concat((e.theme||o.Z).background.dashboard,";\n ")})),O=r.default.div.withConfig({displayName:"indexstyle__CodeContainerStyle",componentId:"sc-s5rj34-5"})([""," border-left-style:",";border-left-width:","px;border-right-style:",";border-right-width:","px;position:relative;"," "," "," "," .line-numbers{opacity:0;}&.selected{.line-numbers{opacity:1 !important;}}"],b,c.M8,c.mP,c.M8,c.mP,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).codeTextarea,";\n ")}),(function(e){return!e.noPadding&&"\n padding-bottom: ".concat(u.iI,"px;\n padding-top: ").concat(u.iI,"px;\n ")}),(function(e){return e.lightBackground&&"\n background-color: ".concat((e.theme||o.Z).background.content,";\n ")}),(function(e){return!e.hideBorderBottom&&"\n border-bottom-left-radius: ".concat(c.n_,"px;\n border-bottom-right-radius: ").concat(c.n_,"px;\n border-bottom-style: ").concat(c.M8,";\n border-bottom-width: ").concat(c.mP,"px;\n overflow: hidden;\n ")})),_=r.default.div.withConfig({displayName:"indexstyle__BlockDivider",componentId:"sc-s5rj34-6"})(["align-items:center;display:flex;height:","px;justify-content:center;position:relative;z-index:8;&:hover{"," .block-divider-inner{","}}"," "," "," ",""],2*u.iI,(function(e){return e.additionalZIndex>0&&"\n z-index: ".concat(8+e.additionalZIndex,";\n ")}),(function(e){return"\n background-color: ".concat((e.theme.text||o.Z.text).fileBrowser,";\n ")}),(function(e){return!e.height&&"\n height: ".concat(2*u.iI,"px;\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),(function(e){return!e.bottom&&"\n bottom: ".concat(.5*u.iI,"px;\n ")}),(function(e){return"undefined"!==typeof e.bottom&&"\n bottom: ".concat(e.bottom,"px;\n ")})),j=r.default.div.withConfig({displayName:"indexstyle__BlockDividerInner",componentId:"sc-s5rj34-7"})(["height 1px;width:100%;position:absolute;z-index:-1;"," ",""],(function(e){return!e.top&&"\n top: ".concat(1.5*u.iI,"px;\n ")}),(function(e){return"undefined"!==typeof e.top&&"\n top: ".concat(e.top,"px;\n ")})),S=r.default.div.withConfig({displayName:"indexstyle__CodeHelperStyle",componentId:"sc-s5rj34-8"})([""," ",""],(function(e){return"\n border-bottom: 1px solid ".concat((e.theme.borders||o.Z.borders).medium,";\n padding-left: ").concat(e.normalPadding?u.iI:l,"px;\n ")}),(function(e){return!e.noMargin&&"\n margin-bottom: ".concat(1*u.iI,"px;\n padding-bottom: ").concat(1*u.iI,"px;\n ")})),T=r.default.div.withConfig({displayName:"indexstyle__TimeTrackerStyle",componentId:"sc-s5rj34-9"})(["bottom:","px;left:","px;position:absolute;"],1*u.iI,l),P=r.default.div.withConfig({displayName:"indexstyle__ScrollColunnsContainerStyle",componentId:"sc-s5rj34-10"})(["position:relative;",""],(function(e){return"\n z-index: ".concat((null===e||void 0===e?void 0:e.zIndex)||1,";\n ")})),A=r.default.div.attrs((function(e){var n=e.height,t=e.left,r=e.right,o=e.top;return{style:{position:"fixed",height:n,width:e.width,left:t,right:r,top:o,zIndex:(e.zIndex||0)+2}}})).withConfig({displayName:"indexstyle__ScrollColunnStyle",componentId:"sc-s5rj34-11"})([""])},94629:function(e,n,t){"use strict";t.d(n,{Z:function(){return T}});var r=t(82394),o=t(21831),i=t(82684),c=t(50724),a=t(82555),u=t(97618),s=t(70613),d=t(68487),l=t(68899),f=t(28598);function p(e,n){var t=e.children,r=e.noPadding;return(0,f.jsx)(l.HS,{noPadding:r,ref:n,children:t})}var h=i.forwardRef(p),m=t(62547),b=t(82571),x=t(35686),g=t(98464),v=t(46684),y=t(70515),Z=t(53808),O=t(19183);function _(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function j(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?_(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function S(e,n){var t,r=e.addProjectBreadcrumbToCustomBreadcrumbs,p=e.after,_=e.afterHeader,S=e.afterHidden,T=e.afterWidth,P=e.afterWidthOverride,A=e.appendBreadcrumbs,C=e.before,E=e.beforeWidth,R=e.breadcrumbs,w=e.children,k=e.errors,I=e.headerMenuItems,N=e.headerOffset,D=e.hideAfterCompletely,L=e.mainContainerHeader,M=e.navigationItems,H=e.setAfterHidden,B=e.setErrors,W=e.subheaderChildren,Y=e.subheaderNoPadding,K=e.title,F=e.uuid,U=(0,O.i)().width,G="dashboard_after_width_".concat(F),X="dashboard_before_width_".concat(F),z=(0,i.useRef)(null),V=(0,i.useState)(P?T:(0,Z.U2)(G,T)),q=V[0],Q=V[1],$=(0,i.useState)(!1),J=$[0],ee=$[1],ne=(0,i.useState)(C?Math.max((0,Z.U2)(X,E),13*y.iI):null),te=ne[0],re=ne[1],oe=(0,i.useState)(!1),ie=oe[0],ce=oe[1],ae=(0,i.useState)(null)[1],ue=x.ZP.projects.list({},{revalidateOnFocus:!1}).data,se=null===ue||void 0===ue?void 0:ue.projects,de={label:function(){var e;return null===se||void 0===se||null===(e=se[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},le=[];R&&(r&&le.push(de),le.push.apply(le,(0,o.Z)(R))),(null===R||void 0===R||!R.length||A)&&(null===se||void 0===se?void 0:se.length)>=1&&(null!==R&&void 0!==R&&R.length||le.unshift({bold:!A,label:function(){return K}}),le.unshift(de)),(0,i.useEffect)((function(){null===z||void 0===z||!z.current||J||ie||null===ae||void 0===ae||ae(z.current.getBoundingClientRect().width)}),[J,q,ie,te,z,ae,U]),(0,i.useEffect)((function(){J||(0,Z.t8)(G,q)}),[S,J,q,G]),(0,i.useEffect)((function(){ie||(0,Z.t8)(X,te)}),[ie,te,X]);var fe=(0,g.Z)(T);return(0,i.useEffect)((function(){P&&fe!==T&&Q(T)}),[P,T,fe]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(s.Z,{title:K}),(0,f.jsx)(d.Z,{breadcrumbs:le,menuItems:I,project:null===se||void 0===se?void 0:se[0],version:null===se||void 0===se||null===(t=se[0])||void 0===t?void 0:t.version}),(0,f.jsxs)(l.Nk,{ref:n,children:[0!==(null===M||void 0===M?void 0:M.length)&&(0,f.jsx)(l.lm,{showMore:!0,children:(0,f.jsx)(b.Z,{navigationItems:M,showMore:!0})}),(0,f.jsx)(u.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(m.Z,{after:p,afterHeader:_,afterHeightOffset:v.Mz,afterHidden:S,afterMousedownActive:J,afterWidth:q,before:C,beforeHeightOffset:v.Mz,beforeMousedownActive:ie,beforeWidth:l.k1+(C?te:0),headerOffset:N,hideAfterCompletely:!H||D,leftOffset:C?l.k1:null,mainContainerHeader:L,mainContainerRef:z,setAfterHidden:H,setAfterMousedownActive:ee,setAfterWidth:Q,setBeforeMousedownActive:ce,setBeforeWidth:re,children:[W&&(0,f.jsx)(h,{noPadding:Y,children:W}),w]})})]}),k&&(0,f.jsx)(c.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===B||void 0===B?void 0:B(null)},children:(0,f.jsx)(a.Z,j(j({},k),{},{onClose:function(){return null===B||void 0===B?void 0:B(null)}}))})]})}var T=i.forwardRef(S)},53779:function(e,n,t){"use strict";t.d(n,{C:function(){return h},X$:function(){return p},eD:function(){return l},iW:function(){return m},nF:function(){return b}});var r=t(38626),o=t(44897),i=t(42631),c=t(70515),a=t(47041),u=t(91437),s=6.25*c.iI,d=(c.iI,100*c.iI),l=r.default.div.withConfig({displayName:"indexstyle__WindowContainerStyle",componentId:"sc-g0cszf-0"})(["border-radius:","px;width:100%;max-width:","px;z-index:101;position:absolute;overflow:hidden;top:50%;left:50%;transform:translate(-50%,-50%);",""],i.n_,d,(function(e){return"\n box-shadow: ".concat((e.theme||o.Z).shadow.window,";\n background-color: ").concat((e.theme||o.Z).background.panel,";\n ")})),f=(0,r.css)(["display:flex;align-items:center;justify-content:space-between;height:","px;padding:","px ","px;",""],s,c.iI,c.cd*c.iI,(function(e){return"\n background-color: ".concat((e.theme||o.Z).background.output,";\n ")})),p=r.default.div.withConfig({displayName:"indexstyle__WindowHeaderStyle",componentId:"sc-g0cszf-1"})([""," border-top-left-radius:","px;border-top-right-radius:","px;",""],f,i.n_,i.n_,(function(e){return"\n border-bottom: ".concat(i.YF,"px ").concat(i.M8," ").concat((e.theme||o.Z).borders.medium,";\n ")})),h=r.default.div.withConfig({displayName:"indexstyle__WindowContentStyle",componentId:"sc-g0cszf-2"})(["overflow:auto;padding:","px 0;"," "," "," ",""],c.iI,a.w5,(0,u.eR)(),(function(e){return e.minMaxHeight&&"\n max-height: ".concat(7*c.iI,"px;\n ")}),(function(e){return!e.minMaxHeight&&"\n max-height: calc(100vh - ".concat(6.5*s,"px);\n ")})),m=r.default.div.withConfig({displayName:"indexstyle__WindowFooterStyle",componentId:"sc-g0cszf-3"})([""," justify-content:flex-end;border-bottom-left-radius:","px;border-bottom-right-radius:","px;",""],f,i.n_,i.n_,(function(e){return"\n border-top: ".concat(i.YF,"px ").concat(i.M8," ").concat((e.theme||o.Z).borders.medium,";\n ")})),b=r.default.div.withConfig({displayName:"indexstyle__InputRowStyle",componentId:"sc-g0cszf-4"})(["padding:","px ","px;",""],.75*c.iI,2*c.iI,(function(e){return"\n border-bottom: ".concat(i.YF,"px ").concat(i.M8," ").concat((e.theme||o.Z).borders.medium,";\n ")}))},29480:function(e,n,t){"use strict";t.d(n,{$W:function(){return d},cl:function(){return l},cv:function(){return f},dE:function(){return u},zG:function(){return s}});var r=t(38626),o=t(44897),i=t(42631),c=t(70515),a=t(47041),u=r.default.div.withConfig({displayName:"indexstyle__SectionStyle",componentId:"sc-7a1uhf-0"})(["border-radius:","px;padding:","px;",""],i.n_,c.cd*c.iI,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).popup,";\n ")})),s=r.default.div.withConfig({displayName:"indexstyle__DocsStyle",componentId:"sc-7a1uhf-1"})(["> div{overflow:initial;}> div img{max-width:80%;background:white;padding:1rem;max-height:20vh;}"]),d=r.default.div.withConfig({displayName:"indexstyle__CodeEditorStyle",componentId:"sc-7a1uhf-2"})(["padding-top:","px;",""],c.cd*c.iI,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).codeTextarea,";\n ")})),l=r.default.div.withConfig({displayName:"indexstyle__TableContainerStyle",componentId:"sc-7a1uhf-3"})(["overflow:auto;max-height:90vh;width:100%;"," "," "," "," ",""],a.w5,(function(e){return e.hideHorizontalScrollbar&&"\n overflow-x: hidden;\n "}),(function(e){return e.width&&"\n width: ".concat(e.width,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,";\n ")}),(function(e){return e.maxHeight&&"\n max-height: ".concat(e.maxHeight,";\n ")})),f=r.default.div.withConfig({displayName:"indexstyle__HeaderRowStyle",componentId:"sc-7a1uhf-4"})(["padding:","px;"," "," ",""],2*c.iI,(function(e){return"\n background-color: ".concat((e.theme||o.Z).interactive.defaultBackground,";\n border-bottom: ").concat(i.YF,"px ").concat(i.M8," ").concat((e.theme||o.Z).borders.medium,";\n ")}),(function(e){return e.padding&&"\n padding: ".concat(e.padding,"px;\n ")}),(function(e){return e.rounded&&"\n border-top-left-radius: ".concat(i.n_,"px;\n border-top-right-radius: ").concat(i.n_,"px;\n ")}))},4611:function(e,n,t){"use strict";t.d(n,{f:function(){return a}});var r=t(38626),o=t(44897),i=t(70515),c=t(42631),a=r.default.div.withConfig({displayName:"Tablestyle__PopupContainerStyle",componentId:"sc-8ammqd-0"})(["position:absolute;max-height:","px;z-index:10;border-radius:","px;padding:","px;"," "," "," ",""],58*i.iI,c.TR,2*i.iI,(function(e){return"\n box-shadow: ".concat((e.theme.shadow||o.Z.shadow).popup,";\n background-color: ").concat((e.theme.interactive||o.Z.interactive).defaultBackground,";\n ")}),(function(e){return e.leftOffset&&"\n left: ".concat(e.leftOffset,"px;\n ")}),(function(e){return e.topOffset&&"\n top: ".concat(e.topOffset,"px;\n ")}),(function(e){return e.width&&"\n width: ".concat(e.width,"px;\n ")}))},85385:function(e,n,t){"use strict";t.d(n,{Qq:function(){return h},Z7:function(){return m},cH:function(){return o},du:function(){return f},fp:function(){return l},j5:function(){return p},uM:function(){return d}});var r,o,i=t(82394),c=t(57653),a=t(82359),u=t(72473),s=t(86735),d="sideview",l=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 f=[o.DATA];function p(e){var n,t,r,i=[{key:o.TREE,label:"Tree"},{buildLabel:function(e){var n=(e.pipeline||{}).widgets,t=void 0===n?[]:n;return(null===t||void 0===t?void 0:t.length)>=1?"Charts (".concat(t.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 c.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,t=void 0===n?{}:n,r=0;return Object.values(t).forEach((function(e){var n=e.blocks;r+=(null===n||void 0===n?void 0:n.length)||0})),r>=1?"Power ups (".concat(r,")"):"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!==(t=e.project)&&void 0!==t&&null!==(r=t.features)&&void 0!==r&&r[a.d.INTERACTIONS]&&i.push({key:o.INTERACTIONS,label:"Interactions"}),i}function h(e){return(0,s.HK)(p(e),(function(e){return e.key}))}var m=(r={},(0,i.Z)(r,o.ADDON_BLOCKS,u.EJ),(0,i.Z)(r,o.BLOCK_SETTINGS,u.JG),(0,i.Z)(r,o.CALLBACKS,u.AQ),(0,i.Z)(r,o.CHARTS,u.GQ),(0,i.Z)(r,o.DATA,u.iA),(0,i.Z)(r,o.EXTENSIONS,u.Bf),(0,i.Z)(r,o.INTERACTIONS,u.yd),(0,i.Z)(r,o.SECRETS,u.Yo),(0,i.Z)(r,o.SETTINGS,u.Zr),(0,i.Z)(r,o.TERMINAL,u.oI),(0,i.Z)(r,o.TREE,u.mp),(0,i.Z)(r,o.VARIABLES,u.LO),r)},75083:function(e,n,t){"use strict";t.d(n,{HF:function(){return i},L6:function(){return r}});var r,o=t(72473);function i(e,n,t){var i=e.owner,c=(e.roles,[{Icon:o.Vz,id:r.WORKSPACES,isSelected:function(){return r.WORKSPACES===t},label:function(){return"Workspaces"},linkProps:{href:"/manage"}}]);return i&&c.push({Icon:o.NO,id:r.USERS,isSelected:function(){return r.USERS===t},label:function(){return"Users"},linkProps:{href:"/manage/users"}}),c.push.apply(c,[{Icon:o.Zr,id:r.SETTINGS,isSelected:function(){return r.SETTINGS===t},label:function(){return"Settings"},linkProps:{href:"/manage/settings"}},{Icon:o.$B,id:r.FILE_BROWSER,isSelected:function(){return r.FILE_BROWSER===t},label:function(){return"File browser"},linkProps:{href:"/manage/files"}}]),c}!function(e){e.WORKSPACES="workspaces",e.USERS="users",e.SETTINGS="settings",e.FILE_BROWSER="file_browser"}(r||(r={}))},59533:function(e,n,t){"use strict";var r=t(82684),o=t(94629),i=t(35686),c=t(70515),a=t(75083),u=t(50178),s=t(28598);n.Z=function(e){var n=e.before,t=e.breadcrumbs,d=void 0===t?[]:t,l=e.children,f=e.errors,p=e.headerOffset,h=e.mainContainerHeader,m=e.pageName,b=e.setErrors,x=e.subheaderChildren,g=i.ZP.statuses.list().data,v=(0,r.useMemo)((function(){var e,n;return null===g||void 0===g||null===(e=g.statuses)||void 0===e||null===(n=e[0])||void 0===n?void 0:n.project_type}),[g]),y=(0,u.PR)()||{};return(0,s.jsx)(o.Z,{before:n,beforeWidth:n?50*c.iI:0,breadcrumbs:d,errors:f,headerOffset:p,mainContainerHeader:h,navigationItems:(0,a.HF)(y,v,m),setErrors:b,subheaderChildren:x,title:"Workspaces",uuid:"workspaces/index",children:l})}},44425:function(e,n,t){"use strict";t.d(n,{$W:function(){return x},DA:function(){return m},HX:function(){return Z},J8:function(){return y},L8:function(){return a},LE:function(){return f},Lk:function(){return j},Lq:function(){return p},M5:function(){return h},Q3:function(){return g},Qj:function(){return O},Ut:function(){return P},V4:function(){return T},VZ:function(){return v},dO:function(){return l},f2:function(){return S},iZ:function(){return _},t6:function(){return u},tf:function(){return d}});var r,o,i,c,a,u,s=t(82394);!function(e){e.CONDITION="condition",e.DBT_SNAPSHOT="snapshot",e.DYNAMIC="dynamic",e.DYNAMIC_CHILD="dynamic_child",e.REDUCE_OUTPUT="reduce_output",e.REPLICA="replica"}(a||(a={})),function(e){e.MARKDOWN="markdown",e.PYTHON="python",e.R="r",e.SQL="sql",e.YAML="yaml"}(u||(u={}));var d,l=(r={},(0,s.Z)(r,u.MARKDOWN,"MD"),(0,s.Z)(r,u.PYTHON,"PY"),(0,s.Z)(r,u.R,"R"),(0,s.Z)(r,u.SQL,"SQL"),(0,s.Z)(r,u.YAML,"YAML"),r),f=(o={},(0,s.Z)(o,u.MARKDOWN,"Markdown"),(0,s.Z)(o,u.PYTHON,"Python"),(0,s.Z)(o,u.R,"R"),(0,s.Z)(o,u.SQL,"SQL"),(0,s.Z)(o,u.YAML,"YAML"),o);!function(e){e.CALLBACK="callback",e.CHART="chart",e.CONDITIONAL="conditional",e.CUSTOM="custom",e.DATA_EXPORTER="data_exporter",e.DATA_LOADER="data_loader",e.DBT="dbt",e.EXTENSION="extension",e.GLOBAL_DATA_PRODUCT="global_data_product",e.SCRATCHPAD="scratchpad",e.SENSOR="sensor",e.MARKDOWN="markdown",e.TRANSFORMER="transformer"}(d||(d={}));var p,h=[d.CALLBACK,d.CONDITIONAL,d.EXTENSION];!function(e){e.BLUE="blue",e.GREY="grey",e.PINK="pink",e.PURPLE="purple",e.TEAL="teal",e.YELLOW="yellow"}(p||(p={}));var m,b,x=[d.CHART,d.CUSTOM,d.DATA_EXPORTER,d.DATA_LOADER,d.SCRATCHPAD,d.SENSOR,d.MARKDOWN,d.TRANSFORMER],g=[d.CUSTOM,d.DATA_EXPORTER,d.DATA_LOADER,d.SCRATCHPAD,d.SENSOR,d.MARKDOWN,d.TRANSFORMER],v=[d.DATA_EXPORTER,d.DATA_LOADER],y=[d.DATA_EXPORTER,d.DATA_LOADER,d.TRANSFORMER],Z=[d.DATA_EXPORTER,d.DATA_LOADER,d.DBT,d.TRANSFORMER],O=[d.CHART,d.SCRATCHPAD,d.SENSOR,d.MARKDOWN],_=[d.CALLBACK,d.CHART,d.EXTENSION,d.SCRATCHPAD,d.MARKDOWN],j=[d.CUSTOM,d.DATA_EXPORTER,d.DATA_LOADER,d.SENSOR,d.TRANSFORMER];!function(e){e.EXECUTED="executed",e.FAILED="failed",e.NOT_EXECUTED="not_executed",e.UPDATED="updated"}(m||(m={})),function(e){e.BLOCK_FILE="block_file",e.CUSTOM_BLOCK_TEMPLATE="custom_block_template",e.MAGE_TEMPLATE="mage_template"}(b||(b={}));var S=[d.CUSTOM,d.DATA_EXPORTER,d.DATA_LOADER,d.TRANSFORMER],T=(i={},(0,s.Z)(i,d.CALLBACK,"Callback"),(0,s.Z)(i,d.CHART,"Chart"),(0,s.Z)(i,d.CONDITIONAL,"Conditional"),(0,s.Z)(i,d.CUSTOM,"Custom"),(0,s.Z)(i,d.DATA_EXPORTER,"Data exporter"),(0,s.Z)(i,d.DATA_LOADER,"Data loader"),(0,s.Z)(i,d.DBT,"DBT"),(0,s.Z)(i,d.EXTENSION,"Extension"),(0,s.Z)(i,d.GLOBAL_DATA_PRODUCT,"Global data product"),(0,s.Z)(i,d.MARKDOWN,"Markdown"),(0,s.Z)(i,d.SCRATCHPAD,"Scratchpad"),(0,s.Z)(i,d.SENSOR,"Sensor"),(0,s.Z)(i,d.TRANSFORMER,"Transformer"),i),P=[d.DATA_LOADER,d.TRANSFORMER,d.DATA_EXPORTER,d.SENSOR];c={},(0,s.Z)(c,d.DATA_EXPORTER,"DE"),(0,s.Z)(c,d.DATA_LOADER,"DL"),(0,s.Z)(c,d.SCRATCHPAD,"SP"),(0,s.Z)(c,d.SENSOR,"SR"),(0,s.Z)(c,d.MARKDOWN,"MD"),(0,s.Z)(c,d.TRANSFORMER,"TF")},89706:function(e,n,t){"use strict";t.d(n,{JD:function(){return m},Lu:function(){return i},PF:function(){return f},dT:function(){return c},n6:function(){return s},nB:function(){return h},oy:function(){return p},xF:function(){return l}});var r,o,i,c,a=t(82394),u=t(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"}(c||(c={}));var s=[i.PY,i.SQL],d=[i.JSON,i.MD,i.PY,i.R,i.SH,i.SQL,i.TXT,i.YAML,i.YML],l=new RegExp(d.map((function(e){return".".concat(e,"$")})).join("|")),f=(new RegExp(d.map((function(e){return".".concat(e,"$")})).join("|")),"charts"),p="pipelines",h=(r={},(0,a.Z)(r,i.MD,u.t6.MARKDOWN),(0,a.Z)(r,i.JSON,i.JSON),(0,a.Z)(r,i.PY,u.t6.PYTHON),(0,a.Z)(r,i.R,u.t6.R),(0,a.Z)(r,i.SQL,u.t6.SQL),(0,a.Z)(r,i.TXT,"text"),(0,a.Z)(r,i.YAML,u.t6.YAML),(0,a.Z)(r,i.YML,u.t6.YAML),r),m=(o={},(0,a.Z)(o,u.t6.MARKDOWN,i.MD),(0,a.Z)(o,u.t6.PYTHON,i.PY),(0,a.Z)(o,u.t6.R,i.R),(0,a.Z)(o,u.t6.SQL,i.SQL),(0,a.Z)(o,u.t6.YAML,i.YAML),(0,a.Z)(o,"text",i.TXT),o)},72098:function(e,n,t){"use strict";var r;t.d(n,{U:function(){return r}}),function(e){e.PYSPARK="pysparkkernel",e.PYTHON3="python3"}(r||(r={}))},57653:function(e,n,t){"use strict";t.d(n,{$1:function(){return m},G7:function(){return g},LM:function(){return v},Mj:function(){return y},QK:function(){return h},RH:function(){return x},a_:function(){return O},fj:function(){return _},kA:function(){return Z},qL:function(){return a},r0:function(){return b}});var r,o,i,c,a,u=t(75582),s=t(82394),d=t(72473),l=t(72098);function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}!function(e){e.INTEGRATION="integration",e.PYTHON="python",e.PYSPARK="pyspark",e.STREAMING="streaming"}(a||(a={}));var h,m,b,x=(r={},(0,s.Z)(r,a.INTEGRATION,"Integration"),(0,s.Z)(r,a.PYTHON,"Python"),(0,s.Z)(r,a.PYSPARK,"PySpark"),(0,s.Z)(r,a.STREAMING,"Streaming"),r),g=(o={},(0,s.Z)(o,a.INTEGRATION,"Integration"),(0,s.Z)(o,a.PYTHON,"Standard"),(0,s.Z)(o,a.PYSPARK,"PySpark"),(0,s.Z)(o,a.STREAMING,"Streaming"),o),v="all",y=(a.PYTHON,a.INTEGRATION,a.STREAMING,i={},(0,s.Z)(i,v,d.ie),(0,s.Z)(i,a.INTEGRATION,d.YC),(0,s.Z)(i,a.PYTHON,d.El),(0,s.Z)(i,a.STREAMING,d.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"}(h||(h={})),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[]"}(m||(m={})),function(e){e.STATUS="status",e.TAG="tag",e.TYPE="type"}(b||(b={}));var Z=[h.ACTIVE,h.INACTIVE,h.NO_SCHEDULES],O=(c={},(0,s.Z)(c,a.PYTHON,l.U.PYTHON3),(0,s.Z)(c,a.PYSPARK,l.U.PYSPARK),c),_=Object.entries(O).reduce((function(e,n){var t=(0,u.Z)(n,2),r=t[0],o=t[1];return p(p({},e),{},(0,s.Z)({},o,r))}),{})},65956:function(e,n,t){"use strict";var r=t(38626),o=t(55485),i=t(38276),c=t(30160),a=t(44897),u=t(42631),s=t(47041),d=t(70515),l=t(28598),f=(0,r.css)(["padding:","px;padding-bottom:","px;padding-top:","px;"],2*d.iI,1.5*d.iI,1.5*d.iI),p=r.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||a.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.success&&"\n background-color: ".concat((e.theme.background||a.Z.background).successLight,";\n ")}),(function(e){return e.success&&!e.borderless&&"\n border: 1px solid ".concat((e.theme.background||a.Z.background).success,";\n ")}),(function(e){return!e.dark&&!e.success&&"\n background-color: ".concat((e.theme.background||a.Z.background).panel,";\n ")}),(function(e){return e.dark&&"\n background-color: ".concat((e.theme.background||a.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 "})),h=r.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||a.Z.background).chartBlock,";\n border-bottom: 1px solid ").concat((e.theme.interactive||a.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),f,(function(e){return e.headerPaddingVertical&&"\n padding-bottom: ".concat(e.headerPaddingVertical,"px;\n padding-top: ").concat(e.headerPaddingVertical,"px;\n ")})),m=r.default.div.withConfig({displayName:"Panel__ContentStyle",componentId:"sc-1ct8cgl-2"})(["overflow-y:auto;padding:","px;height:100%;"," "," "," "," ",""],1.75*d.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*d.iI,"px);\n ")}),(function(e){return e.noPadding&&"\n padding: 0;\n "}),(function(e){return e.overflowVisible&&"\n overflow: visible;\n "})),b=r.default.div.withConfig({displayName:"Panel__FooterStyle",componentId:"sc-1ct8cgl-3"})(["border-style:",";border-top-width:","px;padding:","px;"],u.M8,u.YF,1.75*d.iI);n.Z=function(e){var n=e.borderless,t=e.children,r=e.containerRef,a=e.contentContainerRef,u=e.dark,s=e.footer,d=e.fullHeight,f=void 0===d||d,x=e.fullWidth,g=void 0===x||x,v=e.header,y=e.headerHeight,Z=e.headerIcon,O=e.headerPaddingVertical,_=e.headerTitle,j=e.maxHeight,S=e.maxWidth,T=e.minWidth,P=e.noPadding,A=e.overflowVisible,C=e.subtitle,E=e.success;return(0,l.jsxs)(p,{borderless:n,dark:u,fullHeight:f,fullWidth:g,maxHeight:j,maxWidth:S,minWidth:T,overflowVisible:A,ref:r,success:E,children:[(v||_)&&(0,l.jsxs)(h,{headerPaddingVertical:O,height:y,children:[v&&v,_&&(0,l.jsx)(o.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,l.jsxs)(o.ZP,{alignItems:"center",children:[Z&&Z,(0,l.jsx)(i.Z,{ml:Z?1:0,children:(0,l.jsx)(c.ZP,{bold:!0,default:!0,children:_})})]})})]}),(0,l.jsxs)(m,{maxHeight:j,noPadding:P,overflowVisible:A,ref:a,children:[C&&"string"===typeof C&&(0,l.jsx)(i.Z,{mb:2,children:(0,l.jsx)(c.ZP,{default:!0,children:C})}),C&&"string"!==typeof C&&C,t]}),s&&(0,l.jsx)(b,{children:s})]})}},11074:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var r=t(38626),o=t(44897),i=t(42631),c=r.default.div.withConfig({displayName:"indexstyle__PanelStyle",componentId:"sc-1rfr5wd-0"})(["border-radius:","px;"," ",""],i.n_,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).panel,";\n ")}),(function(e){return e.fullWidth&&"\n width: 100%;\n "})),a=t(28598);var u=function(e){var n=e.children,t=e.fullWidth,r=void 0===t||t;return(0,a.jsx)(c,{fullWidth:r,children:n})}},35185:function(e,n,t){"use strict";var r=t(82394),o=t(91835),i=(t(82684),t(38626)),c=t(44897),a=t(42631),u=t(70515),s=t(28598);function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?d(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var f=i.default.div.withConfig({displayName:"ProgressBar__ProgressBarContainerStyle",componentId:"sc-10x9ojc-0"})(["border-radius:","px;height:","px;overflow:hidden;position:relative;width:100%;",""],a.BG,.75*u.iI,(function(e){return"\n background-color: ".concat((e.theme.monotone||c.Z.monotone).grey200,";\n ")})),p=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||c.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||c.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)(f,l(l({},n),{},{children:(0,s.jsx)(p,l({},n))}))}},2182:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return te}});var r,o=t(77837),i=t(75582),c=t(38860),a=t.n(c),u=t(82684),s=t(69864),d=t(71180),l=t(50724),f=t(82394),p=t(32013),h=t(98777),m=t(75810),b=t(15338),x=t(10553),g=t(97618),v=t(55485),y=t(85854),Z=t(93369),O=t(11074),_=t(44085),j=t(38276),S=t(30160),T=t(17488),P=t(69650),A=t(35686),C=["ReadWriteOnce","ReadWriteMany","ReadOnlyMany"],E=[{label:"Workspace name",required:!0,uuid:"name"}],R=[{label:"Service account name",placeholder:"default",uuid:"service_account_name"},{label:"Ingress name",labelDescription:"If you want to add the workspace to an existing ingress, enter the name of the ingress here. Otherwise, the workspace can be accessed through the service.",placeholder:"my-ingress",uuid:"ingress_name"}],w=[{label:"Storage class name",placeholder:"default",uuid:"storage_class_name"},{label:"Storage request size (in GB)",type:"number",uuid:"storage_request_size"}],k=t(44425),I=t(72473);!function(e){e.K8S="k8s",e.ECS="ecs",e.CLOUD_RUN="cloud_run",e.EMR="emr"}(r||(r={}));var N=t(29480),D=t(79633),L=t(53779),M=t(72619),H=t(81728),B=t(89538),W=t(28598);function Y(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function K(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Y(Object(t),!0).forEach((function(n){(0,f.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Y(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var F=function(e){var n=e.clusterType,t=e.onCancel,o=e.onCreate,c=(0,u.useState)(),a=c[0],l=c[1],Y=(0,u.useState)(),F=Y[0],U=Y[1],G=(0,u.useState)(null),X=G[0],z=G[1],V=(0,u.useState)(null),q=V[0],Q=V[1],$=(0,s.Db)(A.ZP.workspaces.useCreate(),{onSuccess:function(e){return(0,M.wD)(e,{callback:function(e){e.error_message?l(e.error_message):o()},onErrorCallback:function(e){var n=e.error,t=n.errors,r=n.message;l(r),console.log(t,r)}})}}),J=(0,i.Z)($,2),ee=J[0],ne=J[1].isLoading,te=A.ZP.files.list(),re=te.data,oe=te.mutate,ie=(0,u.useMemo)((function(){return(null===re||void 0===re?void 0:re.files)||[]}),[re]),ce=(0,B.dd)((function(e){return(0,W.jsxs)(L.eD,{children:[(0,W.jsxs)(L.X$,{children:[(0,W.jsx)(g.Z,{alignItems:"center",children:(0,W.jsx)(S.ZP,{disableWordBreak:!0,monospace:!0,children:"Select file"})}),(0,W.jsx)(d.ZP,{iconOnly:!0,onClick:se,children:(0,W.jsx)(I.x8,{muted:!0})})]}),(0,W.jsx)(L.C,{children:(0,W.jsx)(x.Z,{disableContextMenu:!0,fetchFileTree:oe,files:ie,isFileDisabled:null===e||void 0===e?void 0:e.isFileDisabled,openFile:e.onFileOpen})})]})}),{},[ie,oe],{background:!0,uuid:"file_selector"}),ae=(0,i.Z)(ce,2),ue=ae[0],se=ae[1],de=(0,u.useCallback)((function(e){var n=e.autoComplete,t=e.disabled,r=e.label,o=e.labelDescription,i=e.placeholder,c=e.required,a=e.type,u=e.uuid;return(0,W.jsxs)("div",{children:[(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsxs)(g.Z,{flex:2,flexDirection:"column",children:[(0,W.jsx)(S.ZP,{children:r}),o&&(0,W.jsx)(S.ZP,{muted:!0,children:o})]}),(0,W.jsx)(g.Z,{flex:1}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(T.Z,{autoComplete:n,disabled:t,onChange:function(e){z((function(n){return K(K({},n),{},(0,f.Z)({},u,e.target.value))}))},placeholder:i,required:c,setContentOnMount:!0,type:a,value:(null===X||void 0===X?void 0:X[u])||""})})]})})]},u)}),[X,z]),le=(0,u.useMemo)((function(){return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(v.ZP,{children:(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"General"})})}),R.map((function(e){return de(e)})),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(v.ZP,{children:(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"Volume claim params"})})}),w.map((function(e){return de(e)})),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsx)(g.Z,{flex:3,children:(0,W.jsx)(S.ZP,{children:"Access mode"})}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(_.Z,{fullWidth:!0,label:"Access mode",onChange:function(e){e.preventDefault(),z((function(n){return K(K({},n),{},{storage_access_mode:e.target.value})}))},placeholder:"Access mode",value:null===X||void 0===X?void 0:X.storage_access_mode,children:C.map((function(e){return(0,W.jsx)("option",{value:e,children:e},e)}))})})]})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsxs)(v.ZP,{alignItems:"center",children:[(0,W.jsx)(P.Z,{checked:F,compact:!0,onCheck:function(){return U((function(e){return!e}))}}),(0,W.jsx)(j.Z,{ml:1,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"Configure container"})})]})}),(0,W.jsx)(b.Z,{muted:!0}),F&&(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsx)(N.$W,{children:(0,W.jsx)(m.Z,{autoHeight:!0,fontSize:12,language:k.t6.YAML,onChange:function(e){z((function(n){return K(K({},n),{},{container_config:e})}))},tabSize:2,value:null===X||void 0===X?void 0:X.container_config,width:"100%"})})})]})}),[de,F,X]),fe=(0,u.useMemo)((function(){var e,n,t,r;return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(v.ZP,{children:(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"Termination policy"})})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsx)(g.Z,{flex:3,children:(0,W.jsx)(S.ZP,{children:"Enable auto termination"})}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsxs)(_.Z,{fullWidth:!0,onChange:function(e){e.preventDefault(),Q((function(n){return K(K({},n),{},{termination_policy:K(K({},null===n||void 0===n?void 0:n.termination_policy),{},{enable_auto_termination:"true"===e.target.value})})}))},value:(null===q||void 0===q||null===(e=q.termination_policy)||void 0===e?void 0:e.enable_auto_termination)||"false",children:[(0,W.jsx)("option",{value:"true",children:"True"},"true"),(0,W.jsx)("option",{value:"false",children:"False"},"false")]})})]})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsx)(g.Z,{flex:3,children:(0,W.jsx)(S.ZP,{children:"Max idle time (in seconds)"})}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(T.Z,{onChange:function(e){Q((function(n){return K(K({},n),{},{termination_policy:K(K({},null===n||void 0===n?void 0:n.termination_policy),{},{max_idle_seconds:e.target.value})})}))},setContentOnMount:!0,type:"number",value:(null===q||void 0===q||null===(n=q.termination_policy)||void 0===n?void 0:n.max_idle_seconds)||""})})]})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(v.ZP,{children:(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"Pre start"})})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsxs)(g.Z,{flex:3,justifyContent:"space-between",children:[(0,W.jsx)(S.ZP,{children:"Path to pre start script"}),(0,W.jsx)(j.Z,{mr:1,children:(0,W.jsx)(d.ZP,{iconOnly:!0,noBackground:!0,noBorder:!0,onClick:function(){return ue({isFileDisabled:function(e,n){return!n&&!e.endsWith(".py")},onFileOpen:function(e){Q((function(n){return K(K({},n),{},{pre_start_script_path:e})})),se()}})},children:(0,W.jsx)(I.gt,{})})})]}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(T.Z,{onChange:function(e){Q((function(n){return K(K({},n),{},{pre_start_script_path:e.target.value})}))},placeholder:"/",setContentOnMount:!0,value:(null===q||void 0===q?void 0:q.pre_start_script_path)||""})})]})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(v.ZP,{children:(0,W.jsx)(j.Z,{ml:2,my:2,children:(0,W.jsx)(S.ZP,{bold:!0,sky:!0,children:"Post start"})})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsx)(g.Z,{flex:3,children:(0,W.jsx)(S.ZP,{children:"Command"})}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(T.Z,{monospace:!0,onChange:function(e){Q((function(n){return K(K({},n),{},{post_start:K(K({},null===n||void 0===n?void 0:n.post_start),{},{command:e.target.value})})}))},setContentOnMount:!0,value:(null===q||void 0===q||null===(t=q.post_start)||void 0===t?void 0:t.command)||""})})]})}),(0,W.jsx)(b.Z,{muted:!0}),(0,W.jsx)(j.Z,{ml:3,mr:2,my:1,children:(0,W.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,W.jsxs)(g.Z,{flex:3,justifyContent:"space-between",children:[(0,W.jsx)(S.ZP,{children:"Path to hook (optional)"}),(0,W.jsx)(j.Z,{mr:1,children:(0,W.jsx)(d.ZP,{iconOnly:!0,noBackground:!0,noBorder:!0,onClick:function(){return ue({onFileOpen:function(e){Q((function(n){return K(K({},n),{},{post_start:K(K({},null===n||void 0===n?void 0:n.post_start),{},{hook_path:e})})})),se()}})},children:(0,W.jsx)(I.gt,{})})})]}),(0,W.jsx)(g.Z,{flex:1,children:(0,W.jsx)(T.Z,{onChange:function(e){Q((function(n){return K(K({},n),{},{post_start:K(K({},null===n||void 0===n?void 0:n.post_start),{},{hook_path:e.target.value})})}))},placeholder:"/",setContentOnMount:!0,value:(null===q||void 0===q||null===(r=q.post_start)||void 0===r?void 0:r.hook_path)||""})})]})}),(0,W.jsx)(b.Z,{muted:!0})]})}),[se,q,Q,ue]);return(0,W.jsx)(O.Z,{children:(0,W.jsx)("div",{style:{width:"750px"},children:(0,W.jsxs)(j.Z,{p:2,children:[(0,W.jsx)(y.Z,{level:4,children:"Create workspace"}),(0,W.jsxs)("form",{children:[E.map((function(e){var n=e.autoComplete,t=e.disabled,r=e.label,o=e.required,i=e.type,c=e.uuid;return(0,W.jsx)(j.Z,{mt:2,children:(0,W.jsx)(T.Z,{autoComplete:n,disabled:t,label:r,onChange:function(e){z((function(n){return K(K({},n),{},(0,f.Z)({},c,e.target.value))}))},required:o,setContentOnMount:!0,type:i,value:(null===X||void 0===X?void 0:X[c])||""})},c)})),(0,W.jsx)(j.Z,{mt:2,children:(0,W.jsxs)(p.Z,{noPaddingContent:!0,children:[n===r.K8S&&(0,W.jsx)(h.Z,{title:"Kubernetes",children:le}),(0,W.jsx)(h.Z,{title:"Lifecycle (optional)",children:fe})]})})]}),ne&&(0,W.jsx)(j.Z,{mt:1,children:(0,W.jsx)(S.ZP,{small:!0,warning:!0,children:"This may take up to a few minutes... Once the service is created, it may take another 5-10 minutes for the service to be accessible."})}),!ne&&a&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(j.Z,{mt:1,children:(0,W.jsx)(S.ZP,{danger:!0,small:!0,children:"Failed to create instance, see error below."})}),(0,W.jsx)(j.Z,{mt:1,children:(0,W.jsx)(S.ZP,{danger:!0,small:!0,children:a})})]}),(0,W.jsx)(j.Z,{my:2,children:(0,W.jsxs)(v.ZP,{flexDirection:"row-reverse",children:[(0,W.jsx)(Z.ZP,{background:D.a$,bold:!0,inline:!0,loading:ne,onClick:function(){var e=X||{},t=e.name,r=e.container_config;if(t){var o=K({},X);o.name=function(e){return"ecs"===n?(0,H.We)(e,"_"):(0,H.We)(e,"-")}(t),o.container_config=F&&r,ee({workspace:K(K({},o),{},{cluster_type:n,lifecycle_config:q})})}else l("Please enter a valid name!")},uuid:"workspaces/create",children:"Create"}),(0,W.jsx)(j.Z,{ml:1}),(0,W.jsx)(Z.ZP,{bold:!0,inline:!0,onClick:t,uuid:"workspaces/cancel",children:"Cancel"})]})})]})})})},U=t(70374),G=t(93808),X=t(75499),z=t(59533),V=t(42631),q=t(8059),Q=t(4611),$=t(70515),J=t(75083);function ee(e){var n=e.clusterType,t=e.fetchWorkspaces,r=e.instance,o=e.setErrors,c=(0,u.useRef)(null),a=(0,u.useState)(),f=a[0],p=a[1],h=(0,u.useState)(),m=h[0],b=h[1],x=r.name,g=(r.task_arn,{cluster_type:n}),y=(0,s.Db)(A.ZP.workspaces.useUpdate(x,g),{onSuccess:function(e){return(0,M.wD)(e,{callback:function(){t(),p(!1)},onErrorCallback:function(e,n){return o({errors:n,response:e})}})}}),Z=(0,i.Z)(y,1)[0],O=(0,s.Db)(A.ZP.workspaces.useDelete(x,g),{onSuccess:function(e){return(0,M.wD)(e,{callback:function(){t(),p(!1)},onErrorCallback:function(e,n){return o({errors:n,response:e})}})}}),_=(0,i.Z)(O,1)[0],T=(0,u.useMemo)((function(){var e=r.status,t=[{label:function(){return(0,W.jsx)(S.ZP,{children:"Delete workspace"})},onClick:function(){return b(!0)},uuid:"delete_workspace"}];return"ecs"===n&&("STOPPED"===e?t.unshift({label:function(){return(0,W.jsx)(S.ZP,{children:"Resume instance"})},onClick:function(){return Z({workspace:{action:"resume",cluster_type:n,name:r.name,task_arn:r.task_arn}})},uuid:"resume_instance"}):"RUNNING"===e&&t.unshift({label:function(){return(0,W.jsx)(S.ZP,{children:"Stop instance"})},onClick:function(){return Z({workspace:{action:"stop",cluster_type:n,name:r.name,task_arn:r.task_arn}})},uuid:"stop_instance"})),"k8s"===n&&("STOPPED"===e?t.unshift({label:function(){return(0,W.jsx)(S.ZP,{children:"Resume instance"})},onClick:function(){return Z({workspace:{action:"resume",cluster_type:n,name:r.name}})},uuid:"resume_instance"}):"RUNNING"===e&&t.unshift({label:function(){return(0,W.jsx)(S.ZP,{children:"Stop instance"})},onClick:function(){return Z({workspace:{action:"stop",cluster_type:n,name:r.name}})},uuid:"stop_instance"})),t}),[n,r,Z]);return(0,W.jsx)(W.Fragment,{children:["ecs","k8s"].includes(n)&&(0,W.jsxs)("div",{ref:c,style:{position:"relative",zIndex:"1"},children:[(0,W.jsx)(d.ZP,{iconOnly:!0,onClick:function(){return p(!f)},children:(0,W.jsx)(I.mH,{size:2*$.iI})}),(0,W.jsx)(l.Z,{disableEscape:!0,onClickOutside:function(){p(!1),b(!1)},open:f,children:m?(0,W.jsxs)(Q.f,{leftOffset:30*-$.iI,topOffset:3*-$.iI,width:30*$.iI,children:[(0,W.jsx)(S.ZP,{children:"Are you sure you want to delete"}),(0,W.jsx)(S.ZP,{children:"this instance? You may not be"}),(0,W.jsx)(S.ZP,{children:"able to recover your data."}),(0,W.jsx)(j.Z,{mt:1}),(0,W.jsxs)(v.ZP,{children:[(0,W.jsx)(d.ZP,{danger:!0,onClick:_,children:"Confirm"}),(0,W.jsx)(j.Z,{ml:1}),(0,W.jsx)(d.ZP,{default:!0,onClick:function(){return b(!1)},children:"Cancel"})]})]}):(0,W.jsx)(U.Z,{items:T,left:25*-$.iI,open:f,parentRef:c,topOffset:3*-$.iI,uuid:"workspaces/more_actions",width:25*$.iI})})]})})}function ne(){var e=A.ZP.statuses.list().data,n=(0,u.useState)(null),t=n[0],r=n[1],o=(0,u.useMemo)((function(){var n,t;return(null===e||void 0===e||null===(n=e.statuses)||void 0===n||null===(t=n[0])||void 0===t?void 0:t.instance_type)||"ecs"}),[e]),c=A.ZP.workspaces.list({cluster_type:o},{refreshInterval:1e4,revalidateOnFocus:!0}),a=c.data,s=c.mutate,l=(0,u.useMemo)((function(){var e;return null===a||void 0===a||null===(e=a.workspaces)||void 0===e?void 0:e.filter((function(e){return e.name}))}),[a]),f=(0,B.dd)((function(){return(0,W.jsx)(F,{clusterType:o,onCancel:m,onCreate:function(){s(),m()}})}),{},[o,s],{background:!0,disableClickOutside:!0,disableEscape:!0,uuid:"configure_workspace"}),p=(0,i.Z)(f,2),h=p[0],m=p[1];return(0,W.jsx)(z.Z,{breadcrumbs:[{bold:!0,label:function(){return"Workspaces"}}],errors:t,pageName:J.L6.WORKSPACES,setErrors:r,subheaderChildren:(0,W.jsx)(Z.ZP,{background:q.eW,beforeElement:(0,W.jsx)(I.mm,{size:2.5*$.iI}),bold:!0,inline:!0,onClick:function(){return h()},uuid:"workspaces/new",children:"Create new workspace"}),children:(0,W.jsx)(X.Z,{columnFlex:[2,4,2,3,1,null],columns:[{uuid:"Status"},{uuid:"Instance Name"},{uuid:"Type"},{uuid:"Public IP address"},{uuid:"Open"},{label:function(){return""},uuid:"Actions"}],rows:null===l||void 0===l?void 0:l.map((function(e){var n=e.instance,t=n.ip,i=n.name,c=n.status,a=n.type,u="http://".concat(t);return"ecs"===o&&(u="http://".concat(t,":6789")),[(0,W.jsx)(d.ZP,{borderRadius:"".concat(V.D7,"px"),danger:"STOPPED"===c,default:"PROVISIONING"===c,notClickable:!0,padding:"6px",primary:"RUNNING"===c,warning:"PENDING"===c,children:(0,H.vg)(c)},"status"),(0,W.jsx)(S.ZP,{children:i},"name"),(0,W.jsx)(S.ZP,{children:(0,H.vg)(a)},"type"),(0,W.jsx)(S.ZP,{children:t},"ip"),(0,W.jsx)(d.ZP,{disabled:!t,iconOnly:!0,onClick:function(){return window.open(u)},children:(0,W.jsx)(I.M0,{size:2*$.iI})},"open_button"),(0,W.jsx)(ee,{clusterType:o,fetchWorkspaces:s,instance:n,setErrors:r},"more_actions")]}))})})}ne.getInitialProps=(0,o.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)})));var te=(0,G.Z)(ne)},13157:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/manage",function(){return t(2182)}])},80022:function(e,n,t){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},15544:function(e,n,t){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},13692:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(61049);function o(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&(0,r.Z)(e,n)}},93189:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(12539),o=t(80022);function i(e,n){if(n&&("object"===r(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},61049:function(e,n,t){"use strict";function r(e,n){return r=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},r(e,n)}t.d(n,{Z:function(){return r}})}},function(e){e.O(0,[2678,1154,844,6639,7011,4267,6990,8487,8264,7858,5499,5810,553,9774,2888,179],(function(){return n=13157,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4688],{66316:function(t,e,r){"use strict";r.d(e,{Z:function(){return j}});var n=r(82394),o=r(70613),i=r(68487),c=r(33591),u=r(38276),a=r(70515),s=r(28598);var l=function(t){var e=t.children,r=t.width,n=void 0===r?12:r;return(0,s.jsx)(u.Z,{px:a.zC,children:(0,s.jsx)(c.Row,{children:(0,s.jsx)(c.Col,{lg:n,md:Math.min(12,Math.round(1.5*(12-n))),sm:Math.min(12,Math.round(1.75*(12-n))),xs:12,children:e})})})},f=r(38626),p=r(46684),d=f.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-jcgu5l-0"})(["padding-top:","px;",""],p.Mz,(function(t){return t.fullHeight&&"\n height: calc(100vh);\n "}));function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var j=function(t){var e=t.children,r=t.headerProps,n=t.title;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Z,{title:n}),(0,s.jsx)(i.Z,h({},r)),(0,s.jsx)(l,{children:(0,s.jsx)(d,{fullHeight:!0,children:e})})]})}},77429:function(t,e,r){"use strict";r.r(e);var n=r(77837),o=r(82394),i=r(38860),c=r.n(i),u=r(21764),a=r(82684),s=r(34376),l=r(66316),f=r(35686),p=r(53808),d=r(69419),O=r(28598);function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){(0,o.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function b(){var t=(0,s.useRouter)(),e=(0,d.iV)(),r=null===e||void 0===e?void 0:e.state,n=(0,p.U2)(r),o=null===n||void 0===n?void 0:n.provider,i=e;n&&(i=j(j({},e),n));var c=f.ZP.oauths.detail(o,i).data,h=(0,a.useMemo)((function(){var t;return null===c||void 0===c||null===(t=c.oauth)||void 0===t?void 0:t.url}),[c]);return(0,a.useEffect)((function(){h&&(n?((0,p.Od)(r),t.push(h)):n||u.Am.error("Oauth failed due to state not matching!",{position:u.Am.POSITION.BOTTOM_RIGHT,toastId:"oauth-state-error"}))}),[n,h,t,e,r]),(0,O.jsx)(l.Z,{title:"Oauth",children:(0,O.jsx)(O.Fragment,{})})}b.getInitialProps=(0,n.Z)(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{});case 1:case"end":return t.stop()}}),t)}))),e.default=b},39341:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/oauth",function(){return r(77429)}])}},function(t){t.O(0,[2678,1154,844,4267,
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4688],{66316:function(t,e,r){"use strict";r.d(e,{Z:function(){return j}});var n=r(82394),o=r(70613),i=r(68487),c=r(33591),u=r(38276),a=r(70515),s=r(28598);var l=function(t){var e=t.children,r=t.width,n=void 0===r?12:r;return(0,s.jsx)(u.Z,{px:a.zC,children:(0,s.jsx)(c.Row,{children:(0,s.jsx)(c.Col,{lg:n,md:Math.min(12,Math.round(1.5*(12-n))),sm:Math.min(12,Math.round(1.75*(12-n))),xs:12,children:e})})})},f=r(38626),p=r(46684),d=f.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-jcgu5l-0"})(["padding-top:","px;",""],p.Mz,(function(t){return t.fullHeight&&"\n height: calc(100vh);\n "}));function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var j=function(t){var e=t.children,r=t.headerProps,n=t.title;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Z,{title:n}),(0,s.jsx)(i.Z,h({},r)),(0,s.jsx)(l,{children:(0,s.jsx)(d,{fullHeight:!0,children:e})})]})}},77429:function(t,e,r){"use strict";r.r(e);var n=r(77837),o=r(82394),i=r(38860),c=r.n(i),u=r(21764),a=r(82684),s=r(34376),l=r(66316),f=r(35686),p=r(53808),d=r(69419),O=r(28598);function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){(0,o.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function b(){var t=(0,s.useRouter)(),e=(0,d.iV)(),r=null===e||void 0===e?void 0:e.state,n=(0,p.U2)(r),o=null===n||void 0===n?void 0:n.provider,i=e;n&&(i=j(j({},e),n));var c=f.ZP.oauths.detail(o,i).data,h=(0,a.useMemo)((function(){var t;return null===c||void 0===c||null===(t=c.oauth)||void 0===t?void 0:t.url}),[c]);return(0,a.useEffect)((function(){h&&(n?((0,p.Od)(r),t.push(h)):n||u.Am.error("Oauth failed due to state not matching!",{position:u.Am.POSITION.BOTTOM_RIGHT,toastId:"oauth-state-error"}))}),[n,h,t,e,r]),(0,O.jsx)(l.Z,{title:"Oauth",children:(0,O.jsx)(O.Fragment,{})})}b.getInitialProps=(0,n.Z)(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{});case 1:case"end":return t.stop()}}),t)}))),e.default=b},39341:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/oauth",function(){return r(77429)}])}},function(t){t.O(0,[2678,1154,844,4267,6990,8487,9774,2888,179],(function(){return e=39341,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1709],{62072:function(e,n,t){"use strict";function r(e){return null==e?void 0:e[0]}function i(e){return null==e?void 0:e[1]}t.d(n,{l8:function(){return r},xf:function(){return i}})},59309:function(e,n,t){"use strict";t.d(n,{ZP:function(){return l}});var r=t(12759),i=t(27500),o=t(82610),c=t(34812),u=t(77944),a={expand:r.Z,diverging:i.Z,none:o.Z,silhouette:c.Z,wiggle:u.Z};Object.keys(a);function l(e){return e&&a[e]||a.none}},18246:function(e,n,t){"use strict";t.d(n,{ZP:function(){return l}});var r=t(39586),i=t(25516),o=t(54164),c=t(8512),u=t(2010),a={ascending:r.Z,descending:i.Z,insideout:o.Z,none:c.Z,reverse:u.Z};Object.keys(a);function l(e){return e&&a[e]||a.none}},64657:function(e,n,t){"use strict";t.d(n,{CD:function(){return u},NU:function(){return o},a_:function(){return r},hu:function(){return c}});var r,i=t(44897);!function(e){e.BLOCK_RUNS="block_runs",e.BLOCK_RUNTIME="block_runtime",e.PIPELINE_RUNS="pipeline_runs"}(r||(r={}));var o=[i.Z.accent.warning,i.Z.background.success,i.Z.accent.negative,i.Z.content.active,i.Z.interactive.linkPrimary],c=["cancelled","completed","failed","initial","running"],u=-50},24491:function(e,n,t){"use strict";t.d(n,{i:function(){return p},p:function(){return l}});var r=t(82394),i=t(75582),o=t(61556),c=t(57653);function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var l=function(e,n){if(!e)return[];var t=Object.entries(e).reduce((function(e,n){var t=(0,i.Z)(n,2),r=(t[0],t[1].data),o={};return Object.entries(r).forEach((function(n){var t=(0,i.Z)(n,2),r=t[0],c=t[1],u={};r in e&&(u=e[r]);var l={};Object.entries(c).forEach((function(e){var n,t=(0,i.Z)(e,2),r=t[0],o=t[1],c=null!==(n=u)&&void 0!==n&&n[r]?u[r]:0;l[r]=c+o})),o[r]=a(a({},u),l)})),a(a({},e),o)}),{});return n.map((function(e){return a({date:e},t[e]||{})}))},d=o.E.reduce((function(e,n){return a(a({},e),{},(0,r.Z)({},n,0))}),{}),s=new Set(o.E),p=function(e,n){var t;if(!e)return{groupedPipelineRunData:[],pipelineRunCountByPipelineType:{},totalPipelineRunCount:0,ungroupedPipelineRunData:[]};var o=(t={},(0,r.Z)(t,c.qL.INTEGRATION,a({},d)),(0,r.Z)(t,c.qL.PYSPARK,{}),(0,r.Z)(t,c.qL.PYTHON,a({},d)),(0,r.Z)(t,c.qL.STREAMING,a({},d)),t),u=0,l=Object.entries(e).reduce((function(e,n){var t=(0,i.Z)(n,2),r=(t[0],t[1].data),c={},l={};return Object.entries(r).forEach((function(n){var t=(0,i.Z)(n,2),r=t[0],d=t[1],p={},f={};r in e.grouped?(p=a({},e.grouped[r]),c[r]=a({},p)):c[r]={},r in e.ungrouped&&(f=a({},e.ungrouped[r]));var h={},b={};Object.entries(d).forEach((function(n){var t=(0,i.Z)(n,2),d=t[0],g=t[1];"null"===d||null===d||(r in e.grouped&&d in e.grouped[r]&&(p[d]=a({},e.grouped[r][d])),h[d]={},Object.entries(g).forEach((function(e){var n,t,r,c=(0,i.Z)(e,2),a=c[0],l=c[1],g=null!==(n=p)&&void 0!==n&&null!==(t=n[d])&&void 0!==t&&t[a]?p[d][a]:0;h[d][a]=g+l;var m=null!==(r=f)&&void 0!==r&&r[a]?f[a]:0;b[a]=null!==b&&void 0!==b&&b[a]?b[a]+l:m+l,s.has(a)&&(o[d][a]=(o[d][a]||0)+l),u+=l})),c[r][d]=a(a({},p[d]),h[d]),l[r]=a(a({},f),b))}))})),{grouped:a(a({},e.grouped),c),ungrouped:a(a({},e.ungrouped),l)}}),{grouped:{},ungrouped:{}}),p=[],f=[];return n.forEach((function(e){p.push(a({date:e},l.grouped[e]||{})),f.push(a({date:e},l.ungrouped[e]||{}))})),{groupedPipelineRunData:p,pipelineRunCountByPipelineType:o,totalPipelineRunCount:u,ungroupedPipelineRunData:f}}},53998:function(e,n,t){"use strict";t.d(n,{Z:function(){return q}});var r=t(26304),i=t(82394),o=t(21831),c=t(82684),u=t(84969),a=t(90948),l=t(63588),d=t.n(l),s=t(75823),p=t(29989),f=t(62072),h=t(53989),b=t(49894),g=t(18246),m=t(59309),y=t(65743),v=["data","className","top","left","x","y0","y1","xScale","yScale","color","keys","value","order","offset","children"];function x(){return x=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},x.apply(this,arguments)}function j(e){var n=e.data,t=e.className,r=e.top,i=e.left,o=e.x,u=e.y0,a=void 0===u?f.l8:u,l=e.y1,j=void 0===l?f.xf:l,Z=e.xScale,O=e.yScale,P=e.color,_=e.keys,w=e.value,k=e.order,C=e.offset,I=e.children,T=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,v),E=(0,s.Z)();_&&E.keys(_),w&&(0,b.Z)(E.value,w),k&&E.order((0,g.ZP)(k)),C&&E.offset((0,m.ZP)(C));var N=E(n),D=(0,h.Z)(Z),S=N.map((function(e,n){var t=e.key;return{index:n,key:t,bars:e.map((function(n,r){var i=(O(a(n))||0)-(O(j(n))||0),c=O(j(n)),u="bandwidth"in Z?Z(o(n.data)):Math.max((Z(o(n.data))||0)-D/2);return{bar:n,key:t,index:r,height:i,width:D,x:u||0,y:c||0,color:P(e.key,r)}}))}}));return I?c.createElement(c.Fragment,null,I(S)):c.createElement(p.Z,{className:d()("visx-bar-stack",t),top:r,left:i},S.map((function(e){return e.bars.map((function(n){return c.createElement(y.Z,x({key:"bar-stack-"+e.index+"-"+n.index,x:n.x,y:n.y,height:n.height,width:n.width,fill:n.color},T))}))})))}var Z=t(67778),O=t(17066),P=t(29179),_=t(65376),w=t(48072),k=t(98677),C=t(84181),I=t(24903),T=t(55485),E=t(26226),N=t(30160),D=t(94035),S=t(44897),L=t(42631),R=t(95363),M=t(70515),B=t(48277),A=t(79221),H=t(28598),U=["height","width","xAxisLabel","yAxisLabel"];function F(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?F(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function V(e){var n=e.backgroundColor,t=e.colors,r=e.data,i=e.getXValue,c=(e.getYValue,e.height),l=e.keys,d=e.margin,s=e.numYTicks,f=e.showLegend,h=e.tooltipLeftOffset,b=void 0===h?0:h,g=e.width,m=e.xLabelFormat,y=e.yLabelFormat,v=(0,P.Z)(),x=v.hideTooltip,T=v.showTooltip,E=v.tooltipData,D=v.tooltipLeft,M=v.tooltipOpen,U=v.tooltipTop,F=g-(d.left+d.right),V=c-(d.bottom+d.top),q=r.reduce((function(e,n){var t=n,r=l.reduce((function(e,n){return Number(t[n])&&(e+=Number(t[n])),e}),0);return e.push(r),e}),[]),z=(0,k.Z)({domain:r.map(i),padding:.4,range:[0,F],round:!1}),G=(0,C.Z)({domain:[0,Math.max.apply(Math,(0,o.Z)(q))],range:[V,0],round:!0}),X=null;M&&E&&(X=E.bar.data[E.key],Number.isSafeInteger(X)&&(X=(0,B.uf)(X)));var K=(0,I.Z)({domain:l,range:t});return(0,H.jsxs)("div",{style:{position:"relative",zIndex:2},children:[(0,H.jsxs)("svg",{height:c,width:g,children:[(0,H.jsx)("rect",{fill:n||S.Z.background.chartBlock,height:c,rx:14,width:g,x:0,y:0}),(0,H.jsx)(Z.Z,{height:V,left:d.left,scale:G,stroke:"black",strokeOpacity:.2,top:d.top,width:F}),(0,H.jsx)(p.Z,{left:d.left,top:d.top,children:(0,H.jsx)(j,{color:K,data:r,keys:l,value:function(e,n){return e[n]||0},x:i,xScale:z,yScale:G,children:function(e){return e.map((function(e){return e.bars.map((function(n){return(0,H.jsx)("rect",{fill:n.color,height:n.height,onMouseLeave:x,onMouseMove:function(e){var t=(0,w.Z)(e),r=n.x+n.width/2+b;T({tooltipData:n,tooltipLeft:r,tooltipTop:(null===t||void 0===t?void 0:t.y)+10})},width:n.width,x:n.x,y:n.y},"bar-stack-".concat(e.index,"-").concat(n.index))}))}))}})}),(0,H.jsx)(u.Z,{hideTicks:!0,left:d.left,numTicks:s,scale:G,stroke:S.Z.content.muted,tickFormat:function(e){return y?y(e):(0,A.P5)(e)},tickLabelProps:function(){return{fill:S.Z.content.muted,fontFamily:R.ry,fontSize:11,textAnchor:"end",transform:"translate(0,2.5)"}},top:d.top}),(0,H.jsx)(a.Z,{hideTicks:!0,left:d.left,scale:z,stroke:S.Z.content.muted,tickFormat:m,tickLabelProps:function(){return{fill:S.Z.content.muted,fontFamily:R.ry,fontSize:11,textAnchor:"middle"}},top:V+d.top})]}),f&&(0,H.jsx)("div",{style:{display:"flex",fontSize:"14px",justifyContent:"center",position:"absolute",top:d.top/2-10,width:"100%"},children:(0,H.jsx)(O.Z,{direction:"row",labelMargin:"0 15px 0 0",scale:K})}),M&&E&&(0,H.jsxs)(_.Z,{left:D,style:Y(Y({},_.j),{},{backgroundColor:S.Z.background.page,borderRadius:"".concat(L.TR,"px"),padding:".3rem .4rem"}),top:U,children:[(0,H.jsx)(N.ZP,{bold:!0,color:K(E.key),children:E.key}),(0,H.jsx)(N.ZP,{children:X}),(0,H.jsx)(N.ZP,{children:i(E.bar.data)})]})]})}var q=function(e){var n=e.height,t=e.width,i=e.xAxisLabel,o=e.yAxisLabel,c=(0,r.Z)(e,U);return(0,H.jsx)(H.Fragment,{children:(0,H.jsxs)("div",{style:{height:n,marginBottom:M.iI,width:t},children:[o&&(0,H.jsx)(T.ZP,{alignItems:"center",fullHeight:!0,justifyContent:"center",width:28,children:(0,H.jsx)(D.Z,{children:(0,H.jsx)(N.ZP,{center:!0,muted:!0,small:!0,children:o})})}),(0,H.jsx)("div",{style:{height:n,width:o?0===t?t:t-28:t},children:(0,H.jsx)(E.Z,{children:function(e){var n=e.height,t=e.width;return(0,H.jsx)(V,Y(Y({},c),{},{height:n,width:t}))}})}),i&&(0,H.jsx)("div",{style:{paddingLeft:o?36:0,paddingTop:4},children:(0,H.jsx)(N.ZP,{center:!0,muted:!0,small:!0,children:i})})]})})}},81066:function(e,n,t){"use strict";t.d(n,{B:function(){return p}});var r=t(82394),i=t(46732),o=t(93369),c=t(72473),u=t(8059),a=t(70515),l=t(28598);function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?d(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var p={bold:!0,greyBorder:!0,paddingBottom:9,paddingTop:9};n.Z=function(e){var n=e.addButtonMenuOpen,t=e.addButtonMenuRef,r=e.isLoading,d=e.label,f=e.menuItems,h=e.onClick,b=e.onClickCallback;return(0,l.jsx)(i.Z,{disableKeyboardShortcuts:!0,items:f,onClickCallback:b,onClickOutside:b,open:n,parentRef:t,roundedStyle:!0,topOffset:1,uuid:"Table/Toolbar/NewItemMenu",children:(0,l.jsx)(o.ZP,s(s({},p),{},{background:u.eW,beforeElement:(0,l.jsx)(c.mm,{size:2.5*a.iI}),loading:r,onClick:function(e){e.preventDefault(),null===h||void 0===h||h()},uuid:"shared/AddButton/index",children:d}))})}},46568:function(e,n,t){"use strict";var r=t(82394),i=t(26304),o=(t(82684),t(33591)),c=t(28598),u=["children","fullHeight","gutter","style"];function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.children,t=e.fullHeight,r=e.gutter,a=e.style,d=void 0===a?{}:a,s=(0,i.Z)(e,u),p=l({},d);return r&&(p.paddingLeft=r,p.paddingRight=p.paddingLeft),t&&(p.height="100%"),(0,c.jsx)(o.Col,l(l({},s),{},{style:p,children:n}))}},82682:function(e,n,t){"use strict";var r=t(82394),i=t(26304),o=t(82684),c=t(33591),u=t(28598),a=["children","fullHeight","gutter","justifyContent","style"];function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function d(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?l(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.children,t=e.fullHeight,r=e.gutter,l=e.justifyContent,s=e.style,p=void 0===s?{}:s,f=(0,i.Z)(e,a),h=d({},p);return r&&(h.marginLeft=-1*r,h.marginRight=h.marginLeft),t&&(h.height="100%"),(0,u.jsx)(c.Row,d(d({},f),{},{justifyContent:l,style:h,children:o.Children.map(n,(function(e,n){return e&&o.cloneElement(e,{gutter:r,key:n})}))}))}},94542:function(e,n,t){"use strict";t.d(n,{J:function(){return o},X:function(){return c}});var r=t(46568),i=t(82682),o=r.Z,c=i.Z},29241:function(e,n,t){"use strict";var r=t(38626),i=t(44897),o=r.default.div.withConfig({displayName:"PageSectionHeader",componentId:"sc-1wznrcv-0"})(["left:0;position:sticky;top:0;width:100%;z-index:3;",""],(function(e){return"\n background-color: ".concat(e.backgroundColor||(e.theme.background||i.Z.background).page,";\n border-bottom: 1px solid ").concat((e.theme.borders||i.Z.borders).medium,";\n ")}));n.Z=o},61556:function(e,n,t){"use strict";t.d(n,{E:function(){return o},h:function(){return r}});t(57653);var r,i=t(41143);!function(e){e.BLOCK_RUN_COUNT="block_run_count",e.BLOCK_RUN_TIME="block_run_time",e.PIPELINE_RUN_COUNT="pipeline_run_count",e.PIPELINE_RUN_TIME="pipeline_run_time"}(r||(r={}));var o=[i.V.RUNNING,i.V.COMPLETED,i.V.FAILED]},96348:function(e,n,t){"use strict";t.d(n,{g:function(){return m},Z:function(){return y}});var r=t(82684),i=t(38626),o=t(44897),c=t(42631),u=t(47041),a=t(70515),l=1.5*a.iI,d=1.5*a.iI,s=i.default.div.withConfig({displayName:"indexstyle__TableStyle",componentId:"sc-13p7y8j-0"})(["border-radius:","px;overflow:hidden;width:100%;"," "," "," ",""],c.n_,(function(e){return e.width&&"\n width: ".concat(e.width,"px;\n ")}),(function(e){return"\n background-color: ".concat((e.theme||o.Z).background.page,";\n border: ").concat(c.YF,"px ").concat(c.M8," ").concat((e.theme||o.Z).interactive.defaultBorder,";\n box-shadow: ").concat((e.theme||o.Z).shadow.frame,";\n ")}),(function(e){return e.noBackground&&"\n background-color: transparent;\n "}),(function(e){return e.noBoxShadow&&"\n box-shadow: none;\n "})),p=i.default.div.withConfig({displayName:"indexstyle__RowContainerStyle",componentId:"sc-13p7y8j-1"})(["overflow:auto;border-bottom-left-radius:","px;border-bottom-right-radius:","px;"," "," "," ",""],c.n_,c.n_,u.w5,(function(e){return e.maxHeight>0&&"\n max-height: ".concat(e.maxHeight,"px;\n ")}),(function(e){return e.minHeight>0&&"\n min-height: ".concat(e.minHeight,"px;\n ")}),(function(e){return e.scrollable&&"\n margin-bottom: ".concat(a.iI,"px;\n overflow-y: auto;\n padding-top: ").concat(3,"px;\n padding-left: ").concat(3,"px;\n padding-right: ").concat(3,"px;\n ")})),f=i.default.div.withConfig({displayName:"indexstyle__HeaderStyle",componentId:"sc-13p7y8j-2"})(["border-top-left-radius:","px;border-top-right-radius:","px;padding:","px ","px;",""],c.n_,c.n_,l,2*a.iI,(function(e){return"\n border-bottom: ".concat(c.YF,"px ").concat(c.M8," ").concat((e.theme.interactive||o.Z.interactive).defaultBorder,";\n ")})),h=i.default.div.withConfig({displayName:"indexstyle__RowStyle",componentId:"sc-13p7y8j-3"})(["padding:","px ","px;"," "," "," "," "," ",""],d,2*a.iI,(function(e){return"\n border-bottom: ".concat(c.YF,"px ").concat(c.M8," ").concat((e.theme||o.Z).borders.medium2,";\n ")}),(function(e){return e.sameColorBorders&&"\n border-bottom-color: ".concat((e.theme||o.Z).interactive.defaultBorder,";\n ")}),(function(e){return e.noHorizontalPadding&&"\n padding-left: 0;\n padding-right: 0;\n "}),(function(e){return e.condensed&&"\n padding-top: ".concat(9,"px;\n padding-bottom: ").concat(9,"px;\n ")}),(function(e){return e.secondary&&"\n background-color: ".concat((e.theme.background||o.Z.background).row2,";\n ")}),(function(e){return e.last&&e.noBorder&&"\n border-bottom-left-radius: ".concat(c.n_,"px;\n border-bottom-right-radius: ").concat(c.n_,"px;\n border-bottom: none;\n ")})),b=i.default.div.withConfig({displayName:"indexstyle__FooterStyle",componentId:"sc-13p7y8j-4"})(["border-bottom-left-radius:","px;border-bottom-right-radius:","px;padding:","px ","px;",""],c.n_,c.n_,l,2*a.iI,(function(e){return"\n border-top: ".concat(c.YF,"px ").concat(c.M8," ").concat((e.theme||o.Z).borders.medium2,";\n ")})),g=t(28598),m=h;var y=function(e){var n=e.alternating,t=e.children,i=e.footer,o=e.header,c=e.maxHeight,u=e.minHeight,a=e.noBackground,l=e.noBoxShadow,d=e.sameColorBorders,h=e.scrollable,m=e.width,y=[].concat(t).filter((function(e){return null!==e}));return(0,g.jsxs)(s,{noBackground:a,noBoxShadow:l,width:m,children:[o&&(0,g.jsx)(f,{children:o}),(0,g.jsx)(p,{maxHeight:c,minHeight:u,scrollable:h,children:r.Children.map(y,(function(e,t){return e&&r.cloneElement(e,{last:t===y.length-1,sameColorBorders:d,secondary:n&&t%2===1})}))}),i&&(0,g.jsx)(b,{children:i})]})}},17380:function(e,n,t){"use strict";t.d(n,{i:function(){return d}});t(82684);var r=t(38626),i=(t(97618),t(55485),t(48670),t(38276),t(47329)),o=t.n(i);o().node,o().node,o().node.isRequired,o().bool,o().string.isRequired;t(30160);var c=t(70987),u=t(95363),a=t(70515),l=t(42631),d=(t(28598),"tab");r.default.div.withConfig({displayName:"Tabs__TabHeaderContainerStyle",componentId:"sc-rojme5-0"})(["",""],(function(e){return e.containerWidthPercentage&&"\n width: ".concat(e.containerWidthPercentage,"%;\n ")})),r.default.div.withConfig({displayName:"Tabs__TabHeader",componentId:"sc-rojme5-1"})(["border-top-left-radius:","px;border-top-right-radius:","px;margin-right:","px;position:relative;z-index:2;"," "," ",""],l.BG,l.BG,6*a.iI,(function(e){return e.noBottomBorder&&"\n border-bottom: none;\n "}),(function(e){return e.active&&"\n border-bottom: ".concat(a.cd,"px solid;\n border-color: ").concat((e.theme.interactive||c.Z.interactive).linkPrimary,";\n ")}),(function(e){return e.fullWidth&&"\n width: 100%;\n "})),r.default.div.withConfig({displayName:"Tabs__LinkStyle",componentId:"sc-rojme5-2"})(["align-items:center;display:flex;"," "," ",""],(function(e){return e.bold&&"\n font-family: ".concat(u.nF,";\n ")}),(function(e){return e.fullWidth&&"\n justify-content: center;\n "}),(function(e){return!e.disabled&&"\n &:hover {\n path {\n fill: ".concat((e.theme.content||c.Z.interactive).linkPrimary," !important;\n }\n }\n ")}))},98941:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Ye}});var r=t(77837),i=t(75582),o=t(82394),c=t(38860),u=t.n(c),a=t(69864),l=t(82684),d=t(34376),s=t(92083),p=t.n(s),f=t(52749),h=t(81066),b=t(53998),g=t(39440),m=t(60523),y=t(90299),v=t(94629),x=t(55485),j=t(85854),Z=t(48670),O=t(97618),P=t(38276),_=t(30160),w=t(38626),k=t(44897),C=t(42631),I=t(70515),T=12.5*I.iI,E=8*I.iI,N=5*I.iI,D=3*I.iI,S=w.default.div.withConfig({displayName:"indexstyle__TileContainerStyle",componentId:"sc-c3nc3q-0"})(["padding:","px;border-radius:","px;height:","px;width:","px;"," ",""],2.5*I.iI,C.TR,T,T,(function(e){return"\n background-color: ".concat((e.theme||k.Z).background.chartBlock,";\n ")}),(function(e){return e.compact&&"\n height: ".concat(E,"px;\n width: ").concat(E,"px;\n ")})),L=t(28598);var R=function(e){var n=e.Icon,t=e.compact,r=e.label;return(0,L.jsx)(S,{compact:t,children:(0,L.jsxs)(x.ZP,{alignItems:"center",flexDirection:"column",justifyContent:"center",children:[(0,L.jsx)(n,{size:t?D:N}),(0,L.jsx)(P.Z,{mb:"4px"}),(0,L.jsx)(_.ZP,{bold:!0,small:t,children:r})]})})},M=t(12468),B=w.default.div.withConfig({displayName:"indexstyle__MetricsSummaryContainerStyle",componentId:"sc-nu65g1-0"})(["width:100%;padding:","px;border-radius:","px;",""],2*I.iI,C.n_,(function(e){return"\n border: ".concat(C.YF,"px ").concat(C.M8," ").concat((e.theme||k.Z).interactive.defaultBorder,";\n box-shadow: ").concat((e.theme||k.Z).shadow.frame,";\n ")})),A=w.default.div.withConfig({displayName:"indexstyle__MetricContainerStyle",componentId:"sc-nu65g1-1"})(["display:flex;flex:1;align-items:center;justify-content:space-between;",""],(function(e){return e.includeLeftBorder&&"\n @media (min-width: 1200px) {\n padding-left: 24px;\n border-left: ".concat(C.YF,"px ").concat(C.M8," ").concat((e.theme||k.Z).interactive.defaultBorder,";\n }\n ")})),H=t(57653),U=t(94542),F=t(41143),Y={muted:!0,size:t(72191)._k,widthFitContent:!0},V=t(81728),q=t(48277),z=t(79221),G=t(70320),X=t(86735);function K(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?K(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):K(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var J=function(e){var n=e.pipelineRunCountByPipelineType,t=(0,G.q)(),r=(0,l.useMemo)((function(){if(!n)return[];var e=JSON.parse(JSON.stringify(n)),t=e[H.qL.PYTHON]||{};return Object.entries(e[H.qL.PYSPARK]||{}).forEach((function(e){var n=(0,i.Z)(e,2),r=n[0],o=n[1];t[r]?t[r]+=o:t[r]=o})),e[H.qL.PYTHON]=t,delete e[H.qL.PYSPARK],(0,X.mr)(Object.entries(e).filter((function(e){var n=(0,i.Z)(e,2),t=(n[0],n[1]);return 0!==Object.keys(t).length})))}),[n]),o=(0,l.useMemo)((function(){return t?(0,L.jsx)(P.Z,{ml:"4px",children:(0,L.jsx)(M.Z,W(W({},Y),{},{label:"Please note that these metrics are based on UTC time."}))}):null}),[t]);return(0,L.jsxs)(B,{children:[(0,L.jsxs)(x.ZP,{alignItems:"center",children:[(0,L.jsx)(_.ZP,{bold:!0,large:!0,children:"Pipeline run metrics"}),o]}),(0,L.jsx)(P.Z,{mb:2}),(0,L.jsx)(U.X,{style:{gap:"16px"},children:r.map((function(e,n){var t=(0,i.Z)(e,2),o=t[0],c=t[1];return(0,L.jsxs)(A,{includeLeftBorder:0!==n,children:[(0,L.jsx)(R,{Icon:H.Mj[o],label:H.G7[o]}),(0,X.mr)(Object.entries(c)).map((function(e,n){var t=(0,i.Z)(e,2),r=t[0],o=t[1];return(0,L.jsx)(P.Z,{px:1,children:(0,L.jsxs)(O.Z,{flexDirection:"column",children:[(0,L.jsx)(_.ZP,{children:(0,V.kC)(r)}),(0,L.jsx)(_.ZP,{bold:!0,danger:r===F.V.FAILED&&o>0,title:(0,q.uf)(o),xlarge:!0,children:(0,z.P5)(o,{maxFractionDigits:1,minAmount:1e3})})]})},"".concat(r,"_").concat(n))})),(0,L.jsx)(P.Z,{pr:n!==r.length-1?2:0})]},"".concat(o,"_metric"))}))})]})},$=t(29241),Q=t(65956),ee=t(55729),ne=t(93808),te=t(82359),re=t(4190),ie=t(12691),oe=t.n(ie),ce=t(71180),ue=t(96348),ae=t(68899),le=t(17380),de=t(3917),se=t(69419);function pe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function fe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?pe(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pe(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var he=40*I.iI,be=40*I.iI;var ge=function(e){var n=e.pipelineType,t=e.pipelineRuns,r=void 0===t?[]:t,i=(0,d.useRouter)(),o=(0,se.iV)(),c=(null===o||void 0===o?void 0:o[le.i])||de.vk.TODAY,u=(0,G.q)(),a=n===H.LM,s=a?H.LM:H.G7[n],p=H.Mj[n],f=r.length,h=0===f?"":"(".concat(f,")"),b=(0,l.useMemo)((function(){return u?(0,L.jsx)(P.Z,{ml:"4px",children:(0,L.jsx)(M.Z,fe(fe({},Y),{},{label:"The pipeline run failures are displayed in local time.",maxWidth:24*I.iI,widthFitContent:!1}))}):null}),[u]);return(0,L.jsx)(ue.Z,{footer:(0,L.jsx)(x.ZP,{alignItems:"center",justifyContent:"center",children:(0,L.jsx)(oe(),{as:"/pipeline-runs?status=failed",href:"/pipeline-runs",passHref:!0,children:(0,L.jsx)(Z.Z,{sameColorAsText:!0,children:"View more"})})}),header:(0,L.jsxs)(x.ZP,{alignItems:"center",children:[(0,L.jsx)(ce.ZP,{beforeIcon:(0,L.jsx)(p,{size:2.5*I.iI}),compact:!0,notClickable:!0,children:(0,V.kC)(s)}),(0,L.jsx)(P.Z,{ml:2}),(0,L.jsxs)(_.ZP,{bold:!0,children:["Latest ",a?"":"".concat((0,V.wX)(s)," "),"pipeline run failures ",h]}),b]}),maxHeight:he,minHeight:be,children:0===f?(0,L.jsx)(x.ZP,{alignItems:"center",fullWidth:!0,justifyContent:"center",children:(0,L.jsx)(P.Z,{px:5,py:10,children:(0,L.jsxs)(x.ZP,{alignItems:"center",flexDirection:"column",children:[(0,L.jsx)(ae.Hn,{imageUrl:"".concat(i.basePath,"/images/blocks/grey_block.webp")}),(0,L.jsx)(P.Z,{mb:3}),(0,L.jsxs)(_.ZP,{large:!0,children:["No ",a?"":"".concat((0,V.wX)(s)," "),"pipeline run failures for ",de.s8[c]]})]})})}):r.map((function(e){var n=e.created_at,t=e.id,r=e.pipeline_uuid;return(0,L.jsx)(ue.g,{children:(0,L.jsxs)(x.ZP,{alignItems:"center",children:[(0,L.jsx)(oe(),{as:"/pipelines/".concat(r),href:"/pipelines/[pipeline]",passHref:!0,children:(0,L.jsx)(Z.Z,{monospace:!0,sameColorAsText:!0,small:!0,children:r})}),(0,L.jsx)(_.ZP,{monospace:!0,small:!0,children:"\xa0>\xa0"}),(0,L.jsx)(oe(),{as:"/pipelines/".concat(r,"/runs/").concat(t),href:"/pipelines/[pipeline]/runs/[run]",passHref:!0,children:(0,L.jsxs)(Z.Z,{danger:!0,monospace:!0,sameColorAsText:!0,small:!0,children:["Run created on\xa0",u?(0,de.XG)(n,u):n]})})]})},"pipeline_run_".concat(t))}))})},me=t(35686),ye=t(98464),ve=t(35058),xe=t(64657),je=t(44425),Ze=t(75399),Oe=t(23780),Pe=t(46684),_e=t(61556),we=t(32929),ke=t(72473),Ce={Icon:ke.LE,label:function(){return(0,V.kC)(de.s8[de.vk.TODAY])},uuid:de.vk.TODAY},Ie={Icon:ke.ks,label:function(){return(0,V.kC)(de.s8[de.vk.WEEK])},uuid:de.vk.WEEK},Te={Icon:ke.zE,label:function(){return(0,V.kC)(de.s8[de.vk.MONTH])},uuid:de.vk.MONTH},Ee={Icon:ke.G6,label:function(){return"Dashboard"},uuid:"Dashboard"},Ne=[Ce,Ie,Te],De=t(24491),Se=t(65458),Le=t(15610),Re=t(72619),Me=t(89538);function Be(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ae(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Be(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Be(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var He={mt:2,mx:3},Ue={refreshInterval:6e4,revalidateOnFocus:!1};function Fe(){var e,n,t,r=(0,l.useRef)(null),c=(0,se.iV)(),u=(0,d.useRouter)(),s=(0,l.useRef)(null),O=(0,l.useState)(Ce),w=O[0],C=O[1],T=(0,l.useState)(!1),E=T[0],N=T[1],D=(0,l.useState)(null),S=D[0],R=D[1],B=null===w||void 0===w?void 0:w.uuid,A=(0,l.useMemo)((function(){return Ne.concat(Ee)}),[]),U=(0,ye.Z)(w);(0,l.useEffect)((function(){var e=c[le.i];e&&C(A.find((function(n){return n.uuid===e})))}),[A,c,w,U]);var z=(0,l.useMemo)((function(){return(0,de.jV)(B,{isoString:!0})}),[B]),K=(0,l.useMemo)((function(){return{group_by_pipeline_type:1,start_time:z}}),[z]),W=me.ZP.monitor_stats.detail(_e.h.PIPELINE_RUN_COUNT,K,Ae({},Ue)),ne=W.data,ie=W.isValidating,oe=W.mutate,ce=me.ZP.pipeline_runs.list({_limit:50,include_pipeline_type:1,"order_by[]":"created_at desc",start_timestamp:(0,de.A5)(z),status:F.V.FAILED},Ae({},Ue)).data,ue=(0,l.useMemo)((function(){return((null===ce||void 0===ce?void 0:ce.pipeline_runs)||[]).filter((function(e){return null!==e.pipeline_type}))}),[null===ce||void 0===ce?void 0:ce.pipeline_runs]),ae=(0,l.useMemo)((function(){return(0,X.vM)(ue,(function(e){return e.pipeline_type}))}),[ue]),pe=ae.integration,fe=void 0===pe?[]:pe,he=ae.python,be=void 0===he?[]:he,ke=ae.streaming,Ie=void 0===ke?[]:ke;(0,l.useEffect)((function(){U&&(null===w||void 0===w?void 0:w.uuid)!==(null===U||void 0===U?void 0:U.uuid)&&oe()}),[oe,w,U]);var Te,Be=(0,l.useMemo)((function(){return(0,de.Y_)(de.yD[B]+1)}),[B]),Fe=(0,l.useMemo)((function(){var e,n=(null===ne||void 0===ne||null===(e=ne.monitor_stat)||void 0===e?void 0:e.stats)||{};return(0,De.i)(n,Be)}),[null===ne||void 0===ne||null===(e=ne.monitor_stat)||void 0===e?void 0:e.stats,Be]),Ye=Fe.pipelineRunCountByPipelineType,Ve=Fe.totalPipelineRunCount,qe=Fe.ungroupedPipelineRunData,ze=(0,l.useMemo)((function(){return(0,de.Ro)(de.yD[B],{endDateOnly:B===de.vk.TODAY})}),[B]),Ge=(Te=function(e){return u.push("/pipelines/[pipeline]/edit","/pipelines/".concat(e,"/edit"))},(0,a.Db)(me.ZP.pipelines.useCreate(),{onSuccess:function(e){return(0,Re.wD)(e,{callback:function(e){var n=e.pipeline.uuid;null===Te||void 0===Te||Te(n)},onErrorCallback:function(e,n){return R({errors:n,response:e})}})}})),Xe=(0,i.Z)(Ge,2),Ke=Xe[0],We=Xe[1].isLoading,Je=me.ZP.projects.list(),$e=Je.data,Qe=Je.mutate,en=(0,l.useMemo)((function(){var e;return null===$e||void 0===$e||null===(e=$e.projects)||void 0===e?void 0:e[0]}),[$e]),nn=(0,l.useMemo)((function(){var e;return(0,G.h)(null===en||void 0===en||null===(e=en.features)||void 0===e?void 0:e[te.d.LOCAL_TIMEZONE])}),[null===en||void 0===en?void 0:en.features]),tn=(0,Me.dd)((function(){return(0,L.jsx)(Oe.BC,{children:(0,L.jsx)(m.Z,{contained:!0,onClickCustomTemplate:function(e){Ke({pipeline:{custom_template_uuid:null===e||void 0===e?void 0:e.template_uuid,name:(0,V.Y6)()}}).then((function(){cn()}))},showBreadcrumbs:!0,tabs:[we.A2]})})}),{},[],{background:!0,uuid:"browse_templates"}),rn=(0,i.Z)(tn,2),on=rn[0],cn=rn[1],un=(0,Me.dd)((function(e){var n=e.cancelButtonText,t=(e.header,e.onCancel),r=e.onSaveSuccess;return(0,L.jsx)(Oe.BC,{children:(0,L.jsx)(ee.Z,{cancelButtonText:n,contained:!0,header:(0,L.jsx)(P.Z,{mb:I.HN,children:(0,L.jsxs)(Q.Z,{children:[(0,L.jsx)(_.ZP,{warning:!0,children:"You need to add an OpenAI API key to your project before you can generate pipelines using AI."}),(0,L.jsx)(P.Z,{mt:1,children:(0,L.jsxs)(_.ZP,{warning:!0,children:["Read ",(0,L.jsx)(Z.Z,{href:"https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key",openNewWindow:!0,children:"OpenAI\u2019s documentation"})," to get your API key."]})})]})}),onCancel:function(){null===t||void 0===t||t(),dn()},onSaveSuccess:function(e){Qe(),dn(),null===r||void 0===r||r(e)}})})}),{},[Qe],{background:!0,uuid:"configure_project"}),an=(0,i.Z)(un,2),ln=an[0],dn=an[1],sn=(0,Me.dd)((function(){return(0,L.jsx)(Oe.BC,{children:(0,L.jsx)(f.Z,{createPipeline:Ke,isLoading:We,onClose:hn})})}),{},[Ke,We],{background:!0,disableClickOutside:!0,disableCloseButton:!0,uuid:"AI_modal"}),pn=(0,i.Z)(sn,2),fn=pn[0],hn=pn[1],bn=(0,l.useMemo)((function(){return(0,Se.d)(Ke,{showAIModal:function(){null!==en&&void 0!==en&&en.openai_api_key?fn():ln({onSaveSuccess:function(){fn()}})},showBrowseTemplates:on})}),[Ke,en,fn,on,ln]),gn=(0,l.useMemo)((function(){return(0,L.jsx)(h.Z,{addButtonMenuOpen:E,addButtonMenuRef:s,isLoading:We,label:"New pipeline",menuItems:bn,onClick:function(){return N((function(e){return!e}))},onClickCallback:function(){return N(!1)}})}),[E,We,bn]),mn=(0,l.useMemo)((function(){return nn?(0,L.jsx)(P.Z,{ml:"4px",children:(0,L.jsx)(M.Z,Ae(Ae({},Y),{},{label:"Please note that these counts are based on UTC time."}))}):null}),[nn]),yn=(0,l.useMemo)((function(){var e,n,t,r,i,c,u="Pipelines",a=(0,V.kE)("".concat(u,"_overview_dashboard_").concat((0,V.Lo)())),l="Trigger active status",d=(0,V.kE)("".concat(l,"_overview_dashboard_").concat((0,V.Lo)())),s="Pipeline run status",p=(0,V.kE)("".concat(s,"_overview_dashboard_").concat((0,V.Lo)())),f="Pipeline runs daily",h=(0,V.kE)("".concat(f,"_overview_dashboard_").concat((0,V.Lo)())),b="Completed pipeline runs daily",g=(0,V.kE)("".concat(b,"_overview_dashboard_").concat((0,V.Lo)())),m="Failed pipeline runs daily",y=(0,V.kE)("".concat(m,"_overview_dashboard_").concat((0,V.Lo)())),v="Running pipelines",x=(0,V.kE)("".concat(v,"_overview_dashboard_").concat((0,V.Lo)())),j={type:Ze.XO.PIPELINE_SCHEDULES},Z={type:Ze.XO.PIPELINE_RUNS},O={configuration:(e={},(0,o.Z)(e,ve.eN,["execution_date"]),(0,o.Z)(e,ve.bE,[{aggregation:ve.os.COUNT_DISTINCT,column:"id"}]),(0,o.Z)(e,ve.Yg,ve.aE.DAY),(0,o.Z)(e,"chart_type",ve.oV.TIME_SERIES_LINE_CHART),e),data_source:Z,type:je.tf.CHART};return{blocks:(c={},(0,o.Z)(c,a,{configuration:(n={},(0,o.Z)(n,ve.eN,["type"]),(0,o.Z)(n,ve.bE,[{aggregation:ve.os.COUNT_DISTINCT,column:"uuid"}]),(0,o.Z)(n,ve.$1,ve.MP.DESCENDING),(0,o.Z)(n,"chart_style",ve.JT.HORIZONTAL),(0,o.Z)(n,"chart_type",ve.oV.BAR_CHART),n),data_source:{type:Ze.XO.PIPELINES},name:u,type:je.tf.CHART,uuid:a}),(0,o.Z)(c,d,{configuration:(t={},(0,o.Z)(t,ve.eN,["status"]),(0,o.Z)(t,ve.bE,[{aggregation:ve.os.COUNT_DISTINCT,column:"id"}]),(0,o.Z)(t,ve.$1,ve.MP.DESCENDING),(0,o.Z)(t,"chart_type",ve.oV.BAR_CHART),t),data_source:j,name:l,type:je.tf.CHART,uuid:d}),(0,o.Z)(c,p,{configuration:(r={},(0,o.Z)(r,ve.eN,["status"]),(0,o.Z)(r,ve.bE,[{aggregation:ve.os.COUNT_DISTINCT,column:"id"}]),(0,o.Z)(r,ve.$1,ve.MP.DESCENDING),(0,o.Z)(r,"chart_style",ve.JT.HORIZONTAL),(0,o.Z)(r,"chart_type",ve.oV.BAR_CHART),r),data_source:Z,name:s,type:je.tf.CHART,uuid:p}),(0,o.Z)(c,h,Ae(Ae({},O),{},{name:f,uuid:h})),(0,o.Z)(c,g,Ae(Ae({},O),{},{content:"\n@data_source\ndef d(df):\n return df[df['status'] == '".concat(F.V.COMPLETED,"']\n"),name:b,uuid:g})),(0,o.Z)(c,y,Ae(Ae({},O),{},{content:"\n@data_source\ndef d(df):\n return df[df['status'] == '".concat(F.V.FAILED,"']\n"),name:m,uuid:y})),(0,o.Z)(c,x,{configuration:(i={},(0,o.Z)(i,ve.eN,["backfill_id","completed_at","created_at","execution_date","executor_type","id","pipeline_schedule_id","pipeline_uuid","started_at","status"]),(0,o.Z)(i,"chart_type",ve.oV.TABLE),i),content:"\n@data_source\ndef d(df):\n return df[df['status'] == '".concat(F.V.RUNNING,"']\n"),data_source:Z,name:v,type:je.tf.CHART,uuid:x}),c),layout:[[{block_uuid:a,width:1},{block_uuid:d,width:1}],[{block_uuid:p,width:1},{block_uuid:h,width:2}],[{block_uuid:g,width:1},{block_uuid:y,width:1}],[{block_uuid:x,width:1}]]}}),[]);return(0,L.jsxs)(v.Z,{errors:S,setErrors:R,title:"Overview",uuid:"overview/index",children:[(0,L.jsx)($.Z,{backgroundColor:k.Z.background.panel,ref:r,children:(0,L.jsx)(P.Z,{py:2,children:(0,L.jsxs)(x.ZP,{alignItems:"center",children:[(0,L.jsx)(P.Z,{ml:3,children:gn}),(0,L.jsx)(y.Z,{onClickTab:function(e){var n=e.uuid;(0,Le.u7)((0,o.Z)({},le.i,n),{replaceParams:!0})},regularSizeText:!0,selectedTabUUID:B,tabs:A})]})})}),Ee.uuid===(null===w||void 0===w?void 0:w.uuid)&&(0,L.jsx)(g.Z,{leftOffset:9*I.iI,pageBlockLayoutTemplate:yn,topOffset:Pe.Mz+(null===r||void 0===r||null===(n=r.current)||void 0===n||null===(t=n.getBoundingClientRect())||void 0===t?void 0:t.height),uuid:"overview/dashboard"}),Ee.uuid!==(null===w||void 0===w?void 0:w.uuid)&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(P.Z,{mx:3,my:2,children:[(0,L.jsxs)(j.Z,{level:4,children:[B===de.vk.TODAY&&"".concat((0,V.kC)(de.vk.TODAY)," (UTC): ").concat(ze),B!==de.vk.TODAY&&"".concat((0,V.kC)(de.s8[B])," (UTC): ").concat(ze)]}),(0,L.jsx)(P.Z,{mt:2,children:ie?(0,L.jsx)(P.Z,{mx:2,my:11,children:(0,L.jsx)(re.Z,{inverted:!0})}):(0,L.jsx)(J,{pipelineRunCountByPipelineType:Ye})}),(0,L.jsxs)(P.Z,{mt:2,children:[(0,L.jsx)(P.Z,{ml:2,children:(0,L.jsxs)(x.ZP,{alignItems:"center",children:[(0,L.jsxs)(_.ZP,{bold:!0,large:!0,children:[ie?"--":(0,q.uf)(Ve)," total pipeline runs"]}),mn]})}),(0,L.jsx)(P.Z,{mt:1,children:(0,L.jsx)(b.Z,{backgroundColor:k.Z.background.panel,colors:xe.NU,data:qe,getXValue:function(e){return e.date},height:200,keys:xe.hu,margin:{bottom:30,left:35,right:0,top:10},tooltipLeftOffset:xe.CD,xLabelFormat:function(e){return p()(e).format("MMM DD")}})})]})]}),(0,L.jsx)(P.Z,Ae(Ae({},He),{},{children:(0,L.jsxs)(x.ZP,{alignItems:"center",justifyContent:"center",children:[(0,L.jsx)(ge,{pipelineRuns:ue,pipelineType:H.LM}),(0,L.jsx)(P.Z,{ml:2}),(0,L.jsx)(ge,{pipelineRuns:be,pipelineType:H.qL.PYTHON})]})})),(0,L.jsx)(P.Z,Ae(Ae({},He),{},{children:(0,L.jsxs)(x.ZP,{alignItems:"center",justifyContent:"center",children:[(0,L.jsx)(ge,{pipelineRuns:fe,pipelineType:H.qL.INTEGRATION}),(0,L.jsx)(P.Z,{ml:2}),(0,L.jsx)(ge,{pipelineRuns:Ie,pipelineType:H.qL.STREAMING})]})})),(0,L.jsx)(P.Z,{mb:2})]})]})}Fe.getInitialProps=(0,r.Z)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)})));var Ye=(0,ne.Z)(Fe)},48277:function(e,n,t){"use strict";t.d(n,{$P:function(){return l},JI:function(){return o},VJ:function(){return a},fD:function(){return c},uf:function(){return i},vN:function(){return u}});var r=t(75582),i=function(e){var n=String(e).split("."),t=(0,r.Z)(n,2),i=t[0],o=t[1];return"".concat(i.replace(/\B(?=(\d{3})+(?!\d))/g,",")).concat(o?".".concat(o):"")};function o(e){var n=Math.floor(Date.now()/1e3);return e>0?n-e:n}function c(e){return(e>>>0).toString(2)}function u(e,n){return String(BigInt(e)+BigInt(n))}function a(e,n){return String(BigInt(e)-BigInt(n))}function l(e){return parseInt(e,2)}},56655:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/overview",function(){return t(98941)}])}},function(e){e.O(0,[2678,3662,1154,844,5820,6639,1124,341,1751,5896,2714,1821,2631,4783,4267,600,8487,8264,7858,5499,4366,722,5810,1769,1550,90,9264,976,9440,1952,9774,2888,179],(function(){return n=56655,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1709],{62072:function(e,n,t){"use strict";function r(e){return null==e?void 0:e[0]}function i(e){return null==e?void 0:e[1]}t.d(n,{l8:function(){return r},xf:function(){return i}})},59309:function(e,n,t){"use strict";t.d(n,{ZP:function(){return l}});var r=t(12759),i=t(27500),o=t(82610),c=t(34812),u=t(77944),a={expand:r.Z,diverging:i.Z,none:o.Z,silhouette:c.Z,wiggle:u.Z};Object.keys(a);function l(e){return e&&a[e]||a.none}},18246:function(e,n,t){"use strict";t.d(n,{ZP:function(){return l}});var r=t(39586),i=t(25516),o=t(54164),c=t(8512),u=t(2010),a={ascending:r.Z,descending:i.Z,insideout:o.Z,none:c.Z,reverse:u.Z};Object.keys(a);function l(e){return e&&a[e]||a.none}},64657:function(e,n,t){"use strict";t.d(n,{CD:function(){return u},NU:function(){return o},a_:function(){return r},hu:function(){return c}});var r,i=t(44897);!function(e){e.BLOCK_RUNS="block_runs",e.BLOCK_RUNTIME="block_runtime",e.PIPELINE_RUNS="pipeline_runs"}(r||(r={}));var o=[i.Z.accent.warning,i.Z.background.success,i.Z.accent.negative,i.Z.content.active,i.Z.interactive.linkPrimary],c=["cancelled","completed","failed","initial","running"],u=-50},24491:function(e,n,t){"use strict";t.d(n,{i:function(){return p},p:function(){return l}});var r=t(82394),i=t(75582),o=t(61556),c=t(57653);function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var l=function(e,n){if(!e)return[];var t=Object.entries(e).reduce((function(e,n){var t=(0,i.Z)(n,2),r=(t[0],t[1].data),o={};return Object.entries(r).forEach((function(n){var t=(0,i.Z)(n,2),r=t[0],c=t[1],u={};r in e&&(u=e[r]);var l={};Object.entries(c).forEach((function(e){var n,t=(0,i.Z)(e,2),r=t[0],o=t[1],c=null!==(n=u)&&void 0!==n&&n[r]?u[r]:0;l[r]=c+o})),o[r]=a(a({},u),l)})),a(a({},e),o)}),{});return n.map((function(e){return a({date:e},t[e]||{})}))},d=o.E.reduce((function(e,n){return a(a({},e),{},(0,r.Z)({},n,0))}),{}),s=new Set(o.E),p=function(e,n){var t;if(!e)return{groupedPipelineRunData:[],pipelineRunCountByPipelineType:{},totalPipelineRunCount:0,ungroupedPipelineRunData:[]};var o=(t={},(0,r.Z)(t,c.qL.INTEGRATION,a({},d)),(0,r.Z)(t,c.qL.PYSPARK,{}),(0,r.Z)(t,c.qL.PYTHON,a({},d)),(0,r.Z)(t,c.qL.STREAMING,a({},d)),t),u=0,l=Object.entries(e).reduce((function(e,n){var t=(0,i.Z)(n,2),r=(t[0],t[1].data),c={},l={};return Object.entries(r).forEach((function(n){var t=(0,i.Z)(n,2),r=t[0],d=t[1],p={},f={};r in e.grouped?(p=a({},e.grouped[r]),c[r]=a({},p)):c[r]={},r in e.ungrouped&&(f=a({},e.ungrouped[r]));var h={},b={};Object.entries(d).forEach((function(n){var t=(0,i.Z)(n,2),d=t[0],g=t[1];"null"===d||null===d||(r in e.grouped&&d in e.grouped[r]&&(p[d]=a({},e.grouped[r][d])),h[d]={},Object.entries(g).forEach((function(e){var n,t,r,c=(0,i.Z)(e,2),a=c[0],l=c[1],g=null!==(n=p)&&void 0!==n&&null!==(t=n[d])&&void 0!==t&&t[a]?p[d][a]:0;h[d][a]=g+l;var m=null!==(r=f)&&void 0!==r&&r[a]?f[a]:0;b[a]=null!==b&&void 0!==b&&b[a]?b[a]+l:m+l,s.has(a)&&(o[d][a]=(o[d][a]||0)+l),u+=l})),c[r][d]=a(a({},p[d]),h[d]),l[r]=a(a({},f),b))}))})),{grouped:a(a({},e.grouped),c),ungrouped:a(a({},e.ungrouped),l)}}),{grouped:{},ungrouped:{}}),p=[],f=[];return n.forEach((function(e){p.push(a({date:e},l.grouped[e]||{})),f.push(a({date:e},l.ungrouped[e]||{}))})),{groupedPipelineRunData:p,pipelineRunCountByPipelineType:o,totalPipelineRunCount:u,ungroupedPipelineRunData:f}}},53998:function(e,n,t){"use strict";t.d(n,{Z:function(){return q}});var r=t(26304),i=t(82394),o=t(21831),c=t(82684),u=t(84969),a=t(90948),l=t(63588),d=t.n(l),s=t(75823),p=t(29989),f=t(62072),h=t(53989),b=t(49894),g=t(18246),m=t(59309),y=t(65743),v=["data","className","top","left","x","y0","y1","xScale","yScale","color","keys","value","order","offset","children"];function x(){return x=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},x.apply(this,arguments)}function j(e){var n=e.data,t=e.className,r=e.top,i=e.left,o=e.x,u=e.y0,a=void 0===u?f.l8:u,l=e.y1,j=void 0===l?f.xf:l,Z=e.xScale,O=e.yScale,P=e.color,_=e.keys,w=e.value,k=e.order,C=e.offset,I=e.children,T=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,v),E=(0,s.Z)();_&&E.keys(_),w&&(0,b.Z)(E.value,w),k&&E.order((0,g.ZP)(k)),C&&E.offset((0,m.ZP)(C));var N=E(n),D=(0,h.Z)(Z),S=N.map((function(e,n){var t=e.key;return{index:n,key:t,bars:e.map((function(n,r){var i=(O(a(n))||0)-(O(j(n))||0),c=O(j(n)),u="bandwidth"in Z?Z(o(n.data)):Math.max((Z(o(n.data))||0)-D/2);return{bar:n,key:t,index:r,height:i,width:D,x:u||0,y:c||0,color:P(e.key,r)}}))}}));return I?c.createElement(c.Fragment,null,I(S)):c.createElement(p.Z,{className:d()("visx-bar-stack",t),top:r,left:i},S.map((function(e){return e.bars.map((function(n){return c.createElement(y.Z,x({key:"bar-stack-"+e.index+"-"+n.index,x:n.x,y:n.y,height:n.height,width:n.width,fill:n.color},T))}))})))}var Z=t(67778),O=t(17066),P=t(29179),_=t(65376),w=t(48072),k=t(98677),C=t(84181),I=t(24903),T=t(55485),E=t(26226),N=t(30160),D=t(94035),S=t(44897),L=t(42631),R=t(95363),M=t(70515),B=t(48277),A=t(79221),H=t(28598),U=["height","width","xAxisLabel","yAxisLabel"];function Y(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function F(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Y(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Y(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function V(e){var n=e.backgroundColor,t=e.colors,r=e.data,i=e.getXValue,c=(e.getYValue,e.height),l=e.keys,d=e.margin,s=e.numYTicks,f=e.showLegend,h=e.tooltipLeftOffset,b=void 0===h?0:h,g=e.width,m=e.xLabelFormat,y=e.yLabelFormat,v=(0,P.Z)(),x=v.hideTooltip,T=v.showTooltip,E=v.tooltipData,D=v.tooltipLeft,M=v.tooltipOpen,U=v.tooltipTop,Y=g-(d.left+d.right),V=c-(d.bottom+d.top),q=r.reduce((function(e,n){var t=n,r=l.reduce((function(e,n){return Number(t[n])&&(e+=Number(t[n])),e}),0);return e.push(r),e}),[]),z=(0,k.Z)({domain:r.map(i),padding:.4,range:[0,Y],round:!1}),G=(0,C.Z)({domain:[0,Math.max.apply(Math,(0,o.Z)(q))],range:[V,0],round:!0}),X=null;M&&E&&(X=E.bar.data[E.key],Number.isSafeInteger(X)&&(X=(0,B.uf)(X)));var K=(0,I.Z)({domain:l,range:t});return(0,H.jsxs)("div",{style:{position:"relative",zIndex:2},children:[(0,H.jsxs)("svg",{height:c,width:g,children:[(0,H.jsx)("rect",{fill:n||S.Z.background.chartBlock,height:c,rx:14,width:g,x:0,y:0}),(0,H.jsx)(Z.Z,{height:V,left:d.left,scale:G,stroke:"black",strokeOpacity:.2,top:d.top,width:Y}),(0,H.jsx)(p.Z,{left:d.left,top:d.top,children:(0,H.jsx)(j,{color:K,data:r,keys:l,value:function(e,n){return e[n]||0},x:i,xScale:z,yScale:G,children:function(e){return e.map((function(e){return e.bars.map((function(n){return(0,H.jsx)("rect",{fill:n.color,height:n.height,onMouseLeave:x,onMouseMove:function(e){var t=(0,w.Z)(e),r=n.x+n.width/2+b;T({tooltipData:n,tooltipLeft:r,tooltipTop:(null===t||void 0===t?void 0:t.y)+10})},width:n.width,x:n.x,y:n.y},"bar-stack-".concat(e.index,"-").concat(n.index))}))}))}})}),(0,H.jsx)(u.Z,{hideTicks:!0,left:d.left,numTicks:s,scale:G,stroke:S.Z.content.muted,tickFormat:function(e){return y?y(e):(0,A.P5)(e)},tickLabelProps:function(){return{fill:S.Z.content.muted,fontFamily:R.ry,fontSize:11,textAnchor:"end",transform:"translate(0,2.5)"}},top:d.top}),(0,H.jsx)(a.Z,{hideTicks:!0,left:d.left,scale:z,stroke:S.Z.content.muted,tickFormat:m,tickLabelProps:function(){return{fill:S.Z.content.muted,fontFamily:R.ry,fontSize:11,textAnchor:"middle"}},top:V+d.top})]}),f&&(0,H.jsx)("div",{style:{display:"flex",fontSize:"14px",justifyContent:"center",position:"absolute",top:d.top/2-10,width:"100%"},children:(0,H.jsx)(O.Z,{direction:"row",labelMargin:"0 15px 0 0",scale:K})}),M&&E&&(0,H.jsxs)(_.Z,{left:D,style:F(F({},_.j),{},{backgroundColor:S.Z.background.page,borderRadius:"".concat(L.TR,"px"),padding:".3rem .4rem"}),top:U,children:[(0,H.jsx)(N.ZP,{bold:!0,color:K(E.key),children:E.key}),(0,H.jsx)(N.ZP,{children:X}),(0,H.jsx)(N.ZP,{children:i(E.bar.data)})]})]})}var q=function(e){var n=e.height,t=e.width,i=e.xAxisLabel,o=e.yAxisLabel,c=(0,r.Z)(e,U);return(0,H.jsx)(H.Fragment,{children:(0,H.jsxs)("div",{style:{height:n,marginBottom:M.iI,width:t},children:[o&&(0,H.jsx)(T.ZP,{alignItems:"center",fullHeight:!0,justifyContent:"center",width:28,children:(0,H.jsx)(D.Z,{children:(0,H.jsx)(N.ZP,{center:!0,muted:!0,small:!0,children:o})})}),(0,H.jsx)("div",{style:{height:n,width:o?0===t?t:t-28:t},children:(0,H.jsx)(E.Z,{children:function(e){var n=e.height,t=e.width;return(0,H.jsx)(V,F(F({},c),{},{height:n,width:t}))}})}),i&&(0,H.jsx)("div",{style:{paddingLeft:o?36:0,paddingTop:4},children:(0,H.jsx)(N.ZP,{center:!0,muted:!0,small:!0,children:i})})]})})}},81066:function(e,n,t){"use strict";t.d(n,{B:function(){return p}});var r=t(82394),i=t(46732),o=t(93369),c=t(72473),u=t(8059),a=t(70515),l=t(28598);function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?d(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var p={bold:!0,greyBorder:!0,paddingBottom:9,paddingTop:9};n.Z=function(e){var n=e.addButtonMenuOpen,t=e.addButtonMenuRef,r=e.isLoading,d=e.label,f=e.menuItems,h=e.onClick,b=e.onClickCallback;return(0,l.jsx)(i.Z,{disableKeyboardShortcuts:!0,items:f,onClickCallback:b,onClickOutside:b,open:n,parentRef:t,roundedStyle:!0,topOffset:1,uuid:"Table/Toolbar/NewItemMenu",children:(0,l.jsx)(o.ZP,s(s({},p),{},{background:u.eW,beforeElement:(0,l.jsx)(c.mm,{size:2.5*a.iI}),loading:r,onClick:function(e){e.preventDefault(),null===h||void 0===h||h()},uuid:"shared/AddButton/index",children:d}))})}},46568:function(e,n,t){"use strict";var r=t(82394),i=t(26304),o=(t(82684),t(33591)),c=t(28598),u=["children","fullHeight","gutter","style"];function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.children,t=e.fullHeight,r=e.gutter,a=e.style,d=void 0===a?{}:a,s=(0,i.Z)(e,u),p=l({},d);return r&&(p.paddingLeft=r,p.paddingRight=p.paddingLeft),t&&(p.height="100%"),(0,c.jsx)(o.Col,l(l({},s),{},{style:p,children:n}))}},82682:function(e,n,t){"use strict";var r=t(82394),i=t(26304),o=t(82684),c=t(33591),u=t(28598),a=["children","fullHeight","gutter","justifyContent","style"];function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function d(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?l(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.children,t=e.fullHeight,r=e.gutter,l=e.justifyContent,s=e.style,p=void 0===s?{}:s,f=(0,i.Z)(e,a),h=d({},p);return r&&(h.marginLeft=-1*r,h.marginRight=h.marginLeft),t&&(h.height="100%"),(0,u.jsx)(c.Row,d(d({},f),{},{justifyContent:l,style:h,children:o.Children.map(n,(function(e,n){return e&&o.cloneElement(e,{gutter:r,key:n})}))}))}},94542:function(e,n,t){"use strict";t.d(n,{J:function(){return o},X:function(){return c}});var r=t(46568),i=t(82682),o=r.Z,c=i.Z},29241:function(e,n,t){"use strict";var r=t(38626),i=t(44897),o=r.default.div.withConfig({displayName:"PageSectionHeader",componentId:"sc-1wznrcv-0"})(["left:0;position:sticky;top:0;width:100%;z-index:3;",""],(function(e){return"\n background-color: ".concat(e.backgroundColor||(e.theme.background||i.Z.background).page,";\n border-bottom: 1px solid ").concat((e.theme.borders||i.Z.borders).medium,";\n ")}));n.Z=o},61556:function(e,n,t){"use strict";t.d(n,{E:function(){return o},h:function(){return r}});t(57653);var r,i=t(41143);!function(e){e.BLOCK_RUN_COUNT="block_run_count",e.BLOCK_RUN_TIME="block_run_time",e.PIPELINE_RUN_COUNT="pipeline_run_count",e.PIPELINE_RUN_TIME="pipeline_run_time"}(r||(r={}));var o=[i.V.RUNNING,i.V.COMPLETED,i.V.FAILED]},96348:function(e,n,t){"use strict";t.d(n,{g:function(){return m},Z:function(){return y}});var r=t(82684),i=t(38626),o=t(44897),c=t(42631),u=t(47041),a=t(70515),l=1.5*a.iI,d=1.5*a.iI,s=i.default.div.withConfig({displayName:"indexstyle__TableStyle",componentId:"sc-13p7y8j-0"})(["border-radius:","px;overflow:hidden;width:100%;"," "," "," ",""],c.n_,(function(e){return e.width&&"\n width: ".concat(e.width,"px;\n ")}),(function(e){return"\n background-color: ".concat((e.theme||o.Z).background.page,";\n border: ").concat(c.YF,"px ").concat(c.M8," ").concat((e.theme||o.Z).interactive.defaultBorder,";\n box-shadow: ").concat((e.theme||o.Z).shadow.frame,";\n ")}),(function(e){return e.noBackground&&"\n background-color: transparent;\n "}),(function(e){return e.noBoxShadow&&"\n box-shadow: none;\n "})),p=i.default.div.withConfig({displayName:"indexstyle__RowContainerStyle",componentId:"sc-13p7y8j-1"})(["overflow:auto;border-bottom-left-radius:","px;border-bottom-right-radius:","px;"," "," "," ",""],c.n_,c.n_,u.w5,(function(e){return e.maxHeight>0&&"\n max-height: ".concat(e.maxHeight,"px;\n ")}),(function(e){return e.minHeight>0&&"\n min-height: ".concat(e.minHeight,"px;\n ")}),(function(e){return e.scrollable&&"\n margin-bottom: ".concat(a.iI,"px;\n overflow-y: auto;\n padding-top: ").concat(3,"px;\n padding-left: ").concat(3,"px;\n padding-right: ").concat(3,"px;\n ")})),f=i.default.div.withConfig({displayName:"indexstyle__HeaderStyle",componentId:"sc-13p7y8j-2"})(["border-top-left-radius:","px;border-top-right-radius:","px;padding:","px ","px;",""],c.n_,c.n_,l,2*a.iI,(function(e){return"\n border-bottom: ".concat(c.YF,"px ").concat(c.M8," ").concat((e.theme.interactive||o.Z.interactive).defaultBorder,";\n ")})),h=i.default.div.withConfig({displayName:"indexstyle__RowStyle",componentId:"sc-13p7y8j-3"})(["padding:","px ","px;"," "," "," "," "," ",""],d,2*a.iI,(function(e){return"\n border-bottom: ".concat(c.YF,"px ").concat(c.M8," ").concat((e.theme||o.Z).borders.medium2,";\n ")}),(function(e){return e.sameColorBorders&&"\n border-bottom-color: ".concat((e.theme||o.Z).interactive.defaultBorder,";\n ")}),(function(e){return e.noHorizontalPadding&&"\n padding-left: 0;\n padding-right: 0;\n "}),(function(e){return e.condensed&&"\n padding-top: ".concat(9,"px;\n padding-bottom: ").concat(9,"px;\n ")}),(function(e){return e.secondary&&"\n background-color: ".concat((e.theme.background||o.Z.background).row2,";\n ")}),(function(e){return e.last&&e.noBorder&&"\n border-bottom-left-radius: ".concat(c.n_,"px;\n border-bottom-right-radius: ").concat(c.n_,"px;\n border-bottom: none;\n ")})),b=i.default.div.withConfig({displayName:"indexstyle__FooterStyle",componentId:"sc-13p7y8j-4"})(["border-bottom-left-radius:","px;border-bottom-right-radius:","px;padding:","px ","px;",""],c.n_,c.n_,l,2*a.iI,(function(e){return"\n border-top: ".concat(c.YF,"px ").concat(c.M8," ").concat((e.theme||o.Z).borders.medium2,";\n ")})),g=t(28598),m=h;var y=function(e){var n=e.alternating,t=e.children,i=e.footer,o=e.header,c=e.maxHeight,u=e.minHeight,a=e.noBackground,l=e.noBoxShadow,d=e.sameColorBorders,h=e.scrollable,m=e.width,y=[].concat(t).filter((function(e){return null!==e}));return(0,g.jsxs)(s,{noBackground:a,noBoxShadow:l,width:m,children:[o&&(0,g.jsx)(f,{children:o}),(0,g.jsx)(p,{maxHeight:c,minHeight:u,scrollable:h,children:r.Children.map(y,(function(e,t){return e&&r.cloneElement(e,{last:t===y.length-1,sameColorBorders:d,secondary:n&&t%2===1})}))}),i&&(0,g.jsx)(b,{children:i})]})}},17380:function(e,n,t){"use strict";t.d(n,{i:function(){return d}});t(82684);var r=t(38626),i=(t(97618),t(55485),t(48670),t(38276),t(47329)),o=t.n(i);o().node,o().node,o().node.isRequired,o().bool,o().string.isRequired;t(30160);var c=t(70987),u=t(95363),a=t(70515),l=t(42631),d=(t(28598),"tab");r.default.div.withConfig({displayName:"Tabs__TabHeaderContainerStyle",componentId:"sc-rojme5-0"})(["",""],(function(e){return e.containerWidthPercentage&&"\n width: ".concat(e.containerWidthPercentage,"%;\n ")})),r.default.div.withConfig({displayName:"Tabs__TabHeader",componentId:"sc-rojme5-1"})(["border-top-left-radius:","px;border-top-right-radius:","px;margin-right:","px;position:relative;z-index:2;"," "," ",""],l.BG,l.BG,6*a.iI,(function(e){return e.noBottomBorder&&"\n border-bottom: none;\n "}),(function(e){return e.active&&"\n border-bottom: ".concat(a.cd,"px solid;\n border-color: ").concat((e.theme.interactive||c.Z.interactive).linkPrimary,";\n ")}),(function(e){return e.fullWidth&&"\n width: 100%;\n "})),r.default.div.withConfig({displayName:"Tabs__LinkStyle",componentId:"sc-rojme5-2"})(["align-items:center;display:flex;"," "," ",""],(function(e){return e.bold&&"\n font-family: ".concat(u.nF,";\n ")}),(function(e){return e.fullWidth&&"\n justify-content: center;\n "}),(function(e){return!e.disabled&&"\n &:hover {\n path {\n fill: ".concat((e.theme.content||c.Z.interactive).linkPrimary," !important;\n }\n }\n ")}))},98941:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Fe}});var r=t(77837),i=t(75582),o=t(82394),c=t(38860),u=t.n(c),a=t(69864),l=t(82684),d=t(34376),s=t(92083),p=t.n(s),f=t(52749),h=t(81066),b=t(53998),g=t(39440),m=t(60523),y=t(90299),v=t(94629),x=t(55485),j=t(85854),Z=t(48670),O=t(97618),P=t(38276),_=t(30160),w=t(38626),k=t(44897),C=t(42631),I=t(70515),T=12.5*I.iI,E=8*I.iI,N=5*I.iI,D=3*I.iI,S=w.default.div.withConfig({displayName:"indexstyle__TileContainerStyle",componentId:"sc-c3nc3q-0"})(["padding:","px;border-radius:","px;height:","px;width:","px;"," ",""],2.5*I.iI,C.TR,T,T,(function(e){return"\n background-color: ".concat((e.theme||k.Z).background.chartBlock,";\n ")}),(function(e){return e.compact&&"\n height: ".concat(E,"px;\n width: ").concat(E,"px;\n ")})),L=t(28598);var R=function(e){var n=e.Icon,t=e.compact,r=e.label;return(0,L.jsx)(S,{compact:t,children:(0,L.jsxs)(x.ZP,{alignItems:"center",flexDirection:"column",justifyContent:"center",children:[(0,L.jsx)(n,{size:t?D:N}),(0,L.jsx)(P.Z,{mb:"4px"}),(0,L.jsx)(_.ZP,{bold:!0,small:t,children:r})]})})},M=t(12468),B=w.default.div.withConfig({displayName:"indexstyle__MetricsSummaryContainerStyle",componentId:"sc-nu65g1-0"})(["width:100%;padding:","px;border-radius:","px;",""],2*I.iI,C.n_,(function(e){return"\n border: ".concat(C.YF,"px ").concat(C.M8," ").concat((e.theme||k.Z).interactive.defaultBorder,";\n box-shadow: ").concat((e.theme||k.Z).shadow.frame,";\n ")})),A=w.default.div.withConfig({displayName:"indexstyle__MetricContainerStyle",componentId:"sc-nu65g1-1"})(["display:flex;flex:1;align-items:center;justify-content:space-between;",""],(function(e){return e.includeLeftBorder&&"\n @media (min-width: 1200px) {\n padding-left: 24px;\n border-left: ".concat(C.YF,"px ").concat(C.M8," ").concat((e.theme||k.Z).interactive.defaultBorder,";\n }\n ")})),H=t(57653),U=t(94542),Y=t(41143),F={muted:!0,size:t(72191)._k,widthFitContent:!0},V=t(81728),q=t(48277),z=t(79221),G=t(70320),X=t(86735);function K(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function W(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?K(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):K(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var J=function(e){var n=e.pipelineRunCountByPipelineType,t=(0,G.qB)(),r=(0,l.useMemo)((function(){if(!n)return[];var e=JSON.parse(JSON.stringify(n)),t=e[H.qL.PYTHON]||{};return Object.entries(e[H.qL.PYSPARK]||{}).forEach((function(e){var n=(0,i.Z)(e,2),r=n[0],o=n[1];t[r]?t[r]+=o:t[r]=o})),e[H.qL.PYTHON]=t,delete e[H.qL.PYSPARK],(0,X.mr)(Object.entries(e).filter((function(e){var n=(0,i.Z)(e,2),t=(n[0],n[1]);return 0!==Object.keys(t).length})))}),[n]),o=(0,l.useMemo)((function(){return t?(0,L.jsx)(P.Z,{ml:"4px",children:(0,L.jsx)(M.Z,W(W({},F),{},{label:"Please note that these metrics are based on UTC time."}))}):null}),[t]);return(0,L.jsxs)(B,{children:[(0,L.jsxs)(x.ZP,{alignItems:"center",children:[(0,L.jsx)(_.ZP,{bold:!0,large:!0,children:"Pipeline run metrics"}),o]}),(0,L.jsx)(P.Z,{mb:2}),(0,L.jsx)(U.X,{style:{gap:"16px"},children:r.map((function(e,n){var t=(0,i.Z)(e,2),o=t[0],c=t[1];return(0,L.jsxs)(A,{includeLeftBorder:0!==n,children:[(0,L.jsx)(R,{Icon:H.Mj[o],label:H.G7[o]}),(0,X.mr)(Object.entries(c)).map((function(e,n){var t=(0,i.Z)(e,2),r=t[0],o=t[1];return(0,L.jsx)(P.Z,{px:1,children:(0,L.jsxs)(O.Z,{flexDirection:"column",children:[(0,L.jsx)(_.ZP,{children:(0,V.kC)(r)}),(0,L.jsx)(_.ZP,{bold:!0,danger:r===Y.V.FAILED&&o>0,title:(0,q.uf)(o),xlarge:!0,children:(0,z.P5)(o,{maxFractionDigits:1,minAmount:1e3})})]})},"".concat(r,"_").concat(n))})),(0,L.jsx)(P.Z,{pr:n!==r.length-1?2:0})]},"".concat(o,"_metric"))}))})]})},$=t(29241),Q=t(65956),ee=t(55729),ne=t(93808),te=t(82359),re=t(4190),ie=t(12691),oe=t.n(ie),ce=t(71180),ue=t(96348),ae=t(68899),le=t(17380),de=t(3917),se=t(69419);function pe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function fe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?pe(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pe(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var he=40*I.iI,be=40*I.iI;var ge=function(e){var n=e.pipelineType,t=e.pipelineRuns,r=void 0===t?[]:t,i=(0,d.useRouter)(),o=(0,se.iV)(),c=(null===o||void 0===o?void 0:o[le.i])||de.vk.TODAY,u=(0,G.qB)(),a=n===H.LM,s=a?H.LM:H.G7[n],p=H.Mj[n],f=r.length,h=0===f?"":"(".concat(f,")"),b=(0,l.useMemo)((function(){return u?(0,L.jsx)(P.Z,{ml:"4px",children:(0,L.jsx)(M.Z,fe(fe({},F),{},{label:"The pipeline run failures are displayed in local time.",maxWidth:24*I.iI,widthFitContent:!1}))}):null}),[u]);return(0,L.jsx)(ue.Z,{footer:(0,L.jsx)(x.ZP,{alignItems:"center",justifyContent:"center",children:(0,L.jsx)(oe(),{as:"/pipeline-runs?status=failed",href:"/pipeline-runs",passHref:!0,children:(0,L.jsx)(Z.Z,{sameColorAsText:!0,children:"View more"})})}),header:(0,L.jsxs)(x.ZP,{alignItems:"center",children:[(0,L.jsx)(ce.ZP,{beforeIcon:(0,L.jsx)(p,{size:2.5*I.iI}),compact:!0,notClickable:!0,children:(0,V.kC)(s)}),(0,L.jsx)(P.Z,{ml:2}),(0,L.jsxs)(_.ZP,{bold:!0,children:["Latest ",a?"":"".concat((0,V.wX)(s)," "),"pipeline run failures ",h]}),b]}),maxHeight:he,minHeight:be,children:0===f?(0,L.jsx)(x.ZP,{alignItems:"center",fullWidth:!0,justifyContent:"center",children:(0,L.jsx)(P.Z,{px:5,py:10,children:(0,L.jsxs)(x.ZP,{alignItems:"center",flexDirection:"column",children:[(0,L.jsx)(ae.Hn,{imageUrl:"".concat(i.basePath,"/images/blocks/grey_block.webp")}),(0,L.jsx)(P.Z,{mb:3}),(0,L.jsxs)(_.ZP,{large:!0,children:["No ",a?"":"".concat((0,V.wX)(s)," "),"pipeline run failures for ",de.s8[c]]})]})})}):r.map((function(e){var n=e.created_at,t=e.id,r=e.pipeline_uuid;return(0,L.jsx)(ue.g,{children:(0,L.jsxs)(x.ZP,{alignItems:"center",children:[(0,L.jsx)(oe(),{as:"/pipelines/".concat(r),href:"/pipelines/[pipeline]",passHref:!0,children:(0,L.jsx)(Z.Z,{monospace:!0,sameColorAsText:!0,small:!0,children:r})}),(0,L.jsx)(_.ZP,{monospace:!0,small:!0,children:"\xa0>\xa0"}),(0,L.jsx)(oe(),{as:"/pipelines/".concat(r,"/runs/").concat(t),href:"/pipelines/[pipeline]/runs/[run]",passHref:!0,children:(0,L.jsxs)(Z.Z,{danger:!0,monospace:!0,sameColorAsText:!0,small:!0,children:["Run created on\xa0",u?(0,de.XG)(n,u):n]})})]})},"pipeline_run_".concat(t))}))})},me=t(35686),ye=t(98464),ve=t(35058),xe=t(64657),je=t(44425),Ze=t(75399),Oe=t(23780),Pe=t(46684),_e=t(61556),we=t(32929),ke=t(72473),Ce={Icon:ke.LE,label:function(){return(0,V.kC)(de.s8[de.vk.TODAY])},uuid:de.vk.TODAY},Ie={Icon:ke.ks,label:function(){return(0,V.kC)(de.s8[de.vk.WEEK])},uuid:de.vk.WEEK},Te={Icon:ke.zE,label:function(){return(0,V.kC)(de.s8[de.vk.MONTH])},uuid:de.vk.MONTH},Ee={Icon:ke.G6,label:function(){return"Dashboard"},uuid:"Dashboard"},Ne=[Ce,Ie,Te],De=t(24491),Se=t(65458),Le=t(15610),Re=t(72619),Me=t(89538);function Be(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ae(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Be(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Be(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var He={mt:2,mx:3},Ue={refreshInterval:6e4,revalidateOnFocus:!1};function Ye(){var e,n,t,r=(0,l.useRef)(null),c=(0,se.iV)(),u=(0,d.useRouter)(),s=(0,l.useRef)(null),O=(0,l.useState)(Ce),w=O[0],C=O[1],T=(0,l.useState)(!1),E=T[0],N=T[1],D=(0,l.useState)(null),S=D[0],R=D[1],B=null===w||void 0===w?void 0:w.uuid,A=(0,l.useMemo)((function(){return Ne.concat(Ee)}),[]),U=(0,ye.Z)(w);(0,l.useEffect)((function(){var e=c[le.i];e&&C(A.find((function(n){return n.uuid===e})))}),[A,c,w,U]);var z=(0,l.useMemo)((function(){return(0,de.jV)(B,{isoString:!0})}),[B]),K=(0,l.useMemo)((function(){return{group_by_pipeline_type:1,start_time:z}}),[z]),W=me.ZP.monitor_stats.detail(_e.h.PIPELINE_RUN_COUNT,K,Ae({},Ue)),ne=W.data,ie=W.isValidating,oe=W.mutate,ce=me.ZP.pipeline_runs.list({_limit:50,include_pipeline_type:1,"order_by[]":"created_at desc",start_timestamp:(0,de.A5)(z),status:Y.V.FAILED},Ae({},Ue)).data,ue=(0,l.useMemo)((function(){return((null===ce||void 0===ce?void 0:ce.pipeline_runs)||[]).filter((function(e){return null!==e.pipeline_type}))}),[null===ce||void 0===ce?void 0:ce.pipeline_runs]),ae=(0,l.useMemo)((function(){return(0,X.vM)(ue,(function(e){return e.pipeline_type}))}),[ue]),pe=ae.integration,fe=void 0===pe?[]:pe,he=ae.python,be=void 0===he?[]:he,ke=ae.streaming,Ie=void 0===ke?[]:ke;(0,l.useEffect)((function(){U&&(null===w||void 0===w?void 0:w.uuid)!==(null===U||void 0===U?void 0:U.uuid)&&oe()}),[oe,w,U]);var Te,Be=(0,l.useMemo)((function(){return(0,de.Y_)(de.yD[B]+1)}),[B]),Ye=(0,l.useMemo)((function(){var e,n=(null===ne||void 0===ne||null===(e=ne.monitor_stat)||void 0===e?void 0:e.stats)||{};return(0,De.i)(n,Be)}),[null===ne||void 0===ne||null===(e=ne.monitor_stat)||void 0===e?void 0:e.stats,Be]),Fe=Ye.pipelineRunCountByPipelineType,Ve=Ye.totalPipelineRunCount,qe=Ye.ungroupedPipelineRunData,ze=(0,l.useMemo)((function(){return(0,de.Ro)(de.yD[B],{endDateOnly:B===de.vk.TODAY})}),[B]),Ge=(Te=function(e){return u.push("/pipelines/[pipeline]/edit","/pipelines/".concat(e,"/edit"))},(0,a.Db)(me.ZP.pipelines.useCreate(),{onSuccess:function(e){return(0,Re.wD)(e,{callback:function(e){var n=e.pipeline.uuid;null===Te||void 0===Te||Te(n)},onErrorCallback:function(e,n){return R({errors:n,response:e})}})}})),Xe=(0,i.Z)(Ge,2),Ke=Xe[0],We=Xe[1].isLoading,Je=me.ZP.projects.list(),$e=Je.data,Qe=Je.mutate,en=(0,l.useMemo)((function(){var e;return null===$e||void 0===$e||null===(e=$e.projects)||void 0===e?void 0:e[0]}),[$e]),nn=(0,l.useMemo)((function(){var e;return(0,G.hY)(null===en||void 0===en||null===(e=en.features)||void 0===e?void 0:e[te.d.LOCAL_TIMEZONE])}),[null===en||void 0===en?void 0:en.features]),tn=(0,Me.dd)((function(){return(0,L.jsx)(Oe.BC,{children:(0,L.jsx)(m.Z,{contained:!0,onClickCustomTemplate:function(e){Ke({pipeline:{custom_template_uuid:null===e||void 0===e?void 0:e.template_uuid,name:(0,V.Y6)()}}).then((function(){cn()}))},showBreadcrumbs:!0,tabs:[we.A2]})})}),{},[],{background:!0,uuid:"browse_templates"}),rn=(0,i.Z)(tn,2),on=rn[0],cn=rn[1],un=(0,Me.dd)((function(e){var n=e.cancelButtonText,t=(e.header,e.onCancel),r=e.onSaveSuccess;return(0,L.jsx)(Oe.BC,{children:(0,L.jsx)(ee.Z,{cancelButtonText:n,contained:!0,header:(0,L.jsx)(P.Z,{mb:I.HN,children:(0,L.jsxs)(Q.Z,{children:[(0,L.jsx)(_.ZP,{warning:!0,children:"You need to add an OpenAI API key to your project before you can generate pipelines using AI."}),(0,L.jsx)(P.Z,{mt:1,children:(0,L.jsxs)(_.ZP,{warning:!0,children:["Read ",(0,L.jsx)(Z.Z,{href:"https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key",openNewWindow:!0,children:"OpenAI\u2019s documentation"})," to get your API key."]})})]})}),onCancel:function(){null===t||void 0===t||t(),dn()},onSaveSuccess:function(e){Qe(),dn(),null===r||void 0===r||r(e)}})})}),{},[Qe],{background:!0,uuid:"configure_project"}),an=(0,i.Z)(un,2),ln=an[0],dn=an[1],sn=(0,Me.dd)((function(){return(0,L.jsx)(Oe.BC,{children:(0,L.jsx)(f.Z,{createPipeline:Ke,isLoading:We,onClose:hn})})}),{},[Ke,We],{background:!0,disableClickOutside:!0,disableCloseButton:!0,uuid:"AI_modal"}),pn=(0,i.Z)(sn,2),fn=pn[0],hn=pn[1],bn=(0,l.useMemo)((function(){return(0,Se.d)(Ke,{showAIModal:function(){null!==en&&void 0!==en&&en.openai_api_key?fn():ln({onSaveSuccess:function(){fn()}})},showBrowseTemplates:on})}),[Ke,en,fn,on,ln]),gn=(0,l.useMemo)((function(){return(0,L.jsx)(h.Z,{addButtonMenuOpen:E,addButtonMenuRef:s,isLoading:We,label:"New pipeline",menuItems:bn,onClick:function(){return N((function(e){return!e}))},onClickCallback:function(){return N(!1)}})}),[E,We,bn]),mn=(0,l.useMemo)((function(){return nn?(0,L.jsx)(P.Z,{ml:"4px",children:(0,L.jsx)(M.Z,Ae(Ae({},F),{},{label:"Please note that these counts are based on UTC time."}))}):null}),[nn]),yn=(0,l.useMemo)((function(){var e,n,t,r,i,c,u="Pipelines",a=(0,V.kE)("".concat(u,"_overview_dashboard_").concat((0,V.Lo)())),l="Trigger active status",d=(0,V.kE)("".concat(l,"_overview_dashboard_").concat((0,V.Lo)())),s="Pipeline run status",p=(0,V.kE)("".concat(s,"_overview_dashboard_").concat((0,V.Lo)())),f="Pipeline runs daily",h=(0,V.kE)("".concat(f,"_overview_dashboard_").concat((0,V.Lo)())),b="Completed pipeline runs daily",g=(0,V.kE)("".concat(b,"_overview_dashboard_").concat((0,V.Lo)())),m="Failed pipeline runs daily",y=(0,V.kE)("".concat(m,"_overview_dashboard_").concat((0,V.Lo)())),v="Running pipelines",x=(0,V.kE)("".concat(v,"_overview_dashboard_").concat((0,V.Lo)())),j={type:Ze.XO.PIPELINE_SCHEDULES},Z={type:Ze.XO.PIPELINE_RUNS},O={configuration:(e={},(0,o.Z)(e,ve.eN,["execution_date"]),(0,o.Z)(e,ve.bE,[{aggregation:ve.os.COUNT_DISTINCT,column:"id"}]),(0,o.Z)(e,ve.Yg,ve.aE.DAY),(0,o.Z)(e,"chart_type",ve.oV.TIME_SERIES_LINE_CHART),e),data_source:Z,type:je.tf.CHART};return{blocks:(c={},(0,o.Z)(c,a,{configuration:(n={},(0,o.Z)(n,ve.eN,["type"]),(0,o.Z)(n,ve.bE,[{aggregation:ve.os.COUNT_DISTINCT,column:"uuid"}]),(0,o.Z)(n,ve.$1,ve.MP.DESCENDING),(0,o.Z)(n,"chart_style",ve.JT.HORIZONTAL),(0,o.Z)(n,"chart_type",ve.oV.BAR_CHART),n),data_source:{type:Ze.XO.PIPELINES},name:u,type:je.tf.CHART,uuid:a}),(0,o.Z)(c,d,{configuration:(t={},(0,o.Z)(t,ve.eN,["status"]),(0,o.Z)(t,ve.bE,[{aggregation:ve.os.COUNT_DISTINCT,column:"id"}]),(0,o.Z)(t,ve.$1,ve.MP.DESCENDING),(0,o.Z)(t,"chart_type",ve.oV.BAR_CHART),t),data_source:j,name:l,type:je.tf.CHART,uuid:d}),(0,o.Z)(c,p,{configuration:(r={},(0,o.Z)(r,ve.eN,["status"]),(0,o.Z)(r,ve.bE,[{aggregation:ve.os.COUNT_DISTINCT,column:"id"}]),(0,o.Z)(r,ve.$1,ve.MP.DESCENDING),(0,o.Z)(r,"chart_style",ve.JT.HORIZONTAL),(0,o.Z)(r,"chart_type",ve.oV.BAR_CHART),r),data_source:Z,name:s,type:je.tf.CHART,uuid:p}),(0,o.Z)(c,h,Ae(Ae({},O),{},{name:f,uuid:h})),(0,o.Z)(c,g,Ae(Ae({},O),{},{content:"\n@data_source\ndef d(df):\n return df[df['status'] == '".concat(Y.V.COMPLETED,"']\n"),name:b,uuid:g})),(0,o.Z)(c,y,Ae(Ae({},O),{},{content:"\n@data_source\ndef d(df):\n return df[df['status'] == '".concat(Y.V.FAILED,"']\n"),name:m,uuid:y})),(0,o.Z)(c,x,{configuration:(i={},(0,o.Z)(i,ve.eN,["backfill_id","completed_at","created_at","execution_date","executor_type","id","pipeline_schedule_id","pipeline_uuid","started_at","status"]),(0,o.Z)(i,"chart_type",ve.oV.TABLE),i),content:"\n@data_source\ndef d(df):\n return df[df['status'] == '".concat(Y.V.RUNNING,"']\n"),data_source:Z,name:v,type:je.tf.CHART,uuid:x}),c),layout:[[{block_uuid:a,width:1},{block_uuid:d,width:1}],[{block_uuid:p,width:1},{block_uuid:h,width:2}],[{block_uuid:g,width:1},{block_uuid:y,width:1}],[{block_uuid:x,width:1}]]}}),[]);return(0,L.jsxs)(v.Z,{errors:S,setErrors:R,title:"Overview",uuid:"overview/index",children:[(0,L.jsx)($.Z,{backgroundColor:k.Z.background.panel,ref:r,children:(0,L.jsx)(P.Z,{py:2,children:(0,L.jsxs)(x.ZP,{alignItems:"center",children:[(0,L.jsx)(P.Z,{ml:3,children:gn}),(0,L.jsx)(y.Z,{onClickTab:function(e){var n=e.uuid;(0,Le.u7)((0,o.Z)({},le.i,n),{replaceParams:!0})},regularSizeText:!0,selectedTabUUID:B,tabs:A})]})})}),Ee.uuid===(null===w||void 0===w?void 0:w.uuid)&&(0,L.jsx)(g.Z,{leftOffset:9*I.iI,pageBlockLayoutTemplate:yn,topOffset:Pe.Mz+(null===r||void 0===r||null===(n=r.current)||void 0===n||null===(t=n.getBoundingClientRect())||void 0===t?void 0:t.height),uuid:"overview/dashboard"}),Ee.uuid!==(null===w||void 0===w?void 0:w.uuid)&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(P.Z,{mx:3,my:2,children:[(0,L.jsxs)(j.Z,{level:4,children:[B===de.vk.TODAY&&"".concat((0,V.kC)(de.vk.TODAY)," (UTC): ").concat(ze),B!==de.vk.TODAY&&"".concat((0,V.kC)(de.s8[B])," (UTC): ").concat(ze)]}),(0,L.jsx)(P.Z,{mt:2,children:ie?(0,L.jsx)(P.Z,{mx:2,my:11,children:(0,L.jsx)(re.Z,{inverted:!0})}):(0,L.jsx)(J,{pipelineRunCountByPipelineType:Fe})}),(0,L.jsxs)(P.Z,{mt:2,children:[(0,L.jsx)(P.Z,{ml:2,children:(0,L.jsxs)(x.ZP,{alignItems:"center",children:[(0,L.jsxs)(_.ZP,{bold:!0,large:!0,children:[ie?"--":(0,q.uf)(Ve)," total pipeline runs"]}),mn]})}),(0,L.jsx)(P.Z,{mt:1,children:(0,L.jsx)(b.Z,{backgroundColor:k.Z.background.panel,colors:xe.NU,data:qe,getXValue:function(e){return e.date},height:200,keys:xe.hu,margin:{bottom:30,left:35,right:0,top:10},tooltipLeftOffset:xe.CD,xLabelFormat:function(e){return p()(e).format("MMM DD")}})})]})]}),(0,L.jsx)(P.Z,Ae(Ae({},He),{},{children:(0,L.jsxs)(x.ZP,{alignItems:"center",justifyContent:"center",children:[(0,L.jsx)(ge,{pipelineRuns:ue,pipelineType:H.LM}),(0,L.jsx)(P.Z,{ml:2}),(0,L.jsx)(ge,{pipelineRuns:be,pipelineType:H.qL.PYTHON})]})})),(0,L.jsx)(P.Z,Ae(Ae({},He),{},{children:(0,L.jsxs)(x.ZP,{alignItems:"center",justifyContent:"center",children:[(0,L.jsx)(ge,{pipelineRuns:fe,pipelineType:H.qL.INTEGRATION}),(0,L.jsx)(P.Z,{ml:2}),(0,L.jsx)(ge,{pipelineRuns:Ie,pipelineType:H.qL.STREAMING})]})})),(0,L.jsx)(P.Z,{mb:2})]})]})}Ye.getInitialProps=(0,r.Z)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)})));var Fe=(0,ne.Z)(Ye)},48277:function(e,n,t){"use strict";t.d(n,{$P:function(){return l},JI:function(){return o},VJ:function(){return a},fD:function(){return c},uf:function(){return i},vN:function(){return u}});var r=t(75582),i=function(e){var n=String(e).split("."),t=(0,r.Z)(n,2),i=t[0],o=t[1];return"".concat(i.replace(/\B(?=(\d{3})+(?!\d))/g,",")).concat(o?".".concat(o):"")};function o(e){var n=Math.floor(Date.now()/1e3);return e>0?n-e:n}function c(e){return(e>>>0).toString(2)}function u(e,n){return String(BigInt(e)+BigInt(n))}function a(e,n){return String(BigInt(e)-BigInt(n))}function l(e){return parseInt(e,2)}},56655:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/overview",function(){return t(98941)}])}},function(e){e.O(0,[2678,3662,1154,844,5820,6639,1124,341,1751,5896,2714,1821,2631,4783,4267,6990,8487,8264,7858,5499,4366,4138,5810,1769,1550,90,9264,976,9440,1952,9774,2888,179],(function(){return n=56655,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1009],{94629:function(e,n,t){"use strict";t.d(n,{Z:function(){return k}});var r=t(82394),i=t(21831),o=t(82684),u=t(50724),c=t(82555),l=t(97618),a=t(70613),s=t(68487),d=t(68899),f=t(28598);function p(e,n){var t=e.children,r=e.noPadding;return(0,f.jsx)(d.HS,{noPadding:r,ref:n,children:t})}var b=o.forwardRef(p),h=t(62547),v=t(82571),g=t(35686),j=t(98464),O=t(46684),m=t(70515),P=t(53808),y=t(19183);function x(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Z(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?x(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):x(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function w(e,n){var t,r=e.addProjectBreadcrumbToCustomBreadcrumbs,p=e.after,x=e.afterHeader,w=e.afterHidden,k=e.afterWidth,_=e.afterWidthOverride,C=e.appendBreadcrumbs,E=e.before,M=e.beforeWidth,D=e.breadcrumbs,I=e.children,S=e.errors,A=e.headerMenuItems,B=e.headerOffset,H=e.hideAfterCompletely,N=e.mainContainerHeader,R=e.navigationItems,T=e.setAfterHidden,F=e.setErrors,z=e.subheaderChildren,L=e.subheaderNoPadding,U=e.title,W=e.uuid,V=(0,y.i)().width,Q="dashboard_after_width_".concat(W),q="dashboard_before_width_".concat(W),K=(0,o.useRef)(null),G=(0,o.useState)(_?k:(0,P.U2)(Q,k)),X=G[0],Y=G[1],$=(0,o.useState)(!1),J=$[0],ee=$[1],ne=(0,o.useState)(E?Math.max((0,P.U2)(q,M),13*m.iI):null),te=ne[0],re=ne[1],ie=(0,o.useState)(!1),oe=ie[0],ue=ie[1],ce=(0,o.useState)(null)[1],le=g.ZP.projects.list({},{revalidateOnFocus:!1}).data,ae=null===le||void 0===le?void 0:le.projects,se={label:function(){var e;return null===ae||void 0===ae||null===(e=ae[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},de=[];D&&(r&&de.push(se),de.push.apply(de,(0,i.Z)(D))),(null===D||void 0===D||!D.length||C)&&(null===ae||void 0===ae?void 0:ae.length)>=1&&(null!==D&&void 0!==D&&D.length||de.unshift({bold:!C,label:function(){return U}}),de.unshift(se)),(0,o.useEffect)((function(){null===K||void 0===K||!K.current||J||oe||null===ce||void 0===ce||ce(K.current.getBoundingClientRect().width)}),[J,X,oe,te,K,ce,V]),(0,o.useEffect)((function(){J||(0,P.t8)(Q,X)}),[w,J,X,Q]),(0,o.useEffect)((function(){oe||(0,P.t8)(q,te)}),[oe,te,q]);var fe=(0,j.Z)(k);return(0,o.useEffect)((function(){_&&fe!==k&&Y(k)}),[_,k,fe]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(a.Z,{title:U}),(0,f.jsx)(s.Z,{breadcrumbs:de,menuItems:A,project:null===ae||void 0===ae?void 0:ae[0],version:null===ae||void 0===ae||null===(t=ae[0])||void 0===t?void 0:t.version}),(0,f.jsxs)(d.Nk,{ref:n,children:[0!==(null===R||void 0===R?void 0:R.length)&&(0,f.jsx)(d.lm,{showMore:!0,children:(0,f.jsx)(v.Z,{navigationItems:R,showMore:!0})}),(0,f.jsx)(l.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(h.Z,{after:p,afterHeader:x,afterHeightOffset:O.Mz,afterHidden:w,afterMousedownActive:J,afterWidth:X,before:E,beforeHeightOffset:O.Mz,beforeMousedownActive:oe,beforeWidth:d.k1+(E?te:0),headerOffset:B,hideAfterCompletely:!T||H,leftOffset:E?d.k1:null,mainContainerHeader:N,mainContainerRef:K,setAfterHidden:T,setAfterMousedownActive:ee,setAfterWidth:Y,setBeforeMousedownActive:ue,setBeforeWidth:re,children:[z&&(0,f.jsx)(b,{noPadding:L,children:z}),I]})})]}),S&&(0,f.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===F||void 0===F?void 0:F(null)},children:(0,f.jsx)(c.Z,Z(Z({},S),{},{onClose:function(){return null===F||void 0===F?void 0:F(null)}}))})]})}var k=o.forwardRef(w)},55072:function(e,n,t){"use strict";t.d(n,{Et:function(){return f},Q:function(){return d}});t(82684);var r=t(71180),i=t(55485),o=t(38276),u=t(31748),c=t(72473),l=t(79633),a=t(70515),s=t(28598),d=30,f=9;n.ZP=function(e){var n=e.page,t=e.maxPages,d=e.onUpdate,f=e.totalPages,p=[],b=t;if(b>f)p=Array.from({length:f},(function(e,n){return n}));else{var h=Math.floor(b/2),v=n-h;n+h>=f?(v=f-b+2,b-=2):n-h<=0?(v=0,b-=2):(b-=4,v=n-Math.floor(b/2)),p=Array.from({length:b},(function(e,n){return n+v}))}return(0,s.jsx)(s.Fragment,{children:f>0&&(0,s.jsxs)(i.ZP,{alignItems:"center",children:[(0,s.jsx)(r.ZP,{disabled:0===n,onClick:function(){return d(n-1)},children:(0,s.jsx)(c.Hd,{size:1.5*a.iI,stroke:u.Av})}),!p.includes(0)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{borderLess:!0,noBackground:!0,onClick:function(){return d(0)},children:1})},0),!p.includes(1)&&(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{noBackground:!0,noPadding:!0,notClickable:!0,children:"..."})},0)]}),p.map((function(e){return(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{backgroundColor:e===n&&l.a$,borderLess:!0,noBackground:!0,notClickable:e===n,onClick:function(){e!==n&&d(e)},children:e+1})},e)})),!p.includes(f-1)&&(0,s.jsxs)(s.Fragment,{children:[!p.includes(f-2)&&(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{noBackground:!0,noPadding:!0,notClickable:!0,children:"..."})},0),(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{borderLess:!0,noBackground:!0,onClick:function(){return d(f-1)},children:f})},f-1)]}),(0,s.jsx)(o.Z,{ml:1}),(0,s.jsx)(r.ZP,{disabled:n===f-1,onClick:function(){return d(n+1)},children:(0,s.jsx)(c.Kw,{size:1.5*a.iI,stroke:u.Av})})]})})}},79757:function(e,n,t){"use strict";var r=t(82394),i=t(26304),o=(t(82684),t(38626)),u=t(44897),c=t(42631),l=t(95363),a=t(70515),s=t(61896),d=t(28598),f=["children"];function p(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function b(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h=o.default.p.withConfig({displayName:"Badge__BadgeStyle",componentId:"sc-tfqsp0-0"})(["border-radius:","px;display:inline;font-family:",";margin:0;white-space:nowrap;",";"," "," ",";",";"," "," "," "," "," "," "," ",""],c.BG,l.ry,s.iD,(function(e){return e.small&&"\n ".concat(s.HC,";\n ")}),(function(e){return e.xxsmall&&"\n font-size: ".concat(s.VK,"px;\n line-height: ").concat(s.VK,"px;\n ")}),(function(e){return!e.regular&&"\n padding: 2px 4px;\n "}),(function(e){return e.regular&&"\n padding: ".concat(1*a.iI,"px ").concat(1.25*a.iI,"px;\n ")}),(function(e){return e.noVerticalPadding&&"\n padding-bottom: 0;\n padding-top: 0;\n "}),(function(e){return!e.disabled&&!e.inverted&&"\n background-color: ".concat((e.theme||u.Z).background.row,";\n color: ").concat((e.theme||u.Z).content.default,";\n ")}),(function(e){return!e.disabled&&e.inverted&&"\n background-color: ".concat((e.theme||u.Z).background.dark,";\n color: ").concat((e.theme||u.Z).content.inverted,";\n ")}),(function(e){return e.cyan&&"\n background-color: ".concat((e.theme||u.Z).accent.cyan,";\n color: ").concat((e.theme||u.Z).monotone.black,";\n ")}),(function(e){return e.disabled&&"\n background-color: ".concat((e.theme||u.Z).feature.disabled,";\n color: ").concat((e.theme||u.Z).content.disabled,";\n ")}),(function(e){return e.color&&"\n background-color: ".concat(e.color," !important;\n color: ").concat((e.theme||u.Z).content.active,";\n ")}),(function(e){return e.quantifier&&"\n border-radius: 34px;\n line-height: 10px;\n padding: 4px 6px;\n "}),(function(e){return e.monospace&&"\n font-family: ".concat(l.Vp,";\n word-break: break-all;\n ")}));n.Z=function(e){var n=e.children,t=(0,i.Z)(e,f);return(0,d.jsx)(h,b(b({},t),{},{children:n}))}},46732:function(e,n,t){"use strict";var r=t(82394),i=t(26304),o=(t(82684),t(50724)),u=t(70374),c=t(28598),l=["children","items","open","onClickCallback","onClickOutside","parentRef","uuid","zIndex"];function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.children,t=e.items,r=e.open,a=e.onClickCallback,d=e.onClickOutside,f=e.parentRef,p=e.uuid,b=e.zIndex,h=(0,i.Z)(e,l),v=(0,c.jsxs)("div",{style:{position:"relative",zIndex:(d?3:2)+(b||0)},children:[(0,c.jsx)("div",{ref:f,children:n}),(0,c.jsx)(u.Z,s(s({},h),{},{items:t,onClickCallback:a,open:r,parentRef:f,uuid:p}))]});return d?(0,c.jsx)(o.Z,{onClickOutside:d,open:!0,children:v}):v}},78234:function(e,n,t){"use strict";t.r(n);var r=t(77837),i=t(82394),o=t(38860),u=t.n(o),c=t(82684),l=t(34376),a=t(94629),s=t(55072),d=t(53943),f=t(93808),p=t(82359),b=t(38276),h=t(4190),v=t(85544),g=t(35686),j=t(44265),O=t(70515),m=t(69419),P=t(86735),y=t(70320),x=t(28598);function Z(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function w(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Z(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Z(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function k(){var e=(0,l.useRouter)(),n=(0,c.useState)(null),t=n[0],r=n[1],o=(0,m.iV)(),u=null!==o&&void 0!==o&&o.page?o.page:0,f=(0,m.DQ)(o,[j.P0.PIPELINE_UUID,j.P0.STATUS,j.P0.TAG]),Z=g.ZP.projects.list().data,k=(0,c.useMemo)((function(){var e;return null===Z||void 0===Z||null===(e=Z.projects)||void 0===e?void 0:e[0]}),[Z]),_=((0,c.useMemo)((function(){var e;return(0,y.hY)(null===k||void 0===k||null===(e=k.features)||void 0===e?void 0:e[p.d.LOCAL_TIMEZONE])}),[null===k||void 0===k?void 0:k.features]),w(w({},f),{},{_limit:s.Q,_offset:u*s.Q,disable_retries_grouping:!0,include_pipeline_tags:!0,include_pipeline_uuids:!0}));null!==o&&void 0!==o&&o.status&&(_.status=o.status);var C=g.ZP.pipeline_runs.list(_,{refreshInterval:3e3,revalidateOnFocus:!0}),E=C.data,M=C.mutate,D=g.ZP.tags.list().data,I=(0,c.useMemo)((function(){return(0,P.YC)((null===D||void 0===D?void 0:D.tags)||[],(function(e){return e.uuid}))}),[D]),S=(0,c.useMemo)((function(){return(null===E||void 0===E?void 0:E.pipeline_runs)||[]}),[E]),A=(0,c.useMemo)((function(){var e;return(null===E||void 0===E||null===(e=E.metadata)||void 0===e?void 0:e.count)||[]}),[E]),B=(0,c.useMemo)((function(){var e;return(null===E||void 0===E||null===(e=E.metadata)||void 0===e?void 0:e.pipeline_uuids)||[]}),[E]),H=(0,c.useMemo)((function(){return(0,x.jsx)(v.Z,{filterOptions:{pipeline_uuid:B,pipeline_tag:I.map((function(e){return e.uuid})),status:j.IK},filterValueLabelMapping:{pipeline_tag:I.reduce((function(e,n){var t=n.uuid;return w(w({},e),{},(0,i.Z)({},t,t))}),{}),status:j.Do},onClickFilterDefaults:function(){e.push("/pipeline-runs")},query:f,resetPageOnFilterApply:!0})}),[B,f,e,I]);return(0,x.jsx)(a.Z,{errors:t,setErrors:r,subheaderChildren:H,title:"Pipeline runs",uuid:"pipeline_runs/index",children:E?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(d.Z,{fetchPipelineRuns:M,includePipelineTags:!0,pipelineRuns:S,setErrors:r}),(0,x.jsx)(b.Z,{p:2,children:(0,x.jsx)(s.ZP,{maxPages:s.Et,onUpdate:function(n){var t=Number(n),r=w(w({},o),{},{page:t>=0?t:0});e.push("/pipeline-runs","/pipeline-runs?".concat((0,m.uM)(r)))},page:Number(u),totalPages:Math.ceil(A/s.Q)})})]}):(0,x.jsx)(b.Z,{p:O.Mq,children:(0,x.jsx)(h.Z,{inverted:!0,large:!0})})})}k.getInitialProps=(0,r.Z)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),n.default=(0,f.Z)(k)},60710:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pipeline-runs",function(){return t(78234)}])},80022:function(e,n,t){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},15544:function(e,n,t){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},13692:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(61049);function i(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&(0,r.Z)(e,n)}},93189:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(12539),i=t(80022);function o(e,n){if(n&&("object"===r(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},61049:function(e,n,t){"use strict";function r(e,n){return r=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},r(e,n)}t.d(n,{Z:function(){return r}})}},function(e){e.O(0,[2678,1154,844,4267,6990,8487,8264,7858,5499,3943,5544,9774,2888,179],(function(){return n=60710,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|