zenml-nightly 0.80.2.dev20250416__py3-none-any.whl → 0.81.0.dev20250418__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/integrations/github/code_repositories/github_code_repository.py +31 -12
- zenml/integrations/gitlab/code_repositories/gitlab_code_repository.py +10 -8
- zenml/zen_server/dashboard/assets/{404-CYPi9d8E.js → 404-o3nB5iwI.js} +1 -1
- zenml/zen_server/dashboard/assets/{AlertDialogDropdownItem-Dn8bgaXG.js → AlertDialogDropdownItem-C_qWs-4u.js} +1 -1
- zenml/zen_server/dashboard/assets/{CodeSnippet-CSINAl3I.js → CodeSnippet-nRnOvbOJ.js} +1 -1
- zenml/zen_server/dashboard/assets/{CollapsibleCard-CQOb53t9.js → CollapsibleCard-9sSz7n1R.js} +1 -1
- zenml/zen_server/dashboard/assets/{Commands-CPleXvse.js → Commands-BwBzFj-5.js} +1 -1
- zenml/zen_server/dashboard/assets/{ComponentBadge-CIFj0W7T.js → ComponentBadge-CMx2DbsV.js} +1 -1
- zenml/zen_server/dashboard/assets/{ComponentIcon-D3JHFhJU.js → ComponentIcon-CSxdApv8.js} +1 -1
- zenml/zen_server/dashboard/assets/{CsvVizualization-Cklc1Vb5.js → CsvVizualization-lxB2iyEh.js} +1 -1
- zenml/zen_server/dashboard/assets/{DeleteAlertDialog-Bzq-uSd7.js → DeleteAlertDialog-Bp0o-UXZ.js} +1 -1
- zenml/zen_server/dashboard/assets/{DialogItem-zjMgCmCl.js → DialogItem-DHw2ihTx.js} +1 -1
- zenml/zen_server/dashboard/assets/{Error-kdeNHm_o.js → Error-DRhVeVHQ.js} +1 -1
- zenml/zen_server/dashboard/assets/{ExecutionStatus-UE6Rbmtk.js → ExecutionStatus-HnZXi9bW.js} +1 -1
- zenml/zen_server/dashboard/assets/{Helpbox-CeM-FPQl.js → Helpbox-Dsr3ZYcL.js} +1 -1
- zenml/zen_server/dashboard/assets/{Infobox-CD0fDbYF.js → Infobox-C4Op55B8.js} +1 -1
- zenml/zen_server/dashboard/assets/{InlineAvatar-CrHWwlf4.js → InlineAvatar-CrAwe7Pl.js} +1 -1
- zenml/zen_server/dashboard/assets/{NestedCollapsible-DfTTGG8u.js → NestedCollapsible-Ce1bmT8N.js} +1 -1
- zenml/zen_server/dashboard/assets/{Partials-DggkUpWp.js → Partials-DjTM0Oe-.js} +1 -1
- zenml/zen_server/dashboard/assets/{ProBadge-BCdprj69.js → ProBadge-CDEqgzh8.js} +1 -1
- zenml/zen_server/dashboard/assets/{ProCta-szzPO0Y7.js → ProCta-BYSSivgY.js} +1 -1
- zenml/zen_server/dashboard/assets/{ProviderIcon-MdqWDO6-.js → ProviderIcon-B8W7AGNk.js} +1 -1
- zenml/zen_server/dashboard/assets/{ProviderRadio-B4CB4vzP.js → ProviderRadio-BWFJPEY2.js} +1 -1
- zenml/zen_server/dashboard/assets/{RunSelector-Bhb83FyB.js → RunSelector-DoL_gMHJ.js} +1 -1
- zenml/zen_server/dashboard/assets/{RunsBody-Csn2VEOE.js → RunsBody-B6mBjv-_.js} +1 -1
- zenml/zen_server/dashboard/assets/{SearchField-Cce00eQL.js → SearchField-DHl5flXv.js} +1 -1
- zenml/zen_server/dashboard/assets/{SecretTooltip-DaDLBVj-.js → SecretTooltip-CCn9HfEh.js} +1 -1
- zenml/zen_server/dashboard/assets/{SetPassword-tX6fom1Y.js → SetPassword-BDFVwnNB.js} +1 -1
- zenml/zen_server/dashboard/assets/{StackList-CQt1xGRh.js → StackList-dhdUtky3.js} +1 -1
- zenml/zen_server/dashboard/assets/{Tabs-CCQyIqRb.js → Tabs-BuZG8ft1.js} +1 -1
- zenml/zen_server/dashboard/assets/{Tick-D63_jhf1.js → Tick-C4gtED35.js} +1 -1
- zenml/zen_server/dashboard/assets/{UpdatePasswordSchemas-CbbvoGYV.js → UpdatePasswordSchemas-3gg2tC-H.js} +1 -1
- zenml/zen_server/dashboard/assets/{UsageReason-C2cNrUeS.js → UsageReason-DOMAzO02.js} +1 -1
- zenml/zen_server/dashboard/assets/{Wizard-BVkN2a2x.js → Wizard-BSH_lIfi.js} +1 -1
- zenml/zen_server/dashboard/assets/{WizardFooter-Bk7gIKiS.js → WizardFooter-CnM-50jL.js} +1 -1
- zenml/zen_server/dashboard/assets/{all-pipeline-runs-query-BLclwQSi.js → all-pipeline-runs-query-D9XfZpmV.js} +1 -1
- zenml/zen_server/dashboard/assets/{configuration-form-CjrAp0GS.js → configuration-form-Ci_QlfZC.js} +1 -1
- zenml/zen_server/dashboard/assets/{create-stack-Bd2JdQer.js → create-stack-CoQ5SEJL.js} +1 -1
- zenml/zen_server/dashboard/assets/{delete-run-Cwpxu1-d.js → delete-run-B5xUZwdP.js} +1 -1
- zenml/zen_server/dashboard/assets/{flavor-select-c0w-6o9w.js → flavor-select-DOLAl-S4.js} +1 -1
- zenml/zen_server/dashboard/assets/{form-schemas-B5Ax1SZf.js → form-schemas-BaEJ1z87.js} +1 -1
- zenml/zen_server/dashboard/assets/{index-BW-KaQ2p.js → index-BoWZ9rXk.js} +1 -1
- zenml/zen_server/dashboard/assets/{index-CjdtNrfJ.js → index-e8udi7QT.js} +1 -1
- zenml/zen_server/dashboard/assets/{index-Be2jLIYM.js → index-hsSXyS3H.js} +2 -2
- zenml/zen_server/dashboard/assets/{index-d_40qKeY.js → index-ojAuWXMf.js} +1 -1
- zenml/zen_server/dashboard/assets/{login-mutation-DOajKct8.js → login-mutation-CwraNa5G.js} +1 -1
- zenml/zen_server/dashboard/assets/{not-found-DolTp0dr.js → not-found-BuK1QrF2.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-C4zMMcaH.js → page-0AIX3VK8.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BkPPfNfG.js → page-3lW9eIer.js} +1 -1
- zenml/zen_server/dashboard/assets/page-9PzQok8O.js +1 -0
- zenml/zen_server/dashboard/assets/{page-bS5tHLDW.js → page-B5clbTo4.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BRfeowe0.js → page-BEibNYiA.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-CmzmFF4S.js → page-BOE2XBFy.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DmOcZO8U.js → page-BQVPbNps.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-D3m9-YWJ.js → page-BbygQpf-.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-CKVbEdX2.js → page-Bki79xdd.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-Dv3qtvm8.js → page-BnKwJnOb.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-ir7Scz2Y.js → page-C-6XUKSp.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-48DMcIQw.js → page-C30HZCTR.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BmTf1Lf1.js → page-C7buw8xJ.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-CwAbTnvK.js → page-CBGeo-7W.js} +2 -2
- zenml/zen_server/dashboard/assets/{page-BEAx6ZvH.js → page-CIDo1Ajk.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-CaTJVICi.js → page-CZgeF_wQ.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DCpZju6a.js → page-CgJcperk.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-gRfUvR0E.js → page-CjRoKEQs.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DWOAh8Pp.js → page-Co-FJ5ds.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-D-MjLTXS.js → page-Cu8vuohQ.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-mtwS5oci.js → page-Czj8fu8q.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-hNHJPQtK.js → page-D0QcEBi1.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-CPRymOIS.js → page-DHDeVaMO.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-B32kCGPe.js → page-DKY_U5Sz.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BiAjLLww.js → page-DLVtrRa5.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DEUeF3mO.js → page-DQHU5o_C.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BbRtQC2E.js → page-DbEn9V9E.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DezabeEO.js → page-DpY1koQY.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-P81CcE2L.js → page-DrS4WOup.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BuZC8z6N.js → page-DwIlrsF0.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DnY59jOg.js → page-HIAPXq4w.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BgUR_5z3.js → page-Jw2QAdxa.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DivlNKt9.js → page-KRP_w5zH.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-a1c6o4vv.js → page-_Zt6UwiG.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BBNrvxC1.js → page-hVng6ANV.js} +1 -1
- zenml/zen_server/dashboard/assets/{persist-BUqILw7G.js → persist-DLvsEXh0.js} +1 -1
- zenml/zen_server/dashboard/assets/{persist-BbdfLc0W.js → persist-xOAq24Bm.js} +1 -1
- zenml/zen_server/dashboard/assets/{service-CV2zjc-p.js → service-MHyqhRgp.js} +1 -1
- zenml/zen_server/dashboard/assets/{sharedSchema-DpGc9kQg.js → sharedSchema-CQA5lnlU.js} +1 -1
- zenml/zen_server/dashboard/assets/{stack-detail-query-BpzLZjvw.js → stack-detail-query-C1GoxBeK.js} +1 -1
- zenml/zen_server/dashboard/assets/{update-server-settings-mutation-Dv6qHtK9.js → update-server-settings-mutation-DduehrZn.js} +1 -1
- zenml/zen_server/dashboard/index.html +2 -2
- zenml/zen_stores/migrations/versions/0.81.0_release.py +23 -0
- {zenml_nightly-0.80.2.dev20250416.dist-info → zenml_nightly-0.81.0.dev20250418.dist-info}/METADATA +2 -2
- {zenml_nightly-0.80.2.dev20250416.dist-info → zenml_nightly-0.81.0.dev20250418.dist-info}/RECORD +96 -95
- zenml/zen_server/dashboard/assets/page-BAjhc2bs.js +0 -1
- {zenml_nightly-0.80.2.dev20250416.dist-info → zenml_nightly-0.81.0.dev20250418.dist-info}/LICENSE +0 -0
- {zenml_nightly-0.80.2.dev20250416.dist-info → zenml_nightly-0.81.0.dev20250418.dist-info}/WHEEL +0 -0
- {zenml_nightly-0.80.2.dev20250416.dist-info → zenml_nightly-0.81.0.dev20250418.dist-info}/entry_points.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
import{r as n,j as s}from"./@radix-C7hRs6Kx.js";import{S as u}from"./check-circle-mvyzYvIW.js";import{bb as p,B as h,h as d,r as x,z as r}from"./index-
|
1
|
+
import{r as n,j as s}from"./@radix-C7hRs6Kx.js";import{S as u}from"./check-circle-mvyzYvIW.js";import{bb as p,B as h,h as d,r as x,z as r}from"./index-hsSXyS3H.js";import{d as f,L as g}from"./@react-router-BGgzhn5D.js";import{a as S}from"./UpdatePasswordSchemas-3gg2tC-H.js";const c=n.createContext(null);function R({children:e,initialStep:t=1}){const[a,o]=n.useState(t);return s.jsx(c.Provider,{value:{surveyStep:a,setSurveyStep:o},children:e})}function y(){const e=n.useContext(c);if(e===null)throw new Error("useSurveyContext must be used within an SurveyProvider");return e}function _({stepAmount:e}){const{surveyStep:t}=y();return t>e?null:s.jsx("ol",{className:"flex flex-wrap justify-center gap-1 pb-5","aria-label":"progress",children:Array.from({length:e},(a,o)=>s.jsx("li",{"aria-current":t===o+1?"step":void 0,className:`h-0.5 w-[90px] rounded-rounded ${t===o+1?"bg-primary-100":t>o?"bg-primary-300":"bg-neutral-200"}`},o))})}const v=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2929 4.29289C11.6834 3.90237 12.3166 3.90237 12.7071 4.29289L19.7071 11.2929C20.0976 11.6834 20.0976 12.3166 19.7071 12.7071L12.7071 19.7071C12.3166 20.0976 11.6834 20.0976 11.2929 19.7071C10.9024 19.3166 10.9024 18.6834 11.2929 18.2929L16.5858 13H5C4.44772 13 4 12.5523 4 12C4 11.4477 4.44772 11 5 11H16.5858L11.2929 5.70711C10.9024 5.31658 10.9024 4.68342 11.2929 4.29289Z"}));function U({username:e,subHeader:t,displayBody:a=!0}){const[o]=f(),i=o.get("redirect"),m=i&&`${window.location.origin}${i}`,l=p.safeParse(m);return s.jsxs(h,{className:"flex max-w-[540px] flex-col items-center justify-center space-y-7 px-7 py-9",children:[s.jsx(u,{className:"h-[120px] w-[120px] fill-theme-text-success"}),s.jsxs("div",{className:"space-y-3 text-center",children:[s.jsxs("p",{className:"text-display-xs font-semibold",children:["Congratulations!",s.jsx("br",{}),t]}),a&&s.jsxs("p",{className:"text-theme-text-secondary",children:["You can log in to the dashboard with your username"," ",s.jsx("span",{className:"font-semibold text-theme-text-primary",children:e})," and your password to start exploring!"]}),s.jsx(d,{className:"inline-flex",size:"md",intent:"primary",asChild:!0,children:s.jsxs(g,{to:l.success?l.data:x.home,children:[s.jsx("span",{children:"Go to Dashboard"}),s.jsx(v,{className:"h-5 w-5 fill-white"})]})})]})]})}const F=r.object({fullName:r.string().min(1),email:r.union([r.string().email(),r.literal("")]),getUpdates:r.boolean()}).refine(e=>e.getUpdates?e.email!=="":!0),L=r.object({primaryUse:r.string().min(1)}),B=r.object({providers:r.string().array(),other:r.boolean(),otherVal:r.string().optional()}).refine(e=>e.other?e.otherVal!=="":e.providers.length>0),E=r.object({serverName:r.string().optional()});function w(e=!1){return S.extend({username:r.string()}).refine(t=>t.newPassword===t.confirmPassword,{path:["confirmPassword"],message:"Passwords do not match"}).refine(t=>e?t.username.length>0:!0)}w();const T=r.object({usageReason:r.union([r.enum(["exploring","planning_poc","comparing_tools","implementing_production_environment"]),r.literal("")]),comparison_tools:r.string().array().optional(),otherTool:r.boolean().optional(),otherToolVal:r.string().optional()}).refine(e=>{var t;return e.usageReason.length===0?!1:e.otherTool?e.otherToolVal!=="":e.usageReason==="comparing_tools"?((t=e.comparison_tools)==null?void 0:t.length)??!1:!0});export{B as I,_ as S,T as U,U as a,R as b,E as c,F as d,w as g,L as p,y as u};
|
@@ -1 +1 @@
|
|
1
|
-
import{q as o}from"./@tanstack-CSxjHCME.js";import{o as n,s as i,F as c,p as u}from"./index-
|
1
|
+
import{q as o}from"./@tanstack-CSxjHCME.js";import{o as n,s as i,F as c,p as u}from"./index-hsSXyS3H.js";async function l({workspaceId:e}){const a=n(u.workspaces.detail(e)),t=await fetch(a,{method:"GET",credentials:"include",headers:{"Content-Type":"application/json"}});if(t.status===404&&i(),!t.ok){const r=await t.json().then(s=>Array.isArray(s.detail)?s.detail[1]:s.detail).catch(()=>`Error while fetching workspace ${e}`);throw new c({status:t.status,statusText:t.statusText,message:r})}return t.json()}const p={all:["workspaces"],workspaceDetail:e=>o({queryKey:[...p.all,e],queryFn:async()=>l({workspaceId:e})})};export{p as w};
|
@@ -1 +1 @@
|
|
1
|
-
import{q as o}from"./@tanstack-CSxjHCME.js";import{o as c,p as i,q as l,j as y,s as u,F as f}from"./index-
|
1
|
+
import{q as o}from"./@tanstack-CSxjHCME.js";import{o as c,p as i,q as l,j as y,s as u,F as f}from"./index-hsSXyS3H.js";import{f as h}from"./stack-detail-query-C1GoxBeK.js";async function p(e){const n=c(i.stackDeployment.config)+(e?`?${l(e)}`:""),t=await y(n,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&u(),!t.ok){const a=await t.json().then(s=>Array.isArray(s.detail)?s.detail[1]:s.detail).catch(()=>"Error while fetching stack deployment config");throw new f({status:t.status,statusText:t.statusText,message:a})}return t.json()}async function k(e){const n=c(i.stackDeployment.info)+(e?`?${l(e)}`:""),t=await y(n,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&u(),!t.ok){const a=await t.json().then(s=>Array.isArray(s.detail)?s.detail[1]:s.detail).catch(()=>"Error while fetching stack deployment info");throw new f({status:t.status,statusText:t.statusText,message:a})}return t.json()}async function m(e){const n=c(i.stackDeployment.stack)+(e?`?${l(e)}`:""),t=await y(n,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&u(),!t.ok){const a=await t.json().then(s=>Array.isArray(s.detail)?s.detail[1]:s.detail).catch(()=>"Error while fetching the deployed stack");throw new f({status:t.status,statusText:t.statusText,message:a})}return t.json()}async function w(e){const n=c(i.stacks.all)+(e?`?${l(e)}`:""),t=await y(n,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&u(),!t.ok){const a=await t.json().then(s=>Array.isArray(s.detail)?s.detail[1]:s.detail).catch(()=>"Error while fetching stacks");throw new f({status:t.status,statusText:t.statusText,message:a})}return t.json()}const r={all:["stacks"],stackDeployment:["stack-deployment"],stackList:e=>o({queryKey:[...r.all,e],queryFn:async()=>w(e)}),stackDetail:e=>o({queryKey:[...r.all,e],queryFn:async()=>h({stackId:e})}),stackDeploymentInfo:e=>o({queryKey:[...r.stackDeployment,"info",e],queryFn:async()=>k(e)}),stackDeploymentStack:e=>o({queryKey:[...r.stackDeployment,"stack",e],queryFn:async()=>m(e)}),stackDeploymentConfig:e=>o({queryKey:[...r.stackDeployment,"config",e],queryFn:async()=>p(e)})};export{w as f,r as s};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/page-
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/page-DLVtrRa5.js","assets/@radix-C7hRs6Kx.js","assets/login-command-CkqxPtV3.js","assets/@react-router-BGgzhn5D.js","assets/CodeSnippet-nRnOvbOJ.js","assets/CodeSnippet-CK5CxKct.css","assets/@tanstack-CSxjHCME.js","assets/@reactflow-CQi1Z1Wq.js","assets/@reactflow-Fd0xVSp_.css","assets/page-CjRoKEQs.js","assets/login-mutation-CwraNa5G.js","assets/zod-C0xYeTvL.js","assets/index.esm-D7jFlf5N.js","assets/page-BQVPbNps.js","assets/ProCta-BYSSivgY.js","assets/check-DK77doTf.js","assets/check-circle-mvyzYvIW.js","assets/page-BbygQpf-.js","assets/form-schemas-BaEJ1z87.js","assets/UpdatePasswordSchemas-3gg2tC-H.js","assets/EmptyState-M1jafpg6.js","assets/UsageReason-DOMAzO02.js","assets/gcp-CHNvgEss.js","assets/kubernetes-D6OUjwSK.js","assets/rocket-Cf-B-XOR.js","assets/SetPassword-BDFVwnNB.js","assets/PasswordChecker-lYTOtNom.js","assets/page-C30HZCTR.js","assets/page-DKY_U5Sz.js","assets/refresh-CM5T3QeU.js","assets/SearchField-DHl5flXv.js","assets/chevron-right-double-uNWbJT-C.js","assets/index-DR30v9MZ.js","assets/trash-BWSZ7NRK.js","assets/DeleteAlertDialog-Bp0o-UXZ.js","assets/ExecutionStatus-HnZXi9bW.js","assets/AlertDialogDropdownItem-C_qWs-4u.js","assets/RunsBody-B6mBjv-_.js","assets/all-pipeline-runs-query-D9XfZpmV.js","assets/RunSelector-DoL_gMHJ.js","assets/delete-run-B5xUZwdP.js","assets/DisplayDate-CYVBBSgr.js","assets/InlineAvatar-CrAwe7Pl.js","assets/Infobox-C4Op55B8.js","assets/page-Bki79xdd.js","assets/page-CBGeo-7W.js","assets/code-snippets-CqONne41.js","assets/ComponentIcon-CSxdApv8.js","assets/layout-h3cbx8WZ.js","assets/react-error-boundary.esm-fyoUBS25.js","assets/Error-DRhVeVHQ.js","assets/terminal-square-DMtel8mb.js","assets/NestedCollapsible-Ce1bmT8N.js","assets/type-guards-CaeD8wHO.js","assets/CollapsibleCard-9sSz7n1R.js","assets/chevron-down-A-rmltmI.js","assets/constants-DP3ZEnXH.js","assets/plus-COjQg3AG.js","assets/dates-3pMLCNrD.js","assets/code-browser-j2EpcxIA.js","assets/logs-B5n0U7tB.js","assets/docker-BuDBFEDL.js","assets/ComponentBadge-CMx2DbsV.js","assets/stack-detail-query-C1GoxBeK.js","assets/tick-circle-m94Aa6Zt.js","assets/not-found-BuK1QrF2.js","assets/arrow-left-CwgF2MEM.js","assets/page-BnKwJnOb.js","assets/page-DpY1koQY.js","assets/page-3lW9eIer.js","assets/page-DbEn9V9E.js","assets/update-server-settings-mutation-DduehrZn.js","assets/page-hVng6ANV.js","assets/Commands-BwBzFj-5.js","assets/Helpbox-Dsr3ZYcL.js","assets/help-DyMolRxD.js","assets/page-_Zt6UwiG.js","assets/page-C7buw8xJ.js","assets/clock-CPA5cYxq.js","assets/link-external-DUhCSKNm.js","assets/Tick-C4gtED35.js","assets/page-Jw2QAdxa.js","assets/SecretTooltip-CCn9HfEh.js","assets/index-BoWZ9rXk.js","assets/Lock-DW-0_M0o.js","assets/DialogItem-DHw2ihTx.js","assets/page-BEibNYiA.js","assets/key-icon-DO4DPJHZ.js","assets/page-DwIlrsF0.js","assets/page-Co-FJ5ds.js","assets/service-MHyqhRgp.js","assets/page-BOE2XBFy.js","assets/page-D0QcEBi1.js","assets/Tabs-BuZG8ft1.js","assets/index-e8udi7QT.js","assets/page-9PzQok8O.js","assets/StackList-dhdUtky3.js","assets/components-Br2ezRib.js","assets/NumberBox-D2A7ENHb.js","assets/page-CZgeF_wQ.js","assets/Wizard-BSH_lIfi.js","assets/configuration-form-Ci_QlfZC.js","assets/index-ojAuWXMf.js","assets/file-text-BdxZdjP_.js","assets/flavor-select-DOLAl-S4.js","assets/page-CIDo1Ajk.js","assets/page-Cu8vuohQ.js","assets/persist-DLvsEXh0.js","assets/sharedSchema-CQA5lnlU.js","assets/persist-xOAq24Bm.js","assets/page-CgJcperk.js","assets/ProviderIcon-B8W7AGNk.js","assets/page-0AIX3VK8.js","assets/ProviderRadio-BWFJPEY2.js","assets/Partials-DjTM0Oe-.js","assets/package-D1Mhqeh8.js","assets/page-DrS4WOup.js","assets/create-stack-CoQ5SEJL.js","assets/page-DQHU5o_C.js","assets/WizardFooter-CnM-50jL.js","assets/page-Czj8fu8q.js","assets/page-HIAPXq4w.js","assets/page-KRP_w5zH.js","assets/ProBadge-CDEqgzh8.js","assets/page-B5clbTo4.js","assets/page-DHDeVaMO.js","assets/page-C-6XUKSp.js","assets/404-o3nB5iwI.js"])))=>i.map(i=>d[i]);
|
2
2
|
var Tl=Object.defineProperty;var Ol=(e,t,r)=>t in e?Tl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var $r=(e,t,r)=>Ol(e,typeof t!="symbol"?t+"":t,r);import{d as jl,g as Vt,r as l,b as Rl,u as Tt,P as at,e as na,f as aa,O as Sr,C as kr,c as w,h as $s,I as zs,F as Fs,S as Zs,i as Hs,k as Pl,l as Bs,m as Us,n as Ll,o as qs,p as Ws,q as Gs,L as Ks,s as Ys,T as cn,D as un,t as Js,v as Xs,w as Qs,x as Il,y as eo,z as to,A as Al,V as ro,B as no,E as ao,G as so,H as oo,J as io,K as lo,M as Ml,N as co,Q as Dl,U as Vl,W as uo,X as $l,Y as po,Z as fo,_ as zl,$ as mo,a0 as ho,a1 as Fl,a2 as go,a3 as Zl,a4 as vo,a5 as yo,a6 as bo,a7 as xo,a8 as Hl,a9 as Bl,aa as wo,ab as Ul,ac as Co,ad as _o,ae as Eo,af as ql,ag as Wl,ah as So,ai as ko,aj as Gl,ak as Kl,al as Yl,am as Jl,an as Xl,ao as Ql,ap as ec,aq as tc,ar as sa,as as rc,at as nc,au as ac,av as sc,aw as oc,ax as ic,ay as lc,az as cc,aA as uc,aB as dc,aC as pc,aD as oa,j as u,aE as Zr,aF as Hr}from"./@radix-C7hRs6Kx.js";import{u as fc,f as Pa,g as mc,q as La,i as hc,a as Nr,b as No,c as gc,Q as vc,d as yc,e as bc}from"./@tanstack-CSxjHCME.js";import{O as $t,u as zt,a as Ft,b as xc,c as To,m as Oo,d as wc,L as dn,N as jo,e as Cc,f as _c,R as z,g as Ec}from"./@react-router-BGgzhn5D.js";import{R as Sc}from"./@reactflow-CQi1Z1Wq.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(a){if(a.ep)return;a.ep=!0;const s=r(a);fetch(a.href,s)}})();var zr={},Ia;function kc(){if(Ia)return zr;Ia=1;var e=jl();return zr.createRoot=e.createRoot,zr.hydrateRoot=e.hydrateRoot,zr}var Nc=kc();const Tc=Vt(Nc);var Oc=Object.create,Ro=Object.defineProperty,jc=Object.getOwnPropertyDescriptor,Po=Object.getOwnPropertyNames,Rc=Object.getPrototypeOf,Pc=Object.prototype.hasOwnProperty,ia=(e,t)=>function(){return t||(0,e[Po(e)[0]])((t={exports:{}}).exports,t),t.exports},Lc=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Po(t))!Pc.call(e,a)&&a!==r&&Ro(e,a,{get:()=>t[a],enumerable:!(n=jc(t,a))||n.enumerable});return e},Ic=(e,t,r)=>(r=e!=null?Oc(Rc(e)):{},Lc(Ro(r,"default",{value:e,enumerable:!0}),e)),Ac=ia({"node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/util/createPlugin.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function t(n,a){return{handler:n,config:a}}t.withOptions=function(n,a=()=>({})){const s=function(o){return{__options:o,handler:n(o),config:a(o)}};return s.__isOptionsFunction=!0,s.__pluginFunction=n,s.__configFunction=a,s};var r=t}}),Mc=ia({"node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/public/create-plugin.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});var t=r(Ac());function r(a){return a&&a.__esModule?a:{default:a}}var n=t.default}}),Dc=ia({"node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/plugin.js"(e,t){var r=Mc();t.exports=(r.__esModule?r:{default:r}).default}}),Vc=Ic(Dc());(0,Vc.default)(function({addBase:e}){e({":root":{"--color-primary-900":"258 66% 7%","--color-primary-800":"259 66% 14%","--color-primary-700":"259 68% 21%","--color-primary-600":"260 67% 28%","--color-primary-500":"259 67% 35%","--color-primary-400":"260 89% 60%","--color-primary-300":"260 89% 68%","--color-primary-200":"260 89% 76%","--color-primary-100":"260 90% 84%","--color-primary-050":"259 90% 92%","--color-primary-025":"259 90% 96%","--color-neutral-900":"221 39% 11%","--color-neutral-800":"215 28% 17%","--color-neutral-700":"217 19% 27%","--color-neutral-600":"215 14% 34%","--color-neutral-500":"220 9% 46%","--color-neutral-400":"218 11% 65%","--color-neutral-300":"216 12% 84%","--color-neutral-200":"220 13% 91%","--color-neutral-100":"220 14% 96%","--color-neutral-050":"210 20% 98%","--color-neutral-000":"0 0% 100%","--color-error-900":"4 59% 19%","--color-error-800":"3 58% 29%","--color-error-700":"4 59% 39%","--color-error-600":"4 59% 48%","--color-error-500":"4 81% 58%","--color-error-400":"4 81% 65%","--color-error-300":"4 82% 72%","--color-error-200":"3 81% 79%","--color-error-100":"4 81% 86%","--color-error-050":"3 81% 92%","--color-warning-900":"32 93% 17%","--color-warning-800":"33 92% 25%","--color-warning-700":"32 92% 34%","--color-warning-600":"33 93% 42%","--color-warning-500":"32 95% 51%","--color-warning-400":"32 95% 59%","--color-warning-300":"32 95% 67%","--color-warning-200":"33 95% 75%","--color-warning-100":"32 95% 84%","--color-warning-050":"33 96% 90%","--color-success-900":"137 75% 14%","--color-success-800":"137 75% 22%","--color-success-700":"137 74% 29%","--color-success-600":"137 75% 36%","--color-success-500":"137 74% 43%","--color-success-400":"137 56% 53%","--color-success-300":"137 56% 62%","--color-success-200":"137 56% 71%","--color-success-100":"137 57% 81%","--color-success-050":"137 55% 89%","--color-blue-900":"208 88% 10%","--color-blue-800":"209 88% 17%","--color-blue-700":"208 89% 25%","--color-blue-600":"208 89% 33%","--color-blue-500":"209 89% 42%","--color-blue-400":"209 90% 50%","--color-blue-300":"209 90% 58%","--color-blue-200":"208 89% 67%","--color-blue-100":"208 89% 75%","--color-blue-050":"209 90% 84%","--color-blue-025":"208 88% 90%","--color-teal-900":"180 61% 8%","--color-teal-800":"180 59% 14%","--color-teal-700":"180 60% 20%","--color-teal-600":"180 61% 27%","--color-teal-500":"180 60% 34%","--color-teal-400":"180 60% 41%","--color-teal-300":"180 41% 51%","--color-teal-200":"180 42% 60%","--color-teal-100":"180 41% 70%","--color-teal-050":"180 41% 80%","--color-teal-025":"180 41% 88%","--color-turquoise-900":"192 57% 9%","--color-turquoise-800":"190 57% 15%","--color-turquoise-700":"189 58% 22%","--color-turquoise-600":"190 58% 30%","--color-turquoise-500":"189 57% 37%","--color-turquoise-400":"190 58% 44%","--color-turquoise-300":"190 46% 54%","--color-turquoise-200":"190 46% 63%","--color-turquoise-100":"189 45% 72%","--color-turquoise-050":"190 45% 81%","--color-turquoise-025":"192 46% 89%","--color-lime-900":"96 60% 11%","--color-lime-800":"96 61% 18%","--color-lime-700":"96 60% 27%","--color-lime-600":"96 60% 36%","--color-lime-500":"96 60% 45%","--color-lime-400":"96 72% 54%","--color-lime-300":"96 71% 62%","--color-lime-200":"96 72% 70%","--color-lime-100":"96 71% 77%","--color-lime-050":"96 72% 85%","--color-lime-025":"96 70% 91%","--color-magenta-900":"337 61% 12%","--color-magenta-800":"338 61% 20%","--color-magenta-700":"338 60% 30%","--color-magenta-600":"338 60% 40%","--color-magenta-500":"338 60% 50%","--color-magenta-400":"338 90% 60%","--color-magenta-300":"338 91% 67%","--color-magenta-200":"338 90% 73%","--color-magenta-100":"338 90% 80%","--color-magenta-050":"338 91% 87%","--color-magenta-025":"337 90% 92%","--color-orange-900":"19 61% 12%","--color-orange-800":"19 61% 20%","--color-orange-700":"19 60% 30%","--color-orange-600":"19 60% 40%","--color-orange-500":"19 60% 50%","--color-orange-400":"19 90% 60%","--color-orange-300":"19 91% 67%","--color-orange-200":"19 90% 73%","--color-orange-100":"19 90% 80%","--color-orange-050":"19 91% 87%","--color-orange-025":"19 90% 92%","--color-text-primary":"var(--color-primary-900)","--color-text-secondary":"var(--color-neutral-500)","--color-text-tertiary":"var(--color-neutral-400)","--color-text-negative":"var(--color-neutral-000)","--color-text-brand":"var(--color-primary-500)","--color-text-error":"var(--color-error-500)","--color-text-warning":"var(--color-warning-500)","--color-text-success":"var(--color-success-500)","--color-surface-primary":"var(--color-neutral-000)","--color-surface-secondary":"var(--color-neutral-050)","--color-surface-tertiary":"var(--color-neutral-100)","--color-surface-strong":"var(--color-primary-400)","--color-border-minimal":"var(--color-neutral-100)","--color-border-moderate":"var(--color-neutral-200)","--color-border-bold":"var(--color-neutral-500)"}})},{theme:{borderRadius:{sharp:"0px",sm:"0.25rem/* 4px */",md:"0.5rem/* 8px */",rounded:"9999px"},spacing:{0:"0rem/* 0px */",.25:"0.125rem/* 2px */",.5:"0.25rem/* 4px */",1:"0.5rem/* 8px */",2:"0.75rem/* 12px */",3:"1rem/* 16px */",4:"1.25rem/* 20px */",5:"1.5rem/* 24px */",6:"2rem/* 32px */",7:"2.5rem/* 40px */",8:"3rem/* 48px */",9:"4rem/* 64px */",10:"4.5rem/* 72px */",11:"5rem/* 80px */",12:"6rem/* 96px */"},fontSize:{"text-xs":["0.75rem/* 12px */","1.125rem"],"text-sm":["0.875rem/* 14px */","1.25rem"],"text-md":["1rem/* 16px */","1.5rem"],"text-lg":["1.125rem/* 18px */","1.75rem"],"text-xl":["1.25rem/* 20px */","1.875rem"],"display-xs":["1.5rem/* 24px */","2rem"],"display-sm":["1.875rem/* 30px */","2.375rem"],"display-md":["2.25rem /* 36px */",{letterSpacing:"-0.045rem",lineHeight:"2.75rem"}],"display-lg":["3rem/* 48px */",{letterSpacing:"-0.06rem",lineHeight:"3.75rem"}],"display-xl":["3.75rem/* 60px */","4.5rem"]},extend:{colors:{theme:{text:{primary:"hsl(var(--color-text-primary) / <alpha-value>)",secondary:"hsl(var(--color-text-secondary) / <alpha-value>)",tertiary:"hsl(var(--color-text-tertiary) / <alpha-value>)",negative:"hsl(var(--color-text-negative) / <alpha-value>)",brand:"hsl(var(--color-text-brand) / <alpha-value>)",error:"hsl(var(--color-text-error) / <alpha-value>)",warning:"hsl(var(--color-text-warning) / <alpha-value>)",success:"hsl(var(--color-text-success) / <alpha-value>)"},surface:{primary:"hsl(var(--color-surface-primary) / <alpha-value>)",secondary:"hsl(var(--color-surface-secondary) / <alpha-value>)",tertiary:"hsl(var(--color-surface-tertiary) / <alpha-value>)",strong:"hsl(var(--color-surface-strong) / <alpha-value>)"},border:{minimal:"hsl(var(--color-border-minimal) / <alpha-value>)",moderate:"hsl(var(--color-border-moderate) / <alpha-value>)",bold:"hsl(var(--color-border-bold) / <alpha-value>)"}},primary:{900:"hsl(var(--color-primary-900) / <alpha-value>)",800:"hsl(var(--color-primary-800) / <alpha-value>)",700:"hsl(var(--color-primary-700) / <alpha-value>)",600:"hsl(var(--color-primary-600) / <alpha-value>)",500:"hsl(var(--color-primary-500) / <alpha-value>)",400:"hsl(var(--color-primary-400) / <alpha-value>)",300:"hsl(var(--color-primary-300) / <alpha-value>)",200:"hsl(var(--color-primary-200) / <alpha-value>)",100:"hsl(var(--color-primary-100) / <alpha-value>)",50:"hsl(var(--color-primary-050) / <alpha-value>)",25:"hsl(var(--color-primary-025) / <alpha-value>)"},neutral:{900:"hsl(var(--color-neutral-900) / <alpha-value>)",800:"hsl(var(--color-neutral-800) / <alpha-value>)",700:"hsl(var(--color-neutral-700) / <alpha-value>)",600:"hsl(var(--color-neutral-600) / <alpha-value>)",500:"hsl(var(--color-neutral-500) / <alpha-value>)",400:"hsl(var(--color-neutral-400) / <alpha-value>)",300:"hsl(var(--color-neutral-300) / <alpha-value>)",200:"hsl(var(--color-neutral-200) / <alpha-value>)",100:"hsl(var(--color-neutral-100) / <alpha-value>)",50:"hsl(var(--color-neutral-050) / <alpha-value>)"},error:{900:"hsl(var(--color-error-900) / <alpha-value>)",800:"hsl(var(--color-error-800) / <alpha-value>)",700:"hsl(var(--color-error-700) / <alpha-value>)",600:"hsl(var(--color-error-600) / <alpha-value>)",500:"hsl(var(--color-error-500) / <alpha-value>)",400:"hsl(var(--color-error-400) / <alpha-value>)",300:"hsl(var(--color-error-300) / <alpha-value>)",200:"hsl(var(--color-error-200) / <alpha-value>)",100:"hsl(var(--color-error-100) / <alpha-value>)",50:"hsl(var(--color-error-050) / <alpha-value>)"},warning:{900:"hsl(var(--color-warning-900) / <alpha-value>)",800:"hsl(var(--color-warning-800) / <alpha-value>)",700:"hsl(var(--color-warning-700) / <alpha-value>)",600:"hsl(var(--color-warning-600) / <alpha-value>)",500:"hsl(var(--color-warning-500) / <alpha-value>)",400:"hsl(var(--color-warning-400) / <alpha-value>)",300:"hsl(var(--color-warning-300) / <alpha-value>)",200:"hsl(var(--color-warning-200) / <alpha-value>)",100:"hsl(var(--color-warning-100) / <alpha-value>)",50:"hsl(var(--color-warning-050) / <alpha-value>)"},success:{900:"hsl(var(--color-success-900) / <alpha-value>)",800:"hsl(var(--color-success-800) / <alpha-value>)",700:"hsl(var(--color-success-700) / <alpha-value>)",600:"hsl(var(--color-success-600) / <alpha-value>)",500:"hsl(var(--color-success-500) / <alpha-value>)",400:"hsl(var(--color-success-400) / <alpha-value>)",300:"hsl(var(--color-success-300) / <alpha-value>)",200:"hsl(var(--color-success-200) / <alpha-value>)",100:"hsl(var(--color-success-100) / <alpha-value>)",50:"hsl(var(--color-success-050) / <alpha-value>)"},blue:{900:"hsl(var(--color-blue-900) / <alpha-value>)",800:"hsl(var(--color-blue-800) / <alpha-value>)",700:"hsl(var(--color-blue-700) / <alpha-value>)",600:"hsl(var(--color-blue-600) / <alpha-value>)",500:"hsl(var(--color-blue-500) / <alpha-value>)",400:"hsl(var(--color-blue-400) / <alpha-value>)",300:"hsl(var(--color-blue-300) / <alpha-value>)",200:"hsl(var(--color-blue-200) / <alpha-value>)",100:"hsl(var(--color-blue-100) / <alpha-value>)",50:"hsl(var(--color-blue-050) / <alpha-value>)",25:"hsl(var(--color-blue-025) / <alpha-value>)"},teal:{900:"hsl(var(--color-teal-900) / <alpha-value>)",800:"hsl(var(--color-teal-800) / <alpha-value>)",700:"hsl(var(--color-teal-700) / <alpha-value>)",600:"hsl(var(--color-teal-600) / <alpha-value>)",500:"hsl(var(--color-teal-500) / <alpha-value>)",400:"hsl(var(--color-teal-400) / <alpha-value>)",300:"hsl(var(--color-teal-300) / <alpha-value>)",200:"hsl(var(--color-teal-200) / <alpha-value>)",100:"hsl(var(--color-teal-100) / <alpha-value>)",50:"hsl(var(--color-teal-050) / <alpha-value>)",25:"hsl(var(--color-teal-025) / <alpha-value>)"},turquoise:{900:"hsl(var(--color-turquoise-900) / <alpha-value>)",800:"hsl(var(--color-turquoise-800) / <alpha-value>)",700:"hsl(var(--color-turquoise-700) / <alpha-value>)",600:"hsl(var(--color-turquoise-600) / <alpha-value>)",500:"hsl(var(--color-turquoise-500) / <alpha-value>)",400:"hsl(var(--color-turquoise-400) / <alpha-value>)",300:"hsl(var(--color-turquoise-300) / <alpha-value>)",200:"hsl(var(--color-turquoise-200) / <alpha-value>)",100:"hsl(var(--color-turquoise-100) / <alpha-value>)",50:"hsl(var(--color-turquoise-050) / <alpha-value>)",25:"hsl(var(--color-turquoise-025) / <alpha-value>)"},lime:{900:"hsl(var(--color-lime-900) / <alpha-value>)",800:"hsl(var(--color-lime-800) / <alpha-value>)",700:"hsl(var(--color-lime-700) / <alpha-value>)",600:"hsl(var(--color-lime-600) / <alpha-value>)",500:"hsl(var(--color-lime-500) / <alpha-value>)",400:"hsl(var(--color-lime-400) / <alpha-value>)",300:"hsl(var(--color-lime-300) / <alpha-value>)",200:"hsl(var(--color-lime-200) / <alpha-value>)",100:"hsl(var(--color-lime-100) / <alpha-value>)",50:"hsl(var(--color-lime-050) / <alpha-value>)",25:"hsl(var(--color-lime-025) / <alpha-value>)"},magenta:{900:"hsl(var(--color-magenta-900) / <alpha-value>)",800:"hsl(var(--color-magenta-800) / <alpha-value>)",700:"hsl(var(--color-magenta-700) / <alpha-value>)",600:"hsl(var(--color-magenta-600) / <alpha-value>)",500:"hsl(var(--color-magenta-500) / <alpha-value>)",400:"hsl(var(--color-magenta-400) / <alpha-value>)",300:"hsl(var(--color-magenta-300) / <alpha-value>)",200:"hsl(var(--color-magenta-200) / <alpha-value>)",100:"hsl(var(--color-magenta-100) / <alpha-value>)",50:"hsl(var(--color-magenta-050) / <alpha-value>)",25:"hsl(var(--color-magenta-025) / <alpha-value>)"},orange:{900:"hsl(var(--color-orange-900) / <alpha-value>)",800:"hsl(var(--color-orange-800) / <alpha-value>)",700:"hsl(var(--color-orange-700) / <alpha-value>)",600:"hsl(var(--color-orange-600) / <alpha-value>)",500:"hsl(var(--color-orange-500) / <alpha-value>)",400:"hsl(var(--color-orange-400) / <alpha-value>)",300:"hsl(var(--color-orange-300) / <alpha-value>)",200:"hsl(var(--color-orange-200) / <alpha-value>)",100:"hsl(var(--color-orange-100) / <alpha-value>)",50:"hsl(var(--color-orange-050) / <alpha-value>)",25:"hsl(var(--color-orange-025) / <alpha-value>)"}},boxShadow:{sm:"0px 0px 4px 0px rgba(0, 0, 0, 0.10)",inner:"inset 0 -2px 0 0,0 2px 0 0"},backgroundImage:{"gradient-dark":"linear-gradient(to bottom right, hsl(var(--color-primary-500)), hsl(var(--color-primary-400)))","gradient-light":"linear-gradient(to bottom, hsl(258, 100%, 97%), hsl(0, 100%, 100%))"},animation:{"spin-slow":"spin 2s linear infinite"}}}});function Lo(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=Lo(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Io(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=Lo(e))&&(n&&(n+=" "),n+=t);return n}const la="-",$c=e=>{const t=Fc(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:o=>{const i=o.split(la);return i[0]===""&&i.length!==1&&i.shift(),Ao(i,t)||zc(o)},getConflictingClassGroupIds:(o,i)=>{const c=r[o]||[];return i&&n[o]?[...c,...n[o]]:c}}},Ao=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),a=n?Ao(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;const s=e.join(la);return(o=t.validators.find(({validator:i})=>i(s)))==null?void 0:o.classGroupId},Aa=/^\[(.+)\]$/,zc=e=>{if(Aa.test(e)){const t=Aa.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Fc=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Hc(Object.entries(e.classGroups),r).forEach(([s,o])=>{$n(o,n,s,t)}),n},$n=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){const s=a===""?t:Ma(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(Zc(a)){$n(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,o])=>{$n(o,Ma(t,s),r,n)})})},Ma=(e,t)=>{let r=e;return t.split(la).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Zc=e=>e.isThemeGetter,Hc=(e,t)=>t?e.map(([r,n])=>{const a=n.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,i])=>[t+o,i])):s);return[r,a]}):e,Bc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const a=(s,o)=>{r.set(s,o),t++,t>e&&(t=0,n=r,r=new Map)};return{get(s){let o=r.get(s);if(o!==void 0)return o;if((o=n.get(s))!==void 0)return a(s,o),o},set(s,o){r.has(s)?r.set(s,o):a(s,o)}}},Mo="!",Uc=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],s=t.length,o=i=>{const c=[];let d=0,p=0,f;for(let _=0;_<i.length;_++){let x=i[_];if(d===0){if(x===a&&(n||i.slice(_,_+s)===t)){c.push(i.slice(p,_)),p=_+s;continue}if(x==="/"){f=_;continue}}x==="["?d++:x==="]"&&d--}const m=c.length===0?i:i.substring(p),h=m.startsWith(Mo),g=h?m.substring(1):m,v=f&&f>p?f-p:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:o}):o},qc=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Wc=e=>({cache:Bc(e.cacheSize),parseClassName:Uc(e),...$c(e)}),Gc=/\s+/,Kc=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,s=[],o=e.trim().split(Gc);let i="";for(let c=o.length-1;c>=0;c-=1){const d=o[c],{modifiers:p,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:h}=r(d);let g=!!h,v=n(g?m.substring(0,h):m);if(!v){if(!g){i=d+(i.length>0?" "+i:i);continue}if(v=n(m),!v){i=d+(i.length>0?" "+i:i);continue}g=!1}const _=qc(p).join(":"),x=f?_+Mo:_,b=x+v;if(s.includes(b))continue;s.push(b);const L=a(v,g);for(let q=0;q<L.length;++q){const $=L[q];s.push(x+$)}i=d+(i.length>0?" "+i:i)}return i};function Yc(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Do(t))&&(n&&(n+=" "),n+=r);return n}const Do=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Do(e[n]))&&(r&&(r+=" "),r+=t);return r};function Da(e,...t){let r,n,a,s=o;function o(c){const d=t.reduce((p,f)=>f(p),e());return r=Wc(d),n=r.cache.get,a=r.cache.set,s=i,i(c)}function i(c){const d=n(c);if(d)return d;const p=Kc(c,r);return a(c,p),p}return function(){return s(Yc.apply(null,arguments))}}const ne=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Vo=/^\[(?:([a-z-]+):)?(.+)\]$/i,Jc=/^\d+\/\d+$/,Xc=new Set(["px","full","screen"]),Qc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eu=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,tu=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ru=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nu=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,De=e=>Ot(e)||Xc.has(e)||Jc.test(e),Ge=e=>Zt(e,"length",du),Ot=e=>!!e&&!Number.isNaN(Number(e)),wn=e=>Zt(e,"number",Ot),Kt=e=>!!e&&Number.isInteger(Number(e)),au=e=>e.endsWith("%")&&Ot(e.slice(0,-1)),B=e=>Vo.test(e),Ke=e=>Qc.test(e),su=new Set(["length","size","percentage"]),ou=e=>Zt(e,su,$o),iu=e=>Zt(e,"position",$o),lu=new Set(["image","url"]),cu=e=>Zt(e,lu,fu),uu=e=>Zt(e,"",pu),Yt=()=>!0,Zt=(e,t,r)=>{const n=Vo.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},du=e=>eu.test(e)&&!tu.test(e),$o=()=>!1,pu=e=>ru.test(e),fu=e=>nu.test(e),Va=()=>{const e=ne("colors"),t=ne("spacing"),r=ne("blur"),n=ne("brightness"),a=ne("borderColor"),s=ne("borderRadius"),o=ne("borderSpacing"),i=ne("borderWidth"),c=ne("contrast"),d=ne("grayscale"),p=ne("hueRotate"),f=ne("invert"),m=ne("gap"),h=ne("gradientColorStops"),g=ne("gradientColorStopPositions"),v=ne("inset"),_=ne("margin"),x=ne("opacity"),b=ne("padding"),L=ne("saturate"),q=ne("scale"),$=ne("sepia"),A=ne("skew"),ee=ne("space"),he=ne("translate"),it=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],lt=()=>["auto",B,t],te=()=>[B,t],Wt=()=>["",De,Ge],Te=()=>["auto",Ot,B],Ue=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],qe=()=>["solid","dashed","dotted","double","none"],wt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ct=()=>["start","end","center","between","around","evenly","stretch"],We=()=>["","0",B],Gt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ye=()=>[Ot,B];return{cacheSize:500,separator:":",theme:{colors:[Yt],spacing:[De,Ge],blur:["none","",Ke,B],brightness:ye(),borderColor:[e],borderRadius:["none","","full",Ke,B],borderSpacing:te(),borderWidth:Wt(),contrast:ye(),grayscale:We(),hueRotate:ye(),invert:We(),gap:te(),gradientColorStops:[e],gradientColorStopPositions:[au,Ge],inset:lt(),margin:lt(),opacity:ye(),padding:te(),saturate:ye(),scale:ye(),sepia:We(),skew:ye(),space:te(),translate:te()},classGroups:{aspect:[{aspect:["auto","square","video",B]}],container:["container"],columns:[{columns:[Ke]}],"break-after":[{"break-after":Gt()}],"break-before":[{"break-before":Gt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ue(),B]}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:it()}],"overscroll-x":[{"overscroll-x":it()}],"overscroll-y":[{"overscroll-y":it()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Kt,B]}],basis:[{basis:lt()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",B]}],grow:[{grow:We()}],shrink:[{shrink:We()}],order:[{order:["first","last","none",Kt,B]}],"grid-cols":[{"grid-cols":[Yt]}],"col-start-end":[{col:["auto",{span:["full",Kt,B]},B]}],"col-start":[{"col-start":Te()}],"col-end":[{"col-end":Te()}],"grid-rows":[{"grid-rows":[Yt]}],"row-start-end":[{row:["auto",{span:[Kt,B]},B]}],"row-start":[{"row-start":Te()}],"row-end":[{"row-end":Te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",B]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",B]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...Ct()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ct(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ct(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[_]}],mx:[{mx:[_]}],my:[{my:[_]}],ms:[{ms:[_]}],me:[{me:[_]}],mt:[{mt:[_]}],mr:[{mr:[_]}],mb:[{mb:[_]}],ml:[{ml:[_]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",B,t]}],"min-w":[{"min-w":[B,t,"min","max","fit"]}],"max-w":[{"max-w":[B,t,"none","full","min","max","fit","prose",{screen:[Ke]},Ke]}],h:[{h:[B,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[B,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[B,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[B,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ke,Ge]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",wn]}],"font-family":[{font:[Yt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",B]}],"line-clamp":[{"line-clamp":["none",Ot,wn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",De,B]}],"list-image":[{"list-image":["none",B]}],"list-style-type":[{list:["none","disc","decimal",B]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...qe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",De,Ge]}],"underline-offset":[{"underline-offset":["auto",De,B]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:te()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",B]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",B]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ue(),iu]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ou]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},cu]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...qe(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:qe()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...qe()]}],"outline-offset":[{"outline-offset":[De,B]}],"outline-w":[{outline:[De,Ge]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Wt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[De,Ge]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ke,uu]}],"shadow-color":[{shadow:[Yt]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...wt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":wt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Ke,B]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[f]}],saturate:[{saturate:[L]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",B]}],duration:[{duration:ye()}],ease:[{ease:["linear","in","out","in-out",B]}],delay:[{delay:ye()}],animate:[{animate:["none","spin","ping","pulse","bounce",B]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[q]}],"scale-x":[{"scale-x":[q]}],"scale-y":[{"scale-y":[q]}],rotate:[{rotate:[Kt,B]}],"translate-x":[{"translate-x":[he]}],"translate-y":[{"translate-y":[he]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",B]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",B]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":te()}],"scroll-mx":[{"scroll-mx":te()}],"scroll-my":[{"scroll-my":te()}],"scroll-ms":[{"scroll-ms":te()}],"scroll-me":[{"scroll-me":te()}],"scroll-mt":[{"scroll-mt":te()}],"scroll-mr":[{"scroll-mr":te()}],"scroll-mb":[{"scroll-mb":te()}],"scroll-ml":[{"scroll-ml":te()}],"scroll-p":[{"scroll-p":te()}],"scroll-px":[{"scroll-px":te()}],"scroll-py":[{"scroll-py":te()}],"scroll-ps":[{"scroll-ps":te()}],"scroll-pe":[{"scroll-pe":te()}],"scroll-pt":[{"scroll-pt":te()}],"scroll-pr":[{"scroll-pr":te()}],"scroll-pb":[{"scroll-pb":te()}],"scroll-pl":[{"scroll-pl":te()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",B]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[De,Ge,wn]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},mu=(e,{cacheSize:t,prefix:r,separator:n,experimentalParseClassName:a,extend:s={},override:o={}})=>{nr(e,"cacheSize",t),nr(e,"prefix",r),nr(e,"separator",n),nr(e,"experimentalParseClassName",a);for(const i in o)hu(e[i],o[i]);for(const i in s)gu(e[i],s[i]);return e},nr=(e,t,r)=>{r!==void 0&&(e[t]=r)},hu=(e,t)=>{if(t)for(const r in t)nr(e,r,t[r])},gu=(e,t)=>{if(t)for(const r in t){const n=t[r];n!==void 0&&(e[r]=(e[r]||[]).concat(n))}},vu=(e,...t)=>typeof e=="function"?Da(Va,e,...t):Da(()=>mu(Va(),e),...t);var yu=vu({extend:{classGroups:{"font-size":["text-text-xs","text-text-sm","text-text-md","text-text-lg","text-text-xl","text-display-xs","text-display-sm","text-display-md","text-display-lg","text-display-xl"]}}});function E(...e){return yu(Io(e))}function bu(e,t){return e instanceof Function?e(t):e}var zo=l.forwardRef(({className:e,...t},r)=>l.createElement("div",{className:"w-full overflow-auto"},l.createElement("table",{ref:r,className:E("w-full text-text-sm",e),...t})));zo.displayName="Table";var Fo=l.forwardRef(({className:e,...t},r)=>l.createElement("thead",{ref:r,className:E("[&_tr]:border-b",e),...t}));Fo.displayName="TableHeader";var Zo=l.forwardRef(({className:e,...t},r)=>l.createElement("tbody",{ref:r,className:E("[&_tr:last-child]:border-0",e),...t}));Zo.displayName="TableBody";var xu=l.forwardRef(({className:e,...t},r)=>l.createElement("tfoot",{ref:r,className:E("bg-primary text-primary-foreground font-medium",e),...t}));xu.displayName="TableFooter";var Br=l.forwardRef(({className:e,...t},r)=>l.createElement("tr",{ref:r,className:E("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",e),...t}));Br.displayName="TableRow";var Ho=l.forwardRef(({className:e,...t},r)=>l.createElement("th",{ref:r,className:E("h-8 px-4 py-2 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Ho.displayName="TableHead";var zn=l.forwardRef(({className:e,...t},r)=>l.createElement("td",{ref:r,className:E("h-9 px-4 py-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));zn.displayName="TableCell";var wu=l.forwardRef(({className:e,...t},r)=>l.createElement("caption",{ref:r,className:E("text-muted-foreground mt-4 text-text-sm",e),...t}));wu.displayName="TableCaption";const $a=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,za=Io,we=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return za(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:a,defaultVariants:s}=t,o=Object.keys(a).map(d=>{const p=r==null?void 0:r[d],f=s==null?void 0:s[d];if(p===null)return null;const m=$a(p)||$a(f);return a[d][m]}),i=r&&Object.entries(r).reduce((d,p)=>{let[f,m]=p;return m===void 0||(d[f]=m),d},{}),c=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((d,p)=>{let{class:f,className:m,...h}=p;return Object.entries(h).every(g=>{let[v,_]=g;return Array.isArray(_)?_.includes({...s,...i}[v]):{...s,...i}[v]===_})?[...d,f,m]:d},[]);return za(e,o,c,r==null?void 0:r.class,r==null?void 0:r.className)};var Fa=1,Cu=.9,_u=.8,Eu=.17,Cn=.1,_n=.999,Su=.9999,ku=.99,Nu=/[\\\/_+.#"@\[\(\{&]/,Tu=/[\\\/_+.#"@\[\(\{&]/g,Ou=/[\s-]/,Bo=/[\s-]/g;function Fn(e,t,r,n,a,s,o){if(s===t.length)return a===e.length?Fa:ku;var i=`${a},${s}`;if(o[i]!==void 0)return o[i];for(var c=n.charAt(s),d=r.indexOf(c,a),p=0,f,m,h,g;d>=0;)f=Fn(e,t,r,n,d+1,s+1,o),f>p&&(d===a?f*=Fa:Nu.test(e.charAt(d-1))?(f*=_u,h=e.slice(a,d-1).match(Tu),h&&a>0&&(f*=Math.pow(_n,h.length))):Ou.test(e.charAt(d-1))?(f*=Cu,g=e.slice(a,d-1).match(Bo),g&&a>0&&(f*=Math.pow(_n,g.length))):(f*=Eu,a>0&&(f*=Math.pow(_n,d-a))),e.charAt(d)!==t.charAt(s)&&(f*=Su)),(f<Cn&&r.charAt(d-1)===n.charAt(s+1)||n.charAt(s+1)===n.charAt(s)&&r.charAt(d-1)!==n.charAt(s))&&(m=Fn(e,t,r,n,d+1,s+2,o),m*Cn>f&&(f=m*Cn)),f>p&&(p=f),d=r.indexOf(c,d+1);return o[i]=p,p}function Za(e){return e.toLowerCase().replace(Bo," ")}function ju(e,t,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,Fn(e,t,Za(e),Za(t),0,0,{})}var En={exports:{}},Sn={};/**
|
3
3
|
* @license React
|
4
4
|
* use-sync-external-store-shim.production.js
|
@@ -61,4 +61,4 @@ var Tl=Object.defineProperty;var Ol=(e,t,r)=>t in e?Tl(e,t,{enumerable:!0,config
|
|
61
61
|
${d?"pointer-events-none text-theme-text-primary":"text-theme-text-secondary"}
|
62
62
|
ml-1 flex items-center text-text-md font-semibold`,children:j0(i==null?void 0:i.name)})]}):u.jsx(dn,{className:`${d||o==="settings"?"pointer-events-none":""}
|
63
63
|
${d?"font-semibold text-theme-text-primary":"text-theme-text-secondary"}
|
64
|
-
rounded-sm p-0.5 px-1 text-text-md hover:text-purple-900 hover:underline`,to:rm(o,i==null?void 0:i.id),children:typeof(i==null?void 0:i.name)=="string"&&(i==null?void 0:i.name.length)>20?u.jsx(ci,{children:u.jsxs(ui,{children:[u.jsx(di,{className:"hover:text-theme-text-brand hover:underline",children:O0(i==null?void 0:i.name,20)}),u.jsx(ha,{children:i==null?void 0:i.name})]})}):i==null?void 0:i.name})]},c)})})}function sm(){return u.jsx("header",{className:"h-9 border-b border-theme-border-moderate bg-theme-surface-primary",children:u.jsxs("div",{className:"flex h-full items-center justify-between",children:[u.jsx(dn,{"aria-label":"Go to organizations page",to:T.home,className:"flex h-full w-9 flex-shrink-0 items-center justify-center border-r border-theme-border-moderate",children:u.jsx(El,{className:"h-6 w-6 fill-theme-text-brand"})}),u.jsx(am,{}),u.jsx("div",{className:"ml-auto pl-3 pr-4",children:u.jsx(G2,{})})]})})}function om(){var t;const e=bt();return ja(((t=e.data)==null?void 0:t.deployment_type)||"other")?u.jsxs("aside",{className:"flex h-9 items-center justify-between gap-2 bg-warning-400 px-4 py-3",children:[u.jsxs("div",{className:"flex items-center gap-3 truncate",children:[u.jsx(El,{className:"h-5 w-5 shrink-0"}),u.jsx("p",{className:"font-semibold",children:"You are running a local version of ZenML."}),u.jsx("p",{className:"truncate",children:"Please consider deploying it yourself or signing up for ZenML Pro for easy deployment, enhanced features, and support."})]}),u.jsx(Xe,{asChild:!0,intent:"secondary",className:"whitespace-nowrap bg-theme-surface-primary",size:"md",children:u.jsx("a",{href:"https://cloud.zenml.io/signup",rel:"noopener noreferrer",target:"_blank",children:"Try ZenML Pro"})})]}):null}const im=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1C9.55228 1 10 1.44772 10 2V4H14V2C14 1.44772 14.4477 1 15 1C15.5523 1 16 1.44772 16 2V4.02714C16.0868 4.03193 16.1707 4.03756 16.2518 4.04419C16.8139 4.09012 17.3306 4.18868 17.816 4.43597C18.5686 4.81947 19.1805 5.43139 19.564 6.18404C19.8113 6.66937 19.9099 7.18608 19.9558 7.74817C19.9624 7.82933 19.9681 7.91325 19.9729 8H22C22.5523 8 23 8.44772 23 9C23 9.55228 22.5523 10 22 10H20V13H22C22.5523 13 23 13.4477 23 14C23 14.5523 22.5523 15 22 15H19.9984C19.9951 15.4755 19.9853 15.891 19.9558 16.2518C19.9099 16.8139 19.8113 17.3306 19.564 17.816C19.1805 18.5686 18.5686 19.1805 17.816 19.564C17.3306 19.8113 16.8139 19.9099 16.2518 19.9558C16.1707 19.9624 16.0868 19.9681 16 19.9729V22C16 22.5523 15.5523 23 15 23C14.4477 23 14 22.5523 14 22V20H10V22C10 22.5523 9.55228 23 9 23C8.44772 23 8 22.5523 8 22V19.9729C7.91325 19.9681 7.82933 19.9624 7.74817 19.9558C7.18608 19.9099 6.66937 19.8113 6.18404 19.564C5.43139 19.1805 4.81947 18.5686 4.43597 17.816C4.18868 17.3306 4.09012 16.8139 4.04419 16.2518C4.01471 15.891 4.00489 15.4755 4.00163 15H2C1.44772 15 1 14.5523 1 14C1 13.4477 1.44772 13 2 13H4V10H2C1.44772 10 1 9.55228 1 9C1 8.44772 1.44772 8 2 8H4.02714C4.03193 7.91325 4.03756 7.82933 4.04419 7.74817C4.09012 7.18608 4.18868 6.66937 4.43597 6.18404C4.81947 5.43139 5.43139 4.81947 6.18404 4.43597C6.66937 4.18868 7.18608 4.09012 7.74817 4.04419C7.82933 4.03756 7.91325 4.03193 8 4.02714V2C8 1.44772 8.44772 1 9 1ZM6 14.2C6 15.0566 6.00078 15.6389 6.03755 16.089C6.07337 16.5274 6.1383 16.7516 6.21799 16.908C6.40973 17.2843 6.71569 17.5903 7.09202 17.782C7.24842 17.8617 7.47262 17.9266 7.91104 17.9624C8.36113 17.9992 8.94342 18 9.8 18H14.2C15.0566 18 15.6389 17.9992 16.089 17.9624C16.5274 17.9266 16.7516 17.8617 16.908 17.782C17.2843 17.5903 17.5903 17.2843 17.782 16.908C17.8617 16.7516 17.9266 16.5274 17.9624 16.089C17.9992 15.6389 18 15.0566 18 14.2V9.8C18 8.94342 17.9992 8.36113 17.9624 7.91104C17.9266 7.47262 17.8617 7.24842 17.782 7.09202C17.5903 6.71569 17.2843 6.40973 16.908 6.21799C16.7516 6.1383 16.5274 6.07337 16.089 6.03755C15.6389 6.00078 15.0566 6 14.2 6H9.8C8.94342 6 8.36113 6.00078 7.91104 6.03755C7.47262 6.07337 7.24842 6.1383 7.09202 6.21799C6.71569 6.40973 6.40973 6.71569 6.21799 7.09202C6.1383 7.24842 6.07337 7.47262 6.03755 7.91104C6.00078 8.36113 6 8.94342 6 9.8V14.2Z"})),lm=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.24923 6.14303C6.0632 3.17816 8.7764 1 12 1C15.2236 1 17.9368 3.17816 18.7508 6.14303C21.1861 6.70961 23 8.8925 23 11.5C23 13.8963 21.4681 15.9322 19.3332 16.6868C18.8125 16.8708 18.2412 16.5979 18.0572 16.0772C17.8731 15.5565 18.146 14.9851 18.6668 14.8011C20.0275 14.3201 21 13.0224 21 11.5C21 9.67779 19.6067 8.17984 17.828 8.01511C17.375 7.97315 17.0073 7.63059 16.9335 7.18159C16.5436 4.80968 14.4822 3 12 3C9.51785 3 7.45643 4.80968 7.0665 7.18159C6.99268 7.63059 6.62505 7.97315 6.17196 8.01511C4.39329 8.17984 3 9.67779 3 11.5C3 13.0224 3.97251 14.3201 5.33325 14.8011C5.85396 14.9851 6.12689 15.5565 5.94284 16.0772C5.75879 16.5979 5.18747 16.8708 4.66675 16.6868C2.53192 15.9322 1 13.8963 1 11.5C1 8.8925 2.8139 6.70961 5.24923 6.14303Z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 12C8.44772 12 8 12.4477 8 13C8 13.5523 8.44772 14 9 14C9.55228 14 10 13.5523 10 13C10 12.4477 9.55228 12 9 12ZM6 13C6 11.3431 7.34315 10 9 10C10.6569 10 12 11.3431 12 13C12 14.3062 11.1652 15.4175 10 15.8293V17C10 18.1046 10.8954 19 12 19H14V21H12C9.79086 21 8 19.2091 8 17V15.8293C6.83481 15.4175 6 14.3062 6 13Z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 19C15.4477 19 15 19.4477 15 20C15 20.5523 15.4477 21 16 21C16.5523 21 17 20.5523 17 20C17 19.4477 16.5523 19 16 19ZM13 20C13 18.3431 14.3431 17 16 17C17.6569 17 19 18.3431 19 20C19 21.6569 17.6569 23 16 23C14.3431 23 13 21.6569 13 20Z"})),cm=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 3.01991C12.8143 3.00299 12.5391 3.00006 12.0118 3.00006H8.8C7.94342 3.00006 7.36113 3.00084 6.91104 3.03761C6.47262 3.07343 6.24842 3.13836 6.09202 3.21805C5.7157 3.4098 5.40973 3.71576 5.21799 4.09208C5.1383 4.24848 5.07337 4.47269 5.03755 4.9111C5.00078 5.36119 5 5.94348 5 6.80006V17.2001C5 18.0566 5.00078 18.6389 5.03755 19.089C5.07337 19.5274 5.1383 19.7516 5.21799 19.908C5.40973 20.2844 5.7157 20.5903 6.09202 20.7821C6.24842 20.8618 6.47262 20.9267 6.91104 20.9625C7.36113 20.9993 7.94342 21.0001 8.8 21.0001H15.2C16.0566 21.0001 16.6389 20.9993 17.089 20.9625C17.5274 20.9267 17.7516 20.8618 17.908 20.7821C18.2843 20.5903 18.5903 20.2844 18.782 19.908C18.8617 19.7516 18.9266 19.5274 18.9624 19.089C18.9992 18.6389 19 18.0566 19 17.2001V9.98829C19 9.46092 18.9971 9.18576 18.9802 9.00006L15.5681 9.00007C15.3157 9.0001 15.0699 9.00012 14.8618 8.98312C14.6332 8.96444 14.3634 8.92037 14.092 8.78208C13.7157 8.59033 13.4097 8.28437 13.218 7.90804C13.0797 7.63662 13.0356 7.36689 13.0169 7.13829C12.9999 6.93013 13 6.68433 13 6.43195L13 3.01991ZM14.3903 1.34854C14.1654 1.24798 13.9314 1.16826 13.6911 1.11058C13.2284 0.9995 12.7487 0.999729 12.1137 1.00003C12.0801 1.00005 12.0462 1.00006 12.0118 1.00006L8.7587 1.00006C7.95373 1.00005 7.28937 1.00004 6.74817 1.04426C6.18608 1.09018 5.66937 1.18875 5.18404 1.43604C4.43139 1.81953 3.81947 2.43145 3.43597 3.1841C3.18868 3.66944 3.09012 4.18614 3.04419 4.74824C2.99998 5.28943 2.99999 5.95379 3 6.75876V17.2414C2.99999 18.0463 2.99998 18.7107 3.04419 19.2519C3.09012 19.814 3.18868 20.3307 3.43597 20.816C3.81947 21.5687 4.43139 22.1806 5.18404 22.5641C5.66937 22.8114 6.18608 22.9099 6.74817 22.9559C7.28936 23.0001 7.95372 23.0001 8.75868 23.0001H15.2413C16.0463 23.0001 16.7106 23.0001 17.2518 22.9559C17.8139 22.9099 18.3306 22.8114 18.816 22.5641C19.5686 22.1806 20.1805 21.5687 20.564 20.816C20.8113 20.3307 20.9099 19.814 20.9558 19.2519C21 18.7107 21 18.0463 21 17.2414V9.98829C21 9.95389 21 9.91994 21 9.88642C21.0003 9.25142 21.0006 8.77162 20.8895 8.30892C20.8318 8.06868 20.7521 7.83466 20.6515 7.60979C20.6449 7.59413 20.6378 7.57867 20.6304 7.56343C20.5653 7.42257 20.4919 7.28542 20.4106 7.15271C20.1619 6.74698 19.8225 6.40788 19.3733 5.95907C19.3496 5.93539 19.3255 5.91139 19.3012 5.88707L16.113 2.69884C16.0887 2.67452 16.0647 2.6505 16.041 2.62678C15.5922 2.17756 15.2531 1.83813 14.8474 1.5895C14.7146 1.50818 14.5775 1.43479 14.4367 1.36964C14.4214 1.36222 14.4059 1.35519 14.3903 1.34854ZM15 4.41428V6.40006C15 6.69659 15.0008 6.85884 15.0103 6.97543C15.0107 6.98007 15.0111 6.98446 15.0114 6.98861C15.0156 6.989 15.02 6.98938 15.0246 6.98976C15.1412 6.99929 15.3035 7.00006 15.6 7.00006H17.5858L15 4.41428Z"})),um=e=>l.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("g",{id:"settings"},l.createElement("g",{id:"Icon (Stroke)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79084 8 7.99998 9.79086 7.99998 12C7.99998 14.2091 9.79084 16 12 16ZM14 12C14 13.1046 13.1046 14 12 14C10.8954 14 9.99998 13.1046 9.99998 12C9.99998 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3426 2.32757C13.1416 0.826354 10.8583 0.826356 9.65737 2.32758L7.8196 4.62479C7.62983 4.86201 7.34251 5.0001 7.03873 5.0001H5.23605C3.0059 5.0001 1.55541 7.34703 2.55277 9.34174L3.65834 11.5529C3.7991 11.8344 3.7991 12.1658 3.65834 12.4473L2.55277 14.6585C1.55542 16.6532 3.0059 19.0001 5.23605 19.0001H7.03873C7.34251 19.0001 7.62983 19.1382 7.8196 19.3754L9.65737 21.6726C10.8584 23.1738 13.1416 23.1738 14.3426 21.6726L16.1804 19.3754C16.3701 19.1382 16.6574 19.0001 16.9612 19.0001H18.7639C20.9941 19.0001 22.4445 16.6532 21.4472 14.6585L20.3416 12.4473C20.2009 12.1658 20.2009 11.8344 20.3416 11.5529L21.4472 9.34174C22.4445 7.34703 20.9941 5.0001 18.7639 5.0001H16.9612C16.6574 5.0001 16.3701 4.86201 16.1804 4.62479L14.3426 2.32757ZM11.2191 3.57697C11.6194 3.07656 12.3805 3.07656 12.7808 3.57696L14.6186 5.87418C15.1879 6.58583 16.0499 7.0001 16.9612 7.0001H18.7639C19.5073 7.0001 19.9908 7.78241 19.6583 8.44731L18.5528 10.6585C18.1305 11.503 18.1305 12.4972 18.5528 13.3417L19.6583 15.5529C19.9908 16.2178 19.5073 17.0001 18.7639 17.0001H16.9612C16.0499 17.0001 15.1879 17.4144 14.6186 18.126L12.7809 20.4232C12.3805 20.9236 11.6194 20.9236 11.2191 20.4232L9.38134 18.126C8.81202 17.4144 7.95008 17.0001 7.03873 17.0001H5.23605C4.49267 17.0001 4.00917 16.2178 4.34162 15.5529L5.44719 13.3417C5.86949 12.4972 5.86949 11.503 5.44719 10.6585L4.34162 8.44731C4.00917 7.78241 4.49267 7.0001 5.23605 7.0001H7.03873C7.95008 7.0001 8.81202 6.58583 9.38134 5.87418L11.2191 3.57697Z"})))),dm=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2C3.55228 2 4 2.44772 4 3V21C4 21.5523 3.55228 22 3 22C2.44772 22 2 21.5523 2 21V3C2 2.44772 2.44772 2 3 2ZM14.7071 4.29289C15.0976 4.68342 15.0976 5.31658 14.7071 5.70711L9.41421 11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H9.41421L14.7071 18.2929C15.0976 18.6834 15.0976 19.3166 14.7071 19.7071C14.3166 20.0976 13.6834 20.0976 13.2929 19.7071L6.29289 12.7071C5.90237 12.3166 5.90237 11.6834 6.29289 11.2929L13.2929 4.29289C13.6834 3.90237 14.3166 3.90237 14.7071 4.29289Z"})),pm=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("g",{id:"chevron-right"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M8.29289 5.29289C8.68342 4.90237 9.31658 4.90237 9.70711 5.29289L15.7071 11.2929C16.0976 11.6834 16.0976 12.3166 15.7071 12.7071L9.70711 18.7071C9.31658 19.0976 8.68342 19.0976 8.29289 18.7071C7.90237 18.3166 7.90237 17.6834 8.29289 17.2929L13.5858 12L8.29289 6.70711C7.90237 6.31658 7.90237 5.68342 8.29289 5.29289Z"})));function fm(){return["onboarding_state"]}async function mm(){const e=ot(st.onboarding),t=await Be(e,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok){const r=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Failed to update activate user");throw new Me({status:t.status,statusText:t.statusText,message:r})}return t.json()}function hm(e){return Nr({queryKey:fm(),queryFn:async()=>mm(),...e})}function Dr(e){return[...e?[]:["device_verified"],"pipeline_run","stack_with_remote_orchestrator_created","pipeline_run_with_remote_orchestrator"]}const Er="production_setup_completed";function gm(e,t){const r=wm(e,t),n=Cm(t);return{itemsDone:r,totalItems:n,items:Dr(t),isFinished:e.includes(Er),progress:r/n*100,finalStep:Er,hasItem:a=>ym(a,e),getItem:a=>vm(a,e,t)}}function vm(e,t,r){return{isCompleted:t.includes(e),hasDownStreamStep:bm(e,t,r),isActive:xm(e,t,r)}}function ym(e,t){return t.includes(e)}function bm(e,t,r){const a=[...Dr(r),Er],s=a.indexOf(e);return s===-1?!1:a.slice(s+1).some(i=>t.includes(i))}function xm(e,t,r){const n=Dr(r);if(n.length===0)return!1;const a=n.indexOf(e);if(a===-1||t.includes(e))return!1;if(a===0)return!0;const s=n[a-1];return t.includes(s)}function wm(e,t){const n=Dr(t).filter(s=>s!==Er);if(e.includes(Er))return n.length;let a=-1;return n.forEach((s,o)=>{e.includes(s)&&(a=o)}),a+1}function Cm(e){return Dr(e).length}function _m(){const e=hm({refetchInterval:36e5}),t=bt(),{isOpen:r}=Ht();if(e.isError||t.isError)return null;if(e.isPending||t.isPending)return u.jsx(Ga,{className:"w-full rounded-md p-2",children:u.jsx(He,{className:"h-5"})});const n=gm(e.data,ja(t.data.deployment_type||"other")),a="Quick Setup",s=n.itemsDone,o=n.totalItems,i=n.progress;return n.isFinished?null:u.jsx("li",{className:"w-full",children:u.jsx(dn,{to:T.onboarding,children:u.jsxs(Ga,{className:"w-full gap-2 rounded-md p-2",children:[u.jsxs("div",{className:`m-0 flex h-0 items-center justify-between truncate transition-all duration-300 ${r?"mb-2 h-5":"opacity-0 group-hover:mb-2 group-hover:h-5 group-hover:opacity-100"} `,children:[a,u.jsx(pm,{className:"h-4 w-4 fill-theme-text-primary"})]}),u.jsxs("div",{className:"flex items-center gap-[10px]",children:[u.jsxs("span",{className:"text-text-sm",children:[s,"/",o]}),u.jsx(xi,{className:"h-1 rounded-rounded",value:i})]})]})})})}function kl(){return["settings"]}async function Nl(){const e=ot(st.settings),t=await Be(e,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok){const r=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Failed to load Server Settings");throw new Me({status:t.status,statusText:t.statusText,message:r})}return t.json()}function Ra(e){return Nr({queryKey:kl(),queryFn:async()=>Nl(),...e})}function Em(e,t=24){return`https://avatar.vercel.sh/${e}?size=${t}`}function Sm(){var n;const{data:e,isPending:t,isError:r}=Ra({throwOnError:!0});return r?null:t?u.jsx(He,{className:"h-3 w-full"}):u.jsx(Qo,{children:(n=e.body)==null?void 0:n.server_name})}function km(){var n,a;const{data:e,isPending:t,isError:r}=Ra({throwOnError:!0});return r?null:t?u.jsx(He,{className:"h-3 w-full"}):u.jsx(Yu,{children:u.jsxs(da,{size:"md",type:"square",children:[u.jsx(ai,{src:Em(((n=e.body)==null?void 0:n.server_name)||"default")}),u.jsx(pa,{size:"md",children:((a=e.body)==null?void 0:a.server_name[0])||"D"})]})})}const Nm=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.3895 3.96431C17.1492 4.07271 16.824 4.24923 16.3229 4.52236C14.8504 5.32506 12.8498 6.24557 11 6.45574V13.5442C12.8498 13.7544 14.8504 14.6749 16.3229 15.4776C16.824 15.7507 17.1492 15.9273 17.3895 16.0357C17.4214 16.0501 17.4492 16.062 17.4733 16.0719C17.4755 16.0514 17.4777 16.0281 17.4798 16.0019C17.4992 15.7574 17.5 15.4134 17.5 14.8737V5.12627C17.5 4.58658 17.4992 4.24258 17.4798 3.99803C17.4777 3.97185 17.4755 3.94861 17.4733 3.9281C17.4492 3.93799 17.4214 3.94992 17.3895 3.96431ZM19.5 5.6115V5.08612C19.5 4.59837 19.5 4.17334 19.4735 3.83962C19.4484 3.52389 19.3906 3.08606 19.1266 2.71706C18.7906 2.24734 18.3164 1.96574 17.7431 1.89553C17.2851 1.83943 16.8593 2.00935 16.5669 2.14128C16.2493 2.2846 15.857 2.49849 15.4002 2.74747L15.3657 2.76633C13.7058 3.67118 11.7411 4.49999 10.25 4.49999H6.5C3.46243 4.49999 0.999998 6.96242 1 9.99999C1 11.7254 1.79451 13.2652 3.03764 14.2736L4.6045 20.5411C4.60714 20.5516 4.60974 20.5621 4.61232 20.5724C4.64879 20.7185 4.68044 20.8453 4.72013 20.9624C5.10397 22.0957 6.1245 22.8925 7.31701 22.99C7.4403 23.0001 7.571 23 7.72156 23C7.73221 23 7.74295 23 7.75379 23C7.7677 23 7.78146 23 7.79509 23C7.98251 23.0001 8.14362 23.0001 8.2896 22.986C9.71748 22.8475 10.8475 21.7175 10.986 20.2896C11.0002 20.1436 11.0001 19.9825 11 19.7951C11 19.7815 11 19.7677 11 19.7538V15.5607C12.3629 15.7675 13.9717 16.4738 15.3657 17.2336L15.4002 17.2525C15.8569 17.5015 16.2493 17.7154 16.5669 17.8587C16.8593 17.9906 17.2851 18.1605 17.7431 18.1044C18.3164 18.0342 18.7906 17.7526 19.1266 17.2829C19.3906 16.9139 19.4484 16.4761 19.4735 16.1604C19.5 15.8266 19.5 15.4016 19.5 14.9138V14.3885C21.504 13.9338 23 12.1416 23 9.99999C23 7.8584 21.504 6.06623 19.5 5.6115ZM19.5 7.70801V12.292C20.383 11.9062 21 11.0251 21 9.99999C21 8.97483 20.383 8.09379 19.5 7.70801ZM9 13.5V6.49999H6.5C4.567 6.49999 3 8.06699 3 9.99999C3 11.933 4.567 13.5 6.5 13.5H9ZM9 15.5V19.7538C9 20.0059 8.99883 20.0605 8.99533 20.0965C8.94917 20.5725 8.5725 20.9492 8.09654 20.9953C8.06053 20.9988 8.00587 21 7.75379 21C7.55288 21 7.51079 20.9992 7.48004 20.9967C7.08254 20.9641 6.74236 20.6985 6.61441 20.3208C6.60452 20.2916 6.59352 20.2509 6.54479 20.056L5.3771 15.3853C5.73961 15.4605 6.11519 15.5 6.5 15.5H9Z"}));function Tm(){var a;const e=l.useRef(null),{data:t,isPending:r,isError:n}=Ra({throwOnError:!0});return l.useEffect(()=>{var s;if((s=t==null?void 0:t.body)!=null&&s.display_updates){const o=document.createElement("script");o.src="https://widgets-v3.featureos.app/widget.js",o.async=!0,o.id="changelogScript",o.onload=()=>{new window.HellonextWidget({modules:["changelog"],type:"modal",openFrom:"center",theme:"light",accent:"#7b3EF4",selector:"#hellonextWidget",token:"4rE42v3X6L4k0UCiA-Ot7g",enableIndicator:!0,changelogFilters:{per_page:20}}).init()},document.body.appendChild(o),e.current=o}else e.current&&(document.body.removeChild(e.current),e.current=null)},[t]),n?null:r?u.jsx(He,{className:"w-full"}):((a=t.body)==null?void 0:a.display_updates)===!1?null:u.jsx("button",{id:"hellonextWidget","aria-label":"Changelog popup info",className:"flex w-full cursor-pointer items-center gap-2 whitespace-nowrap rounded-md p-2 hover:cursor-pointer hover:bg-neutral-200 active:bg-neutral-300",children:u.jsx(ni,{isActive:!1,icon:u.jsx(Nm,{}),label:"What's New"})})}function Om(){var a;const{setIsOpen:e,isOpen:t}=Ht(),r=bt(),n=ja(((a=r.data)==null?void 0:a.deployment_type)||"other");return u.jsx("div",{children:u.jsx(Xo,{className:`sticky ${n?"top-[128px] h-[calc(100vh_-_64px_-_64px)]":"top-9 h-[calc(100vh_-_64px)]"} overflow-y-auto overflow-x-clip`,children:u.jsxs("div",{className:"flex w-full flex-1 flex-col gap-0.5 self-start",children:[u.jsxs(ei,{icon:u.jsx(Xe,{onClick:()=>e(s=>!s),intent:"secondary",className:"flex h-6 w-6 items-center justify-center bg-transparent p-0",children:u.jsx(dm,{className:`h-5 w-5 fill-neutral-500 transition-transform duration-100 ${!t&&"rotate-180"}`})}),children:[u.jsx(km,{}),u.jsx(Sm,{})]}),u.jsxs(ti,{children:[u.jsxs(ri,{children:[u.jsx(_m,{}),u.jsx("li",{className:"w-full",children:u.jsx(Et,{routePatterns:[T.home],exact:!0,icon:u.jsx(lm,{}),label:"Overview",to:"/"})}),u.jsx("li",{className:"w-full",children:u.jsx(Et,{id:"pipelines-sidebar-link",routePatterns:[T.pipelines.overview,T.pipelines.namespace(":namespace"),T.runs.detail(":runId")],icon:u.jsx(Sl,{}),label:"Pipelines",to:"/pipelines"})}),u.jsx("li",{className:"w-full",children:u.jsx(Et,{id:"models-sidebar-link",routePatterns:[T.models.overview],icon:u.jsx(im,{}),label:"Models",to:T.models.overview})}),u.jsx("li",{className:"w-full",children:u.jsx(Et,{routePatterns:[T.artifacts.overview],icon:u.jsx(cm,{}),label:"Artifacts",to:T.artifacts.overview})}),u.jsx("li",{className:"w-full",children:u.jsx(Et,{id:"stacks-sidebar-link",routePatterns:[T.components.overview,T.components.detail(":componentId"),T.stacks.overview,T.stacks.create.index,T.stacks.create.newInfra,T.stacks.create.existingInfra,T.stacks.create.manual,T.stacks.create.terraform,T.components.edit(":componentId")],icon:u.jsx(wr,{}),label:"Stacks",to:"/stacks"})})]}),u.jsxs("div",{className:"mt-auto",children:[u.jsx(Tm,{}),u.jsx(Et,{id:"settings-sidebar-link",icon:u.jsx(um,{}),label:"Settings",routePatterns:[T.settings.profile,T.settings.members,T.settings.connectors.overview,T.settings.repositories.overview,T.settings.secrets.overview,T.settings.general],to:T.settings.general})]})]})]})})})}function Et({className:e,icon:t,label:r,routePatterns:n,exact:a=!1,...s}){const{pathname:o}=zt(),i=n.map(d=>Oo(d,o)).filter(Boolean),c=a?location.pathname===s.to:i.length>0;return u.jsx(Ju,{isActive:c,children:u.jsx(dn,{...s,className:E(e),children:u.jsx(ni,{isActive:c,icon:t,label:r})})})}function jm(){const{data:e}=vn(),t=window.innerWidth>=1440;return e&&B2(e)?u.jsx(jo,{to:T.survey+`?${new URLSearchParams({redirect:T.onboarding}).toString()}`}):u.jsx("div",{className:"relative flex min-h-screen w-full flex-col",children:u.jsxs(E0,{currentBreadcrumbData:null,setCurrentBreadcrumbData:null,children:[u.jsxs("div",{className:"sticky top-0 z-10",children:[u.jsx(om,{}),u.jsx(sm,{})]}),u.jsx("main",{className:"flex flex-grow flex-col",children:u.jsxs("div",{className:"flex flex-grow",children:[u.jsx(Ku,{initialOpen:t,children:u.jsx(Om,{})}),u.jsxs("div",{className:"w-full overflow-y-hidden",children:[u.jsx(Q0,{}),u.jsx(Z2,{}),u.jsx($t,{})]})]})})]})})}function ie({children:e}){const t=To();if($0(t))return u.jsx(u.Fragment,{children:e??u.jsx("h1",{children:"Not Found"})});throw t}const Rm=e=>l.createElement("svg",{viewBox:"0 0 164 41",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M38.5687 26.4372C39.4273 23.8199 39.7307 21.0524 39.4596 18.3113C39.1886 15.5701 38.3491 12.9156 36.9947 10.5171L23.4049 10.173V10.0031L36.4855 9.67167C34.9057 7.18479 32.7925 5.08049 30.2989 3.51124L19.8021 3.24783V3.0786L29.1313 2.8428C25.3086 0.793659 20.9177 0.0601015 16.6366 0.755425C12.3555 1.45075 8.42238 3.53627 5.44477 6.68988L17.1843 6.98728V7.15723L4.74305 7.46879C1.7071 11.0361 0.0427692 15.5691 0.0490902 20.2534C0.0490902 20.4659 0.04909 20.6712 0.0597115 20.8794C0.0589416 20.8933 0.0589416 20.9073 0.0597115 20.9212L4.74872 21.0401V21.2101L0.0752896 21.3283C0.076044 21.3422 0.076044 21.3562 0.0752896 21.3701C0.246059 24.4527 1.14097 27.4516 2.68745 30.1236L10.5027 30.3211V30.4911L3.02238 30.6809C4.8572 33.6267 7.43286 36.0395 10.4921 37.6782C10.7357 37.8107 10.9821 37.936 11.232 38.0564V21.6477H13.1269C13.1998 21.6476 13.2721 21.6619 13.3395 21.6898C13.4068 21.7176 13.4681 21.7585 13.5197 21.8101C13.5712 21.8616 13.6121 21.9229 13.64 21.9903C13.6678 22.0577 13.6821 22.1299 13.682 22.2028V39.0399C17.6605 40.3291 21.9444 40.3291 25.9229 39.0399V22.2028C25.9228 22.1299 25.9371 22.0577 25.9649 21.9903C25.9928 21.9229 26.0337 21.8616 26.0853 21.8101C26.1368 21.7585 26.1981 21.7176 26.2655 21.6898C26.3329 21.6619 26.4051 21.6476 26.478 21.6477H28.3715V38.0585C28.6179 37.9395 28.8636 37.8149 29.1036 37.6853C31.0356 36.6534 32.7824 35.3073 34.2727 33.7023L29.3663 33.5777V33.4077L34.6601 33.2739C36.2841 31.4243 37.5472 29.2867 38.3839 26.9718L31.32 26.7927V26.6228L38.5687 26.4372ZM31.1118 21.1265H8.49312L8.08455 19.4937H11.232V17.7432H11.875C12.1045 17.7433 12.3317 17.7886 12.5437 17.8765C12.7557 17.9645 12.9483 18.0933 13.1105 18.2556C13.2727 18.4179 13.4014 18.6106 13.4891 18.8227C13.5768 19.0348 13.6219 19.262 13.6219 19.4915H18.5785V17.1605H6.57065C6.33627 15.2947 5.22881 13.8374 5.22881 13.8374C8.49312 14.5943 19.8021 14.6531 19.8021 14.6531C19.8021 14.6531 31.1111 14.5943 34.374 13.8374C34.374 13.8374 33.2687 15.2947 33.0343 17.1605H21.0271V19.4922H25.9838C25.9838 19.2626 26.029 19.0352 26.1169 18.823C26.2048 18.6109 26.3337 18.4181 26.4961 18.2558C26.6585 18.0934 26.8513 17.9646 27.0635 17.8768C27.2757 17.789 27.5031 17.7439 27.7328 17.744H28.3743V19.4922H31.5232L31.1118 21.1265Z",fill:"#431D93"}),l.createElement("path",{d:"M0.0490723 39.59L0.35851 39.493L0.665823 39.4038L1.28328 39.231C1.69468 39.1248 2.10609 39.0185 2.5182 38.93C3.34101 38.7388 4.16452 38.5795 4.98733 38.428C6.63365 38.1327 8.27926 37.9118 9.92558 37.7326C13.2066 37.3907 16.5033 37.2226 19.8021 37.2292C23.1009 37.2278 26.3975 37.398 29.6786 37.739C31.3249 37.9196 32.9705 38.1398 34.6169 38.4344C35.4397 38.5852 36.2632 38.7438 37.086 38.9336C37.4974 39.0249 37.9088 39.1276 38.3209 39.2331L38.9384 39.4045L39.2471 39.4908L39.5558 39.5879V39.8654L34.6176 39.9362L29.6793 39.961L19.8028 40.0078L9.92629 39.9617L4.98803 39.9377L0.0497802 39.8668L0.0490723 39.59Z",fill:"#431D93"}),l.createElement("path",{d:"M152.071 15.7328L151.578 15.2329H147.642L147.146 15.7328V33.7425C147.146 38.2453 150.591 40.2464 154.035 40.2464H163.459L163.951 39.7465V36.2442L163.459 35.7443H154.039C153.056 35.7443 152.071 35.2437 152.071 33.7432L152.071 15.7328Z",fill:"#431D93"}),l.createElement("path",{d:"M134.744 14.9824C131.299 14.9824 128.839 16.4836 127.363 18.4847H126.871C125.887 16.9835 124.41 14.9824 120.475 14.9824C120.153 14.9824 118.168 15.0214 118.168 15.0214L117.672 15.5213V19.0327L118.168 19.5326H119.874C123.008 19.8867 123.427 22.2234 123.427 24.985V39.9966L123.919 40.4965H127.855L128.347 39.9966V25.9883C128.347 21.9862 130.315 19.4852 133.76 19.4852C137.696 19.4852 138.188 21.9869 138.188 24.9885V40.0001L138.684 40.5H142.615L143.107 40.0001V24.9885C143.11 19.4852 141.632 14.9824 134.744 14.9824Z",fill:"#431D93"}),l.createElement("path",{d:"M111.184 15.4829L110.692 15.9828V39.9965L111.184 40.4964H115.12L115.612 39.9965V15.9828L115.12 15.4829H111.184Z",fill:"#431D93"}),l.createElement("path",{d:"M93.6855 39.7536L93.3265 40.1126H89.0121L88.6523 39.7536V22.5023L89.0121 22.1426H93.3244L93.6841 22.5023V39.7536H93.6855Z",fill:"#431D93"}),l.createElement("path",{d:"M96.7196 26.0967L96.3599 25.7377V22.1434L96.7196 21.7837H98.7185C103.032 21.7837 105.547 24.6593 105.547 28.9716V39.7537L105.188 40.1127H100.875L100.516 39.7537V29.3313C100.516 27.5341 99.797 26.0967 97.6401 26.0967H96.7196Z",fill:"#431D93"}),l.createElement("path",{d:"M68.2981 32.9253C68.2118 32.3301 68.169 31.7295 68.1699 31.1281C68.1699 26.0964 71.0455 21.7812 76.796 21.7812C82.5464 21.7812 85.4213 26.0943 85.4213 31.1281V32.5655L85.0623 32.9245H73.9204M79.6708 35.0842L80.0305 34.7245H84.3435L84.7033 35.0842M80.0298 28.9741C80.0298 28.6144 79.6701 26.0985 76.7952 26.0985C73.9204 26.0985 73.5607 28.6144 73.5607 28.9741L73.9197 29.3338H79.6701L80.0298 28.9741Z",fill:"#431D93"}),l.createElement("path",{d:"M84.7024 35.0843C84.3427 37.2405 82.5463 40.4751 77.1548 40.4751C71.7634 40.4751 69.2723 37.2405 68.9126 35.0843L69.2723 34.7246H74.1058L74.4655 35.0843C74.8245 35.803 76.0764 36.1628 77.1562 36.1628C78.2347 36.1628 79.3131 35.803 79.6721 35.0843",fill:"#431D93"}),l.createElement("path",{d:"M64.2167 19.2676H47.3243L46.9653 18.9086V15.3143L47.3243 14.9546H64.2167L64.5764 15.3143V18.9086",fill:"#431D93"}),l.createElement("path",{d:"M52.7156 35.441V35.8007H64.9352L65.2949 36.1604V39.754L64.9352 40.1137H46.9652L46.6055 39.754V35.8007L46.9652 35.0819L51.1812 29.4448L56.9175 22.0572L57.2772 21.6982H62.231L62.5907 22.0572L52.7156 35.441Z",fill:"#431D93"}));function Pm(){return u.jsx("div",{className:"relative flex h-full min-h-screen items-center justify-center bg-gradient-light px-4 lg:px-0",children:u.jsxs("div",{className:"flex flex-col items-center pt-7",children:[u.jsx(Rm,{className:"mb-7 h-7"}),u.jsx($t,{})]})})}function Lm(){const e=Ft(),{data:t}=bt({throwOnError:!0});return l.useEffect(()=>{t&&t.active===!1&&e(T.activateServer+`?redirect=${T.onboarding}`,{replace:!0})},[t]),u.jsx("div",{className:"bg-theme-surface-secondary font-sans font-medium text-theme-text-primary antialiased",children:u.jsx($t,{})})}function Im(){const{setCurrentBreadcrumbData:e}=mn(),r=zt().pathname.split("/").at(-1);return l.useEffect(()=>{r==="stacks"&&e({segment:"stacks",data:null}),r==="components"&&e({segment:"components",data:null})},[r]),u.jsx(ba,{children:u.jsx("h1",{className:"text-display-xs font-semibold capitalize",children:r})})}const Am=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5971 1.18505C11.8629 1.13038 12.1371 1.13038 12.4029 1.18505C12.7102 1.24824 12.9848 1.40207 13.2032 1.52436C13.2235 1.53575 13.2433 1.54687 13.2627 1.55761L20.6627 5.66872C20.6831 5.68009 20.7042 5.6917 20.7258 5.70359C20.9569 5.8309 21.2476 5.99097 21.4707 6.23315C21.6637 6.44253 21.8097 6.6907 21.899 6.96105C22.0024 7.27375 22.0011 7.60553 22.0002 7.8694C22.0001 7.89406 22 7.91813 22 7.94153V16.0586C22 16.082 22.0001 16.1061 22.0002 16.1308C22.0011 16.3946 22.0024 16.7264 21.899 17.0391C21.8097 17.3095 21.6637 17.5576 21.4707 17.767C21.2476 18.0092 20.9569 18.1693 20.7258 18.2966C20.7042 18.3085 20.6831 18.3201 20.6627 18.3314L13.2627 22.4426C13.2433 22.4533 13.2235 22.4644 13.2032 22.4758C12.9848 22.5981 12.7102 22.7519 12.4029 22.8151C12.1371 22.8698 11.8629 22.8698 11.5971 22.8151C11.2898 22.7519 11.0152 22.5981 10.7968 22.4758C10.7765 22.4644 10.7567 22.4533 10.7373 22.4426L3.33733 18.3314C3.31688 18.3201 3.2958 18.3085 3.2742 18.2966C3.04307 18.1693 2.75245 18.0092 2.52927 17.767C2.33632 17.5576 2.1903 17.3095 2.10097 17.0391C1.99765 16.7264 1.99886 16.3946 1.99982 16.1308C1.99991 16.1061 2 16.082 2 16.0586V7.94153C2 7.91813 1.99991 7.89406 1.99982 7.8694C1.99886 7.60553 1.99765 7.27375 2.10097 6.96105C2.1903 6.6907 2.33632 6.44253 2.52927 6.23315C2.75244 5.99097 3.04306 5.8309 3.27419 5.7036C3.29579 5.6917 3.31687 5.68009 3.33733 5.66872L10.7373 1.55761C10.7567 1.54687 10.7765 1.53575 10.7968 1.52436C11.0152 1.40207 11.2898 1.24824 11.5971 1.18505ZM12 3.14907C11.9985 3.1498 11.9969 3.15056 11.9952 3.15136C11.9375 3.1792 11.8602 3.22173 11.7086 3.30592L5.05914 7.00008L12 10.8561L18.9408 7.00006L12.2914 3.30592C12.1398 3.22173 12.0625 3.1792 12.0048 3.15136C12.0031 3.15056 12.0015 3.1498 12 3.14907ZM20 8.69955V16.0586C20 16.2416 19.9996 16.3353 19.9955 16.4031C19.9954 16.4051 19.9953 16.407 19.9951 16.4088C19.9936 16.4098 19.992 16.4108 19.9903 16.4119C19.933 16.4484 19.8513 16.4943 19.6914 16.5831L13 20.3006L13 12.5885L20 8.69955ZM11 12.5885L4 8.69959V16.0586C4 16.2416 4.00042 16.3353 4.0045 16.4031C4.00462 16.4051 4.00475 16.407 4.00487 16.4088C4.0064 16.4098 4.00802 16.4108 4.0097 16.4119C4.067 16.4484 4.14866 16.4943 4.30862 16.5831L11 20.3006L11 12.5885Z"}));function Mm({children:e}){const t=Ft(),n=zt().pathname.split("/").at(-1);function a(s){s==="stacks"&&t(T.stacks.overview),s==="components"&&t(T.components.overview)}return u.jsxs(dd,{onValueChange:a,value:n||"stacks",children:[u.jsxs(li,{children:[u.jsxs(Hn,{className:"flex items-center gap-2 text-text-md",value:"stacks",children:[u.jsx(wr,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),u.jsx("span",{children:"Stacks"})]}),u.jsxs(Hn,{className:"flex items-center gap-2 text-text-md",value:"components",children:[u.jsx(Am,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),u.jsx("span",{children:"Components"})]})]}),u.jsx(Bn,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"stacks",children:e}),u.jsx(Bn,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"components",children:e})]})}function Dm(){return u.jsxs("div",{children:[u.jsx(Im,{}),u.jsx("section",{className:"p-5",children:u.jsx(Mm,{children:u.jsx($t,{})})})]})}const Vm=e=>async()=>(Li()&&await Promise.all([e.ensureQueryData({queryKey:gn(),queryFn:wa}).catch(()=>{}),e.ensureQueryData({queryKey:kl(),queryFn:Nl}).catch(()=>{})]).catch(()=>{}),null),$m=e=>async()=>(await e.ensureQueryData({queryKey:$i(),queryFn:zi}).catch(()=>{}),null);function K({children:e}){const{getAuthState:t,removeAuthState:r}=Di(),n=bt(),a=t();return n.isError||n.isPending?null:(ra(n.data.auth_scheme)&&Ai("true"),!a&&!ra(n.data.auth_scheme)?(r(),u.jsx(jo,{to:T.login+`?${new URLSearchParams({redirect:location.pathname+location.search}).toString()}`})):e)}function zm(){Ii(),window.location.reload()}const Yr=new vc({defaultOptions:{queries:{retry:!1}},queryCache:new yc({onError:e=>{e instanceof Me&&e.status===401&&zm()}})}),Fm=l.lazy(()=>W(()=>import("./page-BiAjLLww.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),Zm=l.lazy(()=>W(()=>import("./page-gRfUvR0E.js"),__vite__mapDeps([9,1,10,6,11,12,3,7,8]))),Hm=l.lazy(()=>W(()=>import("./page-DmOcZO8U.js"),__vite__mapDeps([13,1,14,15,3,11,12,6,16,7,8]))),Bm=l.lazy(()=>W(()=>import("./page-D3m9-YWJ.js"),__vite__mapDeps([17,1,18,16,3,19,20,21,11,12,22,23,24,6,10,25,26,7,8]))),Um=l.lazy(()=>W(()=>import("./page-48DMcIQw.js"),__vite__mapDeps([27,1,18,16,3,19,25,12,11,26,6,10,7,8]))),qm=l.lazy(()=>W(()=>import("./page-B32kCGPe.js"),__vite__mapDeps([28,1,3,29,30,31,32,6,33,34,11,12,35,16,36,37,38,39,40,41,42,43,7,8]))),Wm=l.lazy(()=>W(()=>import("./page-CKVbEdX2.js"),__vite__mapDeps([44,1,3,29,38,6,30,31,32,41,35,16,42,39,33,34,11,12,36,40,7,8]))),Gm=l.lazy(()=>W(()=>import("./page-CwAbTnvK.js"),__vite__mapDeps([45,1,46,47,48,24,31,6,49,50,20,51,41,35,16,42,52,53,4,5,54,55,3,56,43,7,8,57,29,58,59,60,61,62,63,33,64,34,11,12,40]))),Km=l.lazy(()=>W(()=>import("./not-found-DolTp0dr.js"),__vite__mapDeps([65,1,66,3,6,7,8]))),Ym=l.lazy(()=>W(()=>import("./page-Dv3qtvm8.js"),__vite__mapDeps([67,1,30,31,3,32,6,4,5,12,41,42,36,7,8]))),Jm=l.lazy(()=>W(()=>import("./page-DezabeEO.js"),__vite__mapDeps([68,1,6,12,64,11,26,19,41,3,7,8]))),Xm=l.lazy(()=>W(()=>import("./page-BkPPfNfG.js"),__vite__mapDeps([69,1,3,42,6,7,8]))),Qm=l.lazy(()=>W(()=>import("./page-BbRtQC2E.js"),__vite__mapDeps([70,1,71,6,11,12,3,7,8]))),eh=l.lazy(()=>W(()=>import("./page-BBNrvxC1.js"),__vite__mapDeps([72,1,43,73,4,5,74,75,22,23,61,6,3,7,8]))),th=l.lazy(()=>W(()=>import("./page-a1c6o4vv.js"),__vite__mapDeps([76,1,43,74,75,73,4,5,6,3,7,8]))),rh=l.lazy(()=>W(()=>import("./page-BmTf1Lf1.js"),__vite__mapDeps([77,1,6,78,79,4,5,43,80,15,49,3,7,8]))),nh=l.lazy(()=>W(()=>import("./page-BgUR_5z3.js"),__vite__mapDeps([81,1,30,31,3,32,82,57,33,6,11,12,4,5,83,84,41,42,46,85,7,8]))),ah=l.lazy(()=>W(()=>import("./page-BRfeowe0.js"),__vite__mapDeps([86,1,82,57,33,6,11,12,4,5,87,36,3,7,8]))),sh=l.lazy(()=>W(()=>import("./page-BuZC8z6N.js"),__vite__mapDeps([88,1,71,6,11,12,3,7,8]))),oh=l.lazy(()=>W(()=>import("./page-DWOAh8Pp.js"),__vite__mapDeps([89,1,30,31,3,32,90,6,4,5,43,80,15,33,34,11,12,84,36,7,8]))),ih=l.lazy(()=>W(()=>import("./page-CmzmFF4S.js"),__vite__mapDeps([91,1,6,90,4,5,43,80,15,3,30,31,32,11,12,33,34,87,41,58,29,36,7,8]))),lh=l.lazy(()=>W(()=>import("./page-hNHJPQtK.js"),__vite__mapDeps([92,1,57,29,30,31,3,32,6,41,42,93,55,52,53,4,5,54,38,35,16,94,63,62,47,48,24,7,8]))),ch=l.lazy(()=>W(()=>import("./page-BAjhc2bs.js"),__vite__mapDeps([95,1,93,55,52,53,4,5,54,41,42,3,37,29,30,31,32,38,6,39,33,34,11,12,36,40,35,16,96,57,94,63,97,98,62,47,48,24,85,43,7,8]))),uh=l.lazy(()=>W(()=>import("./page-CaTJVICi.js"),__vite__mapDeps([99,1,100,66,101,6,102,57,33,12,53,83,11,47,48,24,15,4,5,103,51,3,104,56,7,8]))),dh=l.lazy(()=>W(()=>import("./page-BEAx6ZvH.js"),__vite__mapDeps([105,1,100,3,6,101,102,57,33,12,53,83,11,47,48,24,15,4,5,103,51,7,8]))),ph=l.lazy(()=>W(()=>import("./page-D-MjLTXS.js"),__vite__mapDeps([106,1,96,57,29,30,31,3,32,94,6,63,41,42,4,5,54,55,97,98,62,47,48,24,33,85,43,36,107,108,109,7,8]))),fh=l.lazy(()=>W(()=>import("./page-DCpZju6a.js"),__vite__mapDeps([110,1,59,75,3,78,111,22,48,6,7,8]))),mh=l.lazy(()=>W(()=>import("./page-C4zMMcaH.js"),__vite__mapDeps([112,1,113,80,15,107,108,94,6,63,3,12,114,115,43,62,47,48,24,60,4,5,98,79,111,22,11,7,8]))),hh=l.lazy(()=>W(()=>import("./page-P81CcE2L.js"),__vite__mapDeps([116,1,12,47,48,24,41,42,6,32,117,104,102,57,33,53,66,101,83,11,15,4,5,103,51,56,16,3,94,63,108,7,8]))),gh=l.lazy(()=>W(()=>import("./page-DEUeF3mO.js"),__vite__mapDeps([118,1,113,80,15,107,108,94,6,63,3,12,100,11,119,47,48,24,117,102,57,33,53,111,22,84,62,97,7,8]))),vh=l.lazy(()=>W(()=>import("./page-mtwS5oci.js"),__vite__mapDeps([120,1,113,80,15,107,108,94,6,63,3,12,109,43,100,11,119,114,115,62,47,48,24,60,4,5,98,79,111,22,7,8]))),yh=l.lazy(()=>W(()=>import("./page-DnY59jOg.js"),__vite__mapDeps([121,1,3,20,6,50,11,12,16,7,8]))),bh=l.lazy(()=>W(()=>import("./page-DivlNKt9.js"),__vite__mapDeps([122,1,123,14,15,3,4,5,6,7,8]))),xh=l.lazy(()=>W(()=>import("./page-bS5tHLDW.js"),__vite__mapDeps([124,1,123,14,15,3,4,5,6,7,8]))),wh=l.lazy(()=>W(()=>import("./page-CPRymOIS.js"),__vite__mapDeps([125,1,18,16,3,19,21,11,12,22,23,24,6,7,8]))),Ch=l.lazy(()=>W(()=>import("./page-ir7Scz2Y.js"),__vite__mapDeps([126,1,103,115,75,57,4,5,74,55,80,15,31,2,3,6,7,8]))),_h=l.lazy(()=>W(()=>import("./404-CYPi9d8E.js"),__vite__mapDeps([127,1,20,75,3,6,7,8]))),Eh=Cc(_c(u.jsxs(z,{loader:$m(Yr),errorElement:u.jsx(ts,{}),element:u.jsx(Lm,{}),children:[u.jsx(z,{loader:Vm(Yr),element:u.jsx(K,{children:u.jsx(jm,{})}),children:u.jsxs(z,{errorElement:u.jsx(ts,{}),children:[u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.home,element:u.jsx(K,{children:u.jsx(Fm,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.upgrade,element:u.jsx(K,{children:u.jsx(Hm,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.pipelines.overview,element:u.jsx(K,{children:u.jsx(qm,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.pipelines.namespace(":namespace"),element:u.jsx(K,{children:u.jsx(Wm,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.models.overview,element:u.jsx(K,{children:u.jsx(bh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.artifacts.overview,element:u.jsx(K,{children:u.jsx(xh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{children:u.jsx(Km,{})}),path:T.runs.detail(":runId"),element:u.jsx(K,{children:u.jsx(Gm,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.onboarding,element:u.jsx(K,{children:u.jsx(Ch,{})})}),u.jsxs(z,{path:"/settings",element:u.jsx(K,{children:u.jsx(Xm,{})}),children:[u.jsx(z,{element:u.jsx(K,{children:u.jsx(sh,{})}),path:"general"}),u.jsx(z,{element:u.jsx(K,{children:u.jsx(Qm,{})}),path:"notifications"}),u.jsx(z,{element:u.jsx(K,{children:u.jsx(rh,{})}),path:"api-tokens"}),u.jsx(z,{path:"repositories",element:u.jsx(K,{children:u.jsx(th,{})})}),u.jsx(z,{path:"connectors",element:u.jsx(K,{children:u.jsx(eh,{})})}),u.jsx(z,{path:"secrets",element:u.jsx(K,{children:u.jsx(nh,{})})}),u.jsx(z,{path:"secrets/:secretId",element:u.jsx(K,{children:u.jsx(ah,{})})}),u.jsx(z,{path:"service-accounts",element:u.jsx(K,{children:u.jsx(oh,{})})}),u.jsx(z,{path:"service-accounts/:serviceAccountId",element:u.jsx(K,{children:u.jsx(ih,{})})}),u.jsx(z,{path:"members",element:u.jsx(K,{children:u.jsx(Ym,{})})}),u.jsx(z,{path:"profile",element:u.jsx(K,{children:u.jsx(Jm,{})})})]}),u.jsxs(z,{element:u.jsx(G0,{}),children:[u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.components.detail(":componentId"),element:u.jsx(K,{children:u.jsx(ch,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.components.edit(":componentId"),element:u.jsx(K,{children:u.jsx(dh,{})})})]}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.components.create,element:u.jsx(K,{children:u.jsx(uh,{})})}),u.jsxs(z,{element:u.jsx(Dm,{}),children:[u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.overview,element:u.jsx(K,{children:u.jsx(ph,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.components.overview,element:u.jsx(K,{children:u.jsx(lh,{})})})]}),u.jsxs(z,{element:u.jsx(K,{children:u.jsx(S0,{})}),children:[u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.create.index,element:u.jsx(K,{children:u.jsx(fh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.create.newInfra,element:u.jsx(K,{children:u.jsx(mh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.create.existingInfra,element:u.jsx(K,{children:u.jsx(gh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.create.terraform,element:u.jsx(K,{children:u.jsx(vh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.create.manual,element:u.jsx(K,{children:u.jsx(hh,{})})})]})]})}),u.jsxs(z,{element:u.jsx(Pm,{}),children:[u.jsx(z,{path:T.login,element:u.jsx(Zm,{})}),u.jsx(z,{path:T.activateUser,element:u.jsx(Bm,{})}),u.jsx(z,{path:T.activateServer,element:u.jsx(Um,{})}),u.jsx(z,{path:T.devices.verify,element:u.jsx(K,{children:u.jsx(yh,{})})}),u.jsx(z,{loader:K0(Yr),path:T.survey,element:u.jsx(K,{children:u.jsx(wh,{})})})]}),u.jsx(z,{path:"*",element:u.jsx(_h,{})})]})));function Sh(){return u.jsx(l.Suspense,{children:u.jsx(w0,{children:u.jsx(Sc,{children:u.jsx(I2,{children:u.jsxs(bc,{client:Yr,children:[u.jsx(kd,{}),u.jsx(Ec,{router:Eh})]})})})})})}Tc.createRoot(document.getElementById("root")).render(u.jsx(w.StrictMode,{children:u.jsx(Sh,{})}));export{Gh as $,da as A,Ga as B,gd as C,si as D,Sl as E,Me as F,ui as G,di as H,c1 as I,ha as J,V0 as K,a1 as L,X2 as M,Rh as N,dd as O,li as P,J2 as Q,Hn as R,He as S,ci as T,o1 as U,Bn as V,ba as W,cm as X,Wr as Y,Qh as Z,A0 as _,ai as a,Gd as a$,W as a0,Ih as a1,Vs as a2,Y2 as a3,Ph as a4,Lh as a5,ld as a6,D0 as a7,fd as a8,hd as a9,M2 as aA,kl as aB,Vh as aC,Pd as aD,$h as aE,Ld as aF,Ad as aG,Yh as aH,Rp as aI,ra as aJ,N0 as aK,zd as aL,Fd as aM,Ed as aN,Z0 as aO,hn as aP,Q2 as aQ,Am as aR,_l as aS,Vd as aT,pm as aU,xi as aV,lm as aW,Xh as aX,qh as aY,Wh as aZ,t1 as a_,Ah as aa,Mh as ab,Jh as ac,O0 as ad,T0 as ae,wr as af,Io as ag,ma as ah,ja as ai,Bd as aj,Nd as ak,Dh as al,yi as am,Od as an,jd as ao,t9 as ap,Dd as aq,bi as ar,Wa as as,e9 as at,$d as au,Zd as av,Hd as aw,Hh as ax,Zh as ay,H2 as az,pa as b,Kd as b0,Yd as b1,Jd as b2,Xd as b3,e1 as b4,Qd as b5,l1 as b6,Bh as b7,Uh as b8,Ud as b9,we as ba,M0 as bb,i1 as bc,Kh as bd,gn as be,hm as bf,gm as bg,zo as bh,Fo as bi,Br as bj,Ho as bk,Zo as bl,zn as bm,bt as c,El as d,Di as e,Sd as f,Em as g,Xe as h,Y0 as i,Be as j,X0 as k,vn as l,E as m,mn as n,ot as o,st as p,R0 as q,T as r,xa as s,zh as t,Ra as u,Fh as v,oi as w,k0 as x,fa as y,va as z};
|
64
|
+
rounded-sm p-0.5 px-1 text-text-md hover:text-purple-900 hover:underline`,to:rm(o,i==null?void 0:i.id),children:typeof(i==null?void 0:i.name)=="string"&&(i==null?void 0:i.name.length)>20?u.jsx(ci,{children:u.jsxs(ui,{children:[u.jsx(di,{className:"hover:text-theme-text-brand hover:underline",children:O0(i==null?void 0:i.name,20)}),u.jsx(ha,{children:i==null?void 0:i.name})]})}):i==null?void 0:i.name})]},c)})})}function sm(){return u.jsx("header",{className:"h-9 border-b border-theme-border-moderate bg-theme-surface-primary",children:u.jsxs("div",{className:"flex h-full items-center justify-between",children:[u.jsx(dn,{"aria-label":"Go to organizations page",to:T.home,className:"flex h-full w-9 flex-shrink-0 items-center justify-center border-r border-theme-border-moderate",children:u.jsx(El,{className:"h-6 w-6 fill-theme-text-brand"})}),u.jsx(am,{}),u.jsx("div",{className:"ml-auto pl-3 pr-4",children:u.jsx(G2,{})})]})})}function om(){var t;const e=bt();return ja(((t=e.data)==null?void 0:t.deployment_type)||"other")?u.jsxs("aside",{className:"flex h-9 items-center justify-between gap-2 bg-warning-400 px-4 py-3",children:[u.jsxs("div",{className:"flex items-center gap-3 truncate",children:[u.jsx(El,{className:"h-5 w-5 shrink-0"}),u.jsx("p",{className:"font-semibold",children:"You are running a local version of ZenML."}),u.jsx("p",{className:"truncate",children:"Please consider deploying it yourself or signing up for ZenML Pro for easy deployment, enhanced features, and support."})]}),u.jsx(Xe,{asChild:!0,intent:"secondary",className:"whitespace-nowrap bg-theme-surface-primary",size:"md",children:u.jsx("a",{href:"https://cloud.zenml.io/signup",rel:"noopener noreferrer",target:"_blank",children:"Try ZenML Pro"})})]}):null}const im=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1C9.55228 1 10 1.44772 10 2V4H14V2C14 1.44772 14.4477 1 15 1C15.5523 1 16 1.44772 16 2V4.02714C16.0868 4.03193 16.1707 4.03756 16.2518 4.04419C16.8139 4.09012 17.3306 4.18868 17.816 4.43597C18.5686 4.81947 19.1805 5.43139 19.564 6.18404C19.8113 6.66937 19.9099 7.18608 19.9558 7.74817C19.9624 7.82933 19.9681 7.91325 19.9729 8H22C22.5523 8 23 8.44772 23 9C23 9.55228 22.5523 10 22 10H20V13H22C22.5523 13 23 13.4477 23 14C23 14.5523 22.5523 15 22 15H19.9984C19.9951 15.4755 19.9853 15.891 19.9558 16.2518C19.9099 16.8139 19.8113 17.3306 19.564 17.816C19.1805 18.5686 18.5686 19.1805 17.816 19.564C17.3306 19.8113 16.8139 19.9099 16.2518 19.9558C16.1707 19.9624 16.0868 19.9681 16 19.9729V22C16 22.5523 15.5523 23 15 23C14.4477 23 14 22.5523 14 22V20H10V22C10 22.5523 9.55228 23 9 23C8.44772 23 8 22.5523 8 22V19.9729C7.91325 19.9681 7.82933 19.9624 7.74817 19.9558C7.18608 19.9099 6.66937 19.8113 6.18404 19.564C5.43139 19.1805 4.81947 18.5686 4.43597 17.816C4.18868 17.3306 4.09012 16.8139 4.04419 16.2518C4.01471 15.891 4.00489 15.4755 4.00163 15H2C1.44772 15 1 14.5523 1 14C1 13.4477 1.44772 13 2 13H4V10H2C1.44772 10 1 9.55228 1 9C1 8.44772 1.44772 8 2 8H4.02714C4.03193 7.91325 4.03756 7.82933 4.04419 7.74817C4.09012 7.18608 4.18868 6.66937 4.43597 6.18404C4.81947 5.43139 5.43139 4.81947 6.18404 4.43597C6.66937 4.18868 7.18608 4.09012 7.74817 4.04419C7.82933 4.03756 7.91325 4.03193 8 4.02714V2C8 1.44772 8.44772 1 9 1ZM6 14.2C6 15.0566 6.00078 15.6389 6.03755 16.089C6.07337 16.5274 6.1383 16.7516 6.21799 16.908C6.40973 17.2843 6.71569 17.5903 7.09202 17.782C7.24842 17.8617 7.47262 17.9266 7.91104 17.9624C8.36113 17.9992 8.94342 18 9.8 18H14.2C15.0566 18 15.6389 17.9992 16.089 17.9624C16.5274 17.9266 16.7516 17.8617 16.908 17.782C17.2843 17.5903 17.5903 17.2843 17.782 16.908C17.8617 16.7516 17.9266 16.5274 17.9624 16.089C17.9992 15.6389 18 15.0566 18 14.2V9.8C18 8.94342 17.9992 8.36113 17.9624 7.91104C17.9266 7.47262 17.8617 7.24842 17.782 7.09202C17.5903 6.71569 17.2843 6.40973 16.908 6.21799C16.7516 6.1383 16.5274 6.07337 16.089 6.03755C15.6389 6.00078 15.0566 6 14.2 6H9.8C8.94342 6 8.36113 6.00078 7.91104 6.03755C7.47262 6.07337 7.24842 6.1383 7.09202 6.21799C6.71569 6.40973 6.40973 6.71569 6.21799 7.09202C6.1383 7.24842 6.07337 7.47262 6.03755 7.91104C6.00078 8.36113 6 8.94342 6 9.8V14.2Z"})),lm=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.24923 6.14303C6.0632 3.17816 8.7764 1 12 1C15.2236 1 17.9368 3.17816 18.7508 6.14303C21.1861 6.70961 23 8.8925 23 11.5C23 13.8963 21.4681 15.9322 19.3332 16.6868C18.8125 16.8708 18.2412 16.5979 18.0572 16.0772C17.8731 15.5565 18.146 14.9851 18.6668 14.8011C20.0275 14.3201 21 13.0224 21 11.5C21 9.67779 19.6067 8.17984 17.828 8.01511C17.375 7.97315 17.0073 7.63059 16.9335 7.18159C16.5436 4.80968 14.4822 3 12 3C9.51785 3 7.45643 4.80968 7.0665 7.18159C6.99268 7.63059 6.62505 7.97315 6.17196 8.01511C4.39329 8.17984 3 9.67779 3 11.5C3 13.0224 3.97251 14.3201 5.33325 14.8011C5.85396 14.9851 6.12689 15.5565 5.94284 16.0772C5.75879 16.5979 5.18747 16.8708 4.66675 16.6868C2.53192 15.9322 1 13.8963 1 11.5C1 8.8925 2.8139 6.70961 5.24923 6.14303Z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 12C8.44772 12 8 12.4477 8 13C8 13.5523 8.44772 14 9 14C9.55228 14 10 13.5523 10 13C10 12.4477 9.55228 12 9 12ZM6 13C6 11.3431 7.34315 10 9 10C10.6569 10 12 11.3431 12 13C12 14.3062 11.1652 15.4175 10 15.8293V17C10 18.1046 10.8954 19 12 19H14V21H12C9.79086 21 8 19.2091 8 17V15.8293C6.83481 15.4175 6 14.3062 6 13Z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 19C15.4477 19 15 19.4477 15 20C15 20.5523 15.4477 21 16 21C16.5523 21 17 20.5523 17 20C17 19.4477 16.5523 19 16 19ZM13 20C13 18.3431 14.3431 17 16 17C17.6569 17 19 18.3431 19 20C19 21.6569 17.6569 23 16 23C14.3431 23 13 21.6569 13 20Z"})),cm=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 3.01991C12.8143 3.00299 12.5391 3.00006 12.0118 3.00006H8.8C7.94342 3.00006 7.36113 3.00084 6.91104 3.03761C6.47262 3.07343 6.24842 3.13836 6.09202 3.21805C5.7157 3.4098 5.40973 3.71576 5.21799 4.09208C5.1383 4.24848 5.07337 4.47269 5.03755 4.9111C5.00078 5.36119 5 5.94348 5 6.80006V17.2001C5 18.0566 5.00078 18.6389 5.03755 19.089C5.07337 19.5274 5.1383 19.7516 5.21799 19.908C5.40973 20.2844 5.7157 20.5903 6.09202 20.7821C6.24842 20.8618 6.47262 20.9267 6.91104 20.9625C7.36113 20.9993 7.94342 21.0001 8.8 21.0001H15.2C16.0566 21.0001 16.6389 20.9993 17.089 20.9625C17.5274 20.9267 17.7516 20.8618 17.908 20.7821C18.2843 20.5903 18.5903 20.2844 18.782 19.908C18.8617 19.7516 18.9266 19.5274 18.9624 19.089C18.9992 18.6389 19 18.0566 19 17.2001V9.98829C19 9.46092 18.9971 9.18576 18.9802 9.00006L15.5681 9.00007C15.3157 9.0001 15.0699 9.00012 14.8618 8.98312C14.6332 8.96444 14.3634 8.92037 14.092 8.78208C13.7157 8.59033 13.4097 8.28437 13.218 7.90804C13.0797 7.63662 13.0356 7.36689 13.0169 7.13829C12.9999 6.93013 13 6.68433 13 6.43195L13 3.01991ZM14.3903 1.34854C14.1654 1.24798 13.9314 1.16826 13.6911 1.11058C13.2284 0.9995 12.7487 0.999729 12.1137 1.00003C12.0801 1.00005 12.0462 1.00006 12.0118 1.00006L8.7587 1.00006C7.95373 1.00005 7.28937 1.00004 6.74817 1.04426C6.18608 1.09018 5.66937 1.18875 5.18404 1.43604C4.43139 1.81953 3.81947 2.43145 3.43597 3.1841C3.18868 3.66944 3.09012 4.18614 3.04419 4.74824C2.99998 5.28943 2.99999 5.95379 3 6.75876V17.2414C2.99999 18.0463 2.99998 18.7107 3.04419 19.2519C3.09012 19.814 3.18868 20.3307 3.43597 20.816C3.81947 21.5687 4.43139 22.1806 5.18404 22.5641C5.66937 22.8114 6.18608 22.9099 6.74817 22.9559C7.28936 23.0001 7.95372 23.0001 8.75868 23.0001H15.2413C16.0463 23.0001 16.7106 23.0001 17.2518 22.9559C17.8139 22.9099 18.3306 22.8114 18.816 22.5641C19.5686 22.1806 20.1805 21.5687 20.564 20.816C20.8113 20.3307 20.9099 19.814 20.9558 19.2519C21 18.7107 21 18.0463 21 17.2414V9.98829C21 9.95389 21 9.91994 21 9.88642C21.0003 9.25142 21.0006 8.77162 20.8895 8.30892C20.8318 8.06868 20.7521 7.83466 20.6515 7.60979C20.6449 7.59413 20.6378 7.57867 20.6304 7.56343C20.5653 7.42257 20.4919 7.28542 20.4106 7.15271C20.1619 6.74698 19.8225 6.40788 19.3733 5.95907C19.3496 5.93539 19.3255 5.91139 19.3012 5.88707L16.113 2.69884C16.0887 2.67452 16.0647 2.6505 16.041 2.62678C15.5922 2.17756 15.2531 1.83813 14.8474 1.5895C14.7146 1.50818 14.5775 1.43479 14.4367 1.36964C14.4214 1.36222 14.4059 1.35519 14.3903 1.34854ZM15 4.41428V6.40006C15 6.69659 15.0008 6.85884 15.0103 6.97543C15.0107 6.98007 15.0111 6.98446 15.0114 6.98861C15.0156 6.989 15.02 6.98938 15.0246 6.98976C15.1412 6.99929 15.3035 7.00006 15.6 7.00006H17.5858L15 4.41428Z"})),um=e=>l.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("g",{id:"settings"},l.createElement("g",{id:"Icon (Stroke)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79084 8 7.99998 9.79086 7.99998 12C7.99998 14.2091 9.79084 16 12 16ZM14 12C14 13.1046 13.1046 14 12 14C10.8954 14 9.99998 13.1046 9.99998 12C9.99998 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3426 2.32757C13.1416 0.826354 10.8583 0.826356 9.65737 2.32758L7.8196 4.62479C7.62983 4.86201 7.34251 5.0001 7.03873 5.0001H5.23605C3.0059 5.0001 1.55541 7.34703 2.55277 9.34174L3.65834 11.5529C3.7991 11.8344 3.7991 12.1658 3.65834 12.4473L2.55277 14.6585C1.55542 16.6532 3.0059 19.0001 5.23605 19.0001H7.03873C7.34251 19.0001 7.62983 19.1382 7.8196 19.3754L9.65737 21.6726C10.8584 23.1738 13.1416 23.1738 14.3426 21.6726L16.1804 19.3754C16.3701 19.1382 16.6574 19.0001 16.9612 19.0001H18.7639C20.9941 19.0001 22.4445 16.6532 21.4472 14.6585L20.3416 12.4473C20.2009 12.1658 20.2009 11.8344 20.3416 11.5529L21.4472 9.34174C22.4445 7.34703 20.9941 5.0001 18.7639 5.0001H16.9612C16.6574 5.0001 16.3701 4.86201 16.1804 4.62479L14.3426 2.32757ZM11.2191 3.57697C11.6194 3.07656 12.3805 3.07656 12.7808 3.57696L14.6186 5.87418C15.1879 6.58583 16.0499 7.0001 16.9612 7.0001H18.7639C19.5073 7.0001 19.9908 7.78241 19.6583 8.44731L18.5528 10.6585C18.1305 11.503 18.1305 12.4972 18.5528 13.3417L19.6583 15.5529C19.9908 16.2178 19.5073 17.0001 18.7639 17.0001H16.9612C16.0499 17.0001 15.1879 17.4144 14.6186 18.126L12.7809 20.4232C12.3805 20.9236 11.6194 20.9236 11.2191 20.4232L9.38134 18.126C8.81202 17.4144 7.95008 17.0001 7.03873 17.0001H5.23605C4.49267 17.0001 4.00917 16.2178 4.34162 15.5529L5.44719 13.3417C5.86949 12.4972 5.86949 11.503 5.44719 10.6585L4.34162 8.44731C4.00917 7.78241 4.49267 7.0001 5.23605 7.0001H7.03873C7.95008 7.0001 8.81202 6.58583 9.38134 5.87418L11.2191 3.57697Z"})))),dm=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2C3.55228 2 4 2.44772 4 3V21C4 21.5523 3.55228 22 3 22C2.44772 22 2 21.5523 2 21V3C2 2.44772 2.44772 2 3 2ZM14.7071 4.29289C15.0976 4.68342 15.0976 5.31658 14.7071 5.70711L9.41421 11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H9.41421L14.7071 18.2929C15.0976 18.6834 15.0976 19.3166 14.7071 19.7071C14.3166 20.0976 13.6834 20.0976 13.2929 19.7071L6.29289 12.7071C5.90237 12.3166 5.90237 11.6834 6.29289 11.2929L13.2929 4.29289C13.6834 3.90237 14.3166 3.90237 14.7071 4.29289Z"})),pm=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("g",{id:"chevron-right"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M8.29289 5.29289C8.68342 4.90237 9.31658 4.90237 9.70711 5.29289L15.7071 11.2929C16.0976 11.6834 16.0976 12.3166 15.7071 12.7071L9.70711 18.7071C9.31658 19.0976 8.68342 19.0976 8.29289 18.7071C7.90237 18.3166 7.90237 17.6834 8.29289 17.2929L13.5858 12L8.29289 6.70711C7.90237 6.31658 7.90237 5.68342 8.29289 5.29289Z"})));function fm(){return["onboarding_state"]}async function mm(){const e=ot(st.onboarding),t=await Be(e,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok){const r=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Failed to update activate user");throw new Me({status:t.status,statusText:t.statusText,message:r})}return t.json()}function hm(e){return Nr({queryKey:fm(),queryFn:async()=>mm(),...e})}function Dr(e){return[...e?[]:["device_verified"],"pipeline_run","stack_with_remote_artifact_store_created","pipeline_run_with_remote_artifact_store"]}const Er="production_setup_completed";function gm(e,t){const r=wm(e,t),n=Cm(t);return{itemsDone:r,totalItems:n,items:Dr(t),isFinished:e.includes(Er),progress:r/n*100,finalStep:Er,hasItem:a=>ym(a,e),getItem:a=>vm(a,e,t)}}function vm(e,t,r){return{isCompleted:t.includes(e),hasDownStreamStep:bm(e,t,r),isActive:xm(e,t,r)}}function ym(e,t){return t.includes(e)}function bm(e,t,r){const a=[...Dr(r),Er],s=a.indexOf(e);return s===-1?!1:a.slice(s+1).some(i=>t.includes(i))}function xm(e,t,r){const n=Dr(r);if(n.length===0)return!1;const a=n.indexOf(e);if(a===-1||t.includes(e))return!1;if(a===0)return!0;const s=n[a-1];return t.includes(s)}function wm(e,t){const n=Dr(t).filter(s=>s!==Er);if(e.includes(Er))return n.length;let a=-1;return n.forEach((s,o)=>{e.includes(s)&&(a=o)}),a+1}function Cm(e){return Dr(e).length}function _m(){const e=hm({refetchInterval:36e5}),t=bt(),{isOpen:r}=Ht();if(e.isError||t.isError)return null;if(e.isPending||t.isPending)return u.jsx(Ga,{className:"w-full rounded-md p-2",children:u.jsx(He,{className:"h-5"})});const n=gm(e.data,ja(t.data.deployment_type||"other")),a="Quick Setup",s=n.itemsDone,o=n.totalItems,i=n.progress;return n.isFinished?null:u.jsx("li",{className:"w-full",children:u.jsx(dn,{to:T.onboarding,children:u.jsxs(Ga,{className:"w-full gap-2 rounded-md p-2",children:[u.jsxs("div",{className:`m-0 flex h-0 items-center justify-between truncate transition-all duration-300 ${r?"mb-2 h-5":"opacity-0 group-hover:mb-2 group-hover:h-5 group-hover:opacity-100"} `,children:[a,u.jsx(pm,{className:"h-4 w-4 fill-theme-text-primary"})]}),u.jsxs("div",{className:"flex items-center gap-[10px]",children:[u.jsxs("span",{className:"text-text-sm",children:[s,"/",o]}),u.jsx(xi,{className:"h-1 rounded-rounded",value:i})]})]})})})}function kl(){return["settings"]}async function Nl(){const e=ot(st.settings),t=await Be(e,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok){const r=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Failed to load Server Settings");throw new Me({status:t.status,statusText:t.statusText,message:r})}return t.json()}function Ra(e){return Nr({queryKey:kl(),queryFn:async()=>Nl(),...e})}function Em(e,t=24){return`https://avatar.vercel.sh/${e}?size=${t}`}function Sm(){var n;const{data:e,isPending:t,isError:r}=Ra({throwOnError:!0});return r?null:t?u.jsx(He,{className:"h-3 w-full"}):u.jsx(Qo,{children:(n=e.body)==null?void 0:n.server_name})}function km(){var n,a;const{data:e,isPending:t,isError:r}=Ra({throwOnError:!0});return r?null:t?u.jsx(He,{className:"h-3 w-full"}):u.jsx(Yu,{children:u.jsxs(da,{size:"md",type:"square",children:[u.jsx(ai,{src:Em(((n=e.body)==null?void 0:n.server_name)||"default")}),u.jsx(pa,{size:"md",children:((a=e.body)==null?void 0:a.server_name[0])||"D"})]})})}const Nm=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.3895 3.96431C17.1492 4.07271 16.824 4.24923 16.3229 4.52236C14.8504 5.32506 12.8498 6.24557 11 6.45574V13.5442C12.8498 13.7544 14.8504 14.6749 16.3229 15.4776C16.824 15.7507 17.1492 15.9273 17.3895 16.0357C17.4214 16.0501 17.4492 16.062 17.4733 16.0719C17.4755 16.0514 17.4777 16.0281 17.4798 16.0019C17.4992 15.7574 17.5 15.4134 17.5 14.8737V5.12627C17.5 4.58658 17.4992 4.24258 17.4798 3.99803C17.4777 3.97185 17.4755 3.94861 17.4733 3.9281C17.4492 3.93799 17.4214 3.94992 17.3895 3.96431ZM19.5 5.6115V5.08612C19.5 4.59837 19.5 4.17334 19.4735 3.83962C19.4484 3.52389 19.3906 3.08606 19.1266 2.71706C18.7906 2.24734 18.3164 1.96574 17.7431 1.89553C17.2851 1.83943 16.8593 2.00935 16.5669 2.14128C16.2493 2.2846 15.857 2.49849 15.4002 2.74747L15.3657 2.76633C13.7058 3.67118 11.7411 4.49999 10.25 4.49999H6.5C3.46243 4.49999 0.999998 6.96242 1 9.99999C1 11.7254 1.79451 13.2652 3.03764 14.2736L4.6045 20.5411C4.60714 20.5516 4.60974 20.5621 4.61232 20.5724C4.64879 20.7185 4.68044 20.8453 4.72013 20.9624C5.10397 22.0957 6.1245 22.8925 7.31701 22.99C7.4403 23.0001 7.571 23 7.72156 23C7.73221 23 7.74295 23 7.75379 23C7.7677 23 7.78146 23 7.79509 23C7.98251 23.0001 8.14362 23.0001 8.2896 22.986C9.71748 22.8475 10.8475 21.7175 10.986 20.2896C11.0002 20.1436 11.0001 19.9825 11 19.7951C11 19.7815 11 19.7677 11 19.7538V15.5607C12.3629 15.7675 13.9717 16.4738 15.3657 17.2336L15.4002 17.2525C15.8569 17.5015 16.2493 17.7154 16.5669 17.8587C16.8593 17.9906 17.2851 18.1605 17.7431 18.1044C18.3164 18.0342 18.7906 17.7526 19.1266 17.2829C19.3906 16.9139 19.4484 16.4761 19.4735 16.1604C19.5 15.8266 19.5 15.4016 19.5 14.9138V14.3885C21.504 13.9338 23 12.1416 23 9.99999C23 7.8584 21.504 6.06623 19.5 5.6115ZM19.5 7.70801V12.292C20.383 11.9062 21 11.0251 21 9.99999C21 8.97483 20.383 8.09379 19.5 7.70801ZM9 13.5V6.49999H6.5C4.567 6.49999 3 8.06699 3 9.99999C3 11.933 4.567 13.5 6.5 13.5H9ZM9 15.5V19.7538C9 20.0059 8.99883 20.0605 8.99533 20.0965C8.94917 20.5725 8.5725 20.9492 8.09654 20.9953C8.06053 20.9988 8.00587 21 7.75379 21C7.55288 21 7.51079 20.9992 7.48004 20.9967C7.08254 20.9641 6.74236 20.6985 6.61441 20.3208C6.60452 20.2916 6.59352 20.2509 6.54479 20.056L5.3771 15.3853C5.73961 15.4605 6.11519 15.5 6.5 15.5H9Z"}));function Tm(){var a;const e=l.useRef(null),{data:t,isPending:r,isError:n}=Ra({throwOnError:!0});return l.useEffect(()=>{var s;if((s=t==null?void 0:t.body)!=null&&s.display_updates){const o=document.createElement("script");o.src="https://widgets-v3.featureos.app/widget.js",o.async=!0,o.id="changelogScript",o.onload=()=>{new window.HellonextWidget({modules:["changelog"],type:"modal",openFrom:"center",theme:"light",accent:"#7b3EF4",selector:"#hellonextWidget",token:"4rE42v3X6L4k0UCiA-Ot7g",enableIndicator:!0,changelogFilters:{per_page:20}}).init()},document.body.appendChild(o),e.current=o}else e.current&&(document.body.removeChild(e.current),e.current=null)},[t]),n?null:r?u.jsx(He,{className:"w-full"}):((a=t.body)==null?void 0:a.display_updates)===!1?null:u.jsx("button",{id:"hellonextWidget","aria-label":"Changelog popup info",className:"flex w-full cursor-pointer items-center gap-2 whitespace-nowrap rounded-md p-2 hover:cursor-pointer hover:bg-neutral-200 active:bg-neutral-300",children:u.jsx(ni,{isActive:!1,icon:u.jsx(Nm,{}),label:"What's New"})})}function Om(){var a;const{setIsOpen:e,isOpen:t}=Ht(),r=bt(),n=ja(((a=r.data)==null?void 0:a.deployment_type)||"other");return u.jsx("div",{children:u.jsx(Xo,{className:`sticky ${n?"top-[128px] h-[calc(100vh_-_64px_-_64px)]":"top-9 h-[calc(100vh_-_64px)]"} overflow-y-auto overflow-x-clip`,children:u.jsxs("div",{className:"flex w-full flex-1 flex-col gap-0.5 self-start",children:[u.jsxs(ei,{icon:u.jsx(Xe,{onClick:()=>e(s=>!s),intent:"secondary",className:"flex h-6 w-6 items-center justify-center bg-transparent p-0",children:u.jsx(dm,{className:`h-5 w-5 fill-neutral-500 transition-transform duration-100 ${!t&&"rotate-180"}`})}),children:[u.jsx(km,{}),u.jsx(Sm,{})]}),u.jsxs(ti,{children:[u.jsxs(ri,{children:[u.jsx(_m,{}),u.jsx("li",{className:"w-full",children:u.jsx(Et,{routePatterns:[T.home],exact:!0,icon:u.jsx(lm,{}),label:"Overview",to:"/"})}),u.jsx("li",{className:"w-full",children:u.jsx(Et,{id:"pipelines-sidebar-link",routePatterns:[T.pipelines.overview,T.pipelines.namespace(":namespace"),T.runs.detail(":runId")],icon:u.jsx(Sl,{}),label:"Pipelines",to:"/pipelines"})}),u.jsx("li",{className:"w-full",children:u.jsx(Et,{id:"models-sidebar-link",routePatterns:[T.models.overview],icon:u.jsx(im,{}),label:"Models",to:T.models.overview})}),u.jsx("li",{className:"w-full",children:u.jsx(Et,{routePatterns:[T.artifacts.overview],icon:u.jsx(cm,{}),label:"Artifacts",to:T.artifacts.overview})}),u.jsx("li",{className:"w-full",children:u.jsx(Et,{id:"stacks-sidebar-link",routePatterns:[T.components.overview,T.components.detail(":componentId"),T.stacks.overview,T.stacks.create.index,T.stacks.create.newInfra,T.stacks.create.existingInfra,T.stacks.create.manual,T.stacks.create.terraform,T.components.edit(":componentId")],icon:u.jsx(wr,{}),label:"Stacks",to:"/stacks"})})]}),u.jsxs("div",{className:"mt-auto",children:[u.jsx(Tm,{}),u.jsx(Et,{id:"settings-sidebar-link",icon:u.jsx(um,{}),label:"Settings",routePatterns:[T.settings.profile,T.settings.members,T.settings.connectors.overview,T.settings.repositories.overview,T.settings.secrets.overview,T.settings.general],to:T.settings.general})]})]})]})})})}function Et({className:e,icon:t,label:r,routePatterns:n,exact:a=!1,...s}){const{pathname:o}=zt(),i=n.map(d=>Oo(d,o)).filter(Boolean),c=a?location.pathname===s.to:i.length>0;return u.jsx(Ju,{isActive:c,children:u.jsx(dn,{...s,className:E(e),children:u.jsx(ni,{isActive:c,icon:t,label:r})})})}function jm(){const{data:e}=vn(),t=window.innerWidth>=1440;return e&&B2(e)?u.jsx(jo,{to:T.survey+`?${new URLSearchParams({redirect:T.onboarding}).toString()}`}):u.jsx("div",{className:"relative flex min-h-screen w-full flex-col",children:u.jsxs(E0,{currentBreadcrumbData:null,setCurrentBreadcrumbData:null,children:[u.jsxs("div",{className:"sticky top-0 z-10",children:[u.jsx(om,{}),u.jsx(sm,{})]}),u.jsx("main",{className:"flex flex-grow flex-col",children:u.jsxs("div",{className:"flex flex-grow",children:[u.jsx(Ku,{initialOpen:t,children:u.jsx(Om,{})}),u.jsxs("div",{className:"w-full overflow-y-hidden",children:[u.jsx(Q0,{}),u.jsx(Z2,{}),u.jsx($t,{})]})]})})]})})}function ie({children:e}){const t=To();if($0(t))return u.jsx(u.Fragment,{children:e??u.jsx("h1",{children:"Not Found"})});throw t}const Rm=e=>l.createElement("svg",{viewBox:"0 0 164 41",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M38.5687 26.4372C39.4273 23.8199 39.7307 21.0524 39.4596 18.3113C39.1886 15.5701 38.3491 12.9156 36.9947 10.5171L23.4049 10.173V10.0031L36.4855 9.67167C34.9057 7.18479 32.7925 5.08049 30.2989 3.51124L19.8021 3.24783V3.0786L29.1313 2.8428C25.3086 0.793659 20.9177 0.0601015 16.6366 0.755425C12.3555 1.45075 8.42238 3.53627 5.44477 6.68988L17.1843 6.98728V7.15723L4.74305 7.46879C1.7071 11.0361 0.0427692 15.5691 0.0490902 20.2534C0.0490902 20.4659 0.04909 20.6712 0.0597115 20.8794C0.0589416 20.8933 0.0589416 20.9073 0.0597115 20.9212L4.74872 21.0401V21.2101L0.0752896 21.3283C0.076044 21.3422 0.076044 21.3562 0.0752896 21.3701C0.246059 24.4527 1.14097 27.4516 2.68745 30.1236L10.5027 30.3211V30.4911L3.02238 30.6809C4.8572 33.6267 7.43286 36.0395 10.4921 37.6782C10.7357 37.8107 10.9821 37.936 11.232 38.0564V21.6477H13.1269C13.1998 21.6476 13.2721 21.6619 13.3395 21.6898C13.4068 21.7176 13.4681 21.7585 13.5197 21.8101C13.5712 21.8616 13.6121 21.9229 13.64 21.9903C13.6678 22.0577 13.6821 22.1299 13.682 22.2028V39.0399C17.6605 40.3291 21.9444 40.3291 25.9229 39.0399V22.2028C25.9228 22.1299 25.9371 22.0577 25.9649 21.9903C25.9928 21.9229 26.0337 21.8616 26.0853 21.8101C26.1368 21.7585 26.1981 21.7176 26.2655 21.6898C26.3329 21.6619 26.4051 21.6476 26.478 21.6477H28.3715V38.0585C28.6179 37.9395 28.8636 37.8149 29.1036 37.6853C31.0356 36.6534 32.7824 35.3073 34.2727 33.7023L29.3663 33.5777V33.4077L34.6601 33.2739C36.2841 31.4243 37.5472 29.2867 38.3839 26.9718L31.32 26.7927V26.6228L38.5687 26.4372ZM31.1118 21.1265H8.49312L8.08455 19.4937H11.232V17.7432H11.875C12.1045 17.7433 12.3317 17.7886 12.5437 17.8765C12.7557 17.9645 12.9483 18.0933 13.1105 18.2556C13.2727 18.4179 13.4014 18.6106 13.4891 18.8227C13.5768 19.0348 13.6219 19.262 13.6219 19.4915H18.5785V17.1605H6.57065C6.33627 15.2947 5.22881 13.8374 5.22881 13.8374C8.49312 14.5943 19.8021 14.6531 19.8021 14.6531C19.8021 14.6531 31.1111 14.5943 34.374 13.8374C34.374 13.8374 33.2687 15.2947 33.0343 17.1605H21.0271V19.4922H25.9838C25.9838 19.2626 26.029 19.0352 26.1169 18.823C26.2048 18.6109 26.3337 18.4181 26.4961 18.2558C26.6585 18.0934 26.8513 17.9646 27.0635 17.8768C27.2757 17.789 27.5031 17.7439 27.7328 17.744H28.3743V19.4922H31.5232L31.1118 21.1265Z",fill:"#431D93"}),l.createElement("path",{d:"M0.0490723 39.59L0.35851 39.493L0.665823 39.4038L1.28328 39.231C1.69468 39.1248 2.10609 39.0185 2.5182 38.93C3.34101 38.7388 4.16452 38.5795 4.98733 38.428C6.63365 38.1327 8.27926 37.9118 9.92558 37.7326C13.2066 37.3907 16.5033 37.2226 19.8021 37.2292C23.1009 37.2278 26.3975 37.398 29.6786 37.739C31.3249 37.9196 32.9705 38.1398 34.6169 38.4344C35.4397 38.5852 36.2632 38.7438 37.086 38.9336C37.4974 39.0249 37.9088 39.1276 38.3209 39.2331L38.9384 39.4045L39.2471 39.4908L39.5558 39.5879V39.8654L34.6176 39.9362L29.6793 39.961L19.8028 40.0078L9.92629 39.9617L4.98803 39.9377L0.0497802 39.8668L0.0490723 39.59Z",fill:"#431D93"}),l.createElement("path",{d:"M152.071 15.7328L151.578 15.2329H147.642L147.146 15.7328V33.7425C147.146 38.2453 150.591 40.2464 154.035 40.2464H163.459L163.951 39.7465V36.2442L163.459 35.7443H154.039C153.056 35.7443 152.071 35.2437 152.071 33.7432L152.071 15.7328Z",fill:"#431D93"}),l.createElement("path",{d:"M134.744 14.9824C131.299 14.9824 128.839 16.4836 127.363 18.4847H126.871C125.887 16.9835 124.41 14.9824 120.475 14.9824C120.153 14.9824 118.168 15.0214 118.168 15.0214L117.672 15.5213V19.0327L118.168 19.5326H119.874C123.008 19.8867 123.427 22.2234 123.427 24.985V39.9966L123.919 40.4965H127.855L128.347 39.9966V25.9883C128.347 21.9862 130.315 19.4852 133.76 19.4852C137.696 19.4852 138.188 21.9869 138.188 24.9885V40.0001L138.684 40.5H142.615L143.107 40.0001V24.9885C143.11 19.4852 141.632 14.9824 134.744 14.9824Z",fill:"#431D93"}),l.createElement("path",{d:"M111.184 15.4829L110.692 15.9828V39.9965L111.184 40.4964H115.12L115.612 39.9965V15.9828L115.12 15.4829H111.184Z",fill:"#431D93"}),l.createElement("path",{d:"M93.6855 39.7536L93.3265 40.1126H89.0121L88.6523 39.7536V22.5023L89.0121 22.1426H93.3244L93.6841 22.5023V39.7536H93.6855Z",fill:"#431D93"}),l.createElement("path",{d:"M96.7196 26.0967L96.3599 25.7377V22.1434L96.7196 21.7837H98.7185C103.032 21.7837 105.547 24.6593 105.547 28.9716V39.7537L105.188 40.1127H100.875L100.516 39.7537V29.3313C100.516 27.5341 99.797 26.0967 97.6401 26.0967H96.7196Z",fill:"#431D93"}),l.createElement("path",{d:"M68.2981 32.9253C68.2118 32.3301 68.169 31.7295 68.1699 31.1281C68.1699 26.0964 71.0455 21.7812 76.796 21.7812C82.5464 21.7812 85.4213 26.0943 85.4213 31.1281V32.5655L85.0623 32.9245H73.9204M79.6708 35.0842L80.0305 34.7245H84.3435L84.7033 35.0842M80.0298 28.9741C80.0298 28.6144 79.6701 26.0985 76.7952 26.0985C73.9204 26.0985 73.5607 28.6144 73.5607 28.9741L73.9197 29.3338H79.6701L80.0298 28.9741Z",fill:"#431D93"}),l.createElement("path",{d:"M84.7024 35.0843C84.3427 37.2405 82.5463 40.4751 77.1548 40.4751C71.7634 40.4751 69.2723 37.2405 68.9126 35.0843L69.2723 34.7246H74.1058L74.4655 35.0843C74.8245 35.803 76.0764 36.1628 77.1562 36.1628C78.2347 36.1628 79.3131 35.803 79.6721 35.0843",fill:"#431D93"}),l.createElement("path",{d:"M64.2167 19.2676H47.3243L46.9653 18.9086V15.3143L47.3243 14.9546H64.2167L64.5764 15.3143V18.9086",fill:"#431D93"}),l.createElement("path",{d:"M52.7156 35.441V35.8007H64.9352L65.2949 36.1604V39.754L64.9352 40.1137H46.9652L46.6055 39.754V35.8007L46.9652 35.0819L51.1812 29.4448L56.9175 22.0572L57.2772 21.6982H62.231L62.5907 22.0572L52.7156 35.441Z",fill:"#431D93"}));function Pm(){return u.jsx("div",{className:"relative flex h-full min-h-screen items-center justify-center bg-gradient-light px-4 lg:px-0",children:u.jsxs("div",{className:"flex flex-col items-center pt-7",children:[u.jsx(Rm,{className:"mb-7 h-7"}),u.jsx($t,{})]})})}function Lm(){const e=Ft(),{data:t}=bt({throwOnError:!0});return l.useEffect(()=>{t&&t.active===!1&&e(T.activateServer+`?redirect=${T.onboarding}`,{replace:!0})},[t]),u.jsx("div",{className:"bg-theme-surface-secondary font-sans font-medium text-theme-text-primary antialiased",children:u.jsx($t,{})})}function Im(){const{setCurrentBreadcrumbData:e}=mn(),r=zt().pathname.split("/").at(-1);return l.useEffect(()=>{r==="stacks"&&e({segment:"stacks",data:null}),r==="components"&&e({segment:"components",data:null})},[r]),u.jsx(ba,{children:u.jsx("h1",{className:"text-display-xs font-semibold capitalize",children:r})})}const Am=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5971 1.18505C11.8629 1.13038 12.1371 1.13038 12.4029 1.18505C12.7102 1.24824 12.9848 1.40207 13.2032 1.52436C13.2235 1.53575 13.2433 1.54687 13.2627 1.55761L20.6627 5.66872C20.6831 5.68009 20.7042 5.6917 20.7258 5.70359C20.9569 5.8309 21.2476 5.99097 21.4707 6.23315C21.6637 6.44253 21.8097 6.6907 21.899 6.96105C22.0024 7.27375 22.0011 7.60553 22.0002 7.8694C22.0001 7.89406 22 7.91813 22 7.94153V16.0586C22 16.082 22.0001 16.1061 22.0002 16.1308C22.0011 16.3946 22.0024 16.7264 21.899 17.0391C21.8097 17.3095 21.6637 17.5576 21.4707 17.767C21.2476 18.0092 20.9569 18.1693 20.7258 18.2966C20.7042 18.3085 20.6831 18.3201 20.6627 18.3314L13.2627 22.4426C13.2433 22.4533 13.2235 22.4644 13.2032 22.4758C12.9848 22.5981 12.7102 22.7519 12.4029 22.8151C12.1371 22.8698 11.8629 22.8698 11.5971 22.8151C11.2898 22.7519 11.0152 22.5981 10.7968 22.4758C10.7765 22.4644 10.7567 22.4533 10.7373 22.4426L3.33733 18.3314C3.31688 18.3201 3.2958 18.3085 3.2742 18.2966C3.04307 18.1693 2.75245 18.0092 2.52927 17.767C2.33632 17.5576 2.1903 17.3095 2.10097 17.0391C1.99765 16.7264 1.99886 16.3946 1.99982 16.1308C1.99991 16.1061 2 16.082 2 16.0586V7.94153C2 7.91813 1.99991 7.89406 1.99982 7.8694C1.99886 7.60553 1.99765 7.27375 2.10097 6.96105C2.1903 6.6907 2.33632 6.44253 2.52927 6.23315C2.75244 5.99097 3.04306 5.8309 3.27419 5.7036C3.29579 5.6917 3.31687 5.68009 3.33733 5.66872L10.7373 1.55761C10.7567 1.54687 10.7765 1.53575 10.7968 1.52436C11.0152 1.40207 11.2898 1.24824 11.5971 1.18505ZM12 3.14907C11.9985 3.1498 11.9969 3.15056 11.9952 3.15136C11.9375 3.1792 11.8602 3.22173 11.7086 3.30592L5.05914 7.00008L12 10.8561L18.9408 7.00006L12.2914 3.30592C12.1398 3.22173 12.0625 3.1792 12.0048 3.15136C12.0031 3.15056 12.0015 3.1498 12 3.14907ZM20 8.69955V16.0586C20 16.2416 19.9996 16.3353 19.9955 16.4031C19.9954 16.4051 19.9953 16.407 19.9951 16.4088C19.9936 16.4098 19.992 16.4108 19.9903 16.4119C19.933 16.4484 19.8513 16.4943 19.6914 16.5831L13 20.3006L13 12.5885L20 8.69955ZM11 12.5885L4 8.69959V16.0586C4 16.2416 4.00042 16.3353 4.0045 16.4031C4.00462 16.4051 4.00475 16.407 4.00487 16.4088C4.0064 16.4098 4.00802 16.4108 4.0097 16.4119C4.067 16.4484 4.14866 16.4943 4.30862 16.5831L11 20.3006L11 12.5885Z"}));function Mm({children:e}){const t=Ft(),n=zt().pathname.split("/").at(-1);function a(s){s==="stacks"&&t(T.stacks.overview),s==="components"&&t(T.components.overview)}return u.jsxs(dd,{onValueChange:a,value:n||"stacks",children:[u.jsxs(li,{children:[u.jsxs(Hn,{className:"flex items-center gap-2 text-text-md",value:"stacks",children:[u.jsx(wr,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),u.jsx("span",{children:"Stacks"})]}),u.jsxs(Hn,{className:"flex items-center gap-2 text-text-md",value:"components",children:[u.jsx(Am,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),u.jsx("span",{children:"Components"})]})]}),u.jsx(Bn,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"stacks",children:e}),u.jsx(Bn,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"components",children:e})]})}function Dm(){return u.jsxs("div",{children:[u.jsx(Im,{}),u.jsx("section",{className:"p-5",children:u.jsx(Mm,{children:u.jsx($t,{})})})]})}const Vm=e=>async()=>(Li()&&await Promise.all([e.ensureQueryData({queryKey:gn(),queryFn:wa}).catch(()=>{}),e.ensureQueryData({queryKey:kl(),queryFn:Nl}).catch(()=>{})]).catch(()=>{}),null),$m=e=>async()=>(await e.ensureQueryData({queryKey:$i(),queryFn:zi}).catch(()=>{}),null);function K({children:e}){const{getAuthState:t,removeAuthState:r}=Di(),n=bt(),a=t();return n.isError||n.isPending?null:(ra(n.data.auth_scheme)&&Ai("true"),!a&&!ra(n.data.auth_scheme)?(r(),u.jsx(jo,{to:T.login+`?${new URLSearchParams({redirect:location.pathname+location.search}).toString()}`})):e)}function zm(){Ii(),window.location.reload()}const Yr=new vc({defaultOptions:{queries:{retry:!1}},queryCache:new yc({onError:e=>{e instanceof Me&&e.status===401&&zm()}})}),Fm=l.lazy(()=>W(()=>import("./page-DLVtrRa5.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),Zm=l.lazy(()=>W(()=>import("./page-CjRoKEQs.js"),__vite__mapDeps([9,1,10,6,11,12,3,7,8]))),Hm=l.lazy(()=>W(()=>import("./page-BQVPbNps.js"),__vite__mapDeps([13,1,14,15,3,11,12,6,16,7,8]))),Bm=l.lazy(()=>W(()=>import("./page-BbygQpf-.js"),__vite__mapDeps([17,1,18,16,3,19,20,21,11,12,22,23,24,6,10,25,26,7,8]))),Um=l.lazy(()=>W(()=>import("./page-C30HZCTR.js"),__vite__mapDeps([27,1,18,16,3,19,25,12,11,26,6,10,7,8]))),qm=l.lazy(()=>W(()=>import("./page-DKY_U5Sz.js"),__vite__mapDeps([28,1,3,29,30,31,32,6,33,34,11,12,35,16,36,37,38,39,40,41,42,43,7,8]))),Wm=l.lazy(()=>W(()=>import("./page-Bki79xdd.js"),__vite__mapDeps([44,1,3,29,38,6,30,31,32,41,35,16,42,39,33,34,11,12,36,40,7,8]))),Gm=l.lazy(()=>W(()=>import("./page-CBGeo-7W.js"),__vite__mapDeps([45,1,46,47,48,24,31,6,49,50,20,51,41,35,16,42,52,53,4,5,54,55,3,56,43,7,8,57,29,58,59,60,61,62,63,33,64,34,11,12,40]))),Km=l.lazy(()=>W(()=>import("./not-found-BuK1QrF2.js"),__vite__mapDeps([65,1,66,3,6,7,8]))),Ym=l.lazy(()=>W(()=>import("./page-BnKwJnOb.js"),__vite__mapDeps([67,1,30,31,3,32,6,4,5,12,41,42,36,7,8]))),Jm=l.lazy(()=>W(()=>import("./page-DpY1koQY.js"),__vite__mapDeps([68,1,6,12,64,11,26,19,41,3,7,8]))),Xm=l.lazy(()=>W(()=>import("./page-3lW9eIer.js"),__vite__mapDeps([69,1,3,42,6,7,8]))),Qm=l.lazy(()=>W(()=>import("./page-DbEn9V9E.js"),__vite__mapDeps([70,1,71,6,11,12,3,7,8]))),eh=l.lazy(()=>W(()=>import("./page-hVng6ANV.js"),__vite__mapDeps([72,1,43,73,4,5,74,75,22,23,61,6,3,7,8]))),th=l.lazy(()=>W(()=>import("./page-_Zt6UwiG.js"),__vite__mapDeps([76,1,43,74,75,73,4,5,6,3,7,8]))),rh=l.lazy(()=>W(()=>import("./page-C7buw8xJ.js"),__vite__mapDeps([77,1,6,78,79,4,5,43,80,15,49,3,7,8]))),nh=l.lazy(()=>W(()=>import("./page-Jw2QAdxa.js"),__vite__mapDeps([81,1,30,31,3,32,82,57,33,6,11,12,4,5,83,84,41,42,46,85,7,8]))),ah=l.lazy(()=>W(()=>import("./page-BEibNYiA.js"),__vite__mapDeps([86,1,82,57,33,6,11,12,4,5,87,36,3,7,8]))),sh=l.lazy(()=>W(()=>import("./page-DwIlrsF0.js"),__vite__mapDeps([88,1,71,6,11,12,3,7,8]))),oh=l.lazy(()=>W(()=>import("./page-Co-FJ5ds.js"),__vite__mapDeps([89,1,30,31,3,32,90,6,4,5,43,80,15,33,34,11,12,84,36,7,8]))),ih=l.lazy(()=>W(()=>import("./page-BOE2XBFy.js"),__vite__mapDeps([91,1,6,90,4,5,43,80,15,3,30,31,32,11,12,33,34,87,41,58,29,36,7,8]))),lh=l.lazy(()=>W(()=>import("./page-D0QcEBi1.js"),__vite__mapDeps([92,1,57,29,30,31,3,32,6,41,42,93,55,52,53,4,5,54,38,35,16,94,63,62,47,48,24,7,8]))),ch=l.lazy(()=>W(()=>import("./page-9PzQok8O.js"),__vite__mapDeps([95,1,93,55,52,53,4,5,54,41,42,3,37,29,30,31,32,38,6,39,33,34,11,12,36,40,35,16,96,57,94,63,97,98,62,47,48,24,85,43,7,8]))),uh=l.lazy(()=>W(()=>import("./page-CZgeF_wQ.js"),__vite__mapDeps([99,1,100,66,101,6,102,57,33,12,53,83,11,47,48,24,15,4,5,103,51,3,104,56,7,8]))),dh=l.lazy(()=>W(()=>import("./page-CIDo1Ajk.js"),__vite__mapDeps([105,1,100,3,6,101,102,57,33,12,53,83,11,47,48,24,15,4,5,103,51,7,8]))),ph=l.lazy(()=>W(()=>import("./page-Cu8vuohQ.js"),__vite__mapDeps([106,1,96,57,29,30,31,3,32,94,6,63,41,42,4,5,54,55,97,98,62,47,48,24,33,85,43,36,107,108,109,7,8]))),fh=l.lazy(()=>W(()=>import("./page-CgJcperk.js"),__vite__mapDeps([110,1,59,75,3,78,111,22,48,6,7,8]))),mh=l.lazy(()=>W(()=>import("./page-0AIX3VK8.js"),__vite__mapDeps([112,1,113,80,15,107,108,94,6,63,3,12,114,115,43,62,47,48,24,60,4,5,98,79,111,22,11,7,8]))),hh=l.lazy(()=>W(()=>import("./page-DrS4WOup.js"),__vite__mapDeps([116,1,12,47,48,24,41,42,6,32,117,104,102,57,33,53,66,101,83,11,15,4,5,103,51,56,16,3,94,63,108,7,8]))),gh=l.lazy(()=>W(()=>import("./page-DQHU5o_C.js"),__vite__mapDeps([118,1,113,80,15,107,108,94,6,63,3,12,100,11,119,47,48,24,117,102,57,33,53,111,22,84,62,97,7,8]))),vh=l.lazy(()=>W(()=>import("./page-Czj8fu8q.js"),__vite__mapDeps([120,1,113,80,15,107,108,94,6,63,3,12,109,43,100,11,119,114,115,62,47,48,24,60,4,5,98,79,111,22,7,8]))),yh=l.lazy(()=>W(()=>import("./page-HIAPXq4w.js"),__vite__mapDeps([121,1,3,20,6,50,11,12,16,7,8]))),bh=l.lazy(()=>W(()=>import("./page-KRP_w5zH.js"),__vite__mapDeps([122,1,123,14,15,3,4,5,6,7,8]))),xh=l.lazy(()=>W(()=>import("./page-B5clbTo4.js"),__vite__mapDeps([124,1,123,14,15,3,4,5,6,7,8]))),wh=l.lazy(()=>W(()=>import("./page-DHDeVaMO.js"),__vite__mapDeps([125,1,18,16,3,19,21,11,12,22,23,24,6,7,8]))),Ch=l.lazy(()=>W(()=>import("./page-C-6XUKSp.js"),__vite__mapDeps([126,1,103,115,75,57,4,5,74,55,80,15,31,2,3,6,7,8]))),_h=l.lazy(()=>W(()=>import("./404-o3nB5iwI.js"),__vite__mapDeps([127,1,20,75,3,6,7,8]))),Eh=Cc(_c(u.jsxs(z,{loader:$m(Yr),errorElement:u.jsx(ts,{}),element:u.jsx(Lm,{}),children:[u.jsx(z,{loader:Vm(Yr),element:u.jsx(K,{children:u.jsx(jm,{})}),children:u.jsxs(z,{errorElement:u.jsx(ts,{}),children:[u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.home,element:u.jsx(K,{children:u.jsx(Fm,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.upgrade,element:u.jsx(K,{children:u.jsx(Hm,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.pipelines.overview,element:u.jsx(K,{children:u.jsx(qm,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.pipelines.namespace(":namespace"),element:u.jsx(K,{children:u.jsx(Wm,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.models.overview,element:u.jsx(K,{children:u.jsx(bh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.artifacts.overview,element:u.jsx(K,{children:u.jsx(xh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{children:u.jsx(Km,{})}),path:T.runs.detail(":runId"),element:u.jsx(K,{children:u.jsx(Gm,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.onboarding,element:u.jsx(K,{children:u.jsx(Ch,{})})}),u.jsxs(z,{path:"/settings",element:u.jsx(K,{children:u.jsx(Xm,{})}),children:[u.jsx(z,{element:u.jsx(K,{children:u.jsx(sh,{})}),path:"general"}),u.jsx(z,{element:u.jsx(K,{children:u.jsx(Qm,{})}),path:"notifications"}),u.jsx(z,{element:u.jsx(K,{children:u.jsx(rh,{})}),path:"api-tokens"}),u.jsx(z,{path:"repositories",element:u.jsx(K,{children:u.jsx(th,{})})}),u.jsx(z,{path:"connectors",element:u.jsx(K,{children:u.jsx(eh,{})})}),u.jsx(z,{path:"secrets",element:u.jsx(K,{children:u.jsx(nh,{})})}),u.jsx(z,{path:"secrets/:secretId",element:u.jsx(K,{children:u.jsx(ah,{})})}),u.jsx(z,{path:"service-accounts",element:u.jsx(K,{children:u.jsx(oh,{})})}),u.jsx(z,{path:"service-accounts/:serviceAccountId",element:u.jsx(K,{children:u.jsx(ih,{})})}),u.jsx(z,{path:"members",element:u.jsx(K,{children:u.jsx(Ym,{})})}),u.jsx(z,{path:"profile",element:u.jsx(K,{children:u.jsx(Jm,{})})})]}),u.jsxs(z,{element:u.jsx(G0,{}),children:[u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.components.detail(":componentId"),element:u.jsx(K,{children:u.jsx(ch,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.components.edit(":componentId"),element:u.jsx(K,{children:u.jsx(dh,{})})})]}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.components.create,element:u.jsx(K,{children:u.jsx(uh,{})})}),u.jsxs(z,{element:u.jsx(Dm,{}),children:[u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.overview,element:u.jsx(K,{children:u.jsx(ph,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.components.overview,element:u.jsx(K,{children:u.jsx(lh,{})})})]}),u.jsxs(z,{element:u.jsx(K,{children:u.jsx(S0,{})}),children:[u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.create.index,element:u.jsx(K,{children:u.jsx(fh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.create.newInfra,element:u.jsx(K,{children:u.jsx(mh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.create.existingInfra,element:u.jsx(K,{children:u.jsx(gh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.create.terraform,element:u.jsx(K,{children:u.jsx(vh,{})})}),u.jsx(z,{errorElement:u.jsx(ie,{}),path:T.stacks.create.manual,element:u.jsx(K,{children:u.jsx(hh,{})})})]})]})}),u.jsxs(z,{element:u.jsx(Pm,{}),children:[u.jsx(z,{path:T.login,element:u.jsx(Zm,{})}),u.jsx(z,{path:T.activateUser,element:u.jsx(Bm,{})}),u.jsx(z,{path:T.activateServer,element:u.jsx(Um,{})}),u.jsx(z,{path:T.devices.verify,element:u.jsx(K,{children:u.jsx(yh,{})})}),u.jsx(z,{loader:K0(Yr),path:T.survey,element:u.jsx(K,{children:u.jsx(wh,{})})})]}),u.jsx(z,{path:"*",element:u.jsx(_h,{})})]})));function Sh(){return u.jsx(l.Suspense,{children:u.jsx(w0,{children:u.jsx(Sc,{children:u.jsx(I2,{children:u.jsxs(bc,{client:Yr,children:[u.jsx(kd,{}),u.jsx(Ec,{router:Eh})]})})})})})}Tc.createRoot(document.getElementById("root")).render(u.jsx(w.StrictMode,{children:u.jsx(Sh,{})}));export{Gh as $,da as A,Ga as B,gd as C,si as D,Sl as E,Me as F,ui as G,di as H,c1 as I,ha as J,V0 as K,a1 as L,X2 as M,Rh as N,dd as O,li as P,J2 as Q,Hn as R,He as S,ci as T,o1 as U,Bn as V,ba as W,cm as X,Wr as Y,Qh as Z,A0 as _,ai as a,Gd as a$,W as a0,Ih as a1,Vs as a2,Y2 as a3,Ph as a4,Lh as a5,ld as a6,D0 as a7,fd as a8,hd as a9,M2 as aA,kl as aB,Vh as aC,Pd as aD,$h as aE,Ld as aF,Ad as aG,Yh as aH,Rp as aI,ra as aJ,N0 as aK,zd as aL,Fd as aM,Ed as aN,Z0 as aO,hn as aP,Q2 as aQ,Am as aR,_l as aS,Vd as aT,pm as aU,xi as aV,lm as aW,Xh as aX,qh as aY,Wh as aZ,t1 as a_,Ah as aa,Mh as ab,Jh as ac,O0 as ad,T0 as ae,wr as af,Io as ag,ma as ah,ja as ai,Bd as aj,Nd as ak,Dh as al,yi as am,Od as an,jd as ao,t9 as ap,Dd as aq,bi as ar,Wa as as,e9 as at,$d as au,Zd as av,Hd as aw,Hh as ax,Zh as ay,H2 as az,pa as b,Kd as b0,Yd as b1,Jd as b2,Xd as b3,e1 as b4,Qd as b5,l1 as b6,Bh as b7,Uh as b8,Ud as b9,we as ba,M0 as bb,i1 as bc,Kh as bd,gn as be,hm as bf,gm as bg,zo as bh,Fo as bi,Br as bj,Ho as bk,Zo as bl,zn as bm,bt as c,El as d,Di as e,Sd as f,Em as g,Xe as h,Y0 as i,Be as j,X0 as k,vn as l,E as m,mn as n,ot as o,st as p,R0 as q,T as r,xa as s,zh as t,Ra as u,Fh as v,oi as w,k0 as x,fa as y,va as z};
|
@@ -1 +1 @@
|
|
1
|
-
import{i as A,q as T}from"./@tanstack-CSxjHCME.js";import{o as g,p as N,q as R,j as S,s as v,F as b,z as c,h as E,aq as k,aC as I,aD as P,aE as _,aF as J,aj as K,aG as V,ae as G,I as C,b6 as L}from"./index-Be2jLIYM.js";import{j as a}from"./@radix-C7hRs6Kx.js";import{S as B}from"./plus-COjQg3AG.js";import{S as Q}from"./trash-BWSZ7NRK.js";import{b as f,a as Z,C as x}from"./index.esm-D7jFlf5N.js";import{c as H,i as M}from"./type-guards-CaeD8wHO.js";async function O(e){const r=g(N.flavors.all)+(e?`?${R(e)}`:""),t=await S(r,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const o=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Error while fetching flavors");throw new b({status:t.status,statusText:t.statusText,message:o})}return t.json()}async function U(e){const r=g(N.flavors.detail(e)),t=await S(r,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const o=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>`Error while fetching flavor ${e}`);throw new b({status:t.status,statusText:t.statusText,message:o})}return t.json()}const F={all:["flavors"],flavorList:e=>T({queryKey:[...F.all,e],queryFn:async()=>O(e)}),flavorDetail:e=>T({queryKey:[...F.all,e],queryFn:async()=>U(e)}),flavorListInfinite:e=>A({queryKey:[...F.all,e,"infinite"],queryFn:({pageParam:r})=>O({...e,page:r}),getNextPageParam:r=>r.index<r.total_pages?r.index+1:null,initialPageParam:1})};function Se(e){const r=Object.keys(e).reduce((t,o)=>(t[o]=c.string().trim().min(1),t),{});return c.object(r)}function ve(e){if(!e.properties)return c.object({});const r=e.required||[],t=e.properties,o=Object.keys(t).reduce((n,s)=>{const i=t[s];if(!i)return n;const l=Y(s,r);return n[s]=$(i,e.$defs,l),n},{});return c.object(o)}function $(e,r,t,o=!1){let n=w(e,r);if(n.anyOf){const i=n.anyOf.find(l=>l.type!==null);i&&(n=w(i,r))}switch(n.allOf&&(n=w(n.allOf[0],r)),n.type){case"string":return t?c.string().trim():c.string().trim().min(1,"Required");case"boolean":return t?c.union([c.literal(""),c.boolean()]):c.boolean();case"array":{if(o)return t?c.union([c.literal(""),p]):p;const i=c.array($(n.items||{},r,!1,!1));return t?i:i.min(1)}case"object":return t?c.union([c.literal(""),p]):p;case"integer":return t?c.union([c.literal(""),c.preprocess(i=>Number(i),c.number().int())]):c.preprocess(i=>Number(i),c.number().int());default:return t?c.union([c.literal(""),c.string()]):c.string().min(1,"Required")}}function Y(e,r){return!r.includes(e)}const p=c.string().refine(e=>{try{return JSON.parse(e),!0}catch{return!1}},{message:"Invalid JSON"}).transform(e=>e===""?e:JSON.parse(e));function w(e,r){if(!e.$ref||!r)return e;const t=e.$ref.split("/").pop();return!t||!r[t]?e:r[t]}function d({label:e,isOptional:r}){return a.jsxs(a.Fragment,{children:[e,!r&&a.jsx("span",{className:"text-theme-text-error","aria-label":"required",children:"*"})]})}function W({name:e,label:r,isOptional:t,schema:o,definitions:n}){const s=f(),{fields:i,append:l,remove:u}=Z({name:e,control:s.control});return a.jsxs("div",{className:"space-y-3",children:[!!r&&a.jsx("label",{className:"text-text-sm",children:a.jsx(d,{label:r,isOptional:t})}),a.jsx("ul",{className:"space-y-5",children:i.map((h,m)=>a.jsxs("li",{className:"flex w-full items-center gap-4 [&>div]:w-full",children:[a.jsx(fe,{isNested:!0,name:`${e}.${m}`,schema:o,isOptional:t,definitions:n}),a.jsxs(E,{className:"h-7 w-7",emphasis:"subtle",size:"sm",type:"button",onClick:()=>u(m),children:[a.jsx(Q,{className:"h-5 w-5 fill-primary-900"}),a.jsx("span",{className:"sr-only",children:"remove"})]})]},h.id))}),a.jsxs(E,{className:"h-7 w-7",emphasis:"subtle",type:"button",onClick:()=>l(""),children:[a.jsx(B,{className:"h-5 w-5 fill-primary-900"}),a.jsx("p",{className:"sr-only",children:"Add Item"})]})]})}function X({name:e,isOptional:r,label:t}){var s;const o=f(),n=o.formState.errors[e];return a.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[!!t&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:t,isOptional:r})}),a.jsx(x,{control:o.control,name:e,render:({field:{onChange:i,value:l,...u}})=>a.jsx(k,{id:e,checked:l,onCheckedChange:h=>i(h),...u})}),n&&a.jsx("p",{className:"text-text-sm text-error-500",children:(s=n.message)==null?void 0:s.toString()})]})}function ee({name:e,label:r,isOptional:t,enumValues:o}){var i;const n=f(),s=n.formState.errors[e];return a.jsxs("div",{className:"space-y-0.5",children:[!!r&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:r,isOptional:t})}),a.jsx(x,{control:n.control,name:e,render:({field:{onChange:l,ref:u,...h}})=>a.jsxs(I,{...h,onValueChange:l,children:[a.jsx(P,{"data-error":s?"true":"false",className:"h-7 max-w-full truncate border border-neutral-300 px-2 text-left text-text-sm data-[error=true]:border-error-500",children:a.jsx(_,{placeholder:"Select Option"})}),a.jsx(J,{children:a.jsx(K,{viewportClassName:"max-h-[300px]",children:o.map(m=>a.jsx(V,{className:"space-x-2",value:m,children:m},m))})})]})}),s&&a.jsx("p",{className:"text-text-sm text-error-500",children:(i=s.message)==null?void 0:i.toString()})]})}function re(e){return e.type==="string"}function te(e){return e.type==="string"&&e.enum!==void 0}function se(e){return e.type==="string"&&!!e.sensitive}function D(e){return e.type==="boolean"}function z(e){return e.type==="object"}function y(e){return e.type==="array"}function ne(e){return e.type==="integer"}function ae(e){var r;return((r=e.enum)==null?void 0:r.map(t=>t.toString()))||[]}function j(e,r){if(!e.$ref||!r)return e;const t=e.$ref.replace("#/$defs/",""),o=r[t];return o||console.error(`Could not resolve $ref: ${e.$ref}`),o}function oe(e,r){return e.title?e.title:G(r)}function be(e,r){const t=Object.entries(e.properties||{}).reduce((o,[n,s])=>{let i="";return s.default?D(s)?i=s.default:z(s)?i=JSON.stringify(s.default):y(s)?i=s.default:i=s.default.toString():y(s)&&(i=[]),{...o,[n]:i}},{});return r&&Object.entries(r).forEach(([o,n])=>{t[o]=H(n)?n.map(s=>JSON.stringify(s)):M(n)?JSON.stringify(n):n}),t}function ie({name:e,isOptional:r,label:t}){var s;const o=f(),n=o.formState.errors[e];return a.jsxs("div",{className:"space-y-0.5",children:[!!t&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:t,isOptional:r})}),a.jsx(x,{control:o.control,name:e,render:({field:i})=>a.jsx(C,{inputSize:"md",className:"w-full data-[error=true]:border-error-500",id:e,...i,type:"number","data-error":n?"true":"false"})}),n&&a.jsx("p",{className:"text-text-sm text-error-500",children:(s=n.message)==null?void 0:s.toString()})]})}function ce({name:e,label:r,isOptional:t}){var s;const o=f(),n=o.formState.errors[e];return a.jsxs("div",{className:"space-y-0.5",children:[!!r&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:r,isOptional:t})}),a.jsx(x,{control:o.control,name:e,render:({field:i})=>a.jsx("textarea",{rows:4,placeholder:"Please paste your JSON",className:L({inputSize:"md",className:"h-auto w-full resize-none font-mono data-[error=true]:border-error-500"}),id:e,...i,"data-error":n?"true":"false"})}),n&&a.jsx("p",{className:"text-text-sm text-error-500",children:(s=n.message)==null?void 0:s.toString()})]})}function le({name:e,isOptional:r,label:t}){var s;const o=f(),n=o.formState.errors[e];return a.jsxs("div",{className:"space-y-0.5",children:[!!t&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:t,isOptional:r})}),a.jsx(x,{control:o.control,name:e,render:({field:i})=>a.jsx(C,{inputSize:"md",className:"w-full data-[error=true]:border-error-500",id:e,...i,"data-error":n?"true":"false"})}),n&&a.jsx("p",{className:"text-text-sm text-error-500",children:(s=n.message)==null?void 0:s.toString()})]})}function ue({name:e,label:r,isOptional:t}){var s;const o=f(),n=o.formState.errors[e];return a.jsxs("div",{className:"space-y-0.5",children:[!!r&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:r,isOptional:t})}),a.jsx(x,{control:o.control,name:e,render:({field:i})=>a.jsx(C,{placeholder:"Use {{<SECRET_NAME>.<SECRET_KEY>}} to reference a secret",inputSize:"md",className:"w-full placeholder:font-mono data-[error=true]:border-error-500",id:e,...i,type:"text","data-error":n?"true":"false"})}),n&&a.jsx("p",{className:"text-text-sm text-error-500",children:(s=n.message)==null?void 0:s.toString()})]})}function fe({schema:e,name:r,isOptional:t,definitions:o,isNested:n}){let s=j(e,o);n&&s.items&&(s=j(s.items,o)),n&&s.prefixItems&&(s=j(s.prefixItems[0],o));const i=n?"":oe(s,r);if(s.anyOf){const l=s.anyOf.find(u=>u.type!==null);if(l){const u=j(l,o);s={...s,...u}}}if(s.allOf){const l=j(s.allOf[0],o);s={...s,...l}}if(te(s))return a.jsx(ee,{name:r,label:i,schema:e,isOptional:t,enumValues:ae(s)});if(se(s))return a.jsx(ue,{name:r,label:i,schema:s,isOptional:t});if(ne(s))return a.jsx(ie,{name:r,label:i,schema:s,isOptional:t});if(re(s))return a.jsx(le,{name:r,label:i,schema:s,isOptional:t});if(D(s))return a.jsx(X,{name:r,label:i,schema:s,isOptional:t});if(z(s)||y(s)&&n)return a.jsx(ce,{name:r,label:i,schema:s,isOptional:t});if(y(s))return a.jsx(W,{definitions:o,name:r,label:i,schema:s,isOptional:t})}async function de(e){const r=g(N.serviceConnectors.types.detail(e)),t=await S(r,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const o=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Error while fetching service connector type");throw new b({status:t.status,statusText:t.statusText,message:o})}return t.json()}async function me(e){const r=R(e).toString(),t=g(N.serviceConnectors.list+(r?`?${r}`:"")),o=await S(t,{method:"GET",headers:{"Content-Type":"application/json"}});if(o.status===404&&v(),!o.ok){const n=await o.json().then(s=>Array.isArray(s.detail)?s.detail[1]:s.detail).catch(()=>"Error while fetching service connector list");throw new b({status:o.status,statusText:o.statusText,message:n})}return o.json()}const q={connectorTypes:["service_connector_types"],connectors:["service_connectors"],serviceConnectorTypeDetail:e=>T({queryKey:[...q.connectorTypes,e],queryFn:async()=>de(e)}),serviceConnectorListInfinite:(e={})=>A({queryKey:[...q.connectors,e,"infinite"],queryFn:({pageParam:r})=>me({...e,page:r}),getNextPageParam:r=>r.index<r.total_pages?r.index+1:null,initialPageParam:1})};export{fe as D,be as a,Y as b,F as f,ve as g,q as s,Se as z};
|
1
|
+
import{i as A,q as T}from"./@tanstack-CSxjHCME.js";import{o as g,p as N,q as R,j as S,s as v,F as b,z as c,h as E,aq as k,aC as I,aD as P,aE as _,aF as J,aj as K,aG as V,ae as G,I as C,b6 as L}from"./index-hsSXyS3H.js";import{j as a}from"./@radix-C7hRs6Kx.js";import{S as B}from"./plus-COjQg3AG.js";import{S as Q}from"./trash-BWSZ7NRK.js";import{b as f,a as Z,C as x}from"./index.esm-D7jFlf5N.js";import{c as H,i as M}from"./type-guards-CaeD8wHO.js";async function O(e){const r=g(N.flavors.all)+(e?`?${R(e)}`:""),t=await S(r,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const o=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Error while fetching flavors");throw new b({status:t.status,statusText:t.statusText,message:o})}return t.json()}async function U(e){const r=g(N.flavors.detail(e)),t=await S(r,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const o=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>`Error while fetching flavor ${e}`);throw new b({status:t.status,statusText:t.statusText,message:o})}return t.json()}const F={all:["flavors"],flavorList:e=>T({queryKey:[...F.all,e],queryFn:async()=>O(e)}),flavorDetail:e=>T({queryKey:[...F.all,e],queryFn:async()=>U(e)}),flavorListInfinite:e=>A({queryKey:[...F.all,e,"infinite"],queryFn:({pageParam:r})=>O({...e,page:r}),getNextPageParam:r=>r.index<r.total_pages?r.index+1:null,initialPageParam:1})};function Se(e){const r=Object.keys(e).reduce((t,o)=>(t[o]=c.string().trim().min(1),t),{});return c.object(r)}function ve(e){if(!e.properties)return c.object({});const r=e.required||[],t=e.properties,o=Object.keys(t).reduce((n,s)=>{const i=t[s];if(!i)return n;const l=Y(s,r);return n[s]=$(i,e.$defs,l),n},{});return c.object(o)}function $(e,r,t,o=!1){let n=w(e,r);if(n.anyOf){const i=n.anyOf.find(l=>l.type!==null);i&&(n=w(i,r))}switch(n.allOf&&(n=w(n.allOf[0],r)),n.type){case"string":return t?c.string().trim():c.string().trim().min(1,"Required");case"boolean":return t?c.union([c.literal(""),c.boolean()]):c.boolean();case"array":{if(o)return t?c.union([c.literal(""),p]):p;const i=c.array($(n.items||{},r,!1,!1));return t?i:i.min(1)}case"object":return t?c.union([c.literal(""),p]):p;case"integer":return t?c.union([c.literal(""),c.preprocess(i=>Number(i),c.number().int())]):c.preprocess(i=>Number(i),c.number().int());default:return t?c.union([c.literal(""),c.string()]):c.string().min(1,"Required")}}function Y(e,r){return!r.includes(e)}const p=c.string().refine(e=>{try{return JSON.parse(e),!0}catch{return!1}},{message:"Invalid JSON"}).transform(e=>e===""?e:JSON.parse(e));function w(e,r){if(!e.$ref||!r)return e;const t=e.$ref.split("/").pop();return!t||!r[t]?e:r[t]}function d({label:e,isOptional:r}){return a.jsxs(a.Fragment,{children:[e,!r&&a.jsx("span",{className:"text-theme-text-error","aria-label":"required",children:"*"})]})}function W({name:e,label:r,isOptional:t,schema:o,definitions:n}){const s=f(),{fields:i,append:l,remove:u}=Z({name:e,control:s.control});return a.jsxs("div",{className:"space-y-3",children:[!!r&&a.jsx("label",{className:"text-text-sm",children:a.jsx(d,{label:r,isOptional:t})}),a.jsx("ul",{className:"space-y-5",children:i.map((h,m)=>a.jsxs("li",{className:"flex w-full items-center gap-4 [&>div]:w-full",children:[a.jsx(fe,{isNested:!0,name:`${e}.${m}`,schema:o,isOptional:t,definitions:n}),a.jsxs(E,{className:"h-7 w-7",emphasis:"subtle",size:"sm",type:"button",onClick:()=>u(m),children:[a.jsx(Q,{className:"h-5 w-5 fill-primary-900"}),a.jsx("span",{className:"sr-only",children:"remove"})]})]},h.id))}),a.jsxs(E,{className:"h-7 w-7",emphasis:"subtle",type:"button",onClick:()=>l(""),children:[a.jsx(B,{className:"h-5 w-5 fill-primary-900"}),a.jsx("p",{className:"sr-only",children:"Add Item"})]})]})}function X({name:e,isOptional:r,label:t}){var s;const o=f(),n=o.formState.errors[e];return a.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[!!t&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:t,isOptional:r})}),a.jsx(x,{control:o.control,name:e,render:({field:{onChange:i,value:l,...u}})=>a.jsx(k,{id:e,checked:l,onCheckedChange:h=>i(h),...u})}),n&&a.jsx("p",{className:"text-text-sm text-error-500",children:(s=n.message)==null?void 0:s.toString()})]})}function ee({name:e,label:r,isOptional:t,enumValues:o}){var i;const n=f(),s=n.formState.errors[e];return a.jsxs("div",{className:"space-y-0.5",children:[!!r&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:r,isOptional:t})}),a.jsx(x,{control:n.control,name:e,render:({field:{onChange:l,ref:u,...h}})=>a.jsxs(I,{...h,onValueChange:l,children:[a.jsx(P,{"data-error":s?"true":"false",className:"h-7 max-w-full truncate border border-neutral-300 px-2 text-left text-text-sm data-[error=true]:border-error-500",children:a.jsx(_,{placeholder:"Select Option"})}),a.jsx(J,{children:a.jsx(K,{viewportClassName:"max-h-[300px]",children:o.map(m=>a.jsx(V,{className:"space-x-2",value:m,children:m},m))})})]})}),s&&a.jsx("p",{className:"text-text-sm text-error-500",children:(i=s.message)==null?void 0:i.toString()})]})}function re(e){return e.type==="string"}function te(e){return e.type==="string"&&e.enum!==void 0}function se(e){return e.type==="string"&&!!e.sensitive}function D(e){return e.type==="boolean"}function z(e){return e.type==="object"}function y(e){return e.type==="array"}function ne(e){return e.type==="integer"}function ae(e){var r;return((r=e.enum)==null?void 0:r.map(t=>t.toString()))||[]}function j(e,r){if(!e.$ref||!r)return e;const t=e.$ref.replace("#/$defs/",""),o=r[t];return o||console.error(`Could not resolve $ref: ${e.$ref}`),o}function oe(e,r){return e.title?e.title:G(r)}function be(e,r){const t=Object.entries(e.properties||{}).reduce((o,[n,s])=>{let i="";return s.default?D(s)?i=s.default:z(s)?i=JSON.stringify(s.default):y(s)?i=s.default:i=s.default.toString():y(s)&&(i=[]),{...o,[n]:i}},{});return r&&Object.entries(r).forEach(([o,n])=>{t[o]=H(n)?n.map(s=>JSON.stringify(s)):M(n)?JSON.stringify(n):n}),t}function ie({name:e,isOptional:r,label:t}){var s;const o=f(),n=o.formState.errors[e];return a.jsxs("div",{className:"space-y-0.5",children:[!!t&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:t,isOptional:r})}),a.jsx(x,{control:o.control,name:e,render:({field:i})=>a.jsx(C,{inputSize:"md",className:"w-full data-[error=true]:border-error-500",id:e,...i,type:"number","data-error":n?"true":"false"})}),n&&a.jsx("p",{className:"text-text-sm text-error-500",children:(s=n.message)==null?void 0:s.toString()})]})}function ce({name:e,label:r,isOptional:t}){var s;const o=f(),n=o.formState.errors[e];return a.jsxs("div",{className:"space-y-0.5",children:[!!r&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:r,isOptional:t})}),a.jsx(x,{control:o.control,name:e,render:({field:i})=>a.jsx("textarea",{rows:4,placeholder:"Please paste your JSON",className:L({inputSize:"md",className:"h-auto w-full resize-none font-mono data-[error=true]:border-error-500"}),id:e,...i,"data-error":n?"true":"false"})}),n&&a.jsx("p",{className:"text-text-sm text-error-500",children:(s=n.message)==null?void 0:s.toString()})]})}function le({name:e,isOptional:r,label:t}){var s;const o=f(),n=o.formState.errors[e];return a.jsxs("div",{className:"space-y-0.5",children:[!!t&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:t,isOptional:r})}),a.jsx(x,{control:o.control,name:e,render:({field:i})=>a.jsx(C,{inputSize:"md",className:"w-full data-[error=true]:border-error-500",id:e,...i,"data-error":n?"true":"false"})}),n&&a.jsx("p",{className:"text-text-sm text-error-500",children:(s=n.message)==null?void 0:s.toString()})]})}function ue({name:e,label:r,isOptional:t}){var s;const o=f(),n=o.formState.errors[e];return a.jsxs("div",{className:"space-y-0.5",children:[!!r&&a.jsx("label",{htmlFor:e,className:"text-text-sm",children:a.jsx(d,{label:r,isOptional:t})}),a.jsx(x,{control:o.control,name:e,render:({field:i})=>a.jsx(C,{placeholder:"Use {{<SECRET_NAME>.<SECRET_KEY>}} to reference a secret",inputSize:"md",className:"w-full placeholder:font-mono data-[error=true]:border-error-500",id:e,...i,type:"text","data-error":n?"true":"false"})}),n&&a.jsx("p",{className:"text-text-sm text-error-500",children:(s=n.message)==null?void 0:s.toString()})]})}function fe({schema:e,name:r,isOptional:t,definitions:o,isNested:n}){let s=j(e,o);n&&s.items&&(s=j(s.items,o)),n&&s.prefixItems&&(s=j(s.prefixItems[0],o));const i=n?"":oe(s,r);if(s.anyOf){const l=s.anyOf.find(u=>u.type!==null);if(l){const u=j(l,o);s={...s,...u}}}if(s.allOf){const l=j(s.allOf[0],o);s={...s,...l}}if(te(s))return a.jsx(ee,{name:r,label:i,schema:e,isOptional:t,enumValues:ae(s)});if(se(s))return a.jsx(ue,{name:r,label:i,schema:s,isOptional:t});if(ne(s))return a.jsx(ie,{name:r,label:i,schema:s,isOptional:t});if(re(s))return a.jsx(le,{name:r,label:i,schema:s,isOptional:t});if(D(s))return a.jsx(X,{name:r,label:i,schema:s,isOptional:t});if(z(s)||y(s)&&n)return a.jsx(ce,{name:r,label:i,schema:s,isOptional:t});if(y(s))return a.jsx(W,{definitions:o,name:r,label:i,schema:s,isOptional:t})}async function de(e){const r=g(N.serviceConnectors.types.detail(e)),t=await S(r,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const o=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Error while fetching service connector type");throw new b({status:t.status,statusText:t.statusText,message:o})}return t.json()}async function me(e){const r=R(e).toString(),t=g(N.serviceConnectors.list+(r?`?${r}`:"")),o=await S(t,{method:"GET",headers:{"Content-Type":"application/json"}});if(o.status===404&&v(),!o.ok){const n=await o.json().then(s=>Array.isArray(s.detail)?s.detail[1]:s.detail).catch(()=>"Error while fetching service connector list");throw new b({status:o.status,statusText:o.statusText,message:n})}return o.json()}const q={connectorTypes:["service_connector_types"],connectors:["service_connectors"],serviceConnectorTypeDetail:e=>T({queryKey:[...q.connectorTypes,e],queryFn:async()=>de(e)}),serviceConnectorListInfinite:(e={})=>A({queryKey:[...q.connectors,e,"infinite"],queryFn:({pageParam:r})=>me({...e,page:r}),getNextPageParam:r=>r.index<r.total_pages?r.index+1:null,initialPageParam:1})};export{fe as D,be as a,Y as b,F as f,ve as g,q as s,Se as z};
|
@@ -1 +1 @@
|
|
1
|
-
import{j as s,o as r,F as i,p as u}from"./index-
|
1
|
+
import{j as s,o as r,F as i,p as u}from"./index-hsSXyS3H.js";import{b as c}from"./@tanstack-CSxjHCME.js";async function h(a){const o=r(u.login),t=await s(o,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(a)});if(!t.ok){const e=await t.json().then(n=>n.detail).catch(()=>["","Failed to login"]);throw new i({status:t.status,statusText:t.statusText,message:e[1]||"Failed to login"})}return t.json()}function m(a){return c({mutationFn:async o=>h(o),...a})}export{m as u};
|
@@ -1 +1 @@
|
|
1
|
-
import{j as e}from"./@radix-C7hRs6Kx.js";import{i as s,h as r}from"./index-
|
1
|
+
import{j as e}from"./@radix-C7hRs6Kx.js";import{i as s,h as r}from"./index-hsSXyS3H.js";import{S as a}from"./arrow-left-CwgF2MEM.js";import{a as n}from"./@react-router-BGgzhn5D.js";import"./@tanstack-CSxjHCME.js";import"./@reactflow-CQi1Z1Wq.js";function h(){const t=n();return e.jsx(e.Fragment,{children:e.jsxs("section",{className:"layout-container my-9 flex flex-col items-center gap-5",children:[e.jsx(s,{className:"h-[120px] w-[120px] fill-neutral-300"}),e.jsxs("div",{className:"text-center",children:[e.jsx("h1",{className:"mb-2 text-display-xs font-semibold",children:"Error 404 - Run Not Found"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Oh no! It seems that the run you are looking for doesn't exist."})]}),e.jsxs(r,{intent:"primary",size:"lg",onClick:()=>t(-1),children:[e.jsx(a,{className:"h-5 w-5 fill-theme-text-negative"})," ",e.jsx("span",{children:"Go back"})]})]})})}export{h as default};
|
@@ -1 +1 @@
|
|
1
|
-
import{r as f,j as e}from"./@radix-C7hRs6Kx.js";import{S as X,u as y,C as v,P as N,a as $,W as ee,L as te}from"./ProviderRadio-
|
1
|
+
import{r as f,j as e}from"./@radix-C7hRs6Kx.js";import{S as X,u as y,C as v,P as N,a as $,W as ee,L as te}from"./ProviderRadio-BWFJPEY2.js";import{u,R as se,a as re,E as ae,D as F,G as oe,A as ne,C as O,b as ie,N as ce}from"./Partials-DjTM0Oe-.js";import{S as V,B as Y,aQ as de,h as le,r as T}from"./index-hsSXyS3H.js";import{d as me,a as ue}from"./@react-router-BGgzhn5D.js";import{I as G}from"./Infobox-C4Op55B8.js";import{t as Q}from"./zod-C0xYeTvL.js";import{u as H,F as pe}from"./index.esm-D7jFlf5N.js";import{a as xe,c as q,b as fe,p as he}from"./persist-DLvsEXh0.js";import{C as h}from"./ProviderIcon-B8W7AGNk.js";import{s as J}from"./index-e8udi7QT.js";import{a as K}from"./@tanstack-CSxjHCME.js";import"./Tick-C4gtED35.js";import"./check-DK77doTf.js";import"./package-D1Mhqeh8.js";import"./ComponentBadge-CMx2DbsV.js";import"./ComponentIcon-CSxdApv8.js";import"./layout-h3cbx8WZ.js";import"./rocket-Cf-B-XOR.js";import"./logs-B5n0U7tB.js";import"./CodeSnippet-nRnOvbOJ.js";import"./NumberBox-D2A7ENHb.js";import"./link-external-DUhCSKNm.js";import"./@reactflow-CQi1Z1Wq.js";import"./sharedSchema-CQA5lnlU.js";import"./gcp-CHNvgEss.js";import"./stack-detail-query-C1GoxBeK.js";function je(){const{formRef:t,setIsNextButtonDisabled:s,setData:a,data:o}=u(),n=H({resolver:Q(xe),mode:"onChange",defaultValues:{region:o.location,stackName:o.stackName||""}});f.useEffect(()=>{s(!n.formState.isValid)},[n.formState.isValid,s]);function l(r){a(m=>({...m,location:r.region,stackName:r.stackName}))}return e.jsx(j,{title:"Review Stack Configuration",children:e.jsx(pe,{...n,children:e.jsxs("div",{className:"space-y-5",children:[e.jsxs(G,{className:"text-text-sm",children:[e.jsx("p",{className:"font-semibold",children:"Important"}),e.jsx("p",{children:"This will create new resources in your account. Ensure you have the necessary permissions and are aware of any potential costs."})]}),e.jsxs("form",{onSubmit:n.handleSubmit(l),ref:t,className:"space-y-5",children:[e.jsx(se,{provider:o.provider||"aws"}),e.jsx(X,{})]}),e.jsx(re,{provider:o.provider||"aws"}),e.jsx(ae,{provider:o.provider||"aws"})]})})})}function ve(){const{data:t,timestamp:s,setIsNextButtonDisabled:a}=u(),{setCurrentStep:o}=y(),{isPending:n,isError:l,data:r}=K({...J.stackDeploymentStack({provider:t.provider,stack_name:t.stackName,date_start:s}),refetchInterval:5e3,throwOnError:!0});return f.useEffect(()=>{r&&(q(),o(m=>m+1),a(!1))},[r]),n?e.jsx(V,{className:"h-[200px] w-full"}):l?null:e.jsxs("div",{className:"space-y-5",children:[e.jsx(Ne,{}),e.jsx(ye,{stack:r})]})}function Ne(){const{data:t}=u();return e.jsxs("section",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs(Y,{className:"flex items-center justify-between gap-4 px-6 py-5",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(h,{provider:t.provider,className:"h-6 w-6 shrink-0"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-text-lg font-semibold",children:"Deploying the Stack..."}),e.jsx("p",{className:"text-theme-text-secondary",children:"Follow the steps in your Cloud console to finish the setup. You can come back to check once your components are deployed."})]})]}),t.provider==="azure"?e.jsx(F,{children:e.jsx("span",{children:"Deploy in Azure"})}):e.jsx(F,{})]}),t.provider==="gcp"&&e.jsx(oe,{}),t.provider==="azure"&&e.jsx(ne,{})]})}function ye({stack:t}){const s=!!t;return e.jsxs("div",{className:"space-y-5",children:[!s&&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(de,{className:"h-5 w-5 fill-primary-400"}),"Creating your stack and components..."]}),e.jsx("p",{className:"text-theme-text-secondary",children:"We are creating your stack and stack components based on your configuration. Once you finish the setup, come back to check your brand new stack and components ready."})]}),e.jsx(Se,{isReady:s}),e.jsx(ge,{stack:t})]})}function ge({stack:t}){const s=!!t,{data:a}=u();return e.jsxs("div",{className:"relative overflow-hidden rounded-md",children:[!s&&e.jsx("div",{className:"absolute z-50 h-full w-full bg-neutral-50/50"}),e.jsx(O,{type:a.provider,componentProps:{isLoading:!s,isSuccess:s,stackName:a.stackName}})]})}function Se({isReady:t}){const[s,a]=f.useState(!1);return f.useEffect(()=>{const o=setTimeout(()=>{a(!0)},3e5);return()=>clearTimeout(o)},[]),!s||t?null:e.jsx(G,{children:"Your stack is taking longer than usual to deploy. Please check your Cloud console, or the stacks list in ZenML."})}function ke(){return e.jsx(j,{title:"Deploy ZenML Stack",children:e.jsx(be,{})})}function be(){const{setIsNextButtonDisabled:t,isLoading:s}=u();return f.useEffect(()=>{t(!0)},[]),s?e.jsx(ve,{}):e.jsx(ie,{})}function we(){const{formRef:t,setIsNextButtonDisabled:s,setData:a,data:o}=u(),{register:n,handleSubmit:l,formState:{isValid:r}}=H({resolver:Q(fe),defaultValues:{provider:o.provider}});f.useEffect(()=>{s(!r)},[r,s]);function m(d){a(c=>({...c,provider:d.provider}))}return e.jsx(j,{title:"New Cloud Infrastructure",children:e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-lg font-semibold",children:"Select a Cloud Provider"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select the cloud provider where your want to create your infrastructure and deploy your ZenML models. You will be able to remove the ZenML stack at any time."})]}),e.jsxs("form",{id:"provider-form",onSubmit:l(m),className:"grid grid-cols-1 gap-3 xl:grid-cols-3",ref:t,children:[e.jsx(v,{id:"aws-provider",...n("provider"),value:"aws",children:e.jsx(N,{icon:e.jsx(h,{provider:"aws",className:"h-6 w-6 shrink-0"}),title:"AWS",subtitle:"ZenML stack with S3, ECR, and SageMaker integration"})}),e.jsx(v,{id:"gcp-provider",...n("provider"),value:"gcp",children:e.jsx(N,{icon:e.jsx(h,{provider:"gcp",className:"h-6 w-6 shrink-0"}),title:"GCP",subtitle:"Create ZenML infrastructure using GCS, Artifact Registry, and Vertex AI"})}),e.jsx(v,{id:"azure-provider",...n("provider"),value:"azure",children:e.jsx(N,{icon:e.jsx(h,{provider:"azure",className:"h-6 w-6 shrink-0"}),title:"Azure",subtitle:"Set up ZenML with Azure Storage, Container Registry, and ML services"})})]})]})})}function Ce({provider:t,stackName:s,timestamp:a,isTerraform:o}){var g,S,k,b,w,C,P,D,I,z,L,R,B,E,W,M,_,A;const{isPending:n,isError:l,data:r}=K({...J.stackDeploymentStack({provider:t,stack_name:s,date_start:a,terraform:o}),throwOnError:!0});if(n)return e.jsx(V,{className:"h-[200px] w-full"});if(l)return null;const m=r.stack.name,d=(g=r.stack.metadata)==null?void 0:g.components.orchestrator,c=(S=r.stack.metadata)==null?void 0:S.components.artifact_store,i=(k=r.stack.metadata)==null?void 0:k.components.container_registry,p=(b=r.stack.metadata)==null?void 0:b.components.image_builder,x=(w=r.stack.metadata)==null?void 0:w.components.step_operator,U={orchestrator:{name:((C=d==null?void 0:d[0])==null?void 0:C.name)??"Orchestrator",id:((P=d==null?void 0:d[0])==null?void 0:P.id.split("-")[0])??""},artifactStore:{name:((D=c==null?void 0:c[0])==null?void 0:D.name)??"Artifact Store",id:((I=c==null?void 0:c[0])==null?void 0:I.id.split("-")[0])??""},registry:{name:((z=i==null?void 0:i[0])==null?void 0:z.name)??"Container Registry",id:((L=i==null?void 0:i[0])==null?void 0:L.id.split("-")[0])??""},connector:{name:(R=r.service_connector)==null?void 0:R.name,id:((E=(B=r.service_connector)==null?void 0:B.id)==null?void 0:E.split("-")[0])??""},imageBuilder:{name:((W=p==null?void 0:p[0])==null?void 0:W.name)??"Image Builder",id:((M=p==null?void 0:p[0])==null?void 0:M.id.split("-")[0])??""},operator:{name:((_=x==null?void 0:x[0])==null?void 0:_.name)??"Step Operator",id:((A=x==null?void 0:x[0])==null?void 0:A.id.split("-")[0])??""}};return e.jsx(O,{type:t,componentProps:{components:U,isSuccess:!0,stackName:m}})}function Pe(){const{setIsNextButtonDisabled:t,data:s,timestamp:a}=u();return t(!1),e.jsx(j,{title:"Your Stack",children:e.jsxs("div",{className:"space-y-5",children:[e.jsx("p",{className:"text-theme-text-secondary",children:"Here you can review the created stack and stack components. Now you can start running pipelines using this new configuration."}),e.jsx(Ce,{provider:s.provider||"aws",stackName:s.stackName||"",timestamp:a})]})})}function De(){const{currentStep:t}=y();if(t===1)return e.jsx(we,{});if(t===2)return e.jsx(je,{});if(t===3)return e.jsx(ke,{});if(t===4)return e.jsx(Pe,{})}function Ie(){var c;const[s]=me(),{setCurrentStep:a,currentStep:o}=y(),{formRef:n,isNextButtonDisabled:l}=u(),r=ue(),m=s.get("origin")==="onboarding";async function d(){n.current&&(n.current.requestSubmit(),await new Promise(i=>setTimeout(i,20))),a(i=>i<4?i+1:i),o===4&&(q(),r(m?T.onboarding:T.stacks.overview))}return e.jsx(le,{form:(c=n.current)==null?void 0:c.id,disabled:l,onClick:()=>d(),size:"md",children:o===4?"Finish":"Next"})}function j({children:t,title:s}){return e.jsxs(Y,{className:"w-full",children:[e.jsx("div",{className:"border-b border-theme-border-moderate px-5 py-3 text-display-xs font-semibold",children:s}),e.jsx("div",{className:"p-5",children:t}),e.jsxs("div",{className:"flex items-center justify-end gap-2 border-t border-theme-border-moderate p-5",children:[e.jsx($,{}),e.jsx(Ie,{})]})]})}const Z=["Infrastructure Type","Cloud Provider","Review Configuration","Deploy Stack"];function rt(){const{success:t}=he();return e.jsx(ee,{maxSteps:Z.length,initialStep:t?3:1,children:e.jsx(ce,{children:e.jsxs("section",{className:"layout-container flex flex-col gap-5 p-5 xl:flex-row",children:[e.jsx(te,{entries:Z}),e.jsx("div",{className:"w-full overflow-y-hidden",children:e.jsx(De,{})})]})})})}export{rt as default};
|