zenml-nightly 0.82.1.dev20250527__py3-none-any.whl → 0.83.0.dev20250529__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.
- zenml/VERSION +1 -1
- zenml/cli/base.py +6 -1
- zenml/cli/model.py +16 -36
- zenml/cli/server.py +8 -3
- zenml/client.py +20 -4
- zenml/client_lazy_loader.py +2 -0
- zenml/config/docker_settings.py +15 -2
- zenml/enums.py +3 -0
- zenml/event_hub/event_hub.py +1 -1
- zenml/integrations/bitbucket/plugins/event_sources/bitbucket_webhook_event_source.py +1 -1
- zenml/integrations/github/plugins/event_sources/github_webhook_event_source.py +1 -1
- zenml/integrations/kubernetes/flavors/kubernetes_orchestrator_flavor.py +3 -0
- zenml/integrations/kubernetes/orchestrators/kubernetes_orchestrator_entrypoint.py +37 -26
- zenml/integrations/skypilot/flavors/skypilot_orchestrator_base_vm_config.py +45 -4
- zenml/integrations/skypilot/orchestrators/skypilot_base_vm_orchestrator.py +92 -84
- zenml/integrations/skypilot/orchestrators/skypilot_orchestrator_entrypoint.py +207 -179
- zenml/integrations/skypilot/utils.py +273 -0
- zenml/integrations/skypilot_aws/__init__.py +1 -2
- zenml/integrations/skypilot_azure/__init__.py +1 -2
- zenml/integrations/skypilot_gcp/__init__.py +9 -1
- zenml/integrations/skypilot_kubernetes/__init__.py +2 -3
- zenml/integrations/skypilot_lambda/__init__.py +1 -2
- zenml/login/web_login.py +1 -1
- zenml/model/model.py +13 -23
- zenml/models/__init__.py +39 -2
- zenml/models/v2/base/scoped.py +34 -15
- zenml/models/v2/core/artifact.py +10 -9
- zenml/models/v2/core/artifact_version.py +16 -16
- zenml/models/v2/core/logs.py +8 -50
- zenml/models/v2/core/model.py +10 -10
- zenml/models/v2/core/model_version.py +155 -88
- zenml/models/v2/core/pipeline.py +10 -11
- zenml/models/v2/core/pipeline_deployment.py +1 -9
- zenml/models/v2/core/pipeline_run.py +10 -17
- zenml/models/v2/core/run_template.py +10 -10
- zenml/models/v2/core/step_run.py +100 -16
- zenml/models/v2/core/tag.py +5 -4
- zenml/models/v2/misc/pipeline_run_dag.py +46 -0
- zenml/orchestrators/base_orchestrator.py +8 -19
- zenml/orchestrators/cache_utils.py +48 -1
- zenml/orchestrators/input_utils.py +35 -39
- zenml/orchestrators/step_launcher.py +1 -1
- zenml/orchestrators/step_run_utils.py +26 -10
- zenml/pipelines/pipeline_definition.py +3 -3
- zenml/pipelines/run_utils.py +2 -3
- zenml/service_connectors/service_connector.py +5 -1
- zenml/stack/stack_component.py +1 -4
- zenml/steps/step_context.py +1 -1
- zenml/utils/dashboard_utils.py +3 -3
- zenml/zen_server/auth.py +6 -3
- zenml/zen_server/dashboard/assets/{404-_AtuLtaX.js → 404-DmJUgorp.js} +1 -1
- zenml/zen_server/dashboard/assets/{@radix-C7hRs6Kx.js → @radix-Cdvw4jJ8.js} +1 -1
- zenml/zen_server/dashboard/assets/{@react-router-CNP6g_RL.js → @react-router-DeDfXbUF.js} +5 -5
- zenml/zen_server/dashboard/assets/{@reactflow-CQi1Z1Wq.js → @reactflow-8OCk19Fi.js} +1 -1
- zenml/zen_server/dashboard/assets/{@tanstack-CSxjHCME.js → @tanstack-5gTMR7G2.js} +4 -4
- zenml/zen_server/dashboard/assets/AlertDialogDropdownItem-CZW4QyWn.js +1 -0
- zenml/zen_server/dashboard/assets/ButtonGroup-DFWWFGUE.js +1 -0
- zenml/zen_server/dashboard/assets/{CodeSnippet-CvI6D0wx.js → CodeSnippet-D2HkkAGr.js} +1 -1
- zenml/zen_server/dashboard/assets/CollapsibleCard-CnS09ljw.js +1 -0
- zenml/zen_server/dashboard/assets/{ComponentBadge-DKw7Gndh.js → ComponentBadge-CDgdd0Ks.js} +1 -1
- zenml/zen_server/dashboard/assets/ComponentIcon-CbbOc7lb.js +1 -0
- zenml/zen_server/dashboard/assets/{DeleteAlertDialog-DVvXt-S6.js → DeleteAlertDialog-VIOMDLmx.js} +1 -1
- zenml/zen_server/dashboard/assets/DialogItem-ClFCqxEp.js +1 -0
- zenml/zen_server/dashboard/assets/{DisplayDate-CYVBBSgr.js → DisplayDate-8RESqe5H.js} +1 -1
- zenml/zen_server/dashboard/assets/{EmptyState-M1jafpg6.js → EmptyState-CjrgDtVk.js} +1 -1
- zenml/zen_server/dashboard/assets/{Error-BWaXP0VK.js → Error-CQzjbDcN.js} +1 -1
- zenml/zen_server/dashboard/assets/ExecutionStatus-CWreILP0.js +1 -0
- zenml/zen_server/dashboard/assets/{Helpbox-iE1xLmiZ.js → Helpbox-CiKxG5_X.js} +1 -1
- zenml/zen_server/dashboard/assets/Infobox-CGxFvqzi.js +1 -0
- zenml/zen_server/dashboard/assets/LeftSideMenu-DCsKdIjC.js +1 -0
- zenml/zen_server/dashboard/assets/{Lock-DW-0_M0o.js → Lock-CrIAdQo6.js} +1 -1
- zenml/zen_server/dashboard/assets/NestedCollapsible-3M4llYtH.js +1 -0
- zenml/zen_server/dashboard/assets/NumberBox-C0mQktmV.js +1 -0
- zenml/zen_server/dashboard/assets/Partials-DSjkttlz.js +1 -0
- zenml/zen_server/dashboard/assets/{PasswordChecker-lYTOtNom.js → PasswordChecker-B88WjuCe.js} +1 -1
- zenml/zen_server/dashboard/assets/ProCta-Dm5cWKpS.js +1 -0
- zenml/zen_server/dashboard/assets/{ProviderIcon-DLo7t1lo.js → ProviderIcon-DPwMR6nF.js} +1 -1
- zenml/zen_server/dashboard/assets/ProviderRadio-DEDNRgAb.js +1 -0
- zenml/zen_server/dashboard/assets/RunsBody-BRBn1e2O.js +1 -0
- zenml/zen_server/dashboard/assets/SearchField-DY6-UbRT.js +1 -0
- zenml/zen_server/dashboard/assets/SecretTooltip-CZTRnaCV.js +1 -0
- zenml/zen_server/dashboard/assets/{SetPassword-DR-EiLI5.js → SetPassword-BjNGDC5e.js} +1 -1
- zenml/zen_server/dashboard/assets/SheetHeader-CASpN2Lz.js +1 -0
- zenml/zen_server/dashboard/assets/StackComponentList-Be1pQt9m.js +1 -0
- zenml/zen_server/dashboard/assets/StackList-BdiR5DvR.js +1 -0
- zenml/zen_server/dashboard/assets/StackName-ojLC6xdl.js +1 -0
- zenml/zen_server/dashboard/assets/Tabs-DNSKblCM.js +1 -0
- zenml/zen_server/dashboard/assets/Tick-BPrWnNlN.js +1 -0
- zenml/zen_server/dashboard/assets/{UpdatePasswordSchemas-DbFEaezI.js → UpdatePasswordSchemas-CNfKDo2Q.js} +1 -1
- zenml/zen_server/dashboard/assets/UsageReason-Cb-mpV8M.js +1 -0
- zenml/zen_server/dashboard/assets/{Wizard-CMI6Ksgz.js → Wizard-Dg8Pmn5A.js} +1 -1
- zenml/zen_server/dashboard/assets/WizardFooter-BcNDIvlQ.js +1 -0
- zenml/zen_server/dashboard/assets/{all-pipeline-runs-query-BGASHYtF.js → all-pipeline-runs-query-DCdax7I5.js} +1 -1
- zenml/zen_server/dashboard/assets/{arrow-left-CwgF2MEM.js → arrow-left-MRXv5pAH.js} +1 -1
- zenml/zen_server/dashboard/assets/bulk-delete-C_kpIB9A.js +3 -0
- zenml/zen_server/dashboard/assets/{check-DK77doTf.js → check-B9QMTa3f.js} +1 -1
- zenml/zen_server/dashboard/assets/{check-circle-mvyzYvIW.js → check-circle-C4tYvbtw.js} +1 -1
- zenml/zen_server/dashboard/assets/{chevron-down-A-rmltmI.js → chevron-down-jbbQh82s.js} +1 -1
- zenml/zen_server/dashboard/assets/{chevron-right-double-uNWbJT-C.js → chevron-right-double-Dgp_gEsp.js} +1 -1
- zenml/zen_server/dashboard/assets/{clock-CPA5cYxq.js → clock-B_mTG8PH.js} +1 -1
- zenml/zen_server/dashboard/assets/{code-browser-j2EpcxIA.js → code-browser-CiD8qkBx.js} +1 -1
- zenml/zen_server/dashboard/assets/configuration-form-B2hmKGnF.js +1 -0
- zenml/zen_server/dashboard/assets/connectivity-4UKGMYnr.webp +0 -0
- zenml/zen_server/dashboard/assets/constants-1EZZxtay.js +1 -0
- zenml/zen_server/dashboard/assets/create-stack-TKmMtrkQ.js +1 -0
- zenml/zen_server/dashboard/assets/dates-Buh6SMo7.js +1 -0
- zenml/zen_server/dashboard/assets/delete-run-CCR9md_s.js +1 -0
- zenml/zen_server/dashboard/assets/eye-CbVlAYty.js +1 -0
- zenml/zen_server/dashboard/assets/{file-text-BdxZdjP_.js → file-text-Cd8wVfq5.js} +1 -1
- zenml/zen_server/dashboard/assets/form-DFJkaFDX.js +1 -0
- zenml/zen_server/dashboard/assets/form-schemas-CrznJVzA.js +1 -0
- zenml/zen_server/dashboard/assets/{gcp-CHNvgEss.js → gcp-B1I3Qvcx.js} +1 -1
- zenml/zen_server/dashboard/assets/{help-DyMolRxD.js → help-Co6aedki.js} +1 -1
- zenml/zen_server/dashboard/assets/index-BFqbGSck.js +308 -0
- zenml/zen_server/dashboard/assets/{index-CrhdX_qG.js → index-BjUu1mP4.js} +1 -1
- zenml/zen_server/dashboard/assets/{index-DR30v9MZ.js → index-DWpiv-Ft.js} +1 -1
- zenml/zen_server/dashboard/assets/index-DuhuqTCI.css +1 -0
- zenml/zen_server/dashboard/assets/index-U992soPJ.js +1 -0
- zenml/zen_server/dashboard/assets/index.es-C1gfATPn.js +14 -0
- zenml/zen_server/dashboard/assets/{index.esm-D7jFlf5N.js → index.esm-DhJo3mA6.js} +1 -1
- zenml/zen_server/dashboard/assets/info-QkbQz4QU.js +1 -0
- zenml/zen_server/dashboard/assets/{key-icon-DO4DPJHZ.js → key-icon-C07HKw8z.js} +1 -1
- zenml/zen_server/dashboard/assets/{layout-h3cbx8WZ.js → layout-DBbfEFBe.js} +1 -1
- zenml/zen_server/dashboard/assets/layout-Do9YI4QX.js +1 -0
- zenml/zen_server/dashboard/assets/login-mutation-D3tFP6Wm.js +1 -0
- zenml/zen_server/dashboard/assets/{logs-B5n0U7tB.js → logs-CQKlJjo0.js} +1 -1
- zenml/zen_server/dashboard/assets/{package-D1Mhqeh8.js → package-miExReQl.js} +1 -1
- zenml/zen_server/dashboard/assets/page-9RjCitFH.js +1 -0
- zenml/zen_server/dashboard/assets/page-B0PsXWiT.js +1 -0
- zenml/zen_server/dashboard/assets/page-BCrKmYIZ.js +1 -0
- zenml/zen_server/dashboard/assets/page-BcRI3-aR.js +29 -0
- zenml/zen_server/dashboard/assets/page-Be3R2uYn.js +1 -0
- zenml/zen_server/dashboard/assets/page-BgknnddT.js +1 -0
- zenml/zen_server/dashboard/assets/page-BrT0_zSJ.js +40 -0
- zenml/zen_server/dashboard/assets/page-Bs3W2FDi.js +1 -0
- zenml/zen_server/dashboard/assets/page-C210HcBA.js +1 -0
- zenml/zen_server/dashboard/assets/page-C6KaiZ_W.js +1 -0
- zenml/zen_server/dashboard/assets/page-CAJ8B0vb.js +1 -0
- zenml/zen_server/dashboard/assets/page-CAUYrfui.js +1 -0
- zenml/zen_server/dashboard/assets/page-CHxVhF3x.js +1 -0
- zenml/zen_server/dashboard/assets/{page-CSwZxZMQ.js → page-CN7lkvXr.js} +1 -1
- zenml/zen_server/dashboard/assets/page-CUaMMoPG.js +1 -0
- zenml/zen_server/dashboard/assets/page-Cal6XQ4U.js +1 -0
- zenml/zen_server/dashboard/assets/page-CdZCmszX.js +1 -0
- zenml/zen_server/dashboard/assets/page-ChGcZI_6.js +1 -0
- zenml/zen_server/dashboard/assets/page-CktmtZ8Z.js +1 -0
- zenml/zen_server/dashboard/assets/page-ClvmVesa.js +1 -0
- zenml/zen_server/dashboard/assets/page-CnbIYE80.js +1 -0
- zenml/zen_server/dashboard/assets/page-CoXzjeEY.js +1 -0
- zenml/zen_server/dashboard/assets/page-CtiuMP_r.js +1 -0
- zenml/zen_server/dashboard/assets/page-D9Hfx6GV.js +1 -0
- zenml/zen_server/dashboard/assets/page-D9iuB88h.js +1 -0
- zenml/zen_server/dashboard/assets/page-DCcuPZ8P.js +1 -0
- zenml/zen_server/dashboard/assets/page-DEohTSz6.js +1 -0
- zenml/zen_server/dashboard/assets/page-DJIGaUQ9.js +1 -0
- zenml/zen_server/dashboard/assets/page-DKK6ulgy.js +1 -0
- zenml/zen_server/dashboard/assets/page-DNjKHjnH.js +1 -0
- zenml/zen_server/dashboard/assets/page-DUK0Nd_1.js +1 -0
- zenml/zen_server/dashboard/assets/page-DUKbOhaD.js +1 -0
- zenml/zen_server/dashboard/assets/page-DYOucPtA.js +1 -0
- zenml/zen_server/dashboard/assets/page-DpqRelAy.js +1 -0
- zenml/zen_server/dashboard/assets/{page-ZfTtFicG.js → page-DwVPpCFg.js} +2 -2
- zenml/zen_server/dashboard/assets/page-XURWnYZP.js +1 -0
- zenml/zen_server/dashboard/assets/page-abw-2oeW.js +1 -0
- zenml/zen_server/dashboard/assets/page-akLcPcKw.js +1 -0
- zenml/zen_server/dashboard/assets/page-n9ejQ2V3.js +2 -0
- zenml/zen_server/dashboard/assets/page-sJjNT9xA.js +6 -0
- zenml/zen_server/dashboard/assets/{persist-UUym702q.js → persist-DWMWVP-y.js} +1 -1
- zenml/zen_server/dashboard/assets/{persist-D87V82eO.js → persist-Dec_w7aB.js} +1 -1
- zenml/zen_server/dashboard/assets/pipeline-CSUlkd50.js +1 -0
- zenml/zen_server/dashboard/assets/{plus-COjQg3AG.js → plus-Cl0_rCVF.js} +1 -1
- zenml/zen_server/dashboard/assets/{react-error-boundary.esm-fyoUBS25.js → react-error-boundary.esm-7_MuhCay.js} +1 -1
- zenml/zen_server/dashboard/assets/{refresh-CM5T3QeU.js → refresh-BcTM09NW.js} +1 -1
- zenml/zen_server/dashboard/assets/resource-tyes-list-o2LXiMay.js +1 -0
- zenml/zen_server/dashboard/assets/resource-type-tooltip-DwHrJstL.js +1 -0
- zenml/zen_server/dashboard/assets/service-connectors-DSEMwJ5A.js +1 -0
- zenml/zen_server/dashboard/assets/{service-BQ9KIhls.js → service-jxtvgks0.js} +2 -2
- zenml/zen_server/dashboard/assets/sharedSchema-BXzg0EZz.js +1 -0
- zenml/zen_server/dashboard/assets/stack-detail-query-Cm0fsgo-.js +1 -0
- zenml/zen_server/dashboard/assets/{terminal-square-DMtel8mb.js → terminal-XFL_4QN-.js} +1 -1
- zenml/zen_server/dashboard/assets/terminal-square-XFL_4QN-.js +1 -0
- zenml/zen_server/dashboard/assets/transform-CeZdrxDZ.js +1 -0
- zenml/zen_server/dashboard/assets/{trash-BWSZ7NRK.js → trash-DP6Tpp_E.js} +1 -1
- zenml/zen_server/dashboard/assets/type-guards-CNgPYg8l.js +1 -0
- zenml/zen_server/dashboard/assets/update-current-user-mutation-D5MjcQ6F.js +1 -0
- zenml/zen_server/dashboard/assets/update-server-settings-mutation-CmnxdxiK.js +1 -0
- zenml/zen_server/dashboard/assets/{zod-C0xYeTvL.js → zod-XdS2h1ws.js} +1 -1
- zenml/zen_server/dashboard/index.html +7 -7
- zenml/zen_server/rbac/utils.py +2 -2
- zenml/zen_server/routers/auth_endpoints.py +2 -2
- zenml/zen_server/routers/devices_endpoints.py +8 -5
- zenml/zen_server/routers/pipeline_deployments_endpoints.py +1 -1
- zenml/zen_server/routers/pipelines_endpoints.py +1 -1
- zenml/zen_server/routers/run_templates_endpoints.py +3 -3
- zenml/zen_server/routers/runs_endpoints.py +35 -0
- zenml/zen_server/template_execution/utils.py +6 -6
- zenml/zen_stores/dag_generator.py +171 -0
- zenml/zen_stores/migrations/versions/0.83.0_release.py +23 -0
- zenml/zen_stores/rest_zen_store.py +17 -3
- zenml/zen_stores/schemas/action_schemas.py +40 -4
- zenml/zen_stores/schemas/api_key_schemas.py +29 -1
- zenml/zen_stores/schemas/artifact_schemas.py +168 -48
- zenml/zen_stores/schemas/base_schemas.py +26 -1
- zenml/zen_stores/schemas/code_repository_schemas.py +46 -5
- zenml/zen_stores/schemas/component_schemas.py +44 -3
- zenml/zen_stores/schemas/device_schemas.py +43 -2
- zenml/zen_stores/schemas/event_source_schemas.py +41 -5
- zenml/zen_stores/schemas/flavor_schemas.py +42 -2
- zenml/zen_stores/schemas/model_schemas.py +113 -77
- zenml/zen_stores/schemas/pipeline_build_schemas.py +53 -4
- zenml/zen_stores/schemas/pipeline_deployment_schemas.py +53 -4
- zenml/zen_stores/schemas/pipeline_run_schemas.py +111 -47
- zenml/zen_stores/schemas/pipeline_schemas.py +41 -9
- zenml/zen_stores/schemas/run_template_schemas.py +75 -11
- zenml/zen_stores/schemas/schedule_schema.py +50 -5
- zenml/zen_stores/schemas/secret_schemas.py +39 -2
- zenml/zen_stores/schemas/service_connector_schemas.py +39 -2
- zenml/zen_stores/schemas/service_schemas.py +39 -4
- zenml/zen_stores/schemas/stack_schemas.py +47 -2
- zenml/zen_stores/schemas/step_run_schemas.py +89 -26
- zenml/zen_stores/schemas/tag_schemas.py +69 -5
- zenml/zen_stores/schemas/trigger_schemas.py +44 -5
- zenml/zen_stores/schemas/utils.py +25 -4
- zenml/zen_stores/sql_zen_store.py +471 -28
- zenml/zen_stores/zen_store_interface.py +9 -1
- {zenml_nightly-0.82.1.dev20250527.dist-info → zenml_nightly-0.83.0.dev20250529.dist-info}/METADATA +2 -2
- {zenml_nightly-0.82.1.dev20250527.dist-info → zenml_nightly-0.83.0.dev20250529.dist-info}/RECORD +230 -222
- zenml/zen_server/dashboard/assets/AlertDialogDropdownItem-BG7-Ki1L.js +0 -1
- zenml/zen_server/dashboard/assets/CollapsibleCard-D20FtrzC.js +0 -1
- zenml/zen_server/dashboard/assets/Commands-DGbAvMDk.js +0 -1
- zenml/zen_server/dashboard/assets/ComponentIcon-ils7uNAk.js +0 -1
- zenml/zen_server/dashboard/assets/CsvVizualization-DVN541XF.js +0 -15
- zenml/zen_server/dashboard/assets/DialogItem-BHWf3sIB.js +0 -1
- zenml/zen_server/dashboard/assets/ExecutionStatus-XrvT2r65.js +0 -1
- zenml/zen_server/dashboard/assets/Infobox-D9k5TFH4.js +0 -1
- zenml/zen_server/dashboard/assets/InlineAvatar-Cfz4WSLK.js +0 -1
- zenml/zen_server/dashboard/assets/MarkdownVisualization-URCyUPcZ.js +0 -14
- zenml/zen_server/dashboard/assets/NestedCollapsible-Dor-bi98.js +0 -1
- zenml/zen_server/dashboard/assets/NumberBox-D2A7ENHb.js +0 -1
- zenml/zen_server/dashboard/assets/Partials-DQJFw1yW.js +0 -1
- zenml/zen_server/dashboard/assets/ProBadge-Cp4hb1YT.js +0 -1
- zenml/zen_server/dashboard/assets/ProCta-EYoV9CvK.js +0 -1
- zenml/zen_server/dashboard/assets/ProviderRadio-BVDA-fAr.js +0 -1
- zenml/zen_server/dashboard/assets/RunSelector-BLuBYNJt.js +0 -1
- zenml/zen_server/dashboard/assets/RunsBody-W4WHf-sq.js +0 -1
- zenml/zen_server/dashboard/assets/SearchField-D-h6jXyg.js +0 -1
- zenml/zen_server/dashboard/assets/SecretTooltip-CePCL8kd.js +0 -1
- zenml/zen_server/dashboard/assets/StackList-CgmN5H-i.js +0 -1
- zenml/zen_server/dashboard/assets/Tabs-DxQ8PDOD.js +0 -1
- zenml/zen_server/dashboard/assets/Tick-CEsT3HPR.js +0 -1
- zenml/zen_server/dashboard/assets/UsageReason-DjI5qMje.js +0 -1
- zenml/zen_server/dashboard/assets/WizardFooter-CFBHFZas.js +0 -1
- zenml/zen_server/dashboard/assets/cloud-squares-DeRLMopf.svg +0 -43
- zenml/zen_server/dashboard/assets/configuration-form-BtI2Y4eX.js +0 -1
- zenml/zen_server/dashboard/assets/connectors-video-C9qY4syJ.svg +0 -21
- zenml/zen_server/dashboard/assets/constants-DP3ZEnXH.js +0 -1
- zenml/zen_server/dashboard/assets/create-stack-BJ6x5rzj.js +0 -1
- zenml/zen_server/dashboard/assets/dates-3pMLCNrD.js +0 -1
- zenml/zen_server/dashboard/assets/delete-run-DlSLEl5T.js +0 -1
- zenml/zen_server/dashboard/assets/docker-BuDBFEDL.js +0 -1
- zenml/zen_server/dashboard/assets/dots-horizontal-BGRJCPCs.js +0 -1
- zenml/zen_server/dashboard/assets/flavor-select-BnPxvQDN.js +0 -1
- zenml/zen_server/dashboard/assets/form-schemas-CbvoEUHr.js +0 -1
- zenml/zen_server/dashboard/assets/index-CFESYpe4.js +0 -1
- zenml/zen_server/dashboard/assets/index-CmLcvK2z.js +0 -1
- zenml/zen_server/dashboard/assets/index-CzX3ZYlI.css +0 -1
- zenml/zen_server/dashboard/assets/index-D2iSHVZq.js +0 -64
- zenml/zen_server/dashboard/assets/kubernetes-D6OUjwSK.js +0 -1
- zenml/zen_server/dashboard/assets/link-external-DUhCSKNm.js +0 -1
- zenml/zen_server/dashboard/assets/login-command-CkqxPtV3.js +0 -1
- zenml/zen_server/dashboard/assets/login-mutation-CXc-Klim.js +0 -1
- zenml/zen_server/dashboard/assets/not-found-olRU3fnu.js +0 -1
- zenml/zen_server/dashboard/assets/page-7keIM1V3.js +0 -1
- zenml/zen_server/dashboard/assets/page-B31neFwG.js +0 -1
- zenml/zen_server/dashboard/assets/page-B3zo4KYS.js +0 -1
- zenml/zen_server/dashboard/assets/page-BN3MHq1a.js +0 -1
- zenml/zen_server/dashboard/assets/page-BNgVExjN.js +0 -1
- zenml/zen_server/dashboard/assets/page-BPtvu74G.js +0 -1
- zenml/zen_server/dashboard/assets/page-BTIuG0ki.js +0 -2
- zenml/zen_server/dashboard/assets/page-BcQzleH6.js +0 -1
- zenml/zen_server/dashboard/assets/page-C05Jw4M2.js +0 -1
- zenml/zen_server/dashboard/assets/page-C28a7K8h.js +0 -1
- zenml/zen_server/dashboard/assets/page-C9WLk0X-.js +0 -1
- zenml/zen_server/dashboard/assets/page-CINMx64X.js +0 -1
- zenml/zen_server/dashboard/assets/page-CYrJbk7P.js +0 -1
- zenml/zen_server/dashboard/assets/page-Ce0cqLo3.js +0 -1
- zenml/zen_server/dashboard/assets/page-CgNsEkw-.js +0 -1
- zenml/zen_server/dashboard/assets/page-Ct2FUYuR.js +0 -1
- zenml/zen_server/dashboard/assets/page-D8G2B3Bu.js +0 -1
- zenml/zen_server/dashboard/assets/page-DL8a4_lg.js +0 -3
- zenml/zen_server/dashboard/assets/page-DMhYn1cF.js +0 -1
- zenml/zen_server/dashboard/assets/page-Dd_Yq-Uf.js +0 -6
- zenml/zen_server/dashboard/assets/page-DfSvqT8g.js +0 -1
- zenml/zen_server/dashboard/assets/page-Dt6ANUTx.js +0 -1
- zenml/zen_server/dashboard/assets/page-DtvTleaT.js +0 -1
- zenml/zen_server/dashboard/assets/page-DwfGTiVs.js +0 -1
- zenml/zen_server/dashboard/assets/page-JgomSTDc.js +0 -1
- zenml/zen_server/dashboard/assets/page-L84ig6HB.js +0 -1
- zenml/zen_server/dashboard/assets/page-Mabsn4QJ.js +0 -1
- zenml/zen_server/dashboard/assets/page-P04L5cm9.js +0 -1
- zenml/zen_server/dashboard/assets/page-PfhAnvq4.js +0 -1
- zenml/zen_server/dashboard/assets/page-WdRrlNt_.js +0 -1
- zenml/zen_server/dashboard/assets/page-cqJDDDeK.js +0 -1
- zenml/zen_server/dashboard/assets/page-k-Wxh9L_.js +0 -1
- zenml/zen_server/dashboard/assets/page-y-zV4n0c.js +0 -1
- zenml/zen_server/dashboard/assets/rocket-Cf-B-XOR.js +0 -1
- zenml/zen_server/dashboard/assets/settings_preview-0JLrRgHP.webp +0 -0
- zenml/zen_server/dashboard/assets/sharedSchema-Bse2agAf.js +0 -14
- zenml/zen_server/dashboard/assets/stack-detail-query-BAcZJrN3.js +0 -1
- zenml/zen_server/dashboard/assets/tick-circle-m94Aa6Zt.js +0 -1
- zenml/zen_server/dashboard/assets/tour-cover-BYfeen6M.webp +0 -0
- zenml/zen_server/dashboard/assets/type-guards-CaeD8wHO.js +0 -1
- zenml/zen_server/dashboard/assets/update-server-settings-mutation-DwMM1LJz.js +0 -1
- {zenml_nightly-0.82.1.dev20250527.dist-info → zenml_nightly-0.83.0.dev20250529.dist-info}/LICENSE +0 -0
- {zenml_nightly-0.82.1.dev20250527.dist-info → zenml_nightly-0.83.0.dev20250529.dist-info}/WHEEL +0 -0
- {zenml_nightly-0.82.1.dev20250527.dist-info → zenml_nightly-0.83.0.dev20250529.dist-info}/entry_points.txt +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
import{r as p,j as e}from"./@radix-C7hRs6Kx.js";import{S as L}from"./package-D1Mhqeh8.js";import{I as v}from"./Infobox-D9k5TFH4.js";import{b as R,C as T}from"./index.esm-D7jFlf5N.js";import{T as S}from"./Tick-CEsT3HPR.js";import{b6 as O,b7 as H,b8 as V,ah as E,S as y,_ as z,A as M,b as B,h as W,B as G,az as Y,aA as F,aB as q,aC as Q,aD as $}from"./index-D2iSHVZq.js";import{C as c}from"./ComponentBadge-DKw7Gndh.js";import{s as w}from"./index-CrhdX_qG.js";import{g as J}from"./ProviderRadio-BVDA-fAr.js";import{a as N}from"./@tanstack-CSxjHCME.js";import{S as D}from"./logs-B5n0U7tB.js";import{C as k}from"./CodeSnippet-CvI6D0wx.js";import{N as _}from"./NumberBox-D2A7ENHb.js";import{p as K,s as U}from"./persist-D87V82eO.js";import{S as X}from"./link-external-DUhCSKNm.js";import{C as ee}from"./ProviderIcon-DLo7t1lo.js";const P=p.createContext(null);function Ee({children:a}){const{success:t,data:s}=K(),[r,n]=p.useState(!1),[l,i]=p.useState(!!t),[o,h]=p.useState(t?{location:s.location,provider:s.provider,stackName:s.stackName}:{}),[x,u]=p.useState(t?s.timestamp:""),m=p.useRef(null);return e.jsx(P.Provider,{value:{isNextButtonDisabled:r,setIsNextButtonDisabled:n,data:o,setData:h,isLoading:l,setIsLoading:i,formRef:m,timestamp:x,setTimestamp:u},children:a})}function A(){const a=p.useContext(P);if(a===null)throw new Error("useNewInfraFormContext must be used within an AuthProvider");return a}const re=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM12 4.5C12.5523 4.5 13 4.94772 13 5.5V6H13.1667C15.0076 6 16.5 7.49238 16.5 9.33333C16.5 9.88562 16.0523 10.3333 15.5 10.3333C14.9477 10.3333 14.5 9.88562 14.5 9.33333C14.5 8.59695 13.903 8 13.1667 8H11C10.1716 8 9.5 8.67157 9.5 9.5C9.5 10.3284 10.1716 11 11 11H13C14.933 11 16.5 12.567 16.5 14.5C16.5 16.433 14.933 18 13 18V18.5C13 19.0523 12.5523 19.5 12 19.5C11.4477 19.5 11 19.0523 11 18.5V18H10.8333C8.99238 18 7.5 16.5076 7.5 14.6667C7.5 14.1144 7.94772 13.6667 8.5 13.6667C9.05228 13.6667 9.5 14.1144 9.5 14.6667C9.5 15.403 10.097 16 10.8333 16H13C13.8284 16 14.5 15.3284 14.5 14.5C14.5 13.6716 13.8284 13 13 13H11C9.067 13 7.5 11.433 7.5 9.5C7.5 7.567 9.067 6 11 6V5.5C11 4.94772 11.4477 4.5 12 4.5Z"})),ae=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.16145 4L18.8385 4C19.3657 3.99998 19.8205 3.99997 20.195 4.03057C20.5904 4.06287 20.9836 4.13419 21.362 4.32698C21.9265 4.6146 22.3854 5.07354 22.673 5.63803C22.8658 6.01641 22.9371 6.40963 22.9694 6.80498C23 7.17954 23 7.6343 23 8.16144V15.8386C23 16.3657 23 16.8205 22.9694 17.195C22.9371 17.5904 22.8658 17.9836 22.673 18.362C22.3854 18.9265 21.9265 19.3854 21.362 19.673C20.9836 19.8658 20.5904 19.9371 20.195 19.9694C19.8205 20 19.3657 20 18.8386 20L5.16148 20C4.63432 20 4.17955 20 3.80497 19.9694C3.40963 19.9371 3.01641 19.8658 2.63803 19.673C2.07354 19.3854 1.6146 18.9265 1.32698 18.362C1.13419 17.9836 1.06287 17.5904 1.03057 17.195C0.999967 16.8205 0.999983 16.3657 1 15.8385L1 10.0006C1 10.0004 1 10.0008 1 10.0006C1 10.0004 1 9.99958 1 9.99937L1 8.16146C0.999983 7.63431 0.999968 7.17955 1.03057 6.80497C1.06287 6.40963 1.13419 6.01641 1.32698 5.63803C1.6146 5.07354 2.07354 4.6146 2.63803 4.32698C3.01641 4.13419 3.40963 4.06287 3.80497 4.03057C4.17955 3.99997 4.63431 3.99998 5.16145 4ZM3 11V15.8C3 16.3766 3.00078 16.7488 3.02393 17.0322C3.04612 17.3038 3.0838 17.4045 3.109 17.454C3.20487 17.6422 3.35785 17.7951 3.54601 17.891C3.59546 17.9162 3.69617 17.9539 3.96784 17.9761C4.25117 17.9992 4.62345 18 5.2 18L18.8 18C19.3766 18 19.7488 17.9992 20.0322 17.9761C20.3038 17.9539 20.4045 17.9162 20.454 17.891C20.6422 17.7951 20.7951 17.6422 20.891 17.454C20.9162 17.4045 20.9539 17.3038 20.9761 17.0322C20.9992 16.7488 21 16.3766 21 15.8V11H3ZM21 9H3V8.2C3 7.62345 3.00078 7.25117 3.02393 6.96784C3.04612 6.69617 3.0838 6.59546 3.109 6.54601C3.20487 6.35785 3.35785 6.20487 3.54601 6.109C3.59546 6.0838 3.69617 6.04612 3.96784 6.02393C4.25118 6.00078 4.62345 6 5.2 6L18.8 6C19.3766 6 19.7488 6.00078 20.0322 6.02393C20.3038 6.04613 20.4045 6.0838 20.454 6.109C20.6422 6.20487 20.7951 6.35785 20.891 6.54601C20.9162 6.59546 20.9539 6.69617 20.9761 6.96784C20.9992 7.25118 21 7.62345 21 8.2V9ZM5 14C5 13.4477 5.44772 13 6 13H11C11.5523 13 12 13.4477 12 14C12 14.5523 11.5523 15 11 15H6C5.44772 15 5 14.5523 5 14Z"}));function I({provider:a}){return e.jsxs(O,{children:[e.jsx(H,{className:"block",children:e.jsxs(v,{intent:"warning",children:["This will give ZenML permissions and create secret keys for secure ZenML -",">"," ",J(a)," communication. You can revoke these permissions at any time."]})}),e.jsx(V,{sideOffset:0,className:"w-auto p-5",children:e.jsx(E,{viewportClassName:"max-h-[300px]",children:e.jsx(te,{provider:a})})})]})}function te({provider:a}){const{isPending:t,isError:s,error:r,data:n}=N(w.stackDeploymentInfo({provider:a}));if(t)return e.jsx(y,{className:"h-[100px] w-full"});if(s)return e.jsx("p",{children:r.message});const l=Object.entries(n.permissions);return e.jsx("ul",{className:"space-y-2 pr-3 text-text-sm",children:l.map(([i,o])=>e.jsxs("li",{className:"flex flex-col gap-1",children:[e.jsx("p",{children:i}),e.jsx("ul",{className:"list-inside list-[square] pl-4 text-neutral-400 marker:text-primary-200",children:o.map((h,x)=>e.jsx("li",{children:h},x))})]},i))})}function se({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j,C,b;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(z,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(S,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"IAM Role",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to AWS resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/iam.webp",alt:"IAM logo"}}),n&&e.jsx(I,{provider:"aws"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"S3 Bucket",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/aws.png",alt:"S3 logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"ECR Repository",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/aws.png",alt:"ECR logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"SageMaker",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/sagemaker.png",alt:"Sagemaker logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.operator)==null?void 0:f.name)||"Sagemaker Step Operator",subtitle:((j=r==null?void 0:r.operator)==null?void 0:j.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/sagemaker.png",alt:"Sagemaker step operator logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((C=r==null?void 0:r.imageBuilder)==null?void 0:C.name)||"AWS Image Builder",subtitle:((b=r==null?void 0:r.imageBuilder)==null?void 0:b.id)||"Build and manage container images",badge:e.jsx(c,{type:"image_builder",children:"Image Builder"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/image_builder/aws.png",alt:"AWS Image Builder logo"}})})]})}function le({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j,C,b;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(z,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(S,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"Service Account",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to GCP resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/gcp-iam.webp",alt:"Service Account logo"}}),n&&e.jsx(I,{provider:"gcp"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"GCS Bucket",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/gcp.png",alt:"GCS logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"Google Artifact Registry",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/gcp.png",alt:"Google Artifact Registry logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"Vertex AI",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/vertexai.png",alt:"VertexAI logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.imageBuilder)==null?void 0:f.name)||"Cloud Build",isLoading:t,isSuccess:s,subtitle:((j=r==null?void 0:r.imageBuilder)==null?void 0:j.id)||"Build, test, and deploy images",badge:e.jsx(c,{type:"image_builder",children:"Image Builder"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/image_builder/gcp.png",alt:"Cloud Build logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((C=r==null?void 0:r.operator)==null?void 0:C.name)||"Vertex Step Operator",subtitle:((b=r==null?void 0:r.operator)==null?void 0:b.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/vertexai.png",alt:"Vertex step operator logo"}})})]})}function ie(){return e.jsx(v,{className:"border-warning-300 bg-warning-50",intent:"warning",children:'The Cloud Shell session will warn you that the ZenML GitHub repository is untrusted. We recommend that you review the contents of the repository and then check the "Trust repo" checkbox to proceed with the deployment, otherwise the Cloud Shell session will not be authenticated to access your GCP projects.'})}function ce(){const{data:a}=A(),t=N({...w.stackDeploymentConfig({provider:"gcp",stack_name:a.stackName,location:a.location})});return t.isError?null:t.isPending?e.jsx(y,{className:"h-[200px] w-full"}):e.jsxs("section",{className:"space-y-5 border-t border-theme-border-moderate pt-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(D,{className:"h-5 w-5 fill-primary-400"}),"Configuration"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"You will be asked to provide the following configuration values during the deployment process."})]}),e.jsx(k,{fullWidth:!0,highlightCode:!0,codeClasses:"whitespace-pre-wrap word-break-all",wrap:!0,code:t.data.configuration||""})]})}function De(){const{data:a}=A();return e.jsxs("div",{className:"space-y-5",children:[e.jsx(v,{children:"This will provision and register a basic ZenML stack with all the necessary resources and credentials required to run pipelines."}),a.provider!=="azure"&&e.jsxs("div",{children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-1",children:[e.jsx(ee,{provider:a.provider,className:"h-5 w-5"}),e.jsx("p",{className:"text-text-lg font-semibold",children:"Deploy the Stack"})]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Deploy the stack from your browser by clicking the button below:"})]}),a.provider==="gcp"&&e.jsx(ie,{}),a.provider!=="azure"&&e.jsx(Z,{setTimestampBool:!0}),a.provider==="gcp"&&e.jsx(ce,{}),a.provider==="azure"&&e.jsx(oe,{displayInfobox:!0})]})}function Z({setTimestampBool:a,children:t}){const{data:s,setTimestamp:r,setIsLoading:n}=A(),l=N({...w.stackDeploymentConfig({provider:s.provider,location:s.location,stack_name:s.stackName})});if(l.isError)return null;if(l.isPending)return e.jsx(y,{className:"h-[48px] w-[100px]"});function i(){const o=new Date().toISOString().slice(0,-1);a&&r(o),U({location:s.location||"",provider:s.provider||"aws",stackName:s.stackName,timestamp:o}),n(!0)}return e.jsx(W,{asChild:!0,className:"w-fit gap-3 whitespace-nowrap",size:"lg",onClick:()=>i(),children:e.jsxs("a",{href:l.data.deployment_url,target:"_blank",rel:"noopener noreferrer",children:[t||e.jsxs("div",{children:["Deploy in ",e.jsx("span",{className:"uppercase",children:s.provider})]}),e.jsx(X,{className:"h-5 w-5 shrink-0 fill-white"})]})})}function de({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(z,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(S,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"Azure Service Principal",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to Azure resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/azure-service-principal.webp",alt:"Service Principal logo"}}),n&&e.jsx(I,{provider:"azure"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"Azure Blob Storage",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/azure.png",alt:"Blob Storage logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"Azure Container Registry",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/azure.png",alt:"Azure Container Registry logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"Azure ML",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/azureml.png",alt:"Azure ML logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.operator)==null?void 0:f.name)||"Azure Step Operator",subtitle:((j=r==null?void 0:r.operator)==null?void 0:j.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/azureml.png",alt:"Azure Step Operator logo"}})})]})}function oe({displayInfobox:a=!1}){return e.jsxs("section",{className:"space-y-5",children:[e.jsx(pe,{}),e.jsx(ne,{displayInfobox:a}),e.jsx(xe,{}),e.jsx(he,{})]})}function ne({displayInfobox:a=!1}){return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"1"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Open the Azure Cloud Shell Console"})]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Deploy the stack using the Azure Cloud Shell console."})]}),e.jsx(Z,{setTimestampBool:!0,children:e.jsx("span",{className:"text-text-lg font-semibold",children:"Open the Azure Cloud Shell"})}),a&&e.jsx(v,{className:"border-warning-300 bg-warning-50",intent:"warning",children:"After the Terraform deployment is complete, you can close the Cloud Shell session and return to the dashboard to view details about the associated ZenML stack automatically registered with ZenML."})]})}function xe(){return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"2"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Create a file with the following configuration"})]}),e.jsxs("p",{className:"text-theme-text-secondary",children:["Create a file named ",e.jsx("code",{className:"font-mono text-primary-400",children:"main.tf"})," in the Cloud Shell and copy and paste the Terraform configuration below into it."]})]}),e.jsx(ue,{})]})}function he(){return e.jsxs("div",{className:"space-y-5",children:[e.jsx("div",{className:"space-y-1",children:e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"3"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Run the following commands"})]})}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-text-sm text-theme-text-secondary",children:"Initialize the Terraform configuration."}),e.jsx(k,{code:"terraform init --upgrade"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-text-sm text-theme-text-secondary",children:"Run terraform apply to deploy the ZenML stack to Azure."}),e.jsx(k,{code:"terraform apply"})]})]})}function ue(){const{data:a}=A(),t=N({...w.stackDeploymentConfig({provider:"azure",stack_name:a.stackName,location:a.location}),enabled:!!a.stackName});return t.isError?null:t.isPending?e.jsx(y,{className:"h-[200px] w-full"}):e.jsx(k,{fullWidth:!0,highlightCode:!0,codeClasses:"whitespace-pre-wrap word-break-all",wrap:!0,code:t.data.configuration||""})}function pe(){return e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(D,{className:"h-5 w-5 fill-primary-400"}),"Configuration"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"You will be asked to provide the following configuration values during the deployment process."})]})}function me({componentProps:a,type:t}){switch(t){case"aws":return e.jsx(se,{...a});case"gcp":return e.jsx(le,{...a});case"azure":return e.jsx(de,{...a})}}function d({img:a,title:t,subtitle:s,badge:r,isSuccess:n,isLoading:l}){return e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[l&&e.jsx(z,{className:"h-5 w-5 shrink-0 border-[3px]"}),n&&e.jsx(S,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx("img",{width:"40",height:"40",alt:a.alt,src:a.src}),e.jsxs("div",{children:[e.jsx("p",{className:"text-text-lg font-semibold",children:t}),e.jsx("p",{className:"text-theme-text-secondary",children:s})]})]}),r]})}function Pe({provider:a}){function t(){let s="#";switch(a){case"aws":s="https://calculator.aws/#/";break;case"gcp":s="https://cloud.google.com/products/calculator";break;case"azure":s="https://azure.microsoft.com/en-us/pricing/calculator/";break}return e.jsx("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"link",children:"official pricing calculator"})}return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(re,{className:"h-5 w-5 fill-primary-400"}),"Estimated Cost"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"These are rough estimates and actual costs may vary based on your usage."})]}),e.jsxs(G,{className:"flex items-start gap-[10px] p-3",children:[e.jsx("div",{className:"content-center rounded-sm bg-blue-25 p-1",children:e.jsx(ae,{className:"h-5 w-5 fill-blue-400"})}),e.jsxs("div",{children:[e.jsxs("p",{children:["A small training job would cost around:"," ",e.jsx("span",{className:"font-semibold text-theme-text-success",children:"$0.60"})]}),e.jsxs("p",{className:"text-text-xs text-theme-text-secondary",children:["Please use the ",e.jsx(t,{})," for a detailed estimate"]})]})]})]})}const ge=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C8.13401 3 5 6.13401 5 10C5 11.8921 5.85317 13.678 7.29228 15.5467C8.50741 17.1245 10.0627 18.6673 11.7323 20.3233C11.8212 20.4115 11.9105 20.5 12 20.5889C12.0895 20.5 12.1788 20.4115 12.2677 20.3233C13.9373 18.6673 15.4926 17.1245 16.7077 15.5467C18.1468 13.678 19 11.8921 19 10C19 6.13401 15.866 3 12 3ZM3 10C3 5.02944 7.02944 1 12 1C16.9706 1 21 5.02944 21 10C21 12.5262 19.8532 14.7402 18.2923 16.767C16.988 18.4607 15.3185 20.1156 13.6508 21.7689C13.3354 22.0816 13.02 22.3943 12.7071 22.7071C12.3166 23.0976 11.6834 23.0976 11.2929 22.7071C10.98 22.3943 10.6646 22.0816 10.3492 21.7689C8.68147 20.1156 7.01205 18.4607 5.70772 16.767C4.14683 14.7402 3 12.5262 3 10ZM12 8C10.8954 8 10 8.89543 10 10C10 11.1046 10.8954 12 12 12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8ZM8 10C8 7.79086 9.79086 6 12 6C14.2091 6 16 7.79086 16 10C16 12.2091 14.2091 14 12 14C9.79086 14 8 12.2091 8 10Z"}));function fe({provider:a}){const{control:t}=R(),{isPending:s,isError:r,data:n}=N({...w.stackDeploymentInfo({provider:a})});if(r)return null;if(s)return e.jsx(y,{className:"h-[40px] w-[100px]"});const l=Object.entries(n.locations);return e.jsx(T,{control:t,name:"region",render:({field:{onChange:i,ref:o,...h}})=>e.jsxs(Y,{...h,onValueChange:i,children:[e.jsx(F,{className:"border border-neutral-300 text-left text-text-md",children:e.jsx(q,{className:"flex items-center gap-2",placeholder:"Select your Location"})}),e.jsx(Q,{children:e.jsx(E,{viewportClassName:"max-h-[300px]",children:l.map(([x,u])=>e.jsxs($,{value:u,children:[x," - ",e.jsx("span",{className:"text-theme-text-secondary",children:u})]},x))})})]})})}function Ze({provider:a}){return e.jsxs("div",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(ge,{className:"h-5 w-5 fill-primary-400"}),"Choose Your Location"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select where you want to deploy your cloud infrastructure for optimal performance and compliance."})]}),e.jsx(fe,{provider:a})]})}function Le({provider:a}){const{watch:t}=R();return e.jsxs("div",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(L,{className:"h-5 w-5 fill-primary-400"}),"Review Your Stack Components"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"The following components will be created for your ZenML stack."})]}),e.jsx(me,{type:a,componentProps:{displayPermissions:!0,stackName:t("stackName")}}),e.jsx(v,{children:"These resources create a basic ZenML stack for ML workflow management. ZenML supports highly flexible stacks. You can build advanced stacks at any time, combining your preferred tools and components for more complex MLOps."})]})}export{oe as A,me as C,Z as D,Pe as E,ce as G,Ee as N,Ze as R,Le as a,De as b,A as u};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as e}from"./@radix-C7hRs6Kx.js";import{R as o}from"./index-D2iSHVZq.js";function a(){return e.jsx(o,{color:"yellow",rounded:!1,className:"rounded-md",children:e.jsx("span",{className:"font-semibold uppercase",children:"Pro"})})}export{a as P};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as e}from"./@radix-C7hRs6Kx.js";import{m as a,R as l,h as i,r as d}from"./index-D2iSHVZq.js";import{S as c}from"./check-DK77doTf.js";import{L as m}from"./@react-router-CNP6g_RL.js";function g({className:s,...r}){return e.jsx("div",{className:a("flex items-center overflow-hidden rounded-md border border-warning-100 bg-theme-surface-primary px-7 py-5",s),...r})}function j({className:s,...r}){return e.jsx("h2",{className:a("text-display-xs font-semibold",s),...r})}function w(){return e.jsxs("div",{className:"flex w-fit gap-2 rounded-md bg-[#FFF6EA] px-3 py-1",children:[e.jsx("p",{children:"Instantly access Pro features while keeping your existing setup"}),e.jsx(l,{color:"yellow",rounded:!0,size:"sm",className:"font-semibold uppercase",children:"New"})]})}function b({className:s,features:r,...t}){return e.jsx("ul",{...t,className:a("grid grid-cols-1 gap-x-7 gap-y-5 md:grid-cols-2"),children:r.map((n,o)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(u,{}),e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold",children:n.title}),e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:n.subtitle})]})]},o))})}function N(){return e.jsxs("div",{className:"flex w-fit flex-wrap gap-2",children:[e.jsx(i,{asChild:!0,className:"truncate bg-warning-600 hover:bg-warning-400 active:bg-warning-500 active:ring-warning-50",size:"md",children:e.jsx(m,{to:d.upgrade,children:"Try Pro Features"})}),e.jsx(i,{asChild:!0,intent:"secondary",className:"w-fit truncate",emphasis:"minimal",size:"md",children:e.jsx("a",{href:"https://www.zenml.io/pro",target:"_blank",rel:"noopener noreferrer",children:"Learn More"})})]})}function y({className:s,...r}){return e.jsx("img",{className:a("hidden w-full shrink-0 rounded-md border border-theme-border-moderate 2xl:block",s),...r})}function u(){return e.jsx("div",{className:"flex aspect-square h-5 w-5 shrink-0 items-center justify-center rounded-rounded bg-warning-400",children:e.jsx(c,{className:"h-3 w-3 shrink-0 fill-white"})})}export{g as P,u as T,j as a,w as b,b as c,N as d,y as e};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as c,j as e}from"./@radix-C7hRs6Kx.js";import{m as i,h as d,r as m,ad as u,I as x,R as p}from"./index-D2iSHVZq.js";import{T as f}from"./Tick-CEsT3HPR.js";import{c as h}from"./persist-D87V82eO.js";import{c as j}from"./@react-router-CNP6g_RL.js";import{b as N}from"./index.esm-D7jFlf5N.js";const o=c.createContext(null);function P({children:t,initialStep:r=0,maxSteps:s}){const[a,n]=c.useState(r);return e.jsx(o.Provider,{value:{currentStep:a,setCurrentStep:n,maxSteps:s},children:t})}function l(){const t=c.useContext(o);if(t===null)throw new Error("useWizardContext must be used within a WizardProvider");return t}function W({entries:t}){return e.jsx("aside",{className:"whitespace-nowrap p-2 text-text-sm",children:e.jsx("ul",{className:"space-y-5",children:t.map((r,s)=>e.jsx("li",{children:e.jsx(y,{index:s,children:r})},s))})})}function y({index:t,children:r}){const{currentStep:s}=l(),a=i("font-semibold flex items-center gap-1",{"text-theme-text-tertiary":t<s,"text-theme-text-secondary":t>s});return e.jsxs("div",{className:a,children:[e.jsx(b,{index:t}),e.jsx("span",{children:r})]})}function b({index:t}){const{currentStep:r}=l(),s=t+1;if(r>t)return e.jsx(f,{className:"h-5 w-5",tickClasses:"w-3 h-3"});if(r===t)return e.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-rounded bg-primary-300 text-white",children:s});if(r<t)return e.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-rounded bg-neutral-300 text-white",children:s})}function B(){const t=j();function r(){h(),t(m.stacks.create.index)}return e.jsx(d,{onClick:()=>r(),intent:"secondary",size:"md",children:"Cancel"})}function I(t){switch(t){case"aws":return"AWS";case"azure":return"Azure";case"gcp":return"GCP";default:return"Provider"}}function R(){var s;const{register:t,formState:{errors:r}}=N();return e.jsxs("section",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(u,{className:"h-5 w-5 fill-primary-400"}),"Select a name for your Stack"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Please select a name for your stack, that is not used already."})]}),e.jsx("div",{className:"flex items-center space-x-2",children:e.jsxs("div",{className:"space-y-1",children:[e.jsx(x,{className:`${r.stackName?"border-red-500":""}`,placeholder:"zenml-remote-stack",...t("stackName")}),r.stackName&&e.jsx("p",{className:"text-text-xs text-red-500",children:(s=r.stackName.message)==null?void 0:s.toString()})]})})]})}const v=c.forwardRef(({children:t,className:r,id:s,...a},n)=>e.jsxs("div",{className:"min-h-[160px] min-w-[160px]",children:[e.jsx("input",{id:s,...a,ref:n,className:i("peer sr-only",r),type:"radio"}),e.jsx("label",{htmlFor:s,className:"flex h-full w-full flex-col items-start justify-center space-y-5 rounded-md border border-theme-border-minimal bg-theme-surface-primary p-5 text-text-lg text-theme-text-secondary hover:cursor-pointer peer-checked:border-primary-100 peer-checked:bg-primary-25 peer-focus-visible:border-primary-100 peer-disabled:cursor-default peer-disabled:bg-neutral-50",children:t})]}));v.displayName="CloudProviderRadioButton";function E({icon:t,title:r,subtitle:s,comingSoon:a}){return e.jsxs("div",{className:"space-y-1 text-left",children:[t,e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"text-text-lg font-semibold text-theme-text-primary",children:r}),a&&e.jsx(p,{className:"font-semibold",color:"purple",size:"sm",children:"Coming Soon"})]}),e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:s})]})}export{v as C,W as L,E as P,R as S,P as W,B as a,I as g,l as u};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as a,j as e}from"./@radix-C7hRs6Kx.js";import{S as p}from"./trash-BWSZ7NRK.js";import{D as x,a as D}from"./DeleteAlertDialog-DVvXt-S6.js";import{f as j,t as R,v as C,h as w,D as b,w as y,x as S,C as v}from"./index-D2iSHVZq.js";import{S as A}from"./dots-horizontal-BGRJCPCs.js";import{A as O}from"./AlertDialogDropdownItem-BG7-Ki1L.js";import{u as k}from"./delete-run-DlSLEl5T.js";import{c as T}from"./@tanstack-CSxjHCME.js";const g=a.createContext(null);function F({children:t}){const[s,r]=a.useState([]),l=T(),{toast:n}=j(),u=k(),o=async i=>{try{const c=i.map(f=>u.mutateAsync({runId:f}));await Promise.all(c),n({description:"Deleted successfully.",status:"success",emphasis:"subtle",rounded:!0}),await l.invalidateQueries({queryKey:["runs"]}),r([])}catch(c){console.error("Failed to delete some runs:",c)}};return e.jsx(g.Provider,{value:{selectedRuns:s,setSelectedRuns:r,bulkDeleteRuns:o},children:t})}function h(){const t=a.useContext(g);if(!t)throw new Error("useRunsSelectorContext must be used within a RunsSelectorProvider");return t}function N(){const[t,s]=a.useState(!1),{bulkDeleteRuns:r,selectedRuns:l}=h();async function n(){await r(l),s(!1)}return e.jsxs(R,{open:t,onOpenChange:s,children:[e.jsx(C,{asChild:!0,children:e.jsxs(w,{className:"rounded-sharp border-y-0 bg-white",size:"md",emphasis:"subtle",intent:"secondary",children:[e.jsx(p,{className:"h-5 w-5 shrink-0 gap-1 fill-neutral-400"}),"Delete"]})}),e.jsx(x,{title:`Delete Run${l.length>=2?"s":""}`,handleDelete:n,children:e.jsxs(D,{children:[e.jsx("p",{children:"Are you sure?"}),e.jsx("p",{children:"This action cannot be undone."})]})})]})}function H(){const{selectedRuns:t}=h();return e.jsxs("div",{className:"flex items-center divide-x divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsx("div",{className:"bg-primary-25 px-2 py-1 font-semibold text-theme-text-brand",children:`${t==null?void 0:t.length} Run${(t==null?void 0:t.length)>1?"s":""} selected`}),e.jsx(N,{})]})}function Q({id:t}){const[s,r]=a.useState(!1),[l,n]=a.useState(!1),u=a.useRef(null),o=a.useRef(null),{bulkDeleteRuns:i}=h();async function c(){await i([t]),m(!1)}function f(){o.current=u.current}function m(d){if(d===!1){n(!1),setTimeout(()=>{r(d)},200);return}r(d)}return e.jsxs(b,{onOpenChange:n,open:l,children:[e.jsx(y,{ref:u,children:e.jsx(A,{className:"h-4 w-4 fill-theme-text-tertiary"})}),e.jsx(S,{hidden:s,onCloseAutoFocus:d=>{o.current&&(o.current.focus(),o.current=null,d.preventDefault())},align:"end",sideOffset:7,children:e.jsx(O,{onSelect:f,open:s,onOpenChange:m,triggerChildren:"Delete",icon:e.jsx(p,{fill:"red"}),children:e.jsx(x,{title:"Delete Run",handleDelete:c,children:e.jsxs(D,{children:[e.jsx("p",{children:"Are you sure?"}),e.jsx("p",{children:"This action cannot be undone."})]})})})})]})}const G=({id:t})=>{const{selectedRuns:s,setSelectedRuns:r}=h(),l=(n,u)=>{r(o=>n?[...o,u]:o.filter(i=>i!==u))};return e.jsx(v,{id:t,onCheckedChange:n=>l(n,t),checked:s.includes(t),className:"h-3 w-3"})};export{F as R,G as a,Q as b,H as c,h as u};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as a}from"./@radix-C7hRs6Kx.js";import{S as p}from"./refresh-CM5T3QeU.js";import{S as x,P as h}from"./SearchField-D-h6jXyg.js";import{u as j}from"./all-pipeline-runs-query-BGASHYtF.js";import{L as f,r as o,T as g,E as b,G as v,H as y,J as d,K as m,z as i,h as N,M as S,S as u}from"./index-D2iSHVZq.js";import{a as P,b as R,u as T,c as k}from"./RunSelector-BLuBYNJt.js";import{D as F}from"./DisplayDate-CYVBBSgr.js";import{g as w,E as C}from"./ExecutionStatus-XrvT2r65.js";import{I as E}from"./InlineAvatar-Cfz4WSLK.js";import{L as l,d as D}from"./@react-router-CNP6g_RL.js";const A=[{id:"check",header:"",meta:{width:"1%"},accessorFn:e=>({id:e.id}),cell:({getValue:e})=>{const{id:s}=e();return a.jsx(P,{id:s})}},{id:"name",header:"Run",accessorFn:e=>{var s;return{id:e.id,name:e.name,status:(s=e.body)==null?void 0:s.status}},cell:({getValue:e})=>{const{name:s,status:t,id:r}=e();return a.jsxs("div",{className:"group/copybutton flex items-center gap-2",children:[a.jsx(f,{className:`h-5 w-5 ${w(t)}`}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-1",children:[a.jsx(l,{to:o.runs.detail(r),className:"flex items-center gap-1",children:a.jsx("span",{className:"text-text-md font-semibold text-theme-text-primary",children:s})}),a.jsx(g,{children:a.jsxs(b,{children:[a.jsx(v,{className:"hover:text-theme-text-brand hover:underline",children:a.jsx(C,{status:t})}),a.jsx(y,{className:"z-20 capitalize",children:t})]})}),a.jsx(d,{copyText:s})]}),a.jsxs(l,{to:o.runs.detail(r),className:"flex items-center gap-1",children:[a.jsx("p",{className:"text-text-xs text-theme-text-secondary",children:r.split("-")[0]}),a.jsx(d,{copyText:r})]})]})]})}},{id:"pipeline",header:"Pipeline",accessorFn:e=>{var s,t;return(t=(s=e.body)==null?void 0:s.pipeline)==null?void 0:t.name},cell:({getValue:e})=>{const s=e();return s?a.jsx(l,{to:o.pipelines.namespace(s),children:a.jsx(m,{color:"purple",className:"inline-flex items-center gap-0.5 truncate",rounded:!1,emphasis:"subtle",children:s})}):null}},{id:"stack",header:"Stack",accessorFn:e=>{var s,t,r,n;return{name:(t=(s=e.body)==null?void 0:s.stack)==null?void 0:t.name,id:(n=(r=e.body)==null?void 0:r.stack)==null?void 0:n.id}},cell:({getValue:e})=>{const{name:s,id:t}=e();return!s||!t?null:a.jsx(m,{rounded:!1,className:"inline-block",color:"turquoise",emphasis:"subtle",children:s})}},{id:"created-at",header:"Created at",accessorFn:e=>{var s;return{date:(s=e.body)==null?void 0:s.created}},cell:({getValue:e})=>{const{date:s}=e();return a.jsx(F,{dateString:s})}},{id:"author",header:"Author",accessorFn:e=>{var s,t;return{name:(t=(s=e.body)==null?void 0:s.user)==null?void 0:t.name}},cell:({getValue:e})=>{const{name:s}=e();return s?a.jsx(E,{username:s}):null}},{id:"admin_actions",header:"",meta:{width:"5%"},cell:({row:e})=>a.jsx(R,{id:e.original.id})}],c=1,_=i.object({page:i.coerce.number().min(c).optional().default(c).catch(c),name:i.string().optional(),operator:i.enum(["and","or"]).optional(),status:i.enum(["pending","running","completed"]).optional()});function z(){const[e]=D(),{page:s,name:t,operator:r,status:n}=_.parse({page:e.get("page")||void 0,name:e.get("name")||void 0,operator:e.get("operator")||void 0,status:e.get("status")||void 0});return{page:s,name:t,logical_operator:r,status:n}}function U({fixedQueryParams:e={}}){const{selectedRuns:s}=T(),t=z(),{data:r,refetch:n}=j({params:{...t,sort_by:"desc:updated",...e}});return a.jsxs("div",{className:"mt-5 flex flex-col gap-5",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[s.length?a.jsx(k,{}):a.jsx(x,{searchParams:t}),a.jsx("div",{className:"flex justify-between",children:a.jsxs(N,{intent:"primary",emphasis:"subtle",size:"md",onClick:()=>n(),children:[a.jsx(p,{className:"h-5 w-5 fill-theme-text-brand"}),"Refresh"]})})]}),a.jsxs("div",{className:"flex flex-col items-center gap-5",children:[a.jsx("div",{className:"w-full",children:r?a.jsx(S,{columns:A,data:r.items}):a.jsx(u,{className:"h-[500px] w-full"})}),r?r.total_pages>1&&a.jsx(h,{searchParams:t,paginate:r}):a.jsx(u,{className:"h-[36px] w-[300px]"})]})]})}export{U as R};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as l,j as e}from"./@radix-C7hRs6Kx.js";import{S as C}from"./dots-horizontal-BGRJCPCs.js";import{S as w}from"./chevron-right-double-uNWbJT-C.js";import{aT as S,q as b,m as j,I as E}from"./index-D2iSHVZq.js";import{c as v,d as N}from"./@react-router-CNP6g_RL.js";import{d as L}from"./index-DR30v9MZ.js";const P=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("g",{id:"chevron-left-double"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M11.7071 6.29289C12.0976 6.68342 12.0976 7.31658 11.7071 7.70711L7.41421 12L11.7071 16.2929C12.0976 16.6834 12.0976 17.3166 11.7071 17.7071C11.3166 18.0976 10.6834 18.0976 10.2929 17.7071L5.29289 12.7071C4.90237 12.3166 4.90237 11.6834 5.29289 11.2929L10.2929 6.29289C10.6834 5.90237 11.3166 5.90237 11.7071 6.29289ZM18.7071 6.29289C19.0976 6.68342 19.0976 7.31658 18.7071 7.70711L14.4142 12L18.7071 16.2929C19.0976 16.6834 19.0976 17.3166 18.7071 17.7071C18.3166 18.0976 17.6834 18.0976 17.2929 17.7071L12.2929 12.7071C11.9024 12.3166 11.9024 11.6834 12.2929 11.2929L17.2929 6.29289C17.6834 5.90237 18.3166 5.90237 18.7071 6.29289Z"}))),R=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("g",{id:"chevron-left"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M15.7071 5.29289C16.0976 5.68342 16.0976 6.31658 15.7071 6.70711L10.4142 12L15.7071 17.2929C16.0976 17.6834 16.0976 18.3166 15.7071 18.7071C15.3166 19.0976 14.6834 19.0976 14.2929 18.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L14.2929 5.29289C14.6834 4.90237 15.3166 4.90237 15.7071 5.29289Z"})));function I({paginate:a,searchParams:c,inMemoryHandler:i}){const g=v(),{index:s,total_pages:d}=a;function u(n){if(i){i(n);return}const o=new URLSearchParams(b(c));o.set("page",n.toString()),g(`?${o.toString()}`,{preventScrollReset:!1})}const f=()=>{const n=[];let p=!1,m=!1;for(let t=1;t<=d;t++){const r=t>1&&t<d&&Math.abs(t-s)>1;(t===1||t===d||r||Math.abs(t-s)<=1)&&(r?t<s&&!p?(n.push(e.jsx(x,{},"ellipsis-left")),p=!0):t>s&&!m&&(n.push(e.jsx(x,{},"ellipsis-right")),m=!0):n.push(e.jsx(h,{"aria-label":`Go to page ${t}`,"aria-current":t===s,className:`${t===s?"!bg-primary-500 text-theme-text-negative":""}`,onClick:()=>u(t),disabled:t===s,children:t},t)))}return n};return e.jsx("nav",{role:"navigation","aria-label":"Pagination Navigation",children:e.jsxs("ul",{className:"flex gap-1",children:[e.jsx("li",{children:e.jsx(h,{disabled:s===1,onClick:()=>u(1),"aria-label":"Go to first page",children:e.jsx(P,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),e.jsx("li",{children:e.jsx(h,{disabled:s===1,onClick:()=>u(s-1),"aria-label":"Go to previous page",children:e.jsx(R,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),f().map((n,o)=>e.jsx("li",{children:n},o)),e.jsx("li",{children:e.jsx(h,{disabled:s===d,onClick:()=>u(s+1),"aria-label":"Go to next page",children:e.jsx(S,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),e.jsx("li",{children:e.jsx(h,{disabled:s===d,onClick:()=>u(d),"aria-label":"Go to last page",children:e.jsx(w,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})})]})})}function x(){return e.jsx("div",{className:"flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-theme-border-moderate",children:e.jsx(C,{className:"h-4 w-4"})})}const h=l.forwardRef(({className:a,...c},i)=>e.jsx("button",{...c,ref:i,className:j("group/button flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-neutral-300 hover:bg-neutral-200 active:border-neutral-400 active:bg-neutral-300 disabled:pointer-events-none disabled:bg-theme-surface-primary ",a)}));h.displayName="PaginationButton";const y=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18C12.8859 18 14.5977 17.2542 15.8564 16.0414C15.8827 16.0072 15.9115 15.9742 15.9429 15.9429C15.9742 15.9115 16.0072 15.8827 16.0414 15.8564C17.2542 14.5977 18 12.8859 18 11C18 7.13401 14.866 4 11 4ZM18.0319 16.6177C19.2635 15.078 20 13.125 20 11C20 6.02944 15.9706 2 11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20C13.125 20 15.078 19.2635 16.6177 18.0319L20.2929 21.7071C20.6834 22.0976 21.3166 22.0976 21.7071 21.7071C22.0976 21.3166 22.0976 20.6834 21.7071 20.2929L18.0319 16.6177Z"})),k=["equals:","contains:","startswith:","endswith:","gte:","gt:","lte:","lt:"];function B(a){const c=k.find(i=>a.startsWith(i));return c?a.slice(c.length):a}const M=l.forwardRef(({searchParams:a,searchContains:c=!0,inMemoryHandler:i,...g},s)=>{const d=v(),[u]=N(),[f,n]=l.useState(B(a.name||"")||""),o=l.useMemo(()=>L(p,500),[]);l.useEffect(()=>()=>{o.cancel()},[o]);function p(t){if(i){i(t);return}const r=new URLSearchParams({...Object.fromEntries(u),...b(a)});r.delete("logical_operator"),t?(r.set("name",c?`contains:${t}`:`${t}`),r.set("operator","or"),r.set("page","1")):(r.delete("name"),r.delete("operator")),d(`?${r.toString()}`,{preventScrollReset:!0,replace:!0})}function m(t){const{value:r}=t.target;n(r),o(r)}return e.jsxs("div",{className:"relative",children:[e.jsx(E,{className:"pl-[36px]",...g,ref:s,value:f,onChange:m,placeholder:"Search...",inputSize:"md"}),e.jsx("div",{className:"absolute inset-y-0 left-0 flex items-center pl-1",children:e.jsx(y,{className:"size-4 fill-neutral-400"})})]})});M.displayName="SearchField";export{I as P,M as S};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as y,j as e}from"./@radix-C7hRs6Kx.js";import{S as M}from"./plus-COjQg3AG.js";import{S as $}from"./trash-BWSZ7NRK.js";import{q as T,b as Q,a as z,c as L}from"./@tanstack-CSxjHCME.js";import{o as C,p as w,q as Z,j as g,s as v,F as N,z as c,ak as G,al as O,am as R,f as B,I as f,h,ap as H,aq as U,ar as J,T as _,E as W,G as X,a0 as Y,H as I}from"./index-D2iSHVZq.js";import{t as ee}from"./zod-C0xYeTvL.js";import{u as se,a as te,C as p}from"./index.esm-D7jFlf5N.js";import{C as ae}from"./CodeSnippet-CvI6D0wx.js";async function re({params:s}){const i=C(w.secrets.all+"?"+Z(s)),t=await g(i,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const l=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Failed to fetch secrets");throw new N({status:t.status,statusText:t.statusText,message:l})}return t.json()}async function ie(s){const i=C(w.secrets.detail(s)),t=await g(i,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const l=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>`Failed to fetch secret ${s}`);throw new N({status:t.status,statusText:t.statusText,message:l})}return t.json()}const j={all:["secrets"],secretList:s=>T({queryKey:[...j.all,s],queryFn:async()=>re({params:s})}),secretDetail:s=>T({queryKey:[...j.all,s],queryFn:async()=>ie(s)})},le=s=>y.createElement("svg",{viewBox:"0 0 20 14",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.29898 3.86908C4.04374 4.91672 3.16532 6.14781 2.72143 6.85066C2.69198 6.89729 2.67138 6.92996 2.65417 6.95831C2.64281 6.97702 2.63531 6.98996 2.63029 6.99898C2.63029 6.99932 2.63029 6.99966 2.63029 6.99999C2.63029 7.00033 2.63029 7.00067 2.63029 7.001C2.63531 7.01003 2.64281 7.02297 2.65417 7.04168C2.67138 7.07003 2.69198 7.1027 2.72143 7.14933C3.16532 7.85218 4.04374 9.08327 5.29898 10.1309C6.55226 11.1769 8.13098 12 10.0004 12C11.8699 12 13.4486 11.1769 14.7019 10.1309C15.9571 9.08327 16.8355 7.85218 17.2794 7.14933C17.3089 7.1027 17.3295 7.07003 17.3467 7.04168C17.358 7.02297 17.3655 7.01002 17.3705 7.001C17.3705 7.00067 17.3705 7.00033 17.3705 6.99999C17.3705 6.99966 17.3705 6.99932 17.3705 6.99899C17.3655 6.98997 17.358 6.97702 17.3467 6.95831C17.3295 6.92996 17.3089 6.89729 17.2794 6.85066C16.8355 6.14781 15.9571 4.91672 14.7019 3.86908C13.4486 2.82308 11.8699 1.99999 10.0004 1.99999C8.13097 1.99999 6.55226 2.82308 5.29898 3.86908ZM4.23104 2.58952C5.67154 1.38726 7.61569 0.333328 10.0004 0.333328C12.3851 0.333328 14.3293 1.38726 15.7698 2.58952C17.2083 3.79014 18.1946 5.17857 18.6886 5.9607C18.6951 5.97104 18.7018 5.98159 18.7086 5.99236C18.8067 6.14664 18.9339 6.34696 18.9983 6.62764C19.0502 6.85426 19.0502 7.14573 18.9983 7.37235C18.9339 7.65303 18.8067 7.85335 18.7086 8.00763C18.7018 8.01841 18.6951 8.02895 18.6886 8.03929C18.1946 8.82142 17.2083 10.2098 15.7698 11.4105C14.3293 12.6127 12.3851 13.6667 10.0004 13.6667C7.61569 13.6667 5.67154 12.6127 4.23104 11.4105C2.7925 10.2098 1.80622 8.82142 1.31227 8.03929C1.30574 8.02895 1.29904 8.01841 1.2922 8.00764C1.19418 7.85335 1.06692 7.65303 1.00258 7.37235C0.950637 7.14573 0.950637 6.85426 1.00258 6.62764C1.06692 6.34696 1.19418 6.14664 1.2922 5.99235C1.29904 5.98158 1.30574 5.97104 1.31227 5.9607C1.80622 5.17857 2.7925 3.79014 4.23104 2.58952ZM10.0004 5.33333C9.07994 5.33333 8.33375 6.07952 8.33375 6.99999C8.33375 7.92047 9.07994 8.66666 10.0004 8.66666C10.9209 8.66666 11.6671 7.92047 11.6671 6.99999C11.6671 6.07952 10.9209 5.33333 10.0004 5.33333ZM6.66708 6.99999C6.66708 5.15905 8.15947 3.66666 10.0004 3.66666C11.8414 3.66666 13.3338 5.15905 13.3338 6.99999C13.3338 8.84094 11.8414 10.3333 10.0004 10.3333C8.15947 10.3333 6.66708 8.84094 6.66708 6.99999Z"})),ne=c.object({secretName:c.string().min(1,"Secret Name is required"),keysValues:c.array(c.object({key:c.string().min(1,"Key is required"),value:c.string().min(1,"Value is required"),showPassword:c.boolean().optional()}))});async function oe(s,i){const t=C(w.secrets.detail(s)),l=await g(t,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(l.status===404&&v(),!l.ok)throw new N({message:"Error updating secret",status:l.status,statusText:l.statusText});return l.json()}function ce(s){return Q({mutationFn:async({id:i,body:t})=>oe(i,t),...s})}function Ce({secretId:s,isSecretNameEditable:i,dialogTitle:t}){return e.jsxs(G,{className:"mx-auto w-[90vw] max-w-[744px]",children:[e.jsx(O,{children:e.jsx(R,{children:t})}),e.jsx(ue,{secretId:s,isSecretNameEditable:i})]})}function ue({secretId:s,isSecretNameEditable:i}){const{data:t,isLoading:l,isError:n}=z({...j.secretDetail(s)}),{handleSubmit:E,control:u,setValue:m,watch:b,formState:{isValid:V}}=se({resolver:ee(ne),defaultValues:{secretName:"",keysValues:[{key:"",value:""}]}}),{fields:x,append:q,remove:D}=te({control:u,name:"keysValues"});y.useEffect(()=>{var a;t&&(m("secretName",t.name),m("keysValues",Object.entries(((a=t.body)==null?void 0:a.values)||{}).map(([r,o])=>({key:r,value:String(o)}))))},[t,m]);const F=()=>{q({key:"",value:"",showPassword:!1})},{toast:k}=B(),S=L(),{mutate:P}=ce({onError(a){J(a)&&k({status:"error",emphasis:"subtle",description:a.message,rounded:!0})},onSuccess(){k({status:"success",emphasis:"subtle",description:"Secret updated successfull",rounded:!0}),S.invalidateQueries({queryKey:["secrets"]}),S.invalidateQueries({queryKey:["secretDetail",s]})}}),K=a=>{const r={name:a.secretName,scope:"workspace",values:a.keysValues.reduce((o,d)=>(d.key&&d.value&&(o[d.key]=d.value),o),{})};P({id:s,body:r})},A=a=>{const r=b(`keysValues.${a}.showPassword`);m(`keysValues.${a}.showPassword`,!r)};return l?e.jsx("p",{children:"Loading..."}):n?e.jsx("p",{children:"Error fetching secret details."}):e.jsxs(e.Fragment,{children:[e.jsx("form",{id:"edit-secret-form",className:"gap-5 p-5",onSubmit:E(K),children:e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("label",{className:"font-inter text-sm text-left font-medium leading-5",children:["Secret Name",e.jsx("span",{className:"ml-1 text-theme-text-error",children:"*"})]}),e.jsx(p,{name:"secretName",control:u,render:({field:a})=>e.jsx(f,{...a,className:"mb-3 w-full",required:!0,disabled:!i})})]}),e.jsxs("div",{className:"mt-10",children:[e.jsx("div",{children:e.jsx("h1",{className:"font-inter text-lg text-left font-semibold",children:"Keys"})}),e.jsxs("div",{className:"mt-5 flex flex-row",children:[e.jsx("div",{className:"flex-grow",children:e.jsx("label",{className:"font-inter text-sm text-left font-medium",children:"Key"})}),e.jsx("div",{className:"flex-grow pr-12",children:e.jsx("label",{className:"font-inter text-sm text-left font-medium",children:"Value"})})]})]}),x.map((a,r)=>e.jsxs("div",{className:"flex flex-row items-center space-x-1",children:[e.jsx("div",{className:"relative flex-grow",children:e.jsx(p,{name:`keysValues.${r}.key`,control:u,render:({field:o})=>e.jsx(f,{...o,className:"mb-2 w-full",required:!0,placeholder:"key"})})}),e.jsx("div",{className:"relative flex-grow",children:e.jsxs("div",{className:"relative",children:[e.jsx(p,{name:`keysValues.${r}.value`,control:u,render:({field:o})=>e.jsx(f,{...o,className:"mb-2 w-full pr-10",required:!0,placeholder:"•••••••••",type:b(`keysValues.${r}.showPassword`)?"text":"password"})}),e.jsx("button",{type:"button",onClick:()=>A(r),className:"absolute inset-y-1 right-0 flex items-center pb-1 pr-3",children:e.jsx(le,{className:"h-4 w-4 flex-shrink-0"})})]})}),e.jsxs("div",{className:"flex items-center",children:[r===x.length-1&&e.jsx(h,{intent:"primary",emphasis:"subtle",onClick:F,className:"mb-2 flex h-7 w-7 items-center justify-center",children:e.jsx(M,{className:"flex-shrink-0 fill-primary-600"})}),r!==x.length-1&&e.jsx(h,{intent:"secondary",emphasis:"minimal",onClick:()=>D(r),className:"mb-2 h-7 w-7 items-center justify-center",children:e.jsx($,{className:"flex-shrink-0 fill-theme-text-secondary"})})]})]},a.id))]})}),e.jsxs(H,{className:"gap-[10px]",children:[e.jsx(U,{asChild:!0,children:e.jsx(h,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(h,{intent:"primary",type:"submit",form:"edit-secret-form",disabled:!V,children:"Save Secret"})]})]})}function we({code:s}){return e.jsx(_,{children:e.jsxs(W,{children:[e.jsx(X,{children:e.jsx(Y,{className:"h-4 w-4 shrink-0 fill-theme-text-tertiary"})}),e.jsxs(I,{className:"z-50 flex max-w-[480px] flex-col gap-2 bg-theme-surface-primary p-5 text-text-sm text-theme-text-primary",children:[e.jsx("p",{className:"text-md text-theme-text-primary",children:"To use your secret in a step, you can use the following code:"}),e.jsx(ae,{highlightCode:!0,wrap:!0,codeClasses:"break-words",code:s}),e.jsx("a",{className:"link w-fit text-primary-400",target:"_blank",href:"https://docs.zenml.io/how-to/interact-with-secrets#accessing-registered-secrets",children:"Learn More"})]})]})})}export{Ce as E,le as S,we as a,j as b,ne as s,ce as u};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as l,j as e}from"./@radix-C7hRs6Kx.js";import{S as I}from"./plus-COjQg3AG.js";import{S as z}from"./refresh-CM5T3QeU.js";import{S as O,P as R}from"./SearchField-D-h6jXyg.js";import{s as g}from"./index-CrhdX_qG.js";import{z as h,ak as F,al as L,am as M,ai as U,aj as _,h as m,aQ as B,a2 as H,a3 as q,a4 as Q,S as p,A as D,b as A,J as j,B as $,Z as W,r as f,ac as G,o as J,F as K,p as Z,f as V,i as X,as as Y,at as ee,au as se,av as te,D as b,w as ae,x as ne,aH as re,M as ie}from"./index-D2iSHVZq.js";import{a as v,b as le,c as ce}from"./@tanstack-CSxjHCME.js";import{d as oe,L as N,c as de}from"./@react-router-CNP6g_RL.js";import{D as xe}from"./DisplayDate-CYVBBSgr.js";import{I as me}from"./InlineAvatar-Cfz4WSLK.js";import{C as w}from"./CodeSnippet-CvI6D0wx.js";import{S as ue,C as he}from"./CollapsibleCard-D20FtrzC.js";import{e as k}from"./components-Br2ezRib.js";import{N as C}from"./NumberBox-D2A7ENHb.js";import{C as pe}from"./ComponentBadge-DKw7Gndh.js";import{I as je}from"./Infobox-D9k5TFH4.js";import{S as fe}from"./dots-horizontal-BGRJCPCs.js";import{S as ge}from"./trash-BWSZ7NRK.js";import{D as ye}from"./DialogItem-BHWf3sIB.js";import{A as Ne}from"./AlertDialogDropdownItem-BG7-Ki1L.js";const y=1,we=h.object({page:h.coerce.number().min(y).optional().default(y).catch(y),name:h.string().optional(),operator:h.enum(["and","or"]).optional()});function ve(){const[t]=oe(),{page:s,name:a,operator:n}=we.parse({page:t.get("page")||void 0,name:t.get("name")||void 0});return{page:s,name:a,logical_operator:n}}const T=l.createContext(null);function Se({children:t}){const[s,a]=l.useState([]);return e.jsx(T.Provider,{value:{integrations:s,setIntegrations:a},children:t})}function P(){const t=l.useContext(T);if(t===null)throw new Error("useIntegrationsContext must be used within an AuthProvider");return t}const S=l.forwardRef(({closeModal:t,name:s,...a},n)=>e.jsxs(F,{...a,ref:n,children:[e.jsx(L,{children:e.jsx(M,{children:"Update Stack"})}),e.jsxs("div",{className:"space-y-5 p-7",children:[e.jsx(be,{action:"update"}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Update a stack"}),e.jsx(w,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml stack update ${s} -o NEW_ORCHESTRATOR_NAME`})]})]})]}));S.displayName="UpdateStackDialog";function be({action:t}){function s(){switch(t){case"delete":return"delete";case"update":return"update";case"describe":return"get details of"}}return e.jsx(je,{children:e.jsx("div",{className:"flex w-full flex-wrap justify-between gap-2",children:e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"truncate text-text-sm font-semibold",children:"We are working on the new Stacks experience."}),e.jsxs("p",{className:"truncate text-text-sm",children:["Meanwhile you can use the CLI to ",s()," your stack."]})]})})})}function ke({name:t}){const[s,a]=l.useState(!1);return e.jsxs(U,{open:s,onOpenChange:a,children:[e.jsx(_,{asChild:!0,children:e.jsx(m,{type:"button",size:"sm",intent:"primary",emphasis:"subtle",children:e.jsx(B,{})})}),e.jsx(S,{name:t,className:"lg:min-w-[600px]"})]})}function Ce({children:t,stackId:s,stackName:a}){return e.jsxs(H,{children:[e.jsx(q,{children:t}),e.jsx(Q,{className:"w-[1000px] overflow-y-auto",children:e.jsxs(Se,{children:[e.jsx(ue,{}),e.jsx(De,{stackId:s}),e.jsx(Pe,{name:a}),e.jsx(Ae,{stackId:s})]})})]})}function De({stackId:t}){const s=v({...g.stackDetail(t)});return s.isError?null:s.isPending?e.jsx("div",{className:"p-5",children:e.jsx(p,{className:"h-6 w-full"})}):e.jsxs("div",{className:"flex items-center justify-between border-b border-theme-border-moderate bg-theme-surface-primary p-5",children:[e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(D,{type:"square",size:"lg",children:e.jsx(A,{size:"lg",children:s.data.name[0]})}),e.jsxs("div",{children:[e.jsxs("div",{className:"group/copybutton flex items-center gap-0.5",children:[e.jsx("p",{className:"mb-0.5 text-text-sm text-theme-text-secondary",children:s.data.id}),e.jsx(j,{copyText:s.data.id})]}),e.jsx("div",{className:"flex items-center gap-1",children:e.jsx("h2",{className:"text-display-xs font-semibold",children:s.data.name})})]})]}),e.jsx("div",{className:"flex items-center gap-2",children:e.jsx(ke,{name:s.data.name})})]})}function Ae({stackId:t}){var r;const{setIntegrations:s}=P(),a=v({...g.stackDetail(t)});if(l.useEffect(()=>{var d;if(!a.data)return;const c=k((d=a.data.metadata)==null?void 0:d.components).map(o=>{var x;return(x=o.body)==null?void 0:x.integration}).filter(o=>!!o&&o!=="built-in"&&o!=="custom");c.length>=1&&s(o=>Array.from(new Set([...o,...c])))},[a.data]),a.isError)return null;if(a.isPending)return e.jsx("div",{className:"p-5",children:e.jsx(p,{className:"h-[300px] w-full"})});const n=k((r=a.data.metadata)==null?void 0:r.components);return e.jsx("ul",{className:"space-y-5 p-5",children:n.map(i=>e.jsx("li",{children:e.jsx(Te,{component:i})},i.id))})}function Te({component:t}){var s,a,n,r;return e.jsxs($,{className:"flex items-center justify-between p-5",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx("img",{width:32,height:32,alt:`${(s=t.body)==null?void 0:s.flavor_name} logo`,src:W(((a=t.body)==null?void 0:a.logo_url)||"")}),e.jsxs("div",{children:[e.jsx(N,{to:f.components.detail(t.id),className:"text-text-xl",children:t.name}),e.jsxs("div",{className:"group/copybutton flex items-center gap-0.5",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:t.id.split("-")[0]}),e.jsx(j,{copyText:t.id})]})]})]}),e.jsx(N,{to:f.components.overview,children:e.jsx(pe,{type:((n=t.body)==null?void 0:n.type)||"orchestrator",children:G(((r=t.body)==null?void 0:r.type)||"")})})]})}function Pe({name:t}){const{integrations:s}=P();return e.jsx("section",{className:"px-5 pt-5",children:e.jsx(he,{title:e.jsx("span",{className:"text-text-lg",children:"Set this stack"}),initialOpen:!0,children:e.jsxs("ul",{className:"space-y-5",children:[e.jsxs("li",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(C,{children:"1"}),e.jsx("p",{className:"font-semibold",children:"Set your stack"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Set the stack as active on your client"}),e.jsx(w,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml stack set ${t}`})]})]}),s.length>=1&&e.jsxs("li",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(C,{children:"2"}),e.jsx("p",{className:"font-semibold",children:"Install the integrations"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Install the required integrations to run pipelines in your stack"}),e.jsx(w,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml integration install ${s.join(" ")}`})]})]})]})})})}async function Ee({stackId:t},s){const a=J(Z.stacks.detail(t)),n=await fetch(a,{method:"DELETE",credentials:"include",headers:{"Content-Type":"application/json"}});if(!n.ok){const r=await n.json().then(i=>Array.isArray(i.detail)?i.detail[1]:i.detail).catch(()=>`Error while deleting stack ${t}`);throw new K({status:n.status,statusText:n.statusText,message:r})}return n.json()}function Ie(t){return le({...t,mutationFn:async({stackId:s})=>Ee({stackId:s})})}function ze(t){const{toast:s}=V(),a=ce(),n=de(),r=Ie({onSuccess:async()=>{a.invalidateQueries({queryKey:g.all}),n(f.stacks.overview)},onError:c=>{s({status:"error",emphasis:"subtle",icon:e.jsx(X,{className:"h-5 w-5 shrink-0 fill-error-700"}),description:c.message,rounded:!0})}});function i(){r.mutate({stackId:t})}return{handleDelete:i,deleteStack:r}}const E=l.forwardRef(({closeModal:t,name:s,stackId:a,...n},r)=>{const{handleDelete:i,deleteStack:c}=ze(a);return e.jsxs(Y,{...n,className:"p-0",ref:r,children:[e.jsxs(ee,{className:"m-0 py-2 pl-5 pr-3 text-text-lg font-semibold",children:["Delete ",s]}),e.jsx("div",{className:"border-y border-theme-border-moderate px-5 py-5",children:e.jsxs(se,{children:["Are you sure you want to delete this stack? ",e.jsx("br",{}),"This action cannot be undone."]})}),e.jsxs("div",{className:"flex justify-end gap-3 px-5 py-3",children:[e.jsx(te,{onClick:()=>t==null?void 0:t(),asChild:!0,children:e.jsx(m,{intent:"secondary",children:"Cancel"})}),e.jsxs(m,{disabled:c.isPending,type:"button",onClick:()=>i(),intent:"danger",children:[c.isPending&&e.jsx("div",{role:"alert","aria-busy":"true",className:"full h-[20px] w-[20px] animate-spin rounded-rounded border-2 border-theme-text-negative border-b-theme-text-error"}),"Delete"]})]})]})});E.displayName="DeleteStackDialog";function Oe({name:t,id:s}){const[a,n]=l.useState(!1),[r,i]=l.useState(!1),c=l.useRef(null),d=l.useRef(null);function o(){d.current=c.current}function x(u){n(u),u===!1&&i(!1)}return e.jsx(b,{open:r,onOpenChange:i,children:e.jsxs(b,{children:[e.jsx(ae,{className:"z-10",ref:c,children:e.jsx(fe,{className:"h-5 w-5 fill-theme-text-secondary"})}),e.jsxs(ne,{hidden:a,onCloseAutoFocus:u=>{d.current&&(d.current.focus(),d.current=null,u.preventDefault())},className:"z-10",align:"end",sideOffset:1,children:[e.jsx(ye,{onSelect:o,onOpenChange:x,icon:e.jsx(re,{className:"h-3 w-3 !fill-neutral-400"}),triggerChildren:"Update",children:e.jsx(S,{name:t,className:"lg:min-w-[600px]",closeModal:()=>x(!1)})}),e.jsx(Ne,{onSelect:o,onOpenChange:x,icon:e.jsx(ge,{className:"h-3 w-3 !fill-neutral-400"}),triggerChildren:"Delete",children:e.jsx(E,{stackId:s,name:t,className:"lg:min-w-[600px]",closeModal:()=>x(!1)})})]})]})})}function Re(){const t=[{id:"name",header:"Stack",accessorFn:s=>({name:s.name,id:s.id}),cell:({getValue:s})=>{const{name:a,id:n}=s();return e.jsxs("div",{className:"group/copybutton flex items-center gap-2",children:[e.jsx(D,{type:"square",size:"md",children:e.jsx(A,{size:"md",children:a[0]})}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(Ce,{stackName:a,stackId:n,children:e.jsx("h2",{className:"text-text-md font-semibold",children:a})}),e.jsx(j,{copyText:a})]}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"text-text-xs text-theme-text-secondary",children:n.split("-")[0]}),e.jsx(j,{copyText:n})]})]})]})}},{id:"created",header:"Created at",accessorFn:s=>{var a;return(a=s.body)==null?void 0:a.created},cell:({getValue:s})=>e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:e.jsx(xe,{dateString:s()})})},{id:"author",header:"Author",accessorFn:s=>{var a,n;return{author:(n=(a=s.body)==null?void 0:a.user)==null?void 0:n.name}},cell:({getValue:s})=>{const{author:a}=s();return a?e.jsx(me,{username:a}):null}},{id:"actions",header:"",accessorFn:s=>({name:s.name,id:s.id}),cell:({getValue:s})=>{const{id:a,name:n}=s();return e.jsx(Oe,{name:n,id:a})}}];return l.useMemo(()=>t,[])}function ts({fixedQueryParams:t={}}){const s=ve(),a=Re(),{refetch:n,data:r}=v({...g.stackList({...s,sort_by:"desc:updated",...t}),throwOnError:!0});return e.jsx("section",{children:e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-y-4",children:[e.jsx(O,{searchParams:s}),e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs(m,{intent:"primary",emphasis:"subtle",size:"md",onClick:()=>n(),children:[e.jsx(z,{className:"h-5 w-5 fill-theme-text-brand"}),"Refresh"]}),e.jsx(m,{size:"md",asChild:!0,children:e.jsxs(N,{to:f.stacks.create.index,children:[e.jsx(I,{className:"h-5 w-5 shrink-0 fill-white"}),e.jsx("span",{children:"New Stack"})]})})]})]}),e.jsxs("div",{className:"flex flex-col items-center gap-5",children:[e.jsx("div",{className:"w-full",children:r?e.jsx(ie,{columns:a,data:r.items}):e.jsx(p,{className:"h-[500px] w-full"})}),r?r.total_pages>1&&e.jsx(R,{searchParams:s,paginate:r}):e.jsx(p,{className:"h-[36px] w-[300px]"})]})]})})}export{ts as S};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as e,r as N}from"./@radix-C7hRs6Kx.js";import{K as C,aM as S,S as y,a6 as T,a7 as w,a8 as k,a9 as P,Z as D,z as j,N as E,O as I,Q as x,aN as O,ad as U,L as K,U as g}from"./index-D2iSHVZq.js";import{S as L}from"./chevron-down-A-rmltmI.js";import{b as M}from"./ComponentIcon-ils7uNAk.js";import{D as v}from"./DisplayDate-CYVBBSgr.js";import{I as R}from"./InlineAvatar-Cfz4WSLK.js";import{K as l,N as z}from"./NestedCollapsible-Dor-bi98.js";import{d as A,c as B}from"./@react-router-CNP6g_RL.js";function F({connectorName:a}){return e.jsxs(C,{color:"yellow",rounded:!1,className:"w-fit gap-0.5",emphasis:"subtle",children:[e.jsx(M,{width:20,height:20,className:"shrink-0 fill-warning-900"}),e.jsx("span",{children:a})]})}function Q({componentId:a}){return e.jsxs("section",{className:"grid grid-cols-1 gap-5 @5xl:grid-cols-2",children:[e.jsx("div",{children:e.jsx(V,{componentId:a})}),e.jsx("div",{children:e.jsx(_,{componentId:a})})]})}function V({componentId:a}){var i,c,p,h,f,b;const[s,r]=N.useState(!0),o=S(a);if(o.isError)return null;if(o.isPending)return e.jsx(y,{className:"h-[150px] w-full"});const t=o.data,n=(i=t.body)==null?void 0:i.user,m=(c=t.body)==null?void 0:c.created,d=(p=t.body)==null?void 0:p.updated,u=(h=t.metadata)==null?void 0:h.connector;return e.jsxs(T,{open:s,onOpenChange:r,children:[e.jsx(w,{className:"flex items-center gap-[10px]",children:e.jsxs(k,{className:"flex w-full items-center",children:[e.jsx(L,{className:` ${s?"":"-rotate-90"} mr-2 h-5 w-5 rounded-md fill-neutral-500 transition-transform duration-200 hover:bg-neutral-200`}),"Basic Parameters"]})}),e.jsx(P,{className:"border-t border-theme-border-moderate bg-theme-surface-primary px-5 py-3",children:e.jsxs("dl",{className:"grid grid-cols-1 gap-x-[10px] gap-y-2 md:grid-cols-3 md:gap-y-4",children:[e.jsx(l,{label:"Component Name",value:t.name}),e.jsx(l,{label:"Flavor",value:e.jsxs(C,{rounded:!1,className:"w-fit gap-0.5 text-theme-text-primary",color:"grey",emphasis:"minimal",children:[e.jsx("img",{width:20,height:20,src:D(((f=t.body)==null?void 0:f.logo_url)||""),alt:"Flavor Icon of Component"}),e.jsx("p",{className:"truncate",children:(b=t.body)==null?void 0:b.flavor_name})]})}),e.jsx(l,{label:"Author",value:n!=null&&n.name?e.jsx(R,{username:n.name}):"Not available"}),e.jsx(l,{label:"Service Connector",value:u?e.jsx(F,{connectorName:u.name}):"Not available"}),e.jsx(l,{label:"Updated",value:d?e.jsx(v,{dateString:d}):"Not available"}),e.jsx(l,{label:"Created",value:m?e.jsx(v,{dateString:m}):"Not available"})]})})]})}function _({componentId:a}){var r;const s=S(a);return s.isError?null:s.isPending?e.jsx(y,{className:"h-[150px] w-full"}):e.jsx(z,{isInitialOpen:!0,intent:"primary",title:"Configuration",data:(r=s.data.metadata)==null?void 0:r.configuration})}const $=j.object({tab:j.enum(["configuration","stacks","runs"]).optional().default("configuration").catch("configuration")});function H(){const[a]=A(),{tab:s}=$.parse({tab:a.get("tab")||void 0});return s}function ae({componentId:a,isPanel:s,stacksTabContent:r,runsTabContent:o}){const[t,n]=N.useState("configuration"),m=H(),d=B();function u(i){if(s){n(i);return}const c=new URLSearchParams;c.set("tab",i),d(`?${c.toString()}`)}return e.jsx("div",{className:"p-5",children:e.jsxs(E,{value:s?t:m,onValueChange:u,children:[e.jsxs(I,{children:[e.jsxs(x,{className:"flex items-center gap-2 text-text-md",value:"configuration",children:[e.jsx(O,{className:"h-5 w-5 shrink-0 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),e.jsx("span",{children:"Configuration"})]}),e.jsxs(x,{className:"flex items-center gap-2 text-text-md",value:"stacks",children:[e.jsx(U,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),e.jsx("span",{children:"Stacks"})]}),e.jsxs(x,{className:"flex items-center gap-2 text-text-md",value:"runs",children:[e.jsx(K,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),e.jsx("span",{children:"Runs"})]})]}),e.jsx(g,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"configuration",children:e.jsx(Q,{componentId:a})}),e.jsx(g,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"stacks",children:r}),e.jsx(g,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"runs",children:o})]})})}export{ae as S};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as s}from"./@radix-C7hRs6Kx.js";import{bc as o,m as i}from"./index-D2iSHVZq.js";import{S as m}from"./check-DK77doTf.js";function n({tickClasses:r,...c}){return s.jsx(o,{...c,children:s.jsx(m,{className:i("h-4 w-4 fill-success-300",r)})})}export{n as T};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as e,r as t}from"./@radix-C7hRs6Kx.js";import{u as Q,d as S,I as k,p as H,U as D}from"./form-schemas-CbvoEUHr.js";import{h as A,A as U,a as T,b as R,I as E,C as u,ae as w,m as F,aN as J}from"./index-D2iSHVZq.js";import{t as j}from"./zod-C0xYeTvL.js";import{u as L,C as Z}from"./index.esm-D7jFlf5N.js";import{S as O,b as V,a as K}from"./gcp-CHNvgEss.js";import{S as z}from"./kubernetes-D6OUjwSK.js";import{S as P}from"./rocket-Cf-B-XOR.js";const Y="/assets/adam-e-y0WnB_.webp",q="/assets/alex-DcCuDHPg.webp",W="/assets/baris-C0ZrZ10g.webp",X="/assets/hamza-NKKOZz1I.webp",G="/assets/stefan-B08Ftbba.webp";function M1(){const{setSurveyStep:s}=Q();function o(){window.open("https://zenml.io/slack","_blank"),s(l=>l+1)}return e.jsxs("div",{className:"max-w-[540px] space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"Join The ZenML Slack Community"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Connect to our growing community and meet fellow ZenML enthusiasts, get support, and share your insights. Let's grow together!"})]}),e.jsx($,{}),e.jsx(A,{onClick:()=>o(),className:"h-auto min-h-8 w-full justify-center py-1",intent:"primary",emphasis:"bold",size:"lg",children:"Join the ZenML Community and Continue"}),e.jsx(A,{intent:"secondary",emphasis:"minimal",onClick:()=>s(l=>l+1),className:"mx-auto justify-center text-neutral-500",size:"sm",children:"Skip this step"})]})}const _=[{name:"Adam",image:Y},{name:"Hamza",image:X},{name:"Alex",image:q},{name:"Stefan",image:G},{name:"Baris",image:W}];function $(){return e.jsxs("div",{className:"space-y-1",children:[e.jsx("div",{className:"flex items-center justify-center -space-x-[7px]",children:_.map(s=>e.jsxs(U,{size:"lg",type:"rounded",children:[e.jsx(T,{alt:`Portrait of ${s.name}`,src:s.image}),e.jsx(R,{size:"lg",children:s.name[0]})]},s.name))}),e.jsx("p",{className:"text-center text-text-xs text-theme-text-tertiary",children:"Adam Probst, Hamza Tahir, and +1,800 others have already joined"})]})}function j1({email:s,fullName:o,submitHandler:l}){const i=t.useId(),r=t.useId(),d=t.useId(),{register:m,handleSubmit:x,control:h,watch:a,formState:{isValid:p}}=L({resolver:j(S),defaultValues:{fullName:o||"",getUpdates:!0,email:s||""}});return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"Add your account details"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Please, fill in your details to get started with ZenML."})]}),e.jsxs("form",{onSubmit:x(l),className:"space-y-5",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("label",{htmlFor:i,className:"text-text-sm",children:"Name"}),e.jsx(E,{...m("fullName"),id:i,className:"w-full"})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("label",{htmlFor:r,className:"text-text-sm",children:["Email ",!a("getUpdates")&&e.jsx(e.Fragment,{children:"(optional)"})]}),e.jsx(E,{placeholder:"example@company.inc",...m("email"),type:"email",id:r,className:"w-full"})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx(Z,{control:h,name:"getUpdates",render:({field:{onChange:c,value:C}})=>e.jsx(u,{checked:C,onCheckedChange:n=>c(!!n),id:d})}),e.jsx("label",{htmlFor:d,className:"text-text-sm",children:"I want to receive news and recommendations about how to use ZenML"})]}),e.jsx(A,{disabled:!p,className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})}),e.jsxs("p",{className:"text-center text-theme-text-secondary",children:["By continuing you agree to the"," ",e.jsx("a",{className:"link text-theme-text-brand",href:"https://www.zenml.io/privacy-policy",rel:"noopener noreferrer",target:"_blank",children:"Privacy Policy"})]})]})]})}const e1=s=>t.createElement("svg",{viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{d:"M21.9999 8.18613C21.7761 7.72384 21.5171 7.2777 21.2166 6.85693L18.006 8.02537C18.3794 8.40751 18.6931 8.83704 18.9496 9.29639L21.9999 8.18613ZM7.80775 11.7372L4.59619 12.9056C4.63724 13.4206 4.72618 13.9294 4.85077 14.4278L7.90158 13.317C7.80236 12.801 7.76717 12.2693 7.80775 11.7372Z",fill:"#C22133"}),t.createElement("path",{d:"M14.9352 7.27651C15.6032 7.58829 16.1818 8.01343 16.67 8.51188L19.8806 7.34348C18.9912 6.09541 17.7798 5.05258 16.2957 4.36011C11.7056 2.21972 6.22948 4.21253 4.0896 8.80215C3.39666 10.2873 3.13911 11.8647 3.2603 13.3923L6.4714 12.2238C6.52464 11.528 6.69423 10.8307 7.0055 10.1622C8.3963 7.18027 11.9533 5.8863 14.9352 7.27651ZM18.3597 13.1438C18.3084 13.8392 18.1329 14.5365 17.8207 15.2055C16.4304 18.1879 12.8729 19.4819 9.89149 18.0916C9.22247 17.7793 8.6395 17.3576 8.15325 16.8582L4.94904 18.0242C5.83647 19.2722 7.04643 20.3155 8.53149 21.0085C13.1216 23.1484 18.5967 21.1556 20.7371 16.5655C21.4305 15.0814 21.6861 13.5039 21.5639 11.9778L18.3597 13.1438Z",fill:"#DB212E"}),t.createElement("path",{d:"M19.1492 9.22388L16.0983 10.3341C16.6652 11.3496 16.933 12.5185 16.845 13.6943L20.0493 12.5288C19.9575 11.3807 19.6523 10.2599 19.1492 9.22388ZM5.05081 14.3546L2 15.4658C2.28133 16.5824 2.76785 17.637 3.43475 18.5757L6.63849 17.4093C5.81607 16.5648 5.26923 15.4961 5.05081 14.3546Z",fill:"#EB2126"}),t.createElement("path",{d:"M21.535 7.34025C21.4338 7.17606 21.3288 7.01429 21.2169 6.85693L18.0063 8.02537C18.1475 8.17002 18.2775 8.32346 18.4016 8.48082L21.535 7.34025ZM7.79556 12.382C7.78742 12.167 7.79149 11.9518 7.80775 11.7374L4.59619 12.9058C4.61281 13.1115 4.63869 13.3158 4.66949 13.5196L7.79556 12.382Z",fill:"#AD213B"}),t.createElement("path",{d:"M21.5637 11.9778L18.3594 13.1438C18.3257 13.6051 18.2358 14.0674 18.0887 14.5218L21.5764 13.2503C21.6015 12.8263 21.5972 12.4012 21.5637 11.9778ZM4.94922 18.0246C5.19771 18.374 5.47059 18.7053 5.76581 19.0162L9.25396 17.7441C8.84641 17.489 8.47795 17.1915 8.15296 16.8582L4.94922 18.0246Z",fill:"#BA2133"})),s1=[{name:"GCP",icon:e.jsx(O,{className:"h-5 w-5 shrink-0"})},{name:"AWS",icon:e.jsx(V,{className:"h-5 w-5 shrink-0"})},{name:"Azure",icon:e.jsx(K,{className:"h-5 w-5 shrink-0"})},{name:"Native Kubernetes",icon:e.jsx(z,{className:"h-5 w-5 shrink-0"})},{name:"Openshift",icon:e.jsx(e1,{className:"h-5 w-5 shrink-0"})}];function L1({submitHandler:s}){const o=t.useRef(null),{register:l,setValue:i,watch:r,handleSubmit:d,control:m,formState:{isValid:x}}=L({resolver:j(k),defaultValues:{providers:[]},shouldUnregister:!0}),h=r("other");return t.useEffect(()=>{var a;h&&((a=o.current)==null||a.focus())},[h]),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"What is your current infrastructure?"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select all the applicable options"})]}),e.jsxs("form",{onSubmit:d(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid w-full grid-cols-1 gap-[20px] md:grid-cols-2 lg:min-w-[700px]",children:[e.jsx(Z,{control:m,name:"providers",render:({field:{onChange:a,value:p}})=>e.jsx(e.Fragment,{children:s1.map((c,C)=>e.jsxs("label",{className:w("flex items-center gap-1 rounded-md border pl-3 transition-all duration-150",{"border-primary-400 bg-primary-25 shadow-sm":r("providers").includes(c.name),"border-theme-border-minimal bg-theme-surface-primary hover:border-theme-border-bold hover:shadow-sm":!r("providers").includes(c.name)}),children:[e.jsx(u,{onCheckedChange:n=>{a(n?[...p,c.name]:p.filter(B=>B!==c.name))},value:c.name,className:"h-3 w-3"}),e.jsxs("div",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",children:[c.icon,c.name]})]},C))})}),e.jsxs("div",{className:w("flex items-center rounded-md border bg-theme-surface-primary p-3 transition duration-150",{"border-primary-400":!!r("other"),"border-theme-border-minimal hover:border-theme-border-bold":!r("other")}),children:[e.jsx(u,{onCheckedChange:a=>i("other",!!a),...l("other",{value:!1}),className:"mr-2 h-3 w-3",id:"other"}),h?e.jsx("input",{...l("otherVal"),ref:a=>{l("otherVal").ref(a),o.current=a},placeholder:"Specify...",className:"w-full border-none p-0 pr-2 placeholder:text-theme-text-tertiary focus:outline-none focus:ring-0"}):e.jsx("label",{className:"w-full text-theme-text-secondary hover:cursor-pointer",htmlFor:"other",children:"Other"})]})]}),e.jsx(A,{disabled:!x,type:"submit",className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})}),e.jsx(A,{intent:"secondary",emphasis:"minimal",onClick:()=>s({providers:["local"],other:!1}),className:"mx-auto justify-center text-neutral-500",size:"sm",children:"Skip this step"})]})]})}const t1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.16146 2H9.83854C10.3657 1.99998 10.8205 1.99997 11.195 2.03057C11.5904 2.06287 11.9836 2.13419 12.362 2.32698C12.9265 2.6146 13.3854 3.07354 13.673 3.63803C13.8658 4.01641 13.9371 4.40963 13.9694 4.80497C14 5.17955 14 5.63432 14 6.16148V10L17.8385 10C18.3657 9.99998 18.8205 9.99997 19.195 10.0306C19.5904 10.0629 19.9836 10.1342 20.362 10.327C20.9265 10.6146 21.3854 11.0735 21.673 11.638C21.8658 12.0164 21.9371 12.4096 21.9694 12.805C22 13.1795 22 13.6343 22 14.1614V20C22.5523 20 23 20.4477 23 21C23 21.5523 22.5523 22 22 22H2C1.44772 22 1 21.5523 1 21C1 20.4477 1.44772 20 2 20V6.16146C1.99998 5.63431 1.99997 5.17955 2.03057 4.80497C2.06287 4.40963 2.13419 4.01641 2.32698 3.63803C2.6146 3.07354 3.07354 2.6146 3.63803 2.32698C4.01641 2.13419 4.40963 2.06287 4.80497 2.03057C5.17954 1.99997 5.63431 1.99998 6.16146 2ZM4 20H12V6.2C12 5.62345 11.9992 5.25118 11.9761 4.96784C11.9539 4.69617 11.9162 4.59546 11.891 4.54601C11.7951 4.35785 11.6422 4.20487 11.454 4.109C11.4045 4.0838 11.3038 4.04612 11.0322 4.02393C10.7488 4.00078 10.3766 4 9.8 4H6.2C5.62345 4 5.25117 4.00078 4.96784 4.02393C4.69617 4.04612 4.59545 4.0838 4.54601 4.109C4.35785 4.20487 4.20487 4.35785 4.10899 4.54601C4.0838 4.59546 4.04612 4.69617 4.02393 4.96784C4.00078 5.25117 4 5.62345 4 6.2V20ZM14 12V20H20V14.2C20 13.6234 19.9992 13.2512 19.9761 12.9678C19.9539 12.6962 19.9162 12.5955 19.891 12.546C19.7951 12.3578 19.6422 12.2049 19.454 12.109C19.4045 12.0838 19.3038 12.0461 19.0322 12.0239C18.7488 12.0008 18.3766 12 17.8 12H14ZM5.5 7C5.5 6.44772 5.94772 6 6.5 6H9.5C10.0523 6 10.5 6.44772 10.5 7C10.5 7.55229 10.0523 8 9.5 8H6.5C5.94772 8 5.5 7.55229 5.5 7ZM5.5 11C5.5 10.4477 5.94772 10 6.5 10H9.5C10.0523 10 10.5 10.4477 10.5 11C10.5 11.5523 10.0523 12 9.5 12H6.5C5.94772 12 5.5 11.5523 5.5 11ZM5.5 15C5.5 14.4477 5.94772 14 6.5 14H9.5C10.0523 14 10.5 14.4477 10.5 15C10.5 15.5523 10.0523 16 9.5 16H6.5C5.94772 16 5.5 15.5523 5.5 15Z"})),r1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8026 4.52039L11.8026 4.52039L11.8026 4.52039ZM12 4.61798L19.7639 8.49994L19.5721 8.59583C19.5596 8.6018 19.5471 8.60803 19.5348 8.6145L17 9.88191L12.4472 7.60552C11.9532 7.35853 11.3526 7.55875 11.1056 8.05273C10.8586 8.54671 11.0588 9.14738 11.5528 9.39437L14.7639 10.9999L12 12.3819L4.4652 8.61451C4.4529 8.60803 4.44044 8.6018 4.42784 8.59583L4.23607 8.49994L12 4.61798ZM3 10.118L1.55279 9.39437C1.214 9.22498 1 8.87872 1 8.49994C1 8.12117 1.214 7.77491 1.55279 7.60552L11.195 2.7844C11.2024 2.7807 11.211 2.77633 11.2206 2.77143C11.3139 2.72382 11.507 2.62529 11.7234 2.58468C11.9062 2.55039 12.0938 2.55039 12.2766 2.58468C12.493 2.62529 12.6861 2.72382 12.7794 2.77143C12.789 2.77633 12.7976 2.7807 12.805 2.7844L22.4472 7.60552C22.786 7.77491 23 8.12117 23 8.49994C23 8.87872 22.786 9.22498 22.4472 9.39437L21 10.118V16.3066C21 16.332 21.0001 16.3582 21.0002 16.3851C21.0013 16.6707 21.0027 17.0296 20.884 17.3629C20.7814 17.6508 20.6142 17.9113 20.3952 18.1245C20.1417 18.3713 19.8149 18.5196 19.5548 18.6376C19.5303 18.6487 19.5065 18.6595 19.4833 18.6701L13.0833 21.6035C13.0667 21.6111 13.0496 21.619 13.0321 21.6271C12.8423 21.7147 12.6034 21.8251 12.3421 21.8704C12.1157 21.9097 11.8843 21.9097 11.6579 21.8704C11.3966 21.8251 11.1577 21.7147 10.9679 21.6271C10.9504 21.619 10.9333 21.6111 10.9167 21.6035L4.5167 18.6701L4.93335 17.7611L4.51669 18.6701C4.49354 18.6595 4.46967 18.6487 4.44522 18.6376C4.1851 18.5196 3.85826 18.3713 3.60476 18.1245C3.3858 17.9113 3.21862 17.6508 3.11604 17.3629C2.99727 17.0296 2.99867 16.6707 2.99979 16.3851C2.9999 16.3582 3 16.332 3 16.3066V10.118ZM5 11.118V16.3066C5 16.505 5.00047 16.6074 5.00521 16.6814C5.00536 16.6837 5.0055 16.6859 5.00565 16.688C5.00747 16.6889 5.00938 16.69 5.01138 16.6911C5.07675 16.7262 5.16965 16.7693 5.35001 16.852L11.75 19.7853C11.8813 19.8455 11.9473 19.8754 11.9962 19.895C11.9975 19.8955 11.9988 19.896 12 19.8965C12.0012 19.896 12.0025 19.8955 12.0038 19.895C12.0527 19.8754 12.1187 19.8455 12.25 19.7853L18.65 16.852C18.8304 16.7693 18.9233 16.7262 18.9886 16.6911C18.9906 16.69 18.9925 16.6889 18.9944 16.688C18.9945 16.6859 18.9946 16.6837 18.9948 16.6814C18.9995 16.6074 19 16.505 19 16.3066V11.118L18 11.618V14.4999C18 15.0522 17.5523 15.4999 17 15.4999C16.4477 15.4999 16 15.0522 16 14.4999V12.618L12.805 14.2155C12.7976 14.2192 12.789 14.2236 12.7794 14.2285C12.6861 14.2761 12.493 14.3746 12.2766 14.4152C12.0938 14.4495 11.9062 14.4495 11.7234 14.4152C11.507 14.3746 11.3139 14.2761 11.2206 14.2285C11.211 14.2236 11.2024 14.2192 11.195 14.2155L5 11.118ZM11.8026 12.4795C11.8024 12.4796 11.8024 12.4796 11.8026 12.4795L11.8026 12.4795ZM12.1974 12.4795C12.1976 12.4796 12.1976 12.4796 12.1974 12.4795L12.1974 12.4795ZM12.1974 4.52039L12.1974 4.52039L12.1974 4.52039Z"})),a1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C10.067 4 8.50002 5.567 8.50002 7.5C8.50002 9.433 10.067 11 12 11C13.933 11 15.5 9.433 15.5 7.5C15.5 5.567 13.933 4 12 4ZM6.50002 7.5C6.50002 4.46243 8.96246 2 12 2C15.0376 2 17.5 4.46243 17.5 7.5C17.5 10.5376 15.0376 13 12 13C8.96246 13 6.50002 10.5376 6.50002 7.5ZM9.32629 14.5C9.38335 14.5 9.44125 14.5 9.50003 14.5H14.5C14.5588 14.5 14.6167 14.5 14.6738 14.5C15.901 14.4995 16.739 14.4992 17.4514 14.7153C19.0495 15.2 20.3 16.4506 20.7847 18.0486C21.0008 18.761 21.0005 19.599 21.0001 20.8263C21 20.8833 21 20.9412 21 21C21 21.5523 20.5523 22 20 22C19.4477 22 19 21.5523 19 21C19 19.5317 18.9892 19.0192 18.8708 18.6291C18.58 17.6703 17.8297 16.92 16.8709 16.6292C16.4808 16.5108 15.9683 16.5 14.5 16.5H9.50003C8.03171 16.5 7.51923 16.5108 7.12917 16.6292C6.17036 16.92 5.42005 17.6703 5.1292 18.6291C5.01088 19.0192 5.00002 19.5317 5.00002 21C5.00002 21.5523 4.55231 22 4.00002 22C3.44774 22 3.00002 21.5523 3.00002 21C3.00002 20.9412 3 20.8833 2.99998 20.8263C2.99953 19.599 2.99922 18.761 3.21532 18.0486C3.70007 16.4506 4.95059 15.2 6.54859 14.7153C7.261 14.4992 8.09902 14.4995 9.32629 14.5Z"})),M=t.forwardRef(({children:s,className:o,id:l,...i},r)=>e.jsxs("div",{className:"min-h-[160px] min-w-[160px]",children:[e.jsx("input",{id:l,...i,ref:r,className:F("peer sr-only",o),type:"radio"}),e.jsx("label",{htmlFor:l,className:"flex h-full w-full flex-col items-center justify-center space-y-5 rounded-md border border-theme-border-minimal bg-theme-surface-primary p-5 text-text-lg text-theme-text-secondary transition-all duration-150 hover:cursor-pointer hover:border-theme-border-bold hover:shadow-sm peer-checked:border-primary-400 peer-checked:bg-primary-25 peer-checked:shadow-sm peer-focus-visible:border-primary-100",children:s})]}));M.displayName="UseRadioButton";function Z1({submitHandler:s,user:o}){var d,m;const{handleSubmit:l,register:i,formState:{isValid:r}}=L({defaultValues:{primaryUse:(m=(d=o==null?void 0:o.metadata)==null?void 0:d.user_metadata)==null?void 0:m.primary_use},resolver:j(H)});return e.jsxs("div",{className:"space-y-5",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-display-xs font-semibold",children:"What will be your primary use for ZenML?"})}),e.jsxs("form",{onSubmit:l(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-[20px] md:grid-cols-3",children:[e.jsxs(M,{id:"use-personal",...i("primaryUse"),value:"personal",children:[e.jsx(a1,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Personal"})]}),e.jsxs(M,{...i("primaryUse"),id:"use-work",value:"work",children:[e.jsx(t1,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Work"})]}),e.jsxs(M,{...i("primaryUse"),id:"use-student",value:"student",children:[e.jsx(r1,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Student"})]})]}),e.jsx(A,{disabled:!r,className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}const l1="data:image/svg+xml,%3csvg%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.82253%2022.4201L12.3982%2012.6043C12.4582%2012.5428%2012.4697%2012.4478%2012.4196%2012.3779C11.8371%2011.5648%2010.7629%2011.4239%2010.3647%2010.8777C9.18504%209.25951%208.88573%208.34364%208.37885%208.40044C8.34344%208.40442%208.31187%208.42347%208.28699%208.44897L4.82777%2011.9949C2.83774%2014.0348%202.55236%2018.5262%202.50002%2022.2871C2.49766%2022.457%202.70384%2022.5417%202.82253%2022.4201Z'%20fill='%23017CEE'%20/%3e%3cpath%20d='M22.4202%2022.1774L12.6044%2012.6017C12.543%2012.5418%2012.4479%2012.5302%2012.3781%2012.5803C11.565%2013.1628%2011.424%2014.237%2010.8778%2014.6353C9.25964%2015.8148%208.34376%2016.1142%208.40057%2016.6211C8.40454%2016.6565%208.42359%2016.6881%208.4491%2016.7129L11.9951%2020.1721C14.035%2022.1622%2018.5264%2022.4475%2022.2872%2022.4998C22.4571%2022.5023%2022.5418%2022.2961%2022.4202%2022.1774Z'%20fill='%2300AD46'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9954%2020.1722C10.8811%2019.0852%2010.3641%2016.9347%2012.5003%2012.5C9.02851%2014.0515%207.81187%2016.0911%208.41038%2016.675L11.9954%2020.1722Z'%20fill='%2304D659'%20/%3e%3cpath%20d='M22.1775%202.57985L12.6019%2012.3956C12.5419%2012.4571%2012.5304%2012.5521%2012.5804%2012.622C13.1629%2013.4351%2014.2372%2013.576%2014.6353%2014.1223C15.815%2015.7404%2016.1143%2016.6562%2016.6211%2016.5995C16.6565%2016.5955%2016.6881%2016.5764%2016.713%2016.5509L20.1722%2013.005C22.1623%2010.965%2022.4477%206.4737%2022.5%202.71283C22.5023%202.54288%2022.2962%202.45819%2022.1775%202.57985Z'%20fill='%2300C7D4'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.1726%2013.005C19.0855%2014.1192%2016.935%2014.6363%2012.5002%2012.5C14.0518%2015.9718%2016.0913%2017.1885%2016.6752%2016.5899L20.1726%2013.005Z'%20fill='%2311E1EE'%20/%3e%3cpath%20d='M2.57973%202.82253L12.3955%2012.3982C12.457%2012.4581%2012.552%2012.4697%2012.6219%2012.4196C13.4349%2011.8371%2013.5759%2010.7629%2014.1221%2010.3647C15.7403%209.18504%2016.6562%208.88574%2016.5993%208.37885C16.5954%208.34344%2016.5763%208.31187%2016.5509%208.28699L13.0049%204.82777C10.9649%202.83774%206.47358%202.55236%202.71271%202.50002C2.54276%202.49765%202.45807%202.70384%202.57973%202.82253Z'%20fill='%23E43921'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.0052%204.82764C14.1195%205.91469%2014.6365%208.06516%2012.5002%2012.4999C15.972%2010.9484%2017.1888%208.90882%2016.5902%208.32495L13.0052%204.82764Z'%20fill='%23FF7557'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.828%2011.9953C5.91505%2010.881%208.06553%2010.364%2012.5003%2012.5002C10.9487%209.02839%208.90919%207.81175%208.32532%208.41025L4.828%2011.9953Z'%20fill='%230CB6FF'%20/%3e%3cpath%20d='M12.507%2012.9272C12.7434%2012.9242%2012.9328%2012.7302%2012.9298%2012.4937C12.9269%2012.2573%2012.7328%2012.0679%2012.4964%2012.0709C12.2599%2012.0738%2012.0706%2012.2679%2012.0735%2012.5043C12.0765%2012.7408%2012.2705%2012.9301%2012.507%2012.9272Z'%20fill='%234A4848'%20/%3e%3c/svg%3e",o1="/assets/flyte-Cj-xy_8I.svg",n1="data:image/svg+xml,%3csvg%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20x='2.5'%20y='2.5'%20width='20'%20height='20'%20fill='url(%23pattern0_6205_839)'%20/%3e%3cdefs%3e%3cpattern%20id='pattern0_6205_839'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_6205_839'%20transform='scale(0.005)'%20/%3e%3c/pattern%3e%3cimage%20id='image0_6205_839'%20width='200'%20height='200'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAaxSURBVHgB7d1JjuNWEEVRZu7JA6/O5dUVCt6SUWk9pb6sjhSb30RzL0BAgsYHJEQyYprITF//TH/pmIjovjOOX9PX+QAJ0f/d4QCJqT4mGtoZwu/px8sfP6cfH39Mf080LIAMbBFHCSRDA8igVuEogWRYABnQJhwlkAwJIJ3bhaMEku4BpGOHcJRA0jWAdKoKjhJIugWQDlXFUQJJlwDSuCY4SiBpHkAa1hRHCSRNA0ijuuAogaRZAGlQVxwlkDQJIJUbgqMEkuoBpGJDcZRAUjWAVMoEjhJIqgWQCpnCUQJJlQByMJM4SiA5HEAOZBpHCSSHAsjOXOAogWR3ANmRKxwlkOwKIBtziaMEks0BZEOucZRAsimArCwEjhJIVgeQFYXCUQLJqgDyppA4SiB5G0AWCo2jBJLFADJTChwlkMwGkBelwlECycsA8lBKHCWQPAWQm1LjKIHkLoBcAsdNILkGkAkcLwPJufRAwLEQSHIDAceKkiNJCwQcG0qMJCUQcOwoKZJ0QMBxoIRIUgEBR4WSIUkDBBwVS4QkBRBwNCgJkvBAwNGwBEhCAwFHh4IjCQsEHB0LjCQkEHAMKCiScEDAMbCASEIBAYeBgiEJAwQchgqEJAQQcBgsCBL3QMBhuABIXAMBh4OcI3ELBByOcozEJRBwOMwpEndAwOE4h0hcAQFHgJwhcQMEHIFyhMQFEHAEzAkS80DAETgHSEwDAUeCjCMxCwQciTKMxCQQcCTMKBJzQMCROINITAEBB1lDYgYIOOiaISQmgICDnjKCZDgQcNBsBpAMBQIOettgJMOAgINWNxDJECDgoM0NQtIdCDhodwOQdAUCDjpcZyTdgICDqtURSRcg4KDqdULSHAg4qFkdkDQFAg5qXmMkzYCAg7rVEEkTIOCg7jVCUh0IOGhYDZBUBQIOGl5lJNWAgIPMVBFJFSDgIHNVQnIYCDjIbBWQHAICDjLfQSS7gYCD3HQAyS4g4CB37USyGQg4yG07kGwCAg5y30Ykq4GAg8K0AckqIOCgcK1E8hYIOChsK5AsAgEHhe8Nklkg4KA0LSB5CQQclK4ZJE9AwEFpe4HkDgg4KH0PSK5AwEF06QbJGQg4iB66IPkAB9FMJySf07+2d6UTDetk4/sS6+fpDPJ5OpMQ0Xe/T5dXf54us8p3kBBduuDQx/u/eUFC2bvBoZ5vFIKEsvaAQ71+1AQklK0XONT8w4ogoSzN4FDLj7uDhKK3gEO9f2EKJBS1NzjUulduQULRWoFDrR/aABKK0kocatvYH5CQ9zbgUNsHx4GEvLYRh9o3ehQk5K0dONT+4dUgIS/txKGOrT8ACVnvAA51fIEOSMhqB3GoOivYQELWqoBD1VviCRKyUiUcqu4aaJDQ6CriUNXfRwcJDasyDtVkYANIqHsNcKhmE01AQt1qhEM1HfkDEmpeQxyq+UwskFCzGuNQXYbGgYSq1wGH6jZVESRUrU44VNexoyChw3XEobrP5QUJ7a4zDjVkcDVIaHMDcKhhk91BQqsbhEMNXX0AEnrbQBxq+G4QkNBsg3EoE8tzQEJPGcChzGyXAgldM4JDmVq/BhKyhEOZ208IksQZw6FMLvAEScIM4lBmN9yCJFFGcSjTK6BBkiDDOJT5HekgCZxxHMo8EAWSgDnAoVwAUSAJlBMcyg0QBZIAOcKhXAFRIHGcMxzKHRAFEoc5xKFcAlEgcZRTHMotEAUSBznGoVwDUSAxnHMcyj0QBRKDBcChQgBRIDFUEBwqDBAFEgMFwqFCAVEgGVgwHCocEAWSAQXEoUICUSDpWFAcKiwQBZIOBcahQgNRIGlYcBwqPBAFkgYlwKFSAFEgqVgSHCoNEAWSCiXCoVIBUSA5UDIcKh0QBZIdJcShUgJRINlQUhwqLRAFkhUlxqFSA1EgWSg5DpUeiALJi8BxDiCXQHITOK4B5CaQTOB4CCAPpUYCjqcA8qKUSMDxMoDMlAoJOGYDyEIpkIBjMYC8KTQScLwNICsKiQQcqwLIykIhAcfqALKhEEjAsSmAbMw1EnBsDiA7cokEHLsCyM5cIQHH7gByIBdIwHEogBzMNBJwHA4gFTKJBBxVAkilTCEBR7UAUjETSMBRNYBUbigScFQPIA0aggQcTQJIo7oiAUezANKwLkjA0TSANK4pEnA0DyAdaoIEHF0CSKeqIgFHtwDSsSpIwNE1gHTuEBJwdA8gA9qFBBxDAsigNiEBx7AAMrBVSMAxNIAMbhEJOIi+kXz9mr7ujp/AILp2hwQcRM+dkYDDVP8Bu8MD8WVDwpYAAAAASUVORK5CYII='%20/%3e%3c/defs%3e%3c/svg%3e",i1="/assets/metaflow-weOkWNyT.svg",c1="data:image/svg+xml,%3csvg%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20x='2.5'%20y='2.5'%20width='20'%20height='20'%20fill='url(%23pattern0_6205_1180)'%20/%3e%3cdefs%3e%3cpattern%20id='pattern0_6205_1180'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_6205_1180'%20transform='scale(0.00416667)'%20/%3e%3c/pattern%3e%3cimage%20id='image0_6205_1180'%20width='240'%20height='240'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAarSURBVHgB7d29jlxFGsfhYwJvZs/eAJuxyXrJNho5I0JcgAfhyEg7niVDYhZ5I5BsLsA4gMiWmwtYEZFZkxEhZ2RwA+CQyLgatYABz+mP81H/6ueRWuMJHP5UZ+rU23Xp8pWD5x0Q6ZUOiCVgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCZgCCbgBh1cvdr9778fdF+fPVn+LL/TpkuXrxw872hCCfW92//u/nN8/Ltov/v+++7ju/e6h4svOtoi4EaUcO+cnl642gq5PQIO987RjRePyafd3159de3/I+R2CDjU9cPD7vMH9zcK9zwh5xNwmBJu2ZgqP4ci5FwCDjFGuOd98/Rp9/7ph92Ts7OODAKu3BThnlcCLiGXoKmbgCs1R7jnPVosuo/ufrJ8xKZOAq5M2ZQqm1NzhnuekOsl4EqUcO+8WHFvHh11tRJyfQQ8s3LwooT73vFxl0LI9RDwTF527DGJkOcn4Im1EO5vlXhLyA8ffyHkGQh4Iq2Fe94q5LIiMx0Bj6z1cM9zqmtaAh7ROhNCrRLyNAQ8gm0mhFol5HEJeEBDTAi1SsjjEPAAajj2mELIwxLwDoS7vTIwUXasTT7tRsBbEO5wSsC3jk+8Q96SgDcg3PE41bUdAa+hxgmhVgl5MwLucef0g+UrIaZVQi6P1lxMwGt45+ho+ejs9dC0/nL1rx0XE/AGhDwtAfcT8IZKvCXkm2/fEPLIBNxPwFtahVxWZMYh4H4C3tHyq3BebHTdfLver8JJJeB+Ah6IkIcn4H4CHpiQhyPgfgIeiZB3J+B+Ah6ZkLcn4H4Cnohz1JsTcD8BT8zQ//oE3O+VjkmV8bnXrr1uhI5BWIFn5njmy1mB+wm4EkL+IwH3E3BlhPwrAfcTcKWELOB1CLhi+z75JOB+Ag6wr5NPAu4n4CD7dqpLwP0EHGhfQhZwPwEHaz1kAfcTcANaDVnA/QTckNZCFnA/ATeolcknAfcTcMM++/R+9Gos4H6mkRpm2ql9AoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAoZgAu7x+YP7e3m59pyenJ11b7z5Vkc/AfcoF2t/+/QbIU9gFW75lH/TT8BrEvJ4hLs9AW9oFXK5PEzIuxHu7gS8pTunp91XX/5fyFsQ7nAEvINf7uP9JeSbRzc6LlYuW3v3+ES4AxLwAErInz34dPloLeQ/WoX72rXXu4eLRcdwBDwgIf/ej8+edR/d/aT71+F14Y5EwCPY95BX4f79xYr78b17y98Zh4BHtG8hC3d6Ap7Ab0O+fnjYtUa48xHwhErIZce6fFoIWbjzE/AMSrwl4uRTXY8eL5abU8Kdl4BnlHg8s4RbXgfdun2yfD3EvARcgYSQV6enhFsXAVekxpAde6ybgCtUQ8jCzSDgis0x+STcLAIOMMXkk3AzCTjEWJNPJoSyCTjMUMczTQi1QcChtg3ZhFBbBBxu3ZAde2yTgBvxspCF27ZLl68cPO94qZ+e/dAlKn/jvn/64XJjSrTtsgI3qqzI/7z2D/E2TsAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMAQTMA9yhekQ60E3KPc3nfr+ETIVEnAa3i0WAiZKgl4A0KmNgLegpCphYB3UEJ+4823ltd3Cpk5CHhHJdxy7+4qZJiSgAeyCrk8Wj98vOhgCgIeWAn53dsnQmYSAh6JkJmCgEcmZMYk4IkImTEIeGKrkMuu9ZOzsw52IeCZlHhLxOXjHTLbEvDMSshOdbEtAVfC8Uy2IeDKCJlNCLhSQmYdAq6ckLmIgEOYfOLPCDiIySfOE3Agk0+sCDiY45kIuAFC3l8CboiQ98+ly1cOnndAJCswBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBBMwBPsZxDRB8Hcuz9AAAAAASUVORK5CYII='%20/%3e%3c/defs%3e%3c/svg%3e",C1=s=>t.createElement("svg",{viewBox:"0 0 24 25",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 1.5C15.4138 1.5 15.7848 1.75483 15.9333 2.14102L17.112 5.20544C17.4124 5.98648 17.5068 6.21155 17.6359 6.39315C17.7655 6.57535 17.9246 6.73455 18.1069 6.86411C18.2884 6.99323 18.5135 7.08763 19.2946 7.38803L22.359 8.56665C22.7452 8.71519 23 9.08623 23 9.5C23 9.91377 22.7452 10.2848 22.359 10.4333L19.2946 11.612C18.5135 11.9124 18.2884 12.0068 18.1069 12.1359C17.9246 12.2654 17.7655 12.4246 17.6359 12.6069C17.5068 12.7884 17.4124 13.0135 17.112 13.7946L15.9333 16.859C15.7848 17.2452 15.4138 17.5 15 17.5C14.5862 17.5 14.2152 17.2452 14.0667 16.859L12.888 13.7946C12.5876 13.0135 12.4932 12.7884 12.3641 12.6069C12.2345 12.4246 12.0754 12.2654 11.8931 12.1359C11.7116 12.0068 11.4865 11.9124 10.7054 11.612L7.64102 10.4333C7.25483 10.2848 7 9.91377 7 9.5C7 9.08623 7.25483 8.71519 7.64102 8.56665L10.7054 7.38803C11.4865 7.08763 11.7116 6.99323 11.8931 6.86411C12.0754 6.73455 12.2345 6.57535 12.3641 6.39315C12.4932 6.21155 12.5876 5.98648 12.888 5.20544L14.0667 2.14102C14.2152 1.75483 14.5862 1.5 15 1.5ZM15 5.28568L14.7547 5.9234C14.7415 5.95787 14.7284 5.99189 14.7155 6.02548C14.4719 6.65974 14.2879 7.13886 13.9941 7.55214C13.7349 7.91655 13.4166 8.23494 13.0521 8.49406C12.6389 8.78793 12.1597 8.97192 11.5255 9.2155C11.4919 9.2284 11.4579 9.24147 11.4234 9.25472L10.7857 9.5L11.4234 9.74528C11.4579 9.75854 11.4919 9.7716 11.5255 9.7845C12.1597 10.0281 12.6389 10.2121 13.0521 10.5059C13.4166 10.7651 13.7349 11.0834 13.9941 11.4479C14.2879 11.8611 14.4719 12.3403 14.7155 12.9745C14.7284 13.0081 14.7415 13.0421 14.7547 13.0766L15 13.7143L15.2453 13.0766C15.2585 13.0421 15.2716 13.0081 15.2845 12.9745C15.5281 12.3403 15.7121 11.8611 16.0059 11.4479C16.2651 11.0834 16.5834 10.7651 16.9479 10.5059C17.3611 10.2121 17.8403 10.0281 18.4745 9.7845C18.5081 9.7716 18.5421 9.75854 18.5766 9.74528L19.2143 9.5L18.5766 9.25472C18.5421 9.24146 18.5081 9.2284 18.4745 9.2155C17.8403 8.97192 17.3611 8.78793 16.9479 8.49406C16.5834 8.23494 16.2651 7.91655 16.0059 7.55214C15.7121 7.13886 15.5281 6.65974 15.2845 6.02548C15.2716 5.99189 15.2585 5.95787 15.2453 5.9234L15 5.28568ZM6.5 12.5C6.87877 12.5 7.22503 12.714 7.39443 13.0528L8.17889 14.6217C8.46137 15.1867 8.54745 15.3493 8.65204 15.4849C8.75695 15.621 8.87896 15.7431 9.01506 15.848C9.15075 15.9525 9.31333 16.0386 9.8783 16.3211L11.4472 17.1056C11.786 17.275 12 17.6212 12 18C12 18.3788 11.786 18.725 11.4472 18.8944L9.8783 19.6789C9.31333 19.9614 9.15075 20.0475 9.01506 20.152C8.87896 20.257 8.75695 20.379 8.65204 20.5151C8.54745 20.6507 8.46137 20.8133 8.17889 21.3783L7.39443 22.9472C7.22504 23.286 6.87877 23.5 6.5 23.5C6.12123 23.5 5.77497 23.286 5.60557 22.9472L4.82111 21.3783C4.53863 20.8133 4.45255 20.6507 4.34796 20.5151C4.24305 20.379 4.12104 20.257 3.98494 20.152C3.84925 20.0475 3.68667 19.9614 3.1217 19.6789L1.55279 18.8944C1.214 18.725 1 18.3788 1 18C1 17.6212 1.214 17.275 1.55279 17.1056L3.1217 16.3211C3.68667 16.0386 3.84925 15.9526 3.98494 15.848C4.12104 15.7431 4.24305 15.621 4.34796 15.4849C4.45255 15.3493 4.53863 15.1867 4.82111 14.6217L5.60557 13.0528C5.77496 12.714 6.12123 12.5 6.5 12.5ZM6.5 15.736C6.30478 16.1251 6.14371 16.4313 5.93198 16.706C5.72217 16.9781 5.47815 17.2222 5.20595 17.432C4.93128 17.6437 4.62509 17.8048 4.23604 18C4.62509 18.1952 4.93128 18.3563 5.20595 18.568C5.47814 18.7778 5.72217 19.0219 5.93198 19.294C6.14371 19.5687 6.30478 19.8749 6.5 20.264C6.69522 19.8749 6.85629 19.5687 7.06802 19.294C7.27784 19.0219 7.52186 18.7778 7.79405 18.568C8.06872 18.3563 8.37491 18.1952 8.76396 18C8.37491 17.8048 8.06872 17.6437 7.79405 17.432C7.52185 17.2222 7.27783 16.9781 7.06802 16.706C6.85629 16.4313 6.69522 16.1251 6.5 15.736Z"})),d1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2929 2.29289C15.6834 1.90237 16.3166 1.90237 16.7071 2.29289L20.7071 6.29289C21.0976 6.68342 21.0976 7.31658 20.7071 7.70711L16.7071 11.7071C16.3166 12.0976 15.6834 12.0976 15.2929 11.7071C14.9024 11.3166 14.9024 10.6834 15.2929 10.2929L17.5858 8H4C3.44772 8 3 7.55228 3 7C3 6.44772 3.44772 6 4 6H17.5858L15.2929 3.70711C14.9024 3.31658 14.9024 2.68342 15.2929 2.29289ZM8.70711 12.2929C9.09763 12.6834 9.09763 13.3166 8.70711 13.7071L6.41421 16H20C20.5523 16 21 16.4477 21 17C21 17.5523 20.5523 18 20 18H6.41421L8.70711 20.2929C9.09763 20.6834 9.09763 21.3166 8.70711 21.7071C8.31658 22.0976 7.68342 22.0976 7.29289 21.7071L3.29289 17.7071C2.90237 17.3166 2.90237 16.6834 3.29289 16.2929L7.29289 12.2929C7.68342 11.9024 8.31658 11.9024 8.70711 12.2929Z"})),f="h-5 w-5 shrink-0 fill-primary-400",m1=[{label:"I'm new to MLOps and exploring",key:"exploring",icon:e.jsx(C1,{className:f})},{label:"I'm planning or conducting a Proof of Concept",key:"planning_poc",icon:e.jsx(J,{className:f})},{label:"I'm comparing ZenML to other MLOps tools",key:"comparing_tools",icon:e.jsx(d1,{className:f})},{label:"I'm implementing ZenML in a production environment",key:"implementing_production_environment",icon:e.jsx(P,{className:f})}],h1=[{name:"Metaflow",icon:i1},{name:"Flyte",icon:o1},{name:"Prefect",icon:c1},{name:"Kedro",icon:n1},{name:"Airflow",icon:l1}];function y1({submitHandler:s}){const o=t.useRef(null),{register:l,setValue:i,watch:r,handleSubmit:d,control:m,formState:{isValid:x}}=L({resolver:j(D),defaultValues:{usageReason:""},shouldUnregister:!0}),h=r("otherTool");return t.useEffect(()=>{var a;h&&((a=o.current)==null||a.focus())},[h]),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"What best describes your current situation with ZenML?"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select only one of the options"})]}),e.jsxs("form",{onSubmit:d(s),className:"w-full space-y-5 lg:w-[700px]",children:[e.jsx("ul",{className:"space-y-2",children:m1.map(({key:a,label:p,icon:c})=>e.jsxs("li",{className:"space-y-2",children:[e.jsxs("label",{className:w("flex items-center gap-1 rounded-md border pl-3 transition-all duration-150",{"border-primary-400 bg-primary-25 shadow-sm":r("usageReason")===a,"border-theme-border-minimal bg-theme-surface-primary hover:border-theme-border-bold hover:shadow-sm":r("usageReason")!==a}),children:[e.jsx("input",{type:"radio",...l("usageReason"),value:a,name:"usageReason",className:"h-3 w-3 border !border-theme-border-bold text-theme-surface-primary focus:ring-2 focus:ring-theme-surface-strong"}),e.jsxs("div",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",children:[c,p]})]}),r("usageReason")==="comparing_tools"&&a==="comparing_tools"&&e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Select all the tools that apply:"}),e.jsxs("ul",{className:"grid w-full grid-cols-1 gap-2 xl:grid-cols-3",children:[h1.map(({icon:C,name:n})=>e.jsx("li",{className:"",children:e.jsx(Z,{defaultValue:[],control:m,name:"comparison_tools",render:({field:{onChange:B,value:g,...v}})=>{var y,b;return e.jsxs("label",{className:w("flex items-center gap-1 rounded-md border pl-3 transition-all duration-150",{"border-primary-400 bg-primary-25 shadow-sm":(y=r("comparison_tools"))==null?void 0:y.includes(n),"border-theme-border-minimal bg-theme-surface-primary hover:border-theme-border-bold hover:shadow-sm":!((b=r("comparison_tools"))!=null&&b.includes(n))}),children:[e.jsx(u,{...v,checked:g==null?void 0:g.includes(n),onCheckedChange:N=>{B(N?[...g??[],n]:g==null?void 0:g.filter(I=>I!==n))},value:n,className:"h-3 w-3"}),e.jsxs("div",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",children:[e.jsx("img",{className:"h-5 w-5 shrink-0",src:C,alt:`${n} icon`}),n]})]})}})},n)),e.jsx("li",{children:e.jsxs("div",{className:w("flex h-full items-center rounded-md border bg-theme-surface-primary p-3 transition duration-150",{"border-primary-400":!!r("otherTool"),"border-theme-border-minimal hover:border-theme-border-bold":!r("otherTool")}),children:[e.jsx(u,{onCheckedChange:C=>i("otherTool",!!C),...l("otherTool",{value:!1}),className:"mr-2 h-3 w-3",id:"other"}),h?e.jsx("input",{...l("otherToolVal"),ref:C=>{l("otherToolVal").ref(C),o.current=C},placeholder:"Specify...",className:"box-border w-full border-none p-0 pr-1 placeholder:text-theme-text-tertiary focus:outline-none focus:ring-0"}):e.jsx("label",{className:"w-full text-theme-text-secondary hover:cursor-pointer",htmlFor:"other",children:"Other"})]})})]})]})]},a))}),e.jsx(A,{disabled:!x,type:"submit",className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}export{j1 as A,L1 as I,Z1 as P,M1 as S,y1 as U};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as r}from"./@radix-C7hRs6Kx.js";import{F as s}from"./Wizard-CMI6Ksgz.js";import{a}from"./ProviderRadio-BVDA-fAr.js";function n({children:o,displayCancel:t=!0}){return r.jsxs(s,{children:[t&&r.jsx(a,{}),o]})}export{n as S};
|
@@ -1,43 +0,0 @@
|
|
1
|
-
<svg viewBox="0 0 400 240" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
-
<rect x="106" y="106" width="24" height="24" rx="4" fill="#F1EBFE" />
|
3
|
-
<rect x="266" y="130" width="24" height="24" rx="4" fill="#DBCAFF" />
|
4
|
-
<rect x="300" y="140" width="80" height="80" rx="10" fill="#CAB2FB" />
|
5
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
6
|
-
d="M326.667 168.333C326.667 168.335 326.668 168.343 326.672 168.359C326.678 168.377 326.692 168.414 326.726 168.469C326.797 168.584 326.941 168.758 327.211 168.971C327.761 169.404 328.661 169.868 329.921 170.288C332.424 171.122 335.988 171.667 340.001 171.667C344.014 171.667 347.577 171.122 350.08 170.288C351.34 169.868 352.24 169.404 352.79 168.971C353.061 168.758 353.205 168.584 353.276 168.469C353.309 168.414 353.323 168.377 353.329 168.359C353.334 168.343 353.334 168.336 353.334 168.334C353.334 168.334 353.334 168.334 353.334 168.334C353.334 168.333 353.334 168.325 353.329 168.308C353.323 168.289 353.309 168.253 353.276 168.198C353.205 168.082 353.061 167.909 352.79 167.696C352.24 167.262 351.34 166.799 350.08 166.379C347.577 165.545 344.014 165 340.001 165C335.988 165 332.424 165.545 329.921 166.379C328.661 166.799 327.761 167.262 327.211 167.696C326.941 167.909 326.797 168.082 326.726 168.198C326.692 168.253 326.678 168.289 326.672 168.308C326.667 168.325 326.667 168.332 326.667 168.333ZM353.334 172.544C352.665 172.886 351.923 173.187 351.134 173.45C348.208 174.425 344.272 175 340.001 175C335.729 175 331.793 174.425 328.867 173.45C328.078 173.187 327.336 172.886 326.667 172.544V180C326.667 180.003 326.667 180.012 326.673 180.03C326.679 180.05 326.693 180.087 326.727 180.142C326.797 180.257 326.94 180.43 327.208 180.642C327.753 181.075 328.647 181.537 329.903 181.957C332.399 182.79 335.962 183.333 340.001 183.333C344.039 183.333 347.602 182.79 350.098 181.957C351.354 181.537 352.248 181.075 352.794 180.642C353.062 180.43 353.204 180.257 353.275 180.142C353.308 180.087 353.322 180.05 353.328 180.03C353.334 180.012 353.334 180.003 353.334 180V172.544ZM356.667 168.333C356.667 166.913 355.802 165.826 354.854 165.078C353.886 164.315 352.589 163.701 351.134 163.217C348.208 162.241 344.272 161.667 340.001 161.667C335.729 161.667 331.793 162.241 328.867 163.217C327.413 163.701 326.116 164.315 325.148 165.078C324.199 165.826 323.334 166.913 323.334 168.333V191.667C323.334 193.082 324.189 194.17 325.137 194.921C326.102 195.686 327.396 196.3 328.848 196.785C331.769 197.76 335.706 198.333 340.001 198.333C344.295 198.333 348.232 197.76 351.153 196.785C352.605 196.3 353.899 195.686 354.864 194.921C355.812 194.17 356.667 193.082 356.667 191.667V168.333ZM353.334 184.22C352.671 184.559 351.935 184.857 351.153 185.118C348.232 186.094 344.295 186.667 340.001 186.667C335.706 186.667 331.769 186.094 328.848 185.118C328.066 184.857 327.331 184.559 326.667 184.22V191.667C326.667 191.67 326.667 191.678 326.673 191.697C326.679 191.716 326.693 191.754 326.727 191.809C326.797 191.924 326.94 192.097 327.208 192.309C327.753 192.741 328.647 193.204 329.903 193.623C332.399 194.456 335.962 195 340.001 195C344.039 195 347.602 194.456 350.098 193.623C351.354 193.204 352.248 192.741 352.794 192.309C353.062 192.097 353.204 191.924 353.275 191.809C353.308 191.754 353.322 191.716 353.328 191.697C353.334 191.678 353.334 191.67 353.334 191.667V184.22Z"
|
7
|
-
fill="#9565F6" />
|
8
|
-
<rect x="30" y="132" width="60" height="60" rx="10" fill="#DBCAFF" />
|
9
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
10
|
-
d="M54.9993 143.667C55.9198 143.667 56.666 144.413 56.666 145.333V148.667H63.3327V145.333C63.3327 144.413 64.0789 143.667 64.9993 143.667C65.9198 143.667 66.666 144.413 66.666 145.333V148.712C66.8106 148.72 66.9505 148.729 67.0857 148.74C68.0226 148.817 68.8837 148.981 69.6926 149.393C70.947 150.032 71.9669 151.052 72.6061 152.307C73.0182 153.116 73.1825 153.977 73.259 154.914C73.2701 155.049 73.2795 155.189 73.2875 155.333H76.666C77.5865 155.333 78.3327 156.08 78.3327 157C78.3327 157.92 77.5865 158.667 76.666 158.667H73.3327V163.667H76.666C77.5865 163.667 78.3327 164.413 78.3327 165.333C78.3327 166.254 77.5865 167 76.666 167H73.33C73.3245 167.792 73.3082 168.485 73.259 169.086C73.1825 170.023 73.0182 170.884 72.6061 171.693C71.9669 172.948 70.947 173.968 69.6926 174.607C68.8837 175.019 68.0226 175.183 67.0857 175.26C66.9505 175.271 66.8106 175.28 66.666 175.288V178.667C66.666 179.587 65.9198 180.333 64.9993 180.333C64.0789 180.333 63.3327 179.587 63.3327 178.667V175.333H56.666V178.667C56.666 179.587 55.9198 180.333 54.9993 180.333C54.0789 180.333 53.3327 179.587 53.3327 178.667V175.288C53.1881 175.28 53.0482 175.271 52.913 175.26C51.9761 175.183 51.115 175.019 50.3061 174.607C49.0517 173.968 48.0318 172.948 47.3926 171.693C46.9805 170.884 46.8162 170.023 46.7397 169.086C46.6905 168.485 46.6742 167.792 46.6687 167H43.3327C42.4122 167 41.666 166.254 41.666 165.333C41.666 164.413 42.4122 163.667 43.3327 163.667H46.666V158.667H43.3327C42.4122 158.667 41.666 157.92 41.666 157C41.666 156.08 42.4122 155.333 43.3327 155.333H46.7112C46.7192 155.189 46.7286 155.049 46.7397 154.914C46.8162 153.977 46.9805 153.116 47.3926 152.307C48.0318 151.052 49.0517 150.032 50.3061 149.393C51.115 148.981 51.9761 148.817 52.913 148.74C53.0482 148.729 53.1881 148.72 53.3327 148.712V145.333C53.3327 144.413 54.0789 143.667 54.9993 143.667ZM49.9993 165.667C49.9993 167.094 50.0006 168.065 50.0619 168.815C50.1216 169.546 50.2298 169.919 50.3627 170.18C50.6822 170.807 51.1922 171.317 51.8194 171.637C52.08 171.77 52.4537 171.878 53.1844 171.937C53.9346 171.999 54.9051 172 56.3327 172H63.666C65.0936 172 66.0641 171.999 66.8143 171.937C67.545 171.878 67.9186 171.77 68.1793 171.637C68.8065 171.317 69.3165 170.807 69.636 170.18C69.7689 169.919 69.8771 169.546 69.9368 168.815C69.998 168.065 69.9993 167.094 69.9993 165.667V158.333C69.9993 156.906 69.998 155.935 69.9368 155.185C69.8771 154.454 69.7689 154.081 69.636 153.82C69.3165 153.193 68.8065 152.683 68.1793 152.363C67.9186 152.231 67.545 152.122 66.8143 152.063C66.0641 152.001 65.0936 152 63.666 152H56.3327C54.905 152 53.9346 152.001 53.1844 152.063C52.4537 152.122 52.08 152.231 51.8194 152.363C51.1922 152.683 50.6822 153.193 50.3627 153.82C50.2298 154.081 50.1216 154.454 50.0619 155.185C50.0006 155.935 49.9993 156.906 49.9993 158.333V165.667Z"
|
11
|
-
fill="#F1EBFE" />
|
12
|
-
<rect x="320" y="20" width="60" height="60" rx="10" fill="#CAB2FB" />
|
13
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
14
|
-
d="M338.748 45.2384C340.105 40.297 344.627 36.6667 349.999 36.6667C355.372 36.6667 359.894 40.297 361.251 45.2384C365.31 46.1827 368.333 49.8208 368.333 54.1667C368.333 59.2293 364.229 63.3334 359.166 63.3334H340.833C335.77 63.3334 331.666 59.2293 331.666 54.1667C331.666 49.8208 334.689 46.1827 338.748 45.2384ZM349.999 40C345.862 40 342.427 43.0161 341.777 46.9693C341.654 47.7177 341.041 48.2886 340.286 48.3585C337.321 48.6331 334.999 51.1297 334.999 54.1667C334.999 57.3883 337.611 60 340.833 60H359.166C362.388 60 364.999 57.3883 364.999 54.1667C364.999 51.1297 362.677 48.6331 359.713 48.3585C358.958 48.2886 358.345 47.7177 358.222 46.9693C357.572 43.0161 354.136 40 349.999 40Z"
|
15
|
-
fill="#E4D8FD" />
|
16
|
-
<rect x="242" y="180" width="48" height="48" rx="10" fill="#DBCAFF" />
|
17
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
18
|
-
d="M255.239 191.167C255.248 191.167 255.257 191.167 255.266 191.167H259.233C259.242 191.167 259.251 191.167 259.26 191.167C259.399 191.167 259.565 191.167 259.711 191.178C259.88 191.192 260.123 191.228 260.377 191.357C260.706 191.525 260.974 191.793 261.142 192.122C261.272 192.376 261.307 192.619 261.321 192.789C261.333 192.935 261.333 193.101 261.333 193.24C261.333 193.249 261.333 193.258 261.333 193.267V197.233C261.333 197.242 261.333 197.251 261.333 197.26C261.333 197.399 261.333 197.565 261.321 197.711C261.307 197.881 261.272 198.124 261.142 198.378C260.974 198.707 260.706 198.975 260.377 199.143C260.123 199.272 259.88 199.308 259.711 199.321C259.565 199.333 259.399 199.333 259.26 199.333C259.251 199.333 259.242 199.333 259.233 199.333H255.266C255.257 199.333 255.248 199.333 255.239 199.333C255.1 199.333 254.934 199.333 254.788 199.321C254.618 199.308 254.376 199.272 254.122 199.143C253.792 198.975 253.525 198.707 253.357 198.378C253.227 198.124 253.192 197.881 253.178 197.711C253.166 197.565 253.166 197.399 253.166 197.26C253.166 197.251 253.166 197.242 253.166 197.233V193.267C253.166 193.258 253.166 193.249 253.166 193.24C253.166 193.101 253.166 192.935 253.178 192.789C253.192 192.619 253.227 192.376 253.357 192.122C253.525 191.793 253.792 191.525 254.122 191.357C254.376 191.228 254.618 191.192 254.788 191.178C254.934 191.167 255.1 191.167 255.239 191.167ZM255.499 193.5V197H258.999V193.5H255.499ZM274.787 196.445C274.456 196.418 274.022 196.417 273.349 196.417H264.833C264.188 196.417 263.666 195.894 263.666 195.25C263.666 194.606 264.188 194.083 264.833 194.083L273.394 194.083C274.009 194.083 274.54 194.083 274.977 194.119C275.438 194.157 275.897 194.24 276.338 194.465C276.997 194.8 277.532 195.336 277.868 195.994C278.093 196.436 278.176 196.895 278.214 197.356C278.249 197.793 278.249 198.323 278.249 198.938V200.537C278.249 201.049 278.249 201.491 278.224 201.856C278.198 202.241 278.14 202.626 277.983 203.006C277.628 203.864 276.946 204.545 276.089 204.9C275.709 205.058 275.324 205.115 274.939 205.142C274.573 205.167 274.132 205.167 273.62 205.167H273.583C272.938 205.167 272.416 204.644 272.416 204C272.416 203.356 272.938 202.833 273.583 202.833C274.142 202.833 274.503 202.833 274.78 202.814C275.046 202.796 275.147 202.765 275.196 202.744C275.482 202.626 275.709 202.399 275.827 202.113C275.847 202.065 275.878 201.963 275.897 201.697C275.915 201.421 275.916 201.06 275.916 200.5V198.983C275.916 198.311 275.915 197.876 275.888 197.546C275.862 197.229 275.818 197.111 275.789 197.054C275.677 196.834 275.499 196.656 275.279 196.544C275.221 196.514 275.104 196.47 274.787 196.445ZM263.989 199.917C263.998 199.917 264.007 199.917 264.016 199.917H267.983C267.992 199.917 268.001 199.917 268.01 199.917C268.149 199.917 268.315 199.917 268.461 199.928C268.63 199.942 268.873 199.978 269.127 200.107C269.456 200.275 269.724 200.543 269.892 200.872C270.022 201.126 270.057 201.369 270.071 201.539C270.083 201.685 270.083 201.851 270.083 201.99C270.083 201.999 270.083 202.008 270.083 202.017V205.983C270.083 205.992 270.083 206.001 270.083 206.01C270.083 206.149 270.083 206.315 270.071 206.461C270.057 206.631 270.022 206.874 269.892 207.128C269.724 207.457 269.456 207.725 269.127 207.893C268.873 208.022 268.63 208.058 268.461 208.071C268.315 208.083 268.149 208.083 268.01 208.083C268.001 208.083 267.992 208.083 267.983 208.083H264.016C264.007 208.083 263.998 208.083 263.989 208.083C263.85 208.083 263.684 208.083 263.538 208.071C263.368 208.058 263.126 208.022 262.872 207.893C262.542 207.725 262.275 207.457 262.107 207.128C261.977 206.874 261.942 206.631 261.928 206.461C261.916 206.315 261.916 206.149 261.916 206.01C261.916 206.001 261.916 205.992 261.916 205.983V202.017C261.916 202.008 261.916 201.999 261.916 201.99C261.916 201.851 261.916 201.685 261.928 201.539C261.942 201.369 261.977 201.126 262.107 200.872C262.275 200.543 262.542 200.275 262.872 200.107C263.126 199.978 263.368 199.942 263.538 199.928C263.684 199.917 263.85 199.917 263.989 199.917ZM264.249 202.25V205.75H267.749V202.25H264.249ZM258.379 202.833H258.416C259.06 202.833 259.583 203.356 259.583 204C259.583 204.644 259.06 205.167 258.416 205.167C257.856 205.167 257.495 205.167 257.219 205.186C256.953 205.204 256.851 205.235 256.803 205.255C256.517 205.374 256.29 205.601 256.172 205.887C256.151 205.935 256.12 206.037 256.102 206.303C256.083 206.579 256.083 206.94 256.083 207.5V209.017C256.083 209.689 256.084 210.124 256.111 210.454C256.137 210.771 256.18 210.889 256.21 210.946C256.322 211.166 256.5 211.344 256.72 211.456C256.777 211.486 256.895 211.529 257.212 211.555C257.542 211.582 257.977 211.583 258.649 211.583H267.166C267.81 211.583 268.333 212.106 268.333 212.75C268.333 213.394 267.81 213.917 267.166 213.917H258.604C257.989 213.917 257.459 213.917 257.022 213.881C256.561 213.843 256.102 213.76 255.66 213.535C255.002 213.2 254.466 212.664 254.131 212.006C253.906 211.564 253.823 211.105 253.785 210.644C253.749 210.207 253.749 209.677 253.749 209.062L253.749 207.463C253.749 206.951 253.749 206.509 253.774 206.144C253.801 205.759 253.858 205.374 254.016 204.994C254.371 204.136 255.052 203.455 255.91 203.1C256.29 202.942 256.675 202.884 257.06 202.858C257.425 202.833 257.867 202.833 258.379 202.833ZM272.739 208.667H276.76C276.899 208.667 277.065 208.667 277.211 208.678C277.38 208.692 277.623 208.728 277.877 208.857C278.206 209.025 278.474 209.293 278.642 209.622C278.772 209.876 278.807 210.119 278.821 210.289C278.833 210.435 278.833 210.601 278.833 210.74C278.833 210.749 278.833 210.758 278.833 210.767V214.733C278.833 214.742 278.833 214.751 278.833 214.76C278.833 214.899 278.833 215.065 278.821 215.211C278.807 215.381 278.772 215.624 278.642 215.878C278.474 216.207 278.206 216.475 277.877 216.643C277.623 216.772 277.38 216.808 277.211 216.821C277.065 216.833 276.899 216.833 276.76 216.833C276.751 216.833 276.742 216.833 276.733 216.833H272.766C272.757 216.833 272.748 216.833 272.739 216.833C272.6 216.833 272.434 216.833 272.288 216.821C272.118 216.808 271.876 216.772 271.622 216.643C271.292 216.475 271.025 216.207 270.857 215.878C270.727 215.624 270.692 215.381 270.678 215.211C270.666 215.065 270.666 214.899 270.666 214.76V210.74C270.666 210.601 270.666 210.435 270.678 210.289C270.692 210.119 270.727 209.876 270.857 209.622C271.025 209.293 271.292 209.025 271.622 208.857C271.876 208.728 272.118 208.692 272.288 208.678C272.434 208.667 272.6 208.667 272.739 208.667ZM272.999 211V214.5H276.499V211H272.999Z"
|
19
|
-
fill="#AF8BF8" />
|
20
|
-
<rect x="112" y="12" width="48" height="48" rx="10" fill="#DBCAFF" />
|
21
|
-
<rect x="230" y="26" width="80" height="80" rx="10" fill="#DBCAFF" />
|
22
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
23
|
-
d="M258.334 51C257.414 51 256.667 51.7462 256.667 52.6667C256.667 53.5872 257.414 54.3334 258.334 54.3334C259.254 54.3334 260.001 53.5872 260.001 52.6667C260.001 51.7462 259.254 51 258.334 51ZM253.334 52.6667C253.334 49.9053 255.573 47.6667 258.334 47.6667C260.511 47.6667 262.363 49.058 263.049 51L276.952 51C277.638 49.058 279.49 47.6667 281.667 47.6667C284.429 47.6667 286.667 49.9053 286.667 52.6667C286.667 55.4281 284.429 57.6667 281.667 57.6667C279.49 57.6667 277.638 56.2753 276.952 54.3334L271.667 54.3334V64.3334H276.952C277.638 62.3914 279.49 61 281.667 61C284.429 61 286.667 63.2386 286.667 66C286.667 68.7614 284.429 71 281.667 71C279.49 71 277.638 69.6087 276.952 67.6667H271.667V71.3334C271.667 72.761 271.669 73.7315 271.73 74.4816C271.79 75.2123 271.898 75.586 272.031 75.8467C272.35 76.4739 272.86 76.9838 273.487 77.3034C273.748 77.4362 274.122 77.5444 274.852 77.6041C275.403 77.6491 276.071 77.6617 276.952 77.6653C277.639 75.724 279.491 74.3334 281.667 74.3334C284.429 74.3334 286.667 76.5719 286.667 79.3334C286.667 82.0948 284.429 84.3334 281.667 84.3334C279.49 84.3334 277.637 82.9414 276.951 80.9988C276.039 80.9953 275.253 80.9813 274.581 80.9264C273.644 80.8498 272.783 80.6855 271.974 80.2734C270.72 79.6342 269.7 78.6144 269.061 77.36C268.648 76.5511 268.484 75.6899 268.408 74.7531C268.334 73.8511 268.334 72.7438 268.334 71.4022V54.3334L263.049 54.3334C262.363 56.2753 260.511 57.6667 258.334 57.6667C255.573 57.6667 253.334 55.4281 253.334 52.6667ZM281.667 51C280.747 51 280.001 51.7462 280.001 52.6667C280.001 53.5872 280.747 54.3334 281.667 54.3334C282.588 54.3334 283.334 53.5872 283.334 52.6667C283.334 51.7462 282.588 51 281.667 51ZM281.667 64.3334C280.747 64.3334 280.001 65.0795 280.001 66C280.001 66.9205 280.747 67.6667 281.667 67.6667C282.588 67.6667 283.334 66.9205 283.334 66C283.334 65.0795 282.588 64.3334 281.667 64.3334ZM281.667 77.6667C280.747 77.6667 280.001 78.4129 280.001 79.3334C280.001 80.2538 280.747 81 281.667 81C282.588 81 283.334 80.2538 283.334 79.3334C283.334 78.4129 282.588 77.6667 281.667 77.6667Z"
|
24
|
-
fill="#CAB2FB" />
|
25
|
-
<rect x="20" y="20" width="80" height="80" rx="10" fill="#CAB2FB" />
|
26
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
27
|
-
d="M51.5174 40H68.4826C70.0925 40 71.4213 40 72.5037 40.0884C73.6278 40.1802 74.6612 40.3774 75.6319 40.8719C77.1372 41.6389 78.3611 42.8628 79.128 44.3681C79.6226 45.3387 79.8198 46.3722 79.9116 47.4963C80 48.5787 80 49.9074 80 51.5174V68.4826C80 70.0926 80 71.4213 79.9116 72.5037C79.8198 73.6278 79.6226 74.6612 79.128 75.6319C78.3611 77.1372 77.1372 78.3611 75.6319 79.128C74.6612 79.6226 73.6278 79.8198 72.5036 79.9116C71.4213 80 70.0926 80 68.4826 80H51.5174C49.9074 80 48.5787 80 47.4963 79.9116C46.3722 79.8198 45.3387 79.6226 44.3681 79.128C42.8628 78.3611 41.6389 77.1372 40.8719 75.6319C40.3774 74.6612 40.1802 73.6278 40.0884 72.5036C40 71.4213 40 70.0925 40 68.4826V51.5174C40 49.9075 40 48.5787 40.0884 47.4963C40.1802 46.3722 40.3774 45.3387 40.8719 44.3681C41.6389 42.8628 42.8628 41.6389 44.3681 40.8719C45.3387 40.3774 46.3722 40.1802 47.4963 40.0884C48.5787 40 49.9075 40 51.5174 40ZM47.8221 44.0751C46.9452 44.1467 46.4968 44.2766 46.184 44.436C45.4314 44.8195 44.8195 45.4314 44.436 46.184C44.2766 46.4968 44.1467 46.9452 44.0751 47.8221C44.0016 48.7223 44 49.8868 44 51.6V68.4C44 70.1132 44.0016 71.2777 44.0751 72.1779C44.1467 73.0548 44.2766 73.5032 44.436 73.816C44.8195 74.5686 45.4314 75.1805 46.184 75.564C46.4968 75.7234 46.9452 75.8533 47.8221 75.9249C48.7223 75.9984 49.8868 76 51.6 76H68.4C70.1132 76 71.2777 75.9984 72.1779 75.9249C73.0548 75.8533 73.5032 75.7234 73.816 75.564C74.5686 75.1805 75.1805 74.5686 75.564 73.816C75.7234 73.5032 75.8533 73.0547 75.9249 72.1779C75.9984 71.2777 76 70.1132 76 68.4V51.6C76 49.8868 75.9984 48.7223 75.9249 47.8221C75.8533 46.9452 75.7234 46.4968 75.564 46.184C75.1805 45.4314 74.5686 44.8195 73.816 44.436C73.5032 44.2766 73.0547 44.1467 72.1779 44.0751C71.2777 44.0016 70.1132 44 68.4 44H51.6C49.8868 44 48.7223 44.0016 47.8221 44.0751ZM56.4142 52.5858C57.1953 53.3668 57.1953 54.6332 56.4142 55.4142L51.8284 60L56.4142 64.5858C57.1953 65.3668 57.1953 66.6332 56.4142 67.4142C55.6332 68.1953 54.3668 68.1953 53.5858 67.4142L47.5858 61.4142C46.8047 60.6332 46.8047 59.3668 47.5858 58.5858L53.5858 52.5858C54.3668 51.8047 55.6332 51.8047 56.4142 52.5858ZM63.5858 52.5858C64.3668 51.8047 65.6332 51.8047 66.4142 52.5858L72.4142 58.5858C73.1953 59.3668 73.1953 60.6332 72.4142 61.4142L66.4142 67.4142C65.6332 68.1953 64.3668 68.1953 63.5858 67.4142C62.8047 66.6332 62.8047 65.3668 63.5858 64.5858L68.1716 60L63.5858 55.4142C62.8047 54.6332 62.8047 53.3668 63.5858 52.5858Z"
|
28
|
-
fill="#E4D8FD" />
|
29
|
-
<rect x="150" y="70" width="100" height="100" rx="20" fill="#F1EBFE" />
|
30
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
31
|
-
d="M183.123 105.358C185.158 97.9454 191.941 92.5 200 92.5C208.059 92.5 214.842 97.9454 216.877 105.358C222.965 106.774 227.5 112.231 227.5 118.75C227.5 124.741 223.67 129.831 218.333 131.717C217.031 132.177 215.603 131.495 215.143 130.193C214.683 128.891 215.365 127.463 216.667 127.003C220.069 125.8 222.5 122.556 222.5 118.75C222.5 114.194 219.017 110.45 214.57 110.038C213.437 109.933 212.518 109.076 212.334 107.954C211.359 102.024 206.205 97.5 200 97.5C193.795 97.5 188.641 102.024 187.666 107.954C187.482 109.076 186.563 109.933 185.43 110.038C180.983 110.45 177.5 114.194 177.5 118.75C177.5 122.556 179.931 125.8 183.333 127.003C184.635 127.463 185.317 128.891 184.857 130.193C184.397 131.495 182.969 132.177 181.667 131.717C176.33 129.831 172.5 124.741 172.5 118.75C172.5 112.231 177.035 106.774 183.123 105.358Z"
|
32
|
-
fill="#CAB2FB" />
|
33
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
34
|
-
d="M192.5 120C191.119 120 190 121.119 190 122.5C190 123.881 191.119 125 192.5 125C193.881 125 195 123.881 195 122.5C195 121.119 193.881 120 192.5 120ZM185 122.5C185 118.358 188.358 115 192.5 115C196.642 115 200 118.358 200 122.5C200 125.766 197.913 128.544 195 129.573V132.5C195 135.261 197.239 137.5 200 137.5H205V142.5H200C194.477 142.5 190 138.023 190 132.5V129.573C187.087 128.544 185 125.766 185 122.5Z"
|
35
|
-
fill="#CAB2FB" />
|
36
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
37
|
-
d="M210 137.5C208.619 137.5 207.5 138.619 207.5 140C207.5 141.381 208.619 142.5 210 142.5C211.381 142.5 212.5 141.381 212.5 140C212.5 138.619 211.381 137.5 210 137.5ZM202.5 140C202.5 135.858 205.858 132.5 210 132.5C214.142 132.5 217.5 135.858 217.5 140C217.5 144.142 214.142 147.5 210 147.5C205.858 147.5 202.5 144.142 202.5 140Z"
|
38
|
-
fill="#CAB2FB" />
|
39
|
-
<rect x="100" y="158" width="60" height="60" rx="10" fill="#CAB2FB" />
|
40
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
41
|
-
d="M140.5 174.5C139.672 174.5 139 175.172 139 176C139 176.828 139.672 177.5 140.5 177.5C141.328 177.5 142 176.828 142 176C142 175.172 141.328 174.5 140.5 174.5ZM136.256 174.501C136.873 172.753 138.54 171.5 140.5 171.5C142.985 171.5 145 173.515 145 176C145 178.485 142.985 180.5 140.5 180.5C138.541 180.5 136.875 179.248 136.257 177.501C135.464 177.504 134.862 177.516 134.367 177.556C133.709 177.61 133.373 177.707 133.138 177.827C132.574 178.115 132.115 178.574 131.827 179.138C131.707 179.373 131.61 179.709 131.556 180.367C131.501 181.042 131.5 181.915 131.5 183.2V186.5H136.256C136.874 184.752 138.541 183.5 140.5 183.5C142.985 183.5 145 185.515 145 188C145 190.485 142.985 192.5 140.5 192.5C138.541 192.5 136.874 191.248 136.256 189.5H131.5V192.8C131.5 194.085 131.501 194.958 131.556 195.633C131.61 196.291 131.707 196.627 131.827 196.862C132.115 197.426 132.574 197.885 133.138 198.173C133.373 198.293 133.709 198.39 134.367 198.444C134.862 198.484 135.464 198.496 136.257 198.499C136.875 196.752 138.541 195.5 140.5 195.5C142.985 195.5 145 197.515 145 200C145 202.485 142.985 204.5 140.5 204.5C138.54 204.5 136.873 203.247 136.256 201.499C135.435 201.496 134.727 201.483 134.122 201.434C133.279 201.365 132.504 201.217 131.776 200.846C130.647 200.271 129.729 199.353 129.154 198.224C128.783 197.496 128.635 196.721 128.566 195.878C128.5 195.066 128.5 194.069 128.5 192.862V189.5H123.744C123.126 191.248 121.459 192.5 119.5 192.5C117.015 192.5 115 190.485 115 188C115 185.515 117.015 183.5 119.5 183.5C121.459 183.5 123.126 184.752 123.744 186.5H128.5V183.138C128.5 181.931 128.5 180.934 128.566 180.122C128.635 179.279 128.783 178.504 129.154 177.776C129.729 176.647 130.647 175.729 131.776 175.154C132.504 174.783 133.279 174.635 134.122 174.566C134.727 174.517 135.435 174.504 136.256 174.501ZM119.5 186.5C118.672 186.5 118 187.172 118 188C118 188.828 118.672 189.5 119.5 189.5C120.328 189.5 121 188.828 121 188C121 187.172 120.328 186.5 119.5 186.5ZM140.5 186.5C139.672 186.5 139 187.172 139 188C139 188.828 139.672 189.5 140.5 189.5C141.328 189.5 142 188.828 142 188C142 187.172 141.328 186.5 140.5 186.5ZM140.5 198.5C139.672 198.5 139 199.172 139 200C139 200.828 139.672 201.5 140.5 201.5C141.328 201.5 142 200.828 142 200C142 199.172 141.328 198.5 140.5 198.5Z"
|
42
|
-
fill="#F1EBFE" />
|
43
|
-
</svg>
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as e,r as k}from"./@radix-C7hRs6Kx.js";import{j as I,o as q,F as Q,p as L,ai as X,ak as G,al as W,am as H,S as B,aX as ee,aY as se,ae as re,aZ as te,a_ as ae,a$ as ne,I as $,b0 as oe,b1 as ie,b2 as A,b3 as N,m as le,b4 as ce,B as me,Z as de,h as v,W as ue,z as C,l as pe,f as xe,ah as he,X as fe}from"./index-D2iSHVZq.js";import{b as M,h as je,a as O,c as ge}from"./@tanstack-CSxjHCME.js";import{s as ye,g as Ne,a as ve,D as Ce,b as be,f as we}from"./index-CmLcvK2z.js";import{w as Se}from"./index-CFESYpe4.js";import{t as Fe}from"./zod-C0xYeTvL.js";import{b as Pe,C as ze,u as _e,F as Te}from"./index.esm-D7jFlf5N.js";import{b as Ee,C as ke}from"./ComponentIcon-ils7uNAk.js";import{S as Ae}from"./check-DK77doTf.js";import{S as Oe}from"./plus-COjQg3AG.js";import{C as De}from"./CodeSnippet-CvI6D0wx.js";import{S as Ie}from"./file-text-BdxZdjP_.js";import{S as qe}from"./terminal-square-DMtel8mb.js";async function Qe({payload:s,workspaceId:t}){const a=q(L.workspaces.components(t)),n=await I(a,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(s)});if(!n.ok){const u=await n.json().then(i=>Array.isArray(i.detail)?i.detail[1]:i.detail).catch(()=>"Error while creating new stack");throw new Q({status:n.status,statusText:n.statusText,message:u})}return n.json()}function Le(s){return M({...s,mutationFn:async({workspaceId:t,payload:a})=>Qe({workspaceId:t,payload:a})})}function Be({open:s,setOpen:t}){return e.jsx(X,{open:s,onOpenChange:t,children:e.jsxs(G,{className:"max-w-[600px]",children:[e.jsx(W,{children:e.jsx(H,{children:"Create Service Connector"})}),e.jsx("div",{className:"min-w-0 p-5",children:e.jsxs("div",{className:"min-w-0 max-w-full space-y-1",children:[e.jsx("p",{children:"Create a new service connector"}),e.jsx(De,{wrap:!0,code:"zenml service-connector register <NAME> --type=<TYPE> --interactive"})]})})]})})}function $e({connectorResourceType:s}){var h;const t=Pe(),[a,n]=k.useState(!1),[u,i]=k.useState(!1),p=je(ye.serviceConnectorListInfinite({resource_type:s,sort_by:"desc:created"}));if(p.isPending)return e.jsx(B,{className:"h-[60px] w-full"});if(p.isError)return e.jsx("div",{children:"Error"});const c=(h=p.data)==null?void 0:h.pages.flatMap(m=>m.items);return e.jsxs(e.Fragment,{children:[e.jsx(ze,{control:t.control,name:"connector",render:({field:m})=>e.jsxs(ee,{modal:!0,open:a,onOpenChange:n,children:[e.jsx(se,{asChild:!0,children:e.jsx("button",{className:re("w-full flex-1 truncate rounded-md border border-primary-400 bg-theme-surface-secondary px-2",{"h-7":!m.value,"py-2 pl-2 pr-3 text-left":m.value}),children:m.value?(()=>{const r=c.find(d=>d.id===m.value);return r?e.jsx(D,{connector:r}):"Select Connector"})():"Select Connector"})}),e.jsx(te,{className:"p-0",style:{width:"var(--radix-popover-trigger-width)"},align:"start",children:e.jsxs(ae,{filter:(r,d)=>r.toLowerCase().includes(d.toLowerCase())||r.includes("doNotFilter-")?1:0,children:[c.length>0&&e.jsx(ne,{placeholder:"Search connectors...",children:e.jsx($,{className:"w-full",inputSize:"sm"})}),e.jsx(oe,{className:"space-y-1 p-2",children:e.jsxs("div",{className:"space-y-1",children:[c.length>0?e.jsxs(e.Fragment,{children:[e.jsx(ie,{children:"No results"}),e.jsx(A,{className:"max-h-[300px] overflow-y-auto",children:c.map(r=>e.jsxs(N,{value:`${r.id}:${r.name}`,onSelect:d=>{const[f]=d.split(":");t.setValue("connector",m.value===f?"":f),n(!1)},children:[e.jsx(D,{connector:r}),e.jsx(Ae,{className:le("fill-brand-500 ml-auto size-4 shrink-0",m.value===r.id?"opacity-100":"opacity-0")})]},r.id))})]}):e.jsx("div",{className:"p-2 text-center text-theme-text-secondary",children:"No connectors found"}),e.jsx(ce,{className:"-mx-1"}),e.jsxs(A,{children:[p.hasNextPage&&e.jsx(N,{value:"doNotFilter-fetch-more",className:"flex items-center font-semibold",onSelect:()=>{p.fetchNextPage()},children:"Load more"}),e.jsxs(N,{value:"doNotFilter-create-new",className:"flex items-center gap-2 font-semibold",onSelect:()=>{n(!1),i(!0)},children:[e.jsx(Oe,{className:"size-3 shrink-0 fill-neutral-400"}),"Create new Service Connector"]})]})]})})]})})]})}),e.jsx(Be,{open:u,setOpen:i})]})}function D({connector:s}){var t,a;return e.jsxs("div",{className:"flex items-center gap-2",children:[typeof((t=s.body)==null?void 0:t.connector_type)=="object"&&((a=s.body)==null?void 0:a.connector_type.logo_url)&&e.jsx("img",{src:s.body.connector_type.logo_url,alt:s.name,className:"size-5 shrink-0"}),e.jsxs("div",{children:[e.jsx("div",{className:"font-semibold",children:s.name}),e.jsx("div",{className:"text-theme-text-secondary",children:s.id.split("-")[0]})]})]})}function Me({connectorResourceType:s}){return e.jsxs("section",{className:"w-full max-w-full space-y-3 overflow-x-hidden rounded-md border border-warning-50 bg-[#FFF6EA] p-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(Ee,{className:"size-5 shrink-0 fill-warning-400"}),e.jsx("p",{className:"text-text-lg font-semibold",children:"Connect to resource"})]}),e.jsx("p",{className:"text-theme-text-secondary",children:"You can select a Service Connector to connect ZenML to external resources"})]}),e.jsx($e,{connectorResourceType:s})]})}function Re({sdkDocsUrl:s,name:t,logoUrl:a,type:n}){return e.jsxs(me,{className:"space-y-5 overflow-hidden pb-5",children:[e.jsx("div",{className:"flex h-[120px] w-full items-center justify-center bg-teal-25",children:a?e.jsx("img",{width:60,height:60,className:"aspect-square object-contain",src:de(a),alt:`Logo of ${t}`}):e.jsx(ke,{className:"aspect-square h-[60px] w-[60px] fill-primary-400 object-contain",type:n})}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"px-5",children:[e.jsx("p",{className:"text-text-lg font-semibold",children:"Need Help?"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Follow our extensive documentation to get started."})]}),e.jsxs("ul",{className:"space-y-0.5 px-5",children:[!!s&&e.jsx("li",{children:e.jsx(v,{asChild:!0,emphasis:"minimal",intent:"primary",size:"md",children:e.jsxs("a",{className:"flex items-center gap-1",target:"_blank",rel:"noopener noreferrer",href:s,children:[e.jsx(Ie,{className:"size-5 shrink-0 fill-primary-600"}),"Api Reference"]})})}),e.jsx("li",{children:e.jsx(v,{asChild:!0,emphasis:"minimal",intent:"primary",size:"md",children:e.jsxs("a",{className:"flex items-center gap-1",target:"_blank",rel:"noopener noreferrer",href:"https://github.com/zenml-io/zenml/tree/main/examples",children:[e.jsx(qe,{className:"size-5 shrink-0 fill-primary-600"}),"Navigate our examples"]})})}),e.jsx("li",{children:e.jsx(v,{asChild:!0,emphasis:"minimal",intent:"primary",size:"md",children:e.jsxs("a",{className:"flex items-center gap-1",target:"_blank",rel:"noopener noreferrer",href:"https://www.zenml.io/blog",children:[e.jsx(ue,{className:"size-5 shrink-0 fill-primary-600"}),"Read our blog"]})})})]})]})]})}const Ue=C.object({componentName:C.string().min(1,"Component name is required"),connector:C.string()});async function Ve({componentId:s,payload:t}){const a=q(L.components.detail(s)),n=await I(a,{headers:{"Content-Type":"application/json"},method:"PUT",body:JSON.stringify(t)});if(!n.ok){const u=await n.json().then(i=>Array.isArray(i.detail)?i.detail[1]:i.detail).catch(()=>"Error while creating new stack");throw new Q({status:n.status,statusText:n.statusText,message:u})}return n.json()}function Ze(s){return M({...s,mutationFn:async({payload:t,componentId:a})=>Ve({payload:t,componentId:a})})}function is({flavorId:s,formId:t,successHandler:a,FooterComponent:n,useMaxHeight:u=!1,component:i,isCreate:p=!0}){var r,d,f,g;const c=O(we.flavorDetail(s)),h=pe(),m=O(Se.workspaceDetail("default"));return c.isPending||h.isPending||m.isPending?e.jsx("div",{className:"px-8 py-5",children:e.jsx(B,{className:"h-[250px] w-full"})}):c.isError||h.isError||m.isError?e.jsx("p",{className:"px-8 py-5",children:"Failed to fetch flavor"}):e.jsx(Ke,{isCreate:p,component:i,useMaxHeight:u,infoTile:e.jsx(Re,{type:((r=c.data.body)==null?void 0:r.type)||"orchestrator",name:c.data.name,sdkDocsUrl:((d=c.data.metadata)==null?void 0:d.sdk_docs_url)??void 0,logoUrl:((f=c.data.body)==null?void 0:f.logo_url)??void 0}),FooterComponent:n,successHandler:a,workspaceId:m.data.id,flavor:c.data,userId:h.data.id,formId:t,schema:(g=c.data.metadata)==null?void 0:g.config_schema})}function Ke({formId:s,schema:t,flavor:a,userId:n,workspaceId:u,successHandler:i,infoTile:p,FooterComponent:c,useMaxHeight:h,isCreate:m,component:r}){var S,F,P,z,_;const{toast:d}=xe(),f=fe.all,g=ge(),b=Le({onSuccess:({id:o})=>{g.invalidateQueries({queryKey:f}),i==null||i(o)},onError:o=>{d({emphasis:"subtle",status:"error",rounded:!0,description:o.message})}}),R=Ze({onSuccess:({id:o})=>{g.invalidateQueries({queryKey:f}),i==null||i(o)},onError:o=>{d({emphasis:"subtle",status:"error",rounded:!0,description:o.message})}}),U=t.properties||{},y=t.required||[],V=t.$defs;function Z({componentName:o,...l}){if(Object.keys(l).forEach(x=>{(l[x]===""||l[x]===null||l[x]===void 0||Array.isArray(l[x])&&l[x].length===0||typeof l[x]=="object"&&!Array.isArray(l[x])&&Object.keys(l[x]).length===0)&&delete l[x]}),!a.body)return;const{connector:T,...E}=l;if(m)b.mutate({workspaceId:u,payload:{name:o,configuration:E,flavor:a.name,type:a.body.type,user:n,connector:T||null,workspace:u}});else{if(!r)return;R.mutate({componentId:r.id,payload:{name:o,configuration:E,connector:T||null}})}}const K=Ue.merge(Ne(t)),Y=ve(t,(S=r==null?void 0:r.metadata)==null?void 0:S.configuration),j=_e({resolver:Fe(K),defaultValues:{componentName:(r==null?void 0:r.name)??"",connector:((P=(F=r==null?void 0:r.metadata)==null?void 0:F.connector)==null?void 0:P.id)??"",...Y}}),{handleSubmit:J}=j,w=Object.entries(U).sort(([o],[l])=>y.includes(o)&&!y.includes(l)?-1:!y.includes(o)&&y.includes(l)?1:0);return e.jsx(Te,{...j,children:e.jsxs("form",{onSubmit:o=>(o.stopPropagation(),J(Z)(o)),id:s,children:[e.jsx(he,{viewportClassName:h?"max-h-[70vh]":"",children:e.jsxs("div",{className:"space-y-4 p-8",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("label",{className:"text-text-lg font-semibold",children:"Component Name"}),e.jsx($,{...j.register("componentName"),"data-error":j.formState.errors.componentName?"true":"false",className:"w-full data-[error=true]:border-error-500",inputSize:"lg"}),j.formState.errors.componentName&&e.jsx("p",{className:"text-text-sm text-error-500",children:(z=j.formState.errors.componentName.message)==null?void 0:z.toString()})]}),e.jsxs("div",{className:"flex flex-col-reverse gap-5 xl:flex-row",children:[e.jsxs("div",{className:"flex-1 space-y-5",children:[(_=a.metadata)!=null&&_.connector_resource_type?e.jsx(Me,{connectorResourceType:a.metadata.connector_resource_type}):null,w.length>0?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-text-lg font-semibold",children:"Attributes"}),w.map(([o,l])=>e.jsx(Ce,{definitions:V,isOptional:be(o,y),name:o,schema:l},o))]}):null]}),e.jsx("div",{className:"w-full xl:w-1/3",children:p})]})]})}),e.jsx(c,{formId:s,isPending:b.isPending})]})})}export{is as C};
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<svg width="350" height="240" viewBox="0 0 350 240" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
-
<path
|
3
|
-
d="M20 28C20 23.5817 23.5817 20 28 20H64C68.4183 20 72 23.5817 72 28V64C72 68.4183 68.4183 72 64 72H28C23.5817 72 20 68.4183 20 64V28Z"
|
4
|
-
fill="#AF8BF8" />
|
5
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
6
|
-
d="M37.3296 34.3334C37.342 34.3334 37.3544 34.3334 37.3668 34.3334H38.3002C38.3126 34.3334 38.325 34.3334 38.3374 34.3334C38.6318 34.3333 38.9186 34.3333 39.1614 34.3531C39.4281 34.3749 39.7428 34.4264 40.0595 34.5877C40.4985 34.8114 40.8555 35.1684 41.0792 35.6074C41.2405 35.9241 41.2919 36.2388 41.3137 36.5054C41.318 36.5573 41.3213 36.6112 41.3239 36.6667L50.6764 36.6667C50.679 36.6112 50.6824 36.5573 50.6866 36.5054C50.7084 36.2388 50.7598 35.9241 50.9212 35.6074C51.1449 35.1684 51.5018 34.8114 51.9409 34.5877C52.2575 34.4264 52.5722 34.3749 52.8389 34.3531C53.0818 34.3333 53.3685 34.3333 53.663 34.3334H54.6707C54.9652 34.3333 55.2519 34.3333 55.4948 34.3531C55.7615 34.3749 56.0762 34.4264 56.3928 34.5877C56.8319 34.8114 57.1888 35.1684 57.4125 35.6074C57.5739 35.9241 57.6253 36.2388 57.6471 36.5054C57.6669 36.7483 57.6669 37.035 57.6668 37.3295V38.3373C57.6669 38.6317 57.6669 38.9185 57.6471 39.1613C57.6253 39.428 57.5739 39.7427 57.4125 40.0594C57.1888 40.4984 56.8319 40.8554 56.3928 41.0791C56.0762 41.2404 55.7615 41.2918 55.4948 41.3136C55.4429 41.3178 55.389 41.3212 55.3335 41.3238V50.6763C55.389 50.6789 55.4429 50.6822 55.4948 50.6865C55.7615 50.7083 56.0762 50.7597 56.3928 50.921C56.8319 51.1447 57.1888 51.5017 57.4125 51.9407C57.5739 52.2574 57.6253 52.5721 57.6471 52.8388C57.6669 53.0816 57.6669 53.3684 57.6668 53.6628V54.6706C57.6669 54.9651 57.6669 55.2518 57.6471 55.4946C57.6253 55.7613 57.5739 56.076 57.4125 56.3927C57.1888 56.8317 56.8319 57.1887 56.3928 57.4124C56.0762 57.5737 55.7615 57.6252 55.4948 57.6469C55.2519 57.6668 54.9652 57.6668 54.6707 57.6667H53.6629C53.3685 57.6668 53.0817 57.6668 52.8389 57.6469C52.5722 57.6252 52.2575 57.5737 51.9409 57.4124C51.5018 57.1887 51.1449 56.8317 50.9212 56.3927C50.7598 56.076 50.7084 55.7613 50.6866 55.4946C50.6824 55.4428 50.679 55.3889 50.6764 55.3334H41.3239C41.3213 55.3889 41.318 55.4428 41.3137 55.4946C41.2919 55.7613 41.2405 56.076 41.0792 56.3927C40.8555 56.8317 40.4985 57.1887 40.0595 57.4124C39.7428 57.5737 39.4281 57.6252 39.1614 57.6469C38.9186 57.6668 38.6318 57.6668 38.3374 57.6667H37.3296C37.0352 57.6668 36.7484 57.6668 36.5056 57.6469C36.2389 57.6252 35.9242 57.5737 35.6075 57.4124C35.1685 57.1887 34.8115 56.8317 34.5878 56.3927C34.4265 56.076 34.3751 55.7613 34.3533 55.4946C34.3334 55.2518 34.3335 54.965 34.3335 54.6706V53.6628C34.3335 53.3684 34.3334 53.0816 34.3533 52.8388C34.3751 52.5721 34.4265 52.2574 34.5878 51.9407C34.8115 51.5017 35.1685 51.1447 35.6075 50.921C35.9242 50.7597 36.2389 50.7083 36.5056 50.6865C36.5574 50.6822 36.6113 50.6789 36.6668 50.6763V41.3238C36.6113 41.3212 36.5574 41.3178 36.5056 41.3136C36.2389 41.2918 35.9242 41.2404 35.6075 41.0791C35.1685 40.8554 34.8115 40.4984 34.5878 40.0594C34.4265 39.7427 34.3751 39.428 34.3533 39.1613C34.3334 38.9185 34.3335 38.6317 34.3335 38.3373C34.3335 38.3249 34.3335 38.3125 34.3335 38.3V37.3667C34.3335 37.3543 34.3335 37.3419 34.3335 37.3295C34.3335 37.0351 34.3334 36.7483 34.3533 36.5054C34.3751 36.2388 34.4265 35.9241 34.5878 35.6074C34.8115 35.1684 35.1685 34.8114 35.6075 34.5877C35.9242 34.4264 36.2389 34.3749 36.5056 34.3531C36.7484 34.3333 37.0352 34.3333 37.3296 34.3334ZM39.0002 41.3238V50.6763C39.0557 50.6789 39.1096 50.6822 39.1614 50.6865C39.4281 50.7083 39.7428 50.7597 40.0595 50.921C40.4985 51.1447 40.8555 51.5017 41.0792 51.9407C41.2405 52.2574 41.2919 52.5721 41.3137 52.8388C41.318 52.8907 41.3213 52.9445 41.3239 53H50.6764C50.679 52.9445 50.6824 52.8907 50.6866 52.8388C50.7084 52.5721 50.7598 52.2574 50.9212 51.9407C51.1449 51.5017 51.5018 51.1447 51.9409 50.921C52.2575 50.7597 52.5722 50.7083 52.8389 50.6865C52.8908 50.6822 52.9446 50.6789 53.0002 50.6763V41.3238C52.9446 41.3212 52.8908 41.3178 52.8389 41.3136C52.5722 41.2918 52.2575 41.2404 51.9409 41.0791C51.5018 40.8554 51.1449 40.4984 50.9212 40.0594C50.7598 39.7427 50.7084 39.428 50.6866 39.1613C50.6824 39.1094 50.679 39.0556 50.6764 39L41.3239 39C41.3213 39.0556 41.318 39.1094 41.3137 39.1613C41.2919 39.428 41.2405 39.7427 41.0792 40.0594C40.8555 40.4984 40.4985 40.8554 40.0595 41.0791C39.7428 41.2404 39.4281 41.2918 39.1614 41.3136C39.1096 41.3178 39.0557 41.3212 39.0002 41.3238ZM39.0002 37.3667C39.0002 37.0208 38.9993 36.8315 38.9881 36.6955C38.9877 36.69 38.9873 36.6849 38.9868 36.6801C38.982 36.6796 38.9768 36.6792 38.9714 36.6787C38.8354 36.6676 38.6461 36.6667 38.3002 36.6667H37.3668C37.0209 36.6667 36.8316 36.6676 36.6956 36.6787C36.6902 36.6792 36.685 36.6796 36.6802 36.6801C36.6797 36.6849 36.6793 36.69 36.6789 36.6955C36.6677 36.8315 36.6668 37.0208 36.6668 37.3667V38.3C36.6668 38.646 36.6677 38.8353 36.6789 38.9713C36.6793 38.9767 36.6797 38.9818 36.6802 38.9867C36.685 38.9871 36.6902 38.9876 36.6956 38.988C36.8316 38.9991 37.0209 39 37.3668 39H38.3002C38.6461 39 38.8354 38.9991 38.9714 38.988C38.9768 38.9876 38.982 38.9871 38.9868 38.9867C38.9873 38.9818 38.9877 38.9767 38.9881 38.9713C38.9993 38.8353 39.0002 38.646 39.0002 38.3V37.3667ZM53.0002 38.3C53.0002 38.646 53.0011 38.8353 53.0122 38.9713C53.0126 38.9767 53.0131 38.9818 53.0135 38.9867C53.0184 38.9871 53.0235 38.9876 53.0289 38.988C53.1649 38.9991 53.3542 39 53.7002 39H54.6335C54.9795 39 55.1687 38.9991 55.3048 38.988C55.3102 38.9876 55.3153 38.9871 55.3201 38.9867C55.3206 38.9818 55.321 38.9767 55.3215 38.9713C55.3326 38.8353 55.3335 38.646 55.3335 38.3V37.3667C55.3335 37.0208 55.3326 36.8315 55.3215 36.6955C55.321 36.69 55.3206 36.6849 55.3201 36.6801C55.3153 36.6796 55.3102 36.6792 55.3048 36.6787C55.1687 36.6676 54.9795 36.6667 54.6335 36.6667H53.7002C53.3542 36.6667 53.1649 36.6676 53.0289 36.6787C53.0235 36.6792 53.0184 36.6796 53.0135 36.6801C53.0131 36.6849 53.0126 36.69 53.0122 36.6955C53.0011 36.8315 53.0002 37.0208 53.0002 37.3667V38.3ZM53.7002 53C53.3542 53 53.1649 53.001 53.0289 53.0121C53.0235 53.0125 53.0184 53.013 53.0135 53.0134C53.0131 53.0182 53.0126 53.0234 53.0122 53.0288C53.0011 53.1648 53.0002 53.3541 53.0002 53.7V54.6334C53.0002 54.9793 53.0011 55.1686 53.0122 55.3046C53.0126 55.3101 53.0131 55.3152 53.0135 55.32C53.0184 55.3205 53.0235 55.3209 53.0289 55.3214C53.1649 55.3325 53.3542 55.3334 53.7002 55.3334H54.6335C54.9795 55.3334 55.1687 55.3325 55.3048 55.3214C55.3102 55.3209 55.3153 55.3205 55.3201 55.32C55.3206 55.3152 55.321 55.3101 55.3215 55.3046C55.3326 55.1686 55.3335 54.9793 55.3335 54.6334V53.7C55.3335 53.3541 55.3326 53.1648 55.3215 53.0288C55.321 53.0234 55.3206 53.0182 55.3201 53.0134C55.3153 53.013 55.3102 53.0125 55.3048 53.0121C55.1687 53.001 54.9795 53 54.6335 53H53.7002ZM39.0002 53.7C39.0002 53.3541 38.9993 53.1648 38.9881 53.0288C38.9877 53.0234 38.9873 53.0182 38.9868 53.0134C38.982 53.013 38.9768 53.0125 38.9714 53.0121C38.8354 53.001 38.6461 53 38.3002 53H37.3668C37.0209 53 36.8316 53.001 36.6956 53.0121C36.6902 53.0125 36.685 53.013 36.6802 53.0134C36.6797 53.0182 36.6793 53.0234 36.6789 53.0288C36.6677 53.1648 36.6668 53.3541 36.6668 53.7V54.6334C36.6668 54.9793 36.6677 55.1686 36.6789 55.3046C36.6793 55.3101 36.6797 55.3152 36.6802 55.32C36.685 55.3205 36.6902 55.3209 36.6956 55.3214C36.8316 55.3325 37.0209 55.3334 37.3668 55.3334H38.3002C38.6461 55.3334 38.8354 55.3325 38.9714 55.3214C38.9768 55.3209 38.982 55.3205 38.9868 55.32C38.9873 55.3152 38.9877 55.3101 38.9881 55.3046C38.9993 55.1686 39.0002 54.9793 39.0002 54.6334V53.7Z"
|
7
|
-
fill="white" />
|
8
|
-
<path
|
9
|
-
d="M96.568 59.384C94.8827 59.384 93.3147 59.0747 91.864 58.456C90.4347 57.8373 89.1867 56.984 88.12 55.896C87.0747 54.7867 86.2533 53.4853 85.656 51.992C85.0587 50.4987 84.76 48.856 84.76 47.064C84.76 45.2933 85.048 43.6613 85.624 42.168C86.2213 40.6533 87.0533 39.352 88.12 38.264C89.1867 37.1547 90.4347 36.3013 91.864 35.704C93.2933 35.0853 94.8613 34.776 96.568 34.776C98.2533 34.776 99.7573 35.064 101.08 35.64C102.424 36.216 103.555 36.9733 104.472 37.912C105.389 38.8293 106.051 39.832 106.456 40.92L103.064 42.52C102.552 41.24 101.731 40.2053 100.6 39.416C99.4907 38.6053 98.1467 38.2 96.568 38.2C94.9893 38.2 93.592 38.5733 92.376 39.32C91.16 40.0667 90.2107 41.1013 89.528 42.424C88.8667 43.7467 88.536 45.2933 88.536 47.064C88.536 48.8347 88.8667 50.392 89.528 51.736C90.2107 53.0587 91.16 54.0933 92.376 54.84C93.592 55.5653 94.9893 55.928 96.568 55.928C98.1467 55.928 99.4907 55.5333 100.6 54.744C101.731 53.9547 102.552 52.92 103.064 51.64L106.456 53.24C106.051 54.3067 105.389 55.3093 104.472 56.248C103.555 57.1867 102.424 57.944 101.08 58.52C99.7573 59.096 98.2533 59.384 96.568 59.384ZM117.067 59.384C115.403 59.384 113.877 58.9893 112.491 58.2C111.125 57.4107 110.037 56.3333 109.227 54.968C108.416 53.6027 108.011 52.056 108.011 50.328C108.011 48.5787 108.416 47.032 109.227 45.688C110.037 44.3227 111.125 43.256 112.491 42.488C113.856 41.6987 115.381 41.304 117.067 41.304C118.773 41.304 120.299 41.6987 121.643 42.488C123.008 43.256 124.085 44.3227 124.875 45.688C125.685 47.032 126.091 48.5787 126.091 50.328C126.091 52.0773 125.685 53.6347 124.875 55C124.064 56.3653 122.976 57.4427 121.611 58.232C120.245 59 118.731 59.384 117.067 59.384ZM117.067 56.024C118.091 56.024 118.997 55.7787 119.787 55.288C120.576 54.7973 121.195 54.1253 121.643 53.272C122.112 52.3973 122.347 51.416 122.347 50.328C122.347 49.24 122.112 48.2693 121.643 47.416C121.195 46.5627 120.576 45.8907 119.787 45.4C118.997 44.9093 118.091 44.664 117.067 44.664C116.064 44.664 115.157 44.9093 114.347 45.4C113.557 45.8907 112.928 46.5627 112.459 47.416C112.011 48.2693 111.787 49.24 111.787 50.328C111.787 51.416 112.011 52.3973 112.459 53.272C112.928 54.1253 113.557 54.7973 114.347 55.288C115.157 55.7787 116.064 56.024 117.067 56.024ZM128.661 59V41.688H132.117V45.08L131.701 44.632C132.127 43.544 132.81 42.7227 133.749 42.168C134.687 41.592 135.775 41.304 137.013 41.304C138.293 41.304 139.423 41.5813 140.405 42.136C141.386 42.6907 142.154 43.4587 142.709 44.44C143.263 45.4213 143.541 46.552 143.541 47.832V59H139.957V48.792C139.957 47.9173 139.797 47.1813 139.477 46.584C139.157 45.9653 138.698 45.496 138.101 45.176C137.525 44.8347 136.863 44.664 136.117 44.664C135.37 44.664 134.698 44.8347 134.101 45.176C133.525 45.496 133.077 45.9653 132.757 46.584C132.437 47.2027 132.277 47.9387 132.277 48.792V59H128.661ZM146.451 59V41.688H149.907V45.08L149.491 44.632C149.917 43.544 150.6 42.7227 151.539 42.168C152.477 41.592 153.565 41.304 154.803 41.304C156.083 41.304 157.213 41.5813 158.195 42.136C159.176 42.6907 159.944 43.4587 160.499 44.44C161.053 45.4213 161.331 46.552 161.331 47.832V59H157.747V48.792C157.747 47.9173 157.587 47.1813 157.267 46.584C156.947 45.9653 156.488 45.496 155.891 45.176C155.315 44.8347 154.653 44.664 153.907 44.664C153.16 44.664 152.488 44.8347 151.891 45.176C151.315 45.496 150.867 45.9653 150.547 46.584C150.227 47.2027 150.067 47.9387 150.067 48.792V59H146.451ZM172.369 59.384C170.641 59.384 169.105 58.9893 167.761 58.2C166.438 57.3893 165.403 56.3013 164.657 54.936C163.91 53.5493 163.537 52.0027 163.537 50.296C163.537 48.5467 163.91 47 164.657 45.656C165.425 44.312 166.449 43.256 167.729 42.488C169.009 41.6987 170.459 41.304 172.081 41.304C173.382 41.304 174.545 41.528 175.569 41.976C176.593 42.424 177.457 43.0427 178.161 43.832C178.865 44.6 179.398 45.4853 179.761 46.488C180.145 47.4907 180.337 48.5573 180.337 49.688C180.337 49.9653 180.326 50.2533 180.305 50.552C180.283 50.8507 180.241 51.128 180.177 51.384H166.385V48.504H178.129L176.401 49.816C176.614 48.7707 176.539 47.8427 176.177 47.032C175.835 46.2 175.302 45.5493 174.577 45.08C173.873 44.5893 173.041 44.344 172.081 44.344C171.121 44.344 170.267 44.5893 169.521 45.08C168.774 45.5493 168.198 46.232 167.793 47.128C167.387 48.0027 167.227 49.0693 167.313 50.328C167.206 51.5013 167.366 52.5253 167.793 53.4C168.241 54.2747 168.859 54.9573 169.649 55.448C170.459 55.9387 171.377 56.184 172.401 56.184C173.446 56.184 174.331 55.9493 175.057 55.48C175.803 55.0107 176.39 54.4027 176.817 53.656L179.761 55.096C179.419 55.9067 178.886 56.6427 178.161 57.304C177.457 57.944 176.603 58.456 175.601 58.84C174.619 59.2027 173.542 59.384 172.369 59.384ZM191.13 59.384C189.402 59.384 187.866 58.9893 186.522 58.2C185.199 57.3893 184.143 56.3013 183.354 54.936C182.586 53.5707 182.202 52.024 182.202 50.296C182.202 48.5893 182.586 47.0533 183.354 45.688C184.122 44.3227 185.178 43.256 186.522 42.488C187.866 41.6987 189.402 41.304 191.13 41.304C192.303 41.304 193.402 41.5173 194.426 41.944C195.45 42.3493 196.335 42.9147 197.082 43.64C197.85 44.3653 198.415 45.208 198.778 46.168L195.61 47.64C195.247 46.744 194.66 46.0293 193.85 45.496C193.06 44.9413 192.154 44.664 191.13 44.664C190.148 44.664 189.263 44.9093 188.474 45.4C187.706 45.8693 187.098 46.5413 186.65 47.416C186.202 48.2693 185.978 49.24 185.978 50.328C185.978 51.416 186.202 52.3973 186.65 53.272C187.098 54.1253 187.706 54.7973 188.474 55.288C189.263 55.7787 190.148 56.024 191.13 56.024C192.175 56.024 193.082 55.7573 193.85 55.224C194.639 54.6693 195.226 53.9333 195.61 53.016L198.778 54.52C198.436 55.4373 197.882 56.2693 197.114 57.016C196.367 57.7413 195.482 58.3173 194.458 58.744C193.434 59.1707 192.324 59.384 191.13 59.384ZM208.84 59.192C207.027 59.192 205.619 58.68 204.616 57.656C203.613 56.632 203.112 55.192 203.112 53.336V44.952H200.072V41.688H200.552C201.363 41.688 201.992 41.4533 202.44 40.984C202.888 40.5147 203.112 39.8747 203.112 39.064V37.72H206.728V41.688H210.664V44.952H206.728V53.176C206.728 53.7733 206.824 54.2853 207.016 54.712C207.208 55.1173 207.517 55.4373 207.944 55.672C208.371 55.8853 208.925 55.992 209.608 55.992C209.779 55.992 209.971 55.9813 210.184 55.96C210.397 55.9387 210.6 55.9173 210.792 55.896V59C210.493 59.0427 210.163 59.0853 209.8 59.128C209.437 59.1707 209.117 59.192 208.84 59.192ZM221.4 59.384C219.736 59.384 218.211 58.9893 216.824 58.2C215.459 57.4107 214.371 56.3333 213.56 54.968C212.75 53.6027 212.344 52.056 212.344 50.328C212.344 48.5787 212.75 47.032 213.56 45.688C214.371 44.3227 215.459 43.256 216.824 42.488C218.19 41.6987 219.715 41.304 221.4 41.304C223.107 41.304 224.632 41.6987 225.976 42.488C227.342 43.256 228.419 44.3227 229.208 45.688C230.019 47.032 230.424 48.5787 230.424 50.328C230.424 52.0773 230.019 53.6347 229.208 55C228.398 56.3653 227.31 57.4427 225.944 58.232C224.579 59 223.064 59.384 221.4 59.384ZM221.4 56.024C222.424 56.024 223.331 55.7787 224.12 55.288C224.91 54.7973 225.528 54.1253 225.976 53.272C226.446 52.3973 226.68 51.416 226.68 50.328C226.68 49.24 226.446 48.2693 225.976 47.416C225.528 46.5627 224.91 45.8907 224.12 45.4C223.331 44.9093 222.424 44.664 221.4 44.664C220.398 44.664 219.491 44.9093 218.68 45.4C217.891 45.8907 217.262 46.5627 216.792 47.416C216.344 48.2693 216.12 49.24 216.12 50.328C216.12 51.416 216.344 52.3973 216.792 53.272C217.262 54.1253 217.891 54.7973 218.68 55.288C219.491 55.7787 220.398 56.024 221.4 56.024ZM232.995 59V41.688H236.451V45.176L236.131 44.664C236.515 43.5333 237.133 42.7227 237.987 42.232C238.84 41.72 239.864 41.464 241.059 41.464H242.115V44.76H240.611C239.416 44.76 238.445 45.1333 237.699 45.88C236.973 46.6053 236.611 47.6507 236.611 49.016V59H232.995ZM250.028 59.384C248.258 59.384 246.7 58.9467 245.356 58.072C244.034 57.1973 243.106 56.024 242.572 54.552L245.356 53.24C245.826 54.2213 246.466 55 247.276 55.576C248.108 56.152 249.026 56.44 250.028 56.44C250.882 56.44 251.575 56.248 252.108 55.864C252.642 55.48 252.908 54.9573 252.908 54.296C252.908 53.8693 252.791 53.528 252.556 53.272C252.322 52.9947 252.023 52.7707 251.66 52.6C251.319 52.4293 250.967 52.3013 250.604 52.216L247.884 51.448C246.391 51.0213 245.271 50.3813 244.524 49.528C243.799 48.6533 243.436 47.64 243.436 46.488C243.436 45.4427 243.703 44.536 244.236 43.768C244.77 42.9787 245.506 42.3707 246.444 41.944C247.383 41.5173 248.439 41.304 249.612 41.304C251.191 41.304 252.599 41.6987 253.836 42.488C255.074 43.256 255.948 44.3333 256.46 45.72L253.676 47.032C253.335 46.2 252.791 45.5387 252.044 45.048C251.319 44.5573 250.498 44.312 249.58 44.312C248.791 44.312 248.162 44.504 247.692 44.888C247.223 45.2507 246.988 45.7307 246.988 46.328C246.988 46.7333 247.095 47.0747 247.308 47.352C247.522 47.608 247.799 47.8213 248.14 47.992C248.482 48.1413 248.834 48.2693 249.196 48.376L252.012 49.208C253.442 49.6133 254.54 50.2533 255.308 51.128C256.076 51.9813 256.46 53.0053 256.46 54.2C256.46 55.224 256.183 56.1307 255.628 56.92C255.095 57.688 254.348 58.296 253.388 58.744C252.428 59.1707 251.308 59.384 250.028 59.384Z"
|
10
|
-
fill="#431D93" />
|
11
|
-
<path
|
12
|
-
d="M184.408 207.192C183.661 207.192 182.968 207.053 182.328 206.776C181.688 206.488 181.144 206.099 180.696 205.608C180.248 205.117 179.917 204.552 179.704 203.912L181.304 203.24C181.592 203.976 182.013 204.541 182.568 204.936C183.123 205.331 183.763 205.528 184.488 205.528C184.915 205.528 185.288 205.464 185.608 205.336C185.928 205.197 186.173 205.005 186.344 204.76C186.525 204.515 186.616 204.232 186.616 203.912C186.616 203.475 186.493 203.128 186.248 202.872C186.003 202.616 185.64 202.413 185.16 202.264L182.92 201.56C182.024 201.283 181.341 200.861 180.872 200.296C180.403 199.72 180.168 199.048 180.168 198.28C180.168 197.608 180.333 197.021 180.664 196.52C180.995 196.008 181.448 195.608 182.024 195.32C182.611 195.032 183.277 194.888 184.024 194.888C184.739 194.888 185.389 195.016 185.976 195.272C186.563 195.517 187.064 195.859 187.48 196.296C187.907 196.733 188.216 197.24 188.408 197.816L186.84 198.504C186.605 197.875 186.237 197.389 185.736 197.048C185.245 196.707 184.675 196.536 184.024 196.536C183.629 196.536 183.283 196.605 182.984 196.744C182.685 196.872 182.451 197.064 182.28 197.32C182.12 197.565 182.04 197.853 182.04 198.184C182.04 198.568 182.163 198.909 182.408 199.208C182.653 199.507 183.027 199.731 183.528 199.88L185.608 200.536C186.557 200.824 187.272 201.24 187.752 201.784C188.232 202.317 188.472 202.984 188.472 203.784C188.472 204.445 188.296 205.032 187.944 205.544C187.603 206.056 187.128 206.461 186.52 206.76C185.912 207.048 185.208 207.192 184.408 207.192ZM193.999 207.096C193.093 207.096 192.389 206.84 191.887 206.328C191.386 205.816 191.135 205.096 191.135 204.168V199.976H189.615V198.344H189.855C190.261 198.344 190.575 198.227 190.799 197.992C191.023 197.757 191.135 197.437 191.135 197.032V196.36H192.943V198.344H194.911V199.976H192.943V204.088C192.943 204.387 192.991 204.643 193.087 204.856C193.183 205.059 193.338 205.219 193.551 205.336C193.765 205.443 194.042 205.496 194.383 205.496C194.469 205.496 194.565 205.491 194.671 205.48C194.778 205.469 194.879 205.459 194.975 205.448V207C194.826 207.021 194.661 207.043 194.479 207.064C194.298 207.085 194.138 207.096 193.999 207.096ZM199.094 207.192C198.507 207.192 197.99 207.091 197.542 206.888C197.104 206.675 196.763 206.387 196.518 206.024C196.272 205.651 196.15 205.213 196.15 204.712C196.15 204.243 196.251 203.821 196.454 203.448C196.667 203.075 196.992 202.76 197.43 202.504C197.867 202.248 198.416 202.067 199.078 201.96L202.086 201.464V202.888L199.43 203.352C198.95 203.437 198.598 203.592 198.374 203.816C198.15 204.029 198.038 204.307 198.038 204.648C198.038 204.979 198.16 205.251 198.406 205.464C198.662 205.667 198.987 205.768 199.382 205.768C199.872 205.768 200.299 205.661 200.662 205.448C201.035 205.235 201.323 204.952 201.526 204.6C201.728 204.237 201.83 203.837 201.83 203.4V201.176C201.83 200.749 201.67 200.403 201.35 200.136C201.04 199.859 200.624 199.72 200.102 199.72C199.622 199.72 199.2 199.848 198.838 200.104C198.486 200.349 198.224 200.669 198.054 201.064L196.55 200.312C196.71 199.885 196.971 199.512 197.334 199.192C197.696 198.861 198.118 198.605 198.598 198.424C199.088 198.243 199.606 198.152 200.15 198.152C200.832 198.152 201.435 198.28 201.958 198.536C202.491 198.792 202.902 199.149 203.19 199.608C203.488 200.056 203.638 200.579 203.638 201.176V207H201.91V205.432L202.278 205.48C202.075 205.832 201.814 206.136 201.494 206.392C201.184 206.648 200.827 206.845 200.422 206.984C200.027 207.123 199.584 207.192 199.094 207.192ZM205.592 207V198.344H207.32V200.088L207.16 199.832C207.352 199.267 207.661 198.861 208.088 198.616C208.514 198.36 209.026 198.232 209.624 198.232H210.152V199.88H209.4C208.802 199.88 208.317 200.067 207.944 200.44C207.581 200.803 207.4 201.325 207.4 202.008V207H205.592ZM215.129 207.096C214.222 207.096 213.518 206.84 213.017 206.328C212.515 205.816 212.265 205.096 212.265 204.168V199.976H210.745V198.344H210.985C211.39 198.344 211.705 198.227 211.929 197.992C212.153 197.757 212.265 197.437 212.265 197.032V196.36H214.073V198.344H216.041V199.976H214.073V204.088C214.073 204.387 214.121 204.643 214.217 204.856C214.313 205.059 214.467 205.219 214.681 205.336C214.894 205.443 215.171 205.496 215.513 205.496C215.598 205.496 215.694 205.491 215.801 205.48C215.907 205.469 216.009 205.459 216.105 205.448V207C215.955 207.021 215.79 207.043 215.609 207.064C215.427 207.085 215.267 207.096 215.129 207.096ZM221.617 207.192C220.753 207.192 219.985 206.995 219.313 206.6C218.652 206.195 218.134 205.651 217.761 204.968C217.388 204.275 217.201 203.501 217.201 202.648C217.201 201.773 217.388 201 217.761 200.328C218.145 199.656 218.657 199.128 219.297 198.744C219.937 198.349 220.662 198.152 221.473 198.152C222.124 198.152 222.705 198.264 223.217 198.488C223.729 198.712 224.161 199.021 224.513 199.416C224.865 199.8 225.132 200.243 225.313 200.744C225.505 201.245 225.601 201.779 225.601 202.344C225.601 202.483 225.596 202.627 225.585 202.776C225.574 202.925 225.553 203.064 225.521 203.192H218.625V201.752H224.497L223.633 202.408C223.74 201.885 223.702 201.421 223.521 201.016C223.35 200.6 223.084 200.275 222.721 200.04C222.369 199.795 221.953 199.672 221.473 199.672C220.993 199.672 220.566 199.795 220.193 200.04C219.82 200.275 219.532 200.616 219.329 201.064C219.126 201.501 219.046 202.035 219.089 202.664C219.036 203.251 219.116 203.763 219.329 204.2C219.553 204.637 219.862 204.979 220.257 205.224C220.662 205.469 221.121 205.592 221.633 205.592C222.156 205.592 222.598 205.475 222.961 205.24C223.334 205.005 223.628 204.701 223.841 204.328L225.313 205.048C225.142 205.453 224.876 205.821 224.513 206.152C224.161 206.472 223.734 206.728 223.233 206.92C222.742 207.101 222.204 207.192 221.617 207.192ZM227.205 207V198.344H228.933V200.088L228.773 199.832C228.965 199.267 229.275 198.861 229.701 198.616C230.128 198.36 230.64 198.232 231.237 198.232H231.765V199.88H231.013C230.416 199.88 229.931 200.067 229.557 200.44C229.195 200.803 229.013 201.325 229.013 202.008V207H227.205ZM241.239 207.192C240.396 207.192 239.612 207.037 238.887 206.728C238.172 206.419 237.543 205.992 236.999 205.448C236.466 204.893 236.05 204.243 235.751 203.496C235.452 202.749 235.303 201.928 235.303 201.032C235.303 200.147 235.447 199.331 235.735 198.584C236.034 197.827 236.45 197.176 236.983 196.632C237.516 196.077 238.14 195.651 238.855 195.352C239.57 195.043 240.354 194.888 241.207 194.888C242.05 194.888 242.802 195.032 243.463 195.32C244.135 195.608 244.7 195.987 245.159 196.456C245.618 196.915 245.948 197.416 246.151 197.96L244.471 198.776C244.226 198.125 243.82 197.603 243.255 197.208C242.69 196.803 242.007 196.6 241.207 196.6C240.418 196.6 239.719 196.787 239.111 197.16C238.503 197.533 238.028 198.051 237.687 198.712C237.356 199.373 237.191 200.147 237.191 201.032C237.191 201.917 237.362 202.696 237.703 203.368C238.055 204.029 238.535 204.547 239.143 204.92C239.751 205.283 240.45 205.464 241.239 205.464C241.9 205.464 242.503 205.331 243.047 205.064C243.602 204.787 244.044 204.403 244.375 203.912C244.706 203.411 244.871 202.829 244.871 202.168V201.352L245.719 202.12H241.207V200.52H246.743V201.64C246.743 202.515 246.594 203.299 246.295 203.992C245.996 204.675 245.591 205.256 245.079 205.736C244.567 206.216 243.98 206.579 243.319 206.824C242.658 207.069 241.964 207.192 241.239 207.192ZM251.423 207.192C250.772 207.192 250.201 207.048 249.711 206.76C249.22 206.461 248.836 206.051 248.559 205.528C248.292 204.995 248.159 204.381 248.159 203.688V198.344H249.967V203.528C249.967 203.923 250.047 204.269 250.207 204.568C250.367 204.867 250.591 205.101 250.879 205.272C251.167 205.432 251.497 205.512 251.871 205.512C252.255 205.512 252.591 205.427 252.879 205.256C253.167 205.085 253.391 204.845 253.551 204.536C253.721 204.227 253.807 203.864 253.807 203.448V198.344H255.599V207H253.887V205.304L254.079 205.528C253.876 206.061 253.54 206.472 253.071 206.76C252.601 207.048 252.052 207.192 251.423 207.192ZM257.55 207V198.344H259.358V207H257.55ZM257.55 197.16V195.08H259.358V197.16H257.55ZM265.312 207.192C264.48 207.192 263.733 206.995 263.072 206.6C262.421 206.195 261.904 205.651 261.52 204.968C261.146 204.285 260.96 203.517 260.96 202.664C260.96 201.811 261.152 201.043 261.536 200.36C261.92 199.677 262.437 199.139 263.088 198.744C263.738 198.349 264.474 198.152 265.296 198.152C265.989 198.152 266.602 198.291 267.136 198.568C267.669 198.845 268.09 199.229 268.4 199.72L268.128 200.136V194.888H269.92V207H268.208V205.24L268.416 205.576C268.117 206.099 267.69 206.499 267.136 206.776C266.581 207.053 265.973 207.192 265.312 207.192ZM265.488 205.512C265.989 205.512 266.437 205.389 266.832 205.144C267.237 204.899 267.552 204.563 267.776 204.136C268.01 203.699 268.128 203.208 268.128 202.664C268.128 202.12 268.01 201.635 267.776 201.208C267.552 200.781 267.237 200.445 266.832 200.2C266.437 199.955 265.989 199.832 265.488 199.832C264.986 199.832 264.533 199.955 264.128 200.2C263.722 200.445 263.408 200.781 263.184 201.208C262.96 201.635 262.848 202.12 262.848 202.664C262.848 203.208 262.96 203.699 263.184 204.136C263.408 204.563 263.717 204.899 264.112 205.144C264.517 205.389 264.976 205.512 265.488 205.512ZM275.934 207.192C275.07 207.192 274.302 206.995 273.63 206.6C272.969 206.195 272.452 205.651 272.078 204.968C271.705 204.275 271.518 203.501 271.518 202.648C271.518 201.773 271.705 201 272.078 200.328C272.462 199.656 272.974 199.128 273.614 198.744C274.254 198.349 274.98 198.152 275.79 198.152C276.441 198.152 277.022 198.264 277.534 198.488C278.046 198.712 278.478 199.021 278.83 199.416C279.182 199.8 279.449 200.243 279.63 200.744C279.822 201.245 279.918 201.779 279.918 202.344C279.918 202.483 279.913 202.627 279.902 202.776C279.892 202.925 279.87 203.064 279.838 203.192H272.942V201.752H278.814L277.95 202.408C278.057 201.885 278.02 201.421 277.838 201.016C277.668 200.6 277.401 200.275 277.038 200.04C276.686 199.795 276.27 199.672 275.79 199.672C275.31 199.672 274.884 199.795 274.51 200.04C274.137 200.275 273.849 200.616 273.646 201.064C273.444 201.501 273.364 202.035 273.406 202.664C273.353 203.251 273.433 203.763 273.646 204.2C273.87 204.637 274.18 204.979 274.574 205.224C274.98 205.469 275.438 205.592 275.95 205.592C276.473 205.592 276.916 205.475 277.278 205.24C277.652 205.005 277.945 204.701 278.158 204.328L279.63 205.048C279.46 205.453 279.193 205.821 278.83 206.152C278.478 206.472 278.052 206.728 277.55 206.92C277.06 207.101 276.521 207.192 275.934 207.192Z"
|
13
|
-
fill="#7A3EF4" />
|
14
|
-
<path
|
15
|
-
d="M175 150C191.569 150 205 136.569 205 120C205 103.431 191.569 90 175 90C158.431 90 145 103.431 145 120C145 136.569 158.431 150 175 150Z"
|
16
|
-
fill="#431D93" />
|
17
|
-
<path d="M167.047 132.996V109.203L186.703 121.099L167.047 132.996Z" fill="white" />
|
18
|
-
<path
|
19
|
-
d="M325.834 205.218C326.558 203.009 326.814 200.674 326.586 198.361C326.357 196.049 325.649 193.809 324.506 191.785L313.04 191.495V191.351L324.076 191.072C322.743 188.974 320.96 187.198 318.856 185.874L310 185.652V185.509L317.871 185.31C314.646 183.581 310.941 182.962 307.329 183.549C303.717 184.136 300.398 185.895 297.886 188.556L307.791 188.807V188.95L297.294 189.213C294.732 192.223 293.328 196.048 293.334 200C293.334 200.179 293.334 200.353 293.342 200.528C293.342 200.54 293.342 200.552 293.342 200.563L297.299 200.664V200.807L293.356 200.907C293.356 200.919 293.356 200.931 293.356 200.942C293.5 203.543 294.255 206.073 295.56 208.328L302.154 208.495V208.638L295.842 208.798C297.39 211.284 299.563 213.319 302.145 214.702C302.35 214.814 302.558 214.919 302.769 215.021V201.176H304.368C304.429 201.176 304.49 201.188 304.547 201.212C304.604 201.235 304.656 201.27 304.699 201.313C304.743 201.357 304.777 201.409 304.801 201.465C304.824 201.522 304.836 201.583 304.836 201.645V215.851C308.193 216.939 311.807 216.939 315.164 215.851V201.645C315.164 201.583 315.176 201.522 315.2 201.465C315.223 201.409 315.258 201.357 315.301 201.313C315.345 201.27 315.396 201.235 315.453 201.212C315.51 201.188 315.571 201.176 315.633 201.176H317.23V215.023C317.438 214.922 317.645 214.817 317.848 214.708C319.478 213.837 320.952 212.702 322.209 211.347L318.07 211.242V211.099L322.536 210.986C323.906 209.425 324.972 207.622 325.678 205.669L319.718 205.517V205.374L325.834 205.218ZM319.542 200.737H300.458L300.113 199.359H302.769V197.882H303.311C303.505 197.882 303.697 197.92 303.876 197.995C304.055 198.069 304.217 198.177 304.354 198.314C304.491 198.451 304.599 198.614 304.673 198.793C304.747 198.972 304.785 199.164 304.785 199.357H308.967V197.39H298.836C298.638 195.816 297.704 194.587 297.704 194.587C300.458 195.225 310 195.275 310 195.275C310 195.275 319.542 195.225 322.295 194.587C322.295 194.587 321.362 195.816 321.164 197.39H311.033V199.358H315.216C315.216 199.164 315.254 198.972 315.328 198.793C315.402 198.614 315.511 198.452 315.648 198.315C315.785 198.178 315.948 198.069 316.127 197.995C316.306 197.921 316.497 197.883 316.691 197.883H317.233V199.358H319.889L319.542 200.737Z"
|
20
|
-
fill="#431D93" />
|
21
|
-
</svg>
|
@@ -1 +0,0 @@
|
|
1
|
-
const e=5242880,r=["orchestrator","artifact_store","container_registry","step_operator","model_deployer","feature_store","experiment_tracker","alerter","annotator","data_validator","image_builder","model_registry"];export{e as F,r as s};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as o,j as n}from"./@radix-C7hRs6Kx.js";import{m as i,o as u,F as d,p as m}from"./index-D2iSHVZq.js";import{b as p}from"./@tanstack-CSxjHCME.js";const l=o.forwardRef(({className:e,...t},r)=>n.jsx("label",{ref:r,...t,className:i("flex w-full items-center gap-2 space-x-2 rounded-md border border-theme-border-moderate p-4 font-semibold transition-shadow duration-150 hover:cursor-pointer hover:shadow-sm data-[state=selected]:border-theme-surface-strong",e)}));l.displayName="RadioItemLabel";const f=o.forwardRef(({className:e,type:t,...r},a)=>n.jsx("input",{type:"radio",ref:a,...r,className:i("h-3 w-3 border !border-theme-border-bold text-theme-surface-primary focus:ring-2 focus:ring-theme-surface-strong",e)}));f.displayName="RadioItem";function x(e){return new Promise(t=>setTimeout(t,e))}async function h({workspaceId:e,payload:t}){const r=u(m.workspaces.stacks(e)),a=await fetch(r,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){const c=await a.json().then(s=>Array.isArray(s.detail)?s.detail[1]:s.detail).catch(()=>"Error while creating new stack");throw new d({status:a.status,statusText:a.statusText,message:c})}return a.json()}function g(e){return p({...e,mutationFn:async({workspaceId:t,payload:r})=>h({workspaceId:t,payload:r})})}export{l as R,f as a,x as s,g as u};
|
@@ -1 +0,0 @@
|
|
1
|
-
function c(t,n){if(!t||!n)return"Not available";const e=new Date(t),o=new Date(n);if(isNaN(e.getTime())||isNaN(o.getTime()))return"";const s=Math.abs(o.getTime()-e.getTime()),a=Math.floor(s/(1e3*60)),i=Math.floor(s%(1e3*60)/1e3);return`${a}min ${i}s`}function r(t){const n=new Date,e=new Date;return e.setMonth(n.getMonth()-6),t<e}function l(t){const n=new Date,e=new Date;return e.setFullYear(n.getFullYear()-1),t<e}export{l as a,c,r as i};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{o,F as r,p as i}from"./index-D2iSHVZq.js";import{b as u}from"./@tanstack-CSxjHCME.js";async function c({runId:e}){const a=o(i.runs.detail(e)),t=await fetch(a,{method:"DELETE",credentials:"include",headers:{"Content-Type":"application/json"}});if(!t.ok){const s=await t.json().then(n=>n.detail).catch(()=>`Failed to delete run ${e}`);throw new r({status:t.status,statusText:t.statusText,message:s})}return t.json()}function p(e){return u({mutationFn:c,...e})}export{p as u};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as C}from"./@radix-C7hRs6Kx.js";const l=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M21.6613 9.95778C21.6071 9.9147 21.1007 9.53236 20.0329 9.53236C19.7509 9.53359 19.4695 9.55777 19.1914 9.60469C18.9848 8.18806 17.8136 7.49738 17.761 7.46639L17.4743 7.30103L17.2857 7.57317C17.0495 7.93875 16.8771 8.34175 16.7759 8.76504C16.5847 9.5737 16.7009 10.3332 17.1117 10.9826C16.6157 11.259 15.82 11.3271 15.6589 11.3331H2.48463C2.14053 11.3335 1.8613 11.6116 1.85942 11.9557C1.84406 13.1098 2.03959 14.2571 2.43641 15.341C2.89024 16.5311 3.56541 17.4078 4.44382 17.9443C5.42815 18.5472 7.02735 18.8916 8.84013 18.8916C9.65906 18.8942 10.4765 18.8201 11.2816 18.6703C12.4008 18.4648 13.4778 18.0736 14.4679 17.5129C15.2838 17.0404 16.0181 16.4393 16.6424 15.7328C17.6862 14.5513 18.308 13.2354 18.7704 12.0659C18.8324 12.0659 18.8944 12.0659 18.9547 12.0659C20.0975 12.0659 20.8002 11.6086 21.1877 11.2254C21.4453 10.981 21.6463 10.6833 21.7768 10.3531L21.8586 10.1137L21.6613 9.95778Z",fill:"#0091E2"}),C.createElement("path",{d:"M3.70578 10.9474H5.47119C5.55634 10.9474 5.62533 10.8783 5.62533 10.7932V9.22068C5.62581 9.13554 5.55717 9.06615 5.47206 9.06567C5.47178 9.06567 5.47147 9.06567 5.47119 9.06567H3.70578C3.62063 9.06567 3.55164 9.1347 3.55164 9.21981C3.55164 9.22009 3.55164 9.2204 3.55164 9.22068V10.7932C3.55164 10.8783 3.62063 10.9474 3.70578 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M6.13862 10.9474H7.90403C7.98918 10.9474 8.05817 10.8783 8.05817 10.7932V9.22068C8.05865 9.13554 7.99002 9.06615 7.90487 9.06567C7.90459 9.06567 7.90428 9.06567 7.904 9.06567H6.13859C6.05297 9.06567 5.98358 9.13506 5.98358 9.22068V10.7932C5.98409 10.8785 6.05333 10.9474 6.13862 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M8.60845 10.9474H10.3739C10.459 10.9474 10.528 10.8783 10.528 10.7932V9.22068C10.5285 9.13554 10.4599 9.06615 10.3747 9.06567C10.3744 9.06567 10.3741 9.06567 10.3738 9.06567H8.60843C8.52328 9.06567 8.45428 9.1347 8.45428 9.21981C8.45428 9.22009 8.45428 9.2204 8.45428 9.22068V10.7932C8.45431 10.8783 8.52334 10.9474 8.60845 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M11.049 10.9474H12.8145C12.8997 10.9474 12.969 10.8785 12.9695 10.7932V9.22068C12.9695 9.13506 12.9001 9.06567 12.8145 9.06567H11.049C10.9639 9.06567 10.8949 9.1347 10.8949 9.21981C10.8949 9.22009 10.8949 9.2204 10.8949 9.22068V10.7932C10.8949 10.8783 10.9639 10.9474 11.049 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M6.13859 8.685H7.904C7.98926 8.68452 8.05814 8.61525 8.05814 8.52999V6.95749C8.05814 6.87234 7.98912 6.80334 7.904 6.80334H6.13859C6.05333 6.80334 5.98406 6.8722 5.98358 6.95749V8.52999C5.98406 8.61542 6.05316 8.68452 6.13859 8.685Z",fill:"#0091E2"}),C.createElement("path",{d:"M8.60849 8.685H10.3739C10.4592 8.68452 10.528 8.61525 10.528 8.52999V6.95749C10.528 6.87234 10.459 6.80334 10.3739 6.80334H8.60849C8.52334 6.80334 8.45435 6.87237 8.45435 6.95749V8.52999C8.45435 8.61525 8.52323 8.68452 8.60849 8.685Z",fill:"#0091E2"}),C.createElement("path",{d:"M11.049 8.685H12.8145C12.8999 8.68452 12.969 8.61542 12.9695 8.52999V6.95749C12.969 6.8722 12.8997 6.80334 12.8145 6.80334H11.049C10.9639 6.80334 10.8949 6.87237 10.8949 6.95749V8.52999C10.8949 8.61525 10.9638 8.68452 11.049 8.685Z",fill:"#0091E2"}),C.createElement("path",{d:"M11.049 6.42184H12.8145C12.8997 6.42184 12.969 6.35296 12.9695 6.2677V4.6943C12.969 4.60902 12.8997 4.54016 12.8145 4.54016H11.049C10.9639 4.54016 10.8949 4.60916 10.8949 4.6943V6.26768C10.8949 6.35282 10.9639 6.42184 11.049 6.42184Z",fill:"#0091E2"}),C.createElement("path",{d:"M13.5111 10.9474H15.2765C15.3618 10.9474 15.4311 10.8785 15.4316 10.7932V9.22068C15.4316 9.13506 15.3622 9.06567 15.2765 9.06567H13.5111C13.426 9.06567 13.357 9.1347 13.357 9.21981C13.357 9.22009 13.357 9.2204 13.357 9.22068V10.7932C13.357 10.8783 13.426 10.9474 13.5111 10.9474Z",fill:"#0091E2"}));export{l as S};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e}from"./@radix-C7hRs6Kx.js";const o=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12C3 10.8954 3.89543 10 5 10C6.10457 10 7 10.8954 7 12C7 13.1046 6.10457 14 5 14C3.89543 14 3 13.1046 3 12ZM10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12ZM17 12C17 10.8954 17.8954 10 19 10C20.1046 10 21 10.8954 21 12C21 13.1046 20.1046 14 19 14C17.8954 14 17 13.1046 17 12Z"}));export{o as S};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as s}from"./@radix-C7hRs6Kx.js";import{S as l,h as c,Z as m,ac as d}from"./index-D2iSHVZq.js";import{f as p}from"./index-CmLcvK2z.js";import{h as u}from"./@tanstack-CSxjHCME.js";import{C as x}from"./ComponentIcon-ils7uNAk.js";function y({type:i,setSelectedFlavor:e}){const a=u(p.flavorListInfinite({type:i}));if(a.isPending)return s.jsx(g,{});if(a.isError)return s.jsx("p",{children:"Failed to fetch Flavor List"});const{data:t}=a;return s.jsx("ul",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 2xl:grid-cols-4",children:t.pages.map(n=>n.items.map(r=>{var o;return s.jsx("li",{className:"",children:s.jsx(f,{type:i,onClick:()=>e(r),id:r.id,name:r.name,logoUrl:((o=r.body)==null?void 0:o.logo_url)??void 0})},r.id)}))})}function f({name:i,logoUrl:e,onClick:a,type:t}){return s.jsxs(c,{onClick:a,intent:"secondary",emphasis:"subtle",className:"h-auto w-full gap-2 px-5 py-3",children:[e?s.jsx("img",{alt:`Logo of ${i}`,width:36,height:36,className:"aspect-square object-contain",src:m(e)}):s.jsx(x,{className:"aspect-square h-[36px] w-[36px] fill-primary-400 object-contain",type:t}),s.jsx("span",{className:"min-w-0 truncate",children:d(i)})]})}function g(){return s.jsx("ul",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 2xl:grid-cols-4",children:Array.from({length:4}).map((i,e)=>s.jsx(l,{className:"h-[70px] w-full"},e))})}export{y as S};
|