zenml-nightly 0.83.0.dev20250623__py3-none-any.whl → 0.83.1.dev20250625__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.
Files changed (158) hide show
  1. zenml/VERSION +1 -1
  2. zenml/cli/login.py +21 -3
  3. zenml/config/__init__.py +13 -2
  4. zenml/constants.py +0 -1
  5. zenml/exceptions.py +16 -0
  6. zenml/integrations/airflow/orchestrators/airflow_orchestrator.py +15 -6
  7. zenml/integrations/aws/orchestrators/sagemaker_orchestrator.py +54 -58
  8. zenml/integrations/azure/orchestrators/azureml_orchestrator.py +28 -19
  9. zenml/integrations/databricks/orchestrators/databricks_orchestrator.py +19 -63
  10. zenml/integrations/gcp/orchestrators/vertex_orchestrator.py +36 -61
  11. zenml/integrations/hyperai/orchestrators/hyperai_orchestrator.py +19 -22
  12. zenml/integrations/kubeflow/orchestrators/kubeflow_orchestrator.py +28 -31
  13. zenml/integrations/kubernetes/orchestrators/kubernetes_orchestrator.py +33 -20
  14. zenml/integrations/lightning/orchestrators/lightning_orchestrator.py +25 -100
  15. zenml/integrations/skypilot/orchestrators/skypilot_base_vm_orchestrator.py +19 -8
  16. zenml/integrations/skypilot/utils.py +17 -13
  17. zenml/integrations/tekton/orchestrators/tekton_orchestrator.py +28 -12
  18. zenml/models/v2/core/step_run.py +1 -0
  19. zenml/orchestrators/__init__.py +2 -0
  20. zenml/orchestrators/base_orchestrator.py +137 -66
  21. zenml/orchestrators/input_utils.py +5 -13
  22. zenml/orchestrators/local/local_orchestrator.py +19 -9
  23. zenml/orchestrators/local_docker/local_docker_orchestrator.py +15 -5
  24. zenml/orchestrators/publish_utils.py +24 -0
  25. zenml/orchestrators/step_run_utils.py +1 -2
  26. zenml/pipelines/run_utils.py +12 -7
  27. zenml/step_operators/step_operator_entrypoint_configuration.py +1 -1
  28. zenml/zen_server/dashboard/assets/{404-DmJUgorp.js → 404-B5eko6XL.js} +1 -1
  29. zenml/zen_server/dashboard/assets/{@reactflow-8OCk19Fi.js → @reactflow-B_iCtR7X.js} +1 -1
  30. zenml/zen_server/dashboard/assets/{AlertDialogDropdownItem-CZW4QyWn.js → AlertDialogDropdownItem-DsOmO1FH.js} +1 -1
  31. zenml/zen_server/dashboard/assets/{ButtonGroup-DFWWFGUE.js → ButtonGroup-4sPZDv70.js} +1 -1
  32. zenml/zen_server/dashboard/assets/{CodeSnippet-D2HkkAGr.js → CodeSnippet-Ctplhzdc.js} +1 -1
  33. zenml/zen_server/dashboard/assets/{CollapsibleCard-CnS09ljw.js → CollapsibleCard-CBKenz9f.js} +1 -1
  34. zenml/zen_server/dashboard/assets/{ComponentBadge-CDgdd0Ks.js → ComponentBadge-Cnecw3qz.js} +1 -1
  35. zenml/zen_server/dashboard/assets/{ComponentIcon-CbbOc7lb.js → ComponentIcon-CMiVW-O6.js} +1 -1
  36. zenml/zen_server/dashboard/assets/{DeleteAlertDialog-VIOMDLmx.js → DeleteAlertDialog-DEI0YDzP.js} +1 -1
  37. zenml/zen_server/dashboard/assets/{DialogItem-ClFCqxEp.js → DialogItem-CRCDpYU6.js} +1 -1
  38. zenml/zen_server/dashboard/assets/{Error-CQzjbDcN.js → Error-BG6f_WRd.js} +1 -1
  39. zenml/zen_server/dashboard/assets/{ExecutionStatus-CWreILP0.js → ExecutionStatus-BuhNAE9w.js} +1 -1
  40. zenml/zen_server/dashboard/assets/{Helpbox-CiKxG5_X.js → Helpbox-DtUG2Bf_.js} +1 -1
  41. zenml/zen_server/dashboard/assets/{Infobox-CGxFvqzi.js → Infobox-CSBRrM6r.js} +1 -1
  42. zenml/zen_server/dashboard/assets/{LeftSideMenu-DCsKdIjC.js → LeftSideMenu-DPsCCK3z.js} +1 -1
  43. zenml/zen_server/dashboard/assets/{NestedCollapsible-3M4llYtH.js → NestedCollapsible-CMuDIJlp.js} +1 -1
  44. zenml/zen_server/dashboard/assets/{NumberBox-C0mQktmV.js → NumberBox-DtCv7jh3.js} +1 -1
  45. zenml/zen_server/dashboard/assets/Pagination-CWnEpSpN.js +1 -0
  46. zenml/zen_server/dashboard/assets/{Partials-DSjkttlz.js → Partials-CfHD6OH5.js} +1 -1
  47. zenml/zen_server/dashboard/assets/{ProCta-Dm5cWKpS.js → ProCta-CNyp04C8.js} +1 -1
  48. zenml/zen_server/dashboard/assets/{ProviderIcon-DPwMR6nF.js → ProviderIcon-DHejyg7C.js} +1 -1
  49. zenml/zen_server/dashboard/assets/{ProviderRadio-DEDNRgAb.js → ProviderRadio-tGtie8Gc.js} +1 -1
  50. zenml/zen_server/dashboard/assets/RunsBody-mYwMcWWj.js +1 -0
  51. zenml/zen_server/dashboard/assets/SearchField-BtUi6cYl.js +1 -0
  52. zenml/zen_server/dashboard/assets/{SecretTooltip-CZTRnaCV.js → SecretTooltip-B5u1UsQ9.js} +1 -1
  53. zenml/zen_server/dashboard/assets/{SetPassword-BjNGDC5e.js → SetPassword-BmbgL_ed.js} +1 -1
  54. zenml/zen_server/dashboard/assets/{SheetHeader-CASpN2Lz.js → SheetHeader-DkH7aG9K.js} +1 -1
  55. zenml/zen_server/dashboard/assets/StackComponentList-Bi8BKqCu.js +1 -0
  56. zenml/zen_server/dashboard/assets/StackList-Cvxapo0p.js +1 -0
  57. zenml/zen_server/dashboard/assets/{StackName-ojLC6xdl.js → StackName-CFSZL8ec.js} +1 -1
  58. zenml/zen_server/dashboard/assets/Tabs-D4dv48ry.js +1 -0
  59. zenml/zen_server/dashboard/assets/{Tick-BPrWnNlN.js → Tick-Qquvr4P3.js} +1 -1
  60. zenml/zen_server/dashboard/assets/{UpdatePasswordSchemas-CNfKDo2Q.js → UpdatePasswordSchemas-D_DCETSO.js} +1 -1
  61. zenml/zen_server/dashboard/assets/{UsageReason-Cb-mpV8M.js → UsageReason-DhiUV1bu.js} +1 -1
  62. zenml/zen_server/dashboard/assets/{Wizard-Dg8Pmn5A.js → Wizard-BHvY75u_.js} +1 -1
  63. zenml/zen_server/dashboard/assets/{WizardFooter-BcNDIvlQ.js → WizardFooter-FQm8y-jP.js} +1 -1
  64. zenml/zen_server/dashboard/assets/{all-pipeline-runs-query-DCdax7I5.js → all-pipeline-runs-query-DpKw9WL9.js} +1 -1
  65. zenml/zen_server/dashboard/assets/{bulk-delete-C_kpIB9A.js → bulk-delete-CzYA--cC.js} +1 -1
  66. zenml/zen_server/dashboard/assets/{configuration-form-B2hmKGnF.js → configuration-form-DSoMMiPE.js} +1 -1
  67. zenml/zen_server/dashboard/assets/{constants-1EZZxtay.js → constants-DTfsIqHy.js} +1 -1
  68. zenml/zen_server/dashboard/assets/{create-stack-TKmMtrkQ.js → create-stack-BpZrmKDu.js} +1 -1
  69. zenml/zen_server/dashboard/assets/{delete-run-CCR9md_s.js → delete-run-BkyDsKQc.js} +1 -1
  70. zenml/zen_server/dashboard/assets/elk-worker.min-BdOC9sib.js +6263 -0
  71. zenml/zen_server/dashboard/assets/expand-full-BPiXpch2.js +1 -0
  72. zenml/zen_server/dashboard/assets/{form-DFJkaFDX.js → form-BgtamtJm.js} +1 -1
  73. zenml/zen_server/dashboard/assets/{form-schemas-CrznJVzA.js → form-schemas-dyDkAxXP.js} +1 -1
  74. zenml/zen_server/dashboard/assets/{index-BjUu1mP4.js → index-BBt0LDtR.js} +1 -1
  75. zenml/zen_server/dashboard/assets/index-BfNISy0X.css +1 -0
  76. zenml/zen_server/dashboard/assets/{index-BFqbGSck.js → index-BgEfQ3_G.js} +4 -4
  77. zenml/zen_server/dashboard/assets/{index-U992soPJ.js → index-eoDB_1XX.js} +1 -1
  78. zenml/zen_server/dashboard/assets/{layout-Do9YI4QX.js → layout-o1x87a3q.js} +1 -1
  79. zenml/zen_server/dashboard/assets/{login-mutation-D3tFP6Wm.js → login-mutation-C1hvP_cX.js} +1 -1
  80. zenml/zen_server/dashboard/assets/page-4xUZpMN0.js +31 -0
  81. zenml/zen_server/dashboard/assets/page-4zc4xPv2.js +2 -0
  82. zenml/zen_server/dashboard/assets/page-B0104V6C.js +1 -0
  83. zenml/zen_server/dashboard/assets/page-BNJsjvof.js +1 -0
  84. zenml/zen_server/dashboard/assets/{page-sJjNT9xA.js → page-BPQ66vR-.js} +1 -1
  85. zenml/zen_server/dashboard/assets/{page-CAJ8B0vb.js → page-BQgSZ2nH.js} +1 -1
  86. zenml/zen_server/dashboard/assets/page-BXl2ZX6J.js +1 -0
  87. zenml/zen_server/dashboard/assets/{page-CtiuMP_r.js → page-BxeZrG_t.js} +1 -1
  88. zenml/zen_server/dashboard/assets/{page-Cal6XQ4U.js → page-C2A-2Cj_.js} +1 -1
  89. zenml/zen_server/dashboard/assets/page-C2i-C7jv.js +1 -0
  90. zenml/zen_server/dashboard/assets/{page-DJIGaUQ9.js → page-C3JfJxuR.js} +1 -1
  91. zenml/zen_server/dashboard/assets/{page-ChGcZI_6.js → page-CESEqC2L.js} +1 -1
  92. zenml/zen_server/dashboard/assets/{page-DCcuPZ8P.js → page-CF8cTZ7l.js} +1 -1
  93. zenml/zen_server/dashboard/assets/page-CKjsimVu.js +1 -0
  94. zenml/zen_server/dashboard/assets/{page-DNjKHjnH.js → page-COLzBwff.js} +1 -1
  95. zenml/zen_server/dashboard/assets/page-COifg5fa.js +1 -0
  96. zenml/zen_server/dashboard/assets/{page-CnbIYE80.js → page-CQeJuA8T.js} +1 -1
  97. zenml/zen_server/dashboard/assets/{page-DKK6ulgy.js → page-CcjWEjre.js} +1 -1
  98. zenml/zen_server/dashboard/assets/{page-9RjCitFH.js → page-CefGLeWy.js} +1 -1
  99. zenml/zen_server/dashboard/assets/{page-DUKbOhaD.js → page-CfxpV3j4.js} +1 -1
  100. zenml/zen_server/dashboard/assets/{page-D9Hfx6GV.js → page-ClcUzawe.js} +1 -1
  101. zenml/zen_server/dashboard/assets/page-Ct_LB3zo.js +1 -0
  102. zenml/zen_server/dashboard/assets/page-D-ZWUMYY.js +1 -0
  103. zenml/zen_server/dashboard/assets/{page-CUaMMoPG.js → page-D-tJ_Y0a.js} +1 -1
  104. zenml/zen_server/dashboard/assets/{page-CdZCmszX.js → page-DHrvih9u.js} +1 -1
  105. zenml/zen_server/dashboard/assets/{page-DUK0Nd_1.js → page-DMhaHZDw.js} +1 -1
  106. zenml/zen_server/dashboard/assets/{page-CAUYrfui.js → page-DOCOmmKn.js} +1 -1
  107. zenml/zen_server/dashboard/assets/{page-akLcPcKw.js → page-DcQmxKLp.js} +1 -1
  108. zenml/zen_server/dashboard/assets/page-Dh4GRWw5.js +1 -0
  109. zenml/zen_server/dashboard/assets/{page-DwVPpCFg.js → page-DiHZK-1w.js} +1 -1
  110. zenml/zen_server/dashboard/assets/page-Dn7ZNapg.js +1 -0
  111. zenml/zen_server/dashboard/assets/page-Dy4vSQY7.js +1 -0
  112. zenml/zen_server/dashboard/assets/{page-CN7lkvXr.js → page-QrvWQwZb.js} +1 -1
  113. zenml/zen_server/dashboard/assets/{page-BrT0_zSJ.js → page-RF3Fup0q.js} +1 -1
  114. zenml/zen_server/dashboard/assets/page-WuvCrN47.js +1 -0
  115. zenml/zen_server/dashboard/assets/{page-Be3R2uYn.js → page-_WnHBI1F.js} +1 -1
  116. zenml/zen_server/dashboard/assets/{page-C210HcBA.js → page-ghjVNgVE.js} +1 -1
  117. zenml/zen_server/dashboard/assets/{page-BCrKmYIZ.js → page-iDsDiDXw.js} +1 -1
  118. zenml/zen_server/dashboard/assets/{page-ClvmVesa.js → page-rVhXI5ZO.js} +1 -1
  119. zenml/zen_server/dashboard/assets/{page-DEohTSz6.js → page-uxjMX8Iq.js} +1 -1
  120. zenml/zen_server/dashboard/assets/{persist-Dec_w7aB.js → persist-BsdEtCkd.js} +1 -1
  121. zenml/zen_server/dashboard/assets/{persist-DWMWVP-y.js → persist-CFPbMcJX.js} +1 -1
  122. zenml/zen_server/dashboard/assets/{resource-tyes-list-o2LXiMay.js → resource-tyes-list-79FqS3LY.js} +1 -1
  123. zenml/zen_server/dashboard/assets/{resource-type-tooltip-DwHrJstL.js → resource-type-tooltip-BL9ZTRKi.js} +1 -1
  124. zenml/zen_server/dashboard/assets/{service-connectors-DSEMwJ5A.js → service-connectors-Q8h7-_rG.js} +1 -1
  125. zenml/zen_server/dashboard/assets/{service-jxtvgks0.js → service-k-9Vsb30.js} +1 -1
  126. zenml/zen_server/dashboard/assets/{sharedSchema-BXzg0EZz.js → sharedSchema-C_HkejsG.js} +1 -1
  127. zenml/zen_server/dashboard/assets/{stack-detail-query-Cm0fsgo-.js → stack-detail-query-CNmVZ0Bo.js} +1 -1
  128. zenml/zen_server/dashboard/assets/{update-current-user-mutation-D5MjcQ6F.js → update-current-user-mutation-Ca-Lmwuj.js} +1 -1
  129. zenml/zen_server/dashboard/assets/{update-server-settings-mutation-CmnxdxiK.js → update-server-settings-mutation-Bwe3gUt4.js} +1 -1
  130. zenml/zen_server/dashboard/index.html +4 -4
  131. zenml/zen_stores/migrations/versions/0.83.1_release.py +23 -0
  132. zenml/zen_stores/rest_zen_store.py +147 -128
  133. zenml/zen_stores/sql_zen_store.py +27 -17
  134. {zenml_nightly-0.83.0.dev20250623.dist-info → zenml_nightly-0.83.1.dev20250625.dist-info}/METADATA +5 -9
  135. {zenml_nightly-0.83.0.dev20250623.dist-info → zenml_nightly-0.83.1.dev20250625.dist-info}/RECORD +138 -134
  136. zenml/zen_server/dashboard/assets/RunsBody-BRBn1e2O.js +0 -1
  137. zenml/zen_server/dashboard/assets/SearchField-DY6-UbRT.js +0 -1
  138. zenml/zen_server/dashboard/assets/StackComponentList-Be1pQt9m.js +0 -1
  139. zenml/zen_server/dashboard/assets/StackList-BdiR5DvR.js +0 -1
  140. zenml/zen_server/dashboard/assets/Tabs-DNSKblCM.js +0 -1
  141. zenml/zen_server/dashboard/assets/index-DuhuqTCI.css +0 -1
  142. zenml/zen_server/dashboard/assets/page-B0PsXWiT.js +0 -1
  143. zenml/zen_server/dashboard/assets/page-BcRI3-aR.js +0 -29
  144. zenml/zen_server/dashboard/assets/page-BgknnddT.js +0 -1
  145. zenml/zen_server/dashboard/assets/page-Bs3W2FDi.js +0 -1
  146. zenml/zen_server/dashboard/assets/page-C6KaiZ_W.js +0 -1
  147. zenml/zen_server/dashboard/assets/page-CHxVhF3x.js +0 -1
  148. zenml/zen_server/dashboard/assets/page-CktmtZ8Z.js +0 -1
  149. zenml/zen_server/dashboard/assets/page-CoXzjeEY.js +0 -1
  150. zenml/zen_server/dashboard/assets/page-D9iuB88h.js +0 -1
  151. zenml/zen_server/dashboard/assets/page-DYOucPtA.js +0 -1
  152. zenml/zen_server/dashboard/assets/page-DpqRelAy.js +0 -1
  153. zenml/zen_server/dashboard/assets/page-XURWnYZP.js +0 -1
  154. zenml/zen_server/dashboard/assets/page-abw-2oeW.js +0 -1
  155. zenml/zen_server/dashboard/assets/page-n9ejQ2V3.js +0 -2
  156. {zenml_nightly-0.83.0.dev20250623.dist-info → zenml_nightly-0.83.1.dev20250625.dist-info}/LICENSE +0 -0
  157. {zenml_nightly-0.83.0.dev20250623.dist-info → zenml_nightly-0.83.1.dev20250625.dist-info}/WHEEL +0 -0
  158. {zenml_nightly-0.83.0.dev20250623.dist-info → zenml_nightly-0.83.1.dev20250625.dist-info}/entry_points.txt +0 -0
