mage-ai 0.9.8__py3-none-any.whl → 0.9.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mage-ai might be problematic. Click here for more details.
- mage_ai/ai/constants.py +1 -0
- mage_ai/ai/generator.py +6 -0
- mage_ai/ai/{gen_doc_for_pipeline.py → generator_cmds.py} +5 -0
- mage_ai/ai/llm_pipeline_wizard.py +108 -3
- mage_ai/api/policies/BlockPolicy.py +1 -0
- mage_ai/api/policies/BlockTemplatePolicy.py +9 -0
- mage_ai/api/policies/LlmPolicy.py +3 -2
- mage_ai/api/policies/OauthAccessTokenPolicy.py +31 -0
- mage_ai/api/policies/PipelinePolicy.py +1 -0
- mage_ai/api/policies/ProjectPolicy.py +9 -0
- mage_ai/api/policies/SearchResultPolicy.py +32 -0
- mage_ai/api/policies/VariablePolicy.py +8 -0
- mage_ai/api/presenters/BlockTemplatePresenter.py +1 -0
- mage_ai/api/presenters/OauthAccessTokenPresenter.py +9 -0
- mage_ai/api/presenters/ProjectPresenter.py +2 -0
- mage_ai/api/presenters/SearchResultPresenter.py +73 -0
- mage_ai/api/resources/BlockResource.py +43 -4
- mage_ai/api/resources/BlockTemplateResource.py +15 -2
- mage_ai/api/resources/CustomTemplateResource.py +15 -3
- mage_ai/api/resources/FileContentResource.py +8 -1
- mage_ai/api/resources/FileResource.py +22 -2
- mage_ai/api/resources/OauthAccessTokenResource.py +24 -0
- mage_ai/api/resources/PipelineResource.py +70 -2
- mage_ai/api/resources/ProjectResource.py +15 -1
- mage_ai/api/resources/SearchResultResource.py +68 -0
- mage_ai/api/resources/VariableResource.py +25 -14
- mage_ai/cache/base.py +3 -0
- mage_ai/cache/block_action_object/__init__.py +282 -0
- mage_ai/cache/block_action_object/constants.py +4 -0
- mage_ai/cache/constants.py +1 -0
- mage_ai/data_integrations/destinations/constants.py +2 -0
- mage_ai/data_preparation/executors/k8s_pipeline_executor.py +1 -1
- mage_ai/data_preparation/models/block/__init__.py +20 -1
- mage_ai/data_preparation/models/block/dbt/utils/__init__.py +1 -0
- mage_ai/data_preparation/models/custom_templates/custom_block_template.py +8 -3
- mage_ai/data_preparation/models/custom_templates/utils.py +6 -3
- mage_ai/data_preparation/models/file.py +3 -0
- mage_ai/data_preparation/models/pipeline.py +10 -1
- mage_ai/data_preparation/models/{project.py → project/__init__.py} +17 -0
- mage_ai/data_preparation/models/project/constants.py +5 -0
- mage_ai/data_preparation/repo_manager.py +9 -6
- mage_ai/data_preparation/templates/constants.py +478 -1
- mage_ai/data_preparation/templates/template.py +9 -1
- mage_ai/orchestration/db/__init__.py +25 -0
- mage_ai/orchestration/pipeline_scheduler.py +23 -0
- mage_ai/server/constants.py +1 -1
- mage_ai/server/frontend_dist/404.html +2 -2
- mage_ai/server/frontend_dist/404.html.html +2 -2
- mage_ai/server/frontend_dist/_next/static/OwvTROmputQCA1Z9HEGDv/_buildManifest.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{1005-ce36fe7ed460d006.js → 1005-16c1a6678de5311e.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1424-e22139f33196c5c1.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/1484-a76b2c31e4808379.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/2485-b569baad92049d6b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{2786-d8b593e5d7c42665.js → 2786-acce6ea0d9b4898e.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3654-573457b62efff6e2.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3881-0eb04f7f7a244347.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{4317-b112fe7bb532b998.js → 4317-3fe63fc9401685d6.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{4822-52d9d661b6bd1ae9.js → 4822-045cc7cdd7c95163.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{547-14029bdacc0ed267.js → 547-4ad2cdae967055b6.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6299-cf188c1b7a1bc33c.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{7815-6dc55b5fd5d1f48a.js → 7815-fbd99c8f259d9e8b.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{8312-cdc4d6c3b9f53099.js → 8312-c88a3b1012e5448b.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{8952-492bf0e29d215ddd.js → 8952-e94a7334fcd5c68b.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9055-d0d25298cb5f4e45.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{_app-c7557dc9e725825e.js → _app-fa38a24707c76411.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/files-b9dac983c75798f2.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/{settings-17bb362b9683079c.js → settings-453aaa7bf78f8101.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/{[user]-bfa53c0ee79920a0.js → [user]-3b502aa6d1a04cad.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/{new-2f7e6bf8e2a37380.js → new-dd41d718cbb5990c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-ec748f838b7b8fad.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-bcc24120f5911f76.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{overview-8ffbc4b0e8a43266.js → overview-6f20b9e9cbec91d6.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/{[...slug]-373f6b8c9161e819.js → [...slug]-55212dfc15881ef2.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{backfills-226bf0c5c1bfe004.js → backfills-6b4a82cd0516e121.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-0705c99df236ec8a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{logs-4ade07836fd577c9.js → logs-c294f5d74bd2d50f.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{monitors-fd9eb711e89425e9.js → monitors-1b9e4abc54842cdf.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{runs-027666ed18d3151e.js → runs-17ebe87e94242ae5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-48b60ca236a26818.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{syncs-de58e6b91e5e4552.js → syncs-5153f4665aaf8b17.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/{[...slug]-432843576e1ed09e.js → [...slug]-1306e85191f6b47c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{triggers-ae31b1d0d8a4634d.js → triggers-2e731d343a26d46a.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-0fab737dbc9074fc.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-b2354688508b0755.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{users-a4f01b5c429757cc.js → users-6522c963087f18e8.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{sign-in-1140f8ee7e89381a.js → sign-in-7dcd1257ca9660bb.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/templates/{[...slug]-f59b3f04c5a49351.js → [...slug]-78a07e7fe8973811.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{templates-dbb209ce131390a9.js → templates-19df643f52679d5a.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-a1cf445565b68809.js +1 -0
- mage_ai/server/frontend_dist/files.html +2 -2
- mage_ai/server/frontend_dist/index.html +2 -2
- mage_ai/server/frontend_dist/manage/settings.html +2 -2
- mage_ai/server/frontend_dist/manage/users/[user].html +2 -2
- mage_ai/server/frontend_dist/manage/users/new.html +2 -2
- mage_ai/server/frontend_dist/manage/users.html +2 -2
- mage_ai/server/frontend_dist/manage.html +2 -2
- mage_ai/server/frontend_dist/overview.html +2 -2
- mage_ai/server/frontend_dist/pipeline-runs.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/settings.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline].html +2 -2
- mage_ai/server/frontend_dist/pipelines.html +2 -2
- mage_ai/server/frontend_dist/settings/account/profile.html +2 -2
- mage_ai/server/frontend_dist/settings/workspace/preferences.html +2 -2
- mage_ai/server/frontend_dist/settings/workspace/sync-data.html +2 -2
- mage_ai/server/frontend_dist/settings/workspace/users.html +2 -2
- mage_ai/server/frontend_dist/settings.html +2 -2
- mage_ai/server/frontend_dist/sign-in.html +16 -16
- mage_ai/server/frontend_dist/templates/[...slug].html +2 -2
- mage_ai/server/frontend_dist/templates.html +2 -2
- mage_ai/server/frontend_dist/terminal.html +2 -2
- mage_ai/server/frontend_dist/test.html +2 -2
- mage_ai/server/frontend_dist/triggers.html +2 -2
- mage_ai/server/frontend_dist/version-control.html +2 -2
- mage_ai/server/server.py +5 -0
- mage_ai/services/search/__init__.py +0 -0
- mage_ai/services/search/block_action_objects.py +33 -0
- mage_ai/services/search/constants.py +1 -0
- mage_ai/shared/array.py +7 -0
- mage_ai/shared/parsers.py +11 -2
- mage_ai/tests/shared/test_parsers.py +73 -0
- mage_ai/usage_statistics/constants.py +1 -0
- mage_ai/usage_statistics/logger.py +19 -1
- {mage_ai-0.9.8.dist-info → mage_ai-0.9.9.dist-info}/METADATA +9 -7
- {mage_ai-0.9.8.dist-info → mage_ai-0.9.9.dist-info}/RECORD +142 -129
- mage_ai/server/frontend_dist/_next/static/RcIgkp9pBXE1Rb4tOGR1L/_buildManifest.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1424-de97c5aa0477894b.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1484-c9d6bc33227070dd.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2485-86c97f516c1abb9f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3215-c2f5f19b650f9a50.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3654-bff4740b63cf280c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3881-7f121dbbe6e273cd.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6299-97f283be01adf6a8.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/files-0df5a20d6f1aa606.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-1f6cb7656299cbd1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-4894eabb442a039c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-a9bd86bee73b5762.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-cf51793c2112915c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-f1131ffe0d2a4a06.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-170943ca00445486.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-2ecda1f1437013f2.js +0 -1
- /mage_ai/server/frontend_dist/_next/static/{RcIgkp9pBXE1Rb4tOGR1L → OwvTROmputQCA1Z9HEGDv}/_middlewareManifest.js +0 -0
- /mage_ai/server/frontend_dist/_next/static/{RcIgkp9pBXE1Rb4tOGR1L → OwvTROmputQCA1Z9HEGDv}/_ssgManifest.js +0 -0
- {mage_ai-0.9.8.dist-info → mage_ai-0.9.9.dist-info}/LICENSE +0 -0
- {mage_ai-0.9.8.dist-info → mage_ai-0.9.9.dist-info}/WHEEL +0 -0
- {mage_ai-0.9.8.dist-info → mage_ai-0.9.9.dist-info}/entry_points.txt +0 -0
- {mage_ai-0.9.8.dist-info → mage_ai-0.9.9.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-8f51011a10b384a1.js" defer=""></script><script src="/_next/static/chunks/framework-7c365855dab1bf41.js" defer=""></script><script src="/_next/static/chunks/main-bb0dd5375146d7fd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-8f51011a10b384a1.js" defer=""></script><script src="/_next/static/chunks/framework-7c365855dab1bf41.js" defer=""></script><script src="/_next/static/chunks/main-bb0dd5375146d7fd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-fa38a24707c76411.js" defer=""></script><script src="/_next/static/chunks/pages/_error-235304e5badb19eb.js" defer=""></script><script src="/_next/static/OwvTROmputQCA1Z9HEGDv/_buildManifest.js" defer=""></script><script src="/_next/static/OwvTROmputQCA1Z9HEGDv/_ssgManifest.js" defer=""></script><script src="/_next/static/OwvTROmputQCA1Z9HEGDv/_middlewareManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.6">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
|
|
2
2
|
*,*::before,*::after{-webkit-box-sizing:inherit;box-sizing:inherit;}/*!sc*/
|
|
3
3
|
data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
|
|
4
4
|
.kOVcuR .Toastify__toast-container{margin-top:24px;padding:0 !important;width:500px !important;}/*!sc*/
|
|
@@ -19,4 +19,4 @@ data-styled.g5[id="ToastWrapper-sc-1a33ph1-0"]{content:"kOVcuR,"}/*!sc*/
|
|
|
19
19
|
.next-error-h1 {
|
|
20
20
|
border-right: 1px solid rgba(255, 255, 255, .3);
|
|
21
21
|
}
|
|
22
|
-
}</style><h1 class="next-error-h1" style="display:inline-block;margin:0;margin-right:20px;padding:10px 23px 10px 0;font-size:24px;font-weight:500;vertical-align:top">404<!-- --></h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:inherit;margin:0;padding:0">This page could not be found<!-- -->.<!-- --></h2></div></div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#2E3036","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(106, 117, 139, 0.4)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/_error","query":{},"buildId":"
|
|
22
|
+
}</style><h1 class="next-error-h1" style="display:inline-block;margin:0;margin-right:20px;padding:10px 23px 10px 0;font-size:24px;font-weight:500;vertical-align:top">404<!-- --></h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:inherit;margin:0;padding:0">This page could not be found<!-- -->.<!-- --></h2></div></div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#2E3036","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(106, 117, 139, 0.4)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/_error","query":{},"buildId":"OwvTROmputQCA1Z9HEGDv","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
self.__BUILD_MANIFEST=function(s,e,i,n,c,t,a,p,l,u,r,g,d,k,f,b,h,j,o,m,_,w,E,O,v,A,B,L,D,T,y,C,I){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/datasets",destination:B},{source:"/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_",destination:B}],fallback:[]},"/":["static/chunks/pages/index-32917acd76697307.js"],"/_error":["static/chunks/pages/_error-235304e5badb19eb.js"],"/files":[s,n,g,_,"static/chunks/5643-1f8a6d8a392fe96b.js",e,i,c,t,d,v,"static/chunks/pages/files-b9dac983c75798f2.js"],"/manage":[s,n,g,e,i,c,d,"static/chunks/pages/manage-bcc24120f5911f76.js"],"/manage/settings":[s,n,g,"static/chunks/4398-5d5c07021ccd37b8.js",e,i,d,"static/chunks/pages/manage/settings-453aaa7bf78f8101.js"],"/manage/users":[s,e,i,c,"static/chunks/pages/manage/users-ec748f838b7b8fad.js"],"/manage/users/new":[s,e,i,w,"static/chunks/pages/manage/users/new-dd41d718cbb5990c.js"],"/manage/users/[user]":[s,e,i,c,w,"static/chunks/pages/manage/users/[user]-3b502aa6d1a04cad.js"],"/overview":[s,n,p,l,r,g,k,b,h,j,e,i,c,t,u,d,f,o,E,L,"static/chunks/pages/overview-6f20b9e9cbec91d6.js"],"/pipeline-runs":[s,n,e,i,c,O,"static/chunks/pages/pipeline-runs-14d37c2c2ea9e9a2.js"],"/pipelines":[s,n,p,l,r,g,k,h,e,i,c,t,u,d,f,o,E,"static/chunks/pages/pipelines-0fab737dbc9074fc.js"],"/pipelines/[pipeline]":["static/chunks/pages/pipelines/[pipeline]-ca9457e1a6bced4b.js"],"/pipelines/[pipeline]/backfills":[s,n,e,i,c,a,"static/chunks/pages/pipelines/[pipeline]/backfills-6b4a82cd0516e121.js"],"/pipelines/[pipeline]/backfills/[...slug]":[s,n,p,l,r,m,A,e,i,c,t,a,u,O,"static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-55212dfc15881ef2.js"],"/pipelines/[pipeline]/edit":[D,s,n,p,l,r,g,k,b,m,h,j,_,T,"static/chunks/2991-d0b13a172f9c1dcd.js",e,i,c,t,u,d,f,o,E,v,y,"static/chunks/pages/pipelines/[pipeline]/edit-0705c99df236ec8a.js"],"/pipelines/[pipeline]/logs":[s,n,p,k,A,e,i,c,t,a,f,"static/chunks/pages/pipelines/[pipeline]/logs-c294f5d74bd2d50f.js"],"/pipelines/[pipeline]/monitors":[s,n,b,j,"static/chunks/2834-d2a1c03968995e8e.js",e,i,a,L,"static/chunks/pages/pipelines/[pipeline]/monitors-1b9e4abc54842cdf.js"],"/pipelines/[pipeline]/monitors/block-runs":[s,n,b,j,"static/chunks/9404-1fb0792716d46efc.js",e,i,t,a,"static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-489d02937d5f4695.js"],"/pipelines/[pipeline]/monitors/block-runtime":[D,s,n,b,j,"static/chunks/9464-84f4879568c00a93.js",e,i,t,a,"static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-6bec539394ac7514.js"],"/pipelines/[pipeline]/runs":[s,n,p,l,r,m,e,i,c,t,a,u,O,C,"static/chunks/pages/pipelines/[pipeline]/runs-17ebe87e94242ae5.js"],"/pipelines/[pipeline]/runs/[run]":[s,n,p,l,r,k,b,m,T,e,i,c,t,a,u,f,y,C,"static/chunks/pages/pipelines/[pipeline]/runs/[run]-f1ef481c7beb8aef.js"],"/pipelines/[pipeline]/settings":[s,n,e,i,a,"static/chunks/pages/pipelines/[pipeline]/settings-48b60ca236a26818.js"],"/pipelines/[pipeline]/syncs":[s,n,e,i,c,a,"static/chunks/pages/pipelines/[pipeline]/syncs-5153f4665aaf8b17.js"],"/pipelines/[pipeline]/triggers":[s,n,p,l,e,i,c,t,a,u,I,"static/chunks/pages/pipelines/[pipeline]/triggers-2e731d343a26d46a.js"],"/pipelines/[pipeline]/triggers/[...slug]":[s,n,p,l,r,m,A,e,i,c,t,a,u,O,"static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-1306e85191f6b47c.js"],"/settings":["static/chunks/pages/settings-d594a66a568306da.js"],"/settings/account/profile":[s,e,i,w,"static/chunks/pages/settings/account/profile-d2224a447987fa69.js"],"/settings/workspace/preferences":[s,e,i,"static/chunks/pages/settings/workspace/preferences-b2354688508b0755.js"],"/settings/workspace/sync-data":[s,e,i,"static/chunks/pages/settings/workspace/sync-data-dd827816bf4a7908.js"],"/settings/workspace/users":[s,e,i,c,w,"static/chunks/pages/settings/workspace/users-6522c963087f18e8.js"],"/sign-in":[s,e,"static/chunks/pages/sign-in-7dcd1257ca9660bb.js"],"/templates":[s,n,p,l,r,g,k,h,e,i,c,t,u,d,f,o,E,"static/chunks/pages/templates-19df643f52679d5a.js"],"/templates/[...slug]":[s,n,p,l,r,g,k,h,e,i,c,t,u,d,f,o,"static/chunks/pages/templates/[...slug]-78a07e7fe8973811.js"],"/terminal":[s,e,i,"static/chunks/pages/terminal-d483cf913167fd8d.js"],"/test":[_,"static/chunks/pages/test-b24d77dc84843924.js"],"/triggers":[s,e,i,c,I,"static/chunks/pages/triggers-ecf780af6044e77e.js"],"/version-control":[s,n,_,"static/chunks/7768-2325216ed654ad05.js",e,i,c,t,v,"static/chunks/pages/version-control-a1cf445565b68809.js"],sortedPages:["/","/_app","/_error","/files","/manage","/manage/settings","/manage/users","/manage/users/new","/manage/users/[user]","/overview","/pipeline-runs","/pipelines","/pipelines/[pipeline]","/pipelines/[pipeline]/backfills","/pipelines/[pipeline]/backfills/[...slug]","/pipelines/[pipeline]/edit","/pipelines/[pipeline]/logs","/pipelines/[pipeline]/monitors","/pipelines/[pipeline]/monitors/block-runs","/pipelines/[pipeline]/monitors/block-runtime","/pipelines/[pipeline]/runs","/pipelines/[pipeline]/runs/[run]","/pipelines/[pipeline]/settings","/pipelines/[pipeline]/syncs","/pipelines/[pipeline]/triggers","/pipelines/[pipeline]/triggers/[...slug]","/settings","/settings/account/profile","/settings/workspace/preferences","/settings/workspace/sync-data","/settings/workspace/users","/sign-in","/templates","/templates/[...slug]","/terminal","/test","/triggers","/version-control"]}}("static/chunks/844-1e171f361e63b36d.js","static/chunks/1424-e22139f33196c5c1.js","static/chunks/1005-16c1a6678de5311e.js","static/chunks/9902-b7981346a40ecdc3.js","static/chunks/7815-fbd99c8f259d9e8b.js","static/chunks/3654-573457b62efff6e2.js","static/chunks/547-4ad2cdae967055b6.js","static/chunks/426-df62b0bd693bbb87.js","static/chunks/1774-aa51ef1da7217ff9.js","static/chunks/8952-e94a7334fcd5c68b.js","static/chunks/8792-10e45963e2486454.js","static/chunks/8789-4f858e520d46973b.js","static/chunks/7722-a74e6f977993e75e.js","static/chunks/4259-b71c17f69499f7bd.js","static/chunks/4822-045cc7cdd7c95163.js","static/chunks/5896-42c94d54cd2c5706.js","static/chunks/9055-d0d25298cb5f4e45.js","static/chunks/2714-1e79e9f2e998b544.js","static/chunks/1484-a76b2c31e4808379.js","static/chunks/7849-dc70fad5f838d909.js","static/chunks/7011-81dd8269c4806d26.js","static/chunks/3881-0eb04f7f7a244347.js","static/chunks/2485-b569baad92049d6b.js","static/chunks/8312-c88a3b1012e5448b.js","static/chunks/6299-cf188c1b7a1bc33c.js","static/chunks/4495-4f0340aa82e0c623.js","/datasets","static/chunks/6786-4209f6577f9d4c91.js","static/chunks/29107295-989a0767a635d9d5.js","static/chunks/5872-1767c45ee6690ae5.js","static/chunks/437-89b2e8ea46a3cec4.js","static/chunks/2786-acce6ea0d9b4898e.js","static/chunks/4317-3fe63fc9401685d6.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1005],{85019:function(e,n,t){var r=t(21831),i=t(82394),o=t(12691),c=t.n(o),d=t(82684),l=t(34376),a=t(57639),u=t(34744),s=t(93461),f=t(67971),h=t(882),p=t(11135),g=t(86673),m=t(19711),v=t(46261),b=t(10503),x=t(72454),y=t(99994),w=t(49125),j=t(28598);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 O(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,i.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 Z=3*w.iI,I=[{id:"main",items:[{Icon:b.G6,id:"overview",label:function(){return"Overview"},linkProps:{href:"/overview"}},{Icon:b.vd,id:"pipelines",label:function(){return"Pipelines"},linkProps:{href:"/pipelines"}},{Icon:b.Bf,id:"triggers",label:function(){return"Triggers"},linkProps:{href:"/triggers"}},{Icon:b.Pf,id:"pipeline-runs",label:function(){return"Pipelines runs"},linkProps:{href:"/pipeline-runs"}}]},{id:"misc",items:[{Icon:b.$l,id:"files",label:function(){return"Files"},linkProps:{href:"/files"}},{Icon:b.zQ,id:"templates",label:function(){return"Templates"},linkProps:{href:"/templates"}},{Icon:b.Pt,id:"version-control",label:function(){return"Version control"},linkProps:{href:"/version-control"}},{Icon:b.oI,id:"terminal",label:function(){return"Terminal"},linkProps:{href:"/terminal"}},{Icon:b.Zr,id:"settings",label:function(){return"Settings"},linkProps:{href:"/settings"}}]}];n.Z=function(e){var n=e.aligned,t=e.navigationItems,i=e.showMore,o=e.visible,b=(0,l.useRouter)().pathname,k=(0,d.useCallback)((function(e,t){var r,d,l,a=e.Icon,u=e.IconSelected,k=e.disabled,I=e.id,P=e.isSelected,C=e.label,_=e.linkProps,S=e.onClick,E=P?P(b,e):!!b.match(new RegExp("^/".concat(I,"[/]*"))),M=E&&u?u:a,N=null===C||void 0===C?void 0:C(),z={primary:!M,selected:i&&E,showMore:i,withGradient:u};E&&u?(d=(0,j.jsx)("div",{style:{height:Z,width:Z},children:(0,j.jsx)(M,{muted:!0,size:Z})}),(i||o)&&(d=(0,j.jsx)(x.E7,O(O({},z),{},{children:(0,j.jsx)(M,{muted:!0,size:Z})}))),r=(0,j.jsx)(h.Z,{backgroundGradient:y.yr,backgroundPanel:!0,basic:!0,borderWidth:2,disabled:k,linkProps:_,onClick:S,paddingUnits:1,children:d}),i&&(r=d)):(!E||E&&!u)&&(d=(0,j.jsx)(x.E7,O(O({},z),{},{children:M?(0,j.jsx)(M,{muted:!E,size:Z}):(0,j.jsx)(m.ZP,{children:"Edit"})})),r=(0,j.jsx)(p.ZP,{disabled:k,inline:!0,linkProps:_,noHoverUnderline:!0,noPadding:!0,onClick:S,primary:E,sameColorAsText:!0,uuid:"VerticalNavigation/".concat(I),children:d}),i&&(r=d)),l="right"===n?(0,j.jsxs)(f.Z,{alignItems:"center",fullWidth:!0,justifyContent:"flex-end",children:[(0,j.jsx)(s.Z,{flex:1,justifyContent:"flex-end",children:(0,j.jsx)(m.ZP,{noWrapping:!0,children:N})}),(0,j.jsx)(g.Z,{mr:2}),d]}):(0,j.jsxs)(f.Z,{alignItems:"center",children:[d,(0,j.jsx)(g.Z,{mr:2}),(0,j.jsx)(s.Z,{flex:1,children:(0,j.jsx)(m.ZP,{noWrapping:!0,children:N})})]});var B,D=(0,j.jsx)(x.J8,{href:"#",onClick:S,selected:E,children:l});return _&&(D=(0,j.jsx)(c(),O(O({},_),{},{passHref:!0,children:D}))),"right"===n&&(r=(0,j.jsx)(f.Z,{alignItems:"center",fullWidth:!0,justifyContent:"flex-end",children:r})),B=o?D:i?r:(0,j.jsx)(v.Z,{appearBefore:"right"===n,height:5*w.iI,label:N,size:null,widthFitContent:!0,children:r}),(0,j.jsx)(g.Z,{mt:i&&o?0:t>=1?w.cd:0,children:B},"button-".concat(I))}),[n,b,i,o]),P=(0,d.useMemo)((function(){var e=[];return(t||I).forEach((function(n,t){var i=n.id,c=n.items;(null===c||void 0===c?void 0:c.length)>=1?(t>=1&&e.push((0,j.jsx)(g.Z,{my:o?w.cd:w.cd+1,children:(0,j.jsx)(u.Z,{light:!0})},i)),e.push.apply(e,(0,r.Z)(c.map((function(e,n){return k(e,n)}))))):e.push(k(n,t))})),e}),[k,t,o]);return(0,j.jsx)(a.Z,{children:P})}},72454:function(e,n,t){t.d(n,{E7:function(){return b},HS:function(){return v},Hn:function(){return y},J8:function(){return x},Nk:function(){return p},k1:function(){return h},lm:function(){return m}});var r=t(82684),i=t(38626),o=t(86673),c=t(23831),d=t(73942),l=t(3055),a=t(49125),u=t(37391),s=t(90880),f=t(28598),h=a.cd*a.iI+5*a.iI+a.cd*a.iI+1,p=i.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-ecogjt-0"})(["display:flex;flex-direction:row;height:calc(100vh - ","px);position:fixed;top:","px;width:100%;",""],l.Mz,l.Mz,(function(e){return"\n background-color: ".concat((e.theme.background||c.Z.background).page,";\n ")})),g=i.default.div.withConfig({displayName:"indexstyle__VerticalNavigationStyleComponent",componentId:"sc-ecogjt-1"})(["height:100%;"," "," "," @keyframes animate-in{0%{width:","px;}100%{width:","px;}}"," ",""],(function(e){return"\n background-color: ".concat((e.theme.background||c.Z.background).panel,";\n ")}),(function(e){return!e.borderless&&"right"!==e.aligned&&"\n border-right: 1px solid ".concat((e.theme.borders||c.Z.borders).medium,";\n ")}),(function(e){return!e.borderless&&"right"===e.aligned&&"\n border-left: 1px solid ".concat((e.theme.borders||c.Z.borders).medium,";\n ")}),21*a.iI,34*a.iI,(function(e){return e.showMore&&e.visible&&"\n &:hover {\n animation: animate-in 100ms linear forwards;\n position: fixed;\n z-index: 100;\n }\n "}),(function(e){return e.showMore&&e.visible&&"right"===e.aligned&&"\n &:hover {\n right: 0;\n top: ".concat(l.Mz,"px;\n }\n ")}));function m(e){var n=e.aligned,t=e.borderless,i=e.children,c=e.showMore,d=(0,r.useRef)(null),l=(0,r.useState)(!1),u=l[0],s=l[1];return(0,f.jsx)(g,{aligned:n,borderless:t&&!u,onMouseEnter:c?function(){clearTimeout(d.current),d.current=setTimeout((function(){s(!0)}),300)}:null,onMouseLeave:c?function(){clearTimeout(d.current),s(!1)}:null,showMore:c,visible:u,children:(0,f.jsx)(o.Z,{px:c&&u?0:a.cd,py:c&&u?1:a.cd,children:r.cloneElement(i,{showMore:c,visible:u})})})}var v=i.default.div.withConfig({displayName:"indexstyle__SubheaderStyle",componentId:"sc-ecogjt-2"})(["padding:","px;position:sticky;top:0;width:100%;z-index:3;",""],a.cd*a.iI,(function(e){return"\n background-color: ".concat((e.theme.background||c.Z.background).page,";\n border-bottom: 1px solid ").concat((e.theme.borders||c.Z.borders).medium,";\n ")})),b=(i.default.div.withConfig({displayName:"indexstyle__ContentStyle",componentId:"sc-ecogjt-3"})([""," overflow:auto;",""],u.w5,(function(e){return"\n height: calc(100vh - ".concat(l.Mz+(e.heightOffset||0),"px);\n ")})),i.default.div.withConfig({displayName:"indexstyle__NavigationItemStyle",componentId:"sc-ecogjt-4"})(["align-items:center;border-radius:","px;display:flex;height:","px;justify-content:center;padding:","px;width:","px;"," "," "," ",""],d.n_,5*a.iI,a.iI,5*a.iI,(function(e){return e.primary&&"\n ".concat((0,s.eR)(),"\n background: ").concat((e.theme||c.Z).chart.backgroundPrimary,";\n border: 1px solid ").concat((e.theme||c.Z).feature.active,";\n\n &:hover {\n background-color: ").concat((e.theme||c.Z).interactive.linkSecondary,";\n }\n ")}),(function(e){return e.selected&&!e.withGradient&&"\n background-color: ".concat((e.theme.interactive||c.Z.interactive).linkPrimary,";\n ")}),(function(e){return e.selected&&e.withGradient&&"\n background-color: ".concat((e.theme.background||c.Z.background).codeTextarea,";\n ")}),(function(e){return!e.selected&&e.showMore&&"\n background-color: ".concat((e.theme.interactive||c.Z.interactive).defaultBackground,";\n ")}))),x=i.default.a.withConfig({displayName:"indexstyle__NavigationLinkStyle",componentId:"sc-ecogjt-5"})([""," display:block;padding:","px ","px;"," ",""],(0,s.eR)(),1*a.iI,a.iI*a.cd,(function(e){return!e.selected&&"\n &:hover {\n background-color: ".concat((e.theme.interactive||c.Z.interactive).hoverBackground,";\n }\n ")}),(function(e){return e.selected&&"\n background-color: ".concat((e.theme.interactive||c.Z.interactive).linkPrimaryHover,";\n ")})),y=i.default.div.withConfig({displayName:"indexstyle__ImageStyle",componentId:"sc-ecogjt-6"})(["background-position:0 0;background-repeat:no-repeat;background-size:contain;height:","px;width:","px;"," ",""],12*a.iI,12*a.iI,(function(e){return"\n background-image: url(".concat(e.imageUrl,");\n ")}),(function(e){return e.size&&"\n height: ".concat(e.size,"px;\n width: ").concat(e.size,"px;\n ")}))},82386:function(e,n,t){t.d(n,{E$:function(){return C},MK:function(){return b},MP:function(){return Z},Md:function(){return u},OM:function(){return m},Ru:function(){return I},S9:function(){return B},VW:function(){return h},W7:function(){return j},Wi:function(){return g},YJ:function(){return O},Zj:function(){return M},Zt:function(){return a},aH:function(){return E},bC:function(){return N},dN:function(){return s},ff:function(){return P},l8:function(){return p},lU:function(){return z},rS:function(){return S},uX:function(){return v},v7:function(){return _},ve:function(){return f},ym:function(){return k}});var r=t(38626),i=t(23831),o=t(73942),c=t(3055),d=t(49125),l=t(37391),a=64*d.iI,u=30*d.iI,s=21.25*d.iI,f=35*d.iI,h=.5*d.iI,p=13*d.iI,g=3*d.cd*d.iI,m=6*d.iI,v=2*d.cd*3*d.iI,b=(r.default.div.withConfig({displayName:"indexstyle__HeaderStyle",componentId:"sc-1lxpneo-0"})(["position:fixed;z-index:3;"," "," ",""],(function(e){return"\n border-bottom: 1px solid ".concat((e.theme.monotone||i.Z.monotone).grey200,";\n ")}),(function(e){return!e.beforeVisible&&"\n width: 100%;\n "}),(function(e){return e.beforeVisible&&"\n left: ".concat(f,"px;\n width: calc(100% - ").concat(f,"px);\n ")})),r.default.div.withConfig({displayName:"indexstyle__NewHeaderStyle",componentId:"sc-1lxpneo-1"})(["height:","px;position:fixed;top:0;width:100%;z-index:4;"],c.Mz)),x=(r.default.div.withConfig({displayName:"indexstyle__TabStyle",componentId:"sc-1lxpneo-2"})(["border-top-left-radius:","px;border-top-right-radius:","px;padding:","px ","px;position:relative;top:1px;"," "," ",""],o.n_,o.n_,1*d.iI,2*d.iI,(function(e){return"\n border-left: 1px solid ".concat((e.theme.monotone||i.Z.monotone).grey200,";\n border-right: 1px solid ").concat((e.theme.monotone||i.Z.monotone).grey200,";\n border-top: 1px solid ").concat((e.theme.monotone||i.Z.monotone).grey200,";\n ")}),(function(e){return!e.first&&"\n margin-left: ".concat(1*d.iI,"px;\n ")}),(function(e){return e.selected&&"\n border-bottom: 1px solid ".concat((e.theme.monotone||i.Z.monotone).white,";\n ")})),(0,r.css)(["position:fixed;z-index:2;",""],(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).panel,";\n height: calc(100% - ").concat("undefined"===typeof e.heightOffset?v:e.heightOffset,"px);\n top: ").concat("undefined"===typeof e.heightOffset?v:e.heightOffset,"px;\n ")}))),y=(0,r.css)([""," height:100%;overflow:auto;position:relative;z-index:2;",""],l.w5,(function(e){return e.verticalOffset&&"\n height: calc(100% - ".concat(e.verticalOffset,"px);\n top: ").concat(e.verticalOffset,"px;\n ")})),w=(0,r.css)(["height:calc(100% + ","px);position:absolute;top:-","px;width:","px;z-index:6;&:hover{","}"," ",""],g,g,h,(function(e){return!e.disabled&&"\n border-color: ".concat((e.theme.text||i.Z.text).fileBrowser," !important;\n ")}),(function(e){return!e.disabled&&"\n cursor: col-resize;\n "}),(function(e){return e.active&&!e.disabled&&"\n border-color: ".concat((e.theme.text||i.Z.text).fileBrowser," !important;\n ")})),j=r.default.div.withConfig({displayName:"indexstyle__AsideHeaderStyle",componentId:"sc-1lxpneo-3"})(["border-bottom:1px solid transparent;height:","px;position:fixed;top:","px;z-index:4;"," "," ",""],m,g,(0,l.y$)(),(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).panel,";\n ")}),(function(e){return!e.visible&&"\n border-left: 1px solid transparent;\n border-right: 1px solid transparent;\n border-bottom-color: ".concat((e.theme.borders||i.Z.borders).medium," !important;\n ")})),k=r.default.div.withConfig({displayName:"indexstyle__AsideHeaderInnerStyle",componentId:"sc-1lxpneo-4"})(["display:flex;flex:1;overflow:auto;padding:0 ","px;"," ",""],2*d.iI,(0,l.y$)(),(function(e){return e.noPadding&&"\n padding: 0;\n "})),O=r.default.div.withConfig({displayName:"indexstyle__AsideSubheaderStyle",componentId:"sc-1lxpneo-5"})(["border-bottom:1px solid transparent;height:","px;overflow-x:auto;position:absolute;top:","px;"," "," ",""],g,g,(0,l.y$)(),(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).table,";\n ")}),(function(e){return!e.visible&&"\n border-color: ".concat((e.theme.borders||i.Z.borders).medium," !important;\n ")})),Z=r.default.aside.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-1lxpneo-6"})([""," left:0;"],x),I=r.default.div.withConfig({displayName:"indexstyle__BeforeInnerStyle",componentId:"sc-1lxpneo-7"})([""," overflow:hidden;&:hover{overflow:auto;}"],y),P=r.default.aside.withConfig({displayName:"indexstyle__AfterStyle",componentId:"sc-1lxpneo-8"})([""," right:0;"],x),C=r.default.div.withConfig({displayName:"indexstyle__AfterInnerStyle",componentId:"sc-1lxpneo-9"})([""," ",""],y,(function(e){return e.overflow&&"\n overflow: ".concat(e.overflow,";\n ")})),_=r.default.div.withConfig({displayName:"indexstyle__DraggableStyle",componentId:"sc-1lxpneo-10"})([""," "," ",""],w,(function(e){return"undefined"!==typeof e.left&&"\n border-left: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n left: ").concat(e.left,"px;\n ")}),(function(e){return"undefined"!==typeof e.right&&"\n border-right: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n right: ").concat(e.right,"px;\n ")})),S=r.default.div.withConfig({displayName:"indexstyle__MainWrapper",componentId:"sc-1lxpneo-11"})(["height:100%;position:fixed;z-index:1;",""],(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).codeArea,";\n ")})),E=r.default.div.withConfig({displayName:"indexstyle__MainContentStyle",componentId:"sc-1lxpneo-12"})(["position:fixed;z-index:2;",""],(function(e){return"\n height: calc(100% - ".concat(e.headerOffset||0,"px);\n top: ").concat(e.headerOffset||0,"px;\n ")})),M=r.default.div.withConfig({displayName:"indexstyle__MainContentInnerStyle",componentId:"sc-1lxpneo-13"})([""," height:100%;overflow:auto;"],l.w5),N=r.default.div.withConfig({displayName:"indexstyle__NavigationStyle",componentId:"sc-1lxpneo-14"})(["position:relative;"]),z=r.default.div.withConfig({displayName:"indexstyle__NavigationInnerStyle",componentId:"sc-1lxpneo-15"})(["height:100%;position:fixed;z-index:6;"," ",""],(function(e){return"left"===e.aligned&&"\n border-right: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n left: 0;\n ")}),(function(e){return"right"===e.aligned&&"\n border-left: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n right: 0;\n ")})),B=r.default.div.withConfig({displayName:"indexstyle__NavigationContainerStyle",componentId:"sc-1lxpneo-16"})([""," overflow:auto;position:absolute;width:fit-content;"," "," "," ",""],l.w5,(function(e){return"\n height: calc(100vh - ".concat(e.heightOffset,"px);\n ")}),(function(e){return e.fullWidth&&"\n width: calc(100% - ".concat(e.widthOffset||0,"px);\n ")}),(function(e){return e.widthOffset&&"left"===e.aligned&&"\n left: ".concat(e.widthOffset,"px;\n ")}),(function(e){return e.widthOffset&&"right"===e.aligned&&"\n right: ".concat(e.widthOffset,"px;\n ")}))},32063:function(e,n,t){var r=t(82684),i=t(1887),o=t.n(i),c=t(60328),d=t(57639),l=t(93461),a=t(67971),u=t(86673),s=t(46261),f=t(85019),h=t(82386),p=t(10503),g=t(91427),m=t(49125),v=t(72454),b=t(24141),x=t(28598);n.Z=function(e){var n=e.after,t=e.afterHeader,i=e.afterHeightOffset,y=e.afterHidden,w=e.afterMousedownActive,j=e.afterNavigationItems,k=e.afterOverflow,O=e.afterSubheader,Z=e.afterWidth,I=void 0===Z?0:Z,P=e.before,C=e.beforeHeader,_=e.beforeHeightOffset,S=e.beforeHidden,E=e.beforeMousedownActive,M=e.beforeNavigationItems,N=e.beforeWidth,z=void 0===N?0:N,B=e.children,D=e.header,W=e.headerOffset,H=void 0===W?0:W,A=e.hideAfterCompletely,R=e.leftOffset,F=void 0===R?0:R,L=e.mainContainerHeader,T=e.mainContainerRef,U=e.navigationShowMore,V=e.setAfterHidden,G=e.setAfterMousedownActive,$=e.setAfterWidth,X=e.setBeforeHidden,q=e.setBeforeMousedownActive,J=e.setBeforeWidth,Q=(e.uuid,(0,b.i)().width),Y=(0,r.useRef)(null),K=(0,r.useRef)(null),ee=(0,r.useRef)(null),ne=(0,r.useRef)(null),te=(0,r.useCallback)((function(){var e=!y;null===V||void 0===V||V(e),(0,g.t8)(g.zg,e)}),[y,V]),re=(0,r.useCallback)((function(){var e=!S;X(e),(0,g.t8)(g.Uu,e)}),[S,X]);(0,r.useEffect)((function(){var e,n,t,r,i=function(e){var n,t;((null===ee||void 0===ee||null===(n=ee.current)||void 0===n||null===(t=n.getBoundingClientRect)||void 0===t?void 0:t.call(n))||{}).x;if(Q){var r=e.x;r+h.l8>Q-I&&(r=Q-I-h.l8),r-=2*F,J(Math.max(r,h.dN))}},o=function(e){var n,t;e.offsetX>=e.target.offsetWidth-h.VW&&e.offsetX<=e.target.offsetWidth+h.VW&&(null===q||void 0===q||q(!0),e.preventDefault(),null===(n=document)||void 0===n||null===(t=n.addEventListener)||void 0===t||t.call(n,"mousemove",i,!1))},c=function(){var e,n;null===q||void 0===q||q(!1),null===(e=document)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousemove",i,!1)};return null===ne||void 0===ne||null===(e=ne.current)||void 0===e||null===(n=e.addEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",c,!1),function(){var e,n,t,r;null===ne||void 0===ne||null===(e=ne.current)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",c,!1),c()}}),[I,S,F,ee,ne,q,J,Q]),(0,r.useEffect)((function(){var e,n,t,r,i=function(e){var n,t;((null===Y||void 0===Y||null===(n=Y.current)||void 0===n||null===(t=n.getBoundingClientRect)||void 0===t?void 0:t.call(n))||{}).x;if(Q){var r=Q-e.x;r+h.l8>Q-z&&(r=Q-z-h.l8),$(Math.max(r,h.Md))}},o=function(e){var n,t;e.offsetX>=-1*h.VW&&e.offsetX<=h.VW&&(null===G||void 0===G||G(!0),e.preventDefault(),null===(n=document)||void 0===n||null===(t=n.addEventListener)||void 0===t||t.call(n,"mousemove",i,!1))},c=function(){var e,n;null===G||void 0===G||G(!1),null===(e=document)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousemove",i,!1)};return null===K||void 0===K||null===(e=K.current)||void 0===e||null===(n=e.addEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",c,!1),function(){var e,n,t,r;null===K||void 0===K||null===(e=K.current)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",c,!1),c()}}),[y,z,Y,K,G,$,Q]);var ie=A&&y,oe=ie?0:y?4*m.iI:I,ce=S?4*m.iI:z,de="calc(100% - ".concat(ce+oe+F,"px)"),le=(0,r.useMemo)((function(){return(null===j||void 0===j?void 0:j.length)>=1}),[j]),ae=(0,r.useMemo)((function(){return(0,x.jsxs)(x.Fragment,{children:[V&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.W7,{style:{width:le?oe-(v.k1-1):oe},visible:y,children:(0,x.jsxs)(a.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,children:[(0,x.jsxs)(l.Z,{children:[(0,x.jsx)(u.Z,{pl:y?1:2}),(0,x.jsxs)(c.Z,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return te()},children:[y&&(0,x.jsx)(p.s$,{neutral:!0,size:2*m.iI}),!y&&(0,x.jsx)(p._Q,{neutral:!0,size:2*m.iI})]})]}),!y&&t]})}),!y&&O&&(0,x.jsx)(h.YJ,{style:{width:le?oe-(v.k1+1):oe},visible:y,children:O})]}),(0,x.jsx)(h.E$,{noScrollbarTrackBackground:!0,overflow:k,ref:Y,verticalOffset:t?O?h.Wi+i:i:null,children:!y&&n})]})}),[n,t,i,y,k,O,oe,le,Y,V,te]),ue=(0,r.useMemo)((function(){return(null===M||void 0===M?void 0:M.length)>=1}),[M]),se=(0,r.useMemo)((function(){return(0,x.jsxs)(x.Fragment,{children:[X&&(0,x.jsx)(h.W7,{style:{overflow:S?"visible":"hidden",width:ue?ce-(v.k1+2):ce},visible:S,children:(0,x.jsxs)(a.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,justifyContent:"space-between",children:[(0,x.jsxs)(h.ym,{noPadding:!0,children:[(0,x.jsx)(u.Z,{pl:S?1:0}),!S&&C]}),(0,x.jsxs)(l.Z,{children:[(0,x.jsx)(s.Z,{appearAbove:!S,appearBefore:!S,block:!0,label:S?"Show sidebar":"Hide sidebar",size:null,widthFitContent:!0,children:(0,x.jsxs)(c.Z,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return re()},children:[S&&(0,x.jsx)(p._Q,{neutral:!0,size:2*m.iI}),!S&&(0,x.jsx)(p.s$,{neutral:!0,size:2*m.iI})]})},S?"before-is-hidden":"before-is-visible"),(0,x.jsx)(u.Z,{pr:S?1:2})]})]})}),(0,x.jsx)(h.Ru,{noScrollbarTrackBackground:!0,ref:ee,verticalOffset:C?_:null,children:!S&&P})]})}),[P,C,_,S,ce,ue,ee,X,re]);return(0,x.jsxs)(d.Z,{children:[(w&&!y||E&&!S)&&(0,x.jsx)(o(),{children:(0,x.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n body {\n cursor: col-resize;\n }\n "}})}),D&&(0,x.jsx)(h.MK,{children:D}),P&&(0,x.jsxs)(h.MP,{heightOffset:_,style:{left:F,width:ce},children:[(0,x.jsx)(h.v7,{active:E,disabled:S,ref:ne,right:0}),ue&&(0,x.jsxs)(h.bC,{children:[!S&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.lU,{aligned:"left",children:(0,x.jsx)(v.lm,{aligned:"left",borderless:!0,showMore:U,children:(0,x.jsx)(f.Z,{aligned:"left",navigationItems:M})})}),(0,x.jsx)(h.S9,{aligned:"left",fullWidth:!0,heightOffset:_,widthOffset:v.k1+1,children:se})]}),S&&se]}),!ue&&se]}),(0,x.jsxs)(h.rS,{style:{left:ce+F,width:de},children:[L,(0,x.jsx)(h.aH,{headerOffset:(L?h.uX:h.Wi)+H,style:{width:de},children:(0,x.jsx)(h.Zj,{noScrollbarTrackBackground:!0,ref:T,children:B})})]}),n&&!ie&&(0,x.jsxs)(h.ff,{heightOffset:i,style:{width:oe},children:[(0,x.jsx)(h.v7,{active:w,disabled:y,left:0,ref:K}),le&&(0,x.jsxs)(h.bC,{children:[!y&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.lU,{aligned:"right",children:(0,x.jsx)(v.lm,{aligned:"right",borderless:!0,showMore:U,children:(0,x.jsx)(f.Z,{aligned:"right",navigationItems:j})})}),(0,x.jsx)(h.S9,{aligned:"right",fullWidth:!0,heightOffset:i,widthOffset:v.k1+1,children:ae})]}),y&&ae]}),!le&&ae]})]})}},41788:function(e,n,t){t.d(n,{Z:function(){return P}});var r=t(77837),i=t(26304),o=t(62243),c=t(29385),d=t(80022),l=t(99177),a=t(93189),u=t(15544),s=t(82394),f=t(38860),h=t.n(f),p=t(82684),g=t(56663),m=t.n(g),v=t(35490),b=t(55361),x=t(30332),y=t(9736),w=t(59e3),j=t(28598),k=["auth"];function O(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?O(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function I(e){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,u.Z)(e);if(n){var i=(0,u.Z)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,a.Z)(this,t)}}function P(e){return function(n){(0,l.Z)(a,n);var t=I(a);function a(){var e;(0,o.Z)(this,a);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=t.call.apply(t,[this].concat(r)),(0,s.Z)((0,d.Z)(e),"state",{auth:new v.Z(e.props.token)}),e}return(0,c.Z)(a,[{key:"componentDidMount",value:function(){this.setState({auth:new v.Z(this.props.token)})}},{key:"render",value:function(){var n=this.props,t=(n.auth,(0,i.Z)(n,k));return(0,j.jsx)(e,Z({auth:this.state.auth},t))}}],[{key:"getInitialProps",value:function(){var n=(0,r.Z)(h().mark((function n(t){var r,i,o,c,d,l,a,u,s;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=m()(t),i=(0,y.ex)(t),o=i.id,c=r[b.Mv],d=r[x.qt],l=new v.Z(c),a=Z(Z({},t),{},{auth:l,currentGroupId:o,theme:d}),(0,y.YB)(t)&&l.isExpired&&(console.log("OAuth token has expired."),u=Z(Z({},t.query),{},{redirect_url:t.asPath}),(0,w.nL)("/sign-in?".concat((0,w.uM)(u)),t.res)),!e.getInitialProps){n.next=12;break}return n.next=10,e.getInitialProps(a);case 10:return s=n.sent,n.abrupt("return",Z(Z({},s),{},{auth:l,currentGroupId:o,theme:d}));case 12:return n.abrupt("return",a);case 13:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}]),a}(p.Component)}},882:function(e,n,t){var r=t(82394),i=t(26304),o=t(38626),c=t(60328),d=t(23831),l=t(73942),a=t(99994),u=t(49125),s=t(28598),f=["backgroundGradient","backgroundPanel","borderWidth","children","compact","paddingUnits","paddingUnitsHorizontal","paddingUnitsVertical"];function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?h(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var g=o.default.div.withConfig({displayName:"GradientButton__ButtonContentStyle",componentId:"sc-1gzx4r1-0"})(["border-radius:","px;height:fit-content;"," ",""],l.n_,(function(e){return!e.backgroundPanel&&"\n background-color: ".concat((e.theme.background||d.Z.background).page,";\n ")}),(function(e){return e.backgroundPanel&&"\n background-color: ".concat((e.theme.background||d.Z.background).panel,";\n ")}));n.Z=function(e){var n=e.backgroundGradient,t=void 0===n?a.TD:n,r=e.backgroundPanel,o=e.borderWidth,d=void 0===o?1:o,l=e.children,h=e.compact,m=e.paddingUnits,v=e.paddingUnitsHorizontal,b=void 0===v?1.5:v,x=e.paddingUnitsVertical,y=void 0===x?1.25:x,w=(0,i.Z)(e,f),j=b,k=y;return m&&(j=m,k=m),h&&(j*=.75,k*=.75),(0,s.jsx)(c.Z,p(p({},w),{},{backgroundGradient:t,noPadding:!0,padding:"".concat(d,"px"),pointerEventsEnabled:!0,children:(0,s.jsx)(g,{backgroundPanel:r,children:(0,s.jsx)("div",{style:{paddingBottom:k*u.iI-d,paddingLeft:j*u.iI-d,paddingRight:j*u.iI-d,paddingTop:k*u.iI-d},children:l})})}))}},34744:function(e,n,t){var r=t(82394),i=t(26304),o=(t(82684),t(38626)),c=t(86673),d=t(23831),l=t(49125),a=t(28598),u=["short"];function s(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?s(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h=o.default.div.withConfig({displayName:"Divider__DividerContainerStyle",componentId:"sc-1m7lqco-0"})([""," ",""],(function(e){return e.short&&"\n width: ".concat(21*l.iI,"px;\n ")}),(function(e){return!e.short&&"\n width: 100%;\n "})),p=o.default.div.withConfig({displayName:"Divider__DividerStyle",componentId:"sc-1m7lqco-1"})(["height:1px;"," "," "," "," "," ",""],(function(e){return!(e.light||e.medium)&&"\n background-color: ".concat((e.theme.monotone||d.Z.monotone).grey200,";\n ")}),(function(e){return e.muted&&"\n background-color: ".concat((e.theme.monotone||d.Z.monotone).grey500,";\n ")}),(function(e){return e.light&&"\n background-color: ".concat((e.theme.borders||d.Z.borders).light,";\n ")}),(function(e){return e.medium&&"\n background-color: ".concat((e.theme.borders||d.Z.borders).medium,";\n ")}),(function(e){return e.prominent&&"\n background-color: ".concat((e.theme.monotone||d.Z.monotone).grey300,";\n ")}),(function(e){return e.black&&"\n background-color: ".concat((e.theme.monotone||d.Z.monotone).black,";\n ")})),g=function(e){var n=e.short,t=(0,i.Z)(e,u);return(0,a.jsx)(h,{short:n,children:(0,a.jsx)(c.Z,f(f({},t),{},{children:(0,a.jsx)(p,f({},t))}))})};g.defaultProps={short:!1},n.Z=g},99994:function(e,n,t){t.d(n,{eW:function(){return a},TD:function(){return d},yr:function(){return l}});var r=t(73899),i="#FF144D",o="#DEBB92",c="#2A60FE",d=("linear-gradient(90deg, ".concat(o,", ").concat("#CBFE00",")"),"linear-gradient(90deg, ".concat(i,", #C86DD7)")),l=("linear-gradient(90deg, ".concat("#95ECE2",", ").concat(c,")"),"linear-gradient(90deg, ".concat("#9B6CA7",", ").concat(o,")"),"linear-gradient(90deg, ".concat("#C72400",", ").concat(o,")"),"linear-gradient(100.38deg, ".concat(i," 41.11%, #FF9559 86.99%)"),"linear-gradient(100.38deg, ".concat("#6B50D7"," 41.11%, #677FFF 86.99%)"),"linear-gradient(100.38deg, ".concat(c," 41.11%, #B880FF 86.99%)"),"linear-gradient(90deg, ".concat(r.t4," 20.13%, #2AB2FE)")),a="linear-gradient(90deg, ".concat(r.Ck," 0%, ").concat(r.t4," 53.13%, ").concat(r.X_," 100%)")},66166:function(e,n,t){var r=t(82684);n.Z=function(e){var n=(0,r.useRef)();return(0,r.useEffect)((function(){n.current=e}),[e]),n.current}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1005],{85019:function(e,n,t){var r=t(21831),i=t(82394),o=t(12691),c=t.n(o),d=t(82684),l=t(34376),a=t(57639),u=t(34744),s=t(93461),f=t(67971),h=t(882),p=t(11135),g=t(86673),m=t(19711),v=t(46261),b=t(22341),x=t(72454),y=t(99994),w=t(49125),j=t(28598);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 O(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,i.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 Z=3*w.iI,I=[{id:"main",items:[{Icon:b.G6,id:"overview",label:function(){return"Overview"},linkProps:{href:"/overview"}},{Icon:b.vd,id:"pipelines",label:function(){return"Pipelines"},linkProps:{href:"/pipelines"}},{Icon:b.Bf,id:"triggers",label:function(){return"Triggers"},linkProps:{href:"/triggers"}},{Icon:b.Pf,id:"pipeline-runs",label:function(){return"Pipelines runs"},linkProps:{href:"/pipeline-runs"}}]},{id:"misc",items:[{Icon:b.$l,id:"files",label:function(){return"Files"},linkProps:{href:"/files"}},{Icon:b.zQ,id:"templates",label:function(){return"Templates"},linkProps:{href:"/templates"}},{Icon:b.Pt,id:"version-control",label:function(){return"Version control"},linkProps:{href:"/version-control"}},{Icon:b.oI,id:"terminal",label:function(){return"Terminal"},linkProps:{href:"/terminal"}},{Icon:b.Zr,id:"settings",label:function(){return"Settings"},linkProps:{href:"/settings"}}]}];n.Z=function(e){var n=e.aligned,t=e.navigationItems,i=e.showMore,o=e.visible,b=(0,l.useRouter)().pathname,k=(0,d.useCallback)((function(e,t){var r,d,l,a=e.Icon,u=e.IconSelected,k=e.disabled,I=e.id,P=e.isSelected,C=e.label,_=e.linkProps,S=e.onClick,E=P?P(b,e):!!b.match(new RegExp("^/".concat(I,"[/]*"))),M=E&&u?u:a,N=null===C||void 0===C?void 0:C(),z={primary:!M,selected:i&&E,showMore:i,withGradient:u};E&&u?(d=(0,j.jsx)("div",{style:{height:Z,width:Z},children:(0,j.jsx)(M,{muted:!0,size:Z})}),(i||o)&&(d=(0,j.jsx)(x.E7,O(O({},z),{},{children:(0,j.jsx)(M,{muted:!0,size:Z})}))),r=(0,j.jsx)(h.Z,{backgroundGradient:y.yr,backgroundPanel:!0,basic:!0,borderWidth:2,disabled:k,linkProps:_,onClick:S,paddingUnits:1,children:d}),i&&(r=d)):(!E||E&&!u)&&(d=(0,j.jsx)(x.E7,O(O({},z),{},{children:M?(0,j.jsx)(M,{muted:!E,size:Z}):(0,j.jsx)(m.ZP,{children:"Edit"})})),r=(0,j.jsx)(p.ZP,{disabled:k,inline:!0,linkProps:_,noHoverUnderline:!0,noPadding:!0,onClick:S,primary:E,sameColorAsText:!0,uuid:"VerticalNavigation/".concat(I),children:d}),i&&(r=d)),l="right"===n?(0,j.jsxs)(f.Z,{alignItems:"center",fullWidth:!0,justifyContent:"flex-end",children:[(0,j.jsx)(s.Z,{flex:1,justifyContent:"flex-end",children:(0,j.jsx)(m.ZP,{noWrapping:!0,children:N})}),(0,j.jsx)(g.Z,{mr:2}),d]}):(0,j.jsxs)(f.Z,{alignItems:"center",children:[d,(0,j.jsx)(g.Z,{mr:2}),(0,j.jsx)(s.Z,{flex:1,children:(0,j.jsx)(m.ZP,{noWrapping:!0,children:N})})]});var B,D=(0,j.jsx)(x.J8,{href:"#",onClick:S,selected:E,children:l});return _&&(D=(0,j.jsx)(c(),O(O({},_),{},{passHref:!0,children:D}))),"right"===n&&(r=(0,j.jsx)(f.Z,{alignItems:"center",fullWidth:!0,justifyContent:"flex-end",children:r})),B=o?D:i?r:(0,j.jsx)(v.Z,{appearBefore:"right"===n,height:5*w.iI,label:N,size:null,widthFitContent:!0,children:r}),(0,j.jsx)(g.Z,{mt:i&&o?0:t>=1?w.cd:0,children:B},"button-".concat(I))}),[n,b,i,o]),P=(0,d.useMemo)((function(){var e=[];return(t||I).forEach((function(n,t){var i=n.id,c=n.items;(null===c||void 0===c?void 0:c.length)>=1?(t>=1&&e.push((0,j.jsx)(g.Z,{my:o?w.cd:w.cd+1,children:(0,j.jsx)(u.Z,{light:!0})},i)),e.push.apply(e,(0,r.Z)(c.map((function(e,n){return k(e,n)}))))):e.push(k(n,t))})),e}),[k,t,o]);return(0,j.jsx)(a.Z,{children:P})}},72454:function(e,n,t){t.d(n,{E7:function(){return b},HS:function(){return v},Hn:function(){return y},J8:function(){return x},Nk:function(){return p},k1:function(){return h},lm:function(){return m}});var r=t(82684),i=t(38626),o=t(86673),c=t(23831),d=t(73942),l=t(3055),a=t(49125),u=t(37391),s=t(90880),f=t(28598),h=a.cd*a.iI+5*a.iI+a.cd*a.iI+1,p=i.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-ecogjt-0"})(["display:flex;flex-direction:row;height:calc(100vh - ","px);position:fixed;top:","px;width:100%;",""],l.Mz,l.Mz,(function(e){return"\n background-color: ".concat((e.theme.background||c.Z.background).page,";\n ")})),g=i.default.div.withConfig({displayName:"indexstyle__VerticalNavigationStyleComponent",componentId:"sc-ecogjt-1"})(["height:100%;"," "," "," @keyframes animate-in{0%{width:","px;}100%{width:","px;}}"," ",""],(function(e){return"\n background-color: ".concat((e.theme.background||c.Z.background).panel,";\n ")}),(function(e){return!e.borderless&&"right"!==e.aligned&&"\n border-right: 1px solid ".concat((e.theme.borders||c.Z.borders).medium,";\n ")}),(function(e){return!e.borderless&&"right"===e.aligned&&"\n border-left: 1px solid ".concat((e.theme.borders||c.Z.borders).medium,";\n ")}),21*a.iI,34*a.iI,(function(e){return e.showMore&&e.visible&&"\n &:hover {\n animation: animate-in 100ms linear forwards;\n position: fixed;\n z-index: 100;\n }\n "}),(function(e){return e.showMore&&e.visible&&"right"===e.aligned&&"\n &:hover {\n right: 0;\n top: ".concat(l.Mz,"px;\n }\n ")}));function m(e){var n=e.aligned,t=e.borderless,i=e.children,c=e.showMore,d=(0,r.useRef)(null),l=(0,r.useState)(!1),u=l[0],s=l[1];return(0,f.jsx)(g,{aligned:n,borderless:t&&!u,onMouseEnter:c?function(){clearTimeout(d.current),d.current=setTimeout((function(){s(!0)}),300)}:null,onMouseLeave:c?function(){clearTimeout(d.current),s(!1)}:null,showMore:c,visible:u,children:(0,f.jsx)(o.Z,{px:c&&u?0:a.cd,py:c&&u?1:a.cd,children:r.cloneElement(i,{showMore:c,visible:u})})})}var v=i.default.div.withConfig({displayName:"indexstyle__SubheaderStyle",componentId:"sc-ecogjt-2"})(["padding:","px;position:sticky;top:0;width:100%;z-index:3;",""],a.cd*a.iI,(function(e){return"\n background-color: ".concat((e.theme.background||c.Z.background).page,";\n border-bottom: 1px solid ").concat((e.theme.borders||c.Z.borders).medium,";\n ")})),b=(i.default.div.withConfig({displayName:"indexstyle__ContentStyle",componentId:"sc-ecogjt-3"})([""," overflow:auto;",""],u.w5,(function(e){return"\n height: calc(100vh - ".concat(l.Mz+(e.heightOffset||0),"px);\n ")})),i.default.div.withConfig({displayName:"indexstyle__NavigationItemStyle",componentId:"sc-ecogjt-4"})(["align-items:center;border-radius:","px;display:flex;height:","px;justify-content:center;padding:","px;width:","px;"," "," "," ",""],d.n_,5*a.iI,a.iI,5*a.iI,(function(e){return e.primary&&"\n ".concat((0,s.eR)(),"\n background: ").concat((e.theme||c.Z).chart.backgroundPrimary,";\n border: 1px solid ").concat((e.theme||c.Z).feature.active,";\n\n &:hover {\n background-color: ").concat((e.theme||c.Z).interactive.linkSecondary,";\n }\n ")}),(function(e){return e.selected&&!e.withGradient&&"\n background-color: ".concat((e.theme.interactive||c.Z.interactive).linkPrimary,";\n ")}),(function(e){return e.selected&&e.withGradient&&"\n background-color: ".concat((e.theme.background||c.Z.background).codeTextarea,";\n ")}),(function(e){return!e.selected&&e.showMore&&"\n background-color: ".concat((e.theme.interactive||c.Z.interactive).defaultBackground,";\n ")}))),x=i.default.a.withConfig({displayName:"indexstyle__NavigationLinkStyle",componentId:"sc-ecogjt-5"})([""," display:block;padding:","px ","px;"," ",""],(0,s.eR)(),1*a.iI,a.iI*a.cd,(function(e){return!e.selected&&"\n &:hover {\n background-color: ".concat((e.theme.interactive||c.Z.interactive).hoverBackground,";\n }\n ")}),(function(e){return e.selected&&"\n background-color: ".concat((e.theme.interactive||c.Z.interactive).linkPrimaryHover,";\n ")})),y=i.default.div.withConfig({displayName:"indexstyle__ImageStyle",componentId:"sc-ecogjt-6"})(["background-position:0 0;background-repeat:no-repeat;background-size:contain;height:","px;width:","px;"," ",""],12*a.iI,12*a.iI,(function(e){return"\n background-image: url(".concat(e.imageUrl,");\n ")}),(function(e){return e.size&&"\n height: ".concat(e.size,"px;\n width: ").concat(e.size,"px;\n ")}))},82386:function(e,n,t){t.d(n,{E$:function(){return C},MK:function(){return b},MP:function(){return Z},Md:function(){return u},OM:function(){return m},Ru:function(){return I},S9:function(){return B},VW:function(){return h},W7:function(){return j},Wi:function(){return g},YJ:function(){return O},Zj:function(){return M},Zt:function(){return a},aH:function(){return E},bC:function(){return N},dN:function(){return s},ff:function(){return P},l8:function(){return p},lU:function(){return z},rS:function(){return S},uX:function(){return v},v7:function(){return _},ve:function(){return f},ym:function(){return k}});var r=t(38626),i=t(23831),o=t(73942),c=t(3055),d=t(49125),l=t(37391),a=64*d.iI,u=30*d.iI,s=21.25*d.iI,f=35*d.iI,h=.5*d.iI,p=13*d.iI,g=3*d.cd*d.iI,m=6*d.iI,v=2*d.cd*3*d.iI,b=(r.default.div.withConfig({displayName:"indexstyle__HeaderStyle",componentId:"sc-1lxpneo-0"})(["position:fixed;z-index:3;"," "," ",""],(function(e){return"\n border-bottom: 1px solid ".concat((e.theme.monotone||i.Z.monotone).grey200,";\n ")}),(function(e){return!e.beforeVisible&&"\n width: 100%;\n "}),(function(e){return e.beforeVisible&&"\n left: ".concat(f,"px;\n width: calc(100% - ").concat(f,"px);\n ")})),r.default.div.withConfig({displayName:"indexstyle__NewHeaderStyle",componentId:"sc-1lxpneo-1"})(["height:","px;position:fixed;top:0;width:100%;z-index:4;"],c.Mz)),x=(r.default.div.withConfig({displayName:"indexstyle__TabStyle",componentId:"sc-1lxpneo-2"})(["border-top-left-radius:","px;border-top-right-radius:","px;padding:","px ","px;position:relative;top:1px;"," "," ",""],o.n_,o.n_,1*d.iI,2*d.iI,(function(e){return"\n border-left: 1px solid ".concat((e.theme.monotone||i.Z.monotone).grey200,";\n border-right: 1px solid ").concat((e.theme.monotone||i.Z.monotone).grey200,";\n border-top: 1px solid ").concat((e.theme.monotone||i.Z.monotone).grey200,";\n ")}),(function(e){return!e.first&&"\n margin-left: ".concat(1*d.iI,"px;\n ")}),(function(e){return e.selected&&"\n border-bottom: 1px solid ".concat((e.theme.monotone||i.Z.monotone).white,";\n ")})),(0,r.css)(["position:fixed;z-index:2;",""],(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).panel,";\n height: calc(100% - ").concat("undefined"===typeof e.heightOffset?v:e.heightOffset,"px);\n top: ").concat("undefined"===typeof e.heightOffset?v:e.heightOffset,"px;\n ")}))),y=(0,r.css)([""," height:100%;overflow:auto;position:relative;z-index:2;",""],l.w5,(function(e){return e.verticalOffset&&"\n height: calc(100% - ".concat(e.verticalOffset,"px);\n top: ").concat(e.verticalOffset,"px;\n ")})),w=(0,r.css)(["height:calc(100% + ","px);position:absolute;top:-","px;width:","px;z-index:6;&:hover{","}"," ",""],g,g,h,(function(e){return!e.disabled&&"\n border-color: ".concat((e.theme.text||i.Z.text).fileBrowser," !important;\n ")}),(function(e){return!e.disabled&&"\n cursor: col-resize;\n "}),(function(e){return e.active&&!e.disabled&&"\n border-color: ".concat((e.theme.text||i.Z.text).fileBrowser," !important;\n ")})),j=r.default.div.withConfig({displayName:"indexstyle__AsideHeaderStyle",componentId:"sc-1lxpneo-3"})(["border-bottom:1px solid transparent;height:","px;position:fixed;top:","px;z-index:4;"," "," ",""],m,g,(0,l.y$)(),(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).panel,";\n ")}),(function(e){return!e.visible&&"\n border-left: 1px solid transparent;\n border-right: 1px solid transparent;\n border-bottom-color: ".concat((e.theme.borders||i.Z.borders).medium," !important;\n ")})),k=r.default.div.withConfig({displayName:"indexstyle__AsideHeaderInnerStyle",componentId:"sc-1lxpneo-4"})(["display:flex;flex:1;overflow:auto;padding:0 ","px;"," ",""],2*d.iI,(0,l.y$)(),(function(e){return e.noPadding&&"\n padding: 0;\n "})),O=r.default.div.withConfig({displayName:"indexstyle__AsideSubheaderStyle",componentId:"sc-1lxpneo-5"})(["border-bottom:1px solid transparent;height:","px;overflow-x:auto;position:absolute;top:","px;"," "," ",""],g,g,(0,l.y$)(),(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).table,";\n ")}),(function(e){return!e.visible&&"\n border-color: ".concat((e.theme.borders||i.Z.borders).medium," !important;\n ")})),Z=r.default.aside.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-1lxpneo-6"})([""," left:0;"],x),I=r.default.div.withConfig({displayName:"indexstyle__BeforeInnerStyle",componentId:"sc-1lxpneo-7"})([""," overflow:hidden;&:hover{overflow:auto;}"],y),P=r.default.aside.withConfig({displayName:"indexstyle__AfterStyle",componentId:"sc-1lxpneo-8"})([""," right:0;"],x),C=r.default.div.withConfig({displayName:"indexstyle__AfterInnerStyle",componentId:"sc-1lxpneo-9"})([""," ",""],y,(function(e){return e.overflow&&"\n overflow: ".concat(e.overflow,";\n ")})),_=r.default.div.withConfig({displayName:"indexstyle__DraggableStyle",componentId:"sc-1lxpneo-10"})([""," "," ",""],w,(function(e){return"undefined"!==typeof e.left&&"\n border-left: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n left: ").concat(e.left,"px;\n ")}),(function(e){return"undefined"!==typeof e.right&&"\n border-right: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n right: ").concat(e.right,"px;\n ")})),S=r.default.div.withConfig({displayName:"indexstyle__MainWrapper",componentId:"sc-1lxpneo-11"})(["height:100%;position:fixed;z-index:1;",""],(function(e){return"\n background-color: ".concat((e.theme.background||i.Z.background).codeArea,";\n ")})),E=r.default.div.withConfig({displayName:"indexstyle__MainContentStyle",componentId:"sc-1lxpneo-12"})(["position:fixed;z-index:2;",""],(function(e){return"\n height: calc(100% - ".concat(e.headerOffset||0,"px);\n top: ").concat(e.headerOffset||0,"px;\n ")})),M=r.default.div.withConfig({displayName:"indexstyle__MainContentInnerStyle",componentId:"sc-1lxpneo-13"})([""," height:100%;overflow:auto;"],l.w5),N=r.default.div.withConfig({displayName:"indexstyle__NavigationStyle",componentId:"sc-1lxpneo-14"})(["position:relative;"]),z=r.default.div.withConfig({displayName:"indexstyle__NavigationInnerStyle",componentId:"sc-1lxpneo-15"})(["height:100%;position:fixed;z-index:6;"," ",""],(function(e){return"left"===e.aligned&&"\n border-right: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n left: 0;\n ")}),(function(e){return"right"===e.aligned&&"\n border-left: 1px solid ".concat((e.theme.borders||i.Z.borders).medium,";\n right: 0;\n ")})),B=r.default.div.withConfig({displayName:"indexstyle__NavigationContainerStyle",componentId:"sc-1lxpneo-16"})([""," overflow:auto;position:absolute;width:fit-content;"," "," "," ",""],l.w5,(function(e){return"\n height: calc(100vh - ".concat(e.heightOffset,"px);\n ")}),(function(e){return e.fullWidth&&"\n width: calc(100% - ".concat(e.widthOffset||0,"px);\n ")}),(function(e){return e.widthOffset&&"left"===e.aligned&&"\n left: ".concat(e.widthOffset,"px;\n ")}),(function(e){return e.widthOffset&&"right"===e.aligned&&"\n right: ".concat(e.widthOffset,"px;\n ")}))},32063:function(e,n,t){var r=t(82684),i=t(1887),o=t.n(i),c=t(60328),d=t(57639),l=t(93461),a=t(67971),u=t(86673),s=t(46261),f=t(85019),h=t(82386),p=t(22341),g=t(91427),m=t(49125),v=t(72454),b=t(24141),x=t(28598);n.Z=function(e){var n=e.after,t=e.afterHeader,i=e.afterHeightOffset,y=e.afterHidden,w=e.afterMousedownActive,j=e.afterNavigationItems,k=e.afterOverflow,O=e.afterSubheader,Z=e.afterWidth,I=void 0===Z?0:Z,P=e.before,C=e.beforeHeader,_=e.beforeHeightOffset,S=e.beforeHidden,E=e.beforeMousedownActive,M=e.beforeNavigationItems,N=e.beforeWidth,z=void 0===N?0:N,B=e.children,D=e.header,W=e.headerOffset,H=void 0===W?0:W,A=e.hideAfterCompletely,R=e.leftOffset,F=void 0===R?0:R,L=e.mainContainerHeader,T=e.mainContainerRef,U=e.navigationShowMore,V=e.setAfterHidden,G=e.setAfterMousedownActive,$=e.setAfterWidth,X=e.setBeforeHidden,q=e.setBeforeMousedownActive,J=e.setBeforeWidth,Q=(e.uuid,(0,b.i)().width),Y=(0,r.useRef)(null),K=(0,r.useRef)(null),ee=(0,r.useRef)(null),ne=(0,r.useRef)(null),te=(0,r.useCallback)((function(){var e=!y;null===V||void 0===V||V(e),(0,g.t8)(g.zg,e)}),[y,V]),re=(0,r.useCallback)((function(){var e=!S;X(e),(0,g.t8)(g.Uu,e)}),[S,X]);(0,r.useEffect)((function(){var e,n,t,r,i=function(e){var n,t;((null===ee||void 0===ee||null===(n=ee.current)||void 0===n||null===(t=n.getBoundingClientRect)||void 0===t?void 0:t.call(n))||{}).x;if(Q){var r=e.x;r+h.l8>Q-I&&(r=Q-I-h.l8),r-=2*F,J(Math.max(r,h.dN))}},o=function(e){var n,t;e.offsetX>=e.target.offsetWidth-h.VW&&e.offsetX<=e.target.offsetWidth+h.VW&&(null===q||void 0===q||q(!0),e.preventDefault(),null===(n=document)||void 0===n||null===(t=n.addEventListener)||void 0===t||t.call(n,"mousemove",i,!1))},c=function(){var e,n;null===q||void 0===q||q(!1),null===(e=document)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousemove",i,!1)};return null===ne||void 0===ne||null===(e=ne.current)||void 0===e||null===(n=e.addEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",c,!1),function(){var e,n,t,r;null===ne||void 0===ne||null===(e=ne.current)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",c,!1),c()}}),[I,S,F,ee,ne,q,J,Q]),(0,r.useEffect)((function(){var e,n,t,r,i=function(e){var n,t;((null===Y||void 0===Y||null===(n=Y.current)||void 0===n||null===(t=n.getBoundingClientRect)||void 0===t?void 0:t.call(n))||{}).x;if(Q){var r=Q-e.x;r+h.l8>Q-z&&(r=Q-z-h.l8),$(Math.max(r,h.Md))}},o=function(e){var n,t;e.offsetX>=-1*h.VW&&e.offsetX<=h.VW&&(null===G||void 0===G||G(!0),e.preventDefault(),null===(n=document)||void 0===n||null===(t=n.addEventListener)||void 0===t||t.call(n,"mousemove",i,!1))},c=function(){var e,n;null===G||void 0===G||G(!1),null===(e=document)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousemove",i,!1)};return null===K||void 0===K||null===(e=K.current)||void 0===e||null===(n=e.addEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",c,!1),function(){var e,n,t,r;null===K||void 0===K||null===(e=K.current)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousedown",o,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",c,!1),c()}}),[y,z,Y,K,G,$,Q]);var ie=A&&y,oe=ie?0:y?4*m.iI:I,ce=S?4*m.iI:z,de="calc(100% - ".concat(ce+oe+F,"px)"),le=(0,r.useMemo)((function(){return(null===j||void 0===j?void 0:j.length)>=1}),[j]),ae=(0,r.useMemo)((function(){return(0,x.jsxs)(x.Fragment,{children:[V&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.W7,{style:{width:le?oe-(v.k1-1):oe},visible:y,children:(0,x.jsxs)(a.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,children:[(0,x.jsxs)(l.Z,{children:[(0,x.jsx)(u.Z,{pl:y?1:2}),(0,x.jsxs)(c.Z,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return te()},children:[y&&(0,x.jsx)(p.s$,{neutral:!0,size:2*m.iI}),!y&&(0,x.jsx)(p._Q,{neutral:!0,size:2*m.iI})]})]}),!y&&t]})}),!y&&O&&(0,x.jsx)(h.YJ,{style:{width:le?oe-(v.k1+1):oe},visible:y,children:O})]}),(0,x.jsx)(h.E$,{noScrollbarTrackBackground:!0,overflow:k,ref:Y,verticalOffset:t?O?h.Wi+i:i:null,children:!y&&n})]})}),[n,t,i,y,k,O,oe,le,Y,V,te]),ue=(0,r.useMemo)((function(){return(null===M||void 0===M?void 0:M.length)>=1}),[M]),se=(0,r.useMemo)((function(){return(0,x.jsxs)(x.Fragment,{children:[X&&(0,x.jsx)(h.W7,{style:{overflow:S?"visible":"hidden",width:ue?ce-(v.k1+2):ce},visible:S,children:(0,x.jsxs)(a.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,justifyContent:"space-between",children:[(0,x.jsxs)(h.ym,{noPadding:!0,children:[(0,x.jsx)(u.Z,{pl:S?1:0}),!S&&C]}),(0,x.jsxs)(l.Z,{children:[(0,x.jsx)(s.Z,{appearAbove:!S,appearBefore:!S,block:!0,label:S?"Show sidebar":"Hide sidebar",size:null,widthFitContent:!0,children:(0,x.jsxs)(c.Z,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return re()},children:[S&&(0,x.jsx)(p._Q,{neutral:!0,size:2*m.iI}),!S&&(0,x.jsx)(p.s$,{neutral:!0,size:2*m.iI})]})},S?"before-is-hidden":"before-is-visible"),(0,x.jsx)(u.Z,{pr:S?1:2})]})]})}),(0,x.jsx)(h.Ru,{noScrollbarTrackBackground:!0,ref:ee,verticalOffset:C?_:null,children:!S&&P})]})}),[P,C,_,S,ce,ue,ee,X,re]);return(0,x.jsxs)(d.Z,{children:[(w&&!y||E&&!S)&&(0,x.jsx)(o(),{children:(0,x.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n body {\n cursor: col-resize;\n }\n "}})}),D&&(0,x.jsx)(h.MK,{children:D}),P&&(0,x.jsxs)(h.MP,{heightOffset:_,style:{left:F,width:ce},children:[(0,x.jsx)(h.v7,{active:E,disabled:S,ref:ne,right:0}),ue&&(0,x.jsxs)(h.bC,{children:[!S&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.lU,{aligned:"left",children:(0,x.jsx)(v.lm,{aligned:"left",borderless:!0,showMore:U,children:(0,x.jsx)(f.Z,{aligned:"left",navigationItems:M})})}),(0,x.jsx)(h.S9,{aligned:"left",fullWidth:!0,heightOffset:_,widthOffset:v.k1+1,children:se})]}),S&&se]}),!ue&&se]}),(0,x.jsxs)(h.rS,{style:{left:ce+F,width:de},children:[L,(0,x.jsx)(h.aH,{headerOffset:(L?h.uX:h.Wi)+H,style:{width:de},children:(0,x.jsx)(h.Zj,{noScrollbarTrackBackground:!0,ref:T,children:B})})]}),n&&!ie&&(0,x.jsxs)(h.ff,{heightOffset:i,style:{width:oe},children:[(0,x.jsx)(h.v7,{active:w,disabled:y,left:0,ref:K}),le&&(0,x.jsxs)(h.bC,{children:[!y&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.lU,{aligned:"right",children:(0,x.jsx)(v.lm,{aligned:"right",borderless:!0,showMore:U,children:(0,x.jsx)(f.Z,{aligned:"right",navigationItems:j})})}),(0,x.jsx)(h.S9,{aligned:"right",fullWidth:!0,heightOffset:i,widthOffset:v.k1+1,children:ae})]}),y&&ae]}),!le&&ae]})]})}},41788:function(e,n,t){t.d(n,{Z:function(){return P}});var r=t(77837),i=t(26304),o=t(62243),c=t(29385),d=t(80022),l=t(99177),a=t(93189),u=t(15544),s=t(82394),f=t(38860),h=t.n(f),p=t(82684),g=t(56663),m=t.n(g),v=t(35490),b=t(55361),x=t(30332),y=t(9736),w=t(59e3),j=t(28598),k=["auth"];function O(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?O(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function I(e){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,u.Z)(e);if(n){var i=(0,u.Z)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,a.Z)(this,t)}}function P(e){return function(n){(0,l.Z)(a,n);var t=I(a);function a(){var e;(0,o.Z)(this,a);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=t.call.apply(t,[this].concat(r)),(0,s.Z)((0,d.Z)(e),"state",{auth:new v.Z(e.props.token)}),e}return(0,c.Z)(a,[{key:"componentDidMount",value:function(){this.setState({auth:new v.Z(this.props.token)})}},{key:"render",value:function(){var n=this.props,t=(n.auth,(0,i.Z)(n,k));return(0,j.jsx)(e,Z({auth:this.state.auth},t))}}],[{key:"getInitialProps",value:function(){var n=(0,r.Z)(h().mark((function n(t){var r,i,o,c,d,l,a,u,s;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=m()(t),i=(0,y.ex)(t),o=i.id,c=r[b.Mv],d=r[x.qt],l=new v.Z(c),a=Z(Z({},t),{},{auth:l,currentGroupId:o,theme:d}),(0,y.YB)(t)&&l.isExpired&&(console.log("OAuth token has expired."),u=Z(Z({},t.query),{},{redirect_url:t.asPath}),(0,w.nL)("/sign-in?".concat((0,w.uM)(u)),t.res)),!e.getInitialProps){n.next=12;break}return n.next=10,e.getInitialProps(a);case 10:return s=n.sent,n.abrupt("return",Z(Z({},s),{},{auth:l,currentGroupId:o,theme:d}));case 12:return n.abrupt("return",a);case 13:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}]),a}(p.Component)}},882:function(e,n,t){var r=t(82394),i=t(26304),o=t(38626),c=t(60328),d=t(23831),l=t(73942),a=t(99994),u=t(49125),s=t(28598),f=["backgroundGradient","backgroundPanel","borderWidth","children","compact","paddingUnits","paddingUnitsHorizontal","paddingUnitsVertical"];function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?h(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var g=o.default.div.withConfig({displayName:"GradientButton__ButtonContentStyle",componentId:"sc-1gzx4r1-0"})(["border-radius:","px;height:fit-content;"," ",""],l.n_,(function(e){return!e.backgroundPanel&&"\n background-color: ".concat((e.theme.background||d.Z.background).page,";\n ")}),(function(e){return e.backgroundPanel&&"\n background-color: ".concat((e.theme.background||d.Z.background).panel,";\n ")}));n.Z=function(e){var n=e.backgroundGradient,t=void 0===n?a.TD:n,r=e.backgroundPanel,o=e.borderWidth,d=void 0===o?1:o,l=e.children,h=e.compact,m=e.paddingUnits,v=e.paddingUnitsHorizontal,b=void 0===v?1.5:v,x=e.paddingUnitsVertical,y=void 0===x?1.25:x,w=(0,i.Z)(e,f),j=b,k=y;return m&&(j=m,k=m),h&&(j*=.75,k*=.75),(0,s.jsx)(c.Z,p(p({},w),{},{backgroundGradient:t,noPadding:!0,padding:"".concat(d,"px"),pointerEventsEnabled:!0,children:(0,s.jsx)(g,{backgroundPanel:r,children:(0,s.jsx)("div",{style:{paddingBottom:k*u.iI-d,paddingLeft:j*u.iI-d,paddingRight:j*u.iI-d,paddingTop:k*u.iI-d},children:l})})}))}},34744:function(e,n,t){var r=t(82394),i=t(26304),o=(t(82684),t(38626)),c=t(86673),d=t(23831),l=t(49125),a=t(28598),u=["short"];function s(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?s(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h=o.default.div.withConfig({displayName:"Divider__DividerContainerStyle",componentId:"sc-1m7lqco-0"})([""," ",""],(function(e){return e.short&&"\n width: ".concat(21*l.iI,"px;\n ")}),(function(e){return!e.short&&"\n width: 100%;\n "})),p=o.default.div.withConfig({displayName:"Divider__DividerStyle",componentId:"sc-1m7lqco-1"})(["height:1px;"," "," "," "," "," ",""],(function(e){return!(e.light||e.medium)&&"\n background-color: ".concat((e.theme.monotone||d.Z.monotone).grey200,";\n ")}),(function(e){return e.muted&&"\n background-color: ".concat((e.theme.monotone||d.Z.monotone).grey500,";\n ")}),(function(e){return e.light&&"\n background-color: ".concat((e.theme.borders||d.Z.borders).light,";\n ")}),(function(e){return e.medium&&"\n background-color: ".concat((e.theme.borders||d.Z.borders).medium,";\n ")}),(function(e){return e.prominent&&"\n background-color: ".concat((e.theme.monotone||d.Z.monotone).grey300,";\n ")}),(function(e){return e.black&&"\n background-color: ".concat((e.theme.monotone||d.Z.monotone).black,";\n ")})),g=function(e){var n=e.short,t=(0,i.Z)(e,u);return(0,a.jsx)(h,{short:n,children:(0,a.jsx)(c.Z,f(f({},t),{},{children:(0,a.jsx)(p,f({},t))}))})};g.defaultProps={short:!1},n.Z=g},99994:function(e,n,t){t.d(n,{eW:function(){return a},TD:function(){return d},yr:function(){return l}});var r=t(73899),i="#FF144D",o="#DEBB92",c="#2A60FE",d=("linear-gradient(90deg, ".concat(o,", ").concat("#CBFE00",")"),"linear-gradient(90deg, ".concat(i,", #C86DD7)")),l=("linear-gradient(90deg, ".concat("#95ECE2",", ").concat(c,")"),"linear-gradient(90deg, ".concat("#9B6CA7",", ").concat(o,")"),"linear-gradient(90deg, ".concat("#C72400",", ").concat(o,")"),"linear-gradient(100.38deg, ".concat(i," 41.11%, #FF9559 86.99%)"),"linear-gradient(100.38deg, ".concat("#6B50D7"," 41.11%, #677FFF 86.99%)"),"linear-gradient(100.38deg, ".concat(c," 41.11%, #B880FF 86.99%)"),"linear-gradient(90deg, ".concat(r.t4," 20.13%, #2AB2FE)")),a="linear-gradient(90deg, ".concat(r.Ck," 0%, ").concat(r.t4," 53.13%, ").concat(r.X_," 100%)")},66166:function(e,n,t){var r=t(82684);n.Z=function(e){var n=(0,r.useRef)();return(0,r.useEffect)((function(){n.current=e}),[e]),n.current}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1424],{28413:function(n,e,t){var r=t(82394),o=t(12691),i=t.n(o),c=t(67971),a=t(10919),l=t(86673),u=t(19711),d=t(22341),s=t(28598),p=t(82684);function f(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function h(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?f(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}e.Z=function(n){var e=n.breadcrumbs,t=e.length,r=[];return e.forEach((function(n,e){var o=n.bold,c=n.danger,f=n.label,b=n.linkProps,m=n.onClick,g=f();t>=2&&e>=1&&r.push((0,s.jsx)(l.Z,{mx:1,children:(0,s.jsx)(d._Q,{muted:!0})},"divider-".concat(g)));var v=(0,s.jsx)(u.ZP,{bold:o,danger:c,default:!o,monospace:!0,children:g}),x=(0,s.jsx)(l.Z,{ml:0===e?2:0,children:v},"breadcrumb-".concat(g));b?x=(0,p.createElement)(i(),h(h({},b),{},{key:"breadcrumb-link-".concat(g),passHref:!0}),(0,s.jsx)(a.Z,{block:!0,default:!o,noOutline:!0,sameColorAsText:o,children:x})):m&&(x=(0,s.jsx)(a.Z,{block:!0,default:!o,noOutline:!0,onClick:m,preventDefault:!0,sameColorAsText:o,children:x})),r.push(x)})),(0,s.jsx)(c.Z,{alignItems:"center",children:r})}},64318:function(n,e,t){t.d(e,{u:function(){return c}});var r=t(38626),o=t(23831),i=t(49125),c=r.default.div.withConfig({displayName:"indexstyle__LinkStyle",componentId:"sc-y3uzxv-0"})(["padding:","px;&:hover{cursor:pointer;","}",""],i.iI,(function(n){return"\n background-color: ".concat((n.theme.interactive||o.Z.interactive).hoverBackground,";\n ")}),(function(n){return n.highlighted&&"\n background-color: ".concat((n.theme.interactive||o.Z.interactive).hoverBackground,";\n ")}))},33699:function(n,e,t){t.d(e,{Z:function(){return M}});var r=t(82394),o=t(89565),i=t.n(o),c=t(82684),a=t(35490),l=t(47999),u=t(19711),d=t(38626),s=t(23831),p=t(49125),f=t(37391),h=(0,d.css)([""," ",""],(function(n){return!n.width&&"\n width: 100%;\n "}),(function(n){return n.width&&"\n width: ".concat(n.width,"px;\n ")})),b=d.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-11d4rgl-0"})([""," "," height:100%;overflow:auto;position:absolute;",""],h,f.w5,(function(n){return"\n background-color: ".concat((n.theme.background||s.Z.background).codeTextarea,";\n ")})),m=d.default.div.withConfig({displayName:"indexstyle__InnerStyle",componentId:"sc-11d4rgl-1"})([""," padding:","px;"],h,p.cd*p.iI),g=(d.default.div.withConfig({displayName:"indexstyle__LineStyle",componentId:"sc-11d4rgl-2"})(["height:","px;"],20),(0,d.css)(["@keyframes cursor-blink{0%{opacity:0;}}::before{","}::after{","}"],(function(n){return n.focusBeginning&&"\n position: absolute;\n background-color: ".concat((n.theme.accent||s.Z.accent).warning,';\n content: "";\n display: inline-block;\n height: ').concat(20,"px;\n width: ").concat(p.iI,"px;\n opacity: 0.3;\n ")}),(function(n){return n.focused&&"\n background-color: ".concat((n.theme.accent||s.Z.accent).warning,';\n content: "";\n display: inline-block;\n height: ').concat(20,"px;\n width: ").concat(p.iI,"px;\n opacity: 0.3;\n ")}))),v=d.default.div.withConfig({displayName:"indexstyle__InputStyle",componentId:"sc-11d4rgl-3"})(["align-items:center;display:flex;gap:2px;",""],g),x=d.default.span.withConfig({displayName:"indexstyle__CharacterStyle",componentId:"sc-11d4rgl-4"})([""," ::after{","}"],g,(function(n){return n.focused&&"\n position: absolute;\n "})),y=t(82635),j=t(16115),w=t(94353),O=t(51504),Z=t(66653),k=t(41150),P=t(28598);function C(n,e){var t="undefined"!==typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=function(n,e){if(!n)return;if("string"===typeof n)return I(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);"Object"===t&&n.constructor&&(t=n.constructor.name);if("Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return I(n,e)}(n))||e&&n&&"number"===typeof n.length){t&&(n=t);var r=0,o=function(){};return{s:o,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,a=!1;return{s:function(){t=t.call(n)},n:function(){var n=t.next();return c=n.done,n},e:function(n){a=!0,i=n},f:function(){try{c||null==t.return||t.return()}finally{if(a)throw i}}}}function I(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function _(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function S(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?_(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var M=function(n){var e=n.lastMessage,t=n.onFocus,r=n.sendMessage,o=n.uuid,d=void 0===o?"terminal":o,s=n.width,p=(0,c.useRef)(null),f=(0,c.useRef)(null),h=(0,c.useState)(""),g=h[0],I=h[1],_=(0,c.useState)(0),M=_[0],F=_[1],T=(0,c.useState)(0),D=T[0],E=T[1],z=(0,c.useState)([]),H=z[0],B=z[1],R=(0,c.useState)(!1),A=R[0],L=R[1],N=(0,c.useState)(),U=N[0],W=N[1],G=(0,c.useMemo)((function(){return new a.Z}),[]),q=(0,c.useMemo)((function(){return{api_key:w.l,token:G.decodedToken.token}}),[G]);(0,c.useEffect)((function(){if(e){var n=JSON.parse(e.data);W((function(e){var t=e||"";return"stdout"===n[0]?t+n[1]:t}))}}),[e]);var Y=(0,c.useMemo)((function(){return U?U.split("\n").filter((function(n){return!n.includes("# Mage terminal settings command")})).map((function(n){return{data:n,type:y.Gi.TEXT}})):[]}),[U]);(0,c.useEffect)((function(){if(p.current&&f.current){var n=f.current.getBoundingClientRect().height;p.current.scrollTo(0,n)}}),[g,Y,p,f]);var V=(0,k.y)(),K=V.registerOnKeyDown,X=V.setDisableGlobalKeyboardShortcuts,Q=V.unregisterOnKeyDown;(0,c.useEffect)((function(){return function(){Q(d)}}),[Q,d]);var J=(0,c.useCallback)((function(){E((function(n){return n>0?n-1:n}))}),[]),$=(0,c.useCallback)((function(){E((function(n){return n<g.length?n+1:n}))}),[g]),nn=(0,c.useCallback)((function(n){r(JSON.stringify(S(S({},q),{},{command:["stdin",n]}))),r(JSON.stringify(S(S({},q),{},{command:["stdin","\r"]}))),(null===n||void 0===n?void 0:n.length)>=2&&(F(H.length+1),B((function(e){return e.concat(n)})),E(0)),I("")}),[H,r,I,B,F,E]),en=(0,c.useCallback)((function(n){var e=(null===n||void 0===n?void 0:n.split(/\n/))||[];if(e.length>1){var t=e.slice(0,-1);nn(g+t.join("\n"));var r=(e.slice(-1)[0]||"").trim();I(r),E(r.length)}else I((function(e){return e+n})),E(g.length+n.length)}),[g,nn,I,E]);K(d,(function(n,e,t){var o=n.code,i=n.key;if(A)if((0,Z.j)(n),(0,O.y)([j.PQ,j.VS],e))(null===g||void 0===g?void 0:g.length)>=0&&(r(JSON.stringify(S(S({},q),{},{command:["stdin",g]}))),r(JSON.stringify(S(S({},q),{},{command:["stdin","\x03"]}))),E(0)),I("");else if(j.Qj!==o||e[j.zX])if((0,O.y)([j.QK],e))J();else if((0,O.y)([j.DY],e))$();else if((0,O.y)([j.Bu],e)){if(H.length>=1){var c,a=Math.max(0,M-1);I(H[a]),F(a),E((null===(c=H[a])||void 0===c?void 0:c.length)||0)}}else if((0,O.y)([j.kD],e)){if(H.length>=1){var l=Math.min(H.length,M+1),u=H[l]||"";I(u),F(l),E(u.length)}}else if((0,O.y)([j.Uq],e))nn(g);else if((0,O.y)([j.zX,j.VS],e))navigator.clipboard.writeText(window.getSelection().toString());else if((0,O.y)([j.zX,j.Pd],e)||(0,O.y)([j.PQ,j.Pd],e)){var d,s,p,f,h;"undefined"===typeof(null===(d=navigator)||void 0===d?void 0:d.clipboard)?alert('Clipboard pasting is not allowed in insecure contexts. If your Mage deployment is not secure but you still want to use clipboard paste, you can override this setting (which should only be done temporarily) on Chrome browsers by going to "chrome://flags/#unsafely-treat-insecure-origin-as-secure", adding your origin to "Insecure origins treated as secure", and enabling that setting.'):null!==(s=navigator)&&void 0!==s&&null!==(p=s.clipboard)&&void 0!==p&&p.readText?navigator.clipboard.readText().then(en).catch((function(n){return alert("".concat(n,'\n For Chrome, users need to allow clipboard permissions for this site under "Privacy and security" -> "Site settings".\n For Safari, users need to allow the clipboard paste by clicking "Paste" in the context menu that appears.'))})):null!==(f=navigator)&&void 0!==f&&null!==(h=f.clipboard)&&void 0!==h&&h.read?navigator.clipboard.read().then((function(n){var e,t=C(n);try{for(t.s();!(e=t.n()).done;){var r,o=e.value,i=C(o.types);try{for(i.s();!(r=i.n()).done;){var c=r.value;if("text/plain"===c)return o.getType(c)}}catch(a){i.e(a)}finally{i.f()}}}catch(a){t.e(a)}finally{t.f()}})).then((function(n){return n.text()})).then(en).catch((function(n){return alert("".concat(n,'\n For Firefox, users need to allow clipboard paste by setting the "dom.events.asyncClipboard.read" preference in "about:config" to "true" and clicking "Paste" in the context menu that appears.'))})):alert('If pasting is not working properly, you may need to adjust some settings in your browser.\n\n For Firefox, users need to allow clipboard paste by setting both the "dom.events.asyncClipboard.clipboardItem" and "dom.events.asyncClipboard.read" preferences in "about:config" to "true" and clicking "Paste" in the context menu that appears.\n For Chrome, users need to allow clipboard permissions for this site under "Privacy and security" -> "Site settings".\n For Safari, users need to allow the clipboard paste by clicking "Paste" in the context menu that appears.\n')}else e[j.zX]||e[j.PQ]||1!==i.length||(I((function(n){return n.slice(0,D)+i+n.slice(D)})),E((function(n){return n+1})));else{var b=Math.max(0,D-1);I((function(n){return n.slice(0,b)+n.slice(D)})),E((function(n){return Math.max(0,n-1)}))}}),[g,H,M,A,I,B,F,d]);var tn=(0,c.useMemo)((function(){var n;return null===(n=Y[Y.length-1])||void 0===n?void 0:n.data}),[Y]);return(0,P.jsx)(b,{ref:p,width:s,children:(0,P.jsx)(l.Z,{isOpen:!0,onClick:function(){null===t||void 0===t||t(),L(!0),X(!0)},onClickOutside:function(){L(!1),X(!1)},style:{minHeight:"100%"},children:(0,P.jsxs)(m,{ref:f,width:s,children:[null===Y||void 0===Y?void 0:Y.reduce((function(n,e,t){if(t==Y.length-1)return n;var r=e||{},o=r.command,c=r.data,a=r.type,l=[];l=(l=Array.isArray(c)?c:[c]).filter((function(n){return n}));var d=[];return l.forEach((function(n,e){var r;if(y.jU.includes(a)&&(r=(0,P.jsx)(u.ZP,{monospace:!0,preWrap:!0,children:n&&(0,P.jsx)(i(),{children:n})})),r){var c="command-".concat(t,"-").concat(e,"-").concat(n);o||d.push((0,P.jsx)("div",{children:r},c))}})),n.concat(d)}),[]),(0,P.jsx)(v,{focused:A&&0===(null===g||void 0===g?void 0:g.length),children:(0,P.jsxs)(u.ZP,{monospace:!0,children:[(0,P.jsx)(u.ZP,{inline:!0,monospace:!0,children:tn&&(0,P.jsx)(i(),{children:tn})}),null===g||void 0===g?void 0:g.split("").map((function(n,e,t){return(0,P.jsxs)(x,{focusBeginning:A&&0===D&&0===e,focused:A&&(D===e+1||D>=t.length&&e===t.length-1),children:[" "===n&&(0,P.jsx)(P.Fragment,{children:"\xa0"}),"\n"===n&&(0,P.jsx)("br",{})," "!==n&&n]},"command-".concat(e,"-").concat(n))}))]})})]})})})}},86585:function(n,e,t){t.d(e,{Mz:function(){return l},T5:function(){return d},bf:function(){return u}});var r,o=t(82394),i=t(22341),c=t(88560),a=t(49125),l=7*a.iI,u=22,d=(a.iI,a.iI,r={},(0,o.Z)(r,c.RL.CATEGORY,i.WD),(0,o.Z)(r,c.RL.CATEGORY_HIGH_CARDINALITY,i.Rj),(0,o.Z)(r,c.RL.DATETIME,i.aw),(0,o.Z)(r,c.RL.EMAIL,i.GT),(0,o.Z)(r,c.RL.LIST,i.aV),(0,o.Z)(r,c.RL.NUMBER,i.qZ),(0,o.Z)(r,c.RL.NUMBER_WITH_DECIMALS,i.As),(0,o.Z)(r,c.RL.PHONE_NUMBER,i.LP),(0,o.Z)(r,c.RL.TEXT,i.KJ),(0,o.Z)(r,c.RL.TRUE_OR_FALSE,i.Kb),(0,o.Z)(r,c.RL.UUID,i.SS),(0,o.Z)(r,c.RL.ZIP_CODE,i.$t),r)},3055:function(n,e,t){t.d(e,{I5:function(){return l},Mz:function(){return a},y7:function(){return c}});var r=t(38626),o=t(23831),i=t(49125),c=2.5*i.iI,a=6*i.iI,l=r.default.div.withConfig({displayName:"indexstyle__HeaderStyle",componentId:"sc-1bk8irg-0"})(["height:","px;left:0;padding-left:","px;padding-right:","px;position:fixed;top:0;width:100%;z-index:10;",""],a,2*i.iI,2*i.iI,(function(n){return"\n background-color: ".concat((n.theme.background||o.Z.background).panel,";\n border-bottom: 1px solid ").concat((n.theme.borders||o.Z.borders).medium,";\n ")}))},41424:function(n,e,t){t.d(e,{Z:function(){return sn}});var r=t(75582),o=t(12691),i=t.n(o),c=t(82684),a=t(34376),l=t(35490),u=t(28413),d=t(60328),s=t(16634),p=t(47999),f=t(57639),h=t(93461),b=t(67971),m=t(62084),g=t(82394),v=t(56085),x=t(83455),y=t(38341),j=t(55378),w=t(86673),O=t(54283),Z=t(33699),k=t(19711),P=t(38435),C=t(82944),I=t(70902),_=t(82531),S=t(22341),M=t(38626),F=t(23831),T=t(73942),D=t(86585),E=t(37391),z=t(49125),H=M.default.div.withConfig({displayName:"GitActionsstyle__HeaderStyle",componentId:"sc-ynrhio-0"})(["border-bottom:1px solid #1B1C20;height:","px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;"],D.Mz),B=M.default.div.withConfig({displayName:"GitActionsstyle__TerminalStyle",componentId:"sc-ynrhio-1"})(["height:calc(75vh - ","px);position:relative;"],D.Mz),R=M.default.div.withConfig({displayName:"GitActionsstyle__PanelStyle",componentId:"sc-ynrhio-2"})(["height:75vh;min-height:300px;width:75vw;backgroundColor:#232429;border-radius:","px;",""],T.n_,(function(n){return"\n background-color: ".concat((n.theme.background||F.Z.background).panel,";\n ")})),A=M.default.div.withConfig({displayName:"GitActionsstyle__OutputStyle",componentId:"sc-ynrhio-3"})([""," padding:","px;height:calc(75vh - ","px);overflow-y:auto;"],E.w5,2*z.iI,D.Mz),L=t(94353),N=t(28799),U=t(96510),W=t(24224),G=t(28598);function q(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function Y(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?q(Object(t),!0).forEach((function(e){(0,g.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):q(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var V={clone:"Clone repository",new_branch:"Create new branch",commit:"Commit & push",pull:"Pull",reset_hard:"Hard reset"};var K=function(n){var e,t=n.branch,o=(n.fetchBranch,(0,c.useState)()),i=o[0],a=o[1],u=(0,c.useState)(),s=u[0],p=u[1],f=(0,c.useState)(),h=f[0],m=f[1],g=(0,c.useState)(),M=g[0],F=g[1],T=(0,c.useState)(),D=T[0],E=T[1],z=(0,c.useState)(),q=z[0],K=z[1],X=_.ZP.git_custom_branches.list(),Q=X.data,J=X.mutate,$=(0,c.useMemo)((function(){return null===Q||void 0===Q?void 0:Q.git_custom_branches}),[Q]),nn=_.ZP.syncs.list().data,en=(0,c.useMemo)((function(){var n;if(nn)return null===(n=nn.syncs)||void 0===n?void 0:n[0]}),[nn]),tn=(0,x.Db)(_.ZP.git_branches.useCreate(),{onSuccess:function(n){return(0,U.wD)(n,{callback:function(){J(),window.location.reload()},onErrorCallback:function(n){var e=n.error.exception;E(e)}})}}),rn=(0,r.Z)(tn,2),on=rn[0],cn=rn[1].isLoading,an=(0,x.Db)((function(){return _.ZP.git_branches.useUpdate(t)({git_branch:{action_type:"status"}})}),{onSuccess:function(n){return(0,U.wD)(n,{onErrorCallback:function(n){var e=n.error.exception;E(e)}})}}),ln=(0,r.Z)(an,1)[0],un=(0,x.Db)(_.ZP.git_branches.useUpdate(t),{onSuccess:function(n){return(0,U.wD)(n,{callback:function(){E(null),F("DONE")},onErrorCallback:function(n){var e=n.error.exception;E(e)}})}}),dn=(0,r.Z)(un,2),sn=dn[0],pn=dn[1].isLoading,fn=(0,x.Db)(_.ZP.git_branches.useUpdate(t),{onSuccess:function(n){return(0,U.wD)(n,{callback:function(){E(null),window.location.reload()},onErrorCallback:function(n){var e=n.error.exception;E(e)}})}}),hn=(0,r.Z)(fn,2),bn=hn[0],mn=hn[1].isLoading,gn=(0,c.useState)(),vn=gn[0],xn=gn[1],yn=(0,c.useState)([]),jn=yn[0],wn=yn[1],On=(0,c.useState)([]),Zn=On[0],kn=On[1],Pn=(0,c.useCallback)((function(){ln().then((function(n){var e=n.data,t=null===e||void 0===e?void 0:e.git_branch,r=null===t||void 0===t?void 0:t.status,o=null===t||void 0===t?void 0:t.modified_files,i=null===t||void 0===t?void 0:t.untracked_files;xn(r),wn(i),kn(o)}))}),[ln]),Cn=(0,c.useMemo)((function(){return cn||pn||mn}),[cn,pn,mn]);(0,c.useEffect)((function(){return Pn()}),[h,Pn]);var In=(0,c.useMemo)((function(){return new l.Z}),[]),_n=(0,c.useMemo)((function(){var n={api_key:L.l,term_name:"git",token:In.decodedToken.token};return null!==en&&void 0!==en&&en.repo_path&&(n.cwd=null===en||void 0===en?void 0:en.repo_path),n}),[In,null===en||void 0===en?void 0:en.repo_path]),Sn=(0,v.ZP)((0,N.Ib)("terminal"),{queryParams:_n,shouldReconnect:function(){return!0}},"cwd"in _n),Mn=Sn.lastMessage,Fn=Sn.sendMessage,Tn=function(n){return(0,G.jsx)(y.Z,{checked:((null===i||void 0===i?void 0:i.files)||[]).includes(n),label:(0,G.jsx)(k.ZP,{small:!0,children:n}),onClick:function(){a((function(e){var t=(null===e||void 0===e?void 0:e.files)||[];return t=t.includes(n)?(0,W.Od)(t,(function(e){return e===n})):[n].concat(t),Y(Y({},e),{},{files:t})}))},small:!0},n)},Dn=(0,c.useMemo)((function(){return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(d.Z,{onClick:function(){return a((function(n){return Y(Y({},n),{},{files:Zn.concat(jn)})}))},children:"Include all changes"}),Zn&&Zn.length>0&&(0,G.jsxs)(w.Z,{mb:1,children:[(0,G.jsx)(w.Z,{my:1,children:(0,G.jsx)(k.ZP,{children:"Modified files"})}),Zn.map(Tn)]}),jn&&jn.length>0&&(0,G.jsxs)(w.Z,{mb:1,children:[(0,G.jsx)(w.Z,{my:1,children:(0,G.jsx)(k.ZP,{children:"Untracked files"})}),jn.map(Tn)]})]})}),[Zn,i,jn]),En=(0,c.useMemo)((function(){return(0,G.jsx)(w.Z,{p:2,children:Cn?(0,G.jsx)(O.Z,{color:"white"}):(0,G.jsxs)(G.Fragment,{children:["commit"===h&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(P.Z,{compact:!0,fullWidth:!0,label:"Commit message",monospace:!0,onChange:function(n){return a((function(e){return Y(Y({},e),{},{message:n.target.value})}))},required:!0,value:null===i||void 0===i?void 0:i.message}),(0,G.jsx)(w.Z,{mt:1}),(0,G.jsxs)(b.Z,{children:[(0,G.jsx)(d.Z,{borderLess:!0,onClick:function(){sn({git_branch:Y({action_type:"commit"},i)}).then((function(){Pn(),a(null)}))},success:!0,children:"Commit"}),(0,G.jsx)(w.Z,{mr:1}),(0,G.jsx)(d.Z,{borderLess:!0,onClick:function(){sn({git_branch:{action_type:"push"}})},primary:!0,children:"Push"})]})]}),"new_branch"===h&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(C.Z,{compact:!0,fullWidth:!0,label:"Branch name",monospace:!0,onChange:function(n){return a({name:n.target.value})},value:null===i||void 0===i?void 0:i.name}),(0,G.jsx)(w.Z,{mt:1}),(0,G.jsx)(d.Z,{borderLess:!0,onClick:function(){on({git_branch:i})},primary:!0,children:"Create"})]}),"clone"===h&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(k.ZP,{children:["Clone from ",(0,G.jsx)(k.ZP,{default:!0,inline:!0,children:null===en||void 0===en?void 0:en.remote_repo_link})," to ",(0,G.jsx)(k.ZP,{default:!0,inline:!0,children:null===en||void 0===en?void 0:en.repo_path}),". This ",(0,G.jsx)(k.ZP,{danger:!0,inline:!0,children:"will overwrite"})," any existing data in the local repository."]}),(0,G.jsx)(w.Z,{mt:1}),(0,G.jsx)(d.Z,{borderLess:!0,onClick:function(){bn({git_branch:{action_type:"clone"}})},primary:!0,children:"Clone"})]}),"pull"===h&&(0,G.jsx)(d.Z,{borderLess:!0,onClick:function(){bn({git_branch:{action_type:"pull"}})},primary:!0,children:"Pull"}),"reset_hard"===h&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(w.Z,{mb:1,children:(0,G.jsx)(k.ZP,{children:s||"This will reset your local branch to match the remote branch."})}),s?(0,G.jsx)(d.Z,{borderLess:!0,onClick:function(){p(null),bn({git_branch:{action_type:"reset"}})},warning:!0,children:"Confirm"}):(0,G.jsx)(d.Z,{borderLess:!0,onClick:function(){return p("Are you sure you want to reset your branch? Your local changes may be erased.")},primary:!0,children:"Reset branch"})]}),(0,G.jsx)(w.Z,{mt:1,children:!Cn&&(0,G.jsxs)(G.Fragment,{children:[!D&&M&&(0,G.jsx)(k.ZP,{children:M}),D&&(0,G.jsx)(k.ZP,{preWrap:!0,danger:!0,children:D})]})})]})})}),[Cn,h,D,en,M,i,s,vn]),zn=(0,c.useMemo)((function(){return(0,G.jsx)(Z.Z,{lastMessage:Mn,sendMessage:Fn})}),[Mn,Fn]);return(0,G.jsxs)(R,{children:[(0,G.jsxs)(H,{children:[(0,G.jsx)(w.Z,{m:2,children:(0,G.jsxs)(b.Z,{children:[(0,G.jsx)(j.Z,{beforeIcon:(0,G.jsx)(S.I0,{}),compact:!0,onChange:function(n){n.preventDefault(),on({git_branch:{name:n.target.value}})},placeholder:"Select a branch",value:t,children:null===$||void 0===$?void 0:$.map((function(n){var e=n.name;return(0,G.jsx)("option",{value:e,children:e},e)}))},"select_branch"),(0,G.jsx)(w.Z,{ml:2}),(0,G.jsxs)(j.Z,{compact:!0,onChange:function(n){n.preventDefault(),m(n.target.value),K(!1),F(null),a(null)},value:h,children:[(0,G.jsx)("option",{value:"",children:"Select an action"}),Object.entries(V).map((function(n){var e=(0,r.Z)(n,2),t=e[0],o=e[1];return(0,G.jsx)("option",{value:t,children:o},t)}))]},"select_git_action")]})}),(0,G.jsx)(w.Z,{m:2,children:(0,G.jsxs)(b.Z,{alignItems:"center",children:[(0,G.jsx)(k.ZP,{children:"UI"}),(0,G.jsx)(w.Z,{ml:1}),(0,G.jsx)(I.Z,{checked:!!q,monotone:!0,onCheck:function(){return K((function(n){return!n}))}}),(0,G.jsx)(w.Z,{ml:1}),(0,G.jsx)(k.ZP,{children:"Terminal"})]})})]}),(0,G.jsxs)(b.Z,{children:[(0,G.jsx)("div",{style:{width:"50%"},children:(0,G.jsx)(A,{children:"commit"===h?Dn:(0,G.jsx)(G.Fragment,{children:null===vn||void 0===vn||null===(e=vn.split("\\n"))||void 0===e?void 0:e.map((function(n){return(0,G.jsx)(k.ZP,{monospace:!0,preWrap:!0,small:!0,children:n},n)}))})})}),(0,G.jsx)("div",{style:{width:"50%"},children:q?(0,G.jsx)(B,{children:zn}):En})]})]})},X=18.53/14;var Q=function(n){var e=n.height,t=n.width,r=e||(t?t*(1/X):14),o=t||(e?e*X:18.53);return(0,G.jsxs)("svg",{width:o,height:r,viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,G.jsx)("path",{opacity:"0.4",d:"M15.3266 0L19.2641 1.82961e-06L11.9687 14L8.03125 14L15.3266 0Z",fill:"url(#paint0_linear_1303_5)"}),(0,G.jsx)("path",{d:"M11.9692 1.82961e-06L8.03164 0L0.736328 14L4.67383 14L8.03164 7.55626V14H11.9691V8.38194e-05L11.9692 1.82961e-06Z",fill:"url(#paint1_linear_1303_5)"}),(0,G.jsx)("path",{d:"M15.3269 2.57679e-06H19.2644V14H15.3269V2.57679e-06Z",fill:"url(#paint2_linear_1303_5)"}),(0,G.jsxs)("defs",{children:[(0,G.jsxs)("linearGradient",{id:"paint0_linear_1303_5",x1:"8.03125",y1:"7",x2:"19.2641",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,G.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,G.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]}),(0,G.jsxs)("linearGradient",{id:"paint1_linear_1303_5",x1:"0.736328",y1:"7",x2:"19.2644",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,G.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,G.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]}),(0,G.jsxs)("linearGradient",{id:"paint2_linear_1303_5",x1:"0.736328",y1:"7",x2:"19.2644",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,G.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,G.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})]})]})},J=t(11135),$=t(10919),nn=M.default.svg.withConfig({displayName:"Mage8Bit__SVGStyle",componentId:"sc-cj6ltf-0"})([""]),en=function(n){var e=n.size,t=void 0===e?20:e,r=n.viewBox,o=void 0===r?"0 0 20 20":r;return(0,G.jsxs)(nn,{height:t,viewBox:o,width:t,children:[(0,G.jsxs)("g",{clipPath:"url(#clip0_297_42814)",children:[(0,G.jsx)("path",{d:"M13.334 0h1.66667v1.66667H13.334zM11.666 1.6665h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M10 1.6665h1.66667v1.66667H10z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M8.33398 1.6665h1.66667v1.66667H8.33398z",fill:"#AF93FF"}),(0,G.jsx)("path",{d:"M8.33398 3.3335h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M6.66602 3.3335h1.66667v1.66667H6.66602z",fill:"#AF93FF"}),(0,G.jsx)("path",{d:"M3.33398 5h1.66667v1.66667H3.33398z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M5 5h1.66667v1.66667H5z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M6.66602 5h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M6.66602 5h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M6.66602 8.3335h1.66667v1.66667H6.66602z",fill:"#000"}),(0,G.jsx)("path",{d:"M6.66602 6.6665h1.66667v1.66667H6.66602z",fill:"#AD8FFF"}),(0,G.jsx)("path",{d:"M6.66602 10h1.66667v1.66667H6.66602z",fill:"#C9B6FF"}),(0,G.jsx)("path",{d:"M8.33398 6.6665h1.66667v1.66667H8.33398z",fill:"#AD8FFF"}),(0,G.jsx)("path",{d:"M1.66602 13.3335h1.66667v1.66667H1.66602z",fill:"#C9B6FF"}),(0,G.jsx)("path",{d:"M1.66602 11.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,G.jsx)("path",{d:"M1.66602 10h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,G.jsx)("path",{d:"M1.66602 8.3335h1.66667v1.66667H1.66602zM1.66602 6.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,G.jsx)("path",{d:"M1.66602 6.6665h1.66667v1.66667H1.66602zM0 0h1.66667v1.66667H0zM3.33398 1.6665h1.66667v1.66667H3.33398zM0 3.3335h1.66667v1.66667H0z",fill:"#2ECDF7"}),(0,G.jsx)("path",{d:"M1.66602 16.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,G.jsx)("path",{d:"M1.66602 16.6665h1.66667v1.66667H1.66602zM1.66602 18.3335h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,G.jsx)("path",{d:"M1.66602 15h1.66667v1.66667H1.66602zM3.33398 15h1.66667v1.66667H3.33398z",fill:"#C9B6FF"}),(0,G.jsx)("path",{d:"M3.33398 16.6665h1.66667v1.66667H3.33398z",fill:"#C9B6FF"}),(0,G.jsx)("path",{d:"M3.33398 13.3335h1.66667v1.66667H3.33398z",fill:"#AD8FFF"}),(0,G.jsx)("path",{d:"M8.33398 8.3335h1.66667v1.66667H8.33398z",fill:"#C9B6FF"}),(0,G.jsx)("path",{d:"M10 6.6665h1.66667v1.66667H10z",fill:"#AD8FFF"}),(0,G.jsx)("path",{d:"M10 10h1.66667v1.66667H10z",fill:"#C9B6FF"}),(0,G.jsx)("path",{d:"M11.666 6.6665h1.66667v1.66667H11.666z",fill:"#AD8FFF"}),(0,G.jsx)("path",{d:"M11.666 8.3335h1.66667v1.66667H11.666z",fill:"#C9B6FF"}),(0,G.jsx)("path",{d:"M8.33398 10h1.66667v1.66667H8.33398z",fill:"#FF8DA9"}),(0,G.jsx)("path",{d:"M8.33398 11.6665h1.66667v1.66667H8.33398z",fill:"#FF8DA9"}),(0,G.jsx)("path",{d:"M6.66602 11.6665h1.66667v1.66667H6.66602z",fill:"#D9D9D9"}),(0,G.jsx)("path",{d:"M6.66602 11.6665h1.66667v1.66667H6.66602z",fill:"#D9D9D9"}),(0,G.jsx)("path",{d:"M5 10h1.66667v1.66667H5z",fill:"#D9D9D9"}),(0,G.jsx)("path",{d:"M5 8.3335h1.66667v1.66667H5z",fill:"#232429"}),(0,G.jsx)("path",{d:"M8.33398 11.6665h1.66667v1.66667H8.33398zM8.33398 13.3335h1.66667v1.66667H8.33398z",fill:"#D9D9D9"}),(0,G.jsx)("path",{d:"M10 11.6665h1.66667v1.66667H10z",fill:"#D9D9D9"}),(0,G.jsx)("path",{d:"M11.666 10h1.66667v1.66667H11.666zM13.334 6.6665h1.66667v1.66667H13.334zM13.334 8.3335h1.66667v1.66667H13.334z",fill:"#D9D9D9"}),(0,G.jsx)("path",{d:"M15 8.3335h1.66667v1.66667H15z",fill:"#757575"}),(0,G.jsx)("path",{d:"M15 10h1.66667v1.66667H15z",fill:"#D9D9D9"}),(0,G.jsx)("path",{d:"M10 8.3335h1.66667v1.66667H10z",fill:"#000"}),(0,G.jsx)("path",{d:"M8.33398 5h1.66667v1.66667H8.33398zM11.666 5h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M13.334 10h1.66667v1.66667H13.334zM11.666 11.6665h1.66667v1.66667H11.666zM10 13.3335h1.66667v1.66667H10z",fill:"#501FD8"}),(0,G.jsx)("path",{d:"M8.33398 15h1.66667v1.66667H8.33398zM6.66602 13.3335h1.66667v1.66667H6.66602zM15 11.6665h1.66667v1.66667H15z",fill:"#501FD8"}),(0,G.jsx)("path",{d:"M16.666 11.6665h1.66667v1.66667H16.666zM16.666 13.3335h1.66667v1.66667H16.666z",fill:"#501FD8"}),(0,G.jsx)("path",{d:"M15 13.3335h1.66667v1.66667H15z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M13.334 13.3335h1.66667v1.66667H13.334zM13.334 11.6665h1.66667v1.66667H13.334zM11.666 13.3335h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M11.666 15h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M10 15h1.66667v1.66667H10z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M8.33398 16.6665h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M6.66602 15h1.66667v1.66667H6.66602z",fill:"#AF93FF"}),(0,G.jsx)("path",{d:"M6.66602 16.6665h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M5 16.6665h1.66667v1.66667H5z",fill:"#AF93FF"}),(0,G.jsx)("path",{d:"M5 18.3335h1.66667v1.66667H5z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M6.66602 18.3335h1.66667v1.66667H6.66602zM8.33398 18.3335h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M10 18.3335h1.66667v1.66667H10z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M11.666 18.3335h1.66667v1.66667H11.666zM13.334 18.3335h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M15 18.3335h1.66667v1.66667H15z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M16.666 18.3335h1.66667v1.66667H16.666z",fill:"#652EFF"}),(0,G.jsx)("path",{d:"M3.33398 18.3335h1.66667v1.66667H3.33398zM10 16.6665h1.66667v1.66667H10z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M11.666 16.6665h1.66667v1.66667H11.666zM13.334 15h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M13.334 16.6665h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M15 16.6665h1.66667v1.66667H15z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M15 15h1.66667v1.66667H15z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M16.666 15h1.66667v1.66667H16.666zM18.334 16.6665h1.66667v1.66667H18.334zM18.334 18.3335h1.66667v1.66667H18.334z",fill:"#501FD8"}),(0,G.jsx)("path",{d:"M16.666 16.6665h1.66667v1.66667H16.666z",fill:"#652EFF"}),(0,G.jsx)("path",{d:"M13.334 5h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M15 5h1.66667v1.66667H15zM10 5h1.66667v1.66667H10z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M10 3.3335h1.66667v1.66667H10z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M11.666 3.3335h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,G.jsx)("path",{d:"M11.666 0h1.66667v1.66667H11.666z",fill:"#AF93FF"})]}),(0,G.jsx)("defs",{children:(0,G.jsx)("clipPath",{id:"clip0_297_42814",children:(0,G.jsx)("path",{d:"M0 0h20v20H0z",fill:"#fff"})})})]})},tn=t(62609),rn=t(46261),on=t(73899),cn=t(3055),an=t(64318),ln=t(9736),un=t(59e3),dn=t(99497);var sn=function(n){var e=n.breadcrumbs,t=n.menuItems,o=n.project,g=n.version,v=(0,c.useState)(!1),x=v[0],y=v[1],j=(0,c.useState)(null),O=j[0],Z=j[1],P=(0,c.useState)(!1),C=P[0],I=P[1],M=(0,c.useState)(null),F=M[0],T=M[1],D=(0,c.useRef)(null),E=(0,c.useRef)(null),H=(0,a.useRouter)(),B=_.ZP.git_custom_branches.detail("test",{_format:"with_basic_details"},{revalidateOnFocus:!1}),R=B.data,A=B.mutate,L=(0,c.useMemo)((function(){var n;return null===R||void 0===R||null===(n=R.git_custom_branch)||void 0===n?void 0:n.name}),[R]),N=_.ZP.projects.list({},{revalidateOnFocus:!1},{pauseFetch:!!o}).data,U=(0,c.useMemo)((function(){var n;return o||(null===N||void 0===N||null===(n=N.projects)||void 0===n?void 0:n[0])}),[N,o]),W=(0,c.useMemo)((function(){return g||(null===U||void 0===U?void 0:U.version)}),[U,g]),q=l.Z.isLoggedIn(),Y=(0,c.useMemo)((function(){return e||[{bold:!0,label:function(){return null===U||void 0===U?void 0:U.name},linkProps:{href:"/",sameColorText:!0}}]}),[e,U]),V=H.query.pipeline,X=(U||{}).latest_version,nn=(0,c.useMemo)((function(){return(0,G.jsx)(i(),{as:"/",href:"/",passHref:!0,children:(0,G.jsx)($.Z,{block:!0,height:cn.y7,noHoverUnderline:!0,noOutline:!0,children:(0,G.jsx)(Q,{height:cn.y7})})})}),[]),sn=[{label:function(){return"Settings"},linkProps:{href:"/settings/workspace/preferences"},uuid:"user_settings"}];(0,ln.YB)()&&sn.push({label:function(){return"Sign out"},onClick:function(){l.Z.logout((function(){_.ZP.sessions.updateAsync(null,1).then((function(){(0,un.nL)("/sign-in")})).catch((function(){(0,un.nL)("/")}))}))},uuid:"sign_out"});var pn=(0,dn.dd)((function(){return(0,G.jsx)(K,{branch:L,fetchBranch:A})}),{},[L,A],{background:!0,uuid:"git_actions"}),fn=(0,r.Z)(pn,2),hn=fn[0],bn=(fn[1],(0,c.useMemo)((function(){return(null===L||void 0===L?void 0:L.length)>=21?"".concat(L.slice(0,21),"..."):L}),[L]));return(0,G.jsx)(cn.I5,{children:(0,G.jsx)(f.Z,{children:(0,G.jsxs)(b.Z,{alignItems:"center",fullHeight:!0,justifyContent:"space-between",children:[(0,G.jsxs)(h.Z,{alignItems:"center",children:[W&&(0,G.jsx)(rn.Z,{height:cn.y7,label:"Version ".concat(W),size:null,visibleDelay:300,widthFitContent:!0,children:nn}),!W&&nn,(0,G.jsx)(u.Z,{breadcrumbs:Y})]}),(0,G.jsxs)(h.Z,{alignItems:"center",children:[X&&W&&X!==W&&(0,G.jsx)(w.Z,{ml:2,children:(0,G.jsx)(d.Z,{borderLess:!0,linkProps:{href:"https://docs.mage.ai/about/releases"},noHoverUnderline:!0,primary:!0,target:"_blank",children:(0,G.jsxs)(k.ZP,{children:["\ud83d\ude80 Download new version ",(0,G.jsx)(k.ZP,{bold:!0,inline:!0,monospace:!0,children:X})]})})}),L&&(0,G.jsx)(w.Z,{ml:2,children:(0,G.jsx)(J.ZP,{blackBorder:!0,block:!0,compact:!0,noHoverUnderline:!0,onClick:hn,sameColorAsText:!0,uuid:"Header/GitActions",children:(0,G.jsxs)(b.Z,{alignItems:"center",children:[(0,G.jsx)(S.I0,{size:1.5*z.iI}),(0,G.jsx)(w.Z,{ml:1}),(0,G.jsx)(k.ZP,{monospace:!0,small:!0,children:bn})]})})}),W&&"undefined"!==typeof W&&(0,G.jsx)(w.Z,{ml:2,children:(0,G.jsx)($.Z,{default:!0,href:"https://www.mage.ai/changelog",monospace:!0,openNewWindow:!0,children:"v".concat(W)})}),(0,G.jsx)(w.Z,{ml:2,children:(0,G.jsx)(J.ZP,{beforeElement:(0,G.jsx)(S.jR,{}),blackBorder:!0,compact:!0,inline:!0,linkProps:{as:"https://www.mage.ai/chat",href:"https://www.mage.ai/chat"},noHoverUnderline:!0,openNewTab:!0,sameColorAsText:!0,uuid:"Header/live_chat",children:"Live help"})}),t&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(w.Z,{ml:2}),(0,G.jsx)(p.Z,{onClickOutside:function(){return Z(null)},open:!0,style:{position:"relative"},children:(0,G.jsxs)(b.Z,{children:[(0,G.jsx)(an.u,{highlighted:0===O,onClick:function(){return Z((function(n){return 0===n?null:0}))},onMouseEnter:function(){return Z((function(n){return null!==n?0:null}))},ref:D,children:(0,G.jsx)(k.ZP,{children:"Menu"})}),(0,G.jsx)(m.Z,{alternateBackground:!0,items:t,onClickCallback:function(){return Z(null)},open:0===O,parentRef:D,rightOffset:0,setConfirmationAction:T,setConfirmationDialogueOpen:I,uuid:"PipelineDetail/Header/menu"})]})}),(0,G.jsx)(p.Z,{onClickOutside:function(){return I(!1)},open:C,children:(0,G.jsx)(tn.Z,{danger:!0,onCancel:function(){return I(!1)},onClick:F,right:16*z.iI,subtitle:"This is irreversible and will immediately delete everything associated with the pipeline, including its blocks, triggers, runs, logs, and history.",title:"Are you sure you want to delete the pipeline ".concat(V,"?"),width:40*z.iI})})]}),(q||!(0,ln.YB)())&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(w.Z,{ml:2}),(0,G.jsx)(p.Z,{onClickOutside:function(){return y(!1)},open:!0,style:{position:"relative"},children:(0,G.jsxs)(b.Z,{children:[(0,G.jsx)(an.u,{onClick:function(){return y(!0)},ref:E,children:(0,G.jsx)(s.Z,{color:on.Jm,size:4*z.iI,children:(0,G.jsx)(en,{})})}),(0,G.jsx)(m.Z,{alternateBackground:!0,items:sn,onClickCallback:function(){return y(!1)},open:x,parentRef:E,rightOffset:0,uuid:"shared/Header/user_menu"})]})})]})]})]})})})}},57639:function(n,e,t){var r=t(82684),o=t(28598);e.Z=function(n){var e=n.children,t=(0,r.useState)(!1),i=t[0],c=t[1];return(0,r.useEffect)((function(){c(!0)}),[]),i?e:(0,o.jsx)("div",{})}},88560:function(n,e,t){t.d(e,{P_:function(){return c},RL:function(){return o},Rp:function(){return a}});var r,o,i=t(82394);!function(n){n.CATEGORY="category",n.CATEGORY_HIGH_CARDINALITY="category_high_cardinality",n.DATETIME="datetime",n.EMAIL="email",n.LIST="list",n.NUMBER="number",n.NUMBER_WITH_DECIMALS="number_with_decimals",n.PHONE_NUMBER="phone_number",n.TEXT="text",n.TRUE_OR_FALSE="true_or_false",n.UUID="uuid",n.ZIP_CODE="zip_code"}(o||(o={}));o.NUMBER,o.NUMBER_WITH_DECIMALS,o.NUMBER,o.NUMBER_WITH_DECIMALS,o.DATETIME,o.NUMBER,o.NUMBER_WITH_DECIMALS,o.CATEGORY,o.CATEGORY_HIGH_CARDINALITY,o.DATETIME,o.EMAIL,o.PHONE_NUMBER,o.TEXT,o.TRUE_OR_FALSE,o.CATEGORY,o.CATEGORY_HIGH_CARDINALITY,o.DATETIME,o.EMAIL,o.PHONE_NUMBER,o.TEXT;var c=[o.CATEGORY,o.CATEGORY_HIGH_CARDINALITY],a=(r={},(0,i.Z)(r,o.NUMBER,"Number"),(0,i.Z)(r,o.NUMBER_WITH_DECIMALS,"Decimal number"),(0,i.Z)(r,o.CATEGORY,"Category"),(0,i.Z)(r,o.CATEGORY_HIGH_CARDINALITY,"Category (high cardinality)"),(0,i.Z)(r,o.DATETIME,"Date/Time"),(0,i.Z)(r,o.EMAIL,"Email"),(0,i.Z)(r,o.LIST,"List"),(0,i.Z)(r,o.PHONE_NUMBER,"Phone number"),(0,i.Z)(r,o.TEXT,"Text"),(0,i.Z)(r,o.TRUE_OR_FALSE,"Boolean"),(0,i.Z)(r,o.ZIP_CODE,"Zip code"),r)},82635:function(n,e,t){var r,o;t.d(e,{Gi:function(){return o},jU:function(){return c},uF:function(){return r}}),function(n){n.BUSY="busy",n.IDLE="idle",n.QUEUED="queued"}(r||(r={})),function(n){n.IMAGE_PNG="image/png",n.PROGRESS="progress",n.TABLE="table",n.TEXT="text",n.TEXT_HTML="text/html",n.TEXT_PLAIN="text/plain"}(o||(o={}));var i,c=[o.TEXT,o.TEXT_PLAIN];!function(n){n.DISPLAY_DATA="display_data",n.STATUS="status",n.STREAM="stream",n.STREAM_PIPELINE="stream_pipeline"}(i||(i={}))},62084:function(n,e,t){t.d(e,{Z:function(){return S}});var r=t(82394),o=t(82684),i=t(12691),c=t.n(i),a=t(34376),l=t(93461),u=t(67971),d=t(79749),s=t(86673),p=t(19711),f=t(46261),h=t(22341),b=t(38626),m=t(23831),g=t(73942),v=t(49125),x=b.default.div.withConfig({displayName:"indexstyle__FlyoutMenuContainerStyle",componentId:"sc-1o7k6f4-0"})(["position:absolute;max-height:","px;"," "," ",""],58*v.iI,(function(n){return n.width&&"\n min-width: 0px;\n width: ".concat(n.width,"px;\n ")}),(function(n){return"\n box-shadow: ".concat((n.theme.shadow||m.Z.shadow).popup,";\n\n &:hover {\n background-color: ").concat((n.theme.interactive||m.Z.interactive).hoverBackground,";\n }\n ")}),(function(n){return n.roundedStyle&&"\n border: ".concat(g.YF,"px ").concat(g.M8," ").concat((n.theme||m.Z).borders.button,";\n border-radius: ").concat(g.n_,"px;\n\n div:first-child {\n border-top-left-radius: ").concat(g.n_,"px;\n border-top-right-radius: ").concat(g.n_,"px;\n }\n\n div:last-child {\n border-bottom-left-radius: ").concat(g.n_,"px;\n border-bottom-right-radius: ").concat(g.n_,"px;\n }\n ")})),y=b.default.div.withConfig({displayName:"indexstyle__TitleContainerStyle",componentId:"sc-1o7k6f4-1"})(["padding:","px;padding-bottom:0;",""],v.iI,(function(n){return"\n background-color: ".concat((n.theme.background||m.Z.background).popup,";\n ")})),j=(0,b.css)(["justify-content:space-between;padding:","px;"," "," "," "," "," "," ",""],v.iI,(function(n){return n.largePadding&&"\n padding: ".concat(1.5*v.iI,"px;\n padding-right: ").concat(6*v.iI,"px;\n ")}),(function(n){return!n.disabled&&"\n &:hover {\n background-color: ".concat((n.theme.interactive||m.Z.interactive).hoverBackground,";\n cursor: pointer;\n }\n ")}),(function(n){return"\n background-color: ".concat((n.theme.background||m.Z.background).popup,";\n ")}),(function(n){return n.alternateBackground&&"\n background-color: ".concat((n.theme.interactive||m.Z.interactive).defaultBackground,";\n ")}),(function(n){return n.disabled&&"\n color: ".concat((n.theme.content||m.Z.content).disabled,";\n cursor: not-allowed;\n\n &:hover {\n color: ").concat((n.theme.content||m.Z.content).disabled,";\n }\n ")}),(function(n){return n.indent&&"\n padding-left: ".concat(2*v.iI,"px;\n ")}),(function(n){return n.highlighted&&"\n background-color: ".concat((n.theme.interactive||m.Z.interactive).hoverBackground,";\n ")})),w=b.default.div.withConfig({displayName:"indexstyle__LinkStyle",componentId:"sc-1o7k6f4-2"})(["",""],j),O=b.default.a.withConfig({displayName:"indexstyle__LinkAnchorStyle",componentId:"sc-1o7k6f4-3"})([""," display:block;"],j),Z=t(16115),k=t(66653),P=t(41150),C=t(28598);function I(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function _(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?I(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):I(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var S=function(n){var e,t,i=n.alternateBackground,b=n.disableKeyboardShortcuts,m=n.items,g=n.left,v=n.onClickCallback,j=n.open,I=n.parentRef,S=n.rightOffset,M=n.roundedStyle,F=n.setConfirmationAction,T=n.setConfirmationDialogueOpen,D=n.topOffset,E=void 0===D?0:D,z=n.uuid,H=n.width,B=(0,o.useState)([]),R=B[0],A=B[1],L=(0,o.useState)({}),N=L[0],U=L[1],W=(0,o.useState)(0),G=W[0],q=W[1],Y=(0,o.useState)(0),V=Y[0],K=Y[1],X=((null===I||void 0===I||null===(e=I.current)||void 0===e||null===(t=e.getBoundingClientRect)||void 0===t?void 0:t.call(e))||{}).height,Q=(0,o.useRef)({}),J=(0,o.useRef)(null),$=(0,a.useRouter)(),nn=(0,P.y)(),en=nn.registerOnKeyDown,tn=nn.unregisterOnKeyDown;return(0,o.useEffect)((function(){return function(){tn(z)}}),[tn,z]),en(z,(function(n,e,t){if(j)if(b)(0,k.j)(n);else{var r=R[0];if(e[Z.kD])(0,k.j)(n),"undefined"===typeof r||r===m.length-1?A([0]):A([r+1]);else if(e[Z.Bu])(0,k.j)(n),A("undefined"===typeof r||0===r?[m.length-1]:[r-1]);else if(e[Z.Uq]&&"undefined"!==typeof r){var o,i=m[r];if(i)if(null!==i&&void 0!==i&&i.onClick)null===i||void 0===i||null===(o=i.onClick)||void 0===o||o.call(i);else if(null!==i&&void 0!==i&&i.linkProps){var c,a;$.push(null===i||void 0===i||null===(c=i.linkProps)||void 0===c?void 0:c.href,null===i||void 0===i||null===(a=i.linkProps)||void 0===a?void 0:a.as)}null===v||void 0===v||v()}else null===m||void 0===m||m.forEach((function(n){var r=n.keyboardShortcutValidation;null===r||void 0===r||r({keyHistory:t,keyMapping:e})}))}}),[R,m,v,j,A]),(0,o.useEffect)((function(){j||A([])}),[j]),m?function n(e,t,a){var b=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,m=arguments.length>4?arguments[4]:void 0;return b+=1,(0,C.jsx)(x,{roundedStyle:M,style:{display:a||N[t]?null:"none",left:"undefined"===typeof S&&(1===b?g||0:"100%"),right:1===b?S:null,top:1===b?(X||0)+E:(2===b?G:V)||0},width:H,children:null===e||void 0===e?void 0:e.map((function(e,t){var a=e.beforeIcon,g=e.bold,x=e.disabled,j=e.items,Z=e.indent,k=e.isGroupingTitle,P=e.keyTextGroups,I=e.label,S=e.leftAligned,D=e.linkProps,E=e.onClick,z=e.openConfirmationDialogue,H=e.tooltip,B=e.uuid;m.current[B]=(0,o.createRef)();var A=D?O:w,L=I();if(k)return(0,C.jsxs)(y,{children:["string"===typeof L&&(0,C.jsx)(p.ZP,{bold:!0,muted:!0,noWrapping:!0,children:L}),"string"!==typeof L&&L]},B);var N=(0,C.jsxs)(A,{alternateBackground:i||M,disabled:x,highlighted:R[0]===t,indent:Z,largePadding:M,onClick:function(n){D||n.preventDefault(),z?(T(!0),F((function(){return E})),null===v||void 0===v||v()):E&&!x&&(null===E||void 0===E||E(),null===v||void 0===v||v())},onMouseEnter:function(){var n,e;if(U((function(n){return _(_({},n),{},(0,r.Z)({},B,!0))})),1===b)q((null===(n=m.current[B])||void 0===n||null===(e=n.current)||void 0===e?void 0:e.offsetTop)||0);else if(2===b){var t,o;K((null===(t=m.current[B])||void 0===t||null===(o=t.current)||void 0===o?void 0:o.offsetTop)||0)}},onMouseLeave:function(){U((function(n){return _(_({},n),{},(0,r.Z)({},B,!1))}))},ref:m.current[B],children:[(0,C.jsxs)(u.Z,{alignItems:"center",fullWidth:!0,justifyContent:S?"flex-start":"space-between",children:[(a||"string"===typeof L)&&(0,C.jsxs)(l.Z,{alignItems:"center",children:[a&&(0,C.jsxs)(C.Fragment,{children:[a,(0,C.jsx)(s.Z,{mr:1})]}),"string"===typeof L&&(0,C.jsx)(p.ZP,{bold:g,disabled:x,noWrapping:!0,children:L})]}),"string"!==typeof L&&L,j&&(0,C.jsx)(s.Z,{ml:2,children:(0,C.jsx)(h._Q,{})}),P&&(0,C.jsx)(s.Z,{ml:4,ref:J,children:(0,C.jsx)(d.Z,{keyTextGroups:P})})]}),j&&n(j,B,!1,b,m)]},B);return H&&(N=(0,C.jsx)(f.Z,{appearBefore:!0,block:!0,center:!0,description:H(),size:null,widthFitContent:!0,children:N})),D?(0,o.createElement)(c(),_(_({},D),{},{key:B,passHref:!0}),N):N}))})}(m,void 0,j,0,Q):null}},62609:function(n,e,t){t.d(e,{Z:function(){return m}});var r=t(60328),o=t(67971),i=t(38626),c=t(23831),a=t(73942),l=t(86585),u=t(49125),d=t(28598),s=i.default.div.withConfig({displayName:"PopupMenuContainer__ContainerStyle",componentId:"sc-lq9od4-0"})(["border-radius:","px;padding:","px;position:absolute;z-index:",";cursor:default;"," "," "," "," "," "," "," "," ",""],a.TR,2*u.iI,l.bf+100,(function(n){return"\n background-color: ".concat((n.theme.interactive||c.Z.interactive).defaultBackground,";\n box-shadow: ").concat((n.theme.shadow||c.Z.shadow).window,";\n ")}),(function(n){return"undefined"!==typeof n.left&&"\n left: ".concat(n.left,"px;\n ")}),(function(n){return"undefined"!==typeof n.right&&"\n right: ".concat(n.right,"px;\n ")}),(function(n){return"undefined"!==typeof n.top&&"\n top: ".concat(n.top,"px;\n ")}),(function(n){return"undefined"!==typeof n.bottom&&"\n bottom: ".concat(n.bottom,"px;\n ")}),(function(n){return"undefined"===typeof n.top&&"undefined"===typeof n.bottom&&"\n top: ".concat(l.Mz-1*u.iI,"px;\n ")}),(function(n){return n.centerOnScreen&&"\n top: 40%;\n left: 50%;\n transform: translate(-50%,-50%);\n "}),(function(n){return n.width&&"\n width: ".concat(n.width,"px;\n ")}),(function(n){return!n.width&&"\n min-width: ".concat(33*u.iI,"px;\n ")}));var p=function(n){var e=n.bottom,t=n.centerOnScreen,r=n.children,o=n.left,i=n.right,c=n.top,a=n.width;return(0,d.jsx)(s,{bottom:e,centerOnScreen:t,left:o,right:i,top:c,width:a,children:r})},f=t(86673),h=t(19711),b=32*u.iI;var m=function(n){var e=n.bottom,t=n.cancelText,i=n.centerOnScreen,c=n.confirmText,a=n.danger,l=n.left,u=n.isLoading,s=n.neutral,m=n.onCancel,g=n.onClick,v=n.right,x=n.subtitle,y=n.title,j=n.top,w=n.width;return(0,d.jsxs)(p,{bottom:e,centerOnScreen:i,left:l,right:v,top:j,width:w||b,children:[(0,d.jsxs)(o.Z,{alignItems:"center",flexDirection:"column",children:[(0,d.jsx)(f.Z,{pb:1,children:(0,d.jsx)(h.ZP,{bold:!0,danger:a,large:!0,warning:!a,whiteSpaceNormal:!0,children:y})}),(0,d.jsx)(h.ZP,{small:!0,children:x})]}),(0,d.jsx)(f.Z,{mt:2,children:(0,d.jsxs)(o.Z,{alignItems:"center",justifyContent:"center",children:[m&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.Z,{onClick:m,children:t||"Cancel"}),(0,d.jsx)(f.Z,{mr:1})]}),(0,d.jsx)(r.Z,{loading:u,onClick:g,children:(0,d.jsx)(h.ZP,{bold:!0,danger:a,success:!a&&!s,children:c||"Confirm"})})]})})]})}},46261:function(n,e,t){t.d(e,{Z:function(){return S}});var r=t(82394),o=t(26304),i=t(82684),c=t(38626),a=t(67971),l=t(19711),u=t(23831),d=t(73942),s=t(49125),p=t(60328),f=t(90880),h=t(28598),b=(0,c.css)(["position:relative;"," "," ",""],(function(n){return n.height&&"\n height: ".concat(n.height,"px;\n ")}),(function(n){return n.size&&"\n height: ".concat(n.size,"px;\n ")}),(function(n){return n.fullSize&&"\n height: 100%;\n "})),m=c.default.div.withConfig({displayName:"TooltipWrapper__ContainerStyle",componentId:"sc-1dd57l8-0"})(["",""],b),g=c.default.span.withConfig({displayName:"TooltipWrapper__ContainerSpanStyle",componentId:"sc-1dd57l8-1"})(["",""],b),v=c.default.a.withConfig({displayName:"TooltipWrapper__HoverStyle",componentId:"sc-1dd57l8-2"})([""," "," "," border-radius:50%;"," "," &:active,&:focus{outline:none;}",""],(0,f.eR)(),(function(n){return n.size&&"\n height: ".concat(n.size,"px;\n width: ").concat(n.size,"px;\n ")}),(function(n){return n.fullSize&&"\n height: 100%;\n width: 100%;\n "}),(function(n){return!n.block&&"\n display: inline-block;\n "}),(function(n){return n.block&&"\n display: block;\n "}),(function(n){return!n.noHoverOutline&&"\n &:hover {\n cursor: pointer;\n\n box-shadow:\n 0 0 0 ".concat(d.PV,"px ").concat((0,p.W)(n),",\n 0 0 0 ").concat(d.PV+d.q2,"px ").concat((n.theme.interactive||u.Z.interactive).hoverOverlay,";\n }\n ")})),x=c.default.span.withConfig({displayName:"TooltipWrapper__BasicStyle",componentId:"sc-1dd57l8-3"})([""]),y=c.default.div.withConfig({displayName:"TooltipWrapper__ContentStyle",componentId:"sc-1dd57l8-4"})(["position:absolute;z-index:3;"," "," "," "," "," "," "," "," "," ",""],(function(n){return"\n box-shadow: ".concat((n.theme.shadow||u.Z.shadow).base,";\n ")}),(function(n){return n.lightBackground&&"\n box-shadow: ".concat((n.theme.shadow||u.Z.shadow).window,";\n ")}),(function(n){return n.appearAbove&&!n.size&&"\n bottom: 0;\n "}),(function(n){return n.appearAbove&&n.size&&"\n bottom: ".concat(n.size+d.PV+d.q2,"px;\n ")}),(function(n){return n.appearBefore&&"\n right: ".concat(2*s.iI,"px;\n ")}),(function(n){return n.leftPosition&&"\n left: ".concat(n.leftPosition,"px;\n ")}),(function(n){return!n.leftPosition&&n.rightPosition&&"\n right: 0px;\n "}),(function(n){return n.minWidth&&"\n min-width: ".concat(n.minWidth,"px;\n ")}),(function(n){return n.widthFitContent&&"\n width: max-content;\n "}),(function(n){return n.topOffset&&"\n top: ".concat(n.topOffset,"px;\n ")}));var j=function(n){var e=n.alignLeft,t=n.appearAbove,r=n.appearBefore,o=n.autoHide,c=n.autoWidth,a=n.basic,l=n.block,u=n.center,d=n.children,p=n.content,f=n.forceVisible,b=void 0!==f&&f,j=n.fullSize,w=n.height,O=n.inline,Z=n.lightBackground,k=n.minWidth,P=n.noHoverOutline,C=n.size,I=void 0===C?2*s.iI:C,_=n.topOffset,S=n.visibleDelay,M=void 0===S?1e3:S,F=n.widthFitContent,T=(0,i.useState)(!1),D=T[0],E=T[1],z=(0,i.useState)(!1),H=z[0],B=z[1],R=(k-I)/-2,A=O?g:m,L=a?x:v,N=(0,h.jsx)(L,{block:l,fullSize:j,href:"#",noHoverOutline:P,onClick:function(n){return n.preventDefault()},onMouseEnter:function(){return E(!0)},size:I,children:d});return(0,i.useEffect)((function(){var n=setInterval((function(){return B(!0)}),M);return D||clearInterval(n),o&&setTimeout((function(){E(!1),B(!1)}),3*M),function(){return clearInterval(n)}}),[o,B,M,D]),(0,h.jsxs)(A,{fullSize:j,height:w,onMouseLeave:function(){E(!1),B(!1)},size:I,children:[N,(H||b)&&(0,h.jsx)(y,{appearAbove:t,appearBefore:r,leftPosition:u?R:null,lightBackground:Z,minWidth:c?k:null,rightPosition:e,size:I,topOffset:_,widthFitContent:F,children:p})]})},w=t(22341),O=["autoWidth","children","default","description","inverted","keyboardShortcuts","label","lightBackground","maxWidth","muted","primary","size","warning","widthFitContent"];function Z(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function k(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Z(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var P=42*s.iI,C=(0,c.css)(["border-radius:","px;"," "," "," ",""],d.BG,(function(n){return"\n box-shadow: ".concat((n.theme.shadow||u.Z.shadow).popup,";\n background-color: ").concat((n.theme.background||u.Z.background).popup,";\n ")}),(function(n){return n.lightBackground&&"\n background-color: ".concat((n.theme.interactive||u.Z.interactive).defaultBackground,";\n ")}),(function(n){return n.width&&!(n.widthFitContent||n.autoWidth)&&"\n width: ".concat(n.width,"px;\n ")}),(function(n){return!n.width&&!(n.widthFitContent||n.autoWidth)&&"\n width: ".concat(P,"px;\n ")})),I=c.default.div.withConfig({displayName:"Tooltip__LabelStyle",componentId:"sc-allmdq-0"})([""," padding:","px ","px;"],C,.75*s.iI,1*s.iI),_=c.default.div.withConfig({displayName:"Tooltip__DescriptionStyle",componentId:"sc-allmdq-1"})([""," padding:","px ","px;"],C,1.5*s.iI,2*s.iI);var S=function(n){var e=n.autoWidth,t=n.children,r=n.default,c=n.description,u=n.inverted,d=n.keyboardShortcuts,p=n.label,f=n.lightBackground,b=n.maxWidth,m=n.muted,g=n.primary,v=n.size,x=void 0===v?2*s.iI:v,y=n.warning,Z=n.widthFitContent,C=(0,o.Z)(n,O),S=c||p||"",M=c?_:I,F=Math.min(b||P,S.length*s.Fo),T=[];null===d||void 0===d||d.forEach((function(n,e){e>=1&&T.push((0,h.jsx)(l.ZP,{default:!0,children:"+"})),T.push(n)}));var D=T.map((function(n,e){var t="keyboard-shortcut-".concat(e);return"string"===typeof n?(0,h.jsx)("span",{children:n},t):i.cloneElement(n,{key:t})}));return(0,h.jsx)(j,k(k({},C),{},{autoWidth:e,content:(0,h.jsx)(M,{autoWidth:e,lightBackground:f,width:b,widthFitContent:Z,children:(0,h.jsxs)(a.Z,{alignItems:"center",children:[(0,h.jsx)(l.ZP,{whiteSpaceNormal:!0,children:S}),D.length>=1&&(0,h.jsx)(l.ZP,{muted:!0,children:"\xa0\xa0\xa0\u2022\xa0\xa0\xa0"}),D.length>=1&&D]})}),lightBackground:f,minWidth:F,noHoverOutline:!!t,size:x,widthFitContent:Z,children:t||(0,h.jsx)(w.kI,{default:r,inverted:u,muted:m,primary:g,size:x,warning:y})}))}},11135:function(n,e,t){t.d(e,{ZP:function(){return tn}});var r=t(82394),o=t(26304),i=t(82684),c=t(12691),a=t.n(c),l=t(38626),u=t(93461),d=t(79749),s=t(34376),p=t(9736);function f(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function h(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?f(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function b(){var n,e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h(h({},t),{},{groupId:null===(n=(0,p.ex)())||void 0===n?void 0:n.id,id:null===(e=(0,p.PR)())||void 0===e?void 0:e.id})}var m=t(75582),g=t(39421),v=t(86954);function x(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function y(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?x(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):x(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function j(){return[[v.go,"initialAsPath"],[v.iT,"initialPathname"],[v.FT,"notificationTemplate"],[v.Ll,"notificationUUID"],[v.$m,"referringURL"]].reduce((function(n,e){var t=(0,m.Z)(e,2),o=t[0],i=t[1];return y(y({},n),{},(0,r.Z)({},i,g.Z.get(o,v.vZ)))}),{})}var w=t(36283);function O(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function Z(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?O(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var k="click",P="button";function C(n){var e,t,r=n.actionName,o=n.actionType,i=n.componentName,c=n.componentType,a=n.properties,l=n.screenName,u=(e=r||o,t=i||c,"".concat(l,".").concat(e,"_").concat(t)),d=function(){var n,e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=j(),o=(null!==t&&void 0!==t&&t.width,window.innerWidth);return Z(Z(Z({},t),r),{},{groupId:null===(n=(0,p.ex)())||void 0===n?void 0:n.id,partner_id:"Mage",screenSize:(0,w.Z3)(o),userId:null===(e=(0,p.PR)())||void 0===e?void 0:e.id})}(Z({actionType:o,componentType:c},a));return{eventProperties:d,eventType:u,userProperties:b()}}function I(n,e){null===n||void 0===n||n(e)}var _=function(n){var e=n.children;return n.eventProperties,n.userProperties,e((function(n){return!1}))},S=t(41150),M=t(28598);function F(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function T(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?F(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var D,E,z=function(n){var e,t=n.buildChildren,r=n.disabled,o=n.eventActionName,c=void 0===o?k:o,a=n.eventComponentName,l=void 0===a?P:a,u=n.eventProperties,d=void 0===u?{}:u,p=n.eventScreenName,f=void 0===p?"generic":p,h=n.keyboardShortcutValidation,b=n.linkProps,m=n.onClick,g=n.openNewTab,v=n.requireKeyUp,x=n.uuid,y=(0,s.useRouter)(),j=(0,S.y)(),w=j.registerOnKeyDown,O=j.registerOnKeyUp,Z=j.unregisterOnKeyDown,F=j.unregisterOnKeyUp;(0,i.useEffect)((function(){return function(){var n=v?F:Z;null===n||void 0===n||n(x)}}),[v,Z,F,x]),r||!m&&!b||(e=function(n){null===m||void 0===m||m(n),b&&(g?(window.open(b.as||b.href),n.preventDefault()):y.push(b.href,b.as))});var D=C({actionName:c,actionType:k,componentName:l,componentType:P,properties:d,screenName:f}),E=D.eventType,z=D.eventProperties,H=D.userProperties;return(0,M.jsx)(_,{eventProperties:z,userProperties:H,children:function(n){var r=n.logEvent;h&&e&&(v?O:w)(x,(function(n,t,o){h({keyHistory:o,keyMapping:t})&&(I(r,E,{eventProperties:T(T({},z),{},{usedKeyboardShortcut:!0}),userProperties:H}),e(n))}),[z,E,r,e,H]);return t({eventProperties:z,eventType:E,logEvent:r,onClick:e,userProperties:H})}})},H={chatBubbleProps:null,graphicButtonProps:null,logoProps:null,mageImageUrl:null,mascotImageUrls:{base:null,castingSpell:null,chargingUp:null,thinking:null},sharedProps:null},B=i.createContext(H),R=B,A=t(86673),L=t(54283),N=t(23831),U=t(73899),W=t(73942),G=t(2005),q=t(31012),Y=t(10919),V=t(49125),K=t(90880),X=["Icon","afterElement","beforeElement","bold","borderless","centerText","children","compact","disabled","fitContentWidth","inverted","keyTextGroups","keyTextsPosition","linkProps","loading","mutedDisabled","noHover","onClick","padding","smallIcon","type","useModelTheme"];function Q(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function J(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Q(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}!function(n){n.LEFT="left",n.RIGHT="right"}(D||(D={})),function(n){n.BUTTON="button",n.SUBMIT="submit"}(E||(E={}));var $=(0,l.css)([""," align-items:center;border:none;display:flex;flex-direction:row;position:relative;text-align:left;z-index:0;"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",""],(0,K.eR)(),(function(n){return!n.large1&&!n.large2&&"\n ".concat(q.iD,"\n ")}),(function(n){return n.small&&"\n ".concat(q.HC,"\n ")}),(function(n){return n.large1&&"\n ".concat(q.ln,"\n ")}),(function(n){return n.large2&&"\n ".concat(q.QU,"\n ")}),(function(n){return!n.inline&&"\n width: 100%;\n "}),(function(n){return n.shortWidth&&"\n min-width: ".concat(28*V.iI,"px;\n ")}),(function(n){return!n.wrapText&&"\n white-space: nowrap;\n "}),(function(n){return n.outline&&!n.disabled&&"\n &:hover {\n box-shadow:\n 0 0 0 ".concat(W.PV,"px ").concat((n.theme||N.Z).background.panel,",\n 0 0 0 ").concat(W.PV+W.q2,"px ").concat((n.theme.interactive||N.Z.interactive).hoverOverlay,";\n }\n\n &:focus {\n box-shadow:\n 0 0 0 ").concat(W.PV,"px ").concat((n.theme||N.Z).background.panel,",\n 0 0 0 ").concat(W.PV+W.q2,"px ").concat((n.theme.interactive||N.Z.interactive).focusBorder,";\n }\n\n &:active {\n box-shadow: none;\n }\n ")}),(function(n){return!n.secondary&&"\n font-family: ".concat(G.ry,";\n justify-content: space-between;\n ")}),(function(n){return n.primary&&!n.disabled&&"\n background-color: ".concat((n.theme.interactive||N.Z.interactive).linkPrimary,";\n border-color: ").concat((n.theme.interactive||N.Z.interactive).linkPrimary,";\n color: ").concat((n.theme.monotone||N.Z.monotone).white,";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ").concat((n.theme.interactive||N.Z.interactive).linkPrimaryHover," !important;\n border-color: ").concat((n.theme.interactive||N.Z.interactive).linkPrimary," !important;\n }\n ")}),(function(n){return n.center&&"\n justify-content: center;\n "}),(function(n){return!n.noPadding&&!n.spacious&&!n.compact&&"\n padding: ".concat(1.25*V.iI,"px ").concat(1.5*V.iI,"px;\n ")}),(function(n){return n.compact&&"\n padding: ".concat(.5*V.iI,"px ").concat(.75*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.paddingTop&&"\n padding-top: ".concat(n.paddingTop,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.halfPaddingTop&&"\n padding-top: ".concat(.625*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.halfPaddingBottom&&"\n padding-bottom: ".concat(.625*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.paddingBottom&&"\n padding-bottom: ".concat(n.paddingBottom,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.halfPaddingRight&&"\n padding-right: ".concat(.75*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&!n.spacious&&n.halfPaddingLeft&&"\n padding-left: ".concat(.75*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&!n.marketing&&"\n padding: ".concat(2.25*V.iI,"px ").concat(3*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&n.marketing&&"\n padding: ".concat(2.25*V.iI-2,"px ").concat(3*V.iI-2,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&n.halfPaddingTop&&"\n padding-top: ".concat(1.125*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&n.halfPaddingBottom&&"\n padding-bottom: ".concat(1.125*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&n.halfPaddingRight&&"\n padding-right: ".concat(1.5*V.iI,"px;\n ")}),(function(n){return!n.noPadding&&n.spacious&&n.halfPaddingLeft&&"\n padding-left: ".concat(1.5*V.iI,"px;\n ")}),(function(n){return n.secondary&&"\n flex-basis: content;\n font-family: ".concat(G.nF,";\n padding: 0;\n ")}),(function(n){return n.noPadding&&"\n padding: 0;\n "}),(function(n){return n.bold&&"\n font-family: ".concat(G.nF,";\n ")}),(function(n){return!n.muted&&!n.inverted&&"\n color: ".concat((n.theme.content||N.Z.content).active,";\n ")}),(function(n){return!n.muted&&n.inverted&&"\n color: ".concat((n.theme.content||N.Z.content).inverted,";\n ")}),(function(n){return n.muted&&"\n color: ".concat((n.theme.monotone||N.Z.monotone).grey300,";\n ")}),(function(n){return n.warning&&"\n color: ".concat((n.theme.brand||N.Z.brand).energy400,";\n ")}),(function(n){return n.noHover&&"\n &:hover {\n cursor: default;\n }\n "}),(function(n){return n.greyBorder&&"\n border: ".concat(W.YF,"px ").concat(W.M8," ").concat((n.theme||N.Z).borders.button,";\n ")}),(function(n){return n.blackBorder&&"\n border: ".concat(W.YF,"px ").concat(W.M8," ").concat((n.theme.monotone||N.Z.monotone).black,";\n ")}),(function(n){return!n.pill&&!n.borderless&&!n.compact&&"\n border-radius: ".concat(W.n_,"px;\n ")}),(function(n){return n.compact&&"\n border-radius: ".concat(W.BG,"px;\n ")}),(function(n){return!n.borderRadiusLeft&&!n.borderRadiusRight&&n.pill&&!n.spacious&&"\n border-radius: ".concat(5*V.iI,"px;\n ")}),(function(n){return n.borderRadiusLeft&&n.pill&&!n.spacious&&"\n border-bottom-left-radius: ".concat(5*V.iI,"px;\n border-top-left-radius: ").concat(5*V.iI,"px;\n ")}),(function(n){return n.borderRadiusRight&&n.pill&&!n.spacious&&"\n border-bottom-right-radius: ".concat(5*V.iI,"px;\n border-top-right-radius: ").concat(5*V.iI,"px;\n ")}),(function(n){return n.borderRadiusLeft&&n.pill&&n.spacious&&"\n border-bottom-left-radius: ".concat(8*V.iI,"px;\n border-top-left-radius: ").concat(8*V.iI,"px;\n ")}),(function(n){return n.borderRadiusRight&&n.pill&&n.spacious&&"\n border-bottom-right-radius: ".concat(8*V.iI,"px;\n border-top-right-radius: ").concat(8*V.iI,"px;\n ")}),(function(n){return n.inverted&&!n.noBackground&&!n.backgroundColor&&"\n background-color: ".concat((n.theme.monotone||N.Z.monotone).black,";\n ")}),(function(n){return!n.inverted&&!n.noBackground&&!n.primary&&"\n background-color: ".concat((n.theme.interactive||N.Z.interactive).defaultBackground,";\n\n &:hover {\n background-color: ").concat((n.theme.interactive||N.Z.interactive).hoverBackground,";\n }\n ")}),(function(n){return!n.noBackground&&n.backgroundColor&&"\n background-color: ".concat(n.backgroundColor,";\n ")}),(function(n){return n.noBackground&&"\n background-color: transparent !important;\n "}),(function(n){return n.disabled&&n.inverted&&"\n color: ".concat((n.theme.monotone||N.Z.monotone).grey400," !important;\n ")}),(function(n){return n.disabled&&!n.inverted&&"\n color: ".concat((n.theme.monotone||N.Z.monotone).grey300," !important;\n ")}),(function(n){return n.disabled&&"\n &:hover {\n cursor: not-allowed;\n }\n "}),(function(n){return n.selected&&"\n background-color: ".concat((n.theme.monotone||N.Z.monotone).black,";\n color: ").concat((n.theme.monotone||N.Z.monotone).white,";\n ")}),(function(n){return n.selected&&n.grey300&&"\n background-color: ".concat((n.theme.monotone||N.Z.monotone).grey300,";\n ")}),(function(n){return(n.selected||n.useModelTheme)&&n.fire&&"\n background-color: ".concat((n.theme.brand||N.Z.brand).fire400,";\n ")}),(function(n){return n.useModelTheme&&"\n color: ".concat((n.theme.monotone||N.Z.monotone).white,";\n ")}),(function(n){return(n.selected||n.useModelTheme)&&n.earth&&"\n background-color: ".concat((n.theme.brand||N.Z.brand).earth400,";\n ")}),(function(n){return n.primaryGradient&&"\n background: ".concat(U.uH," !important;\n ")}),(function(n){return n.background&&"\n background: ".concat(n.background," !important;\n ")}),(function(n){return(n.selected||n.useModelTheme)&&n.wind&&"\n background-color: ".concat((n.theme.brand||N.Z.brand).wind400,";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ").concat((n.theme.brand||N.Z.brand).wind500,";\n }\n ")}),(function(n){return(n.selected||n.useModelTheme)&&n.water&&"\n background-color: ".concat((n.theme.brand||N.Z.brand).water400,";\n ")}),(function(n){return n.withIcon&&"\n padding: ".concat(1.25*V.iI-1,"px;\n ")}),(function(n){return n.padding>0&&"\n padding: ".concat(n.padding,"px;\n ")}),(function(n){return n.shadow&&"\n box-shadow: ".concat((n.theme.shadow||N.Z.shadow).large,";\n ")})),nn=l.default.button.withConfig({displayName:"KeyboardShortcutButton__ButtonStyle",componentId:"sc-10tm4pj-0"})(["",""],$),en=l.default.a.withConfig({displayName:"KeyboardShortcutButton__AnchorStyle",componentId:"sc-10tm4pj-1"})([""," ",""],$,Y.R);l.default.span.withConfig({displayName:"KeyboardShortcutButton__SpanStyle",componentId:"sc-10tm4pj-2"})(["margin-right:","px;"],1*V.iI);var tn=function(n){var e=n.Icon,t=n.afterElement,c=n.beforeElement,l=n.bold,s=n.borderless,p=n.centerText,f=n.children,h=n.compact,b=n.disabled,m=n.fitContentWidth,g=n.inverted,v=n.keyTextGroups,x=n.keyTextsPosition,y=void 0===x?D.RIGHT:x,j=n.linkProps,w=n.loading,O=n.mutedDisabled,Z=n.noHover,k=n.onClick,P=n.padding,C=n.smallIcon,_=n.type,S=void 0===_?E.BUTTON:_,F=n.useModelTheme,T=(0,o.Z)(n,X),H=j||{},B=H.as,N=H.href,U=B||N?en:nn,W=(0,i.useMemo)((function(){if(!v)return null;var n=(0,r.Z)({},y===D.RIGHT?"ml":"mr",f?1:0);return(0,M.jsx)(A.Z,J(J({},n),{},{children:(0,M.jsx)(d.Z,{borderless:g,disabled:b,keyTextGroups:v,mutedDisabled:O})}))}),[f,b,g,v,y,O]),G=((0,i.useContext)(R)||{}).sharedProps;return(0,M.jsx)(z,J(J({},T),{},{buildChildren:function(n){var r=n.eventProperties,o=n.eventType,i=n.logEvent,d=n.onClick,v=n.userProperties,x=(0,M.jsxs)(U,J(J(J({},T),F?G:{}),{},{bold:F||l,borderless:F||s,center:p,compact:h,disabled:b||O,fitContentWidth:m,inverted:g,noHover:(!d||Z)&&!(B||N)&&S===E.BUTTON,onClick:function(n){I(i,o,{eventProperties:r,userProperties:v}),null===d||void 0===d||d(n)},padding:C&&!f?11:P,type:B||N?null:S,useModelTheme:F,withIcon:!!e,children:[c&&!w&&(0,M.jsxs)(M.Fragment,{children:[c,(0,M.jsx)(A.Z,{mr:1})]}),y===D.LEFT&&W,(0,M.jsxs)(u.Z,{alignItems:"center",children:[e&&(0,M.jsx)(e,{muted:b||O,size:C?2*V.iI:2.5*V.iI}),e&&f&&(0,M.jsx)(A.Z,{mr:1}),w&&(0,M.jsx)(L.Z,{inverted:!g,small:C}),!w&&f]}),y===D.RIGHT&&W&&(0,M.jsx)(A.Z,{ml:1,children:W}),t&&!w&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(A.Z,{ml:t?1:0}),t]})]}));return!B&&!N||b||O?x:(0,M.jsx)(a(),J(J({},j),{},{passHref:!0,children:x}))},disabled:b||O,linkProps:j,onClick:k}))}},38341:function(n,e,t){var r=t(21831),o=t(82394),i=t(26304),c=(t(82684),t(38626)),a=t(67971),l=t(86673),u=t(19711),d=t(23831),s=t(22341),p=t(73942),f=t(49125),h=t(28598),b=["beforeIcon","checked","disabled","errorMessage","label","labelDescription","large","meta","monospace","onClick","required","small","warning","xsmall"];function m(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function g(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?m(Object(t),!0).forEach((function(e){(0,o.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var v=c.default.div.withConfig({displayName:"Checkbox__CheckboxContainer",componentId:"sc-ujqx42-0"})(["display:inline-block;vertical-align:middle;cursor:pointer;"]),x=c.default.div.withConfig({displayName:"Checkbox__ErrorContainer",componentId:"sc-ujqx42-1"})(["margin-top:4px;"]),y=c.default.input.withConfig({displayName:"Checkbox__HiddenCheckbox",componentId:"sc-ujqx42-2"})(["border:0;clip:rect(0 0 0 0);clippath:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;",""],(function(n){return n.notClickable&&"\n background-color: ".concat((n.theme.content||d.Z.content).disabled,"\n border-color: ").concat((n.theme.content||d.Z.content).disabled,"\n\n &:hover {\n cursor: not-allowed;\n }\n ")})),j=c.default.div.withConfig({displayName:"Checkbox__StyledCheckbox",componentId:"sc-ujqx42-3"})(["border-radius:","px;height:","px;transition:all 150ms;width:","px;svg{position:relative;visibility:",";}"," "," "," "," input[disabled]{cursor:default;}"," ",""],.5*f.iI,2*f.iI,2*f.iI,(function(n){return n.checked||n.required?"visible":"hidden"}),(function(n){return n.large&&"\n svg {\n left: -4px;\n top: -8px;\n }\n "}),(function(n){return!n.checked&&"\n background-color: ".concat((n.theme.background||d.Z.background).popup,";\n border: ").concat(p.PV,"px ").concat(p.M8," ").concat((n.theme.content||d.Z.content).muted,";\n ")}),(function(n){return n.checked&&"\n background-color: ".concat((n.theme.interactive||d.Z.interactive).checked,";\n border: ").concat(p.YF,"px ").concat(p.M8," transparent;\n ")}),(function(n){return n.required&&"\n background-color: ".concat((n.theme.content||d.Z.content).disabled,";\n border: ").concat(p.YF,"px ").concat(p.M8," transparent;\n ")}),(function(n){return n.disabled&&"\n background-color: ".concat((n.theme.content||d.Z.content).disabled,";\n border-color: ").concat((n.theme.content||d.Z.content).disabled,";\n\n &:hover {\n cursor: not-allowed;\n }\n ")}),(function(n){return n.warning&&"\n background-color: ".concat((n.theme.accent||d.Z.accent).warning,";\n border-color: ").concat((n.theme.interactive||d.Z.interactive).defaultBorder,"\n ")})),w=c.default.label.withConfig({displayName:"Checkbox__LabelStyle",componentId:"sc-ujqx42-4"})(["-ms-flex-direction:column;align-items:center;display:flex;flex-direction:column;flex-direction:row;&:hover{cursor:pointer;}"]);e.Z=function(n){var e=n.beforeIcon,t=n.checked,o=n.disabled,c=n.errorMessage,d=n.label,p=n.labelDescription,m=n.large,O=n.meta,Z=n.monospace,k=void 0!==Z&&Z,P=n.onClick,C=n.required,I=n.small,_=void 0!==I&&I,S=n.warning,M=n.xsmall,F=void 0!==M&&M,T=(0,i.Z)(n,b),D=S||!!(c||O&&O.touched&&O.error);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(w,{onClick:function(n){n.preventDefault(),P&&!o&&P(n)},children:[(0,h.jsxs)(v,{children:[(0,h.jsx)(y,g(g({},T),{},{disabled:o?"disabled":void 0,notClickable:o})),(0,h.jsx)(j,{checked:t,disabled:o,large:m,required:C,warning:D,children:(0,h.jsx)(s.Jr,{size:f.iI*(m?3:2)})})]}),e&&(0,h.jsx)(l.Z,{ml:1,children:(0,h.jsx)(a.Z,{children:e})}),d&&(0,h.jsxs)(l.Z,{pl:1,children:["string"===typeof d&&(0,h.jsx)(u.ZP,{disabled:o,lineThrough:o,monospace:k,small:_,xsmall:F,children:d}),"string"!==typeof d&&d,p&&(0,h.jsx)(u.ZP,{muted:!0,small:!0,children:p})]})]}),(c||O&&O.touched&&O.error)&&(0,h.jsx)(x,{children:(0,h.jsx)(u.ZP,{small:!0,warning:!0,children:c?(0,r.Z)(c):O.error})})]})}},16634:function(n,e,t){var r=t(82394),o=t(26304),i=t(38626),c=t(93461),a=t(67971),l=t(23831),u=t(73942),d=t(49125),s=t(28598),p=["children"];function f(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function h(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?f(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var b=i.default.div.withConfig({displayName:"Circle__CircleStyle",componentId:"sc-1o70504-0"})([""," "," "," "," "," "," "," "," "," "," "," "," "," ",""],(function(n){return!n.square&&"\n border-radius: 50%;\n "}),(function(n){return n.square&&"\n border-radius: ".concat(n.size>=2*d.iI?u.BG:2,"px;\n ")}),(function(n){return!n.color&&!(n.borderSize||n.borderColor)&&"\n background-color: ".concat((n.theme.content||l.Z.content).muted,";\n ")}),(function(n){return n.success&&!n.borderSize&&"\n background-color: ".concat((n.theme.status||l.Z.status).positive,";\n ")}),(function(n){return n.warning&&!n.borderSize&&"\n background-color: ".concat((n.theme.accent||l.Z.accent).warning,";\n ")}),(function(n){return n.success&&n.borderSize&&"\n border-color: ".concat((n.theme.status||l.Z.status).positive," !important;\n ")}),(function(n){return n.warning&&n.borderSize&&"\n border-color: ".concat((n.theme.accent||l.Z.accent).warning," !important;\n ")}),(function(n){return n.borderSize&&"\n border-style: solid;\n border-width: ".concat(n.borderSize,"px;\n ")}),(function(n){return(n.borderSize||n.borderColor)&&"\n border: ".concat(n.borderSize||1,"px solid ").concat(n.borderColor||(n.theme.content||l.Z.content).active,";\n ")}),(function(n){return n.color&&"\n background-color: ".concat(n.color,";\n ")}),(function(n){return n.size&&"\n height: ".concat(n.size,"px;\n width: ").concat(n.size,"px;\n ")}),(function(n){return n.danger&&"\n background-color: ".concat((n.theme.borders||l.Z.borders).danger,";\n ")}),(function(n){return n.muted&&"\n border-color: ".concat((n.theme.content||l.Z.content).muted,";\n ")}),(function(n){return n.default&&"\n border-color: ".concat((n.theme.monotone||l.Z.monotone).gray,";\n ")}));e.Z=function(n){var e=n.children,t=(0,o.Z)(n,p);return(0,s.jsx)(b,h(h({},t),{},{children:(0,s.jsx)(a.Z,{alignItems:"center",fullHeight:!0,fullWidth:!0,justifyContent:"center",children:e&&(0,s.jsx)(c.Z,{children:e})})}))}},69898:function(n,e,t){t.d(e,{p:function(){return w}});var r=t(82394),o=t(26304),i=t(82684),c=t(38626),a=t(16910),l=t(19711),u=t(23831),d=t(73942),s=t(2005),p=t(31012),f=t(49125),h=t(90880),b=t(28598),m=["afterIcon","afterIconSize","afterIconClick","autoGenerated","beforeIcon","beforeIconSize","compact","dynamicSizing","fitContent","fullWidth","input","invertedTheme","label","labelDescription","labelFixed","maxWidth","meta","name","onChange","onClick","passwordrules","placeholder","readOnly","required","setContentOnMount","showLabelRequirement","small","topPosition","type","value","visible","width"];function g(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function v(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?g(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var x=c.default.div.withConfig({displayName:"InputWrapper__ContainerStyle",componentId:"sc-aepxnk-0"})([".label-enter{opacity:0;transform:translate(0,","px);}.label-enter-active{opacity:1;transform:translate(0,0);transition:all 200ms;}.label-exit{opacity:1;transform:translate(0,0);}.label-exit-active{opacity:0;transform:translate(0,13px);transition:all 100ms;}"," "," "," "," ",""],f.iI,(function(n){return n.visible&&"\n position: relative;\n "}),(function(n){return!n.visible&&"\n opacity: 0;\n position: absolute;\n z-index: 0;\n "}),(function(n){return n.fitContent&&"\n width: fit-content;\n "}),(function(n){return n.maxWidth&&"\n max-width: ".concat(n.maxWidth,"px;\n ")}),(function(n){return n.fullWidth&&"\n width: 100%;\n "})),y=c.default.div.withConfig({displayName:"InputWrapper__LabelContainerStyle",componentId:"sc-aepxnk-1"})(["position:absolute;"," ",""],(function(n){return!n.compact&&!n.beforeIcon&&"\n left: ".concat(2*f.iI,"px;\n top: ").concat(.75*f.iI,"px;\n ")}),(function(n){return!n.compact&&n.beforeIcon&&"\n left: ".concat(5*f.iI,"px;\n top: ").concat(.5*f.iI,"px;\n ")})),j=c.default.div.withConfig({displayName:"InputWrapper__IconContainerStyle",componentId:"sc-aepxnk-2"})(["position:absolute;height:100%;display:flex;align-items:center;top:","px;"," "," ",""],(function(n){return n.top?0:d.YF}),(function(n){return!n.compact&&"\n padding: ".concat(f.iI,"px;\n ")}),(function(n){return n.compact&&"\n padding: ".concat(.75*f.iI,"px;\n ")}),(function(n){return n.right&&"\n right: 0;\n "})),w=(0,c.css)([""," "," "," -moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;background-color:transparent;box-sizing:border-box;outline-style:none;"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",""],(0,h.Xh)("appearance","none"),(0,h.Xh)("transition","background 300ms ease 0s, border 300ms ease 0s, color 300ms ease 0s"),(0,h.eR)("200ms box-shadow linear"),l.G,(function(n){return!n.small&&!n.large&&"\n ".concat(p.iD,"\n ")}),(function(n){return n.small&&"\n ".concat(p.HC,"\n line-height: 20px !important;\n ")}),(function(n){return!n.monospace&&"\n font-family: ".concat(s.YC,";\n ")}),(function(n){return n.monospace&&"\n font-family: ".concat(s.Vp,";\n ")}),(function(n){return n.bold&&"\n font-family: ".concat(s.nF,";\n ")}),(function(n){return!n.borderless&&"\n border-radius: ".concat(d.BG,"px;\n border-style: ").concat(d.M8,";\n border-width: ").concat(d.YF,"px};\n ")}),(function(n){return n.noBorderRadiusBottom&&"\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n "}),(function(n){return n.borderRadius&&"\n border-radius: ".concat(n.borderRadius,"px;\n ")}),(function(n){return n.borderless&&"\n border-style: none;\n "}),(function(n){return n.noBorder&&"\n border-style: none;\n "}),(function(n){return!n.noBorder&&n.noBorderUntilFocus&&"\n border-style: none;\n\n &:focus {\n border-style: ".concat(d.M8,";\n }\n ")}),(function(n){return!n.noBorder&&n.noBorderUntilHover&&"\n border-style: none;\n\n &:hover {\n border-style: ".concat(d.M8,";\n }\n ")}),(function(n){return!n.disabled&&!n.invertedTheme&&"\n border-color: ".concat((n.theme.interactive||u.Z.interactive).defaultBorder,";\n color: ").concat((n.theme.content||u.Z.content).active,";\n\n ::placeholder {\n color: ").concat((n.theme.content||u.Z.content).default,";\n }\n ")}),(function(n){return!n.disabled&&!n.noBackground&&"\n &:hover {\n background-color: ".concat((n.theme.interactive||u.Z.interactive).hoverOverlay,";\n border-color: ").concat((n.theme.interactive||u.Z.interactive).hoverBorder,";\n }\n\n &:focus {\n background-color: ").concat((n.theme.interactive||u.Z.interactive).hoverBackground,";\n border-color: ").concat((n.theme.interactive||u.Z.interactive).focusBorder,";\n color: ").concat((n.theme.content||u.Z.content).active,";\n }\n\n &:active {\n background-color: ").concat((n.theme.interactive||u.Z.interactive).activeOverlay,";\n }\n ")}),(function(n){return n.noBlinkingCursor&&"\n &:focus {\n text-indent: -9999em;\n text-shadow : 9999em 0 0 #000;\n }\n "}),(function(n){return n.shadow&&"\n &:focus {\n box-shadow:\n 0 0 0 1px ".concat((n.theme.interactive||u.Z.interactive).focusBorder," inset,\n 0 0 0 1px ").concat((n.theme.interactive||u.Z.interactive).focusBorder,"\n ;\n }\n ")}),(function(n){return n.disabled&&"\n border-color: ".concat((n.theme.interactive||u.Z.interactive).disabledBorder,";\n color: ").concat((n.theme.content||u.Z.content).disabled,";\n\n ::placeholder {\n color: ").concat((n.theme.content||u.Z.content).disabled,";\n }\n ")}),(function(n){return n.danger&&"\n border-color: ".concat((n.theme.interactive||u.Z.interactive).dangerBorder," !important;\n\n &:active,\n &:focus,\n &:hover {\n border-color: ").concat((n.theme.interactive||u.Z.interactive).dangerBorder," !important;\n }\n ")}),(function(n){return!n.compact&&"\n padding-left: ".concat(2*f.iI,"px;\n padding-right: ").concat(2*f.iI,"px;\n ")}),(function(n){return!n.compact&&!(n.label&&n.isFocused)&&"\n padding-bottom: ".concat(1.5*f.iI,"px;\n padding-top: ").concat(1.5*f.iI,"px;\n ")}),(function(n){return!n.compact&&n.label&&n.isFocused&&"\n padding-bottom: ".concat(.75*f.iI,"px;\n padding-top: ").concat(.75*f.iI+12,"px;\n ")}),(function(n){return n.beforeIcon&&!n.compact&&"\n padding-left: ".concat(5*f.iI,"px !important;\n ")}),(function(n){return n.afterIcon&&!n.compact&&"\n padding-right: ".concat(5*f.iI,"px !important;\n ")}),(function(n){return n.compact&&"\n padding-bottom: ".concat(.75*f.iI,"px;\n padding-left: ").concat(1.25*f.iI,"px;\n padding-right: ").concat(1.25*f.iI,"px;\n padding-top: ").concat(.75*f.iI,"px;\n ")}),(function(n){return n.beforeIcon&&n.compact&&"\n padding-left: ".concat(4*f.iI,"px !important;\n ")}),(function(n){return n.afterIcon&&n.compact&&"\n padding-right: ".concat(4*f.iI,"px !important;\n ")}),(function(n){return!n.inputWidth&&!n.minWidth&&"\n width: 100%;\n "}),(function(n){return n.maxHeight&&"\n max-height: ".concat(n.maxHeight,"px;\n ")}),(function(n){return n.minWidth&&"\n min-width: ".concat(n.minWidth,"px;\n ")}),(function(n){return n.inputWidth&&"\n width: ".concat(n.inputWidth,"px;\n ")}),(function(n){return n.alignCenter&&"\n text-align: center;\n "}),(function(n){return n.alignRight&&"\n text-align: right;\n "}),(function(n){return n.basic&&"\n border: none;\n padding: 0 ".concat(.25*f.iI,"px;\n ")}),(function(n){return n.basicPadding&&"\n border: none;\n padding: ".concat(.5*f.iI,"px ").concat(1*f.iI,"px !important;\n ")}),(function(n){return"undefined"!==typeof n.paddingHorizontal&&"\n padding-left: ".concat(n.paddingHorizontal,"px;\n padding-right: ").concat(n.paddingHorizontal,"px;\n ")}),(function(n){return"undefined"!==typeof n.paddingVertical&&"\n padding-bottom: ".concat(n.paddingVertical,"px;\n padding-top: ").concat(n.paddingVertical,"px;\n ")}),(function(n){return"undefined"!==typeof n.paddingRight&&"\n padding-right: ".concat(n.paddingRight,"px !important;\n ")}),(function(n){return n.basic&&!n.noBackground&&"\n background-color: ".concat((n.theme.monotone||u.Z.monotone).grey500,";\n\n &:active,\n &:focus,\n &:hover {\n background-color: ").concat((n.theme.monotone||u.Z.monotone).grey500,";\n }\n ")}),(function(n){return n.basic&&n.noBackground&&"\n background-color: none;\n\n &:active,\n &:focus,\n &:hover {\n background-color: ".concat((n.theme.monotone||u.Z.monotone).grey200,";\n }\n ")}),(function(n){return n.primary&&!n.swapBackgroundAndTextColor&&"\n border-color: ".concat((n.theme.accent||u.Z.accent).purpleLight,";\n\n &:active,\n &:focus {\n border-color: ").concat((n.theme.accent||u.Z.accent).purple," !important;\n }\n\n &:hover {\n border-color: ").concat((n.theme.chart||u.Z.chart).primary," !important;\n }\n ")}),(function(n){return n.swapBackgroundAndTextColor&&"\n background-color: transparent;\n\n &:active,\n &:focus,\n &:hover {\n background-color: transparent;\n }\n "}),(function(n){return n.earth&&n.swapBackgroundAndTextColor&&"\n color: ".concat((n.theme.brand||u.Z.brand).earth500," !important;\n\n &:active,\n &:focus,\n &:hover {\n color: ").concat((n.theme.brand||u.Z.brand).earth500," !important;\n }\n\n ::placeholder {\n color: ").concat((n.theme.brand||u.Z.brand).earth300,";\n }\n ")}),(function(n){return n.fire&&n.swapBackgroundAndTextColor&&"\n color: ".concat((n.theme.brand||u.Z.brand).fire500," !important;\n\n &:active,\n &:focus,\n &:hover {\n color: ").concat((n.theme.brand||u.Z.brand).fire500," !important;\n }\n\n ::placeholder {\n color: ").concat((n.theme.brand||u.Z.brand).fire300,";\n }\n ")}),(function(n){return n.primary&&n.swapBackgroundAndTextColor&&"\n color: ".concat((n.theme.brand||u.Z.brand).wind500," !important;\n\n &:active,\n &:focus,\n &:hover {\n color: ").concat((n.theme.brand||u.Z.brand).wind500," !important;\n }\n\n ::placeholder {\n color: ").concat((n.theme.brand||u.Z.brand).wind300,";\n }\n ")}),(function(n){return n.warning&&!n.swapBackgroundAndTextColor&&"\n background-color: ".concat((n.theme.brand||u.Z.brand).energy200," !important;\n\n &:active,\n &:focus,\n &:hover {\n background-color: ").concat((n.theme.brand||u.Z.brand).energy200," !important;\n }\n ")}),(function(n){return n.warning&&n.swapBackgroundAndTextColor&&"\n color: ".concat((n.theme.brand||u.Z.brand).energy500," !important;\n\n &:active,\n &:focus,\n &:hover {\n color: ").concat((n.theme.brand||u.Z.brand).energy500," !important;\n }\n ")}),(function(n){return n.water&&n.swapBackgroundAndTextColor&&"\n color: ".concat((n.theme.brand||u.Z.brand).water500," !important;\n\n &:active,\n &:focus,\n &:hover {\n color: ").concat((n.theme.brand||u.Z.brand).water500," !important;\n }\n ")}),(function(n){return n.earth&&n.borderTheme&&"\n &:focus,\n &:active {\n border-color: ".concat((n.theme.brand||u.Z.brand).earth300,";\n border-width: ").concat(d.mP,"px;\n }\n ")}),(function(n){return n.fire&&n.borderTheme&&"\n &:focus,\n &:active {\n border-color: ".concat((n.theme.brand||u.Z.brand).fire300,";\n border-width: ").concat(d.mP,"px;\n }\n ")}),(function(n){return n.water&&n.borderTheme&&"\n &:focus,\n &:active {\n border-color: ".concat((n.theme.brand||u.Z.brand).water300,";\n border-width: ").concat(d.mP,"px;\n }\n ")}),(function(n){return n.wind&&n.borderTheme&&"\n &:focus,\n &:active {\n border-color: ".concat((n.theme.brand||u.Z.brand).wind300,";\n border-width: ").concat(d.mP,"px;\n }\n ")}),(function(n){return n.info&&"\n background-color: ".concat((n.theme.brand||u.Z.brand).water100," !important;\n\n &:active,\n &:focus,\n &:hover {\n background-color: ").concat((n.theme.brand||u.Z.brand).water100," !important;\n }\n ")}),(function(n){return n.negative&&"\n background-color: ".concat((n.theme.accent||u.Z.accent).negativeTransparent," !important;\n\n &:active,\n &:focus,\n &:hover {\n background-color: ").concat((n.theme.accent||u.Z.accent).negativeTransparent," !important;\n }\n ")}),(function(n){return n.defaultColor&&"\n background-color: ".concat((n.theme.interactive||u.Z.interactive).defaultBackground," !important;\n border: ").concat(d.YF,"px ").concat(d.M8," ").concat((n.theme.monotone||u.Z.monotone).black,";\n\n &:active,\n &:focus,\n &:hover {\n background-color: ").concat((n.theme.interactive||u.Z.interactive).hoverBackground," !important;\n }\n ")}),(function(n){return n.greyBorder&&"\n border: ".concat(d.YF,"px ").concat(d.M8," ").concat((n.theme||u.Z).borders.button,";\n ")}),(function(n){return n.width&&"\n width: ".concat(n.width,"px;\n ")}),(function(n){return n.disablePointerEvents&&"\n pointer-events: none;\n "})),O=c.default.div.withConfig({displayName:"InputWrapper__LabelWrapperStyle",componentId:"sc-aepxnk-3"})(["margin-bottom:","px;"],.75*f.iI),Z=c.default.span.withConfig({displayName:"InputWrapper__SpanStyle",componentId:"sc-aepxnk-4"})(["position:absolute;opacity:0;"]),k=function(n,e){var t=n.afterIcon,r=n.afterIconSize,c=n.afterIconClick,u=n.autoGenerated,d=n.beforeIcon,s=n.beforeIconSize,p=n.compact,h=n.dynamicSizing,g=n.fitContent,w=n.fullWidth,k=n.input,P=n.invertedTheme,C=n.label,I=n.labelDescription,_=n.labelFixed,S=n.maxWidth,M=n.meta,F=n.name,T=n.onChange,D=n.onClick,E=n.passwordrules,z=n.placeholder,H=n.readOnly,B=n.required,R=n.setContentOnMount,A=n.showLabelRequirement,L=n.small,N=n.topPosition,U=n.type,W=n.value,G=n.visible,q=void 0===G||G,Y=n.width,V=(0,o.Z)(n,m),K=!!(M&&M.touched&&M.error),X=(0,i.useRef)(null),Q={muted:!0,size:f.iI*(p?2.5:3)},J=t&&(0,b.jsx)(j,{compact:p,right:!0,children:i.cloneElement(t,r?v(v({},Q),{},{size:r}):Q)}),$=(0,i.useState)(W),nn=$[0],en=$[1],tn=(0,i.useState)(!1),rn=tn[0],on=tn[1],cn=(0,i.useState)(!1),an=cn[0],ln=cn[1],un=(0,i.useState)(10),dn=un[0],sn=un[1],pn=A?A({content:nn,isFocused:rn}):rn||!!nn;return(0,i.useEffect)((function(){R&&!nn&&W&&en(W)}),[nn,en,R,W]),(0,i.useEffect)((function(){var n;h&&sn(((null===X||void 0===X||null===(n=X.current)||void 0===n?void 0:n.offsetWidth)||25*f.iI)+f.iI)}),[nn,h,e]),(0,b.jsxs)(x,{fitContent:g,fullWidth:w,maxWidth:S,visible:q,children:[(_||I)&&(0,b.jsxs)(O,{children:[(0,b.jsx)("div",{children:_&&(0,b.jsxs)(l.ZP,{bold:!0,inline:!0,inverted:P,small:L,children:[_," ",B&&(0,b.jsx)(l.ZP,{inline:!0,inverted:P,muted:!P,small:!0,children:"(required)"})," ",u&&(0,b.jsx)(l.ZP,{inline:!0,inverted:P,muted:!P,small:!0,children:"(auto-generated)"})]})}),I&&(0,b.jsx)(l.ZP,{inverted:P,muted:!P,small:!0,children:I})]}),(C||0===C)&&!p&&(0,b.jsx)(a.Z,{classNames:"label",in:(C||0===C)&&pn,timeout:200,unmountOnExit:!0,children:(0,b.jsx)(y,{beforeIcon:d,children:(0,b.jsx)(l.ZP,{muted:!0,xsmall:!0,children:C})})}),d&&(0,b.jsx)(j,{compact:p,top:N,children:i.cloneElement(d,v(v({},s?v(v({},Q),{},{size:s}):Q),null===d||void 0===d?void 0:d.props))}),c&&(0,b.jsx)("a",{href:"#",onClick:function(n){n.preventDefault(),c()},children:J}),!c&&J,h&&(0,b.jsx)(Z,{ref:X,children:nn}),i.cloneElement(k,{afterIcon:t,beforeIcon:d,compact:p,danger:K,fullWidth:w,hasContent:!!nn,isFocused:pn,label:0===C?"0":C,name:F,onBlur:function(n){V.onBlur&&V.onBlur(n),on(!1),ln(!0)},onChange:function(n){en(n.target.value),T&&T(n)},onClick:D,onFocus:function(n){V.onFocus&&V.onFocus(n),on(!0)},passwordrules:E,placeholder:C||0===C?pn?"":C:z,readOnly:H,ref:e,type:U,value:W,width:h?dn:Y}),((null===M||void 0===M?void 0:M.touched)&&(null===M||void 0===M?void 0:M.error)||!rn&&an&&!nn&&B)&&(0,b.jsx)(l.ZP,{danger:!0,small:!0,children:(null===M||void 0===M?void 0:M.error)||"This field is required."})]})};e.Z=i.forwardRef(k)},55378:function(n,e,t){var r=t(82394),o=t(26304),i=t(82684),c=t(38626),a=t(69898),l=t(31969),u=t(49125),d=t(28598),s=["beforeIcon","children","label","multiple","placeholder"];function p(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function f(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?p(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var h=c.default.select.withConfig({displayName:"Select__SelectStyle",componentId:"sc-q6ezu2-0"})(["",' background-image:url("data:image/svg+xml;utf8,','");background-repeat:no-repeat;background-position:-webkit-calc(100% - ',"px) center;background-position:calc(100% - ","px) center;padding-right:","px;&:hover{cursor:pointer;}"," "," "," ",""],a.p,"\n <svg width='12' height='12' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'>\n <path\n clip-rule='evenodd'\n d='M8.0015 11.7109L14.0022 5.71017L12.588 4.29597L7.99485 8.88914L3.40754 4.34482L2 5.76567L8.0015 11.7109Z'\n fill='%23B4B8C0'\n fill-rule='evenodd'\n />\n </svg>",u.iI,u.iI,3*u.iI,(function(n){return!n.hasContent&&!n.showPlaceholder&&"\n color: ".concat((n.theme.content||l.Z.content).muted,";\n ")}),(function(n){return n.backgroundColor&&"\n background-color: ".concat(n.backgroundColor,";\n ")}),(function(n){return n.color&&"\n color: ".concat(n.color,";\n ")}),(function(n){return n.showPlaceholder&&"\n color: ".concat((n.theme.content||l.Z.content).inverted,";\n ")})),b=function(n,e){var t=n.beforeIcon,r=n.children,i=n.label,c=n.multiple,l=n.placeholder,u=(0,o.Z)(n,s);return(0,d.jsx)(a.Z,f(f({},u),{},{beforeIcon:t,input:(0,d.jsxs)(h,f(f({multiple:c},u),{},{children:[(i||l)&&(0,d.jsx)("option",{disabled:!(null===u||void 0===u||!u.value),value:"",children:i||l}),r]})),label:i,placeholder:l,ref:e,setContentOnMount:!0,showLabelRequirement:function(n){return!!n.content}}))};e.Z=i.forwardRef(b)},38435:function(n,e,t){var r=t(82394),o=t(26304),i=t(82684),c=t(38626),a=t(69898),l=t(28598),u=["rows"];function d(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function s(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?d(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var p=c.default.textarea.withConfig({displayName:"TextArea__TextInputStyle",componentId:"sc-112wx63-0"})(["",""],a.p),f=function(n,e){var t=n.rows,r=void 0===t?3:t,i=(0,o.Z)(n,u);return(0,l.jsx)(a.Z,s(s({},i),{},{input:(0,l.jsx)(p,s({rows:r},i)),ref:e}))};e.Z=i.forwardRef(f)},82944:function(n,e,t){var r=t(82394),o=t(91835),i=t(82684),c=t(38626),a=t(69898),l=t(28598);function u(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function d(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?u(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var s=c.default.input.withConfig({displayName:"TextInput__TextInputStyle",componentId:"sc-1ii4qtc-0"})(["",""],a.p),p=function(n,e){var t=(0,o.Z)({},n);return(0,l.jsx)(a.Z,d(d({},t),{},{input:(0,l.jsx)(s,d({},t)),ref:e}))};e.Z=i.forwardRef(p)},70902:function(n,e,t){var r=t(82394),o=t(26304),i=t(82684),c=t(38626),a=t(69898),l=t(23831),u=t(28598),d=["checked","disabled","onCheck"];function s(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function p(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?s(Object(t),!0).forEach((function(e){(0,r.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var f=c.default.label.withConfig({displayName:"ToggleSwitch__ToggleSwitchStyle",componentId:"sc-179r5zs-0"})([""," position:relative;display:inline-block;width:","px;min-width:","px;height:",'px;& input[type="checkbox"]{display:none;}& span{position:absolute;cursor:',";background-color:",";border-radius:13px;",';top:0;right:0;bottom:0;left:0;transition:background-color 0.2s ease;}& span::before{position:absolute;content:"";left:2px;top:2px;width:22px;height:22px;background-color:#787A85;border-radius:50%;transition:transform 0.3s ease;}& input[type="checkbox"]:checked + span::before{transform:translateX(20px);}',""],a.p,46,46,26,(function(n){return n.disabled?"not-allowed":"pointer"}),(function(n){return n.disabled?l.Z.monotone.white:l.Z.monotone.black}),(function(n){return n.disabled&&"border: 1px solid ".concat(l.Z.monotone.grey200)}),(function(n){return!n.disabled&&!n.monotone&&'\n & input[type="checkbox"]:checked + span {\n background-color: #6AA1E0;\n }\n\n & input[type="checkbox"]:checked + span::before {\n background-color: '.concat(l.Z.monotone.white,";\n }\n ")})),h=function(n,e){var t=n.checked,r=n.disabled,i=n.onCheck,c=(0,o.Z)(n,d);return(0,u.jsx)(a.Z,p(p({},c),{},{disabled:r,input:(0,u.jsxs)(f,p(p({},c),{},{disabled:r,noBackground:!0,noBorder:!0,children:[(0,u.jsx)("input",{checked:t,type:"checkbox"}),(0,u.jsx)("span",{onClick:r?null:function(){return null===i||void 0===i?void 0:i((function(n){return!n}))}})]})),noBackground:!0,ref:e}))};e.Z=i.forwardRef(h)},90686:function(n,e,t){var r=t(82684),o=t(38626),i=t(19711),c=t(23831),a=t(73942),l=t(28598),u=(0,o.css)(["min-width:18px;padding-left:2px;padding-right:2px;"," "," "," "," "," ",""],(function(n){return!n.disabled&&"\n background-color: ".concat((n.theme.content||c.Z.content).inverted,";\n ")}),(function(n){return n.disabled&&"\n // background-color: ".concat((n.theme.monotone||c.Z.monotone).grey400," !important;\n ")}),(function(n){return n.mutedDisabled&&"\n opacity: 0.3;\n "}),(function(n){return!n.borderless&&"\n box-shadow: ".concat((n.theme.shadow||c.Z.shadow).tiny,";\n padding-bottom: 3px;\n padding-top: 3px;\n ")}),(function(n){return n.borderless&&"\n border-radius: ".concat(a.BG,"px;\n padding-bottom: 4px;\n padding-top: 4px;\n ")}),(function(n){return n.spacingLeft&&"\n margin-left: ".concat(n.spacingLeft,"px;\n ")})),d=o.default.kbd.withConfig({displayName:"KeyboardText__KbdStyle",componentId:"sc-18540m4-0"})(["",""],u),s=o.default.div.withConfig({displayName:"KeyboardText__DivStyle",componentId:"sc-18540m4-1"})(["",""],u);e.Z=function(n){var e=n.borderless,t=n.disabled,u=n.inline,p=n.keyText,f=n.monospace,h=n.mutedDisabled,b=n.spacingLeft,m=u?s:d,g=(0,r.useContext)(o.ThemeContext),v={};if(!e){var x,y;if(t)v.borderColor=null===(x=(null===g||void 0===g?void 0:g.monotone)||c.Z.monotone)||void 0===x?void 0:x.grey400;else v.borderColor=null===(y=(null===g||void 0===g?void 0:g.content)||c.Z.content)||void 0===y?void 0:y.active;v.borderRadius=a.BG,v.borderStyle="solid",v.borderWidth=1,v.overflow="hidden"}return(0,l.jsx)(i.ZP,{center:!0,inline:!0,monospace:f,muted:t||h,style:v,xsmall:!0,children:(0,l.jsx)(m,{borderless:e,disabled:t,mutedDisabled:h,spacingLeft:b,children:p})})}},79749:function(n,e,t){var r=t(38626),o=t(67971),i=t(90686),c=t(19711),a=t(49125),l=t(28598),u=r.default.div.withConfig({displayName:"KeyboardTextGroup__SpacingStyle",componentId:"sc-1bx41p7-0"})([""," "," ",""],(function(n){return n.small&&"\n margin-left: ".concat(.25*a.iI,"px;\n ")}),(function(n){return!n.small&&"\n margin-left: ".concat(.25*a.iI,"px;\n ")}),(function(n){return n.marginRight&&"\n margin-right: ".concat(.25*a.iI,"px;\n ")}));e.Z=function(n){var e=n.addPlusSignBetweenKeys,t=n.borderless,r=n.disabled,a=n.keyTextGroups,d=n.inline,s=n.monospace,p=n.mutedDisabled,f=n.small,h=n.uuidForKey,b=[],m=[];return a.forEach((function(n,o){var a=[];n.forEach((function(n,o){m.push(n),o>=1&&(a.push((0,l.jsx)(u,{small:f},"spacing-".concat(n))),e&&(a.push((0,l.jsx)(c.ZP,{disabled:r,monospace:s,small:f,children:"+"},"spacing-".concat(n,"-plus-sign"))),a.push((0,l.jsx)(u,{small:f},"spacing-".concat(n,"-after-plus-sign"))))),a.push((0,l.jsx)(i.Z,{borderless:t,disabled:r,inline:!0,keyText:n,monospace:s,mutedDisabled:p},"key-".concat(m.join("-"),"-").concat(h)))})),o>=1&&b.push((0,l.jsx)(u,{marginRight:!0,children:(0,l.jsx)(c.ZP,{monospace:s,muted:!0,small:!f,xsmall:f,children:"then"})},"then-".concat(o))),b.push.apply(b,a)})),(0,l.jsx)(o.Z,{alignItems:"center",inline:d,children:b})}},24224:function(n,e,t){t.d(e,{$C:function(){return u},HK:function(){return p},Hk:function(){return l},IN:function(){return k},Od:function(){return g},Qj:function(){return j},Sm:function(){return Z},Tw:function(){return b},YC:function(){return f},fS:function(){return x},m5:function(){return O},mp:function(){return P},mr:function(){return h},oM:function(){return v},ry:function(){return m},sE:function(){return d},tS:function(){return y},vM:function(){return s},w6:function(){return w}});var r=t(21831),o=t(82394),i=t(7715);function c(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function a(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?c(Object(t),!0).forEach((function(e){(0,o.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function l(n,e,t){var r=t.slice();return r.splice(e,0,n),r}function u(n,e,t){var r=e.slice();return d(e,t)||r.push(n),r}function d(n,e){return null===n||void 0===n?void 0:n.find(e)}function s(n,e){return null===n||void 0===n?void 0:n.reduce((function(n,t){var r=e(t);return n[r]||(n[r]=[]),n[r].push(t),n}),{})}function p(n,e){return null===n||void 0===n?void 0:n.reduce((function(n,t){return a(a({},n),{},(0,o.Z)({},e(t),t))}),{})}function f(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.ascending,o=void 0===r||r,c=t.absoluteValue,a=void 0!==c&&c,l="string"===typeof e||"number"===typeof e?function(n){return a?Math.abs((0,i.t2)(n,e)):(0,i.t2)(n,e)}:function(n){return a?Math.abs(e(n)):e(n)};return n.sort((function(n,e){var t=0;return l(n)>l(e)?t=o?1:-1:l(n)<l(e)&&(t=o?-1:1),t}))}function h(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.ascending,r=void 0===t||t;return n.sort((function(n,e){var t=0;return n[0]>e[0]?t=r?1:-1:n[0]<e[0]&&(t=r?-1:1),t}))}function b(n,e){return n.reduce((function(n,t){return n.map(e).includes(e(t))?n:[].concat((0,r.Z)(n),[t])}),[])}function m(n,e){for(var t=-1,r=n.length;1+t<r;){var o=t+(r-t>>1);e(n[o])?t=o:r=o}return r}function g(n,e){var t=n.findIndex(e);return v(n,t)}function v(n,e){return n.slice(0,e).concat(n.slice(e+1,n.length))}function x(n,e){return n.map((function(n){return String(n)})).join()===e.map((function(n){return String(n)})).join()}function y(n,e){return n>e}function j(n,e){return n<e}function w(n){return Array(n).fill(0)}function O(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=Array.from(Array(n).keys());return 0!==e&&(t=t.map((function(n){return n+e}))),t}function Z(n){return n.reduce((function(n,e){return n+e}),0)}function k(n){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=n.reduce((function(n,e){return n+e}),0)/n.length;return Math.sqrt(n.reduce((function(n,e){return n.concat(Math.pow(e-t,2))}),[]).reduce((function(n,e){return n+e}),0)/(n.length-(e?0:1)))}function P(n){return n[Math.floor(Math.random()*n.length)]}},66653:function(n,e,t){function r(n){return n.stopPropagation&&n.stopPropagation(),n.preventDefault&&n.preventDefault(),n.cancelBubble=!0,n.returnValue=!1,!1}t.d(e,{j:function(){return r}})},51504:function(n,e,t){t.d(e,{y:function(){return i}});var r=t(75582),o=t(16115);function i(n,e){var t=n.map((function(n){return String(n)})),i=n.includes(o.PQ),c=n.includes(o.zX),a=n.includes(o.XR),l=o.xU.map((function(n){return String(n)})),u=o.vk.map((function(n){return String(n)})),d=o.Tr.map((function(n){return String(n)})),s=Object.entries(e).find((function(n){var e=(0,r.Z)(n,2),o=e[0];return e[1]&&!t.includes(String(o))&&(!c||!u.includes(String(o)))&&(!i||!l.includes(String(o)))&&(!a||!d.includes(String(o)))}));return n.every((function(n){return e[n]}))&&!s}}}]);
|