@@ -1 +1 @@
1
- import{r as m,j as e}from"./@radix-Cdvw4jJ8.js";import{A as g,k as p,an as d,bj as h}from"./index-BFqbGSck.js";const x=m.forwardRef((r,t)=>{const{triggerChildren:a,children:n,onSelect:o,onOpenChange:i,icon:j,open:l,...s}=r;return e.jsxs(g,{open:l,onOpenChange:i,children:[e.jsx(p,{asChild:!0,children:e.jsx(d,{...s,className:"hover:cursor-pointer",icon:r.icon,ref:t,onSelect:c=>{c.preventDefault(),o&&o()},children:a})}),e.jsx(h,{children:n})]})});x.displayName="AlertDialogItem";export{x as A};
1
+ import{r as m,j as e}from"./@radix-Cdvw4jJ8.js";import{A as g,k as p,an as d,bj as h}from"./index-BgEfQ3_G.js";const x=m.forwardRef((r,t)=>{const{triggerChildren:a,children:n,onSelect:o,onOpenChange:i,icon:j,open:l,...s}=r;return e.jsxs(g,{open:l,onOpenChange:i,children:[e.jsx(p,{asChild:!0,children:e.jsx(d,{...s,className:"hover:cursor-pointer",icon:r.icon,ref:t,onSelect:c=>{c.preventDefault(),o&&o()},children:a})}),e.jsx(h,{children:n})]})});x.displayName="AlertDialogItem";export{x as A};
@@ -1 +1 @@
1
- import{r as l,j as e}from"./@radix-Cdvw4jJ8.js";import{D as j,l as R,m as w,p as C,A as b,k as y,B as A}from"./index-BFqbGSck.js";import{S as h}from"./trash-DP6Tpp_E.js";import{A as v}from"./AlertDialogDropdownItem-CZW4QyWn.js";import{D as f,a as p}from"./DeleteAlertDialog-VIOMDLmx.js";import{c as O,u as S}from"./bulk-delete-C_kpIB9A.js";import{u as T}from"./delete-run-CCR9md_s.js";const{ContextProvider:F,useContext:c}=O();function m(){const{setRowSelection:n}=c(),{mutateAsync:t}=T();async function s(r){await t({runId:r})}return S({deleteFn:s,queryKeyToInvalidate:["runs"],setRowSelection:n})}function H({id:n}){const[t,s]=l.useState(!1),[r,a]=l.useState(!1),i=l.useRef(null),u=l.useRef(null),{bulkDelete:x}=m();async function D(){await x([n]),d(!1)}function g(){u.current=i.current}function d(o){if(o===!1){a(!1),setTimeout(()=>{s(o)},200);return}s(o)}return e.jsxs(j,{onOpenChange:a,open:r,children:[e.jsx(R,{ref:i,children:e.jsx(w,{className:"h-4 w-4 fill-theme-text-tertiary"})}),e.jsx(C,{hidden:t,onCloseAutoFocus:o=>{u.current&&(u.current.focus(),u.current=null,o.preventDefault())},align:"end",sideOffset:7,children:e.jsx(v,{onSelect:g,open:t,onOpenChange:d,triggerChildren:"Delete",icon:e.jsx(h,{fill:"red"}),children:e.jsx(f,{title:"Delete Run",handleDelete:D,children:e.jsxs(p,{children:[e.jsx("p",{children:"Are you sure?"}),e.jsx("p",{children:"This action cannot be undone."})]})})})})]})}function I(){const[n,t]=l.useState(!1),{selectedRowCount:s,selectedRowIDs:r}=c(),{bulkDelete:a}=m();async function i(){await a(r),t(!1)}return e.jsxs(b,{open:n,onOpenChange:t,children:[e.jsx(y,{asChild:!0,children:e.jsxs(A,{className:"rounded-sharp border-y-0 bg-white",size:"md",emphasis:"subtle",intent:"secondary",children:[e.jsx(h,{className:"h-5 w-5 shrink-0 gap-1 fill-neutral-400"}),"Delete"]})}),e.jsx(f,{title:`Delete Run${s>=2?"s":""}`,handleDelete:i,children:e.jsxs(p,{children:[e.jsx("p",{children:"Are you sure?"}),e.jsx("p",{children:"This action cannot be undone."})]})})]})}function P(){const{selectedRowCount:n}=c();return e.jsxs("div",{className:"flex items-center divide-x divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsx("div",{className:"bg-primary-25 px-2 py-1 font-semibold text-theme-text-brand",children:`${n} Run${n>1?"s":""} selected`}),e.jsx(I,{})]})}export{H as R,P as a,F as b,c as u};
1
+ import{r as l,j as e}from"./@radix-Cdvw4jJ8.js";import{D as j,l as R,m as w,p as C,A as b,k as y,B as A}from"./index-BgEfQ3_G.js";import{S as h}from"./trash-DP6Tpp_E.js";import{A as v}from"./AlertDialogDropdownItem-DsOmO1FH.js";import{D as f,a as p}from"./DeleteAlertDialog-DEI0YDzP.js";import{c as O,u as S}from"./bulk-delete-CzYA--cC.js";import{u as T}from"./delete-run-BkyDsKQc.js";const{ContextProvider:F,useContext:c}=O();function m(){const{setRowSelection:n}=c(),{mutateAsync:t}=T();async function s(r){await t({runId:r})}return S({deleteFn:s,queryKeyToInvalidate:["runs"],setRowSelection:n})}function H({id:n}){const[t,s]=l.useState(!1),[r,a]=l.useState(!1),i=l.useRef(null),u=l.useRef(null),{bulkDelete:x}=m();async function D(){await x([n]),d(!1)}function g(){u.current=i.current}function d(o){if(o===!1){a(!1),setTimeout(()=>{s(o)},200);return}s(o)}return e.jsxs(j,{onOpenChange:a,open:r,children:[e.jsx(R,{ref:i,children:e.jsx(w,{className:"h-4 w-4 fill-theme-text-tertiary"})}),e.jsx(C,{hidden:t,onCloseAutoFocus:o=>{u.current&&(u.current.focus(),u.current=null,o.preventDefault())},align:"end",sideOffset:7,children:e.jsx(v,{onSelect:g,open:t,onOpenChange:d,triggerChildren:"Delete",icon:e.jsx(h,{fill:"red"}),children:e.jsx(f,{title:"Delete Run",handleDelete:D,children:e.jsxs(p,{children:[e.jsx("p",{children:"Are you sure?"}),e.jsx("p",{children:"This action cannot be undone."})]})})})})]})}function I(){const[n,t]=l.useState(!1),{selectedRowCount:s,selectedRowIDs:r}=c(),{bulkDelete:a}=m();async function i(){await a(r),t(!1)}return e.jsxs(b,{open:n,onOpenChange:t,children:[e.jsx(y,{asChild:!0,children:e.jsxs(A,{className:"rounded-sharp border-y-0 bg-white",size:"md",emphasis:"subtle",intent:"secondary",children:[e.jsx(h,{className:"h-5 w-5 shrink-0 gap-1 fill-neutral-400"}),"Delete"]})}),e.jsx(f,{title:`Delete Run${s>=2?"s":""}`,handleDelete:i,children:e.jsxs(p,{children:[e.jsx("p",{children:"Are you sure?"}),e.jsx("p",{children:"This action cannot be undone."})]})})]})}function P(){const{selectedRowCount:n}=c();return e.jsxs("div",{className:"flex items-center divide-x divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsx("div",{className:"bg-primary-25 px-2 py-1 font-semibold text-theme-text-brand",children:`${n} Run${n>1?"s":""} selected`}),e.jsx(I,{})]})}export{H as R,P as a,F as b,c as u};
@@ -1,4 +1,4 @@
1
- import{aE as X,g as re,r as V,j as E}from"./@radix-Cdvw4jJ8.js";import{h as Y,ab as ie}from"./index-BFqbGSck.js";var Z={exports:{}},J;function se(){return J||(J=1,function(A){var M=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
1
+ import{aE as X,g as re,r as V,j as E}from"./@radix-Cdvw4jJ8.js";import{h as Y,ab as ie}from"./index-BgEfQ3_G.js";var Z={exports:{}},J;function se(){return J||(J=1,function(A){var M=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
2
2
  * Prism: Lightweight, robust, elegant syntax highlighting
3
3
  *
4
4
  * @license MIT <https://opensource.org/licenses/MIT>
@@ -1 +1 @@
1
- import{j as e,r as d}from"./@radix-Cdvw4jJ8.js";import{S as h}from"./chevron-down-jbbQh82s.js";import{bb as u,B as C,h as o,ab as x,ac as f,ad as g,ae as b,af as y}from"./index-BFqbGSck.js";import{S as j}from"./check-circle-C4tYvbtw.js";function N({copyText:s,className:r,...t}){const{copyToClipboard:l,copied:a}=u();return e.jsxs(C,{size:"sm",className:o("flex items-center gap-1 bg-theme-surface-primary",r),intent:"secondary",emphasis:"subtle",onClick:()=>l(s),...t,children:[a?e.jsx(j,{width:16,height:16,className:"shrink-0 fill-neutral-500"}):e.jsx(x,{width:16,height:16,className:"shrink-0 fill-neutral-500"}),a?"Copied":e.jsx("span",{children:"Copy"})]})}function v({title:s,children:r,initialOpen:t=!1,className:l,contentClassName:a,intent:n="primary",headerClassName:p,headerChildren:c}){const[i,m]=d.useState(t);return e.jsxs(f,{className:l,open:i,onOpenChange:m,children:[e.jsxs(g,{intent:n,className:p,children:[e.jsxs(b,{className:"flex w-full items-center gap-[10px]",children:[e.jsx(h,{className:` ${i?"":"-rotate-90"} h-5 w-5 rounded-md fill-neutral-500 transition-transform duration-200 hover:bg-neutral-200`}),s]}),c]}),e.jsx(y,{className:o("space-y-3 border-t border-theme-border-moderate bg-theme-surface-primary px-5 py-3",a),children:r})]})}function E({copyText:s,displayCopyButton:r=!0,headerClassName:t,className:l,...a}){return e.jsx(v,{...a,className:o("group",l),headerClassName:o("flex flex-col lg:flex-row items-start lg:items-center gap-2",t),headerChildren:r?e.jsx("div",{className:"opacity-100 transition-opacity duration-200 lg:opacity-0 lg:group-hover:opacity-100",children:e.jsx(N,{copyText:s})}):null})}export{v as C,N as a,E as b};
1
+ import{j as e,r as d}from"./@radix-Cdvw4jJ8.js";import{S as h}from"./chevron-down-jbbQh82s.js";import{bc as u,B as C,h as o,ab as x,ac as f,ad as g,ae as b,af as y}from"./index-BgEfQ3_G.js";import{S as j}from"./check-circle-C4tYvbtw.js";function N({copyText:s,className:r,...t}){const{copyToClipboard:l,copied:a}=u();return e.jsxs(C,{size:"sm",className:o("flex items-center gap-1 bg-theme-surface-primary",r),intent:"secondary",emphasis:"subtle",onClick:()=>l(s),...t,children:[a?e.jsx(j,{width:16,height:16,className:"shrink-0 fill-neutral-500"}):e.jsx(x,{width:16,height:16,className:"shrink-0 fill-neutral-500"}),a?"Copied":e.jsx("span",{children:"Copy"})]})}function v({title:s,children:r,initialOpen:t=!1,className:l,contentClassName:a,intent:n="primary",headerClassName:p,headerChildren:c}){const[i,m]=d.useState(t);return e.jsxs(f,{className:l,open:i,onOpenChange:m,children:[e.jsxs(g,{intent:n,className:p,children:[e.jsxs(b,{className:"flex w-full items-center gap-[10px]",children:[e.jsx(h,{className:` ${i?"":"-rotate-90"} h-5 w-5 rounded-md fill-neutral-500 transition-transform duration-200 hover:bg-neutral-200`}),s]}),c]}),e.jsx(y,{className:o("space-y-3 border-t border-theme-border-moderate bg-theme-surface-primary px-5 py-3",a),children:r})]})}function E({copyText:s,displayCopyButton:r=!0,headerClassName:t,className:l,...a}){return e.jsx(v,{...a,className:o("group",l),headerClassName:o("flex flex-col lg:flex-row items-start lg:items-center gap-2",t),headerChildren:r?e.jsx("div",{className:"opacity-100 transition-opacity duration-200 lg:opacity-0 lg:group-hover:opacity-100",children:e.jsx(N,{copyText:s})}):null})}export{v as C,N as a,E as b};
@@ -1 +1 @@
1
- import{j as e}from"./@radix-Cdvw4jJ8.js";import{w as n}from"./index-BFqbGSck.js";import{C as o}from"./ComponentIcon-CbbOc7lb.js";function m({type:s,children:r}){return e.jsxs(n,{rounded:!1,className:"inline-flex shrink items-center gap-0.5 overflow-x-hidden text-text-sm",color:"purple",emphasis:"minimal",children:[e.jsx(o,{type:s,className:"h-4 w-4 shrink-0 fill-current"}),e.jsx("div",{className:"truncate",children:r})]})}export{m as C};
1
+ import{j as e}from"./@radix-Cdvw4jJ8.js";import{w as n}from"./index-BgEfQ3_G.js";import{C as o}from"./ComponentIcon-CMiVW-O6.js";function m({type:s,children:r}){return e.jsxs(n,{rounded:!1,className:"inline-flex shrink items-center gap-0.5 overflow-x-hidden text-text-sm",color:"purple",emphasis:"minimal",children:[e.jsx(o,{type:s,className:"h-4 w-4 shrink-0 fill-current"}),e.jsx("div",{className:"truncate",children:r})]})}export{m as C};
@@ -1 +1 @@
1
- import{r as e,j as l}from"./@radix-Cdvw4jJ8.js";import{bm as a,aZ as n}from"./index-BFqbGSck.js";import{S as r}from"./layout-DBbfEFBe.js";import{S as o}from"./transform-CeZdrxDZ.js";const s=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 5C4.00001 5.00124 4.00018 5.00585 4.00305 5.01529C4.00645 5.02644 4.01483 5.04845 4.03507 5.08143C4.07752 5.15057 4.16408 5.25453 4.32624 5.38232C4.65642 5.64253 5.19616 5.9206 5.95227 6.17264C7.45402 6.67322 9.59229 7 12 7C14.4077 7 16.546 6.67322 18.0477 6.17264C18.8038 5.9206 19.3436 5.64253 19.6738 5.38232C19.8359 5.25453 19.9225 5.15057 19.9649 5.08143C19.9852 5.04845 19.9935 5.02644 19.9969 5.01529C19.9999 5.00571 20 5.00139 20 5.00022C20 5.00016 20 5.00027 20 5.00022C20 4.99949 20.0001 4.99506 19.9969 4.98471C19.9935 4.97356 19.9852 4.95155 19.9649 4.91857C19.9225 4.84943 19.8359 4.74547 19.6738 4.61768C19.3436 4.35747 18.8038 4.0794 18.0477 3.82736C16.546 3.32678 14.4077 3 12 3C9.59229 3 7.45402 3.32678 5.95227 3.82736C5.19616 4.0794 4.65642 4.35747 4.32624 4.61768C4.16408 4.74547 4.07752 4.84943 4.03507 4.91857C4.01483 4.95155 4.00645 4.97356 4.00305 4.98471C3.99998 4.99479 4 4.99911 4 5ZM20 7.5266C19.5988 7.73177 19.1533 7.91229 18.6802 8.07C16.9246 8.6552 14.5629 9 12 9C9.43715 9 7.07541 8.6552 5.31981 8.07C4.84666 7.91229 4.40123 7.73177 4 7.5266V12C4 12.0019 4.00008 12.007 4.0034 12.018C4.00695 12.0298 4.01544 12.0521 4.03558 12.0851C4.07772 12.1543 4.16348 12.258 4.32419 12.3853C4.65159 12.6447 5.18788 12.9223 5.94167 13.174C7.43891 13.6738 9.57676 14 12 14C14.4232 14 16.5611 13.6738 18.0583 13.174C18.8121 12.9223 19.3484 12.6447 19.6758 12.3853C19.8365 12.258 19.9223 12.1543 19.9644 12.0851C19.9846 12.0521 19.993 12.0298 19.9966 12.018C19.9999 12.007 20 12.0019 20 12V7.5266ZM22 5C22 4.14805 21.4811 3.49559 20.9117 3.04685C20.331 2.58923 19.5528 2.22085 18.6802 1.93C16.9246 1.3448 14.5629 1 12 1C9.43715 1 7.07541 1.3448 5.31981 1.93C4.44724 2.22085 3.66896 2.58923 3.08829 3.04685C2.51889 3.49559 2 4.14805 2 5V19C2 19.8494 2.51319 20.502 3.08206 20.9528C3.66091 21.4115 4.43712 21.7802 5.30833 22.071C7.06109 22.6562 9.42324 23 12 23C14.5768 23 16.9389 22.6562 18.6917 22.071C19.5629 21.7802 20.3391 21.4115 20.9179 20.9528C21.4868 20.502 22 19.8494 22 19V5ZM20 14.5318C19.6021 14.7354 19.1606 14.9145 18.6917 15.071C16.9389 15.6562 14.5768 16 12 16C9.42324 16 7.06109 15.6562 5.30833 15.071C4.83938 14.9145 4.39794 14.7354 4 14.5318V19C4 19.0019 4.00008 19.007 4.0034 19.018C4.00695 19.0298 4.01544 19.0521 4.03558 19.0851C4.07772 19.1543 4.16348 19.258 4.32419 19.3853C4.65159 19.6447 5.18788 19.9223 5.94167 20.174C7.43891 20.6738 9.57676 21 12 21C14.4232 21 16.5611 20.6738 18.0583 20.174C18.8121 19.9223 19.3484 19.6447 19.6758 19.3853C19.8365 19.258 19.9223 19.1543 19.9644 19.0851C19.9846 19.0521 19.993 19.0298 19.9966 19.018C19.9999 19.007 20 19.0019 20 19V14.5318Z"})),c=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 3C3.89543 3 3 3.89543 3 5C3 6.10457 3.89543 7 5 7C6.10457 7 7 6.10457 7 5C7 3.89543 6.10457 3 5 3ZM1 5C1 2.79086 2.79086 1 5 1C7.20914 1 9 2.79086 9 5C9 7.20914 7.20914 9 5 9C2.79086 9 1 7.20914 1 5ZM15.3531 6.06506C14.5699 6.00083 13.4768 6 11.9344 6H11.5C10.9477 6 10.5 5.55228 10.5 5C10.5 4.44772 10.9477 4 11.5 4L11.9846 4C13.4658 3.99999 14.6415 3.99998 15.5166 4.07176C15.9623 4.10831 16.3749 4.16645 16.736 4.26872C17.0962 4.37071 17.4673 4.53362 17.771 4.82093C18.5209 5.53055 18.8532 6.57592 18.6507 7.58832C18.5688 7.99821 18.3599 8.34552 18.1247 8.63678C17.8889 8.92882 17.5856 9.21455 17.2429 9.50177C16.5699 10.0657 15.61 10.7447 14.4007 11.6L10.2952 14.5039C9.0359 15.3946 8.14402 16.0264 7.54167 16.5312C7.24297 16.7815 7.0505 16.9721 6.9314 17.1196C6.83281 17.2417 6.81191 17.3009 6.80978 17.3071C6.74385 17.6425 6.8538 17.9884 7.1013 18.2241C7.10663 18.2279 7.15787 18.2642 7.30887 18.3069C7.49129 18.3586 7.75849 18.4031 8.1469 18.4349C8.93013 18.4992 10.0232 18.5 11.5656 18.5H12.5C13.0523 18.5 13.5 18.9477 13.5 19.5C13.5 20.0523 13.0523 20.5 12.5 20.5H11.5154C10.0343 20.5 8.85853 20.5 7.98341 20.4282C7.53771 20.3917 7.12511 20.3335 6.76395 20.2313C6.40378 20.1293 6.03267 19.9664 5.72904 19.6791C4.97912 18.9694 4.64679 17.9241 4.84925 16.9117C4.93123 16.5018 5.14013 16.1545 5.37529 15.8632C5.61108 15.5712 5.91437 15.2854 6.25714 14.9982C6.93015 14.4343 7.89004 13.7553 9.09927 12.9L13.2048 9.99611C14.4641 9.1054 15.356 8.47355 15.9583 7.96881C16.257 7.71851 16.4495 7.5279 16.5686 7.38039C16.6672 7.25833 16.6881 7.19915 16.6902 7.1929C16.7562 6.85751 16.6462 6.51165 16.3987 6.2759C16.3934 6.27206 16.3421 6.23581 16.1911 6.19305C16.0087 6.1414 15.7415 6.09692 15.3531 6.06506ZM19 17C17.8954 17 17 17.8954 17 19C17 20.1046 17.8954 21 19 21C20.1046 21 21 20.1046 21 19C21 17.8954 20.1046 17 19 17ZM15 19C15 16.7909 16.7909 15 19 15C21.2091 15 23 16.7909 23 19C23 21.2091 21.2091 23 19 23C16.7909 23 15 21.2091 15 19Z"})),L=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.7587 2H16.2413C17.0463 1.99999 17.7106 1.99998 18.2518 2.04419C18.8139 2.09012 19.3306 2.18868 19.816 2.43597C20.5686 2.81947 21.1805 3.43139 21.564 4.18404C21.8113 4.66937 21.9099 5.18608 21.9558 5.74817C22 6.28936 22 6.95372 22 7.75868V13.5343C22 14.2041 22 14.7569 21.9691 15.2095C21.9371 15.6788 21.8686 16.1129 21.6955 16.5307C21.2895 17.5108 20.5108 18.2895 19.5307 18.6955C19.1129 18.8686 18.6788 18.9371 18.2095 18.9691C17.7569 19 17.2041 19 16.5343 19H16.5C15.9634 19 15.8569 19.0063 15.7702 19.0268C15.6192 19.0624 15.4784 19.1328 15.3593 19.2322C15.2909 19.2893 15.2219 19.3707 14.9 19.8L13.4231 21.7693C13.3297 21.8938 13.2242 22.0346 13.1226 22.1476C13.0106 22.2721 12.8244 22.4555 12.5437 22.5647C12.194 22.7007 11.806 22.7007 11.4563 22.5647C11.1756 22.4555 10.9894 22.2721 10.8774 22.1476C10.7758 22.0346 10.6703 21.8938 10.577 21.7693L9.1 19.8C8.77806 19.3708 8.70913 19.2893 8.64075 19.2322C8.52156 19.1328 8.38085 19.0624 8.22975 19.0268C8.14307 19.0063 8.03656 19 7.5 19H7.46573C6.79594 19 6.24307 19 5.79046 18.9691C5.32118 18.9371 4.88708 18.8686 4.46927 18.6955C3.48915 18.2895 2.71046 17.5108 2.30448 16.5307C2.13142 16.1129 2.06288 15.6788 2.03087 15.2095C1.99998 14.7569 1.99999 14.2041 2 13.5343L2 7.7587C1.99999 6.95373 1.99998 6.28937 2.04419 5.74817C2.09012 5.18608 2.18868 4.66937 2.43597 4.18404C2.81947 3.43139 3.43139 2.81947 4.18404 2.43597C4.66937 2.18868 5.18608 2.09012 5.74817 2.04419C6.28937 1.99998 6.95373 1.99999 7.7587 2ZM5.91104 4.03755C5.47262 4.07337 5.24842 4.1383 5.09202 4.21799C4.7157 4.40973 4.40973 4.7157 4.21799 5.09202C4.1383 5.24842 4.07337 5.47262 4.03755 5.91104C4.00078 6.36113 4 6.94342 4 7.8V13.5C4 14.2126 4.00054 14.697 4.02623 15.0734C4.0513 15.4409 4.09694 15.6319 4.15224 15.7654C4.35523 16.2554 4.74458 16.6448 5.23463 16.8478C5.36813 16.9031 5.55915 16.9487 5.9266 16.9738C6.30304 16.9995 6.78741 17 7.5 17C7.52818 17 7.55611 17 7.58382 16.9999C7.9894 16.9996 8.34611 16.9992 8.68926 17.0803C9.14254 17.1873 9.56467 17.3983 9.92224 17.6967C10.1929 17.9227 10.4067 18.2082 10.6497 18.5329C10.6663 18.5551 10.6831 18.5775 10.7 18.6L12 20.3333L13.3 18.6C13.3169 18.5775 13.3337 18.5551 13.3503 18.5329C13.5933 18.2082 13.8071 17.9227 14.0778 17.6967C14.4353 17.3983 14.8575 17.1873 15.3107 17.0803C15.6539 16.9992 16.0106 16.9996 16.4162 16.9999C16.4439 17 16.4718 17 16.5 17C17.2126 17 17.697 16.9995 18.0734 16.9738C18.4409 16.9487 18.6319 16.9031 18.7654 16.8478C19.2554 16.6448 19.6448 16.2554 19.8478 15.7654C19.9031 15.6319 19.9487 15.4409 19.9738 15.0734C19.9995 14.697 20 14.2126 20 13.5V7.8C20 6.94342 19.9992 6.36113 19.9624 5.91104C19.9266 5.47262 19.8617 5.24842 19.782 5.09202C19.5903 4.7157 19.2843 4.40973 18.908 4.21799C18.7516 4.1383 18.5274 4.07337 18.089 4.03755C17.6389 4.00078 17.0566 4 16.2 4H7.8C6.94342 4 6.36113 4.00078 5.91104 4.03755ZM12 6C12.5523 6 13 6.44772 13 7V10.5C13 11.0523 12.5523 11.5 12 11.5C11.4477 11.5 11 11.0523 11 10.5V7C11 6.44772 11.4477 6 12 6ZM11 14C11 13.4477 11.4477 13 12 13H12.01C12.5623 13 13.01 13.4477 13.01 14C13.01 14.5523 12.5623 15 12.01 15H12C11.4477 15 11 14.5523 11 14Z"})),v=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.089 4.03755C17.6389 4.00078 17.0566 4 16.2 4H12C11.4477 4 11 3.55229 11 3C11 2.44772 11.4477 2 12 2L16.2413 2C17.0463 1.99999 17.7106 1.99998 18.2518 2.04419C18.8139 2.09012 19.3306 2.18868 19.816 2.43598C20.5686 2.81947 21.1805 3.43139 21.564 4.18404C21.8113 4.66937 21.9099 5.18608 21.9558 5.74817C22 6.28936 22 6.95372 22 7.75868V16.2413C22 17.0463 22 17.7106 21.9558 18.2518C21.9099 18.8139 21.8113 19.3306 21.564 19.816C21.1805 20.5686 20.5686 21.1805 19.816 21.564C19.3306 21.8113 18.8139 21.9099 18.2518 21.9558C17.7106 22 17.0463 22 16.2413 22H7.75868C6.95372 22 6.28936 22 5.74817 21.9558C5.18608 21.9099 4.66937 21.8113 4.18404 21.564C3.43139 21.1805 2.81947 20.5686 2.43597 19.816C2.18868 19.3306 2.09012 18.8139 2.04419 18.2518C1.99998 17.7106 1.99999 17.0463 2 16.2413L2 12C2 11.4477 2.44772 11 3 11C3.55228 11 4 11.4477 4 12V16.2C4 17.0566 4.00078 17.6389 4.03755 18.089C4.07337 18.5274 4.1383 18.7516 4.21799 18.908C4.40973 19.2843 4.71569 19.5903 5.09202 19.782C5.24842 19.8617 5.47262 19.9266 5.91104 19.9624C6.36113 19.9992 6.94342 20 7.8 20H16.2C17.0566 20 17.6389 19.9992 18.089 19.9624C18.5274 19.9266 18.7516 19.8617 18.908 19.782C19.2843 19.5903 19.5903 19.2843 19.782 18.908C19.8617 18.7516 19.9266 18.5274 19.9624 18.089C19.9992 17.6389 20 17.0566 20 16.2V7.8C20 6.94342 19.9992 6.36113 19.9624 5.91104C19.9266 5.47262 19.8617 5.24842 19.782 5.09202C19.5903 4.7157 19.2843 4.40973 18.908 4.21799C18.7516 4.1383 18.5274 4.07337 18.089 4.03755ZM12 6C12.5523 6 13 6.44772 13 7V17C13 17.5523 12.5523 18 12 18C11.4477 18 11 17.5523 11 17V7C11 6.44772 11.4477 6 12 6ZM16 10C16.5523 10 17 10.4477 17 11V17C17 17.5523 16.5523 18 16 18C15.4477 18 15 17.5523 15 17V11C15 10.4477 15.4477 10 16 10ZM8 12C8.55228 12 9 12.4477 9 13V17C9 17.5523 8.55228 18 8 18C7.44772 18 7 17.5523 7 17V13C7 12.4477 7.44772 12 8 12Z"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.70711 3.29289C9.09763 3.68342 9.09763 4.31658 8.70711 4.70711L4.70711 8.70711C4.31658 9.09763 3.68342 9.09763 3.29289 8.70711L1.29289 6.70711C0.902369 6.31658 0.902369 5.68342 1.29289 5.29289C1.68342 4.90237 2.31658 4.90237 2.70711 5.29289L4 6.58579L7.29289 3.29289C7.68342 2.90237 8.31658 2.90237 8.70711 3.29289Z"})),d=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.56808 1C9.5787 1 9.58933 1.00001 9.59997 1.00001L14.4319 1C14.6843 0.999973 14.93 0.999943 15.1382 1.01695C15.3668 1.03563 15.6365 1.07969 15.908 1.21799C16.2843 1.40974 16.5902 1.7157 16.782 2.09202C16.9203 2.36345 16.9644 2.63318 16.983 2.86178C16.9869 2.90871 16.9898 2.95756 16.9921 3.00797C17.3873 3.02072 17.7257 3.05337 18.0353 3.1363C19.4156 3.50617 20.4938 4.58436 20.8637 5.96473C21.0008 6.47638 21.0005 7.06704 21 7.86243C21 7.90762 21 7.95347 21 8.00001V17.2413C21 18.0463 21 18.7106 20.9558 19.2518C20.9099 19.8139 20.8113 20.3306 20.564 20.816C20.1805 21.5686 19.5686 22.1805 18.8159 22.564C18.3306 22.8113 17.8139 22.9099 17.2518 22.9558C16.7106 23 16.0463 23 15.2413 23H8.75865C7.95369 23 7.28934 23 6.74815 22.9558C6.18605 22.9099 5.66935 22.8113 5.18401 22.564C4.43136 22.1805 3.81944 21.5686 3.43595 20.816C3.18866 20.3306 3.09009 19.8139 3.04417 19.2518C2.99995 18.7106 2.99996 18.0463 2.99997 17.2413L2.99997 8.00001C2.99997 7.95347 2.99995 7.90762 2.99993 7.86242C2.99949 7.06704 2.99917 6.47638 3.13627 5.96473C3.50614 4.58436 4.58433 3.50617 5.9647 3.1363C6.27421 3.05337 6.61264 3.02072 7.00782 3.00796C7.01012 2.95756 7.01308 2.90871 7.01692 2.86178C7.0356 2.63318 7.07966 2.36345 7.21796 2.09202C7.40971 1.7157 7.71567 1.40974 8.09199 1.21799C8.36342 1.07969 8.63315 1.03563 8.86174 1.01695C9.0699 0.999943 9.31569 0.999973 9.56808 1ZM7.00865 5.00956C6.74556 5.01867 6.60245 5.03597 6.48234 5.06815C5.79215 5.25309 5.25306 5.79218 5.06812 6.48237C5.00856 6.70465 4.99997 7.00565 4.99997 8.00001V17.2C4.99997 18.0566 5.00075 18.6389 5.03753 19.089C5.07335 19.5274 5.13827 19.7516 5.21796 19.908C5.40971 20.2843 5.71567 20.5903 6.09199 20.782C6.24839 20.8617 6.4726 20.9266 6.91101 20.9625C7.3611 20.9992 7.94339 21 8.79997 21H15.2C16.0566 21 16.6388 20.9992 17.0889 20.9625C17.5274 20.9266 17.7516 20.8617 17.908 20.782C18.2843 20.5903 18.5902 20.2843 18.782 19.908C18.8617 19.7516 18.9266 19.5274 18.9624 19.089C18.9992 18.6389 19 18.0566 19 17.2V8.00001C19 7.00565 18.9914 6.70465 18.9318 6.48237C18.7469 5.79218 18.2078 5.25309 17.5176 5.06815C17.3975 5.03597 17.2544 5.01867 16.9913 5.00956C16.9891 5.05378 16.9864 5.09676 16.983 5.13824C16.9644 5.36683 16.9203 5.63656 16.782 5.90799C16.5902 6.28431 16.2843 6.59027 15.908 6.78202C15.6365 6.92032 15.3668 6.96438 15.1382 6.98306C14.93 7.00007 14.6843 7.00004 14.4319 7.00001L9.59997 7.00001C9.58933 7.00001 9.5787 7.00001 9.56808 7.00001C9.31569 7.00004 9.0699 7.00007 8.86174 6.98306C8.63315 6.96438 8.36342 6.92032 8.09199 6.78202C7.71567 6.59027 7.40971 6.28431 7.21796 5.90799C7.07966 5.63656 7.0356 5.36683 7.01692 5.13824C7.01353 5.09676 7.01082 5.05378 7.00865 5.00956ZM15 3.60001C15 3.30348 14.9992 3.14122 14.9897 3.02464C14.9893 3.02 14.9889 3.0156 14.9885 3.01145C14.9844 3.01107 14.98 3.01069 14.9753 3.01031C14.8588 3.00078 14.6965 3.00001 14.4 3.00001H9.59997C9.30345 3.00001 9.14119 3.00078 9.02461 3.01031C9.01997 3.01069 9.01557 3.01107 9.01142 3.01145C9.01104 3.0156 9.01066 3.02 9.01028 3.02464C9.00075 3.14122 8.99997 3.30348 8.99997 3.60001V4.40001C8.99997 4.69653 9.00075 4.85879 9.01028 4.97537C9.01066 4.98001 9.01104 4.98441 9.01142 4.98856C9.01557 4.98894 9.01997 4.98932 9.02461 4.9897C9.14119 4.99923 9.30345 5.00001 9.59997 5.00001H14.4C14.6965 5.00001 14.8588 4.99923 14.9753 4.9897C14.98 4.98932 14.9844 4.98894 14.9885 4.98856C14.9889 4.98441 14.9893 4.98001 14.9897 4.97537C14.9992 4.85879 15 4.69653 15 4.40001V3.60001Z"})),i=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.09 4.05463C9.96938 4.01302 9.8127 3.99997 9.02229 3.99997H5.2C4.62345 3.99997 4.25117 4.00075 3.96784 4.0239C3.69617 4.04609 3.59546 4.08377 3.54601 4.10896C3.35785 4.20484 3.20487 4.35782 3.109 4.54598C3.0838 4.59542 3.04612 4.69614 3.02393 4.96781C3.00357 5.21695 3.00052 5.53487 3.00007 5.99997H11.382L10.99 5.2161C10.6366 4.50915 10.5548 4.37484 10.4637 4.28555C10.3578 4.18184 10.2301 4.10296 10.09 4.05463ZM13.618 5.99997L12.7789 4.32168C12.7602 4.28429 12.7417 4.24719 12.7234 4.2104C12.4586 3.67916 12.2258 3.21196 11.8631 2.85672C11.5454 2.54557 11.1625 2.30893 10.7421 2.16394C10.2622 1.99839 9.74022 1.99908 9.14666 1.99986C9.10555 1.99992 9.0641 1.99997 9.02229 1.99997L5.16146 1.99997C4.63431 1.99995 4.17955 1.99994 3.80497 2.03054C3.40963 2.06284 3.01641 2.13416 2.63803 2.32695C2.07354 2.61457 1.6146 3.07351 1.32698 3.638C1.13419 4.01638 1.06287 4.4096 1.03057 4.80494C0.999967 5.17952 0.999983 5.63428 1 6.16143L1 16.2413C0.999989 17.0462 0.999978 17.7106 1.0442 18.2518C1.09012 18.8139 1.18868 19.3306 1.43598 19.8159C1.81947 20.5686 2.43139 21.1805 3.18404 21.564C3.66938 21.8113 4.18608 21.9099 4.74818 21.9558C5.28937 22 5.95372 22 6.75868 22H17.2413C18.0463 22 18.7106 22 19.2518 21.9558C19.8139 21.9099 20.3306 21.8113 20.816 21.564C21.5686 21.1805 22.1805 20.5686 22.564 19.8159C22.8113 19.3306 22.9099 18.8139 22.9558 18.2518C23 17.7106 23 17.0463 23 16.2413V11.7586C23 10.9537 23 10.2893 22.9558 9.74815C22.9099 9.18605 22.8113 8.66934 22.564 8.18401C22.1805 7.43136 21.5686 6.81944 20.816 6.43595C20.3306 6.18865 19.8139 6.09009 19.2518 6.04417C18.7106 5.99995 18.0463 5.99996 17.2413 5.99997L13.618 5.99997ZM12.9799 7.99997C12.9938 8.00026 13.0077 8.00026 13.0217 7.99997H17.2C18.0566 7.99997 18.6389 8.00075 19.089 8.03752C19.5274 8.07334 19.7516 8.13827 19.908 8.21796C20.2843 8.40971 20.5903 8.71567 20.782 9.09199C20.8617 9.24839 20.9266 9.47259 20.9625 9.91101C20.9992 10.3611 21 10.9434 21 11.8V16.2C21 17.0566 20.9992 17.6388 20.9625 18.0889C20.9266 18.5273 20.8617 18.7516 20.782 18.908C20.5903 19.2843 20.2843 19.5902 19.908 19.782C19.7516 19.8617 19.5274 19.9266 19.089 19.9624C18.6389 19.9992 18.0566 20 17.2 20H6.8C5.94342 20 5.36113 19.9992 4.91104 19.9624C4.47262 19.9266 4.24842 19.8617 4.09202 19.782C3.7157 19.5902 3.40974 19.2843 3.21799 18.908C3.1383 18.7516 3.07337 18.5273 3.03755 18.0889C3.00078 17.6388 3 17.0566 3 16.2V7.99997H12.9799Z"})),m=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0331 3.55266C16.2491 2.10798 17.4952 1 19 1C20.6569 1 22 2.34315 22 4C22 5.65685 20.6569 7 19 7C18.0222 7 17.1537 6.53221 16.606 5.80823L14.7071 7.70711C14.5196 7.89464 14.2652 8 14 8H11.3028L8.5547 9.83205C8.39043 9.94156 8.19742 10 8 10H6C5.44772 10 5 9.55228 5 9C5 8.44772 5.44772 8 6 8H7.69722L10.4453 6.16795C10.6096 6.05844 10.8026 6 11 6H13.5858L16.0331 3.55266ZM19 3C18.4477 3 18 3.44771 18 4C18 4.55228 18.4477 5 19 5C19.5523 5 20 4.55228 20 4C20 3.44772 19.5523 3 19 3ZM4.62228 2.69442C6.62277 1.19905 9.25414 1.36395 11.3162 2.05132C11.8402 2.22596 12.1233 2.79228 11.9487 3.31623C11.774 3.84017 11.2077 4.12333 10.6838 3.94868C8.90412 3.35547 7.06274 3.36718 5.81971 4.29634C4.46575 5.30843 3 7.24435 3 12C3 12.9382 3.05705 13.7667 3.15904 14.5H4.99576C5.16125 14.5 5.32416 14.4589 5.46986 14.3805L11.7479 11H16.1707C16.5825 9.83481 17.6938 9 19 9C20.6569 9 22 10.3431 22 12C22 13.6569 20.6569 15 19 15C17.6938 15 16.5825 14.1652 16.1707 13H12.2521L6.41806 16.1414C5.98094 16.3768 5.49223 16.5 4.99576 16.5H3.61096C4.1633 18.166 5.01143 19.0995 5.81971 19.7037C7.06274 20.6328 8.90412 20.6445 10.6838 20.0513C11.2077 19.8767 11.774 20.1598 11.9487 20.6838C12.1233 21.2077 11.8402 21.774 11.3162 21.9487C9.25414 22.636 6.62277 22.8009 4.62228 21.3056C2.65716 19.8367 1 17.241 1 12C1 6.75899 2.65716 4.16335 4.62228 2.69442ZM19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11ZM8.79289 16.2929C8.98043 16.1054 9.23478 16 9.5 16H14C14.2652 16 14.5196 16.1054 14.7071 16.2929L16.606 18.1918C17.1537 17.4678 18.0222 17 19 17C20.6569 17 22 18.3431 22 20C22 21.6569 20.6569 23 19 23C17.4952 23 16.2491 21.892 16.0331 20.4473L13.5858 18H9.91421L9.20711 18.7071C8.81658 19.0976 8.18342 19.0976 7.79289 18.7071C7.40237 18.3166 7.40237 17.6834 7.79289 17.2929L8.79289 16.2929ZM19 19C18.4477 19 18 19.4477 18 20C18 20.5523 18.4477 21 19 21C19.5523 21 20 20.5523 20 20C20 19.4477 19.5523 19 19 19Z"})),w=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.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.55761L12.7846 2.41823L13.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.23315L21.1563 6.52296L21.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.94153L22 12.5001C22 13.0524 21.5523 13.5001 21 13.5001C20.4477 13.5001 20 13.0524 20 12.5001L20 8.69955L17.0029 10.3646C16.992 10.3709 16.9811 10.377 16.9701 10.3829L13 12.5885L13 20.3006L13.5144 20.0148C13.9971 19.7466 14.6059 19.9205 14.8742 20.4033C15.1424 20.8861 14.9684 21.4949 14.4856 21.7631L13.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.27421 18.2966C3.04308 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.69069 2.33632 6.44253 2.52927 6.23315C2.75244 5.99098 3.04306 5.8309 3.27419 5.7036C3.29579 5.6917 3.31687 5.68009 3.33733 5.66872L3.33733 5.66872L6.99904 3.63444C7.00862 3.62891 7.01828 3.62354 7.02802 3.61834L10.7373 1.55761C10.7567 1.54687 10.7765 1.53575 10.7968 1.52437C11.0152 1.40207 11.2898 1.24824 11.5971 1.18505ZM7.5 5.64404L5.05914 7.00008L12 10.8561L14.4408 9.50006L7.5 5.64404ZM16.5 8.3561L9.55913 4.50008L11.7086 3.30592C11.8602 3.22174 11.9375 3.1792 11.9952 3.15136C11.9969 3.15056 11.9985 3.1498 12 3.14907C12.0015 3.1498 12.0031 3.15056 12.0048 3.15136C12.0625 3.1792 12.1398 3.22173 12.2914 3.30592L18.9408 7.00006L16.5 8.3561ZM11 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.00971 16.4119C4.067 16.4484 4.14867 16.4943 4.30862 16.5831L3.82297 17.4573L4.30862 16.5831L11 20.3006L11 12.5885ZM19 14.0001C19.5523 14.0001 20 14.4478 20 15.0001V17.0001H22C22.5523 17.0001 23 17.4478 23 18.0001C23 18.5524 22.5523 19.0001 22 19.0001H20V21.0001C20 21.5524 19.5523 22.0001 19 22.0001C18.4477 22.0001 18 21.5524 18 21.0001V19.0001H16C15.4477 19.0001 15 18.5524 15 18.0001C15 17.4478 15.4477 17.0001 16 17.0001H18V15.0001C18 14.4478 18.4477 14.0001 19 14.0001Z"}));function H({type:C,...t}){switch(C){case"orchestrator":return l.jsx(m,{...t});case"artifact_store":return l.jsx(i,{...t});case"container_registry":return l.jsx(n,{...t});case"step_operator":return l.jsx(c,{...t});case"model_deployer":return l.jsx(a,{...t});case"feature_store":return l.jsx(s,{...t});case"experiment_tracker":return l.jsx(d,{...t});case"alerter":return l.jsx(L,{...t});case"annotator":return l.jsx(o,{...t});case"data_validator":return l.jsx(v,{...t});case"image_builder":return l.jsx(w,{...t});case"model_registry":return l.jsx(r,{...t})}}export{H as C,c as S,s as a};
1
+ import{r as e,j as l}from"./@radix-Cdvw4jJ8.js";import{bm as a,aZ as n}from"./index-BgEfQ3_G.js";import{S as r}from"./layout-DBbfEFBe.js";import{S as o}from"./transform-CeZdrxDZ.js";const s=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 5C4.00001 5.00124 4.00018 5.00585 4.00305 5.01529C4.00645 5.02644 4.01483 5.04845 4.03507 5.08143C4.07752 5.15057 4.16408 5.25453 4.32624 5.38232C4.65642 5.64253 5.19616 5.9206 5.95227 6.17264C7.45402 6.67322 9.59229 7 12 7C14.4077 7 16.546 6.67322 18.0477 6.17264C18.8038 5.9206 19.3436 5.64253 19.6738 5.38232C19.8359 5.25453 19.9225 5.15057 19.9649 5.08143C19.9852 5.04845 19.9935 5.02644 19.9969 5.01529C19.9999 5.00571 20 5.00139 20 5.00022C20 5.00016 20 5.00027 20 5.00022C20 4.99949 20.0001 4.99506 19.9969 4.98471C19.9935 4.97356 19.9852 4.95155 19.9649 4.91857C19.9225 4.84943 19.8359 4.74547 19.6738 4.61768C19.3436 4.35747 18.8038 4.0794 18.0477 3.82736C16.546 3.32678 14.4077 3 12 3C9.59229 3 7.45402 3.32678 5.95227 3.82736C5.19616 4.0794 4.65642 4.35747 4.32624 4.61768C4.16408 4.74547 4.07752 4.84943 4.03507 4.91857C4.01483 4.95155 4.00645 4.97356 4.00305 4.98471C3.99998 4.99479 4 4.99911 4 5ZM20 7.5266C19.5988 7.73177 19.1533 7.91229 18.6802 8.07C16.9246 8.6552 14.5629 9 12 9C9.43715 9 7.07541 8.6552 5.31981 8.07C4.84666 7.91229 4.40123 7.73177 4 7.5266V12C4 12.0019 4.00008 12.007 4.0034 12.018C4.00695 12.0298 4.01544 12.0521 4.03558 12.0851C4.07772 12.1543 4.16348 12.258 4.32419 12.3853C4.65159 12.6447 5.18788 12.9223 5.94167 13.174C7.43891 13.6738 9.57676 14 12 14C14.4232 14 16.5611 13.6738 18.0583 13.174C18.8121 12.9223 19.3484 12.6447 19.6758 12.3853C19.8365 12.258 19.9223 12.1543 19.9644 12.0851C19.9846 12.0521 19.993 12.0298 19.9966 12.018C19.9999 12.007 20 12.0019 20 12V7.5266ZM22 5C22 4.14805 21.4811 3.49559 20.9117 3.04685C20.331 2.58923 19.5528 2.22085 18.6802 1.93C16.9246 1.3448 14.5629 1 12 1C9.43715 1 7.07541 1.3448 5.31981 1.93C4.44724 2.22085 3.66896 2.58923 3.08829 3.04685C2.51889 3.49559 2 4.14805 2 5V19C2 19.8494 2.51319 20.502 3.08206 20.9528C3.66091 21.4115 4.43712 21.7802 5.30833 22.071C7.06109 22.6562 9.42324 23 12 23C14.5768 23 16.9389 22.6562 18.6917 22.071C19.5629 21.7802 20.3391 21.4115 20.9179 20.9528C21.4868 20.502 22 19.8494 22 19V5ZM20 14.5318C19.6021 14.7354 19.1606 14.9145 18.6917 15.071C16.9389 15.6562 14.5768 16 12 16C9.42324 16 7.06109 15.6562 5.30833 15.071C4.83938 14.9145 4.39794 14.7354 4 14.5318V19C4 19.0019 4.00008 19.007 4.0034 19.018C4.00695 19.0298 4.01544 19.0521 4.03558 19.0851C4.07772 19.1543 4.16348 19.258 4.32419 19.3853C4.65159 19.6447 5.18788 19.9223 5.94167 20.174C7.43891 20.6738 9.57676 21 12 21C14.4232 21 16.5611 20.6738 18.0583 20.174C18.8121 19.9223 19.3484 19.6447 19.6758 19.3853C19.8365 19.258 19.9223 19.1543 19.9644 19.0851C19.9846 19.0521 19.993 19.0298 19.9966 19.018C19.9999 19.007 20 19.0019 20 19V14.5318Z"})),c=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 3C3.89543 3 3 3.89543 3 5C3 6.10457 3.89543 7 5 7C6.10457 7 7 6.10457 7 5C7 3.89543 6.10457 3 5 3ZM1 5C1 2.79086 2.79086 1 5 1C7.20914 1 9 2.79086 9 5C9 7.20914 7.20914 9 5 9C2.79086 9 1 7.20914 1 5ZM15.3531 6.06506C14.5699 6.00083 13.4768 6 11.9344 6H11.5C10.9477 6 10.5 5.55228 10.5 5C10.5 4.44772 10.9477 4 11.5 4L11.9846 4C13.4658 3.99999 14.6415 3.99998 15.5166 4.07176C15.9623 4.10831 16.3749 4.16645 16.736 4.26872C17.0962 4.37071 17.4673 4.53362 17.771 4.82093C18.5209 5.53055 18.8532 6.57592 18.6507 7.58832C18.5688 7.99821 18.3599 8.34552 18.1247 8.63678C17.8889 8.92882 17.5856 9.21455 17.2429 9.50177C16.5699 10.0657 15.61 10.7447 14.4007 11.6L10.2952 14.5039C9.0359 15.3946 8.14402 16.0264 7.54167 16.5312C7.24297 16.7815 7.0505 16.9721 6.9314 17.1196C6.83281 17.2417 6.81191 17.3009 6.80978 17.3071C6.74385 17.6425 6.8538 17.9884 7.1013 18.2241C7.10663 18.2279 7.15787 18.2642 7.30887 18.3069C7.49129 18.3586 7.75849 18.4031 8.1469 18.4349C8.93013 18.4992 10.0232 18.5 11.5656 18.5H12.5C13.0523 18.5 13.5 18.9477 13.5 19.5C13.5 20.0523 13.0523 20.5 12.5 20.5H11.5154C10.0343 20.5 8.85853 20.5 7.98341 20.4282C7.53771 20.3917 7.12511 20.3335 6.76395 20.2313C6.40378 20.1293 6.03267 19.9664 5.72904 19.6791C4.97912 18.9694 4.64679 17.9241 4.84925 16.9117C4.93123 16.5018 5.14013 16.1545 5.37529 15.8632C5.61108 15.5712 5.91437 15.2854 6.25714 14.9982C6.93015 14.4343 7.89004 13.7553 9.09927 12.9L13.2048 9.99611C14.4641 9.1054 15.356 8.47355 15.9583 7.96881C16.257 7.71851 16.4495 7.5279 16.5686 7.38039C16.6672 7.25833 16.6881 7.19915 16.6902 7.1929C16.7562 6.85751 16.6462 6.51165 16.3987 6.2759C16.3934 6.27206 16.3421 6.23581 16.1911 6.19305C16.0087 6.1414 15.7415 6.09692 15.3531 6.06506ZM19 17C17.8954 17 17 17.8954 17 19C17 20.1046 17.8954 21 19 21C20.1046 21 21 20.1046 21 19C21 17.8954 20.1046 17 19 17ZM15 19C15 16.7909 16.7909 15 19 15C21.2091 15 23 16.7909 23 19C23 21.2091 21.2091 23 19 23C16.7909 23 15 21.2091 15 19Z"})),L=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.7587 2H16.2413C17.0463 1.99999 17.7106 1.99998 18.2518 2.04419C18.8139 2.09012 19.3306 2.18868 19.816 2.43597C20.5686 2.81947 21.1805 3.43139 21.564 4.18404C21.8113 4.66937 21.9099 5.18608 21.9558 5.74817C22 6.28936 22 6.95372 22 7.75868V13.5343C22 14.2041 22 14.7569 21.9691 15.2095C21.9371 15.6788 21.8686 16.1129 21.6955 16.5307C21.2895 17.5108 20.5108 18.2895 19.5307 18.6955C19.1129 18.8686 18.6788 18.9371 18.2095 18.9691C17.7569 19 17.2041 19 16.5343 19H16.5C15.9634 19 15.8569 19.0063 15.7702 19.0268C15.6192 19.0624 15.4784 19.1328 15.3593 19.2322C15.2909 19.2893 15.2219 19.3707 14.9 19.8L13.4231 21.7693C13.3297 21.8938 13.2242 22.0346 13.1226 22.1476C13.0106 22.2721 12.8244 22.4555 12.5437 22.5647C12.194 22.7007 11.806 22.7007 11.4563 22.5647C11.1756 22.4555 10.9894 22.2721 10.8774 22.1476C10.7758 22.0346 10.6703 21.8938 10.577 21.7693L9.1 19.8C8.77806 19.3708 8.70913 19.2893 8.64075 19.2322C8.52156 19.1328 8.38085 19.0624 8.22975 19.0268C8.14307 19.0063 8.03656 19 7.5 19H7.46573C6.79594 19 6.24307 19 5.79046 18.9691C5.32118 18.9371 4.88708 18.8686 4.46927 18.6955C3.48915 18.2895 2.71046 17.5108 2.30448 16.5307C2.13142 16.1129 2.06288 15.6788 2.03087 15.2095C1.99998 14.7569 1.99999 14.2041 2 13.5343L2 7.7587C1.99999 6.95373 1.99998 6.28937 2.04419 5.74817C2.09012 5.18608 2.18868 4.66937 2.43597 4.18404C2.81947 3.43139 3.43139 2.81947 4.18404 2.43597C4.66937 2.18868 5.18608 2.09012 5.74817 2.04419C6.28937 1.99998 6.95373 1.99999 7.7587 2ZM5.91104 4.03755C5.47262 4.07337 5.24842 4.1383 5.09202 4.21799C4.7157 4.40973 4.40973 4.7157 4.21799 5.09202C4.1383 5.24842 4.07337 5.47262 4.03755 5.91104C4.00078 6.36113 4 6.94342 4 7.8V13.5C4 14.2126 4.00054 14.697 4.02623 15.0734C4.0513 15.4409 4.09694 15.6319 4.15224 15.7654C4.35523 16.2554 4.74458 16.6448 5.23463 16.8478C5.36813 16.9031 5.55915 16.9487 5.9266 16.9738C6.30304 16.9995 6.78741 17 7.5 17C7.52818 17 7.55611 17 7.58382 16.9999C7.9894 16.9996 8.34611 16.9992 8.68926 17.0803C9.14254 17.1873 9.56467 17.3983 9.92224 17.6967C10.1929 17.9227 10.4067 18.2082 10.6497 18.5329C10.6663 18.5551 10.6831 18.5775 10.7 18.6L12 20.3333L13.3 18.6C13.3169 18.5775 13.3337 18.5551 13.3503 18.5329C13.5933 18.2082 13.8071 17.9227 14.0778 17.6967C14.4353 17.3983 14.8575 17.1873 15.3107 17.0803C15.6539 16.9992 16.0106 16.9996 16.4162 16.9999C16.4439 17 16.4718 17 16.5 17C17.2126 17 17.697 16.9995 18.0734 16.9738C18.4409 16.9487 18.6319 16.9031 18.7654 16.8478C19.2554 16.6448 19.6448 16.2554 19.8478 15.7654C19.9031 15.6319 19.9487 15.4409 19.9738 15.0734C19.9995 14.697 20 14.2126 20 13.5V7.8C20 6.94342 19.9992 6.36113 19.9624 5.91104C19.9266 5.47262 19.8617 5.24842 19.782 5.09202C19.5903 4.7157 19.2843 4.40973 18.908 4.21799C18.7516 4.1383 18.5274 4.07337 18.089 4.03755C17.6389 4.00078 17.0566 4 16.2 4H7.8C6.94342 4 6.36113 4.00078 5.91104 4.03755ZM12 6C12.5523 6 13 6.44772 13 7V10.5C13 11.0523 12.5523 11.5 12 11.5C11.4477 11.5 11 11.0523 11 10.5V7C11 6.44772 11.4477 6 12 6ZM11 14C11 13.4477 11.4477 13 12 13H12.01C12.5623 13 13.01 13.4477 13.01 14C13.01 14.5523 12.5623 15 12.01 15H12C11.4477 15 11 14.5523 11 14Z"})),v=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.089 4.03755C17.6389 4.00078 17.0566 4 16.2 4H12C11.4477 4 11 3.55229 11 3C11 2.44772 11.4477 2 12 2L16.2413 2C17.0463 1.99999 17.7106 1.99998 18.2518 2.04419C18.8139 2.09012 19.3306 2.18868 19.816 2.43598C20.5686 2.81947 21.1805 3.43139 21.564 4.18404C21.8113 4.66937 21.9099 5.18608 21.9558 5.74817C22 6.28936 22 6.95372 22 7.75868V16.2413C22 17.0463 22 17.7106 21.9558 18.2518C21.9099 18.8139 21.8113 19.3306 21.564 19.816C21.1805 20.5686 20.5686 21.1805 19.816 21.564C19.3306 21.8113 18.8139 21.9099 18.2518 21.9558C17.7106 22 17.0463 22 16.2413 22H7.75868C6.95372 22 6.28936 22 5.74817 21.9558C5.18608 21.9099 4.66937 21.8113 4.18404 21.564C3.43139 21.1805 2.81947 20.5686 2.43597 19.816C2.18868 19.3306 2.09012 18.8139 2.04419 18.2518C1.99998 17.7106 1.99999 17.0463 2 16.2413L2 12C2 11.4477 2.44772 11 3 11C3.55228 11 4 11.4477 4 12V16.2C4 17.0566 4.00078 17.6389 4.03755 18.089C4.07337 18.5274 4.1383 18.7516 4.21799 18.908C4.40973 19.2843 4.71569 19.5903 5.09202 19.782C5.24842 19.8617 5.47262 19.9266 5.91104 19.9624C6.36113 19.9992 6.94342 20 7.8 20H16.2C17.0566 20 17.6389 19.9992 18.089 19.9624C18.5274 19.9266 18.7516 19.8617 18.908 19.782C19.2843 19.5903 19.5903 19.2843 19.782 18.908C19.8617 18.7516 19.9266 18.5274 19.9624 18.089C19.9992 17.6389 20 17.0566 20 16.2V7.8C20 6.94342 19.9992 6.36113 19.9624 5.91104C19.9266 5.47262 19.8617 5.24842 19.782 5.09202C19.5903 4.7157 19.2843 4.40973 18.908 4.21799C18.7516 4.1383 18.5274 4.07337 18.089 4.03755ZM12 6C12.5523 6 13 6.44772 13 7V17C13 17.5523 12.5523 18 12 18C11.4477 18 11 17.5523 11 17V7C11 6.44772 11.4477 6 12 6ZM16 10C16.5523 10 17 10.4477 17 11V17C17 17.5523 16.5523 18 16 18C15.4477 18 15 17.5523 15 17V11C15 10.4477 15.4477 10 16 10ZM8 12C8.55228 12 9 12.4477 9 13V17C9 17.5523 8.55228 18 8 18C7.44772 18 7 17.5523 7 17V13C7 12.4477 7.44772 12 8 12Z"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.70711 3.29289C9.09763 3.68342 9.09763 4.31658 8.70711 4.70711L4.70711 8.70711C4.31658 9.09763 3.68342 9.09763 3.29289 8.70711L1.29289 6.70711C0.902369 6.31658 0.902369 5.68342 1.29289 5.29289C1.68342 4.90237 2.31658 4.90237 2.70711 5.29289L4 6.58579L7.29289 3.29289C7.68342 2.90237 8.31658 2.90237 8.70711 3.29289Z"})),d=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.56808 1C9.5787 1 9.58933 1.00001 9.59997 1.00001L14.4319 1C14.6843 0.999973 14.93 0.999943 15.1382 1.01695C15.3668 1.03563 15.6365 1.07969 15.908 1.21799C16.2843 1.40974 16.5902 1.7157 16.782 2.09202C16.9203 2.36345 16.9644 2.63318 16.983 2.86178C16.9869 2.90871 16.9898 2.95756 16.9921 3.00797C17.3873 3.02072 17.7257 3.05337 18.0353 3.1363C19.4156 3.50617 20.4938 4.58436 20.8637 5.96473C21.0008 6.47638 21.0005 7.06704 21 7.86243C21 7.90762 21 7.95347 21 8.00001V17.2413C21 18.0463 21 18.7106 20.9558 19.2518C20.9099 19.8139 20.8113 20.3306 20.564 20.816C20.1805 21.5686 19.5686 22.1805 18.8159 22.564C18.3306 22.8113 17.8139 22.9099 17.2518 22.9558C16.7106 23 16.0463 23 15.2413 23H8.75865C7.95369 23 7.28934 23 6.74815 22.9558C6.18605 22.9099 5.66935 22.8113 5.18401 22.564C4.43136 22.1805 3.81944 21.5686 3.43595 20.816C3.18866 20.3306 3.09009 19.8139 3.04417 19.2518C2.99995 18.7106 2.99996 18.0463 2.99997 17.2413L2.99997 8.00001C2.99997 7.95347 2.99995 7.90762 2.99993 7.86242C2.99949 7.06704 2.99917 6.47638 3.13627 5.96473C3.50614 4.58436 4.58433 3.50617 5.9647 3.1363C6.27421 3.05337 6.61264 3.02072 7.00782 3.00796C7.01012 2.95756 7.01308 2.90871 7.01692 2.86178C7.0356 2.63318 7.07966 2.36345 7.21796 2.09202C7.40971 1.7157 7.71567 1.40974 8.09199 1.21799C8.36342 1.07969 8.63315 1.03563 8.86174 1.01695C9.0699 0.999943 9.31569 0.999973 9.56808 1ZM7.00865 5.00956C6.74556 5.01867 6.60245 5.03597 6.48234 5.06815C5.79215 5.25309 5.25306 5.79218 5.06812 6.48237C5.00856 6.70465 4.99997 7.00565 4.99997 8.00001V17.2C4.99997 18.0566 5.00075 18.6389 5.03753 19.089C5.07335 19.5274 5.13827 19.7516 5.21796 19.908C5.40971 20.2843 5.71567 20.5903 6.09199 20.782C6.24839 20.8617 6.4726 20.9266 6.91101 20.9625C7.3611 20.9992 7.94339 21 8.79997 21H15.2C16.0566 21 16.6388 20.9992 17.0889 20.9625C17.5274 20.9266 17.7516 20.8617 17.908 20.782C18.2843 20.5903 18.5902 20.2843 18.782 19.908C18.8617 19.7516 18.9266 19.5274 18.9624 19.089C18.9992 18.6389 19 18.0566 19 17.2V8.00001C19 7.00565 18.9914 6.70465 18.9318 6.48237C18.7469 5.79218 18.2078 5.25309 17.5176 5.06815C17.3975 5.03597 17.2544 5.01867 16.9913 5.00956C16.9891 5.05378 16.9864 5.09676 16.983 5.13824C16.9644 5.36683 16.9203 5.63656 16.782 5.90799C16.5902 6.28431 16.2843 6.59027 15.908 6.78202C15.6365 6.92032 15.3668 6.96438 15.1382 6.98306C14.93 7.00007 14.6843 7.00004 14.4319 7.00001L9.59997 7.00001C9.58933 7.00001 9.5787 7.00001 9.56808 7.00001C9.31569 7.00004 9.0699 7.00007 8.86174 6.98306C8.63315 6.96438 8.36342 6.92032 8.09199 6.78202C7.71567 6.59027 7.40971 6.28431 7.21796 5.90799C7.07966 5.63656 7.0356 5.36683 7.01692 5.13824C7.01353 5.09676 7.01082 5.05378 7.00865 5.00956ZM15 3.60001C15 3.30348 14.9992 3.14122 14.9897 3.02464C14.9893 3.02 14.9889 3.0156 14.9885 3.01145C14.9844 3.01107 14.98 3.01069 14.9753 3.01031C14.8588 3.00078 14.6965 3.00001 14.4 3.00001H9.59997C9.30345 3.00001 9.14119 3.00078 9.02461 3.01031C9.01997 3.01069 9.01557 3.01107 9.01142 3.01145C9.01104 3.0156 9.01066 3.02 9.01028 3.02464C9.00075 3.14122 8.99997 3.30348 8.99997 3.60001V4.40001C8.99997 4.69653 9.00075 4.85879 9.01028 4.97537C9.01066 4.98001 9.01104 4.98441 9.01142 4.98856C9.01557 4.98894 9.01997 4.98932 9.02461 4.9897C9.14119 4.99923 9.30345 5.00001 9.59997 5.00001H14.4C14.6965 5.00001 14.8588 4.99923 14.9753 4.9897C14.98 4.98932 14.9844 4.98894 14.9885 4.98856C14.9889 4.98441 14.9893 4.98001 14.9897 4.97537C14.9992 4.85879 15 4.69653 15 4.40001V3.60001Z"})),i=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.09 4.05463C9.96938 4.01302 9.8127 3.99997 9.02229 3.99997H5.2C4.62345 3.99997 4.25117 4.00075 3.96784 4.0239C3.69617 4.04609 3.59546 4.08377 3.54601 4.10896C3.35785 4.20484 3.20487 4.35782 3.109 4.54598C3.0838 4.59542 3.04612 4.69614 3.02393 4.96781C3.00357 5.21695 3.00052 5.53487 3.00007 5.99997H11.382L10.99 5.2161C10.6366 4.50915 10.5548 4.37484 10.4637 4.28555C10.3578 4.18184 10.2301 4.10296 10.09 4.05463ZM13.618 5.99997L12.7789 4.32168C12.7602 4.28429 12.7417 4.24719 12.7234 4.2104C12.4586 3.67916 12.2258 3.21196 11.8631 2.85672C11.5454 2.54557 11.1625 2.30893 10.7421 2.16394C10.2622 1.99839 9.74022 1.99908 9.14666 1.99986C9.10555 1.99992 9.0641 1.99997 9.02229 1.99997L5.16146 1.99997C4.63431 1.99995 4.17955 1.99994 3.80497 2.03054C3.40963 2.06284 3.01641 2.13416 2.63803 2.32695C2.07354 2.61457 1.6146 3.07351 1.32698 3.638C1.13419 4.01638 1.06287 4.4096 1.03057 4.80494C0.999967 5.17952 0.999983 5.63428 1 6.16143L1 16.2413C0.999989 17.0462 0.999978 17.7106 1.0442 18.2518C1.09012 18.8139 1.18868 19.3306 1.43598 19.8159C1.81947 20.5686 2.43139 21.1805 3.18404 21.564C3.66938 21.8113 4.18608 21.9099 4.74818 21.9558C5.28937 22 5.95372 22 6.75868 22H17.2413C18.0463 22 18.7106 22 19.2518 21.9558C19.8139 21.9099 20.3306 21.8113 20.816 21.564C21.5686 21.1805 22.1805 20.5686 22.564 19.8159C22.8113 19.3306 22.9099 18.8139 22.9558 18.2518C23 17.7106 23 17.0463 23 16.2413V11.7586C23 10.9537 23 10.2893 22.9558 9.74815C22.9099 9.18605 22.8113 8.66934 22.564 8.18401C22.1805 7.43136 21.5686 6.81944 20.816 6.43595C20.3306 6.18865 19.8139 6.09009 19.2518 6.04417C18.7106 5.99995 18.0463 5.99996 17.2413 5.99997L13.618 5.99997ZM12.9799 7.99997C12.9938 8.00026 13.0077 8.00026 13.0217 7.99997H17.2C18.0566 7.99997 18.6389 8.00075 19.089 8.03752C19.5274 8.07334 19.7516 8.13827 19.908 8.21796C20.2843 8.40971 20.5903 8.71567 20.782 9.09199C20.8617 9.24839 20.9266 9.47259 20.9625 9.91101C20.9992 10.3611 21 10.9434 21 11.8V16.2C21 17.0566 20.9992 17.6388 20.9625 18.0889C20.9266 18.5273 20.8617 18.7516 20.782 18.908C20.5903 19.2843 20.2843 19.5902 19.908 19.782C19.7516 19.8617 19.5274 19.9266 19.089 19.9624C18.6389 19.9992 18.0566 20 17.2 20H6.8C5.94342 20 5.36113 19.9992 4.91104 19.9624C4.47262 19.9266 4.24842 19.8617 4.09202 19.782C3.7157 19.5902 3.40974 19.2843 3.21799 18.908C3.1383 18.7516 3.07337 18.5273 3.03755 18.0889C3.00078 17.6388 3 17.0566 3 16.2V7.99997H12.9799Z"})),m=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0331 3.55266C16.2491 2.10798 17.4952 1 19 1C20.6569 1 22 2.34315 22 4C22 5.65685 20.6569 7 19 7C18.0222 7 17.1537 6.53221 16.606 5.80823L14.7071 7.70711C14.5196 7.89464 14.2652 8 14 8H11.3028L8.5547 9.83205C8.39043 9.94156 8.19742 10 8 10H6C5.44772 10 5 9.55228 5 9C5 8.44772 5.44772 8 6 8H7.69722L10.4453 6.16795C10.6096 6.05844 10.8026 6 11 6H13.5858L16.0331 3.55266ZM19 3C18.4477 3 18 3.44771 18 4C18 4.55228 18.4477 5 19 5C19.5523 5 20 4.55228 20 4C20 3.44772 19.5523 3 19 3ZM4.62228 2.69442C6.62277 1.19905 9.25414 1.36395 11.3162 2.05132C11.8402 2.22596 12.1233 2.79228 11.9487 3.31623C11.774 3.84017 11.2077 4.12333 10.6838 3.94868C8.90412 3.35547 7.06274 3.36718 5.81971 4.29634C4.46575 5.30843 3 7.24435 3 12C3 12.9382 3.05705 13.7667 3.15904 14.5H4.99576C5.16125 14.5 5.32416 14.4589 5.46986 14.3805L11.7479 11H16.1707C16.5825 9.83481 17.6938 9 19 9C20.6569 9 22 10.3431 22 12C22 13.6569 20.6569 15 19 15C17.6938 15 16.5825 14.1652 16.1707 13H12.2521L6.41806 16.1414C5.98094 16.3768 5.49223 16.5 4.99576 16.5H3.61096C4.1633 18.166 5.01143 19.0995 5.81971 19.7037C7.06274 20.6328 8.90412 20.6445 10.6838 20.0513C11.2077 19.8767 11.774 20.1598 11.9487 20.6838C12.1233 21.2077 11.8402 21.774 11.3162 21.9487C9.25414 22.636 6.62277 22.8009 4.62228 21.3056C2.65716 19.8367 1 17.241 1 12C1 6.75899 2.65716 4.16335 4.62228 2.69442ZM19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11ZM8.79289 16.2929C8.98043 16.1054 9.23478 16 9.5 16H14C14.2652 16 14.5196 16.1054 14.7071 16.2929L16.606 18.1918C17.1537 17.4678 18.0222 17 19 17C20.6569 17 22 18.3431 22 20C22 21.6569 20.6569 23 19 23C17.4952 23 16.2491 21.892 16.0331 20.4473L13.5858 18H9.91421L9.20711 18.7071C8.81658 19.0976 8.18342 19.0976 7.79289 18.7071C7.40237 18.3166 7.40237 17.6834 7.79289 17.2929L8.79289 16.2929ZM19 19C18.4477 19 18 19.4477 18 20C18 20.5523 18.4477 21 19 21C19.5523 21 20 20.5523 20 20C20 19.4477 19.5523 19 19 19Z"})),w=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.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.55761L12.7846 2.41823L13.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.23315L21.1563 6.52296L21.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.94153L22 12.5001C22 13.0524 21.5523 13.5001 21 13.5001C20.4477 13.5001 20 13.0524 20 12.5001L20 8.69955L17.0029 10.3646C16.992 10.3709 16.9811 10.377 16.9701 10.3829L13 12.5885L13 20.3006L13.5144 20.0148C13.9971 19.7466 14.6059 19.9205 14.8742 20.4033C15.1424 20.8861 14.9684 21.4949 14.4856 21.7631L13.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.27421 18.2966C3.04308 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.69069 2.33632 6.44253 2.52927 6.23315C2.75244 5.99098 3.04306 5.8309 3.27419 5.7036C3.29579 5.6917 3.31687 5.68009 3.33733 5.66872L3.33733 5.66872L6.99904 3.63444C7.00862 3.62891 7.01828 3.62354 7.02802 3.61834L10.7373 1.55761C10.7567 1.54687 10.7765 1.53575 10.7968 1.52437C11.0152 1.40207 11.2898 1.24824 11.5971 1.18505ZM7.5 5.64404L5.05914 7.00008L12 10.8561L14.4408 9.50006L7.5 5.64404ZM16.5 8.3561L9.55913 4.50008L11.7086 3.30592C11.8602 3.22174 11.9375 3.1792 11.9952 3.15136C11.9969 3.15056 11.9985 3.1498 12 3.14907C12.0015 3.1498 12.0031 3.15056 12.0048 3.15136C12.0625 3.1792 12.1398 3.22173 12.2914 3.30592L18.9408 7.00006L16.5 8.3561ZM11 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.00971 16.4119C4.067 16.4484 4.14867 16.4943 4.30862 16.5831L3.82297 17.4573L4.30862 16.5831L11 20.3006L11 12.5885ZM19 14.0001C19.5523 14.0001 20 14.4478 20 15.0001V17.0001H22C22.5523 17.0001 23 17.4478 23 18.0001C23 18.5524 22.5523 19.0001 22 19.0001H20V21.0001C20 21.5524 19.5523 22.0001 19 22.0001C18.4477 22.0001 18 21.5524 18 21.0001V19.0001H16C15.4477 19.0001 15 18.5524 15 18.0001C15 17.4478 15.4477 17.0001 16 17.0001H18V15.0001C18 14.4478 18.4477 14.0001 19 14.0001Z"}));function H({type:C,...t}){switch(C){case"orchestrator":return l.jsx(m,{...t});case"artifact_store":return l.jsx(i,{...t});case"container_registry":return l.jsx(n,{...t});case"step_operator":return l.jsx(c,{...t});case"model_deployer":return l.jsx(a,{...t});case"feature_store":return l.jsx(s,{...t});case"experiment_tracker":return l.jsx(d,{...t});case"alerter":return l.jsx(L,{...t});case"annotator":return l.jsx(o,{...t});case"data_validator":return l.jsx(v,{...t});case"image_builder":return l.jsx(w,{...t});case"model_registry":return l.jsx(r,{...t})}}export{H as C,c as S,s as a};
@@ -1 +1 @@
1
- import{r as c,j as e}from"./@radix-Cdvw4jJ8.js";import{t as x}from"./zod-XdS2h1ws.js";import{aC as f,b2 as p,aD as u,I as h,b3 as j,aF as D,B as a,h as E,z as r}from"./index-BFqbGSck.js";import{u as g}from"./index.esm-DhJo3mA6.js";const b=r.object({delete:r.string()}).refine(t=>t.delete==="DELETE",{message:"Please type DELETE to confirm"}),y=c.forwardRef(({handleDelete:t,title:s,children:l},n)=>{const{register:o,handleSubmit:i,formState:{isValid:m}}=g({resolver:x(b),defaultValues:{delete:""}});return e.jsxs(f,{ref:n,children:[e.jsx(p,{children:e.jsx(u,{children:s})}),e.jsxs("form",{onSubmit:i(()=>t()),id:"delete-form",className:"space-y-5 p-5",children:[l,e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"mb-0.5 text-text-sm",children:"Please type DELETE to confirm"}),e.jsx(h,{onPaste:d=>d.preventDefault(),...o("delete"),className:"w-full"})]})]}),e.jsxs(j,{className:"gap-[10px]",children:[e.jsx(D,{asChild:!0,children:e.jsx(a,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(a,{form:"delete-form",disabled:!m,intent:"danger",type:"submit",children:"Delete"})]})]})});y.displayName="DeleteAlertContent";function S({children:t,className:s}){return e.jsx("div",{className:E("text-text-md text-theme-text-secondary",s),children:t})}export{y as D,S as a};
1
+ import{r as c,j as e}from"./@radix-Cdvw4jJ8.js";import{t as x}from"./zod-XdS2h1ws.js";import{aC as f,b3 as p,aD as u,I as h,b4 as j,aF as D,B as a,h as E,z as r}from"./index-BgEfQ3_G.js";import{u as g}from"./index.esm-DhJo3mA6.js";const b=r.object({delete:r.string()}).refine(t=>t.delete==="DELETE",{message:"Please type DELETE to confirm"}),y=c.forwardRef(({handleDelete:t,title:s,children:l},n)=>{const{register:o,handleSubmit:i,formState:{isValid:m}}=g({resolver:x(b),defaultValues:{delete:""}});return e.jsxs(f,{ref:n,children:[e.jsx(p,{children:e.jsx(u,{children:s})}),e.jsxs("form",{onSubmit:i(()=>t()),id:"delete-form",className:"space-y-5 p-5",children:[l,e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"mb-0.5 text-text-sm",children:"Please type DELETE to confirm"}),e.jsx(h,{onPaste:d=>d.preventDefault(),...o("delete"),className:"w-full"})]})]}),e.jsxs(j,{className:"gap-[10px]",children:[e.jsx(D,{asChild:!0,children:e.jsx(a,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(a,{form:"delete-form",disabled:!m,intent:"danger",type:"submit",children:"Delete"})]})]})});y.displayName="DeleteAlertContent";function S({children:t,className:s}){return e.jsx("div",{className:E("text-text-md text-theme-text-secondary",s),children:t})}export{y as D,S as a};
@@ -1 +1 @@
1
- import{r as m,j as e}from"./@radix-Cdvw4jJ8.js";import{as as p,at as d,an as g}from"./index-BFqbGSck.js";const h=m.forwardRef((r,n)=>{const{triggerChildren:a,children:t,onSelect:o,onOpenChange:i,icon:x,open:s,...l}=r;return e.jsxs(p,{open:s,onOpenChange:i,children:[e.jsx(d,{asChild:!0,children:e.jsx(g,{...l,className:"hover:cursor-pointer",icon:r.icon,ref:n,onSelect:c=>{c.preventDefault(),o&&o()},children:a})}),t]})});h.displayName="DialogItem";export{h as D};
1
+ import{r as m,j as e}from"./@radix-Cdvw4jJ8.js";import{as as p,at as d,an as g}from"./index-BgEfQ3_G.js";const h=m.forwardRef((r,n)=>{const{triggerChildren:a,children:t,onSelect:o,onOpenChange:i,icon:x,open:s,...l}=r;return e.jsxs(p,{open:s,onOpenChange:i,children:[e.jsx(d,{asChild:!0,children:e.jsx(g,{...l,className:"hover:cursor-pointer",icon:r.icon,ref:n,onSelect:c=>{c.preventDefault(),o&&o()},children:a})}),t]})});h.displayName="DialogItem";export{h as D};
@@ -1 +1 @@
1
- import{j as e}from"./@radix-Cdvw4jJ8.js";import{S as r,H as a}from"./index-BFqbGSck.js";import{E as l}from"./EmptyState-CjrgDtVk.js";function c({err:t,isAlertCircle:s=!1}){return e.jsx(l,{icon:s?e.jsx(r,{className:"h-[120px] w-[120px] fill-neutral-300"}):e.jsx(a,{className:"h-[120px] w-[120px] fill-neutral-300"}),children:e.jsx("div",{className:"text-center",children:e.jsx("p",{className:"text-text-lg text-theme-text-secondary",children:t.message})})})}export{c as E};
1
+ import{j as e}from"./@radix-Cdvw4jJ8.js";import{S as r,H as a}from"./index-BgEfQ3_G.js";import{E as l}from"./EmptyState-CjrgDtVk.js";function c({err:t,isAlertCircle:s=!1}){return e.jsx(l,{icon:s?e.jsx(r,{className:"h-[120px] w-[120px] fill-neutral-300"}):e.jsx(a,{className:"h-[120px] w-[120px] fill-neutral-300"}),children:e.jsx("div",{className:"text-center",children:e.jsx("p",{className:"text-text-lg text-theme-text-secondary",children:t.message})})})}export{c as E};
@@ -1 +1 @@
1
- import{r as n,j as t}from"./@radix-Cdvw4jJ8.js";import{h as a,S as l}from"./index-BFqbGSck.js";import{S as i}from"./check-circle-C4tYvbtw.js";import{S as s}from"./help-Co6aedki.js";const u=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:"M17.6569 6.34315C14.5327 3.21895 9.46734 3.21895 6.34315 6.34315C5.23515 7.45114 4.52139 8.80057 4.19904 10.2213C4.07684 10.7599 3.54115 11.0974 3.00256 10.9752C2.46396 10.853 2.12641 10.3173 2.24862 9.77873C2.652 8.00086 3.54638 6.31149 4.92893 4.92893C8.83418 1.02369 15.1658 1.02369 19.0711 4.92893C19.8691 5.72692 20.5003 6.3951 21 6.95359V4C21 3.44772 21.4477 3 22 3C22.5523 3 23 3.44772 23 4V10C23 10.5523 22.5523 11 22 11H16C15.4477 11 15 10.5523 15 10C15 9.44772 15.4477 9 16 9H20.1257C19.6137 8.38306 18.8352 7.52152 17.6569 6.34315ZM20.9974 13.0248C21.536 13.147 21.8736 13.6827 21.7514 14.2213C21.348 15.9991 20.4536 17.6885 19.0711 19.0711C15.1658 22.9763 8.83418 22.9763 4.92893 19.0711C4.13094 18.2731 3.49975 17.6049 3 17.0464V20C3 20.5523 2.55228 21 2 21C1.44772 21 1 20.5523 1 20V14C1 13.4477 1.44772 13 2 13H8C8.55228 13 9 13.4477 9 14C9 14.5523 8.55228 15 8 15H3.87429C4.38627 15.6169 5.16477 16.4785 6.34315 17.6569C9.46734 20.781 14.5327 20.781 17.6569 17.6569C18.7648 16.5489 19.4786 15.1994 19.801 13.7787C19.9232 13.2401 20.4588 12.9026 20.9974 13.0248Z"})),C=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:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM10.7071 8.29289C11.0976 8.68342 11.0976 9.31658 10.7071 9.70711L8.41421 12L10.7071 14.2929C11.0976 14.6834 11.0976 15.3166 10.7071 15.7071C10.3166 16.0976 9.68342 16.0976 9.29289 15.7071L6.29289 12.7071C5.90237 12.3166 5.90237 11.6834 6.29289 11.2929L9.29289 8.29289C9.68342 7.90237 10.3166 7.90237 10.7071 8.29289ZM16.2071 8.29289C16.5976 8.68342 16.5976 9.31658 16.2071 9.70711L13.9142 12L16.2071 14.2929C16.5976 14.6834 16.5976 15.3166 16.2071 15.7071C15.8166 16.0976 15.1834 16.0976 14.7929 15.7071L11.7929 12.7071C11.4024 12.3166 11.4024 11.6834 11.7929 11.2929L14.7929 8.29289C15.1834 7.90237 15.8166 7.90237 16.2071 8.29289Z"})),o=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:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12Z"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12C6 11.1716 6.67157 10.5 7.5 10.5C8.32843 10.5 9 11.1716 9 12C9 12.8284 8.32843 13.5 7.5 13.5C6.67157 13.5 6 12.8284 6 12ZM10.5 12C10.5 11.1716 11.1716 10.5 12 10.5C12.8284 10.5 13.5 11.1716 13.5 12C13.5 12.8284 12.8284 13.5 12 13.5C11.1716 13.5 10.5 12.8284 10.5 12ZM15 12C15 11.1716 15.6716 10.5 16.5 10.5C17.3284 10.5 18 11.1716 18 12C18 12.8284 17.3284 13.5 16.5 13.5C15.6716 13.5 15 12.8284 15 12Z"}));function g(e){if(!e)return null;switch(e){case"completed":return"fill-success-500";case"failed":return"fill-error-500";case"initializing":return"fill-primary-400";case"cached":return"fill-neutral-400";case"running":return"fill-warning-500";case"unknown":return"fill-blue-500"}}function w(e){if(!e)return null;switch(e){case"completed":return"bg-success-50";case"failed":return"bg-error-50";case"initializing":return"bg-primary-50";case"cached":return"bg-theme-surface-tertiary";case"running":return"bg-warning-50";case"unknown":return"bg-blue-50"}}function h(e){if(!e)return"grey";switch(e){case"completed":return"green";case"failed":return"red";case"initializing":return"purple";case"cached":return"grey";case"unknown":return"blue";case"running":return"yellow"}}function v({status:e,className:c}){if(!e)return null;const r=a("h-4 shrink-0 w-4",g(e),c);switch(e){case"completed":return t.jsx(i,{className:r});case"failed":return t.jsx(l,{className:r});case"initializing":return t.jsx(o,{className:r});case"cached":return t.jsx(C,{className:r});case"unknown":return t.jsx(s,{className:r});case"running":return t.jsx(u,{className:a("animate-spin [animation-duration:_5s] motion-reduce:animate-none",r)})}}function x(e){if(!e)return"grey";switch(e){case"completed":return"green";case"cached":return"grey";case"unknown":return"blue";default:return"grey"}}export{v as E,u as S,h as a,w as b,x as c,g};
1
+ import{r as n,j as t}from"./@radix-Cdvw4jJ8.js";import{h as a,S as l}from"./index-BgEfQ3_G.js";import{S as i}from"./check-circle-C4tYvbtw.js";import{S as s}from"./help-Co6aedki.js";const u=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:"M17.6569 6.34315C14.5327 3.21895 9.46734 3.21895 6.34315 6.34315C5.23515 7.45114 4.52139 8.80057 4.19904 10.2213C4.07684 10.7599 3.54115 11.0974 3.00256 10.9752C2.46396 10.853 2.12641 10.3173 2.24862 9.77873C2.652 8.00086 3.54638 6.31149 4.92893 4.92893C8.83418 1.02369 15.1658 1.02369 19.0711 4.92893C19.8691 5.72692 20.5003 6.3951 21 6.95359V4C21 3.44772 21.4477 3 22 3C22.5523 3 23 3.44772 23 4V10C23 10.5523 22.5523 11 22 11H16C15.4477 11 15 10.5523 15 10C15 9.44772 15.4477 9 16 9H20.1257C19.6137 8.38306 18.8352 7.52152 17.6569 6.34315ZM20.9974 13.0248C21.536 13.147 21.8736 13.6827 21.7514 14.2213C21.348 15.9991 20.4536 17.6885 19.0711 19.0711C15.1658 22.9763 8.83418 22.9763 4.92893 19.0711C4.13094 18.2731 3.49975 17.6049 3 17.0464V20C3 20.5523 2.55228 21 2 21C1.44772 21 1 20.5523 1 20V14C1 13.4477 1.44772 13 2 13H8C8.55228 13 9 13.4477 9 14C9 14.5523 8.55228 15 8 15H3.87429C4.38627 15.6169 5.16477 16.4785 6.34315 17.6569C9.46734 20.781 14.5327 20.781 17.6569 17.6569C18.7648 16.5489 19.4786 15.1994 19.801 13.7787C19.9232 13.2401 20.4588 12.9026 20.9974 13.0248Z"})),C=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:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM10.7071 8.29289C11.0976 8.68342 11.0976 9.31658 10.7071 9.70711L8.41421 12L10.7071 14.2929C11.0976 14.6834 11.0976 15.3166 10.7071 15.7071C10.3166 16.0976 9.68342 16.0976 9.29289 15.7071L6.29289 12.7071C5.90237 12.3166 5.90237 11.6834 6.29289 11.2929L9.29289 8.29289C9.68342 7.90237 10.3166 7.90237 10.7071 8.29289ZM16.2071 8.29289C16.5976 8.68342 16.5976 9.31658 16.2071 9.70711L13.9142 12L16.2071 14.2929C16.5976 14.6834 16.5976 15.3166 16.2071 15.7071C15.8166 16.0976 15.1834 16.0976 14.7929 15.7071L11.7929 12.7071C11.4024 12.3166 11.4024 11.6834 11.7929 11.2929L14.7929 8.29289C15.1834 7.90237 15.8166 7.90237 16.2071 8.29289Z"})),o=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:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12Z"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12C6 11.1716 6.67157 10.5 7.5 10.5C8.32843 10.5 9 11.1716 9 12C9 12.8284 8.32843 13.5 7.5 13.5C6.67157 13.5 6 12.8284 6 12ZM10.5 12C10.5 11.1716 11.1716 10.5 12 10.5C12.8284 10.5 13.5 11.1716 13.5 12C13.5 12.8284 12.8284 13.5 12 13.5C11.1716 13.5 10.5 12.8284 10.5 12ZM15 12C15 11.1716 15.6716 10.5 16.5 10.5C17.3284 10.5 18 11.1716 18 12C18 12.8284 17.3284 13.5 16.5 13.5C15.6716 13.5 15 12.8284 15 12Z"}));function g(e){if(!e)return null;switch(e){case"completed":return"fill-success-500";case"failed":return"fill-error-500";case"initializing":return"fill-primary-400";case"cached":return"fill-neutral-400";case"running":return"fill-warning-500";case"unknown":return"fill-blue-500"}}function w(e){if(!e)return null;switch(e){case"completed":return"bg-success-50";case"failed":return"bg-error-50";case"initializing":return"bg-primary-50";case"cached":return"bg-theme-surface-tertiary";case"running":return"bg-warning-50";case"unknown":return"bg-blue-50"}}function h(e){if(!e)return"grey";switch(e){case"completed":return"green";case"failed":return"red";case"initializing":return"purple";case"cached":return"grey";case"unknown":return"blue";case"running":return"yellow"}}function v({status:e,className:c}){if(!e)return null;const r=a("h-4 shrink-0 w-4",g(e),c);switch(e){case"completed":return t.jsx(i,{className:r});case"failed":return t.jsx(l,{className:r});case"initializing":return t.jsx(o,{className:r});case"cached":return t.jsx(C,{className:r});case"unknown":return t.jsx(s,{className:r});case"running":return t.jsx(u,{className:a("animate-spin [animation-duration:_5s] motion-reduce:animate-none",r)})}}function x(e){if(!e)return"grey";switch(e){case"completed":return"green";case"cached":return"grey";case"unknown":return"blue";default:return"grey"}}export{v as E,u as S,h as a,w as b,x as c,g};
@@ -1 +1 @@
1
- import{j as e}from"./@radix-Cdvw4jJ8.js";import{b as t,bc as a}from"./index-BFqbGSck.js";import{S as l}from"./help-Co6aedki.js";function m({link:s,text:r="Do you need help?"}){return e.jsxs(t,{className:"flex w-full flex-wrap items-center justify-between p-2",children:[e.jsxs("div",{className:"flex items-center gap-[10px]",children:[e.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-sm bg-teal-25",children:e.jsx(l,{className:"h-5 w-5 fill-teal-400"})}),e.jsx("p",{children:r})]}),e.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:a({intent:"primary",emphasis:"subtle",size:"md"}),href:s,children:"Browse our docs"})]})}export{m as H};
1
+ import{j as e}from"./@radix-Cdvw4jJ8.js";import{b as t,b0 as a}from"./index-BgEfQ3_G.js";import{S as l}from"./help-Co6aedki.js";function m({link:s,text:r="Do you need help?"}){return e.jsxs(t,{className:"flex w-full flex-wrap items-center justify-between p-2",children:[e.jsxs("div",{className:"flex items-center gap-[10px]",children:[e.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-sm bg-teal-25",children:e.jsx(l,{className:"h-5 w-5 fill-teal-400"})}),e.jsx("p",{children:r})]}),e.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:a({intent:"primary",emphasis:"subtle",size:"md"}),href:s,children:"Browse our docs"})]})}export{m as H};
@@ -1 +1 @@
1
- import{r as t,j as r}from"./@radix-Cdvw4jJ8.js";import{h as i,bn as o,S as l}from"./index-BFqbGSck.js";import{S as m}from"./info-QkbQz4QU.js";const c=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M12 8C12.5523 8 13 8.44771 13 9V14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14V9C11 8.44771 11.4477 8 12 8Z"}),t.createElement("path",{d:"M12 18C12.5523 18 13 17.5523 13 17C13 16.4477 12.5523 16 12 16C11.4477 16 11 16.4477 11 17C11 17.5523 11.4477 18 12 18Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.2476 2.11111C11.0074 0.729566 12.9926 0.729561 13.7524 2.11111L23.0612 19.0361C23.7943 20.369 22.8299 21.9999 21.3087 21.9999H2.69127C1.17006 21.9999 0.205733 20.369 0.938833 19.0361L10.2476 2.11111ZM21.3087 19.9999L12 3.07495L2.69126 19.9999L21.3087 19.9999Z"})),d=o("flex items-center text-text-sm rounded-md border px-4 py-3",{variants:{intent:{primary:"border-primary-400 bg-primary-25",warning:"bg-[#FFF6EA] border-theme-border-moderate",neutral:"border-theme-border-moderate",error:"bg-error-50 border-error-300"}},defaultVariants:{intent:"primary"}});function u({children:e,className:n,intent:a,...s}){return r.jsxs("div",{...s,className:i(d({intent:a}),n),children:[r.jsx(x,{intent:a}),r.jsx("div",{className:"w-full min-w-0",children:e})]})}function x({intent:e}){switch(e){case"warning":return r.jsx(c,{className:"mr-4 h-5 w-5 shrink-0 fill-warning-700"});case"error":return r.jsx(l,{className:"mr-4 h-5 w-5 shrink-0 fill-error-700"});default:return r.jsx(m,{className:"mr-4 h-5 w-5 shrink-0 fill-theme-text-brand"})}}export{u as I,c as S};
1
+ import{r as t,j as r}from"./@radix-Cdvw4jJ8.js";import{h as i,bn as o,S as l}from"./index-BgEfQ3_G.js";import{S as m}from"./info-QkbQz4QU.js";const c=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M12 8C12.5523 8 13 8.44771 13 9V14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14V9C11 8.44771 11.4477 8 12 8Z"}),t.createElement("path",{d:"M12 18C12.5523 18 13 17.5523 13 17C13 16.4477 12.5523 16 12 16C11.4477 16 11 16.4477 11 17C11 17.5523 11.4477 18 12 18Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.2476 2.11111C11.0074 0.729566 12.9926 0.729561 13.7524 2.11111L23.0612 19.0361C23.7943 20.369 22.8299 21.9999 21.3087 21.9999H2.69127C1.17006 21.9999 0.205733 20.369 0.938833 19.0361L10.2476 2.11111ZM21.3087 19.9999L12 3.07495L2.69126 19.9999L21.3087 19.9999Z"})),d=o("flex items-center text-text-sm rounded-md border px-4 py-3",{variants:{intent:{primary:"border-primary-400 bg-primary-25",warning:"bg-[#FFF6EA] border-theme-border-moderate",neutral:"border-theme-border-moderate",error:"bg-error-50 border-error-300"}},defaultVariants:{intent:"primary"}});function u({children:e,className:n,intent:a,...s}){return r.jsxs("div",{...s,className:i(d({intent:a}),n),children:[r.jsx(x,{intent:a}),r.jsx("div",{className:"w-full min-w-0",children:e})]})}function x({intent:e}){switch(e){case"warning":return r.jsx(c,{className:"mr-4 h-5 w-5 shrink-0 fill-warning-700"});case"error":return r.jsx(l,{className:"mr-4 h-5 w-5 shrink-0 fill-error-700"});default:return r.jsx(m,{className:"mr-4 h-5 w-5 shrink-0 fill-theme-text-brand"})}}export{u as I,c as S};
@@ -1 +1 @@
1
- import{r as c,j as t}from"./@radix-Cdvw4jJ8.js";import{h as x}from"./index-BFqbGSck.js";import{T as m}from"./Tick-BPrWnNlN.js";const a=c.createContext(null);function S({children:e,initialStep:s=0,maxSteps:r}){const[n,i]=c.useState(s);function d(){i(o=>o+1)}function l(){i(o=>o-1)}return t.jsx(a.Provider,{value:{currentStep:n,setCurrentStep:i,maxSteps:r,goToNextStep:d,goToPreviousStep:l},children:e})}function u(){const e=c.useContext(a);if(e===null)throw new Error("useWizardContext must be used within a WizardProvider");return e}function v({entries:e}){return t.jsx("aside",{className:"whitespace-nowrap p-2 text-text-sm",children:t.jsx("ul",{className:"space-y-5",children:e.map((s,r)=>t.jsx("li",{children:t.jsx(f,{index:r,children:s})},r))})})}function f({index:e,children:s}){const{currentStep:r}=u(),n=x("font-semibold flex items-center gap-1",{"text-theme-text-tertiary":e<r,"text-theme-text-secondary":e>r});return t.jsxs("div",{className:n,children:[t.jsx(p,{index:e}),t.jsx("span",{children:s})]})}function p({index:e}){const{currentStep:s}=u(),r=e+1;if(s>e)return t.jsx(m,{className:"h-5 w-5",tickClasses:"w-3 h-3"});if(s===e)return t.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-rounded bg-primary-300 text-white",children:r});if(s<e)return t.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-rounded bg-neutral-300 text-white",children:r})}export{v as L,S as W,u};
1
+ import{r as c,j as t}from"./@radix-Cdvw4jJ8.js";import{h as x}from"./index-BgEfQ3_G.js";import{T as m}from"./Tick-Qquvr4P3.js";const a=c.createContext(null);function S({children:e,initialStep:s=0,maxSteps:r}){const[n,i]=c.useState(s);function d(){i(o=>o+1)}function l(){i(o=>o-1)}return t.jsx(a.Provider,{value:{currentStep:n,setCurrentStep:i,maxSteps:r,goToNextStep:d,goToPreviousStep:l},children:e})}function u(){const e=c.useContext(a);if(e===null)throw new Error("useWizardContext must be used within a WizardProvider");return e}function v({entries:e}){return t.jsx("aside",{className:"whitespace-nowrap p-2 text-text-sm",children:t.jsx("ul",{className:"space-y-5",children:e.map((s,r)=>t.jsx("li",{children:t.jsx(f,{index:r,children:s})},r))})})}function f({index:e,children:s}){const{currentStep:r}=u(),n=x("font-semibold flex items-center gap-1",{"text-theme-text-tertiary":e<r,"text-theme-text-secondary":e>r});return t.jsxs("div",{className:n,children:[t.jsx(p,{index:e}),t.jsx("span",{children:s})]})}function p({index:e}){const{currentStep:s}=u(),r=e+1;if(s>e)return t.jsx(m,{className:"h-5 w-5",tickClasses:"w-3 h-3"});if(s===e)return t.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-rounded bg-primary-300 text-white",children:r});if(s<e)return t.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-rounded bg-neutral-300 text-white",children:r})}export{v as L,S as W,u};
@@ -1 +1 @@
1
- import{j as e,r as d}from"./@radix-Cdvw4jJ8.js";import{h as w,B as b,bb as k,T as O,q as S,s as T,t as V,K as B}from"./index-BFqbGSck.js";import{a as m,b as x,i as C}from"./type-guards-CNgPYg8l.js";import{S as F}from"./eye-CbVlAYty.js";import{b as L}from"./CollapsibleCard-CnS09ljw.js";import{C as A}from"./CodeSnippet-D2HkkAGr.js";function K({children:s,className:t,...a}){return e.jsx("dt",{...a,className:w("col-span-1 flex min-w-0 items-center truncate text-theme-text-secondary",t),children:s})}function Z({children:s,className:t,...a}){return e.jsx("dd",{...a,className:w("col-span-2 flex h-6 w-full min-w-0 items-center truncate text-neutral-700",t),children:s})}function Y({label:s,value:t}){return e.jsxs(e.Fragment,{children:[e.jsx(K,{children:s}),e.jsx(Z,{children:t})]})}function J(){return e.jsx("div",{className:"text-theme-text-tertiary",children:"Not available"})}const _=s=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.29331 2.29289C2.68383 1.90237 3.317 1.90237 3.70752 2.29289L7.34625 5.93162C7.40455 5.97793 7.45837 6.03139 7.50637 6.09174L17.8974 16.4828C17.9652 16.5347 18.0272 16.5962 18.0813 16.6667L21.7075 20.2929C22.098 20.6834 22.098 21.3166 21.7075 21.7071C21.317 22.0976 20.6838 22.0976 20.2933 21.7071L17.1396 18.5534C15.6947 19.3988 13.972 20 12.0004 20C9.13874 20 6.80576 18.7353 5.07716 17.2926C3.35091 15.8518 2.16738 14.1857 1.57463 13.2472C1.5668 13.2348 1.55876 13.2221 1.55055 13.2092C1.43291 13.024 1.28018 12.7836 1.20298 12.4467C1.14065 12.1748 1.14067 11.825 1.20303 11.553C1.28028 11.2161 1.43344 10.9751 1.55139 10.7895C1.55967 10.7765 1.56777 10.7637 1.57567 10.7512C2.17804 9.79766 3.40132 8.07525 5.19576 6.60955L2.29331 3.70711C1.90278 3.31658 1.90278 2.68342 2.29331 2.29289ZM6.61828 8.03208C4.97911 9.32619 3.83406 10.921 3.26654 11.8194C3.23105 11.8755 3.20617 11.915 3.18537 11.9492C3.17149 11.9721 3.16235 11.9878 3.15625 11.9988C3.15625 11.9992 3.15625 11.9996 3.15625 12C3.15625 12.0004 3.15625 12.0008 3.15625 12.0012C3.16227 12.012 3.17127 12.0276 3.1849 12.05C3.20556 12.084 3.23029 12.1232 3.26563 12.1792C3.7983 13.0226 4.8524 14.4999 6.35869 15.7571C7.86263 17.0123 9.75708 18 12.0004 18C13.3533 18 14.5778 17.6414 15.6674 17.0812L14.0322 15.446C13.4368 15.7977 12.7418 16 12.0004 16C9.79128 16 8.00042 14.2091 8.00042 12C8.00042 11.2586 8.20271 10.5636 8.55438 9.96818L6.61828 8.03208ZM10.068 11.4818C10.0239 11.647 10.0004 11.8207 10.0004 12C10.0004 13.1046 10.8958 14 12.0004 14C12.1798 14 12.3534 13.9765 12.5186 13.9324L10.068 11.4818ZM12.0004 6C11.6186 6 11.2482 6.02849 10.8892 6.08156C10.3429 6.16234 9.83448 5.78492 9.7537 5.23858C9.67292 4.69223 10.0503 4.18385 10.5967 4.10307C11.0505 4.03597 11.5187 4 12.0004 4C14.8621 4 17.1951 5.26472 18.9237 6.70743C20.6499 8.14818 21.8335 9.81429 22.4262 10.7528C22.434 10.7652 22.4421 10.7779 22.4503 10.7908C22.5679 10.976 22.7207 11.2164 22.7979 11.5533C22.8602 11.8253 22.8602 12.1751 22.7978 12.4471C22.7205 12.7841 22.5671 13.0254 22.449 13.2113C22.4407 13.2243 22.4325 13.2371 22.4246 13.2497C22.1063 13.7536 21.6232 14.4581 20.9832 15.2224C20.6287 15.6459 19.998 15.7017 19.5745 15.3472C19.1511 14.9926 19.0952 14.3619 19.4498 13.9385C20.0211 13.2561 20.4524 12.6267 20.7338 12.1814C20.7694 12.1251 20.7943 12.0855 20.8152 12.0512C20.8292 12.0281 20.8384 12.0122 20.8446 12.0012C20.8446 12.0008 20.8446 12.0004 20.8446 12C20.8446 11.9996 20.8446 11.9992 20.8446 11.9988C20.8386 11.988 20.8296 11.9725 20.8159 11.95C20.7953 11.916 20.7705 11.8768 20.7352 11.8208C20.2025 10.9774 19.1484 9.50007 17.6421 8.24291C16.1382 6.9877 14.2437 6 12.0004 6Z"})),N="fill-neutral-500 shrink-0",q=10;function z({value:s}){const[t,a]=d.useState(!1);return e.jsxs("div",{className:"flex min-w-0 items-center gap-0.5 whitespace-normal",children:[e.jsx(b,{intent:"secondary",emphasis:"minimal",onClick:()=>a(l=>!l),className:"flex aspect-square size-6 items-center justify-center",children:t?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"sr-only",children:"Hide value"}),e.jsx(_,{width:24,height:24,className:N})]}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"sr-only",children:"Show value"}),e.jsx(F,{width:24,height:24,className:N})]})}),t?e.jsx(H,{value:s}):e.jsx("p",{className:"min-w-0",children:"•".repeat(Math.min(s.length,q))})]})}function H({value:s}){const{copied:t,copyToClipboard:a}=k(),l=d.useRef(null);return e.jsx(O,{children:e.jsxs(S,{delayDuration:200,children:[e.jsx(T,{onClick:n=>{n.preventDefault(),a(s)},asChild:!0,children:e.jsx(b,{intent:"secondary",className:"block min-w-0 max-w-full truncate text-text-md font-medium",emphasis:"minimal",ref:l,children:s})}),e.jsx(V,{onPointerDownOutside:n=>{n.currentTarget===l.current&&n.preventDefault()},className:"z-50 rounded-md bg-theme-text-primary px-3 py-2 text-text-xs text-theme-text-negative shadow-lg",sideOffset:5,children:t?"Copied!":"Copy to Clipboard"})]})})}const P=/^<class\s+'.*'>$/;function E({title:s,schema:t,data:a,intent:l="primary",contentClassName:n,className:o,children:v,isInitialOpen:D=!1}){const h={},p={},u={};for(const[r,i]of Object.entries(a||{}))C(i)?h[r]=i:x(i)?u[r]=i:p[r]=i;const f=Object.entries(p);f.sort((r,i)=>r[0].localeCompare(i[0]));const j=Object.keys(a||{}).length===0;return e.jsxs(L,{contentClassName:n,initialOpen:D,intent:l,title:s,className:o,copyText:JSON.stringify(a),displayCopyButton:!j,children:[j?e.jsx(J,{}):e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("dl",{className:"grid grid-cols-1 gap-x-[10px] gap-y-2 md:grid-cols-3 md:gap-y-4",children:f.map(([r,i])=>{var y;const c=(y=t==null?void 0:t.properties)==null?void 0:y[r],g=(c==null?void 0:c.title)||r,M=(c==null?void 0:c.sensitive)||(c==null?void 0:c.format)==="password"||!1;return e.jsxs(d.Fragment,{children:[e.jsx("dt",{className:"col-span-1 flex items-start text-theme-text-secondary",children:e.jsx(O,{children:e.jsxs(S,{children:[e.jsx(T,{className:"cursor-default truncate",children:g}),e.jsx(V,{className:"max-w-[480px]",children:g})]})})}),e.jsx("dd",{className:"col-span-2 w-full truncate text-neutral-700",children:M&&m(i)?e.jsx(z,{value:i}):e.jsx(R,{value:i})})]},r)})}),Object.entries(u).map(([r,i])=>e.jsx(G,{title:r,value:i},r)),Object.entries(h).map(([r,i])=>e.jsx(E,{intent:"secondary",title:r,data:i},r))]}),v]})}function R({value:s}){return m(s)&&P.test(s)?e.jsx(A,{highlightCode:!0,code:s}):s===null?e.jsx("div",{children:"null"}):m(s)&&B(s)?e.jsx("a",{className:"underline transition-all duration-200 hover:decoration-transparent",href:s,target:"_blank",rel:"noopener noreferrer",children:s}):e.jsx("div",{className:"whitespace-normal",children:m(s)?s:JSON.stringify(s)})}function G({title:s,value:t}){const a=t.filter(n=>!x(n)&&!C(n)||n===null),l=t.filter(n=>x(n)||C(n));return e.jsx(e.Fragment,{children:e.jsxs(L,{copyText:JSON.stringify(t),intent:"secondary",title:s,children:[a.length>0&&e.jsx("ul",{className:"space-y-2 md:space-y-4",children:a.map((n,o)=>e.jsx("li",{children:e.jsx(R,{value:n})},o))}),l.length>0&&e.jsx("ul",{className:"space-y-4",children:l.map((n,o)=>e.jsx("li",{children:e.jsx(E,{intent:"secondary",title:o,data:n},o)},o))})]},s)})}export{Y as K,E as N,Z as V,K as a,J as b};
1
+ import{j as e,r as d}from"./@radix-Cdvw4jJ8.js";import{h as w,B as b,bc as k,T as O,q as S,s as T,t as V,K as B}from"./index-BgEfQ3_G.js";import{a as m,b as x,i as C}from"./type-guards-CNgPYg8l.js";import{S as F}from"./eye-CbVlAYty.js";import{b as L}from"./CollapsibleCard-CBKenz9f.js";import{C as A}from"./CodeSnippet-Ctplhzdc.js";function K({children:s,className:t,...a}){return e.jsx("dt",{...a,className:w("col-span-1 flex min-w-0 items-center truncate text-theme-text-secondary",t),children:s})}function Z({children:s,className:t,...a}){return e.jsx("dd",{...a,className:w("col-span-2 flex h-6 w-full min-w-0 items-center truncate text-neutral-700",t),children:s})}function Y({label:s,value:t}){return e.jsxs(e.Fragment,{children:[e.jsx(K,{children:s}),e.jsx(Z,{children:t})]})}function J(){return e.jsx("div",{className:"text-theme-text-tertiary",children:"Not available"})}const _=s=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.29331 2.29289C2.68383 1.90237 3.317 1.90237 3.70752 2.29289L7.34625 5.93162C7.40455 5.97793 7.45837 6.03139 7.50637 6.09174L17.8974 16.4828C17.9652 16.5347 18.0272 16.5962 18.0813 16.6667L21.7075 20.2929C22.098 20.6834 22.098 21.3166 21.7075 21.7071C21.317 22.0976 20.6838 22.0976 20.2933 21.7071L17.1396 18.5534C15.6947 19.3988 13.972 20 12.0004 20C9.13874 20 6.80576 18.7353 5.07716 17.2926C3.35091 15.8518 2.16738 14.1857 1.57463 13.2472C1.5668 13.2348 1.55876 13.2221 1.55055 13.2092C1.43291 13.024 1.28018 12.7836 1.20298 12.4467C1.14065 12.1748 1.14067 11.825 1.20303 11.553C1.28028 11.2161 1.43344 10.9751 1.55139 10.7895C1.55967 10.7765 1.56777 10.7637 1.57567 10.7512C2.17804 9.79766 3.40132 8.07525 5.19576 6.60955L2.29331 3.70711C1.90278 3.31658 1.90278 2.68342 2.29331 2.29289ZM6.61828 8.03208C4.97911 9.32619 3.83406 10.921 3.26654 11.8194C3.23105 11.8755 3.20617 11.915 3.18537 11.9492C3.17149 11.9721 3.16235 11.9878 3.15625 11.9988C3.15625 11.9992 3.15625 11.9996 3.15625 12C3.15625 12.0004 3.15625 12.0008 3.15625 12.0012C3.16227 12.012 3.17127 12.0276 3.1849 12.05C3.20556 12.084 3.23029 12.1232 3.26563 12.1792C3.7983 13.0226 4.8524 14.4999 6.35869 15.7571C7.86263 17.0123 9.75708 18 12.0004 18C13.3533 18 14.5778 17.6414 15.6674 17.0812L14.0322 15.446C13.4368 15.7977 12.7418 16 12.0004 16C9.79128 16 8.00042 14.2091 8.00042 12C8.00042 11.2586 8.20271 10.5636 8.55438 9.96818L6.61828 8.03208ZM10.068 11.4818C10.0239 11.647 10.0004 11.8207 10.0004 12C10.0004 13.1046 10.8958 14 12.0004 14C12.1798 14 12.3534 13.9765 12.5186 13.9324L10.068 11.4818ZM12.0004 6C11.6186 6 11.2482 6.02849 10.8892 6.08156C10.3429 6.16234 9.83448 5.78492 9.7537 5.23858C9.67292 4.69223 10.0503 4.18385 10.5967 4.10307C11.0505 4.03597 11.5187 4 12.0004 4C14.8621 4 17.1951 5.26472 18.9237 6.70743C20.6499 8.14818 21.8335 9.81429 22.4262 10.7528C22.434 10.7652 22.4421 10.7779 22.4503 10.7908C22.5679 10.976 22.7207 11.2164 22.7979 11.5533C22.8602 11.8253 22.8602 12.1751 22.7978 12.4471C22.7205 12.7841 22.5671 13.0254 22.449 13.2113C22.4407 13.2243 22.4325 13.2371 22.4246 13.2497C22.1063 13.7536 21.6232 14.4581 20.9832 15.2224C20.6287 15.6459 19.998 15.7017 19.5745 15.3472C19.1511 14.9926 19.0952 14.3619 19.4498 13.9385C20.0211 13.2561 20.4524 12.6267 20.7338 12.1814C20.7694 12.1251 20.7943 12.0855 20.8152 12.0512C20.8292 12.0281 20.8384 12.0122 20.8446 12.0012C20.8446 12.0008 20.8446 12.0004 20.8446 12C20.8446 11.9996 20.8446 11.9992 20.8446 11.9988C20.8386 11.988 20.8296 11.9725 20.8159 11.95C20.7953 11.916 20.7705 11.8768 20.7352 11.8208C20.2025 10.9774 19.1484 9.50007 17.6421 8.24291C16.1382 6.9877 14.2437 6 12.0004 6Z"})),N="fill-neutral-500 shrink-0",q=10;function z({value:s}){const[t,a]=d.useState(!1);return e.jsxs("div",{className:"flex min-w-0 items-center gap-0.5 whitespace-normal",children:[e.jsx(b,{intent:"secondary",emphasis:"minimal",onClick:()=>a(l=>!l),className:"flex aspect-square size-6 items-center justify-center",children:t?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"sr-only",children:"Hide value"}),e.jsx(_,{width:24,height:24,className:N})]}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"sr-only",children:"Show value"}),e.jsx(F,{width:24,height:24,className:N})]})}),t?e.jsx(H,{value:s}):e.jsx("p",{className:"min-w-0",children:"•".repeat(Math.min(s.length,q))})]})}function H({value:s}){const{copied:t,copyToClipboard:a}=k(),l=d.useRef(null);return e.jsx(O,{children:e.jsxs(S,{delayDuration:200,children:[e.jsx(T,{onClick:n=>{n.preventDefault(),a(s)},asChild:!0,children:e.jsx(b,{intent:"secondary",className:"block min-w-0 max-w-full truncate text-text-md font-medium",emphasis:"minimal",ref:l,children:s})}),e.jsx(V,{onPointerDownOutside:n=>{n.currentTarget===l.current&&n.preventDefault()},className:"z-50 rounded-md bg-theme-text-primary px-3 py-2 text-text-xs text-theme-text-negative shadow-lg",sideOffset:5,children:t?"Copied!":"Copy to Clipboard"})]})})}const P=/^<class\s+'.*'>$/;function E({title:s,schema:t,data:a,intent:l="primary",contentClassName:n,className:o,children:v,isInitialOpen:D=!1}){const h={},p={},u={};for(const[r,i]of Object.entries(a||{}))C(i)?h[r]=i:x(i)?u[r]=i:p[r]=i;const f=Object.entries(p);f.sort((r,i)=>r[0].localeCompare(i[0]));const j=Object.keys(a||{}).length===0;return e.jsxs(L,{contentClassName:n,initialOpen:D,intent:l,title:s,className:o,copyText:JSON.stringify(a),displayCopyButton:!j,children:[j?e.jsx(J,{}):e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("dl",{className:"grid grid-cols-1 gap-x-[10px] gap-y-2 md:grid-cols-3 md:gap-y-4",children:f.map(([r,i])=>{var y;const c=(y=t==null?void 0:t.properties)==null?void 0:y[r],g=(c==null?void 0:c.title)||r,M=(c==null?void 0:c.sensitive)||(c==null?void 0:c.format)==="password"||!1;return e.jsxs(d.Fragment,{children:[e.jsx("dt",{className:"col-span-1 flex items-start text-theme-text-secondary",children:e.jsx(O,{children:e.jsxs(S,{children:[e.jsx(T,{className:"cursor-default truncate",children:g}),e.jsx(V,{className:"max-w-[480px]",children:g})]})})}),e.jsx("dd",{className:"col-span-2 w-full truncate text-neutral-700",children:M&&m(i)?e.jsx(z,{value:i}):e.jsx(R,{value:i})})]},r)})}),Object.entries(u).map(([r,i])=>e.jsx(G,{title:r,value:i},r)),Object.entries(h).map(([r,i])=>e.jsx(E,{intent:"secondary",title:r,data:i},r))]}),v]})}function R({value:s}){return m(s)&&P.test(s)?e.jsx(A,{highlightCode:!0,code:s}):s===null?e.jsx("div",{children:"null"}):m(s)&&B(s)?e.jsx("a",{className:"underline transition-all duration-200 hover:decoration-transparent",href:s,target:"_blank",rel:"noopener noreferrer",children:s}):e.jsx("div",{className:"whitespace-normal",children:m(s)?s:JSON.stringify(s)})}function G({title:s,value:t}){const a=t.filter(n=>!x(n)&&!C(n)||n===null),l=t.filter(n=>x(n)||C(n));return e.jsx(e.Fragment,{children:e.jsxs(L,{copyText:JSON.stringify(t),intent:"secondary",title:s,children:[a.length>0&&e.jsx("ul",{className:"space-y-2 md:space-y-4",children:a.map((n,o)=>e.jsx("li",{children:e.jsx(R,{value:n})},o))}),l.length>0&&e.jsx("ul",{className:"space-y-4",children:l.map((n,o)=>e.jsx("li",{children:e.jsx(E,{intent:"secondary",title:o,data:n},o)},o))})]},s)})}export{Y as K,E as N,Z as V,K as a,J as b};
@@ -1 +1 @@
1
- import{j as r}from"./@radix-Cdvw4jJ8.js";import{bn as a}from"./index-BFqbGSck.js";const n=a("flex h-7 w-7 items-center justify-center rounded-sm text-text-lg font-semibold",{variants:{intent:{default:"bg-primary-100 text-theme-text-brand",disabled:"bg-neutral-100 text-theme-text-tertiary"}},defaultVariants:{intent:"default"}});function m({children:t,intent:e}){return r.jsx("div",{className:n({intent:e}),children:t})}export{m as N};
1
+ import{j as r}from"./@radix-Cdvw4jJ8.js";import{bn as a}from"./index-BgEfQ3_G.js";const n=a("flex h-7 w-7 items-center justify-center rounded-sm text-text-lg font-semibold",{variants:{intent:{default:"bg-primary-100 text-theme-text-brand",disabled:"bg-neutral-100 text-theme-text-tertiary"}},defaultVariants:{intent:"default"}});function m({children:t,intent:e}){return r.jsx("div",{className:n({intent:e}),children:t})}export{m as N};
@@ -0,0 +1 @@
1
+ import{r as a,j as e}from"./@radix-Cdvw4jJ8.js";import{o as f,h as v,m as w}from"./index-BgEfQ3_G.js";import{S as C}from"./chevron-right-double-Dgp_gEsp.js";import{c as j}from"./@react-router-DeDfXbUF.js";const L=s=>a.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},a.createElement("g",{id:"chevron-left-double"},a.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M11.7071 6.29289C12.0976 6.68342 12.0976 7.31658 11.7071 7.70711L7.41421 12L11.7071 16.2929C12.0976 16.6834 12.0976 17.3166 11.7071 17.7071C11.3166 18.0976 10.6834 18.0976 10.2929 17.7071L5.29289 12.7071C4.90237 12.3166 4.90237 11.6834 5.29289 11.2929L10.2929 6.29289C10.6834 5.90237 11.3166 5.90237 11.7071 6.29289ZM18.7071 6.29289C19.0976 6.68342 19.0976 7.31658 18.7071 7.70711L14.4142 12L18.7071 16.2929C19.0976 16.6834 19.0976 17.3166 18.7071 17.7071C18.3166 18.0976 17.6834 18.0976 17.2929 17.7071L12.2929 12.7071C11.9024 12.3166 11.9024 11.6834 12.2929 11.2929L17.2929 6.29289C17.6834 5.90237 18.3166 5.90237 18.7071 6.29289Z"}))),E=s=>a.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},a.createElement("g",{id:"chevron-left"},a.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M15.7071 5.29289C16.0976 5.68342 16.0976 6.31658 15.7071 6.70711L10.4142 12L15.7071 17.2929C16.0976 17.6834 16.0976 18.3166 15.7071 18.7071C15.3166 19.0976 14.6834 19.0976 14.2929 18.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L14.2929 5.29289C14.6834 4.90237 15.3166 4.90237 15.7071 5.29289Z"}))),S=s=>a.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},a.createElement("g",{id:"chevron-right"},a.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 B({paginate:s,searchParams:g,inMemoryHandler:c}){const x=j(),{index:l,total_pages:i}=s;function o(r){if(c){c(r);return}const d=new URLSearchParams(f(g));d.set("page",r.toString()),x(`?${d.toString()}`,{preventScrollReset:!1})}const b=()=>{const r=[];let u=!1,h=!1;for(let t=1;t<=i;t++){const p=t>1&&t<i&&Math.abs(t-l)>1;(t===1||t===i||p||Math.abs(t-l)<=1)&&(p?t<l&&!u?(r.push(e.jsx(m,{},"ellipsis-left")),u=!0):t>l&&!h&&(r.push(e.jsx(m,{},"ellipsis-right")),h=!0):r.push(e.jsx(n,{"aria-label":`Go to page ${t}`,"aria-current":t===l,className:`${t===l?"!bg-primary-500 text-theme-text-negative":""}`,onClick:()=>o(t),disabled:t===l,children:t},t)))}return r};return e.jsx("nav",{role:"navigation","aria-label":"Pagination Navigation",children:e.jsxs("ul",{className:"flex gap-1",children:[e.jsx("li",{children:e.jsx(n,{disabled:l===1,onClick:()=>o(1),"aria-label":"Go to first page",children:e.jsx(L,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),e.jsx("li",{children:e.jsx(n,{disabled:l===1,onClick:()=>o(l-1),"aria-label":"Go to previous page",children:e.jsx(E,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),b().map((r,d)=>e.jsx("li",{children:r},d)),e.jsx("li",{children:e.jsx(n,{disabled:l===i,onClick:()=>o(l+1),"aria-label":"Go to next page",children:e.jsx(S,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),e.jsx("li",{children:e.jsx(n,{disabled:l===i,onClick:()=>o(i),"aria-label":"Go to last page",children:e.jsx(C,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})})]})})}function m(){return e.jsx("div",{className:"flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-theme-border-moderate",children:e.jsx(w,{className:"h-4 w-4"})})}const n=a.forwardRef(({className:s,...g},c)=>e.jsx("button",{...g,ref:c,className:v("group/button flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-neutral-300 hover:bg-neutral-200 active:border-neutral-400 active:bg-neutral-300 disabled:pointer-events-none disabled:bg-theme-surface-primary",s)}));n.displayName="PaginationButton";export{B as P};
@@ -1 +1 @@
1
- import{r as p,j as e}from"./@radix-Cdvw4jJ8.js";import{S as L}from"./package-miExReQl.js";import{I as v}from"./Infobox-CGxFvqzi.js";import{a as R,C as T}from"./index.esm-DhJo3mA6.js";import{T as z}from"./Tick-BPrWnNlN.js";import{bt as O,bu as V,bv as H,ar as E,g as y,V as S,aj as M,ak as B,B as W,a$ as G,b as Y,aU as F,aV as q,aW as Q,aX as $,aY as U}from"./index-BFqbGSck.js";import{C as c}from"./ComponentBadge-CDgdd0Ks.js";import{s as w}from"./index-BjUu1mP4.js";import{g as X}from"./StackName-ojLC6xdl.js";import{b as N}from"./@tanstack-5gTMR7G2.js";import{S as P}from"./logs-CQKlJjo0.js";import{C as k}from"./CodeSnippet-D2HkkAGr.js";import{N as _}from"./NumberBox-C0mQktmV.js";import{p as J,s as K}from"./persist-Dec_w7aB.js";import{C as ee}from"./ProviderIcon-DPwMR6nF.js";const D=p.createContext(null);function Re({children:a}){const{success:t,data:s}=J(),[r,n]=p.useState(!1),[l,i]=p.useState(!!t),[o,h]=p.useState(t?{location:s.location,provider:s.provider,stackName:s.stackName}:{}),[x,u]=p.useState(t?s.timestamp:""),m=p.useRef(null);return e.jsx(D.Provider,{value:{isNextButtonDisabled:r,setIsNextButtonDisabled:n,data:o,setData:h,isLoading:l,setIsLoading:i,formRef:m,timestamp:x,setTimestamp:u},children:a})}function A(){const a=p.useContext(D);if(a===null)throw new Error("useNewInfraFormContext must be used within an AuthProvider");return a}const re=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM12 4.5C12.5523 4.5 13 4.94772 13 5.5V6H13.1667C15.0076 6 16.5 7.49238 16.5 9.33333C16.5 9.88562 16.0523 10.3333 15.5 10.3333C14.9477 10.3333 14.5 9.88562 14.5 9.33333C14.5 8.59695 13.903 8 13.1667 8H11C10.1716 8 9.5 8.67157 9.5 9.5C9.5 10.3284 10.1716 11 11 11H13C14.933 11 16.5 12.567 16.5 14.5C16.5 16.433 14.933 18 13 18V18.5C13 19.0523 12.5523 19.5 12 19.5C11.4477 19.5 11 19.0523 11 18.5V18H10.8333C8.99238 18 7.5 16.5076 7.5 14.6667C7.5 14.1144 7.94772 13.6667 8.5 13.6667C9.05228 13.6667 9.5 14.1144 9.5 14.6667C9.5 15.403 10.097 16 10.8333 16H13C13.8284 16 14.5 15.3284 14.5 14.5C14.5 13.6716 13.8284 13 13 13H11C9.067 13 7.5 11.433 7.5 9.5C7.5 7.567 9.067 6 11 6V5.5C11 4.94772 11.4477 4.5 12 4.5Z"})),ae=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.16145 4L18.8385 4C19.3657 3.99998 19.8205 3.99997 20.195 4.03057C20.5904 4.06287 20.9836 4.13419 21.362 4.32698C21.9265 4.6146 22.3854 5.07354 22.673 5.63803C22.8658 6.01641 22.9371 6.40963 22.9694 6.80498C23 7.17954 23 7.6343 23 8.16144V15.8386C23 16.3657 23 16.8205 22.9694 17.195C22.9371 17.5904 22.8658 17.9836 22.673 18.362C22.3854 18.9265 21.9265 19.3854 21.362 19.673C20.9836 19.8658 20.5904 19.9371 20.195 19.9694C19.8205 20 19.3657 20 18.8386 20L5.16148 20C4.63432 20 4.17955 20 3.80497 19.9694C3.40963 19.9371 3.01641 19.8658 2.63803 19.673C2.07354 19.3854 1.6146 18.9265 1.32698 18.362C1.13419 17.9836 1.06287 17.5904 1.03057 17.195C0.999967 16.8205 0.999983 16.3657 1 15.8385L1 10.0006C1 10.0004 1 10.0008 1 10.0006C1 10.0004 1 9.99958 1 9.99937L1 8.16146C0.999983 7.63431 0.999968 7.17955 1.03057 6.80497C1.06287 6.40963 1.13419 6.01641 1.32698 5.63803C1.6146 5.07354 2.07354 4.6146 2.63803 4.32698C3.01641 4.13419 3.40963 4.06287 3.80497 4.03057C4.17955 3.99997 4.63431 3.99998 5.16145 4ZM3 11V15.8C3 16.3766 3.00078 16.7488 3.02393 17.0322C3.04612 17.3038 3.0838 17.4045 3.109 17.454C3.20487 17.6422 3.35785 17.7951 3.54601 17.891C3.59546 17.9162 3.69617 17.9539 3.96784 17.9761C4.25117 17.9992 4.62345 18 5.2 18L18.8 18C19.3766 18 19.7488 17.9992 20.0322 17.9761C20.3038 17.9539 20.4045 17.9162 20.454 17.891C20.6422 17.7951 20.7951 17.6422 20.891 17.454C20.9162 17.4045 20.9539 17.3038 20.9761 17.0322C20.9992 16.7488 21 16.3766 21 15.8V11H3ZM21 9H3V8.2C3 7.62345 3.00078 7.25117 3.02393 6.96784C3.04612 6.69617 3.0838 6.59546 3.109 6.54601C3.20487 6.35785 3.35785 6.20487 3.54601 6.109C3.59546 6.0838 3.69617 6.04612 3.96784 6.02393C4.25118 6.00078 4.62345 6 5.2 6L18.8 6C19.3766 6 19.7488 6.00078 20.0322 6.02393C20.3038 6.04613 20.4045 6.0838 20.454 6.109C20.6422 6.20487 20.7951 6.35785 20.891 6.54601C20.9162 6.59546 20.9539 6.69617 20.9761 6.96784C20.9992 7.25118 21 7.62345 21 8.2V9ZM5 14C5 13.4477 5.44772 13 6 13H11C11.5523 13 12 13.4477 12 14C12 14.5523 11.5523 15 11 15H6C5.44772 15 5 14.5523 5 14Z"}));function I({provider:a}){return e.jsxs(O,{children:[e.jsx(V,{className:"block",children:e.jsxs(v,{intent:"warning",children:["This will give ZenML permissions and create secret keys for secure ZenML -",">"," ",X(a)," communication. You can revoke these permissions at any time."]})}),e.jsx(H,{sideOffset:0,className:"w-auto p-5",children:e.jsx(E,{viewportClassName:"max-h-[300px]",children:e.jsx(te,{provider:a})})})]})}function te({provider:a}){const{isPending:t,isError:s,error:r,data:n}=N(w.stackDeploymentInfo({provider:a}));if(t)return e.jsx(y,{className:"h-[100px] w-full"});if(s)return e.jsx("p",{children:r.message});const l=Object.entries(n.permissions);return e.jsx("ul",{className:"space-y-2 pr-3 text-text-sm",children:l.map(([i,o])=>e.jsxs("li",{className:"flex flex-col gap-1",children:[e.jsx("p",{children:i}),e.jsx("ul",{className:"list-inside list-[square] pl-4 text-neutral-400 marker:text-primary-200",children:o.map((h,x)=>e.jsx("li",{children:h},x))})]},i))})}function se({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j,C,b;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(S,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(z,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"IAM Role",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to AWS resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/iam.webp",alt:"IAM logo"}}),n&&e.jsx(I,{provider:"aws"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"S3 Bucket",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/aws.png",alt:"S3 logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"ECR Repository",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/aws.png",alt:"ECR logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"SageMaker",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/sagemaker.png",alt:"Sagemaker logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.operator)==null?void 0:f.name)||"Sagemaker Step Operator",subtitle:((j=r==null?void 0:r.operator)==null?void 0:j.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/sagemaker.png",alt:"Sagemaker step operator logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((C=r==null?void 0:r.imageBuilder)==null?void 0:C.name)||"AWS Image Builder",subtitle:((b=r==null?void 0:r.imageBuilder)==null?void 0:b.id)||"Build and manage container images",badge:e.jsx(c,{type:"image_builder",children:"Image Builder"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/image_builder/aws.png",alt:"AWS Image Builder logo"}})})]})}function le({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j,C,b;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(S,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(z,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"Service Account",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to GCP resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/gcp-iam.webp",alt:"Service Account logo"}}),n&&e.jsx(I,{provider:"gcp"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"GCS Bucket",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/gcp.png",alt:"GCS logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"Google Artifact Registry",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/gcp.png",alt:"Google Artifact Registry logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"Vertex AI",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/vertexai.png",alt:"VertexAI logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.imageBuilder)==null?void 0:f.name)||"Cloud Build",isLoading:t,isSuccess:s,subtitle:((j=r==null?void 0:r.imageBuilder)==null?void 0:j.id)||"Build, test, and deploy images",badge:e.jsx(c,{type:"image_builder",children:"Image Builder"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/image_builder/gcp.png",alt:"Cloud Build logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((C=r==null?void 0:r.operator)==null?void 0:C.name)||"Vertex Step Operator",subtitle:((b=r==null?void 0:r.operator)==null?void 0:b.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/vertexai.png",alt:"Vertex step operator logo"}})})]})}function ie(){return e.jsx(v,{className:"border-warning-300 bg-warning-50",intent:"warning",children:'The Cloud Shell session will warn you that the ZenML GitHub repository is untrusted. We recommend that you review the contents of the repository and then check the "Trust repo" checkbox to proceed with the deployment, otherwise the Cloud Shell session will not be authenticated to access your GCP projects.'})}function ce(){const{data:a}=A(),t=N({...w.stackDeploymentConfig({provider:"gcp",stack_name:a.stackName,location:a.location})});return t.isError?null:t.isPending?e.jsx(y,{className:"h-[200px] w-full"}):e.jsxs("section",{className:"space-y-5 border-t border-theme-border-moderate pt-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(P,{className:"h-5 w-5 fill-primary-400"}),"Configuration"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"You will be asked to provide the following configuration values during the deployment process."})]}),e.jsx(k,{fullWidth:!0,highlightCode:!0,codeClasses:"whitespace-pre-wrap word-break-all",wrap:!0,code:t.data.configuration||""})]})}function Ee(){const{data:a}=A();return e.jsxs("div",{className:"space-y-5",children:[e.jsx(v,{children:"This will provision and register a basic ZenML stack with all the necessary resources and credentials required to run pipelines."}),a.provider!=="azure"&&e.jsxs("div",{children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-1",children:[e.jsx(ee,{provider:a.provider,className:"h-5 w-5"}),e.jsx("p",{className:"text-text-lg font-semibold",children:"Deploy the Stack"})]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Deploy the stack from your browser by clicking the button below:"})]}),a.provider==="gcp"&&e.jsx(ie,{}),a.provider!=="azure"&&e.jsx(Z,{setTimestampBool:!0}),a.provider==="gcp"&&e.jsx(ce,{}),a.provider==="azure"&&e.jsx(oe,{displayInfobox:!0})]})}function Z({setTimestampBool:a,children:t}){const{data:s,setTimestamp:r,setIsLoading:n}=A(),l=N({...w.stackDeploymentConfig({provider:s.provider,location:s.location,stack_name:s.stackName})});if(l.isError)return null;if(l.isPending)return e.jsx(y,{className:"h-[48px] w-[100px]"});function i(){const o=new Date().toISOString().slice(0,-1);a&&r(o),K({location:s.location||"",provider:s.provider||"aws",stackName:s.stackName,timestamp:o}),n(!0)}return e.jsx(W,{asChild:!0,className:"w-fit gap-3 whitespace-nowrap",size:"lg",onClick:()=>i(),children:e.jsxs("a",{href:l.data.deployment_url,target:"_blank",rel:"noopener noreferrer",children:[t||e.jsxs("div",{children:["Deploy in ",e.jsx("span",{className:"uppercase",children:s.provider})]}),e.jsx(G,{className:"h-5 w-5 shrink-0 fill-white"})]})})}function de({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(S,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(z,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"Azure Service Principal",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to Azure resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/azure-service-principal.webp",alt:"Service Principal logo"}}),n&&e.jsx(I,{provider:"azure"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"Azure Blob Storage",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/azure.png",alt:"Blob Storage logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"Azure Container Registry",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/azure.png",alt:"Azure Container Registry logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"Azure ML",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/azureml.png",alt:"Azure ML logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.operator)==null?void 0:f.name)||"Azure Step Operator",subtitle:((j=r==null?void 0:r.operator)==null?void 0:j.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/azureml.png",alt:"Azure Step Operator logo"}})})]})}function oe({displayInfobox:a=!1}){return e.jsxs("section",{className:"space-y-5",children:[e.jsx(pe,{}),e.jsx(ne,{displayInfobox:a}),e.jsx(xe,{}),e.jsx(he,{})]})}function ne({displayInfobox:a=!1}){return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"1"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Open the Azure Cloud Shell Console"})]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Deploy the stack using the Azure Cloud Shell console."})]}),e.jsx(Z,{setTimestampBool:!0,children:e.jsx("span",{className:"text-text-lg font-semibold",children:"Open the Azure Cloud Shell"})}),a&&e.jsx(v,{className:"border-warning-300 bg-warning-50",intent:"warning",children:"After the Terraform deployment is complete, you can close the Cloud Shell session and return to the dashboard to view details about the associated ZenML stack automatically registered with ZenML."})]})}function xe(){return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"2"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Create a file with the following configuration"})]}),e.jsxs("p",{className:"text-theme-text-secondary",children:["Create a file named ",e.jsx("code",{className:"font-mono text-primary-400",children:"main.tf"})," in the Cloud Shell and copy and paste the Terraform configuration below into it."]})]}),e.jsx(ue,{})]})}function he(){return e.jsxs("div",{className:"space-y-5",children:[e.jsx("div",{className:"space-y-1",children:e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"3"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Run the following commands"})]})}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-text-sm text-theme-text-secondary",children:"Initialize the Terraform configuration."}),e.jsx(k,{code:"terraform init --upgrade"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-text-sm text-theme-text-secondary",children:"Run terraform apply to deploy the ZenML stack to Azure."}),e.jsx(k,{code:"terraform apply"})]})]})}function ue(){const{data:a}=A(),t=N({...w.stackDeploymentConfig({provider:"azure",stack_name:a.stackName,location:a.location}),enabled:!!a.stackName});return t.isError?null:t.isPending?e.jsx(y,{className:"h-[200px] w-full"}):e.jsx(k,{fullWidth:!0,highlightCode:!0,codeClasses:"whitespace-pre-wrap word-break-all",wrap:!0,code:t.data.configuration||""})}function pe(){return e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(P,{className:"h-5 w-5 fill-primary-400"}),"Configuration"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"You will be asked to provide the following configuration values during the deployment process."})]})}function me({componentProps:a,type:t}){switch(t){case"aws":return e.jsx(se,{...a});case"gcp":return e.jsx(le,{...a});case"azure":return e.jsx(de,{...a})}}function d({img:a,title:t,subtitle:s,badge:r,isSuccess:n,isLoading:l}){return e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[l&&e.jsx(S,{className:"h-5 w-5 shrink-0 border-[3px]"}),n&&e.jsx(z,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx("img",{width:"40",height:"40",alt:a.alt,src:a.src}),e.jsxs("div",{children:[e.jsx("p",{className:"text-text-lg font-semibold",children:t}),e.jsx("p",{className:"text-theme-text-secondary",children:s})]})]}),r]})}function Pe({provider:a}){function t(){let s="#";switch(a){case"aws":s="https://calculator.aws/#/";break;case"gcp":s="https://cloud.google.com/products/calculator";break;case"azure":s="https://azure.microsoft.com/en-us/pricing/calculator/";break}return e.jsx("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"link",children:"official pricing calculator"})}return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(re,{className:"h-5 w-5 fill-primary-400"}),"Estimated Cost"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"These are rough estimates and actual costs may vary based on your usage."})]}),e.jsxs(Y,{className:"flex items-start gap-[10px] p-3",children:[e.jsx("div",{className:"content-center rounded-sm bg-blue-25 p-1",children:e.jsx(ae,{className:"h-5 w-5 fill-blue-400"})}),e.jsxs("div",{children:[e.jsxs("p",{children:["A small training job would cost around:"," ",e.jsx("span",{className:"font-semibold text-theme-text-success",children:"$0.60"})]}),e.jsxs("p",{className:"text-text-xs text-theme-text-secondary",children:["Please use the ",e.jsx(t,{})," for a detailed estimate"]})]})]})]})}const ge=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C8.13401 3 5 6.13401 5 10C5 11.8921 5.85317 13.678 7.29228 15.5467C8.50741 17.1245 10.0627 18.6673 11.7323 20.3233C11.8212 20.4115 11.9105 20.5 12 20.5889C12.0895 20.5 12.1788 20.4115 12.2677 20.3233C13.9373 18.6673 15.4926 17.1245 16.7077 15.5467C18.1468 13.678 19 11.8921 19 10C19 6.13401 15.866 3 12 3ZM3 10C3 5.02944 7.02944 1 12 1C16.9706 1 21 5.02944 21 10C21 12.5262 19.8532 14.7402 18.2923 16.767C16.988 18.4607 15.3185 20.1156 13.6508 21.7689C13.3354 22.0816 13.02 22.3943 12.7071 22.7071C12.3166 23.0976 11.6834 23.0976 11.2929 22.7071C10.98 22.3943 10.6646 22.0816 10.3492 21.7689C8.68147 20.1156 7.01205 18.4607 5.70772 16.767C4.14683 14.7402 3 12.5262 3 10ZM12 8C10.8954 8 10 8.89543 10 10C10 11.1046 10.8954 12 12 12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8ZM8 10C8 7.79086 9.79086 6 12 6C14.2091 6 16 7.79086 16 10C16 12.2091 14.2091 14 12 14C9.79086 14 8 12.2091 8 10Z"}));function fe({provider:a}){const{control:t}=R(),{isPending:s,isError:r,data:n}=N({...w.stackDeploymentInfo({provider:a})});if(r)return null;if(s)return e.jsx(y,{className:"h-[40px] w-[100px]"});const l=Object.entries(n.locations);return e.jsx(T,{control:t,name:"region",render:({field:{onChange:i,ref:o,...h}})=>e.jsxs(F,{...h,onValueChange:i,children:[e.jsx(q,{className:"border border-neutral-300 text-left text-text-md",children:e.jsx(Q,{className:"flex items-center gap-2",placeholder:"Select your Location"})}),e.jsx($,{children:e.jsx(E,{viewportClassName:"max-h-[300px]",children:l.map(([x,u])=>e.jsxs(U,{value:u,children:[x," - ",e.jsx("span",{className:"text-theme-text-secondary",children:u})]},x))})})]})})}function De({provider:a}){return e.jsxs("div",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(ge,{className:"h-5 w-5 fill-primary-400"}),"Choose Your Location"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select where you want to deploy your cloud infrastructure for optimal performance and compliance."})]}),e.jsx(fe,{provider:a})]})}function Ze({provider:a}){const{watch:t}=R();return e.jsxs("div",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(L,{className:"h-5 w-5 fill-primary-400"}),"Review Your Stack Components"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"The following components will be created for your ZenML stack."})]}),e.jsx(me,{type:a,componentProps:{displayPermissions:!0,stackName:t("stackName")}}),e.jsx(v,{children:"These resources create a basic ZenML stack for ML workflow management. ZenML supports highly flexible stacks. You can build advanced stacks at any time, combining your preferred tools and components for more complex MLOps."})]})}export{oe as A,me as C,Z as D,Pe as E,ce as G,Re as N,De as R,Ze as a,Ee as b,A as u};
1
+ import{r as p,j as e}from"./@radix-Cdvw4jJ8.js";import{S as L}from"./package-miExReQl.js";import{I as v}from"./Infobox-CSBRrM6r.js";import{a as R,C as T}from"./index.esm-DhJo3mA6.js";import{T as z}from"./Tick-Qquvr4P3.js";import{bt as O,bu as V,bv as H,ar as E,g as y,V as S,aj as M,ak as B,B as W,a$ as G,b as Y,aU as F,aV as q,aW as Q,aX as $,aY as U}from"./index-BgEfQ3_G.js";import{C as c}from"./ComponentBadge-Cnecw3qz.js";import{s as w}from"./index-BBt0LDtR.js";import{g as X}from"./StackName-CFSZL8ec.js";import{b as N}from"./@tanstack-5gTMR7G2.js";import{S as P}from"./logs-CQKlJjo0.js";import{C as k}from"./CodeSnippet-Ctplhzdc.js";import{N as _}from"./NumberBox-DtCv7jh3.js";import{p as J,s as K}from"./persist-BsdEtCkd.js";import{C as ee}from"./ProviderIcon-DHejyg7C.js";const D=p.createContext(null);function Re({children:a}){const{success:t,data:s}=J(),[r,n]=p.useState(!1),[l,i]=p.useState(!!t),[o,h]=p.useState(t?{location:s.location,provider:s.provider,stackName:s.stackName}:{}),[x,u]=p.useState(t?s.timestamp:""),m=p.useRef(null);return e.jsx(D.Provider,{value:{isNextButtonDisabled:r,setIsNextButtonDisabled:n,data:o,setData:h,isLoading:l,setIsLoading:i,formRef:m,timestamp:x,setTimestamp:u},children:a})}function A(){const a=p.useContext(D);if(a===null)throw new Error("useNewInfraFormContext must be used within an AuthProvider");return a}const re=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM12 4.5C12.5523 4.5 13 4.94772 13 5.5V6H13.1667C15.0076 6 16.5 7.49238 16.5 9.33333C16.5 9.88562 16.0523 10.3333 15.5 10.3333C14.9477 10.3333 14.5 9.88562 14.5 9.33333C14.5 8.59695 13.903 8 13.1667 8H11C10.1716 8 9.5 8.67157 9.5 9.5C9.5 10.3284 10.1716 11 11 11H13C14.933 11 16.5 12.567 16.5 14.5C16.5 16.433 14.933 18 13 18V18.5C13 19.0523 12.5523 19.5 12 19.5C11.4477 19.5 11 19.0523 11 18.5V18H10.8333C8.99238 18 7.5 16.5076 7.5 14.6667C7.5 14.1144 7.94772 13.6667 8.5 13.6667C9.05228 13.6667 9.5 14.1144 9.5 14.6667C9.5 15.403 10.097 16 10.8333 16H13C13.8284 16 14.5 15.3284 14.5 14.5C14.5 13.6716 13.8284 13 13 13H11C9.067 13 7.5 11.433 7.5 9.5C7.5 7.567 9.067 6 11 6V5.5C11 4.94772 11.4477 4.5 12 4.5Z"})),ae=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.16145 4L18.8385 4C19.3657 3.99998 19.8205 3.99997 20.195 4.03057C20.5904 4.06287 20.9836 4.13419 21.362 4.32698C21.9265 4.6146 22.3854 5.07354 22.673 5.63803C22.8658 6.01641 22.9371 6.40963 22.9694 6.80498C23 7.17954 23 7.6343 23 8.16144V15.8386C23 16.3657 23 16.8205 22.9694 17.195C22.9371 17.5904 22.8658 17.9836 22.673 18.362C22.3854 18.9265 21.9265 19.3854 21.362 19.673C20.9836 19.8658 20.5904 19.9371 20.195 19.9694C19.8205 20 19.3657 20 18.8386 20L5.16148 20C4.63432 20 4.17955 20 3.80497 19.9694C3.40963 19.9371 3.01641 19.8658 2.63803 19.673C2.07354 19.3854 1.6146 18.9265 1.32698 18.362C1.13419 17.9836 1.06287 17.5904 1.03057 17.195C0.999967 16.8205 0.999983 16.3657 1 15.8385L1 10.0006C1 10.0004 1 10.0008 1 10.0006C1 10.0004 1 9.99958 1 9.99937L1 8.16146C0.999983 7.63431 0.999968 7.17955 1.03057 6.80497C1.06287 6.40963 1.13419 6.01641 1.32698 5.63803C1.6146 5.07354 2.07354 4.6146 2.63803 4.32698C3.01641 4.13419 3.40963 4.06287 3.80497 4.03057C4.17955 3.99997 4.63431 3.99998 5.16145 4ZM3 11V15.8C3 16.3766 3.00078 16.7488 3.02393 17.0322C3.04612 17.3038 3.0838 17.4045 3.109 17.454C3.20487 17.6422 3.35785 17.7951 3.54601 17.891C3.59546 17.9162 3.69617 17.9539 3.96784 17.9761C4.25117 17.9992 4.62345 18 5.2 18L18.8 18C19.3766 18 19.7488 17.9992 20.0322 17.9761C20.3038 17.9539 20.4045 17.9162 20.454 17.891C20.6422 17.7951 20.7951 17.6422 20.891 17.454C20.9162 17.4045 20.9539 17.3038 20.9761 17.0322C20.9992 16.7488 21 16.3766 21 15.8V11H3ZM21 9H3V8.2C3 7.62345 3.00078 7.25117 3.02393 6.96784C3.04612 6.69617 3.0838 6.59546 3.109 6.54601C3.20487 6.35785 3.35785 6.20487 3.54601 6.109C3.59546 6.0838 3.69617 6.04612 3.96784 6.02393C4.25118 6.00078 4.62345 6 5.2 6L18.8 6C19.3766 6 19.7488 6.00078 20.0322 6.02393C20.3038 6.04613 20.4045 6.0838 20.454 6.109C20.6422 6.20487 20.7951 6.35785 20.891 6.54601C20.9162 6.59546 20.9539 6.69617 20.9761 6.96784C20.9992 7.25118 21 7.62345 21 8.2V9ZM5 14C5 13.4477 5.44772 13 6 13H11C11.5523 13 12 13.4477 12 14C12 14.5523 11.5523 15 11 15H6C5.44772 15 5 14.5523 5 14Z"}));function I({provider:a}){return e.jsxs(O,{children:[e.jsx(V,{className:"block",children:e.jsxs(v,{intent:"warning",children:["This will give ZenML permissions and create secret keys for secure ZenML -",">"," ",X(a)," communication. You can revoke these permissions at any time."]})}),e.jsx(H,{sideOffset:0,className:"w-auto p-5",children:e.jsx(E,{viewportClassName:"max-h-[300px]",children:e.jsx(te,{provider:a})})})]})}function te({provider:a}){const{isPending:t,isError:s,error:r,data:n}=N(w.stackDeploymentInfo({provider:a}));if(t)return e.jsx(y,{className:"h-[100px] w-full"});if(s)return e.jsx("p",{children:r.message});const l=Object.entries(n.permissions);return e.jsx("ul",{className:"space-y-2 pr-3 text-text-sm",children:l.map(([i,o])=>e.jsxs("li",{className:"flex flex-col gap-1",children:[e.jsx("p",{children:i}),e.jsx("ul",{className:"list-inside list-[square] pl-4 text-neutral-400 marker:text-primary-200",children:o.map((h,x)=>e.jsx("li",{children:h},x))})]},i))})}function se({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j,C,b;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(S,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(z,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"IAM Role",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to AWS resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/iam.webp",alt:"IAM logo"}}),n&&e.jsx(I,{provider:"aws"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"S3 Bucket",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/aws.png",alt:"S3 logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"ECR Repository",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/aws.png",alt:"ECR logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"SageMaker",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/sagemaker.png",alt:"Sagemaker logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.operator)==null?void 0:f.name)||"Sagemaker Step Operator",subtitle:((j=r==null?void 0:r.operator)==null?void 0:j.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/sagemaker.png",alt:"Sagemaker step operator logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((C=r==null?void 0:r.imageBuilder)==null?void 0:C.name)||"AWS Image Builder",subtitle:((b=r==null?void 0:r.imageBuilder)==null?void 0:b.id)||"Build and manage container images",badge:e.jsx(c,{type:"image_builder",children:"Image Builder"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/image_builder/aws.png",alt:"AWS Image Builder logo"}})})]})}function le({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j,C,b;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(S,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(z,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"Service Account",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to GCP resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/gcp-iam.webp",alt:"Service Account logo"}}),n&&e.jsx(I,{provider:"gcp"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"GCS Bucket",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/gcp.png",alt:"GCS logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"Google Artifact Registry",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/gcp.png",alt:"Google Artifact Registry logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"Vertex AI",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/vertexai.png",alt:"VertexAI logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.imageBuilder)==null?void 0:f.name)||"Cloud Build",isLoading:t,isSuccess:s,subtitle:((j=r==null?void 0:r.imageBuilder)==null?void 0:j.id)||"Build, test, and deploy images",badge:e.jsx(c,{type:"image_builder",children:"Image Builder"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/image_builder/gcp.png",alt:"Cloud Build logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((C=r==null?void 0:r.operator)==null?void 0:C.name)||"Vertex Step Operator",subtitle:((b=r==null?void 0:r.operator)==null?void 0:b.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/vertexai.png",alt:"Vertex step operator logo"}})})]})}function ie(){return e.jsx(v,{className:"border-warning-300 bg-warning-50",intent:"warning",children:'The Cloud Shell session will warn you that the ZenML GitHub repository is untrusted. We recommend that you review the contents of the repository and then check the "Trust repo" checkbox to proceed with the deployment, otherwise the Cloud Shell session will not be authenticated to access your GCP projects.'})}function ce(){const{data:a}=A(),t=N({...w.stackDeploymentConfig({provider:"gcp",stack_name:a.stackName,location:a.location})});return t.isError?null:t.isPending?e.jsx(y,{className:"h-[200px] w-full"}):e.jsxs("section",{className:"space-y-5 border-t border-theme-border-moderate pt-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(P,{className:"h-5 w-5 fill-primary-400"}),"Configuration"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"You will be asked to provide the following configuration values during the deployment process."})]}),e.jsx(k,{fullWidth:!0,highlightCode:!0,codeClasses:"whitespace-pre-wrap word-break-all",wrap:!0,code:t.data.configuration||""})]})}function Ee(){const{data:a}=A();return e.jsxs("div",{className:"space-y-5",children:[e.jsx(v,{children:"This will provision and register a basic ZenML stack with all the necessary resources and credentials required to run pipelines."}),a.provider!=="azure"&&e.jsxs("div",{children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-1",children:[e.jsx(ee,{provider:a.provider,className:"h-5 w-5"}),e.jsx("p",{className:"text-text-lg font-semibold",children:"Deploy the Stack"})]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Deploy the stack from your browser by clicking the button below:"})]}),a.provider==="gcp"&&e.jsx(ie,{}),a.provider!=="azure"&&e.jsx(Z,{setTimestampBool:!0}),a.provider==="gcp"&&e.jsx(ce,{}),a.provider==="azure"&&e.jsx(oe,{displayInfobox:!0})]})}function Z({setTimestampBool:a,children:t}){const{data:s,setTimestamp:r,setIsLoading:n}=A(),l=N({...w.stackDeploymentConfig({provider:s.provider,location:s.location,stack_name:s.stackName})});if(l.isError)return null;if(l.isPending)return e.jsx(y,{className:"h-[48px] w-[100px]"});function i(){const o=new Date().toISOString().slice(0,-1);a&&r(o),K({location:s.location||"",provider:s.provider||"aws",stackName:s.stackName,timestamp:o}),n(!0)}return e.jsx(W,{asChild:!0,className:"w-fit gap-3 whitespace-nowrap",size:"lg",onClick:()=>i(),children:e.jsxs("a",{href:l.data.deployment_url,target:"_blank",rel:"noopener noreferrer",children:[t||e.jsxs("div",{children:["Deploy in ",e.jsx("span",{className:"uppercase",children:s.provider})]}),e.jsx(G,{className:"h-5 w-5 shrink-0 fill-white"})]})})}function de({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(S,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(z,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"Azure Service Principal",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to Azure resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/azure-service-principal.webp",alt:"Service Principal logo"}}),n&&e.jsx(I,{provider:"azure"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"Azure Blob Storage",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/azure.png",alt:"Blob Storage logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"Azure Container Registry",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/azure.png",alt:"Azure Container Registry logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"Azure ML",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/azureml.png",alt:"Azure ML logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.operator)==null?void 0:f.name)||"Azure Step Operator",subtitle:((j=r==null?void 0:r.operator)==null?void 0:j.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/azureml.png",alt:"Azure Step Operator logo"}})})]})}function oe({displayInfobox:a=!1}){return e.jsxs("section",{className:"space-y-5",children:[e.jsx(pe,{}),e.jsx(ne,{displayInfobox:a}),e.jsx(xe,{}),e.jsx(he,{})]})}function ne({displayInfobox:a=!1}){return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"1"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Open the Azure Cloud Shell Console"})]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Deploy the stack using the Azure Cloud Shell console."})]}),e.jsx(Z,{setTimestampBool:!0,children:e.jsx("span",{className:"text-text-lg font-semibold",children:"Open the Azure Cloud Shell"})}),a&&e.jsx(v,{className:"border-warning-300 bg-warning-50",intent:"warning",children:"After the Terraform deployment is complete, you can close the Cloud Shell session and return to the dashboard to view details about the associated ZenML stack automatically registered with ZenML."})]})}function xe(){return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"2"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Create a file with the following configuration"})]}),e.jsxs("p",{className:"text-theme-text-secondary",children:["Create a file named ",e.jsx("code",{className:"font-mono text-primary-400",children:"main.tf"})," in the Cloud Shell and copy and paste the Terraform configuration below into it."]})]}),e.jsx(ue,{})]})}function he(){return e.jsxs("div",{className:"space-y-5",children:[e.jsx("div",{className:"space-y-1",children:e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"3"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Run the following commands"})]})}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-text-sm text-theme-text-secondary",children:"Initialize the Terraform configuration."}),e.jsx(k,{code:"terraform init --upgrade"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-text-sm text-theme-text-secondary",children:"Run terraform apply to deploy the ZenML stack to Azure."}),e.jsx(k,{code:"terraform apply"})]})]})}function ue(){const{data:a}=A(),t=N({...w.stackDeploymentConfig({provider:"azure",stack_name:a.stackName,location:a.location}),enabled:!!a.stackName});return t.isError?null:t.isPending?e.jsx(y,{className:"h-[200px] w-full"}):e.jsx(k,{fullWidth:!0,highlightCode:!0,codeClasses:"whitespace-pre-wrap word-break-all",wrap:!0,code:t.data.configuration||""})}function pe(){return e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(P,{className:"h-5 w-5 fill-primary-400"}),"Configuration"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"You will be asked to provide the following configuration values during the deployment process."})]})}function me({componentProps:a,type:t}){switch(t){case"aws":return e.jsx(se,{...a});case"gcp":return e.jsx(le,{...a});case"azure":return e.jsx(de,{...a})}}function d({img:a,title:t,subtitle:s,badge:r,isSuccess:n,isLoading:l}){return e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[l&&e.jsx(S,{className:"h-5 w-5 shrink-0 border-[3px]"}),n&&e.jsx(z,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx("img",{width:"40",height:"40",alt:a.alt,src:a.src}),e.jsxs("div",{children:[e.jsx("p",{className:"text-text-lg font-semibold",children:t}),e.jsx("p",{className:"text-theme-text-secondary",children:s})]})]}),r]})}function Pe({provider:a}){function t(){let s="#";switch(a){case"aws":s="https://calculator.aws/#/";break;case"gcp":s="https://cloud.google.com/products/calculator";break;case"azure":s="https://azure.microsoft.com/en-us/pricing/calculator/";break}return e.jsx("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"link",children:"official pricing calculator"})}return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(re,{className:"h-5 w-5 fill-primary-400"}),"Estimated Cost"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"These are rough estimates and actual costs may vary based on your usage."})]}),e.jsxs(Y,{className:"flex items-start gap-[10px] p-3",children:[e.jsx("div",{className:"content-center rounded-sm bg-blue-25 p-1",children:e.jsx(ae,{className:"h-5 w-5 fill-blue-400"})}),e.jsxs("div",{children:[e.jsxs("p",{children:["A small training job would cost around:"," ",e.jsx("span",{className:"font-semibold text-theme-text-success",children:"$0.60"})]}),e.jsxs("p",{className:"text-text-xs text-theme-text-secondary",children:["Please use the ",e.jsx(t,{})," for a detailed estimate"]})]})]})]})}const ge=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C8.13401 3 5 6.13401 5 10C5 11.8921 5.85317 13.678 7.29228 15.5467C8.50741 17.1245 10.0627 18.6673 11.7323 20.3233C11.8212 20.4115 11.9105 20.5 12 20.5889C12.0895 20.5 12.1788 20.4115 12.2677 20.3233C13.9373 18.6673 15.4926 17.1245 16.7077 15.5467C18.1468 13.678 19 11.8921 19 10C19 6.13401 15.866 3 12 3ZM3 10C3 5.02944 7.02944 1 12 1C16.9706 1 21 5.02944 21 10C21 12.5262 19.8532 14.7402 18.2923 16.767C16.988 18.4607 15.3185 20.1156 13.6508 21.7689C13.3354 22.0816 13.02 22.3943 12.7071 22.7071C12.3166 23.0976 11.6834 23.0976 11.2929 22.7071C10.98 22.3943 10.6646 22.0816 10.3492 21.7689C8.68147 20.1156 7.01205 18.4607 5.70772 16.767C4.14683 14.7402 3 12.5262 3 10ZM12 8C10.8954 8 10 8.89543 10 10C10 11.1046 10.8954 12 12 12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8ZM8 10C8 7.79086 9.79086 6 12 6C14.2091 6 16 7.79086 16 10C16 12.2091 14.2091 14 12 14C9.79086 14 8 12.2091 8 10Z"}));function fe({provider:a}){const{control:t}=R(),{isPending:s,isError:r,data:n}=N({...w.stackDeploymentInfo({provider:a})});if(r)return null;if(s)return e.jsx(y,{className:"h-[40px] w-[100px]"});const l=Object.entries(n.locations);return e.jsx(T,{control:t,name:"region",render:({field:{onChange:i,ref:o,...h}})=>e.jsxs(F,{...h,onValueChange:i,children:[e.jsx(q,{className:"border border-neutral-300 text-left text-text-md",children:e.jsx(Q,{className:"flex items-center gap-2",placeholder:"Select your Location"})}),e.jsx($,{children:e.jsx(E,{viewportClassName:"max-h-[300px]",children:l.map(([x,u])=>e.jsxs(U,{value:u,children:[x," - ",e.jsx("span",{className:"text-theme-text-secondary",children:u})]},x))})})]})})}function De({provider:a}){return e.jsxs("div",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(ge,{className:"h-5 w-5 fill-primary-400"}),"Choose Your Location"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select where you want to deploy your cloud infrastructure for optimal performance and compliance."})]}),e.jsx(fe,{provider:a})]})}function Ze({provider:a}){const{watch:t}=R();return e.jsxs("div",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(L,{className:"h-5 w-5 fill-primary-400"}),"Review Your Stack Components"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"The following components will be created for your ZenML stack."})]}),e.jsx(me,{type:a,componentProps:{displayPermissions:!0,stackName:t("stackName")}}),e.jsx(v,{children:"These resources create a basic ZenML stack for ML workflow management. ZenML supports highly flexible stacks. You can build advanced stacks at any time, combining your preferred tools and components for more complex MLOps."})]})}export{oe as A,me as C,Z as D,Pe as E,ce as G,Re as N,De as R,Ze as a,Ee as b,A as u};
@@ -1 +1 @@
1
- import{j as e}from"./@radix-Cdvw4jJ8.js";import{h as a,a3 as l,B as i,r as d}from"./index-BFqbGSck.js";import{S as c}from"./check-B9QMTa3f.js";import{L as m}from"./@react-router-DeDfXbUF.js";function g({className:s,...r}){return e.jsx("div",{className:a("flex items-center overflow-hidden rounded-md border border-warning-100 bg-theme-surface-primary px-7 py-5",s),...r})}function j({className:s,...r}){return e.jsx("h2",{className:a("text-display-xs font-semibold",s),...r})}function w(){return e.jsxs("div",{className:"flex w-fit gap-2 rounded-md bg-[#FFF6EA] px-3 py-1",children:[e.jsx("p",{children:"Instantly access Pro features while keeping your existing setup"}),e.jsx(l,{color:"yellow",rounded:!0,size:"sm",className:"font-semibold uppercase",children:"New"})]})}function b({className:s,features:r,...t}){return e.jsx("ul",{...t,className:a("grid grid-cols-1 gap-x-7 gap-y-5 md:grid-cols-2"),children:r.map((n,o)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(u,{}),e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold",children:n.title}),e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:n.subtitle})]})]},o))})}function N(){return e.jsxs("div",{className:"flex w-fit flex-wrap gap-2",children:[e.jsx(i,{asChild:!0,className:"truncate bg-warning-600 hover:bg-warning-400 active:bg-warning-500 active:ring-warning-50",size:"md",children:e.jsx(m,{to:d.upgrade,children:"Try Pro Features"})}),e.jsx(i,{asChild:!0,intent:"secondary",className:"w-fit truncate",emphasis:"minimal",size:"md",children:e.jsx("a",{href:"https://www.zenml.io/pro",target:"_blank",rel:"noopener noreferrer",children:"Learn More"})})]})}function y({className:s,...r}){return e.jsx("img",{className:a("hidden w-full shrink-0 rounded-md border border-theme-border-moderate 2xl:block",s),...r})}function u(){return e.jsx("div",{className:"flex aspect-square h-5 w-5 shrink-0 items-center justify-center rounded-rounded bg-warning-400",children:e.jsx(c,{className:"h-3 w-3 shrink-0 fill-white"})})}export{g as P,u as T,j as a,w as b,b as c,N as d,y as e};
1
+ import{j as e}from"./@radix-Cdvw4jJ8.js";import{h as a,a3 as l,B as i,r as d}from"./index-BgEfQ3_G.js";import{S as c}from"./check-B9QMTa3f.js";import{L as m}from"./@react-router-DeDfXbUF.js";function g({className:s,...r}){return e.jsx("div",{className:a("flex items-center overflow-hidden rounded-md border border-warning-100 bg-theme-surface-primary px-7 py-5",s),...r})}function j({className:s,...r}){return e.jsx("h2",{className:a("text-display-xs font-semibold",s),...r})}function w(){return e.jsxs("div",{className:"flex w-fit gap-2 rounded-md bg-[#FFF6EA] px-3 py-1",children:[e.jsx("p",{children:"Instantly access Pro features while keeping your existing setup"}),e.jsx(l,{color:"yellow",rounded:!0,size:"sm",className:"font-semibold uppercase",children:"New"})]})}function b({className:s,features:r,...t}){return e.jsx("ul",{...t,className:a("grid grid-cols-1 gap-x-7 gap-y-5 md:grid-cols-2"),children:r.map((n,o)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(u,{}),e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold",children:n.title}),e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:n.subtitle})]})]},o))})}function N(){return e.jsxs("div",{className:"flex w-fit flex-wrap gap-2",children:[e.jsx(i,{asChild:!0,className:"truncate bg-warning-600 hover:bg-warning-400 active:bg-warning-500 active:ring-warning-50",size:"md",children:e.jsx(m,{to:d.upgrade,children:"Try Pro Features"})}),e.jsx(i,{asChild:!0,intent:"secondary",className:"w-fit truncate",emphasis:"minimal",size:"md",children:e.jsx("a",{href:"https://www.zenml.io/pro",target:"_blank",rel:"noopener noreferrer",children:"Learn More"})})]})}function y({className:s,...r}){return e.jsx("img",{className:a("hidden w-full shrink-0 rounded-md border border-theme-border-moderate 2xl:block",s),...r})}function u(){return e.jsx("div",{className:"flex aspect-square h-5 w-5 shrink-0 items-center justify-center rounded-rounded bg-warning-400",children:e.jsx(c,{className:"h-3 w-3 shrink-0 fill-white"})})}export{g as P,u as T,j as a,w as b,b as c,N as d,y as e};
@@ -1 +1 @@
1
- import{j as r}from"./@radix-Cdvw4jJ8.js";import{S as o,b as m,a as n}from"./gcp-B1I3Qvcx.js";import{h as t}from"./index-BFqbGSck.js";function x({provider:c,className:e,...s}){const a=t("w-5 h-5 shrink-0",e);switch(c){case"aws":return r.jsx(n,{...s,className:a});case"azure":return r.jsx(m,{...s,className:a});case"gcp":return r.jsx(o,{...s,className:a})}}export{x as C};
1
+ import{j as r}from"./@radix-Cdvw4jJ8.js";import{S as o,b as m,a as n}from"./gcp-B1I3Qvcx.js";import{h as t}from"./index-BgEfQ3_G.js";function x({provider:c,className:e,...s}){const a=t("w-5 h-5 shrink-0",e);switch(c){case"aws":return r.jsx(n,{...s,className:a});case"azure":return r.jsx(m,{...s,className:a});case"gcp":return r.jsx(o,{...s,className:a})}}export{x as C};
@@ -1 +1 @@
1
- import{r as l,j as e}from"./@radix-Cdvw4jJ8.js";import{h as i,a3 as d}from"./index-BFqbGSck.js";const m=l.forwardRef(({children:t,className:s,id:r,...a},o)=>e.jsxs("div",{className:"min-h-[160px] min-w-[160px]",children:[e.jsx("input",{id:r,...a,ref:o,className:i("peer sr-only",s),type:"radio"}),e.jsx("label",{htmlFor:r,className:"flex h-full w-full flex-col items-start justify-center space-y-5 rounded-md border border-theme-border-minimal bg-theme-surface-primary p-5 text-text-lg text-theme-text-secondary hover:cursor-pointer peer-checked:border-primary-100 peer-checked:bg-primary-25 peer-focus-visible:border-primary-100 peer-disabled:cursor-default peer-disabled:bg-neutral-50",children:t})]}));m.displayName="CloudProviderRadioButton";function p({icon:t,title:s,subtitle:r,comingSoon:a}){return e.jsxs("div",{className:"space-y-1 text-left",children:[t,e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"text-text-lg font-semibold text-theme-text-primary",children:s}),a&&e.jsx(d,{className:"font-semibold",color:"purple",size:"sm",children:"Coming Soon"})]}),e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:r})]})}export{m as C,p as P};
1
+ import{r as l,j as e}from"./@radix-Cdvw4jJ8.js";import{h as i,a3 as d}from"./index-BgEfQ3_G.js";const m=l.forwardRef(({children:t,className:s,id:r,...a},o)=>e.jsxs("div",{className:"min-h-[160px] min-w-[160px]",children:[e.jsx("input",{id:r,...a,ref:o,className:i("peer sr-only",s),type:"radio"}),e.jsx("label",{htmlFor:r,className:"flex h-full w-full flex-col items-start justify-center space-y-5 rounded-md border border-theme-border-minimal bg-theme-surface-primary p-5 text-text-lg text-theme-text-secondary hover:cursor-pointer peer-checked:border-primary-100 peer-checked:bg-primary-25 peer-focus-visible:border-primary-100 peer-disabled:cursor-default peer-disabled:bg-neutral-50",children:t})]}));m.displayName="CloudProviderRadioButton";function p({icon:t,title:s,subtitle:r,comingSoon:a}){return e.jsxs("div",{className:"space-y-1 text-left",children:[t,e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"text-text-lg font-semibold text-theme-text-primary",children:s}),a&&e.jsx(d,{className:"font-semibold",color:"purple",size:"sm",children:"Coming Soon"})]}),e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:r})]})}export{m as C,p as P};
@@ -0,0 +1 @@
1
+ import{j as t}from"./@radix-Cdvw4jJ8.js";import{S as j}from"./refresh-BcTM09NW.js";import{P as f}from"./Pagination-CWnEpSpN.js";import{S as v}from"./SearchField-BtUi6cYl.js";import{u as S}from"./all-pipeline-runs-query-DpKw9WL9.js";import{C as m,r as l,T as b,q as N,s as y,t as R,v as u,w as p,G as k,z as i,B as C,x as w,g as x}from"./index-BgEfQ3_G.js";import{R as P,u as T,a as F}from"./ButtonGroup-4sPZDv70.js";import{S as A}from"./terminal-XFL_4QN-.js";import{D}from"./DisplayDate-8RESqe5H.js";import{g as E,E as B}from"./ExecutionStatus-BuhNAE9w.js";import{L as c,f as I}from"./@react-router-DeDfXbUF.js";const _=[{id:"select",meta:{width:"1%"},header:({table:e})=>t.jsx(m,{id:"check-all",checked:e.getIsAllRowsSelected(),onCheckedChange:s=>e.toggleAllRowsSelected(s==="indeterminate"?!0:s)}),cell:({row:e})=>t.jsx(m,{id:`check-${e.id}`,checked:e.getIsSelected(),onCheckedChange:e.getToggleSelectedHandler()})},{id:"name",header:"Run",accessorFn:e=>{var s;return{id:e.id,name:e.name,status:(s=e.body)==null?void 0:s.status}},cell:({getValue:e})=>{const{name:s,status:a,id:r}=e();return t.jsxs("div",{className:"group/copybutton flex items-center gap-2",children:[t.jsx(A,{className:`h-5 w-5 ${E(a)}`}),t.jsxs("div",{children:[t.jsxs("div",{className:"flex items-center gap-1",children:[t.jsx(c,{to:l.projects.runs.detail(r),className:"flex items-center gap-1",children:t.jsx("span",{className:"text-text-md font-semibold text-theme-text-primary",children:s})}),t.jsx(b,{children:t.jsxs(N,{children:[t.jsx(y,{className:"hover:text-theme-text-brand hover:underline",children:t.jsx(B,{status:a})}),t.jsx(R,{className:"z-20 capitalize",children:a})]})}),t.jsx(u,{copyText:s})]}),t.jsxs(c,{to:l.projects.runs.detail(r),className:"flex items-center gap-1",children:[t.jsx("p",{className:"text-text-xs text-theme-text-secondary",children:r.split("-")[0]}),t.jsx(u,{copyText:r})]})]})]})}},{id:"pipeline",header:"Pipeline",accessorFn:e=>{var s,a;return(a=(s=e.body)==null?void 0:s.pipeline)==null?void 0:a.name},cell:({getValue:e})=>{const s=e();return s?t.jsx(c,{to:l.projects.pipelines.namespace(s),children:t.jsx(p,{color:"purple",className:"inline-flex items-center gap-0.5 truncate",rounded:!1,emphasis:"subtle",children:s})}):null}},{id:"stack",header:"Stack",accessorFn:e=>{var s,a,r,n;return{name:(a=(s=e.body)==null?void 0:s.stack)==null?void 0:a.name,id:(n=(r=e.body)==null?void 0:r.stack)==null?void 0:n.id}},cell:({getValue:e})=>{const{name:s,id:a}=e();return!s||!a?null:t.jsx(p,{rounded:!1,className:"inline-block",color:"turquoise",emphasis:"subtle",children:s})}},{id:"created-at",header:"Created at",accessorFn:e=>{var s;return{date:(s=e.body)==null?void 0:s.created}},cell:({getValue:e})=>{const{date:s}=e();return t.jsx(D,{dateString:s})}},{id:"author",header:"Author",accessorFn:e=>{var s,a;return{name:(a=(s=e.resources)==null?void 0:s.user)==null?void 0:a.name}},cell:({getValue:e})=>{const{name:s}=e();return s?t.jsx(k,{username:s}):null}},{id:"admin_actions",header:"",meta:{width:"5%"},cell:({row:e})=>t.jsx(P,{id:e.original.id})}],d=1,z=i.object({page:i.coerce.number().min(d).optional().default(d).catch(d),name:i.string().optional(),operator:i.enum(["and","or"]).optional(),status:i.enum(["pending","running","completed"]).optional()});function q(){const[e]=I(),{page:s,name:a,operator:r,status:n}=z.parse({page:e.get("page")||void 0,name:e.get("name")||void 0,operator:e.get("operator")||void 0,status:e.get("status")||void 0});return{page:s,name:a,logical_operator:r,status:n}}function W({fixedQueryParams:e={}}){const{selectedRowCount:s,rowSelection:a,setRowSelection:r}=T(),n=q(),{data:o,refetch:h}=S({params:{...n,sort_by:"desc:updated",...e}});return t.jsxs("div",{className:"flex flex-col gap-5 pt-5",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[s?t.jsx(F,{}):t.jsx(v,{searchParams:n}),t.jsx("div",{className:"flex justify-between",children:t.jsxs(C,{intent:"primary",emphasis:"subtle",size:"md",onClick:()=>h(),children:[t.jsx(j,{className:"h-5 w-5 fill-theme-text-brand"}),"Refresh"]})})]}),t.jsxs("div",{className:"flex flex-col items-center gap-5",children:[t.jsx("div",{className:"w-full",children:o?t.jsx(w,{rowSelection:a,onRowSelectionChange:r,columns:_,getRowId:g=>g.id,data:o.items}):t.jsx(x,{className:"h-[500px] w-full"})}),o?o.total_pages>1&&t.jsx(f,{searchParams:n,paginate:o}):t.jsx(x,{className:"h-[36px] w-[300px]"})]})]})}export{W as R};
@@ -0,0 +1 @@
1
+ import{r as s,j as c}from"./@radix-Cdvw4jJ8.js";import{o as S,I as g}from"./index-BgEfQ3_G.js";import{d as x}from"./index-DWpiv-Ft.js";import{c as C,f as v}from"./@react-router-DeDfXbUF.js";const w=t=>s.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18C12.8859 18 14.5977 17.2542 15.8564 16.0414C15.8827 16.0072 15.9115 15.9742 15.9429 15.9429C15.9742 15.9115 16.0072 15.8827 16.0414 15.8564C17.2542 14.5977 18 12.8859 18 11C18 7.13401 14.866 4 11 4ZM18.0319 16.6177C19.2635 15.078 20 13.125 20 11C20 6.02944 15.9706 2 11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20C13.125 20 15.078 19.2635 16.6177 18.0319L20.2929 21.7071C20.6834 22.0976 21.3166 22.0976 21.7071 21.7071C22.0976 21.3166 22.0976 20.6834 21.7071 20.2929L18.0319 16.6177Z"})),j=["equals:","contains:","startswith:","endswith:","gte:","gt:","lte:","lt:"];function E(t){const a=j.find(n=>t.startsWith(n));return a?t.slice(a.length):t}const N=s.forwardRef(({searchParams:t,searchContains:a=!0,inMemoryHandler:n,...i},l)=>{const u=C(),[m]=v(),[f,d]=s.useState(E(t.name||"")||""),o=s.useMemo(()=>x(p,500),[]);s.useEffect(()=>()=>{o.cancel()},[o]);function p(r){if(n){n(r);return}const e=new URLSearchParams({...Object.fromEntries(m),...S(t)});e.delete("logical_operator"),r?(e.set("name",a?`contains:${r}`:`${r}`),e.set("operator","or"),e.set("page","1")):(e.delete("name"),e.delete("operator")),u(`?${e.toString()}`,{preventScrollReset:!0,replace:!0})}function h(r){const{value:e}=r.target;d(e),o(e)}return c.jsxs("div",{className:"relative",children:[c.jsx(g,{className:"pl-[36px]",...i,ref:l,value:f,onChange:h,placeholder:"Search...",inputSize:"md"}),c.jsx("div",{className:"absolute inset-y-0 left-0 flex items-center pl-1",children:c.jsx(w,{className:"size-4 fill-neutral-400"})})]})});N.displayName="SearchField";export{N as S};
@@ -1 +1 @@
1
- import{j as e,r as K}from"./@radix-Cdvw4jJ8.js";import{S as $}from"./eye-CbVlAYty.js";import{S as z}from"./plus-Cl0_rCVF.js";import{S as Q}from"./trash-DP6Tpp_E.js";import{q as T,c as L,b as B,h as O}from"./@tanstack-5gTMR7G2.js";import{i as j,j as w,o as G,f as g,n as N,F as b,z as c,au as M,av as U,aw as H,a as J,I as f,B as h,az as R,aA as _,aB as W,T as X,q as Y,s as Z,t as I}from"./index-BFqbGSck.js";import{t as ee}from"./zod-XdS2h1ws.js";import{u as se,b as te,C as p}from"./index.esm-DhJo3mA6.js";import{C as ae}from"./CodeSnippet-D2HkkAGr.js";import{S as re}from"./info-QkbQz4QU.js";async function ie({params:t}){const i=j(w.secrets.all+"?"+G(t)),s=await g(i,{method:"GET",headers:{"Content-Type":"application/json"}});if(s.status===404&&N(),!s.ok){const l=await s.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Failed to fetch secrets");throw new b({status:s.status,statusText:s.statusText,message:l})}return s.json()}async function le(t){const i=j(w.secrets.detail(t)),s=await g(i,{method:"GET",headers:{"Content-Type":"application/json"}});if(s.status===404&&N(),!s.ok){const l=await s.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>`Failed to fetch secret ${t}`);throw new b({status:s.status,statusText:s.statusText,message:l})}return s.json()}const y={all:["secrets"],secretList:t=>T({queryKey:[...y.all,t],queryFn:async()=>ie({params:t})}),secretDetail:t=>T({queryKey:[...y.all,t],queryFn:async()=>le(t)})};async function ne(t,i){const s=j(w.secrets.detail(t)),l=await g(s,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(l.status===404&&N(),!l.ok)throw new b({message:"Error updating secret",status:l.status,statusText:l.statusText});return l.json()}function oe(t){return L({mutationFn:async({id:i,body:s})=>ne(i,s),...t})}const ce=c.object({secretName:c.string().min(1,"Secret Name is required"),keysValues:c.array(c.object({key:c.string().min(1,"Key is required"),value:c.string().min(1,"Value is required"),showPassword:c.boolean().optional()}))});function Ne({secretId:t,isSecretNameEditable:i,dialogTitle:s}){return e.jsxs(M,{className:"mx-auto w-[90vw] max-w-[744px]",children:[e.jsx(U,{children:e.jsx(H,{children:s})}),e.jsx(ue,{secretId:t,isSecretNameEditable:i})]})}function ue({secretId:t,isSecretNameEditable:i}){const{data:s,isLoading:l,isError:n}=B({...y.secretDetail(t)}),{handleSubmit:C,control:u,setValue:m,watch:v,formState:{isValid:V}}=se({resolver:ee(ce),defaultValues:{secretName:"",keysValues:[{key:"",value:""}]}}),{fields:x,append:q,remove:E}=te({control:u,name:"keysValues"});K.useEffect(()=>{var a;s&&(m("secretName",s.name),m("keysValues",Object.entries(((a=s.body)==null?void 0:a.values)||{}).map(([r,o])=>({key:r,value:String(o)}))))},[s,m]);const D=()=>{q({key:"",value:"",showPassword:!1})},{toast:S}=J(),k=O(),{mutate:F}=oe({onError(a){W(a)&&S({status:"error",emphasis:"subtle",description:a.message,rounded:!0})},onSuccess(){S({status:"success",emphasis:"subtle",description:"Secret updated successfull",rounded:!0}),k.invalidateQueries({queryKey:["secrets"]}),k.invalidateQueries({queryKey:["secretDetail",t]})}}),P=a=>{const r={name:a.secretName,values:a.keysValues.reduce((o,d)=>(d.key&&d.value&&(o[d.key]=d.value),o),{})};F({id:t,body:r})},A=a=>{const r=v(`keysValues.${a}.showPassword`);m(`keysValues.${a}.showPassword`,!r)};return l?e.jsx("p",{children:"Loading..."}):n?e.jsx("p",{children:"Error fetching secret details."}):e.jsxs(e.Fragment,{children:[e.jsx("form",{id:"edit-secret-form",className:"gap-5 p-5",onSubmit:C(P),children:e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("label",{className:"font-inter text-sm text-left font-medium leading-5",children:["Secret Name",e.jsx("span",{className:"ml-1 text-theme-text-error",children:"*"})]}),e.jsx(p,{name:"secretName",control:u,render:({field:a})=>e.jsx(f,{...a,className:"mb-3 w-full",required:!0,disabled:!i})})]}),e.jsxs("div",{className:"mt-10",children:[e.jsx("div",{children:e.jsx("h1",{className:"font-inter text-lg text-left font-semibold",children:"Keys"})}),e.jsxs("div",{className:"mt-5 flex flex-row",children:[e.jsx("div",{className:"flex-grow",children:e.jsx("label",{className:"font-inter text-sm text-left font-medium",children:"Key"})}),e.jsx("div",{className:"flex-grow pr-12",children:e.jsx("label",{className:"font-inter text-sm text-left font-medium",children:"Value"})})]})]}),x.map((a,r)=>e.jsxs("div",{className:"flex flex-row items-center space-x-1",children:[e.jsx("div",{className:"relative flex-grow",children:e.jsx(p,{name:`keysValues.${r}.key`,control:u,render:({field:o})=>e.jsx(f,{...o,className:"mb-2 w-full",required:!0,placeholder:"key"})})}),e.jsx("div",{className:"relative flex-grow",children:e.jsxs("div",{className:"relative",children:[e.jsx(p,{name:`keysValues.${r}.value`,control:u,render:({field:o})=>e.jsx(f,{...o,className:"mb-2 w-full pr-10",required:!0,placeholder:"•••••••••",type:v(`keysValues.${r}.showPassword`)?"text":"password"})}),e.jsx("button",{type:"button",onClick:()=>A(r),className:"absolute inset-y-1 right-0 flex items-center pb-1 pr-3",children:e.jsx($,{className:"h-4 w-4 flex-shrink-0"})})]})}),e.jsxs("div",{className:"flex items-center",children:[r===x.length-1&&e.jsx(h,{intent:"primary",emphasis:"subtle",onClick:D,className:"mb-2 flex h-7 w-7 items-center justify-center",children:e.jsx(z,{className:"flex-shrink-0 fill-primary-600"})}),r!==x.length-1&&e.jsx(h,{intent:"secondary",emphasis:"minimal",onClick:()=>E(r),className:"mb-2 h-7 w-7 items-center justify-center",children:e.jsx(Q,{className:"flex-shrink-0 fill-theme-text-secondary"})})]})]},a.id))]})}),e.jsxs(R,{className:"gap-[10px]",children:[e.jsx(_,{asChild:!0,children:e.jsx(h,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(h,{intent:"primary",type:"submit",form:"edit-secret-form",disabled:!V,children:"Save Secret"})]})]})}function be({code:t}){return e.jsx(X,{children:e.jsxs(Y,{children:[e.jsx(Z,{children:e.jsx(re,{className:"h-4 w-4 shrink-0 fill-theme-text-tertiary"})}),e.jsxs(I,{className:"z-50 flex max-w-[480px] flex-col gap-2 bg-theme-surface-primary p-5 text-text-sm text-theme-text-primary",children:[e.jsx("p",{className:"text-md text-theme-text-primary",children:"To use your secret in a step, you can use the following code:"}),e.jsx(ae,{highlightCode:!0,wrap:!0,codeClasses:"break-words",code:t}),e.jsx("a",{className:"link w-fit text-primary-400",target:"_blank",href:"https://docs.zenml.io/how-to/interact-with-secrets#accessing-registered-secrets",children:"Learn More"})]})]})})}export{Ne as E,be as S,y as a,ce as s,oe as u};
1
+ import{j as e,r as K}from"./@radix-Cdvw4jJ8.js";import{S as $}from"./eye-CbVlAYty.js";import{S as z}from"./plus-Cl0_rCVF.js";import{S as Q}from"./trash-DP6Tpp_E.js";import{q as T,c as L,b as B,h as O}from"./@tanstack-5gTMR7G2.js";import{i as j,j as w,o as G,f as g,n as N,F as b,z as c,au as M,av as U,aw as H,a as J,I as f,B as h,az as R,aA as _,aB as W,T as X,q as Y,s as Z,t as I}from"./index-BgEfQ3_G.js";import{t as ee}from"./zod-XdS2h1ws.js";import{u as se,b as te,C as p}from"./index.esm-DhJo3mA6.js";import{C as ae}from"./CodeSnippet-Ctplhzdc.js";import{S as re}from"./info-QkbQz4QU.js";async function ie({params:t}){const i=j(w.secrets.all+"?"+G(t)),s=await g(i,{method:"GET",headers:{"Content-Type":"application/json"}});if(s.status===404&&N(),!s.ok){const l=await s.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Failed to fetch secrets");throw new b({status:s.status,statusText:s.statusText,message:l})}return s.json()}async function le(t){const i=j(w.secrets.detail(t)),s=await g(i,{method:"GET",headers:{"Content-Type":"application/json"}});if(s.status===404&&N(),!s.ok){const l=await s.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>`Failed to fetch secret ${t}`);throw new b({status:s.status,statusText:s.statusText,message:l})}return s.json()}const y={all:["secrets"],secretList:t=>T({queryKey:[...y.all,t],queryFn:async()=>ie({params:t})}),secretDetail:t=>T({queryKey:[...y.all,t],queryFn:async()=>le(t)})};async function ne(t,i){const s=j(w.secrets.detail(t)),l=await g(s,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(l.status===404&&N(),!l.ok)throw new b({message:"Error updating secret",status:l.status,statusText:l.statusText});return l.json()}function oe(t){return L({mutationFn:async({id:i,body:s})=>ne(i,s),...t})}const ce=c.object({secretName:c.string().min(1,"Secret Name is required"),keysValues:c.array(c.object({key:c.string().min(1,"Key is required"),value:c.string().min(1,"Value is required"),showPassword:c.boolean().optional()}))});function Ne({secretId:t,isSecretNameEditable:i,dialogTitle:s}){return e.jsxs(M,{className:"mx-auto w-[90vw] max-w-[744px]",children:[e.jsx(U,{children:e.jsx(H,{children:s})}),e.jsx(ue,{secretId:t,isSecretNameEditable:i})]})}function ue({secretId:t,isSecretNameEditable:i}){const{data:s,isLoading:l,isError:n}=B({...y.secretDetail(t)}),{handleSubmit:C,control:u,setValue:m,watch:v,formState:{isValid:V}}=se({resolver:ee(ce),defaultValues:{secretName:"",keysValues:[{key:"",value:""}]}}),{fields:x,append:q,remove:E}=te({control:u,name:"keysValues"});K.useEffect(()=>{var a;s&&(m("secretName",s.name),m("keysValues",Object.entries(((a=s.body)==null?void 0:a.values)||{}).map(([r,o])=>({key:r,value:String(o)}))))},[s,m]);const D=()=>{q({key:"",value:"",showPassword:!1})},{toast:S}=J(),k=O(),{mutate:F}=oe({onError(a){W(a)&&S({status:"error",emphasis:"subtle",description:a.message,rounded:!0})},onSuccess(){S({status:"success",emphasis:"subtle",description:"Secret updated successfull",rounded:!0}),k.invalidateQueries({queryKey:["secrets"]}),k.invalidateQueries({queryKey:["secretDetail",t]})}}),P=a=>{const r={name:a.secretName,values:a.keysValues.reduce((o,d)=>(d.key&&d.value&&(o[d.key]=d.value),o),{})};F({id:t,body:r})},A=a=>{const r=v(`keysValues.${a}.showPassword`);m(`keysValues.${a}.showPassword`,!r)};return l?e.jsx("p",{children:"Loading..."}):n?e.jsx("p",{children:"Error fetching secret details."}):e.jsxs(e.Fragment,{children:[e.jsx("form",{id:"edit-secret-form",className:"gap-5 p-5",onSubmit:C(P),children:e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("label",{className:"font-inter text-sm text-left font-medium leading-5",children:["Secret Name",e.jsx("span",{className:"ml-1 text-theme-text-error",children:"*"})]}),e.jsx(p,{name:"secretName",control:u,render:({field:a})=>e.jsx(f,{...a,className:"mb-3 w-full",required:!0,disabled:!i})})]}),e.jsxs("div",{className:"mt-10",children:[e.jsx("div",{children:e.jsx("h1",{className:"font-inter text-lg text-left font-semibold",children:"Keys"})}),e.jsxs("div",{className:"mt-5 flex flex-row",children:[e.jsx("div",{className:"flex-grow",children:e.jsx("label",{className:"font-inter text-sm text-left font-medium",children:"Key"})}),e.jsx("div",{className:"flex-grow pr-12",children:e.jsx("label",{className:"font-inter text-sm text-left font-medium",children:"Value"})})]})]}),x.map((a,r)=>e.jsxs("div",{className:"flex flex-row items-center space-x-1",children:[e.jsx("div",{className:"relative flex-grow",children:e.jsx(p,{name:`keysValues.${r}.key`,control:u,render:({field:o})=>e.jsx(f,{...o,className:"mb-2 w-full",required:!0,placeholder:"key"})})}),e.jsx("div",{className:"relative flex-grow",children:e.jsxs("div",{className:"relative",children:[e.jsx(p,{name:`keysValues.${r}.value`,control:u,render:({field:o})=>e.jsx(f,{...o,className:"mb-2 w-full pr-10",required:!0,placeholder:"•••••••••",type:v(`keysValues.${r}.showPassword`)?"text":"password"})}),e.jsx("button",{type:"button",onClick:()=>A(r),className:"absolute inset-y-1 right-0 flex items-center pb-1 pr-3",children:e.jsx($,{className:"h-4 w-4 flex-shrink-0"})})]})}),e.jsxs("div",{className:"flex items-center",children:[r===x.length-1&&e.jsx(h,{intent:"primary",emphasis:"subtle",onClick:D,className:"mb-2 flex h-7 w-7 items-center justify-center",children:e.jsx(z,{className:"flex-shrink-0 fill-primary-600"})}),r!==x.length-1&&e.jsx(h,{intent:"secondary",emphasis:"minimal",onClick:()=>E(r),className:"mb-2 h-7 w-7 items-center justify-center",children:e.jsx(Q,{className:"flex-shrink-0 fill-theme-text-secondary"})})]})]},a.id))]})}),e.jsxs(R,{className:"gap-[10px]",children:[e.jsx(_,{asChild:!0,children:e.jsx(h,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(h,{intent:"primary",type:"submit",form:"edit-secret-form",disabled:!V,children:"Save Secret"})]})]})}function be({code:t}){return e.jsx(X,{children:e.jsxs(Y,{children:[e.jsx(Z,{children:e.jsx(re,{className:"h-4 w-4 shrink-0 fill-theme-text-tertiary"})}),e.jsxs(I,{className:"z-50 flex max-w-[480px] flex-col gap-2 bg-theme-surface-primary p-5 text-text-sm text-theme-text-primary",children:[e.jsx("p",{className:"text-md text-theme-text-primary",children:"To use your secret in a step, you can use the following code:"}),e.jsx(ae,{highlightCode:!0,wrap:!0,codeClasses:"break-words",code:t}),e.jsx("a",{className:"link w-fit text-primary-400",target:"_blank",href:"https://docs.zenml.io/how-to/interact-with-secrets#accessing-registered-secrets",children:"Learn More"})]})]})})}export{Ne as E,be as S,y as a,ce as s,oe as u};
@@ -1 +1 @@
1
- import{j as s}from"./@radix-Cdvw4jJ8.js";import{I as a,B as p}from"./index-BFqbGSck.js";import{u as w}from"./index.esm-DhJo3mA6.js";import{t as u}from"./zod-XdS2h1ws.js";import{P as h}from"./PasswordChecker-B88WjuCe.js";import{g as f}from"./form-schemas-CrznJVzA.js";function b({displayUsername:r=!1,submitHandler:l,headline:o="Create your password",subHeadine:c="Select a password for your account"}){var t;const{register:e,watch:m,handleSubmit:d,formState:{isValid:i,errors:n}}=w({resolver:u(f(r)),mode:"onChange",criteriaMode:"all",defaultValues:{username:""}}),x=(t=n.newPassword)==null?void 0:t.types;return s.jsxs("div",{className:"space-y-5",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-display-xs font-semibold",children:o}),s.jsx("p",{className:"text-theme-text-secondary",children:c})]}),s.jsxs("form",{onSubmit:d(l),className:"space-y-5",children:[s.jsx("div",{className:"space-y-2",children:r&&s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"Username"}),s.jsx(a,{...e("username"),className:"w-full"})]})}),s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"New Password"}),s.jsx(a,{...e("newPassword"),type:"password",className:"w-full"})]}),s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"Confirm Password"}),s.jsx(a,{...e("confirmPassword"),type:"password",className:"w-full"})]}),s.jsx(h,{val:m("newPassword"),errors:x||[]}),s.jsx(p,{disabled:!i,className:"w-full text-center",size:"md",children:s.jsx("span",{className:"w-full",children:"Continue"})})]})]})}export{b as S};
1
+ import{j as s}from"./@radix-Cdvw4jJ8.js";import{I as a,B as p}from"./index-BgEfQ3_G.js";import{u as w}from"./index.esm-DhJo3mA6.js";import{t as u}from"./zod-XdS2h1ws.js";import{P as h}from"./PasswordChecker-B88WjuCe.js";import{g as f}from"./form-schemas-dyDkAxXP.js";function b({displayUsername:r=!1,submitHandler:l,headline:o="Create your password",subHeadine:c="Select a password for your account"}){var t;const{register:e,watch:m,handleSubmit:d,formState:{isValid:i,errors:n}}=w({resolver:u(f(r)),mode:"onChange",criteriaMode:"all",defaultValues:{username:""}}),x=(t=n.newPassword)==null?void 0:t.types;return s.jsxs("div",{className:"space-y-5",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-display-xs font-semibold",children:o}),s.jsx("p",{className:"text-theme-text-secondary",children:c})]}),s.jsxs("form",{onSubmit:d(l),className:"space-y-5",children:[s.jsx("div",{className:"space-y-2",children:r&&s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"Username"}),s.jsx(a,{...e("username"),className:"w-full"})]})}),s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"New Password"}),s.jsx(a,{...e("newPassword"),type:"password",className:"w-full"})]}),s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"Confirm Password"}),s.jsx(a,{...e("confirmPassword"),type:"password",className:"w-full"})]}),s.jsx(h,{val:m("newPassword"),errors:x||[]}),s.jsx(p,{disabled:!i,className:"w-full text-center",size:"md",children:s.jsx("span",{className:"w-full",children:"Continue"})})]})]})}export{b as S};
@@ -1 +1 @@
1
- import{j as e}from"./@radix-Cdvw4jJ8.js";import{S as a}from"./chevron-right-double-Dgp_gEsp.js";import{h as n,bk as i,B as o}from"./index-BFqbGSck.js";function h({className:s,children:r,...t}){return e.jsxs("div",{className:n("flex h-9 items-center border-b border-theme-border-moderate bg-theme-surface-primary px-4 py-3",s),...t,children:[e.jsx(i,{asChild:!0,children:e.jsxs(o,{type:"button",className:"flex aspect-square items-center justify-center p-0",intent:"secondary",emphasis:"minimal",children:[e.jsx(a,{className:"h-5 w-5 fill-neutral-500"}),e.jsx("span",{className:"sr-only",children:"Close"})]})}),r]})}export{h as S};
1
+ import{j as e}from"./@radix-Cdvw4jJ8.js";import{S as a}from"./chevron-right-double-Dgp_gEsp.js";import{h as n,bk as i,B as o}from"./index-BgEfQ3_G.js";function h({className:s,children:r,...t}){return e.jsxs("div",{className:n("flex h-9 items-center border-b border-theme-border-moderate bg-theme-surface-primary px-4 py-3",s),...t,children:[e.jsx(i,{asChild:!0,children:e.jsxs(o,{type:"button",className:"flex aspect-square items-center justify-center p-0",intent:"secondary",emphasis:"minimal",children:[e.jsx(a,{className:"h-5 w-5 fill-neutral-500"}),e.jsx("span",{className:"sr-only",children:"Close"})]})}),r]})}export{h as S};