zenml-nightly 0.64.0.dev20240811__py3-none-any.whl → 0.66.0.dev20240910__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 (291) hide show
  1. README.md +1 -1
  2. RELEASE_NOTES.md +126 -4
  3. zenml/VERSION +1 -1
  4. zenml/artifacts/utils.py +13 -6
  5. zenml/cli/__init__.py +1 -1
  6. zenml/cli/base.py +4 -4
  7. zenml/cli/integration.py +48 -9
  8. zenml/cli/pipeline.py +9 -2
  9. zenml/cli/stack.py +39 -27
  10. zenml/cli/utils.py +13 -0
  11. zenml/client.py +15 -17
  12. zenml/config/compiler.py +34 -0
  13. zenml/config/server_config.py +30 -0
  14. zenml/config/source.py +3 -7
  15. zenml/constants.py +5 -3
  16. zenml/entrypoints/base_entrypoint_configuration.py +41 -27
  17. zenml/entrypoints/step_entrypoint_configuration.py +5 -2
  18. zenml/enums.py +2 -0
  19. zenml/environment.py +31 -0
  20. zenml/feature_stores/base_feature_store.py +4 -6
  21. zenml/integrations/__init__.py +3 -0
  22. zenml/integrations/airflow/flavors/airflow_orchestrator_flavor.py +9 -0
  23. zenml/integrations/aws/__init__.py +2 -2
  24. zenml/integrations/aws/orchestrators/sagemaker_orchestrator.py +2 -1
  25. zenml/integrations/azure/__init__.py +2 -2
  26. zenml/integrations/azure/azureml_utils.py +201 -0
  27. zenml/integrations/azure/flavors/azureml.py +139 -0
  28. zenml/integrations/azure/flavors/azureml_orchestrator_flavor.py +20 -118
  29. zenml/integrations/azure/flavors/azureml_step_operator_flavor.py +67 -14
  30. zenml/integrations/azure/orchestrators/azureml_orchestrator.py +58 -172
  31. zenml/integrations/azure/orchestrators/azureml_orchestrator_entrypoint_config.py +1 -0
  32. zenml/integrations/azure/service_connectors/azure_service_connector.py +4 -0
  33. zenml/integrations/azure/step_operators/azureml_step_operator.py +78 -177
  34. zenml/integrations/constants.py +3 -0
  35. zenml/integrations/databricks/__init__.py +22 -4
  36. zenml/integrations/databricks/flavors/databricks_orchestrator_flavor.py +9 -0
  37. zenml/integrations/deepchecks/__init__.py +29 -11
  38. zenml/integrations/deepchecks/materializers/deepchecks_dataset_materializer.py +3 -1
  39. zenml/integrations/deepchecks/validation_checks.py +0 -30
  40. zenml/integrations/evidently/__init__.py +17 -2
  41. zenml/integrations/facets/__init__.py +21 -5
  42. zenml/integrations/feast/__init__.py +19 -6
  43. zenml/integrations/gcp/__init__.py +2 -2
  44. zenml/integrations/gcp/flavors/vertex_orchestrator_flavor.py +9 -0
  45. zenml/integrations/gcp/orchestrators/vertex_orchestrator.py +10 -1
  46. zenml/integrations/great_expectations/__init__.py +21 -7
  47. zenml/integrations/huggingface/__init__.py +39 -15
  48. zenml/integrations/huggingface/materializers/__init__.py +3 -0
  49. zenml/integrations/huggingface/materializers/huggingface_datasets_materializer.py +3 -1
  50. zenml/integrations/huggingface/materializers/huggingface_pt_model_materializer.py +1 -1
  51. zenml/integrations/huggingface/materializers/huggingface_t5_materializer.py +107 -0
  52. zenml/integrations/huggingface/materializers/huggingface_tf_model_materializer.py +1 -1
  53. zenml/integrations/huggingface/materializers/huggingface_tokenizer_materializer.py +2 -2
  54. zenml/integrations/huggingface/steps/accelerate_runner.py +108 -85
  55. zenml/integrations/hyperai/flavors/hyperai_orchestrator_flavor.py +9 -0
  56. zenml/integrations/kubeflow/flavors/kubeflow_orchestrator_flavor.py +9 -0
  57. zenml/integrations/kubeflow/orchestrators/kubeflow_orchestrator.py +10 -1
  58. zenml/integrations/kubernetes/flavors/kubernetes_orchestrator_flavor.py +9 -0
  59. zenml/integrations/kubernetes/orchestrators/kubernetes_orchestrator.py +10 -1
  60. zenml/integrations/lightning/__init__.py +48 -0
  61. zenml/integrations/lightning/flavors/__init__.py +23 -0
  62. zenml/integrations/lightning/flavors/lightning_orchestrator_flavor.py +148 -0
  63. zenml/integrations/lightning/orchestrators/__init__.py +23 -0
  64. zenml/integrations/lightning/orchestrators/lightning_orchestrator.py +596 -0
  65. zenml/integrations/lightning/orchestrators/lightning_orchestrator_entrypoint.py +307 -0
  66. zenml/integrations/lightning/orchestrators/lightning_orchestrator_entrypoint_configuration.py +77 -0
  67. zenml/integrations/lightning/orchestrators/utils.py +67 -0
  68. zenml/integrations/mlflow/__init__.py +43 -5
  69. zenml/integrations/mlflow/services/mlflow_deployment.py +26 -0
  70. zenml/integrations/numpy/__init__.py +32 -0
  71. zenml/integrations/numpy/materializers/__init__.py +18 -0
  72. zenml/integrations/numpy/materializers/numpy_materializer.py +246 -0
  73. zenml/integrations/pandas/__init__.py +32 -0
  74. zenml/integrations/pandas/materializers/__init__.py +18 -0
  75. zenml/integrations/pandas/materializers/pandas_materializer.py +192 -0
  76. zenml/integrations/prodigy/annotators/prodigy_annotator.py +1 -1
  77. zenml/integrations/seldon/__init__.py +18 -3
  78. zenml/integrations/sklearn/__init__.py +1 -1
  79. zenml/integrations/skypilot_azure/__init__.py +1 -1
  80. zenml/integrations/tensorboard/__init__.py +1 -1
  81. zenml/integrations/tensorflow/__init__.py +2 -2
  82. zenml/integrations/tensorflow/materializers/tf_dataset_materializer.py +2 -2
  83. zenml/integrations/whylogs/__init__.py +18 -2
  84. zenml/logging/step_logging.py +9 -2
  85. zenml/materializers/__init__.py +0 -4
  86. zenml/materializers/base_materializer.py +4 -0
  87. zenml/materializers/numpy_materializer.py +23 -234
  88. zenml/materializers/pandas_materializer.py +22 -179
  89. zenml/model/model.py +91 -2
  90. zenml/model/utils.py +5 -5
  91. zenml/models/__init__.py +16 -3
  92. zenml/models/v2/core/model_version.py +1 -1
  93. zenml/models/v2/core/pipeline_run.py +31 -1
  94. zenml/models/v2/core/stack.py +51 -20
  95. zenml/models/v2/core/step_run.py +28 -0
  96. zenml/models/v2/misc/info_models.py +78 -0
  97. zenml/new/pipelines/pipeline.py +65 -25
  98. zenml/new/pipelines/run_utils.py +57 -136
  99. zenml/new/steps/step_context.py +17 -6
  100. zenml/orchestrators/base_orchestrator.py +9 -0
  101. zenml/orchestrators/step_launcher.py +37 -14
  102. zenml/orchestrators/step_runner.py +14 -13
  103. zenml/orchestrators/utils.py +107 -7
  104. zenml/service_connectors/service_connector_utils.py +2 -2
  105. zenml/stack/utils.py +11 -2
  106. zenml/stack_deployments/azure_stack_deployment.py +2 -1
  107. zenml/steps/base_step.py +62 -25
  108. zenml/steps/utils.py +115 -3
  109. zenml/utils/cloud_utils.py +8 -8
  110. zenml/utils/code_utils.py +130 -32
  111. zenml/utils/function_utils.py +7 -7
  112. zenml/utils/notebook_utils.py +14 -0
  113. zenml/utils/pipeline_docker_image_builder.py +1 -11
  114. zenml/utils/pydantic_utils.py +3 -3
  115. zenml/utils/secret_utils.py +2 -2
  116. zenml/utils/settings_utils.py +1 -1
  117. zenml/utils/source_utils.py +67 -21
  118. zenml/utils/string_utils.py +29 -0
  119. zenml/zen_server/dashboard/assets/{404-CRAA_Lew.js → 404-iO8vpun1.js} +1 -1
  120. zenml/zen_server/dashboard/assets/{@radix-BXWm7HOa.js → @radix-DnFH_oo1.js} +1 -1
  121. zenml/zen_server/dashboard/assets/{@react-router-l3lMcXA2.js → @react-router-APVeuk-U.js} +1 -1
  122. zenml/zen_server/dashboard/assets/{@reactflow-CeVxyqYT.js → @reactflow-B6kq9fJZ.js} +2 -2
  123. zenml/zen_server/dashboard/assets/{@tanstack-FmcYZMuX.js → @tanstack-QbMbTrh5.js} +1 -1
  124. zenml/zen_server/dashboard/assets/AlertDialogDropdownItem-BXeSvmMY.js +1 -0
  125. zenml/zen_server/dashboard/assets/{CodeSnippet-D0VLxT2A.js → CodeSnippet-DNWdQmbo.js} +2 -2
  126. zenml/zen_server/dashboard/assets/CollapsibleCard-B2OVjWYE.js +1 -0
  127. zenml/zen_server/dashboard/assets/Commands-DsoaVElZ.js +1 -0
  128. zenml/zen_server/dashboard/assets/CopyButton-BqE_-PHO.js +2 -0
  129. zenml/zen_server/dashboard/assets/{CsvVizualization-D3kAypDj.js → CsvVizualization-Dyasr2jU.js} +6 -6
  130. zenml/zen_server/dashboard/assets/{edit-C0MVvPD2.js → DialogItem-Cz1VLRwa.js} +1 -1
  131. zenml/zen_server/dashboard/assets/{DisplayDate-DizbSeT-.js → DisplayDate-DkCy54Bp.js} +1 -1
  132. zenml/zen_server/dashboard/assets/EditSecretDialog-Du423_3U.js +1 -0
  133. zenml/zen_server/dashboard/assets/{EmptyState-BHblM39I.js → EmptyState-Cs3DEmso.js} +1 -1
  134. zenml/zen_server/dashboard/assets/{Error-C6LeJSER.js → Error-DorJD_va.js} +1 -1
  135. zenml/zen_server/dashboard/assets/ExecutionStatus-CIfQTutR.js +1 -0
  136. zenml/zen_server/dashboard/assets/{Helpbox-aAB2XP-z.js → Helpbox-CmfvtNeq.js} +1 -1
  137. zenml/zen_server/dashboard/assets/Infobox-BL9NOS37.js +1 -0
  138. zenml/zen_server/dashboard/assets/{InlineAvatar-DpTLgM3Q.js → InlineAvatar-Ds2ZFHPc.js} +1 -1
  139. zenml/zen_server/dashboard/assets/{Lock-CNyJvf2r.js → Lock-CmIn0szs.js} +1 -1
  140. zenml/zen_server/dashboard/assets/{MarkdownVisualization-Bajxn0HY.js → MarkdownVisualization-DS05sfBm.js} +1 -1
  141. zenml/zen_server/dashboard/assets/{NumberBox-BmKE0qnO.js → NumberBox-CrN0_kqI.js} +1 -1
  142. zenml/zen_server/dashboard/assets/Partials-DX-8iEa1.js +1 -0
  143. zenml/zen_server/dashboard/assets/{PasswordChecker-yGGoJSB-.js → PasswordChecker-DE71J_3F.js} +1 -1
  144. zenml/zen_server/dashboard/assets/ProviderIcon-BOQJgapd.js +1 -0
  145. zenml/zen_server/dashboard/assets/ProviderRadio-BsYBw9YA.js +1 -0
  146. zenml/zen_server/dashboard/assets/SearchField-W3GXpLlI.js +1 -0
  147. zenml/zen_server/dashboard/assets/SetPassword-B-0a8UCj.js +1 -0
  148. zenml/zen_server/dashboard/assets/{Tick-uxv80Q6a.js → Tick-i1DYsVcX.js} +1 -1
  149. zenml/zen_server/dashboard/assets/{UpdatePasswordSchemas-oN4G3sKz.js → UpdatePasswordSchemas-C6Zb7ASL.js} +1 -1
  150. zenml/zen_server/dashboard/assets/UsageReason-CCnzmwS8.js +1 -0
  151. zenml/zen_server/dashboard/assets/WizardFooter-BHbO7zOa.js +1 -0
  152. zenml/zen_server/dashboard/assets/all-pipeline-runs-query-BBEe6I9-.js +1 -0
  153. zenml/zen_server/dashboard/assets/{check-circle-1_I207rW.js → check-circle-DOoS4yhF.js} +1 -1
  154. zenml/zen_server/dashboard/assets/{chevron-down-BpaF8JqM.js → chevron-down-Cwb-W_B_.js} +1 -1
  155. zenml/zen_server/dashboard/assets/{chevron-right-double-Dk8e2L99.js → chevron-right-double-c9H46Kl8.js} +1 -1
  156. zenml/zen_server/dashboard/assets/{cloud-only-BkUuI0lZ.js → cloud-only-BuP4Kt_7.js} +1 -1
  157. zenml/zen_server/dashboard/assets/code-browser-BJYErIjr.js +1 -0
  158. zenml/zen_server/dashboard/assets/codespaces-BitYDX9d.gif +0 -0
  159. zenml/zen_server/dashboard/assets/{copy-f3XGPPxt.js → copy-CaGlDsUy.js} +1 -1
  160. zenml/zen_server/dashboard/assets/create-stack-B2x2d4r1.js +1 -0
  161. zenml/zen_server/dashboard/assets/{docker-8uj__HHK.js → docker-BFAFXr2_.js} +1 -1
  162. zenml/zen_server/dashboard/assets/{dots-horizontal-sKQlWEni.js → dots-horizontal-C6K59vUm.js} +1 -1
  163. zenml/zen_server/dashboard/assets/flyte-Cj-xy_8I.svg +10 -0
  164. zenml/zen_server/dashboard/assets/form-schemas-Bap0f854.js +1 -0
  165. zenml/zen_server/dashboard/assets/gcp-Dj6ntk0L.js +1 -0
  166. zenml/zen_server/dashboard/assets/{help-FuHlZwn0.js → help-CwN931fX.js} +1 -1
  167. zenml/zen_server/dashboard/assets/{index-Bd1xgUQG.js → index-5GJ5ysEZ.js} +1 -1
  168. zenml/zen_server/dashboard/assets/{index-DaGknux4.css → index-6DYjZgDn.css} +1 -1
  169. zenml/zen_server/dashboard/assets/index-B9wVwe7u.js +55 -0
  170. zenml/zen_server/dashboard/assets/index-DFi8BroH.js +1 -0
  171. zenml/zen_server/dashboard/assets/{index.esm-DT4uyn2i.js → index.esm-BE1uqCX5.js} +1 -1
  172. zenml/zen_server/dashboard/assets/kubernetes-BjbR6D-1.js +1 -0
  173. zenml/zen_server/dashboard/assets/{layout-D6oiSbfd.js → layout-Dru15_XR.js} +1 -1
  174. zenml/zen_server/dashboard/assets/link-external-BT2L8hAQ.js +1 -0
  175. zenml/zen_server/dashboard/assets/{login-mutation-13A_JSVA.js → login-mutation-DwxUz8VA.js} +1 -1
  176. zenml/zen_server/dashboard/assets/{logs-CgeE2vZP.js → logs-GiDJXbLS.js} +1 -1
  177. zenml/zen_server/dashboard/assets/metaflow-weOkWNyT.svg +10 -0
  178. zenml/zen_server/dashboard/assets/{not-found-B0Mmb90p.js → not-found-D5i9DunU.js} +1 -1
  179. zenml/zen_server/dashboard/assets/{package-DdkziX79.js → package-DYKZ5jKW.js} +1 -1
  180. zenml/zen_server/dashboard/assets/page-BFuJICXM.js +9 -0
  181. zenml/zen_server/dashboard/assets/{page-BGwA9B1M.js → page-BiF8hLbO.js} +1 -1
  182. zenml/zen_server/dashboard/assets/{page-DugsjcQ_.js → page-BitfWsiW.js} +1 -1
  183. zenml/zen_server/dashboard/assets/page-CDOQLrPC.js +1 -0
  184. zenml/zen_server/dashboard/assets/page-CEJWu1YO.js +1 -0
  185. zenml/zen_server/dashboard/assets/page-CIbehp7V.js +1 -0
  186. zenml/zen_server/dashboard/assets/page-CLiRGfWo.js +1 -0
  187. zenml/zen_server/dashboard/assets/page-CV44mQn9.js +1 -0
  188. zenml/zen_server/dashboard/assets/page-CrSdkteO.js +2 -0
  189. zenml/zen_server/dashboard/assets/page-D5F3DJjm.js +1 -0
  190. zenml/zen_server/dashboard/assets/page-DE03uZZR.js +1 -0
  191. zenml/zen_server/dashboard/assets/page-DFCK65G9.js +1 -0
  192. zenml/zen_server/dashboard/assets/{page-RnG-qhv9.js → page-DGMa3ZQL.js} +1 -1
  193. zenml/zen_server/dashboard/assets/page-DI-qTWrm.js +1 -0
  194. zenml/zen_server/dashboard/assets/page-DQGCHKrQ.js +1 -0
  195. zenml/zen_server/dashboard/assets/{page-DSTQnBk-.js → page-DQdwZZ9x.js} +1 -1
  196. zenml/zen_server/dashboard/assets/page-DgM-N9RL.js +1 -0
  197. zenml/zen_server/dashboard/assets/page-Dt8VgzbE.js +1 -0
  198. zenml/zen_server/dashboard/assets/{page-DLpOnf7u.js → page-J0s8Sq3N.js} +1 -1
  199. zenml/zen_server/dashboard/assets/page-WCQ659by.js +1 -0
  200. zenml/zen_server/dashboard/assets/page-bimkItOg.js +1 -0
  201. zenml/zen_server/dashboard/assets/{page-hQaiQXfg.js → page-iwoJnwPv.js} +1 -1
  202. zenml/zen_server/dashboard/assets/{page-YiF_fNbe.js → page-oS4hqS8M.js} +1 -1
  203. zenml/zen_server/dashboard/assets/page-oSqx9dkH.js +1 -0
  204. zenml/zen_server/dashboard/assets/page-p3GqEAUW.js +1 -0
  205. zenml/zen_server/dashboard/assets/page-qvcUVPE-.js +1 -0
  206. zenml/zen_server/dashboard/assets/page-xQG6GmFJ.js +1 -0
  207. zenml/zen_server/dashboard/assets/{persist-3-5nOJ6m.js → persist-mEZN_fgH.js} +1 -1
  208. zenml/zen_server/dashboard/assets/persist-xsYgVtR1.js +1 -0
  209. zenml/zen_server/dashboard/assets/{plus-FB9-lEq_.js → plus-Bc8eLSDM.js} +1 -1
  210. zenml/zen_server/dashboard/assets/{refresh-COb6KYDi.js → refresh-hfgWPeto.js} +1 -1
  211. zenml/zen_server/dashboard/assets/rocket-SESCGQXm.js +1 -0
  212. zenml/zen_server/dashboard/assets/sharedSchema-BfZcy7aP.js +14 -0
  213. zenml/zen_server/dashboard/assets/stack-detail-query-CU4egfhp.js +1 -0
  214. zenml/zen_server/dashboard/assets/templates-1S_8WeSK.webp +0 -0
  215. zenml/zen_server/dashboard/assets/{trash-Cd5CSFqA.js → trash-DUWZWzse.js} +1 -1
  216. zenml/zen_server/dashboard/assets/{update-server-settings-mutation-B8GB_ubU.js → update-server-settings-mutation-DNqmQXDM.js} +1 -1
  217. zenml/zen_server/dashboard/assets/{url-hcMJkz8p.js → url-DwbuKk1b.js} +1 -1
  218. zenml/zen_server/dashboard/assets/{zod-CnykDKJj.js → zod-uFd1wBcd.js} +1 -1
  219. zenml/zen_server/dashboard/index.html +7 -7
  220. zenml/zen_server/dashboard_legacy/asset-manifest.json +4 -4
  221. zenml/zen_server/dashboard_legacy/index.html +1 -1
  222. zenml/zen_server/dashboard_legacy/{precache-manifest.9c473c96a43298343a7ce1256183123b.js → precache-manifest.290b95d5b43efa3368b3dc63d20c4782.js} +4 -4
  223. zenml/zen_server/dashboard_legacy/service-worker.js +1 -1
  224. zenml/zen_server/dashboard_legacy/static/js/{main.463c90b9.chunk.js → main.840d1bf0.chunk.js} +2 -2
  225. zenml/zen_server/dashboard_legacy/static/js/{main.463c90b9.chunk.js.map → main.840d1bf0.chunk.js.map} +1 -1
  226. zenml/zen_server/deploy/helm/Chart.yaml +1 -1
  227. zenml/zen_server/deploy/helm/README.md +2 -2
  228. zenml/zen_server/routers/service_connectors_endpoints.py +2 -4
  229. zenml/zen_server/routers/workspaces_endpoints.py +20 -66
  230. zenml/zen_server/secure_headers.py +120 -0
  231. zenml/zen_server/template_execution/runner_entrypoint_configuration.py +0 -2
  232. zenml/zen_server/template_execution/utils.py +1 -0
  233. zenml/zen_server/utils.py +0 -100
  234. zenml/zen_server/zen_server_api.py +4 -2
  235. zenml/zen_stores/migrations/versions/0.65.0_release.py +23 -0
  236. zenml/zen_stores/migrations/versions/0.66.0_release.py +23 -0
  237. zenml/zen_stores/migrations/versions/bf2120261b5a_add_configured_model_version_id.py +74 -0
  238. zenml/zen_stores/rest_zen_store.py +4 -21
  239. zenml/zen_stores/schemas/constants.py +16 -0
  240. zenml/zen_stores/schemas/model_schemas.py +9 -3
  241. zenml/zen_stores/schemas/pipeline_run_schemas.py +22 -8
  242. zenml/zen_stores/schemas/step_run_schemas.py +23 -12
  243. zenml/zen_stores/sql_zen_store.py +312 -300
  244. zenml/zen_stores/zen_store_interface.py +0 -16
  245. {zenml_nightly-0.64.0.dev20240811.dist-info → zenml_nightly-0.66.0.dev20240910.dist-info}/METADATA +10 -12
  246. {zenml_nightly-0.64.0.dev20240811.dist-info → zenml_nightly-0.66.0.dev20240910.dist-info}/RECORD +249 -217
  247. zenml/models/v2/misc/full_stack.py +0 -129
  248. zenml/new/pipelines/model_utils.py +0 -72
  249. zenml/zen_server/dashboard/assets/AlertDialogDropdownItem-ErO9aOgK.js +0 -1
  250. zenml/zen_server/dashboard/assets/AwarenessChannel-CLXo5rKM.js +0 -1
  251. zenml/zen_server/dashboard/assets/CollapsibleCard-BaUPiVg0.js +0 -1
  252. zenml/zen_server/dashboard/assets/Commands-JrcZK-3j.js +0 -1
  253. zenml/zen_server/dashboard/assets/CopyButton-Dbo52T1K.js +0 -2
  254. zenml/zen_server/dashboard/assets/EditSecretDialog-Bd7mFLS4.js +0 -1
  255. zenml/zen_server/dashboard/assets/ExecutionStatus-jH4OrWBq.js +0 -1
  256. zenml/zen_server/dashboard/assets/Infobox-BQ0aty32.js +0 -1
  257. zenml/zen_server/dashboard/assets/ProviderRadio-BBqkIuTd.js +0 -1
  258. zenml/zen_server/dashboard/assets/RadioItem-xLhXoiFV.js +0 -1
  259. zenml/zen_server/dashboard/assets/SearchField-C9R0mdaX.js +0 -1
  260. zenml/zen_server/dashboard/assets/SetPassword-52sNxNiO.js +0 -1
  261. zenml/zen_server/dashboard/assets/SuccessStep-DlkItqYG.js +0 -1
  262. zenml/zen_server/dashboard/assets/aws-0_3UsPif.js +0 -1
  263. zenml/zen_server/dashboard/assets/database-cXYNX9tt.js +0 -1
  264. zenml/zen_server/dashboard/assets/file-text-B9JibxTs.js +0 -1
  265. zenml/zen_server/dashboard/assets/index-DhIZtpxB.js +0 -55
  266. zenml/zen_server/dashboard/assets/page-7-v2OBm-.js +0 -1
  267. zenml/zen_server/dashboard/assets/page-B3ozwdD1.js +0 -1
  268. zenml/zen_server/dashboard/assets/page-BkjAUyTA.js +0 -1
  269. zenml/zen_server/dashboard/assets/page-BnacgBiy.js +0 -1
  270. zenml/zen_server/dashboard/assets/page-BxF_KMQ3.js +0 -2
  271. zenml/zen_server/dashboard/assets/page-C4POHC0K.js +0 -1
  272. zenml/zen_server/dashboard/assets/page-C9kudd44.js +0 -9
  273. zenml/zen_server/dashboard/assets/page-CA1j3GpJ.js +0 -1
  274. zenml/zen_server/dashboard/assets/page-CCY6yfmu.js +0 -1
  275. zenml/zen_server/dashboard/assets/page-CgTe7Bme.js +0 -1
  276. zenml/zen_server/dashboard/assets/page-Cgn-6v2Y.js +0 -1
  277. zenml/zen_server/dashboard/assets/page-CxQmQqDw.js +0 -1
  278. zenml/zen_server/dashboard/assets/page-D2Goey3H.js +0 -1
  279. zenml/zen_server/dashboard/assets/page-DTysUGOy.js +0 -1
  280. zenml/zen_server/dashboard/assets/page-D_EXUFJb.js +0 -1
  281. zenml/zen_server/dashboard/assets/page-Db15QzsM.js +0 -1
  282. zenml/zen_server/dashboard/assets/page-OFKSPyN7.js +0 -1
  283. zenml/zen_server/dashboard/assets/page-T2BtjwPl.js +0 -1
  284. zenml/zen_server/dashboard/assets/page-TXe1Eo3Z.js +0 -1
  285. zenml/zen_server/dashboard/assets/play-circle-XSkLR12B.js +0 -1
  286. zenml/zen_server/dashboard/assets/sharedSchema-BoYx_B_L.js +0 -14
  287. zenml/zen_server/dashboard/assets/stack-detail-query-B-US_-wa.js +0 -1
  288. zenml/zen_server/dashboard/assets/terminal-grtjrIEJ.js +0 -1
  289. {zenml_nightly-0.64.0.dev20240811.dist-info → zenml_nightly-0.66.0.dev20240910.dist-info}/LICENSE +0 -0
  290. {zenml_nightly-0.64.0.dev20240811.dist-info → zenml_nightly-0.66.0.dev20240910.dist-info}/WHEEL +0 -0
  291. {zenml_nightly-0.64.0.dev20240811.dist-info → zenml_nightly-0.66.0.dev20240910.dist-info}/entry_points.txt +0 -0
@@ -1,129 +0,0 @@
1
- # Copyright (c) ZenML GmbH 2024. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at:
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12
- # or implied. See the License for the specific language governing
13
- # permissions and limitations under the License.
14
- """Models representing full stack requests."""
15
-
16
- from typing import Any, Dict, List, Optional, Union
17
- from uuid import UUID
18
-
19
- from pydantic import BaseModel, Field, model_validator
20
-
21
- from zenml.constants import STR_FIELD_MAX_LENGTH
22
- from zenml.enums import StackComponentType
23
- from zenml.models.v2.base.base import BaseRequest
24
- from zenml.models.v2.core.component import ComponentResponse
25
-
26
-
27
- class ServiceConnectorInfo(BaseModel):
28
- """Information about the service connector when creating a full stack."""
29
-
30
- type: str
31
- auth_method: str
32
- configuration: Dict[str, Any] = {}
33
-
34
-
35
- class ComponentInfo(BaseModel):
36
- """Information about each stack components when creating a full stack."""
37
-
38
- flavor: str
39
- service_connector_index: Optional[int] = Field(
40
- default=None,
41
- title="The id of the service connector from the list "
42
- "`service_connectors`.",
43
- description="The id of the service connector from the list "
44
- "`service_connectors` from `FullStackRequest`.",
45
- )
46
- service_connector_resource_id: Optional[str] = None
47
- configuration: Dict[str, Any] = {}
48
-
49
-
50
- class FullStackRequest(BaseRequest):
51
- """Request model for a full-stack."""
52
-
53
- user: Optional[UUID] = None
54
- workspace: Optional[UUID] = None
55
-
56
- name: str = Field(
57
- title="The name of the stack.", max_length=STR_FIELD_MAX_LENGTH
58
- )
59
- description: Optional[str] = Field(
60
- default="",
61
- title="The description of the stack",
62
- max_length=STR_FIELD_MAX_LENGTH,
63
- )
64
- labels: Optional[Dict[str, Any]] = Field(
65
- default=None,
66
- title="The stack labels.",
67
- )
68
- service_connectors: List[Union[UUID, ServiceConnectorInfo]] = Field(
69
- default=[],
70
- title="The service connectors dictionary for the full stack "
71
- "registration.",
72
- description="The UUID of an already existing service connector or "
73
- "request information to create a service connector from "
74
- "scratch.",
75
- )
76
- components: Dict[StackComponentType, Union[UUID, ComponentInfo]] = Field(
77
- title="The mapping for the components of the full stack registration.",
78
- description="The mapping from component types to either UUIDs of "
79
- "existing components or request information for brand new "
80
- "components.",
81
- )
82
-
83
- @model_validator(mode="after")
84
- def _validate_indexes_in_components(self) -> "FullStackRequest":
85
- for component in self.components.values():
86
- if isinstance(component, ComponentInfo):
87
- if component.service_connector_index is not None:
88
- if (
89
- component.service_connector_index < 0
90
- or component.service_connector_index
91
- >= len(self.service_connectors)
92
- ):
93
- raise ValueError(
94
- f"Service connector index {component.service_connector_index} "
95
- "is out of range. Please provide a valid index referring to "
96
- "the position in the list of service connectors."
97
- )
98
- return self
99
-
100
-
101
- class ResourcesInfo(BaseModel):
102
- """Information about the resources needed for CLI and UI."""
103
-
104
- flavor: str
105
- flavor_display_name: str
106
- required_configuration: Dict[str, str] = {}
107
- use_resource_value_as_fixed_config: bool = False
108
-
109
- accessible_by_service_connector: List[str]
110
- connected_through_service_connector: List[ComponentResponse]
111
-
112
- @model_validator(mode="after")
113
- def _validate_resource_info(self) -> "ResourcesInfo":
114
- if (
115
- self.use_resource_value_as_fixed_config
116
- and len(self.required_configuration) > 1
117
- ):
118
- raise ValueError(
119
- "Cannot use resource value as fixed config if more than one required configuration key is provided."
120
- )
121
- return self
122
-
123
-
124
- class ServiceConnectorResourcesInfo(BaseModel):
125
- """Information about the service connector resources needed for CLI and UI."""
126
-
127
- connector_type: str
128
-
129
- components_resources_info: Dict[StackComponentType, List[ResourcesInfo]]
@@ -1,72 +0,0 @@
1
- # Copyright (c) ZenML GmbH 2023. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at:
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12
- # or implied. See the License for the specific language governing
13
- # permissions and limitations under the License.
14
- """Pipeline utilities to support Model Control Plane."""
15
-
16
- from typing import List, Optional
17
-
18
- from pydantic import BaseModel, PrivateAttr
19
-
20
- from zenml.model.model import Model
21
-
22
-
23
- class NewModelRequest(BaseModel):
24
- """Request to create a new version of a model."""
25
-
26
- class Requester(BaseModel):
27
- """Requester of a new version of a model."""
28
-
29
- source: str
30
- name: str
31
-
32
- def __repr__(self) -> str:
33
- """Return a string representation of the requester.
34
-
35
- Returns:
36
- A string representation of the requester.
37
- """
38
- return f"{self.source}::{self.name}"
39
-
40
- requesters: List[Requester] = []
41
- _model: Optional[Model] = PrivateAttr(default=None)
42
-
43
- @property
44
- def model(self) -> Model:
45
- """Model getter.
46
-
47
- Returns:
48
- The model.
49
-
50
- Raises:
51
- RuntimeError: If the model is not set.
52
- """
53
- if self._model is None:
54
- raise RuntimeError("Model is not set.")
55
- return self._model
56
-
57
- def update_request(
58
- self,
59
- model: Model,
60
- requester: "NewModelRequest.Requester",
61
- ) -> None:
62
- """Update from `Model` in place.
63
-
64
- Args:
65
- model: `Model` to use.
66
- requester: Requester of a new version of a model.
67
- """
68
- self.requesters.append(requester)
69
- if self._model is None:
70
- self._model = model
71
-
72
- self._model._merge(model)
@@ -1 +0,0 @@
1
- import{r as c,j as e}from"./@radix-BXWm7HOa.js";import{ay as m,az as g,at as d,aA as p}from"./index-DhIZtpxB.js";const h=c.forwardRef((r,o)=>{const{triggerChildren:a,children:i,onSelect:t,onOpenChange:l,icon:x,...s}=r;return e.jsxs(m,{onOpenChange:l,children:[e.jsx(g,{asChild:!0,children:e.jsx(d,{...s,className:"hover:cursor-pointer",icon:r.icon,ref:o,onSelect:n=>{n.preventDefault(),t&&t()},children:a})}),e.jsx(p,{children:i})]})});h.displayName="AlertDialogItem";export{h as A};
@@ -1 +0,0 @@
1
- import{r as l,j as e}from"./@radix-BXWm7HOa.js";import{t as v}from"./zod-CnykDKJj.js";import{I as w,aH as g,h as j,q as L,am as b,an as M,ao as V,ap as S,aq as H,aL as Z}from"./index-DhIZtpxB.js";import{u as y,C as N}from"./index.esm-DT4uyn2i.js";import{d as E,p as F,A as R}from"./SuccessStep-DlkItqYG.js";import{S as k,a as P}from"./file-text-B9JibxTs.js";import{S as B}from"./play-circle-XSkLR12B.js";function e1({email:s,fullName:a,submitHandler:i}){const c=l.useId(),r=l.useId(),o=l.useId(),{register:m,handleSubmit:d,control:C,watch:n,formState:{isValid:x}}=y({resolver:v(E),defaultValues:{fullName:a||"",getUpdates:!0,email:s||""}});return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"Add your account details"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Please, fill in your details to get started with ZenML."})]}),e.jsxs("form",{onSubmit:d(i),className:"space-y-5",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("label",{htmlFor:c,className:"text-text-sm",children:"Full Name (optional)"}),e.jsx(w,{...m("fullName"),id:c,className:"w-full"})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("label",{htmlFor:r,className:"text-text-sm",children:["Email ",!n("getUpdates")&&e.jsx(e.Fragment,{children:"(optional)"})]}),e.jsx(w,{placeholder:"example@company.inc",...m("email"),type:"email",id:r,className:"w-full"})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx(N,{control:C,name:"getUpdates",render:({field:{onChange:t,value:p}})=>e.jsx(g,{checked:p,onCheckedChange:h=>t(!!h),id:o})}),e.jsx("label",{htmlFor:o,className:"text-text-sm",children:"I want to receive news and recommendations about how to use ZenML"})]}),e.jsx(j,{disabled:!x,className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})}),e.jsxs("p",{className:"text-center text-theme-text-secondary",children:["By continuing you agree to the"," ",e.jsx("a",{className:"link text-theme-text-brand",href:"https://www.zenml.io/privacy-policy",rel:"noopener noreferrer",target:"_blank",children:"Privacy Policy"})]})]})]})}const U=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.16146 2H9.83854C10.3657 1.99998 10.8205 1.99997 11.195 2.03057C11.5904 2.06287 11.9836 2.13419 12.362 2.32698C12.9265 2.6146 13.3854 3.07354 13.673 3.63803C13.8658 4.01641 13.9371 4.40963 13.9694 4.80497C14 5.17955 14 5.63432 14 6.16148V10L17.8385 10C18.3657 9.99998 18.8205 9.99997 19.195 10.0306C19.5904 10.0629 19.9836 10.1342 20.362 10.327C20.9265 10.6146 21.3854 11.0735 21.673 11.638C21.8658 12.0164 21.9371 12.4096 21.9694 12.805C22 13.1795 22 13.6343 22 14.1614V20C22.5523 20 23 20.4477 23 21C23 21.5523 22.5523 22 22 22H2C1.44772 22 1 21.5523 1 21C1 20.4477 1.44772 20 2 20V6.16146C1.99998 5.63431 1.99997 5.17955 2.03057 4.80497C2.06287 4.40963 2.13419 4.01641 2.32698 3.63803C2.6146 3.07354 3.07354 2.6146 3.63803 2.32698C4.01641 2.13419 4.40963 2.06287 4.80497 2.03057C5.17954 1.99997 5.63431 1.99998 6.16146 2ZM4 20H12V6.2C12 5.62345 11.9992 5.25118 11.9761 4.96784C11.9539 4.69617 11.9162 4.59546 11.891 4.54601C11.7951 4.35785 11.6422 4.20487 11.454 4.109C11.4045 4.0838 11.3038 4.04612 11.0322 4.02393C10.7488 4.00078 10.3766 4 9.8 4H6.2C5.62345 4 5.25117 4.00078 4.96784 4.02393C4.69617 4.04612 4.59545 4.0838 4.54601 4.109C4.35785 4.20487 4.20487 4.35785 4.10899 4.54601C4.0838 4.59546 4.04612 4.69617 4.02393 4.96784C4.00078 5.25117 4 5.62345 4 6.2V20ZM14 12V20H20V14.2C20 13.6234 19.9992 13.2512 19.9761 12.9678C19.9539 12.6962 19.9162 12.5955 19.891 12.546C19.7951 12.3578 19.6422 12.2049 19.454 12.109C19.4045 12.0838 19.3038 12.0461 19.0322 12.0239C18.7488 12.0008 18.3766 12 17.8 12H14ZM5.5 7C5.5 6.44772 5.94772 6 6.5 6H9.5C10.0523 6 10.5 6.44772 10.5 7C10.5 7.55229 10.0523 8 9.5 8H6.5C5.94772 8 5.5 7.55229 5.5 7ZM5.5 11C5.5 10.4477 5.94772 10 6.5 10H9.5C10.0523 10 10.5 10.4477 10.5 11C10.5 11.5523 10.0523 12 9.5 12H6.5C5.94772 12 5.5 11.5523 5.5 11ZM5.5 15C5.5 14.4477 5.94772 14 6.5 14H9.5C10.0523 14 10.5 14.4477 10.5 15C10.5 15.5523 10.0523 16 9.5 16H6.5C5.94772 16 5.5 15.5523 5.5 15Z"})),_=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8026 4.52039L11.8026 4.52039L11.8026 4.52039ZM12 4.61798L19.7639 8.49994L19.5721 8.59583C19.5596 8.6018 19.5471 8.60803 19.5348 8.6145L17 9.88191L12.4472 7.60552C11.9532 7.35853 11.3526 7.55875 11.1056 8.05273C10.8586 8.54671 11.0588 9.14738 11.5528 9.39437L14.7639 10.9999L12 12.3819L4.4652 8.61451C4.4529 8.60803 4.44044 8.6018 4.42784 8.59583L4.23607 8.49994L12 4.61798ZM3 10.118L1.55279 9.39437C1.214 9.22498 1 8.87872 1 8.49994C1 8.12117 1.214 7.77491 1.55279 7.60552L11.195 2.7844C11.2024 2.7807 11.211 2.77633 11.2206 2.77143C11.3139 2.72382 11.507 2.62529 11.7234 2.58468C11.9062 2.55039 12.0938 2.55039 12.2766 2.58468C12.493 2.62529 12.6861 2.72382 12.7794 2.77143C12.789 2.77633 12.7976 2.7807 12.805 2.7844L22.4472 7.60552C22.786 7.77491 23 8.12117 23 8.49994C23 8.87872 22.786 9.22498 22.4472 9.39437L21 10.118V16.3066C21 16.332 21.0001 16.3582 21.0002 16.3851C21.0013 16.6707 21.0027 17.0296 20.884 17.3629C20.7814 17.6508 20.6142 17.9113 20.3952 18.1245C20.1417 18.3713 19.8149 18.5196 19.5548 18.6376C19.5303 18.6487 19.5065 18.6595 19.4833 18.6701L13.0833 21.6035C13.0667 21.6111 13.0496 21.619 13.0321 21.6271C12.8423 21.7147 12.6034 21.8251 12.3421 21.8704C12.1157 21.9097 11.8843 21.9097 11.6579 21.8704C11.3966 21.8251 11.1577 21.7147 10.9679 21.6271C10.9504 21.619 10.9333 21.6111 10.9167 21.6035L4.5167 18.6701L4.93335 17.7611L4.51669 18.6701C4.49354 18.6595 4.46967 18.6487 4.44522 18.6376C4.1851 18.5196 3.85826 18.3713 3.60476 18.1245C3.3858 17.9113 3.21862 17.6508 3.11604 17.3629C2.99727 17.0296 2.99867 16.6707 2.99979 16.3851C2.9999 16.3582 3 16.332 3 16.3066V10.118ZM5 11.118V16.3066C5 16.505 5.00047 16.6074 5.00521 16.6814C5.00536 16.6837 5.0055 16.6859 5.00565 16.688C5.00747 16.6889 5.00938 16.69 5.01138 16.6911C5.07675 16.7262 5.16965 16.7693 5.35001 16.852L11.75 19.7853C11.8813 19.8455 11.9473 19.8754 11.9962 19.895C11.9975 19.8955 11.9988 19.896 12 19.8965C12.0012 19.896 12.0025 19.8955 12.0038 19.895C12.0527 19.8754 12.1187 19.8455 12.25 19.7853L18.65 16.852C18.8304 16.7693 18.9233 16.7262 18.9886 16.6911C18.9906 16.69 18.9925 16.6889 18.9944 16.688C18.9945 16.6859 18.9946 16.6837 18.9948 16.6814C18.9995 16.6074 19 16.505 19 16.3066V11.118L18 11.618V14.4999C18 15.0522 17.5523 15.4999 17 15.4999C16.4477 15.4999 16 15.0522 16 14.4999V12.618L12.805 14.2155C12.7976 14.2192 12.789 14.2236 12.7794 14.2285C12.6861 14.2761 12.493 14.3746 12.2766 14.4152C12.0938 14.4495 11.9062 14.4495 11.7234 14.4152C11.507 14.3746 11.3139 14.2761 11.2206 14.2285C11.211 14.2236 11.2024 14.2192 11.195 14.2155L5 11.118ZM11.8026 12.4795C11.8024 12.4796 11.8024 12.4796 11.8026 12.4795L11.8026 12.4795ZM12.1974 12.4795C12.1976 12.4796 12.1976 12.4796 12.1974 12.4795L12.1974 12.4795ZM12.1974 4.52039L12.1974 4.52039L12.1974 4.52039Z"})),I=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C10.067 4 8.50002 5.567 8.50002 7.5C8.50002 9.433 10.067 11 12 11C13.933 11 15.5 9.433 15.5 7.5C15.5 5.567 13.933 4 12 4ZM6.50002 7.5C6.50002 4.46243 8.96246 2 12 2C15.0376 2 17.5 4.46243 17.5 7.5C17.5 10.5376 15.0376 13 12 13C8.96246 13 6.50002 10.5376 6.50002 7.5ZM9.32629 14.5C9.38335 14.5 9.44125 14.5 9.50003 14.5H14.5C14.5588 14.5 14.6167 14.5 14.6738 14.5C15.901 14.4995 16.739 14.4992 17.4514 14.7153C19.0495 15.2 20.3 16.4506 20.7847 18.0486C21.0008 18.761 21.0005 19.599 21.0001 20.8263C21 20.8833 21 20.9412 21 21C21 21.5523 20.5523 22 20 22C19.4477 22 19 21.5523 19 21C19 19.5317 18.9892 19.0192 18.8708 18.6291C18.58 17.6703 17.8297 16.92 16.8709 16.6292C16.4808 16.5108 15.9683 16.5 14.5 16.5H9.50003C8.03171 16.5 7.51923 16.5108 7.12917 16.6292C6.17036 16.92 5.42005 17.6703 5.1292 18.6291C5.01088 19.0192 5.00002 19.5317 5.00002 21C5.00002 21.5523 4.55231 22 4.00002 22C3.44774 22 3.00002 21.5523 3.00002 21C3.00002 20.9412 3 20.8833 2.99998 20.8263C2.99953 19.599 2.99922 18.761 3.21532 18.0486C3.70007 16.4506 4.95059 15.2 6.54859 14.7153C7.261 14.4992 8.09902 14.4995 9.32629 14.5Z"})),u=l.forwardRef(({children:s,className:a,id:i,...c},r)=>e.jsxs("div",{className:"min-h-[160px] min-w-[160px]",children:[e.jsx("input",{id:i,...c,ref:r,className:L("peer sr-only",a),type:"radio"}),e.jsx("label",{htmlFor:i,className:"flex h-full w-full flex-col items-center justify-center space-y-5 rounded-md border border-theme-border-minimal bg-theme-surface-primary p-5 text-text-lg text-theme-text-secondary hover:cursor-pointer peer-checked:border-primary-100 peer-checked:bg-primary-25 peer-focus-visible:border-primary-100",children:s})]}));u.displayName="UseRadioButton";const A=["0","1-5","6-25","26-99","100+"];function l1({submitHandler:s,user:a}){var m,d,C,n;const{control:i,handleSubmit:c,register:r,formState:{isValid:o}}=y({defaultValues:{primaryUse:(d=(m=a==null?void 0:a.metadata)==null?void 0:m.user_metadata)==null?void 0:d.primary_use,amountProductionModels:(n=(C=a==null?void 0:a.metadata)==null?void 0:C.user_metadata)==null?void 0:n.models_production},resolver:v(F)});return e.jsxs("div",{className:"space-y-5",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-display-xs font-semibold",children:"What will be your primary use for ZenML?"})}),e.jsxs("form",{onSubmit:c(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-[20px] md:grid-cols-3",children:[e.jsxs(u,{id:"use-personal",...r("primaryUse"),value:"personal",children:[e.jsx(I,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Personal"})]}),e.jsxs(u,{...r("primaryUse"),id:"use-work",value:"work",children:[e.jsx(U,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Work"})]}),e.jsxs(u,{...r("primaryUse"),id:"use-student",value:"student",children:[e.jsx(_,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Student"})]})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("label",{htmlFor:"amount-select",className:"font-semibold",children:"How many models do you have in production?"}),e.jsx(N,{name:"amountProductionModels",control:i,render:({field:{ref:x,onChange:t,...p}})=>e.jsxs(b,{...p,onValueChange:t,children:[e.jsx(M,{id:"amount-select",className:"w-full border border-neutral-300 bg-theme-surface-primary px-2 text-left text-text-md",children:e.jsx(V,{placeholder:"Select a range"})}),e.jsx(S,{className:"",children:A.map((h,f)=>e.jsx(H,{value:h,children:e.jsx("div",{className:"flex items-center gap-1",children:h})},f))})]})})]}),e.jsx(j,{disabled:!o,className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}const z=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"#0A66C2",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("path",{d:"M19.0409 18.8729H16.0776V14.2779C16.0776 13.1821 16.0578 11.7716 14.5363 11.7716C12.9929 11.7716 12.7567 12.9654 12.7567 14.1981V18.8726H9.79336V9.42332H12.6382V10.7147H12.678C12.9627 10.2327 13.3741 9.83617 13.8684 9.56738C14.3627 9.29859 14.9214 9.16757 15.4849 9.18828C18.4884 9.18828 19.0422 11.1444 19.0422 13.6892L19.0409 18.8729ZM6.44969 8.13167C6.10957 8.13173 5.77706 8.03192 5.49422 7.84487C5.21139 7.65782 4.99094 7.39193 4.86073 7.08081C4.73051 6.7697 4.69638 6.42734 4.76268 6.09703C4.82897 5.76672 4.99271 5.46329 5.23317 5.22511C5.47363 4.98694 5.78002 4.82471 6.11359 4.75895C6.44716 4.69319 6.79293 4.72685 7.10719 4.85567C7.42144 4.98449 7.69006 5.20269 7.87907 5.48267C8.06808 5.76265 8.16901 6.09184 8.16907 6.42861C8.16911 6.65222 8.12466 6.87365 8.03827 7.08025C7.95189 7.28685 7.82527 7.47458 7.66561 7.63273C7.50595 7.79087 7.31638 7.91633 7.10775 8.00193C6.89913 8.08754 6.67552 8.13163 6.44969 8.13167ZM7.93137 18.8729H4.96491V9.42332H7.93137V18.8729ZM20.5183 2.00135H3.47583C3.08901 1.99703 2.71626 2.14494 2.43953 2.41258C2.1628 2.68023 2.00472 3.04571 2 3.42871V20.3734C2.00456 20.7565 2.16255 21.1223 2.43927 21.3902C2.71599 21.6581 3.08882 21.8063 3.47583 21.8022H20.5183C20.9061 21.8071 21.28 21.6593 21.5578 21.3914C21.8356 21.1234 21.9946 20.7573 22 20.3734V3.42749C21.9945 3.04373 21.8353 2.67783 21.5575 2.41019C21.2797 2.14255 20.9059 1.99506 20.5183 2.00013"})),T=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("g",{clipPath:"url(#clip0_1732_1425)"},l.createElement("path",{d:"M17.743 3H20.7952L14.1285 10.6707L22 21.0723H15.8153L10.996 14.7671L5.45382 21.0723H2.40161L9.5502 12.8795L2 3H8.34538L12.7229 8.78313L17.743 3ZM16.6586 19.2249H18.3454L7.42169 4.72691H5.5743L16.6586 19.2249Z",fill:"#7A3EF4"})),l.createElement("defs",null,l.createElement("clipPath",{id:"clip0_1732_1425"},l.createElement("rect",{width:20,height:18.0723,fill:"white",transform:"translate(2 3)"})))),W=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("g",{clipPath:"url(#clip0_1732_1440)"},l.createElement("path",{d:"M22 2H2V22H22V2Z",fill:"#7A3EF4"}),l.createElement("path",{d:"M14.0344 6.71565C14.2078 7.45081 14.868 7.99846 15.6562 7.99846C16.5766 7.99846 17.3226 7.25237 17.3226 6.33206C17.3226 5.41174 16.5766 4.66565 15.6562 4.66565C14.8516 4.66565 14.1805 5.23596 14.0242 5.99456C12.6765 6.13909 11.6242 7.28206 11.6242 8.66721C11.6242 8.67034 11.6242 8.67268 11.6242 8.67581C10.1586 8.73752 8.8203 9.15471 7.7578 9.81331C7.36327 9.50784 6.86796 9.32581 6.33046 9.32581C5.04061 9.32581 3.9953 10.3711 3.9953 11.661C3.9953 12.5969 4.5453 13.4031 5.33983 13.7758C5.41718 16.4867 8.37108 18.6672 12.0047 18.6672C15.6383 18.6672 18.5961 16.4844 18.6695 13.7711C19.4578 13.3961 20.0031 12.5922 20.0031 11.6617C20.0031 10.3719 18.9578 9.32659 17.668 9.32659C17.1328 9.32659 16.6398 9.50706 16.2461 9.81018C15.1742 9.1469 13.8211 8.72971 12.3406 8.67424C12.3406 8.6719 12.3406 8.67034 12.3406 8.66799C12.3406 7.67581 13.0781 6.85237 14.0344 6.71721V6.71565ZM7.66405 13.143C7.70311 12.2961 8.26561 11.6461 8.91952 11.6461C9.57343 11.6461 10.0734 12.3328 10.0344 13.1797C9.9953 14.0266 9.50702 14.3344 8.85233 14.3344C8.19764 14.3344 7.62499 13.9899 7.66405 13.143ZM15.0906 11.6461C15.7453 11.6461 16.3078 12.2961 16.3461 13.143C16.3851 13.9899 15.8117 14.3344 15.1578 14.3344C14.5039 14.3344 14.0148 14.0274 13.9758 13.1797C13.9367 12.3328 14.4359 11.6461 15.0906 11.6461ZM14.3125 15.1024C14.4351 15.1149 14.5133 15.2422 14.4656 15.3563C14.0633 16.318 13.1133 16.9938 12.0047 16.9938C10.8961 16.9938 9.94686 16.318 9.54374 15.3563C9.49608 15.2422 9.57421 15.1149 9.69686 15.1024C10.4156 15.0297 11.193 14.9899 12.0047 14.9899C12.8164 14.9899 13.593 15.0297 14.3125 15.1024Z",fill:"white"})),l.createElement("defs",null,l.createElement("clipPath",{id:"clip0_1732_1440"},l.createElement("rect",{width:20,height:20,fill:"white",transform:"translate(2 2)"})))),q=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 4C7.84315 4 6.5 5.34315 6.5 7C6.5 8.65685 7.84315 10 9.5 10C11.1569 10 12.5 8.65685 12.5 7C12.5 5.34315 11.1569 4 9.5 4ZM4.5 7C4.5 4.23858 6.73858 2 9.5 2C12.2614 2 14.5 4.23858 14.5 7C14.5 9.76142 12.2614 12 9.5 12C6.73858 12 4.5 9.76142 4.5 7ZM14.5731 2.91554C14.7803 2.40361 15.3633 2.1566 15.8752 2.36382C17.7058 3.10481 19 4.90006 19 7C19 9.09994 17.7058 10.8952 15.8752 11.6362C15.3633 11.8434 14.7803 11.5964 14.5731 11.0845C14.3658 10.5725 14.6129 9.98953 15.1248 9.7823C16.2261 9.33652 17 8.25744 17 7C17 5.74256 16.2261 4.66348 15.1248 4.2177C14.6129 4.01047 14.3658 3.42748 14.5731 2.91554ZM7.96448 14H11.0355C11.9373 14 12.6647 14 13.2567 14.0404C13.8654 14.0819 14.4037 14.1695 14.9134 14.3806C16.1386 14.8881 17.1119 15.8614 17.6194 17.0866C17.8305 17.5963 17.9181 18.1346 17.9596 18.7433C18 19.3353 18 20.0627 18 20.9645V21C18 21.5523 17.5523 22 17 22C16.4477 22 16 21.5523 16 21C16 20.0544 15.9995 19.3953 15.9643 18.8794C15.9297 18.3725 15.865 18.0773 15.7716 17.8519C15.4672 17.1169 14.8831 16.5328 14.1481 16.2284C13.9227 16.135 13.6275 16.0703 13.1206 16.0357C12.6047 16.0005 11.9456 16 11 16H8C7.05444 16 6.39534 16.0005 5.87945 16.0357C5.37254 16.0703 5.07733 16.135 4.85195 16.2284C4.11687 16.5328 3.53284 17.1169 3.22836 17.8519C3.135 18.0773 3.07033 18.3725 3.03574 18.8794C3.00054 19.3953 3 20.0544 3 21C3 21.5523 2.55229 22 2 22C1.44772 22 1 21.5523 1 21L1 20.9645C0.999993 20.0627 0.999988 19.3353 1.04038 18.7433C1.08191 18.1346 1.16948 17.5963 1.3806 17.0866C1.88807 15.8614 2.86144 14.8881 4.08658 14.3806C4.59628 14.1695 5.13456 14.0819 5.74331 14.0404C6.33531 14 7.06272 14 7.96448 14ZM18.0316 14.8768C18.1692 14.3419 18.7144 14.0199 19.2493 14.1576C21.4056 14.7126 23 16.6688 23 19V21C23 21.5523 22.5523 22 22 22C21.4477 22 21 21.5523 21 21V19C21 17.6035 20.0449 16.4275 18.7507 16.0945C18.2159 15.9568 17.8939 15.4116 18.0316 14.8768Z"})),D=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18C12.8859 18 14.5977 17.2542 15.8564 16.0414C15.8827 16.0072 15.9115 15.9742 15.9429 15.9429C15.9742 15.9115 16.0072 15.8827 16.0414 15.8564C17.2542 14.5977 18 12.8859 18 11C18 7.13401 14.866 4 11 4ZM18.0319 16.6177C19.2635 15.078 20 13.125 20 11C20 6.02944 15.9706 2 11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20C13.125 20 15.078 19.2635 16.6177 18.0319L20.2929 21.7071C20.6834 22.0976 21.3166 22.0976 21.7071 21.7071C22.0976 21.3166 22.0976 20.6834 21.7071 20.2929L18.0319 16.6177Z"})),O=[{channel:"LinkedIn",icon:e.jsx(z,{className:"h-5 w-5 fill-primary-400"})},{channel:"X / Twitter",icon:e.jsx(T,{className:"h-5 w-5"})},{channel:"Newsletter",icon:e.jsx(k,{className:"h-5 w-5 fill-primary-400"})},{channel:"Webinar",icon:e.jsx(B,{className:"h-5 w-5 fill-primary-400"})},{channel:"Reddit",icon:e.jsx(W,{className:"h-5 w-5"})},{channel:"Conference",icon:e.jsx(Z,{className:"h-5 w-5 fill-primary-400"})},{channel:"Recommendation",icon:e.jsx(q,{className:"h-5 w-5 fill-primary-400"})},{channel:"Blog",icon:e.jsx(P,{className:"h-5 w-5 fill-primary-400"})},{channel:"Google / Search Engine",icon:e.jsx(D,{className:"h-5 w-5 fill-primary-400"})}];function s1({submitHandler:s}){const{register:a,setValue:i,watch:c,handleSubmit:r,unregister:o,control:m,formState:{isValid:d}}=y({resolver:v(R),defaultValues:{channels:[]}}),C=c("other");return l.useEffect(()=>{C?a("otherVal"):o("otherVal")},[a,o,C]),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"How did you hear about us?"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select all the applicable options"})]}),e.jsxs("form",{onSubmit:r(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid w-full grid-cols-1 gap-[20px] md:grid-cols-2 xl:min-w-[700px]",children:[e.jsx(N,{control:m,name:"channels",render:({field:{onChange:n,value:x}})=>e.jsx(e.Fragment,{children:O.map((t,p)=>e.jsxs("div",{className:"flex items-center gap-1 rounded-md bg-theme-surface-primary pl-3",children:[e.jsx(g,{onCheckedChange:h=>{n(h?[...x,t.channel]:x.filter(f=>f!==t.channel))},value:t.channel,className:"h-3 w-3",id:t.channel}),e.jsxs("label",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",htmlFor:t.channel,children:[t.icon,t.channel]})]},p))})}),e.jsxs("div",{className:"flex items-center rounded-md bg-theme-surface-primary pl-3",children:[e.jsx(g,{onCheckedChange:n=>i("other",!!n),...a("other",{value:!1}),className:"mr-2 h-3 w-3",id:"other"}),e.jsx("label",{className:"w-full py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",htmlFor:"other",children:"Other (specify)"})]}),C&&e.jsx(w,{inputSize:"lg",...a("otherVal"),placeholder:"Specify...",className:"w-full border-theme-border-minimal"})]}),e.jsx(j,{disabled:!d,type:"submit",className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}export{e1 as A,l1 as P,s1 as a};
@@ -1 +0,0 @@
1
- import{r as p,j as e}from"./@radix-BXWm7HOa.js";import{Q as m,R as c,U as d,V as x,q as b}from"./index-DhIZtpxB.js";import{S as f}from"./chevron-down-BpaF8JqM.js";function g({title:a,children:s,initialOpen:o=!1,className:l,contentClassName:t,intent:n="primary"}){const[r,i]=p.useState(o);return e.jsxs(m,{className:l,open:r,onOpenChange:i,children:[e.jsx(c,{intent:n,children:e.jsxs(d,{className:"flex w-full items-center gap-[10px]",children:[e.jsx(f,{className:` ${r?"":"-rotate-90"} h-5 w-5 rounded-md fill-neutral-500 transition-transform duration-200 hover:bg-neutral-200`}),a]})}),e.jsx(x,{className:b("space-y-3 border-t border-theme-border-moderate bg-theme-surface-primary px-5 py-3",t),children:s})]})}export{g as C};
@@ -1 +0,0 @@
1
- import{j as e}from"./@radix-BXWm7HOa.js";import{a0 as o,a1 as a,h as r,a2 as c,a4 as d,a7 as n,a8 as m}from"./index-DhIZtpxB.js";import{S as x}from"./play-circle-XSkLR12B.js";import{C as h}from"./CodeSnippet-D0VLxT2A.js";function f({videoLink:s,isButton:t=!0,buttonText:l,fallbackImage:i}){return e.jsxs(o,{children:[t?e.jsx(a,{asChild:!0,children:e.jsxs(r,{className:"mt-5 h-auto gap-1 px-2 py-1 sm:h-7",size:"md",children:[e.jsx(x,{className:"h-5 w-5 shrink-0 fill-white"}),l??e.jsx(e.Fragment,{children:"Watch the Quickstart Guide (3 min)"})]})}):e.jsx(a,{children:i}),e.jsxs(c,{className:"max-w-[1000px]",children:[e.jsx("div",{className:"flex items-center justify-between border-b border-theme-border-moderate py-2 pl-5 pr-3",children:e.jsx(d,{className:"text-text-lg",children:"Get Started"})}),e.jsx("div",{className:"",children:e.jsx("iframe",{className:"aspect-video w-full overflow-hidden",src:s,allowFullScreen:!0,allow:"fullscreen"})}),e.jsx(n,{children:e.jsx(m,{asChild:!0,children:e.jsx(r,{size:"md",children:"Close"})})})]})]})}function w(s){return e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:s.description}),e.jsx(h,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:s.command})]})}export{f as V,w as g};
@@ -1,2 +0,0 @@
1
- import{r as a,j as t}from"./@radix-BXWm7HOa.js";import{s as d,t as u,v as m,w as x}from"./index-DhIZtpxB.js";import{S as f}from"./copy-f3XGPPxt.js";function v({copyText:s,isVisible:o,copyTitle:n}){const r=a.useRef(null),[p,i]=a.useState(!1),l=o?n:"Copy to Clipboard",c=()=>{navigator.clipboard&&(navigator.clipboard.writeText(s),i(!0),setTimeout(()=>{i(!1)},2e3))};return t.jsx(d,{children:t.jsxs(u,{delayDuration:200,children:[t.jsxs(m,{className:`${o?"":"invisible opacity-0 group-hover/copybutton:opacity-100"} h-4 w-4 rounded-sm p-0.25 transition-all
2
- duration-200 hover:bg-theme-surface-primary active:bg-neutral-300 group-hover/copybutton:visible `,onClick:e=>{e.preventDefault(),c()},ref:r,children:[t.jsx("span",{className:"sr-only",children:"Copy to Clipboard"}),t.jsx(f,{className:`${o?"h-5 w-5":"h-3 w-3"} pointer-events-none fill-theme-text-tertiary`})]}),t.jsx(x,{onPointerDownOutside:e=>{e.currentTarget===r.current&&e.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:p?"Copied!":l})]})})}export{v as C};
@@ -1 +0,0 @@
1
- import{r as C,j as e}from"./@radix-BXWm7HOa.js";import{z as n,j as g,n as w,F as v,k as N,l as b,a0 as M,a2 as $,a3 as Q,a4 as Z,f as O,I as f,h as d,a7 as R,a8 as z,a9 as A}from"./index-DhIZtpxB.js";import{S as B}from"./trash-Cd5CSFqA.js";import{b as G,a as L,c as U}from"./@tanstack-FmcYZMuX.js";import{S as H}from"./plus-FB9-lEq_.js";import{u as J,a as W,C as p}from"./index.esm-DT4uyn2i.js";import{t as X}from"./zod-CnykDKJj.js";const Y=s=>C.createElement("svg",{viewBox:"0 0 20 14",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.29898 3.86908C4.04374 4.91672 3.16532 6.14781 2.72143 6.85066C2.69198 6.89729 2.67138 6.92996 2.65417 6.95831C2.64281 6.97702 2.63531 6.98996 2.63029 6.99898C2.63029 6.99932 2.63029 6.99966 2.63029 6.99999C2.63029 7.00033 2.63029 7.00067 2.63029 7.001C2.63531 7.01003 2.64281 7.02297 2.65417 7.04168C2.67138 7.07003 2.69198 7.1027 2.72143 7.14933C3.16532 7.85218 4.04374 9.08327 5.29898 10.1309C6.55226 11.1769 8.13098 12 10.0004 12C11.8699 12 13.4486 11.1769 14.7019 10.1309C15.9571 9.08327 16.8355 7.85218 17.2794 7.14933C17.3089 7.1027 17.3295 7.07003 17.3467 7.04168C17.358 7.02297 17.3655 7.01002 17.3705 7.001C17.3705 7.00067 17.3705 7.00033 17.3705 6.99999C17.3705 6.99966 17.3705 6.99932 17.3705 6.99899C17.3655 6.98997 17.358 6.97702 17.3467 6.95831C17.3295 6.92996 17.3089 6.89729 17.2794 6.85066C16.8355 6.14781 15.9571 4.91672 14.7019 3.86908C13.4486 2.82308 11.8699 1.99999 10.0004 1.99999C8.13097 1.99999 6.55226 2.82308 5.29898 3.86908ZM4.23104 2.58952C5.67154 1.38726 7.61569 0.333328 10.0004 0.333328C12.3851 0.333328 14.3293 1.38726 15.7698 2.58952C17.2083 3.79014 18.1946 5.17857 18.6886 5.9607C18.6951 5.97104 18.7018 5.98159 18.7086 5.99236C18.8067 6.14664 18.9339 6.34696 18.9983 6.62764C19.0502 6.85426 19.0502 7.14573 18.9983 7.37235C18.9339 7.65303 18.8067 7.85335 18.7086 8.00763C18.7018 8.01841 18.6951 8.02895 18.6886 8.03929C18.1946 8.82142 17.2083 10.2098 15.7698 11.4105C14.3293 12.6127 12.3851 13.6667 10.0004 13.6667C7.61569 13.6667 5.67154 12.6127 4.23104 11.4105C2.7925 10.2098 1.80622 8.82142 1.31227 8.03929C1.30574 8.02895 1.29904 8.01841 1.2922 8.00764C1.19418 7.85335 1.06692 7.65303 1.00258 7.37235C0.950637 7.14573 0.950637 6.85426 1.00258 6.62764C1.06692 6.34696 1.19418 6.14664 1.2922 5.99235C1.29904 5.98158 1.30574 5.97104 1.31227 5.9607C1.80622 5.17857 2.7925 3.79014 4.23104 2.58952ZM10.0004 5.33333C9.07994 5.33333 8.33375 6.07952 8.33375 6.99999C8.33375 7.92047 9.07994 8.66666 10.0004 8.66666C10.9209 8.66666 11.6671 7.92047 11.6671 6.99999C11.6671 6.07952 10.9209 5.33333 10.0004 5.33333ZM6.66708 6.99999C6.66708 5.15905 8.15947 3.66666 10.0004 3.66666C11.8414 3.66666 13.3338 5.15905 13.3338 6.99999C13.3338 8.84094 11.8414 10.3333 10.0004 10.3333C8.15947 10.3333 6.66708 8.84094 6.66708 6.99999Z"})),_=n.object({secretName:n.string().min(1,"Secret Name is required"),keysValues:n.array(n.object({key:n.string().min(1,"Key is required"),value:n.string().min(1,"Value is required"),showPassword:n.boolean().optional()}))});async function I(s,i){const t=N(b.secrets.detail(s)),l=await g(t,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(l.status===404&&w(),!l.ok)throw new v({message:"Error updating secret",status:l.status,statusText:l.statusText});return l.json()}function ee(s){return G({mutationFn:async({id:i,body:t})=>I(i,t),...s})}async function se(s){const i=N(b.secrets.detail(s)),t=await g(i,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&w(),!t.ok)throw new v({message:"Error fetching secret details",status:t.status,statusText:t.statusText});return t.json()}function te(s,i){return L({queryFn:()=>se(s),queryKey:["secretDetail",s],...i})}function ue({secretId:s,isOpen:i,onClose:t,isSecretNameEditable:l,dialogTitle:h}){return e.jsx(M,{open:i,onOpenChange:t,children:e.jsxs($,{className:"mx-auto w-[90vw] max-w-[744px]",children:[e.jsx(Q,{children:e.jsx(Z,{children:h})}),e.jsx(ae,{secretId:s,onClose:t,isSecretNameEditable:l})]})})}function ae({secretId:s,onClose:i,isSecretNameEditable:t}){const{data:l,isLoading:h,isError:k}=te(s),{handleSubmit:S,control:c,setValue:m,watch:y,formState:{isValid:V}}=J({resolver:X(_),defaultValues:{secretName:"",keysValues:[{key:"",value:""}]}}),{fields:x,append:E,remove:D}=W({control:c,name:"keysValues"});C.useEffect(()=>{l&&(m("secretName",l.name),m("keysValues",Object.entries(l.body.values||{}).map(([a,r])=>({key:a,value:String(r)}))))},[l,m]);const q=()=>{E({key:"",value:"",showPassword:!1})},{toast:F}=O(),j=U(),{mutate:P}=ee({onError(a){A(a)&&F({status:"error",emphasis:"subtle",description:a.message,rounded:!0})},onSuccess(){j.invalidateQueries({queryKey:["secrets"]}),j.invalidateQueries({queryKey:["secretDetail",s]}),i()}}),T=a=>{const r={name:a.secretName,scope:"workspace",values:a.keysValues.reduce((o,u)=>(u.key&&u.value&&(o[u.key]=u.value),o),{})};P({id:s,body:r})},K=a=>{const r=y(`keysValues.${a}.showPassword`);m(`keysValues.${a}.showPassword`,!r)};return h?e.jsx("p",{children:"Loading..."}):k?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:S(T),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:c,render:({field:a})=>e.jsx(f,{...a,className:"mb-3 w-full",required:!0,disabled:!t})})]}),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:c,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:c,render:({field:o})=>e.jsx(f,{...o,className:"mb-2 w-full pr-10",required:!0,placeholder:"•••••••••",type:y(`keysValues.${r}.showPassword`)?"text":"password"})}),e.jsx("div",{onClick:()=>K(r),className:"absolute inset-y-1 right-0 flex cursor-pointer items-center pb-1 pr-3",children:e.jsx(Y,{className:"h-4 w-4 flex-shrink-0 cursor-pointer"})})]})}),e.jsxs("div",{className:"flex items-center",children:[r===x.length-1&&e.jsx(d,{intent:"primary",emphasis:"subtle",onClick:q,className:"mb-2 flex h-7 w-7 items-center justify-center",children:e.jsx(H,{className:"flex-shrink-0 fill-primary-600"})}),r!==x.length-1&&e.jsx(d,{intent:"secondary",emphasis:"minimal",onClick:()=>D(r),className:"mb-2 h-7 w-7 items-center justify-center",children:e.jsx(B,{className:"flex-shrink-0 fill-theme-text-secondary"})})]})]},a.id))]})}),e.jsxs(R,{className:"gap-[10px]",children:[e.jsx(z,{asChild:!0,children:e.jsx(d,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(d,{intent:"primary",type:"submit",form:"edit-secret-form",disabled:!V,children:"Save Secret"})]})]})}export{ue as E,Y as S,ee as a,_ as s,te as u};
@@ -1 +0,0 @@
1
- import{r,j as t}from"./@radix-BXWm7HOa.js";import{q as c,i}from"./index-DhIZtpxB.js";import{S as a}from"./check-circle-1_I207rW.js";const C=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},r.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"})),s=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},r.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"})),u=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},r.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"}),r.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 o(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"}}function f(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"}}function p(e){if(!e)return"grey";switch(e){case"completed":return"green";case"failed":return"red";case"initializing":return"purple";case"cached":return"grey";case"running":return"yellow"}}function w({status:e,className:l}){if(!e)return null;const n=c("h-4 shrink-0 w-4",o(e),l);switch(e){case"completed":return t.jsx(a,{className:n});case"failed":return t.jsx(i,{className:n});case"initializing":return t.jsx(C,{className:n});case"cached":return t.jsx(s,{className:n});case"running":return t.jsx(u,{className:n})}}export{w as E,p as a,f as b,o as g};
@@ -1 +0,0 @@
1
- import{r as t,j as r}from"./@radix-BXWm7HOa.js";import{q as i,K as l,aJ as m}from"./index-DhIZtpxB.js";const o=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=m("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"}},defaultVariants:{intent:"primary"}});function f({children:e,className:n,intent:a,...s}){return r.jsxs("div",{...s,className:i(d({intent:a}),n),children:[r.jsx(c,{intent:a}),r.jsx("div",{className:"w-full min-w-0",children:e})]})}function c({intent:e}){switch(e){case"warning":return r.jsx(o,{className:"mr-4 h-5 w-5 shrink-0 fill-warning-700"});default:return r.jsx(l,{className:"mr-4 h-5 w-5 shrink-0 fill-theme-text-brand"})}}export{f as I};
@@ -1 +0,0 @@
1
- import{r as c,j as e}from"./@radix-BXWm7HOa.js";import{q as o,h as m,r as d,Z as x,I as u,E as p}from"./index-DhIZtpxB.js";import{T as h}from"./Tick-uxv80Q6a.js";import{c as f}from"./persist-3-5nOJ6m.js";import{b as j}from"./@react-router-l3lMcXA2.js";import{S as N,a as b,b as y}from"./aws-0_3UsPif.js";import{b as v}from"./index.esm-DT4uyn2i.js";const i=c.createContext(null);function E({children:t,initialStep:r=0,maxSteps:s}){const[a,n]=c.useState(r);return e.jsx(i.Provider,{value:{currentStep:a,setCurrentStep:n,maxSteps:s},children:t})}function l(){const t=c.useContext(i);if(t===null)throw new Error("useWizardContext must be used within a WizardProvider");return t}function R({entries:t}){return e.jsx("aside",{className:"whitespace-nowrap p-2 text-text-sm",children:e.jsx("ul",{className:"space-y-5",children:t.map((r,s)=>e.jsx("li",{children:e.jsx(g,{index:s,children:r})},s))})})}function g({index:t,children:r}){const{currentStep:s}=l(),a=o("font-semibold flex items-center gap-1",{"text-theme-text-tertiary":t<s,"text-theme-text-secondary":t>s});return e.jsxs("div",{className:a,children:[e.jsx(S,{index:t}),e.jsx("span",{children:r})]})}function S({index:t}){const{currentStep:r}=l(),s=t+1;if(r>t)return e.jsx(h,{className:"h-5 w-5",tickClasses:"w-3 h-3"});if(r===t)return e.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-rounded bg-primary-300 text-white",children:s});if(r<t)return e.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-rounded bg-neutral-300 text-white",children:s})}function L(){const t=j();function r(){f(),t(d.stacks.create.index)}return e.jsx(m,{onClick:()=>r(),intent:"secondary",size:"md",children:"Cancel"})}function A({provider:t,className:r,...s}){const a=o("w-5 h-5 shrink-0",r);switch(t){case"aws":return e.jsx(y,{...s,className:a});case"azure":return e.jsx(b,{...s,className:a});case"gcp":return e.jsx(N,{...s,className:a})}}function F(){var s;const{register:t,formState:{errors:r}}=v();return e.jsxs("section",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(x,{className:"h-5 w-5 fill-primary-400"}),"Select a name for your Stack"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Please select a name for your stack, that is not used already."})]}),e.jsx("div",{className:"flex items-center space-x-2",children:e.jsxs("div",{className:"space-y-1",children:[e.jsx(u,{className:`${r.stackName?"border-red-500":""}`,placeholder:"zenml-remote-stack",...t("stackName")}),r.stackName&&e.jsx("p",{className:"text-text-xs text-red-500",children:(s=r.stackName.message)==null?void 0:s.toString()})]})})]})}const w=c.forwardRef(({children:t,className:r,id:s,...a},n)=>e.jsxs("div",{className:"min-h-[160px] min-w-[160px]",children:[e.jsx("input",{id:s,...a,ref:n,className:o("peer sr-only",r),type:"radio"}),e.jsx("label",{htmlFor:s,className:"flex h-full w-full flex-col items-start justify-center space-y-5 rounded-md border border-theme-border-minimal bg-theme-surface-primary p-5 text-text-lg text-theme-text-secondary hover:cursor-pointer peer-checked:border-primary-100 peer-checked:bg-primary-25 peer-focus-visible:border-primary-100 peer-disabled:cursor-default peer-disabled:bg-neutral-50",children:t})]}));w.displayName="CloudProviderRadioButton";function M({icon:t,title:r,subtitle:s,comingSoon:a}){return e.jsxs("div",{className:"space-y-1 text-left",children:[t,e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"text-text-lg font-semibold text-theme-text-primary",children:r}),a&&e.jsx(p,{className:"font-semibold",color:"purple",size:"sm",children:"Coming Soon"})]}),e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:s})]})}export{A as C,R as L,M as P,F as S,E as W,w as a,L as b,l as u};
@@ -1 +0,0 @@
1
- import{r as a,j as t}from"./@radix-BXWm7HOa.js";import{q as s}from"./index-DhIZtpxB.js";const m=a.forwardRef(({className:e,...o},r)=>t.jsx("label",{ref:r,...o,className:s("flex w-full items-center gap-2 space-x-2 rounded-md border border-theme-border-moderate p-4 font-semibold transition-shadow duration-150 hover:cursor-pointer hover:shadow-sm data-[state=selected]:border-theme-surface-strong",e)}));m.displayName="RadioItemLabel";const i=a.forwardRef(({className:e,type:o,...r},d)=>t.jsx("input",{type:"radio",ref:d,...r,className:s("h-3 w-3 border !border-theme-border-bold text-theme-surface-primary focus:ring-2 focus:ring-theme-surface-strong",e)}));i.displayName="RadioItem";export{m as R,i as a};
@@ -1 +0,0 @@
1
- import{r as l,j as t}from"./@radix-BXWm7HOa.js";import{S as v}from"./dots-horizontal-sKQlWEni.js";import{F as w}from"./chevron-right-double-Dk8e2L99.js";import{ax as S,q as j,I as C}from"./index-DhIZtpxB.js";import{o as x}from"./url-hcMJkz8p.js";import{b,a as L}from"./@react-router-l3lMcXA2.js";import{d as E}from"./index-Bd1xgUQG.js";const P=r=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...r},l.createElement("g",{id:"chevron-left-double"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M11.7071 6.29289C12.0976 6.68342 12.0976 7.31658 11.7071 7.70711L7.41421 12L11.7071 16.2929C12.0976 16.6834 12.0976 17.3166 11.7071 17.7071C11.3166 18.0976 10.6834 18.0976 10.2929 17.7071L5.29289 12.7071C4.90237 12.3166 4.90237 11.6834 5.29289 11.2929L10.2929 6.29289C10.6834 5.90237 11.3166 5.90237 11.7071 6.29289ZM18.7071 6.29289C19.0976 6.68342 19.0976 7.31658 18.7071 7.70711L14.4142 12L18.7071 16.2929C19.0976 16.6834 19.0976 17.3166 18.7071 17.7071C18.3166 18.0976 17.6834 18.0976 17.2929 17.7071L12.2929 12.7071C11.9024 12.3166 11.9024 11.6834 12.2929 11.2929L17.2929 6.29289C17.6834 5.90237 18.3166 5.90237 18.7071 6.29289Z"}))),N=P,R=r=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...r},l.createElement("g",{id:"chevron-left"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M15.7071 5.29289C16.0976 5.68342 16.0976 6.31658 15.7071 6.70711L10.4142 12L15.7071 17.2929C16.0976 17.6834 16.0976 18.3166 15.7071 18.7071C15.3166 19.0976 14.6834 19.0976 14.2929 18.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L14.2929 5.29289C14.6834 4.90237 15.3166 4.90237 15.7071 5.29289Z"}))),y=R;function D({paginate:r,searchParams:i}){const d=b(),{index:a,total_pages:c}=r;function u(n){const o=new URLSearchParams(x(i));o.set("page",n.toString()),d(`?${o.toString()}`,{preventScrollReset:!1})}const g=()=>{const n=[];let h=!1,m=!1;for(let e=1;e<=c;e++){const s=e>1&&e<c&&Math.abs(e-a)>1;(e===1||e===c||s||Math.abs(e-a)<=1)&&(s?e<a&&!h?(n.push(t.jsx(f,{},"ellipsis-left")),h=!0):e>a&&!m&&(n.push(t.jsx(f,{},"ellipsis-right")),m=!0):n.push(t.jsx(p,{"aria-label":`Go to page ${e}`,"aria-current":e===a,className:`${e===a?"!bg-primary-500 text-theme-text-negative":""}`,onClick:()=>u(e),disabled:e===a,children:e},e)))}return n};return t.jsx("nav",{role:"navigation","aria-label":"Pagination Navigation",children:t.jsxs("ul",{className:"flex gap-1",children:[t.jsx("li",{children:t.jsx(p,{disabled:a===1,onClick:()=>u(1),"aria-label":"Go to first page",children:t.jsx(N,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),t.jsx("li",{children:t.jsx(p,{disabled:a===1,onClick:()=>u(a-1),"aria-label":"Go to previous page",children:t.jsx(y,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),g().map((n,o)=>t.jsx("li",{children:n},o)),t.jsx("li",{children:t.jsx(p,{disabled:a===c,onClick:()=>u(a+1),"aria-label":"Go to next page",children:t.jsx(S,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),t.jsx("li",{children:t.jsx(p,{disabled:a===c,onClick:()=>u(c),"aria-label":"Go to last page",children:t.jsx(w,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})})]})})}function f(){return t.jsx("div",{className:"flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-theme-border-moderate",children:t.jsx(v,{className:"h-4 w-4"})})}const p=l.forwardRef(({className:r,...i},d)=>t.jsx("button",{...i,ref:d,className:j("group/button flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-neutral-300 hover:bg-neutral-200 active:border-neutral-400 active:bg-neutral-300 disabled:pointer-events-none disabled:bg-theme-surface-primary ",r)}));p.displayName="PaginationButton";const k=["equals:","contains:","startswith:","endswith:","gte:","gt:","lte:","lt:"];function B(r){const i=k.find(d=>r.startsWith(d));return i?r.slice(i.length):r}const $=l.forwardRef(({searchParams:r,searchContains:i=!0,...d},a)=>{const{pathname:c}=L(),u=b(),[g,n]=l.useState(B(r.name||"")||""),o=l.useMemo(()=>E(h,500),[]);l.useEffect(()=>()=>{o.cancel()},[o]);function h(e){const s=new URLSearchParams(x(r));s.delete("logical_operator"),e?(s.set("name",i?`contains:${e}`:`${e}`),s.set("operator","or"),s.set("page","1")):(s.delete("name"),s.delete("operator")),u(`${c}?${s.toString()}`,{preventScrollReset:!0,replace:!0})}function m(e){const{value:s}=e.target;n(s),o(s)}return t.jsx(C,{...d,ref:a,value:g,onChange:m,placeholder:"Search...",inputSize:"md"})});$.displayName="SearchField";export{D as P,$ as S};
@@ -1 +0,0 @@
1
- import{j as s}from"./@radix-BXWm7HOa.js";import{I as a,h as p}from"./index-DhIZtpxB.js";import{u as w}from"./index.esm-DT4uyn2i.js";import{t as h}from"./zod-CnykDKJj.js";import{P as u}from"./PasswordChecker-yGGoJSB-.js";import{g as f}from"./SuccessStep-DlkItqYG.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:h(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(u,{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 +0,0 @@
1
- import{r as n,j as s}from"./@radix-BXWm7HOa.js";import{z as r,B as u,h as p,r as d}from"./index-DhIZtpxB.js";import{a as h}from"./UpdatePasswordSchemas-oN4G3sKz.js";import{S as x}from"./check-circle-1_I207rW.js";import{u as f}from"./url-hcMJkz8p.js";import{c as g,L as S}from"./@react-router-l3lMcXA2.js";const l=n.createContext(null);function B({children:e,initialStep:t=1}){const[o,a]=n.useState(t);return s.jsx(l.Provider,{value:{surveyStep:o,setSurveyStep:a},children:e})}function w(){const e=n.useContext(l);if(e===null)throw new Error("useSurveyContext must be used within an SurveyProvider");return e}function E({stepAmount:e}){const{surveyStep:t}=w();return t>e?null:s.jsx("ol",{className:"flex flex-wrap justify-center gap-1 pb-5","aria-label":"progress",children:Array.from({length:e},(o,a)=>s.jsx("li",{"aria-current":t===a+1?"step":void 0,className:`h-0.5 w-[90px] rounded-rounded ${t===a+1?"bg-primary-100":t>a?"bg-primary-300":"bg-neutral-200"}`},a))})}const F=r.object({fullName:r.union([r.string(),r.literal("")]),email:r.union([r.string().email(),r.literal("")]),getUpdates:r.boolean()}).refine(e=>e.getUpdates?e.email!=="":!0),R=r.object({primaryUse:r.string().min(1),amountProductionModels:r.string().min(1)}),U=r.object({channels:r.string().array(),other:r.boolean(),otherVal:r.string().optional()}).refine(e=>e.other?e.otherVal!=="":e.channels.length>0),k=r.object({serverName:r.string().optional()});function y(e=!1){return h.extend({username:r.string()}).refine(t=>t.newPassword===t.confirmPassword,{path:["confirmPassword"],message:"Passwords do not match"}).refine(t=>e?t.username.length>0:!0)}y();const v=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2929 4.29289C11.6834 3.90237 12.3166 3.90237 12.7071 4.29289L19.7071 11.2929C20.0976 11.6834 20.0976 12.3166 19.7071 12.7071L12.7071 19.7071C12.3166 20.0976 11.6834 20.0976 11.2929 19.7071C10.9024 19.3166 10.9024 18.6834 11.2929 18.2929L16.5858 13H5C4.44772 13 4 12.5523 4 12C4 11.4477 4.44772 11 5 11H16.5858L11.2929 5.70711C10.9024 5.31658 10.9024 4.68342 11.2929 4.29289Z"}));function z({username:e,subHeader:t,displayBody:o=!0}){const[a]=g(),i=a.get("redirect"),m=i&&`${window.location.origin}${i}`,c=f.safeParse(m);return s.jsxs(u,{className:"flex max-w-[540px] flex-col items-center justify-center space-y-7 px-7 py-9",children:[s.jsx(x,{className:"h-[120px] w-[120px] fill-theme-text-success"}),s.jsxs("div",{className:"space-y-3 text-center",children:[s.jsxs("p",{className:"text-display-xs font-semibold",children:["Congratulations!",s.jsx("br",{}),t]}),o&&s.jsxs("p",{className:"text-theme-text-secondary",children:["You can log in to the dashboard with your username"," ",s.jsx("span",{className:"font-semibold text-theme-text-primary",children:e})," and your password to start exploring!"]}),s.jsx(p,{className:"inline-flex",size:"md",intent:"primary",asChild:!0,children:s.jsxs(S,{to:c.success?c.data:d.home,children:[s.jsx("span",{children:"Go to Dashboard"}),s.jsx(v,{className:"h-5 w-5 fill-white"})]})})]})]})}export{U as A,E as S,z as a,B as b,k as c,F as d,y as g,R as p,w as u};
@@ -1 +0,0 @@
1
- import{r as C}from"./@radix-BXWm7HOa.js";const l=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M8.72249 2.00023H14.6895L8.49515 20.3535C8.43149 20.5421 8.31028 20.706 8.1486 20.8221C7.98691 20.9382 7.79289 21.0006 7.59384 21.0007H2.95001C2.79919 21.0007 2.65054 20.9648 2.51635 20.896C2.38217 20.8271 2.2663 20.7273 2.17833 20.6048C2.09036 20.4823 2.03283 20.3406 2.01048 20.1915C1.98814 20.0424 2.00163 19.89 2.04984 19.7471L7.82094 2.6474C7.88458 2.45872 8.00581 2.29477 8.16754 2.17863C8.32928 2.06249 8.52337 2.00024 8.72249 2.00023Z",fill:"url(#paint0_linear_326_3226)"}),C.createElement("path",{d:"M17.3935 14.3104H7.93122C7.84325 14.3103 7.75729 14.3367 7.68454 14.3862C7.61178 14.4356 7.55561 14.5059 7.52334 14.5877C7.49106 14.6695 7.48418 14.7592 7.50359 14.845C7.523 14.9308 7.5678 15.0088 7.63216 15.0687L13.7124 20.7438C13.8894 20.909 14.1225 21.0008 14.3646 21.0007H19.7225L17.3935 14.3104Z",fill:"#0078D4"}),C.createElement("path",{d:"M8.72249 2.00025C8.5212 1.99948 8.32494 2.06309 8.16237 2.18179C7.99981 2.30049 7.87945 2.46806 7.81889 2.66002L2.05695 19.7316C2.0055 19.875 1.98935 20.0287 2.00986 20.1797C2.03037 20.3306 2.08694 20.4745 2.1748 20.599C2.26265 20.7235 2.37919 20.825 2.51456 20.8949C2.64994 20.9648 2.80017 21.0011 2.95253 21.0007H7.71622C7.89364 20.969 8.05947 20.8908 8.19676 20.774C8.33406 20.6572 8.4379 20.5061 8.49768 20.3361L9.64672 16.9497L13.7511 20.7779C13.9231 20.9202 14.1389 20.9989 14.3621 21.0007H19.7L17.3589 14.3104L10.5341 14.312L14.7111 2.00025H8.72249Z",fill:"url(#paint1_linear_326_3226)"}),C.createElement("path",{d:"M16.3439 2.64649C16.2804 2.45813 16.1593 2.29444 15.9978 2.17851C15.8364 2.06257 15.6426 2.00022 15.4438 2.00024H8.79358C8.99237 2.00026 9.18615 2.06262 9.34763 2.17855C9.50911 2.29448 9.63017 2.45815 9.69375 2.64649L15.4651 19.7469C15.5133 19.8898 15.5268 20.0422 15.5045 20.1914C15.4822 20.3406 15.4247 20.4823 15.3367 20.6048C15.2487 20.7274 15.1329 20.8272 14.9987 20.8961C14.8644 20.965 14.7158 21.0009 14.5649 21.0009H21.2153C21.3662 21.0009 21.5148 20.9649 21.649 20.896C21.7832 20.8271 21.899 20.7273 21.987 20.6048C22.0749 20.4822 22.1324 20.3405 22.1547 20.1913C22.177 20.0422 22.1635 19.8898 22.1153 19.7469L16.3439 2.64649Z",fill:"url(#paint2_linear_326_3226)"}),C.createElement("defs",null,C.createElement("linearGradient",{id:"paint0_linear_326_3226",x1:10.8973,y1:3.40823,x2:4.70038,y2:21.7154,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#114A8B"}),C.createElement("stop",{offset:1,stopColor:"#0669BC"})),C.createElement("linearGradient",{id:"paint1_linear_326_3226",x1:12.8331,y1:11.9399,x2:11.3996,y2:12.4246,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopOpacity:.3}),C.createElement("stop",{offset:.071,stopOpacity:.2}),C.createElement("stop",{offset:.321,stopOpacity:.1}),C.createElement("stop",{offset:.623,stopOpacity:.05}),C.createElement("stop",{offset:1,stopOpacity:0})),C.createElement("linearGradient",{id:"paint2_linear_326_3226",x1:12.0448,y1:2.87429,x2:18.8471,y2:20.997,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#3CCBF4"}),C.createElement("stop",{offset:1,stopColor:"#2892DF"})))),a=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M14.96 7.87666H15.631L17.5433 5.96383L17.6373 5.15171C16.5417 4.18453 15.2178 3.51266 13.7905 3.19958C12.3632 2.88649 10.8797 2.94252 9.48005 3.36238C8.08042 3.78224 6.81091 4.55206 5.79143 5.59912C4.77195 6.64619 4.03616 7.93593 3.65356 9.34652C3.86661 9.25917 4.10261 9.24501 4.32457 9.30624L8.14928 8.67535C8.14928 8.67535 8.34387 8.35319 8.44452 8.37332C9.26404 7.47306 10.3966 6.92017 11.6103 6.82784C12.8241 6.73551 14.0272 7.11072 14.9734 7.87666H14.96Z",fill:"#EA4335"}),C.createElement("path",{d:"M20.2675 9.34654C19.828 7.72743 18.9255 6.27188 17.6708 5.15845L14.9868 7.84312C15.5461 8.3003 15.9944 8.87856 16.2978 9.53429C16.6012 10.19 16.7517 10.9061 16.7381 11.6285V12.105C17.0518 12.105 17.3624 12.1668 17.6522 12.2869C17.942 12.407 18.2054 12.583 18.4272 12.8049C18.649 13.0267 18.825 13.2901 18.945 13.58C19.0651 13.8699 19.1268 14.1806 19.1268 14.4944C19.1268 14.8082 19.0651 15.1189 18.945 15.4088C18.825 15.6987 18.649 15.9621 18.4272 16.1839C18.2054 16.4058 17.942 16.5818 17.6522 16.7019C17.3624 16.822 17.0518 16.8838 16.7381 16.8838H11.9605L11.4841 17.367V20.2329L11.9605 20.7094H16.7381C18.0722 20.7198 19.3742 20.3004 20.4515 19.5132C21.5289 18.7261 22.3243 17.613 22.7201 16.3386C23.116 15.0642 23.0912 13.6962 22.6495 12.437C22.2078 11.1778 21.3727 10.0942 20.2675 9.34654Z",fill:"#4285F4"}),C.createElement("path",{d:"M7.17626 20.6825H11.9538V16.8569H7.17626C6.83588 16.8568 6.49949 16.7835 6.18988 16.6421L5.51888 16.8502L3.5931 18.763L3.42535 19.4341C4.50529 20.2498 5.82303 20.6884 7.17626 20.6825Z",fill:"#34A853"}),C.createElement("path",{d:"M7.1763 8.27262C5.88182 8.28036 4.62207 8.6923 3.57302 9.45093C2.52396 10.2096 1.73798 11.277 1.32485 12.5041C0.911727 13.7312 0.892087 15.0567 1.26868 16.2956C1.64527 17.5344 2.39928 18.6246 3.4254 19.414L6.19664 16.6421C5.84447 16.4829 5.53617 16.2407 5.29817 15.9362C5.06017 15.6316 4.89959 15.2739 4.83021 14.8937C4.76082 14.5134 4.78471 14.122 4.89981 13.753C5.01491 13.384 5.21779 13.0484 5.49104 12.7751C5.7643 12.5018 6.09977 12.2989 6.46867 12.1837C6.83757 12.0686 7.22889 12.0447 7.60905 12.1141C7.98921 12.1835 8.34687 12.3441 8.65132 12.5822C8.95578 12.8203 9.19795 13.1286 9.35706 13.4809L12.1283 10.709C11.5466 9.94837 10.797 9.33267 9.9379 8.91001C9.07883 8.48736 8.13366 8.26921 7.1763 8.27262Z",fill:"#FBBC05"})),n=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M7.25265 9.80525C7.25265 10.073 7.2816 10.2901 7.33226 10.4493C7.39015 10.6085 7.46252 10.7822 7.56383 10.9704C7.60002 11.0283 7.61449 11.0862 7.61449 11.1368C7.61449 11.2092 7.57107 11.2816 7.47699 11.3539L7.02107 11.6579C6.95594 11.7013 6.89081 11.723 6.83291 11.723C6.76054 11.723 6.68818 11.6868 6.61581 11.6217C6.51449 11.5131 6.42765 11.3974 6.35528 11.2816C6.28291 11.1585 6.21054 11.021 6.13094 10.8546C5.56647 11.5204 4.85726 11.8533 4.00331 11.8533C3.39541 11.8533 2.91054 11.6796 2.55594 11.3322C2.20133 10.9849 2.02041 10.5217 2.02041 9.94275C2.02041 9.32762 2.23752 8.82827 2.67897 8.45196C3.12041 8.07564 3.7066 7.88748 4.45199 7.88748C4.69804 7.88748 4.95133 7.9092 5.2191 7.94538C5.48686 7.98156 5.76186 8.03946 6.05133 8.10459V7.5763C6.05133 7.0263 5.93554 6.64275 5.7112 6.41841C5.47962 6.19406 5.08883 6.08551 4.5316 6.08551C4.27831 6.08551 4.01778 6.11446 3.75002 6.17959C3.48226 6.24472 3.22173 6.32433 2.96844 6.42564C2.85265 6.4763 2.76581 6.50525 2.71515 6.51972C2.66449 6.5342 2.62831 6.54143 2.59936 6.54143C2.49804 6.54143 2.44739 6.46906 2.44739 6.31709V5.96248C2.44739 5.8467 2.46186 5.75985 2.49804 5.7092C2.53423 5.65854 2.59936 5.60788 2.70068 5.55722C2.95397 5.42696 3.25791 5.31841 3.61252 5.23156C3.96712 5.13748 4.34344 5.09406 4.74147 5.09406C5.60265 5.09406 6.23226 5.28946 6.63752 5.68025C7.03554 6.07104 7.23818 6.66446 7.23818 7.46051V9.80525H7.25265ZM4.31449 10.9052C4.55331 10.9052 4.79936 10.8618 5.05989 10.775C5.32041 10.6881 5.55199 10.5289 5.74739 10.3118C5.86318 10.1743 5.95002 10.0224 5.99344 9.84867C6.03686 9.67498 6.06581 9.46512 6.06581 9.21906V8.91512C5.85594 8.86446 5.6316 8.82104 5.40002 8.79209C5.16844 8.76314 4.9441 8.74867 4.71976 8.74867C4.23489 8.74867 3.88028 8.84275 3.64147 9.03814C3.40265 9.23354 3.28686 9.50854 3.28686 9.87038C3.28686 10.2105 3.3737 10.4638 3.55462 10.6375C3.72831 10.8184 3.9816 10.9052 4.31449 10.9052ZM10.1257 11.6868C9.99541 11.6868 9.90857 11.6651 9.85068 11.6145C9.79278 11.571 9.74212 11.4697 9.6987 11.3322L7.99804 5.73814C7.95462 5.59341 7.93291 5.49933 7.93291 5.44867C7.93291 5.33288 7.99081 5.26775 8.1066 5.26775H8.81581C8.95331 5.26775 9.04739 5.28946 9.09804 5.34012C9.15594 5.38354 9.19936 5.48485 9.24278 5.62235L10.4586 10.4131L11.5875 5.62235C11.6237 5.47762 11.6671 5.38354 11.725 5.34012C11.7829 5.2967 11.8842 5.26775 12.0145 5.26775H12.5934C12.7309 5.26775 12.825 5.28946 12.8829 5.34012C12.9408 5.38354 12.9915 5.48485 13.0204 5.62235L14.1638 10.471L15.4158 5.62235C15.4592 5.47762 15.5099 5.38354 15.5605 5.34012C15.6184 5.2967 15.7125 5.26775 15.8428 5.26775H16.5158C16.6316 5.26775 16.6967 5.32564 16.6967 5.44867C16.6967 5.48485 16.6895 5.52104 16.6823 5.56446C16.675 5.60788 16.6605 5.66577 16.6316 5.74538L14.8875 11.3395C14.8441 11.4842 14.7934 11.5783 14.7355 11.6217C14.6776 11.6651 14.5836 11.6941 14.4605 11.6941H13.8382C13.7007 11.6941 13.6066 11.6724 13.5487 11.6217C13.4908 11.571 13.4402 11.477 13.4112 11.3322L12.2895 6.66446L11.175 11.325C11.1388 11.4697 11.0954 11.5638 11.0375 11.6145C10.9796 11.6651 10.8783 11.6868 10.748 11.6868H10.1257ZM19.425 11.8822C19.0487 11.8822 18.6724 11.8388 18.3105 11.752C17.9487 11.6651 17.6665 11.571 17.4783 11.4625C17.3625 11.3974 17.2829 11.325 17.254 11.2599C17.225 11.1947 17.2105 11.1224 17.2105 11.0572V10.6881C17.2105 10.5362 17.2684 10.4638 17.377 10.4638C17.4204 10.4638 17.4638 10.471 17.5073 10.4855C17.5507 10.5 17.6158 10.5289 17.6882 10.5579C17.9342 10.6664 18.202 10.7533 18.4842 10.8112C18.7737 10.8691 19.0559 10.898 19.3454 10.898C19.8013 10.898 20.1559 10.8184 20.402 10.6592C20.648 10.5 20.7783 10.2684 20.7783 9.97169C20.7783 9.76906 20.7132 9.60262 20.5829 9.46512C20.4527 9.32762 20.2066 9.20459 19.852 9.0888L18.8026 8.76314C18.2744 8.5967 17.8836 8.35064 17.6448 8.02498C17.4059 7.70656 17.2829 7.35196 17.2829 6.97564C17.2829 6.67169 17.348 6.40393 17.4783 6.17235C17.6086 5.94077 17.7823 5.73814 17.9994 5.57893C18.2165 5.41248 18.4625 5.28946 18.752 5.20262C19.0415 5.11577 19.3454 5.07959 19.6638 5.07959C19.823 5.07959 19.9895 5.08683 20.1487 5.10854C20.3151 5.13025 20.4671 5.1592 20.6191 5.18814C20.7638 5.22433 20.9013 5.26051 21.0316 5.30393C21.1619 5.34735 21.2632 5.39077 21.3355 5.4342C21.4369 5.49209 21.5092 5.54998 21.5526 5.61512C21.5961 5.67301 21.6178 5.75262 21.6178 5.85393V6.19406C21.6178 6.34604 21.5599 6.42564 21.4513 6.42564C21.3934 6.42564 21.2994 6.3967 21.1763 6.3388C20.7638 6.15064 20.3007 6.05656 19.7869 6.05656C19.3744 6.05656 19.0487 6.1217 18.8244 6.2592C18.6 6.3967 18.4842 6.60656 18.4842 6.90327C18.4842 7.10591 18.5566 7.27959 18.7013 7.41709C18.8461 7.55459 19.1138 7.69209 19.4974 7.81512L20.525 8.14077C21.0461 8.30722 21.4224 8.5388 21.6467 8.83551C21.8711 9.13222 21.9796 9.47235 21.9796 9.84867C21.9796 10.1599 21.9145 10.4421 21.7915 10.6881C21.6612 10.9342 21.4875 11.1513 21.2632 11.325C21.0388 11.5059 20.7711 11.6362 20.4599 11.7302C20.1342 11.8316 19.7941 11.8822 19.425 11.8822Z",fill:"#252F3E"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.7928 15.3993C18.4119 17.1579 14.9527 18.0914 11.9783 18.0914C7.80989 18.0914 4.05397 16.55 1.21712 13.9881C0.992781 13.7855 1.19541 13.5105 1.46318 13.6697C4.5316 15.45 8.31647 16.5283 12.2316 16.5283C14.873 16.5283 17.775 15.9783 20.4454 14.8493C20.8434 14.6684 21.1836 15.1099 20.7928 15.3993Z",fill:"#FF9900"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.7842 14.2704C21.4803 13.8796 19.7724 14.0822 18.998 14.1763C18.7665 14.2052 18.7303 14.0026 18.9401 13.8506C20.3007 12.8954 22.5369 13.1704 22.7974 13.4888C23.0579 13.8145 22.725 16.0506 21.4513 17.1217C21.2559 17.2881 21.0678 17.2013 21.1546 16.9842C21.4441 16.2677 22.0882 14.6539 21.7842 14.2704Z",fill:"#FF9900"}));export{a as S,l as a,n as b};
@@ -1 +0,0 @@
1
- import{r as C}from"./@radix-BXWm7HOa.js";const l=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},C.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"}));export{l as S};
@@ -1 +0,0 @@
1
- import{r as C}from"./@radix-BXWm7HOa.js";const t=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75873 3H17.2413C18.0463 2.99999 18.7107 2.99998 19.2519 3.04419C19.8139 3.09012 20.3307 3.18868 20.816 3.43597C21.5686 3.81947 22.1806 4.43139 22.5641 5.18404C22.8027 5.65238 22.9028 6.14994 22.9508 6.68931C23.0043 6.8527 23.0136 7.02505 22.9819 7.18959C23 7.63971 23 8.16035 23 8.75868V15.2413C23 16.0463 23 16.7106 22.9558 17.2518C22.9099 17.8139 22.8113 18.3306 22.5641 18.816C22.1806 19.5686 21.5686 20.1805 20.816 20.564C20.3307 20.8113 19.8139 20.9099 19.2519 20.9558C18.7107 21 18.0463 21 17.2413 21H6.7587C5.95374 21 5.28939 21 4.7482 20.9558C4.1861 20.9099 3.6694 20.8113 3.18406 20.564C2.43141 20.1805 1.81949 19.5686 1.436 18.816C1.18871 18.3306 1.09014 17.8139 1.04422 17.2518C1 16.7106 1.00001 16.0463 1.00002 15.2413V8.7587C1.00001 8.16037 1.00001 7.63972 1.01816 7.1896C0.986405 7.02505 0.995778 6.85269 1.04924 6.6893C1.09723 6.14993 1.19737 5.65238 1.436 5.18404C1.81949 4.43139 2.43141 3.81947 3.18406 3.43597C3.6694 3.18868 4.1861 3.09012 4.7482 3.04419C5.28939 2.99998 5.95376 2.99999 6.75873 3ZM3.00002 8.92066V15.2C3.00002 16.0566 3.0008 16.6389 3.03758 17.089C3.0734 17.5274 3.13832 17.7516 3.21801 17.908C3.40976 18.2843 3.71572 18.5903 4.09204 18.782C4.24844 18.8617 4.47265 18.9266 4.91106 18.9624C5.36115 18.9992 5.94345 19 6.80002 19H17.2C18.0566 19 18.6389 18.9992 19.089 18.9624C19.5274 18.9266 19.7516 18.8617 19.908 18.782C20.2843 18.5903 20.5903 18.2843 20.782 17.908C20.8617 17.7516 20.9267 17.5274 20.9625 17.089C20.9992 16.6389 21 16.0566 21 15.2V8.92066L14.4086 13.5347C14.3698 13.5618 14.3313 13.5888 14.2932 13.6156C13.7486 13.998 13.2703 14.3338 12.7256 14.4696C12.2492 14.5884 11.7509 14.5884 11.2744 14.4696C10.7297 14.3338 10.2515 13.998 9.70683 13.6156C9.66872 13.5888 9.63029 13.5618 9.59148 13.5347L3.00002 8.92066ZM20.9173 6.53728L13.2616 11.8962C12.5327 12.4065 12.3783 12.495 12.2419 12.529C12.0831 12.5686 11.917 12.5686 11.7582 12.529C11.6218 12.495 11.4673 12.4065 10.7384 11.8962L3.08279 6.53728C3.11852 6.33012 3.165 6.19607 3.21801 6.09202C3.40976 5.7157 3.71572 5.40973 4.09204 5.21799C4.24844 5.1383 4.47265 5.07337 4.91106 5.03755C5.36115 5.00078 5.94345 5 6.80002 5H17.2C18.0566 5 18.6389 5.00078 19.089 5.03755C19.5274 5.07337 19.7516 5.1383 19.908 5.21799C20.2843 5.40973 20.5903 5.7157 20.782 6.09202C20.8351 6.19607 20.8815 6.33012 20.9173 6.53728Z"})),a=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.7587 1L14 1C14.2652 1 14.5196 1.10536 14.7071 1.29289L20.7071 7.29289C20.8946 7.48043 21 7.73478 21 8V17.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.816 22.564C18.3306 22.8113 17.8139 22.9099 17.2518 22.9558C16.7106 23 16.0463 23 15.2413 23H8.75868C7.95372 23 7.28936 23 6.74817 22.9558C6.18608 22.9099 5.66937 22.8113 5.18404 22.564C4.43139 22.1805 3.81947 21.5686 3.43597 20.816C3.18868 20.3306 3.09012 19.8139 3.04419 19.2518C2.99998 18.7106 2.99999 18.0463 3 17.2413V6.7587C2.99999 5.95373 2.99998 5.28937 3.04419 4.74817C3.09012 4.18608 3.18868 3.66937 3.43597 3.18404C3.81947 2.43139 4.43139 1.81947 5.18404 1.43597C5.66937 1.18868 6.18608 1.09012 6.74817 1.04419C7.28937 0.999977 7.95373 0.999988 8.7587 1ZM6.91104 3.03755C6.47262 3.07337 6.24842 3.1383 6.09202 3.21799C5.7157 3.40973 5.40973 3.7157 5.21799 4.09202C5.1383 4.24842 5.07337 4.47262 5.03755 4.91104C5.00078 5.36113 5 5.94342 5 6.8V17.2C5 18.0566 5.00078 18.6389 5.03755 19.089C5.07337 19.5274 5.1383 19.7516 5.21799 19.908C5.40973 20.2843 5.7157 20.5903 6.09202 20.782C6.24842 20.8617 6.47262 20.9266 6.91104 20.9624C7.36113 20.9992 7.94342 21 8.8 21H15.2C16.0566 21 16.6389 20.9992 17.089 20.9624C17.5274 20.9266 17.7516 20.8617 17.908 20.782C18.2843 20.5903 18.5903 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.2V9.00007L15.5681 9.00007C15.3157 9.0001 15.0699 9.00013 14.8618 8.98313C14.6332 8.96445 14.3634 8.92038 14.092 8.78208C13.7157 8.59034 13.4097 8.28438 13.218 7.90805C13.0797 7.63663 13.0356 7.3669 13.0169 7.1383C12.9999 6.93014 13 6.68434 13 6.43195L13 3H8.8C7.94342 3 7.36113 3.00078 6.91104 3.03755ZM15 4.41421L17.5859 7.00007H15.6C15.3035 7.00007 15.1412 6.99929 15.0246 6.98977C15.02 6.98939 15.0156 6.98901 15.0114 6.98862C15.0111 6.98447 15.0107 6.98008 15.0103 6.97544C15.0008 6.85885 15 6.6966 15 6.40007V4.41421ZM7 9C7 8.44772 7.44772 8 8 8H10C10.5523 8 11 8.44772 11 9C11 9.55229 10.5523 10 10 10H8C7.44772 10 7 9.55229 7 9ZM7 13C7 12.4477 7.44772 12 8 12H16C16.5523 12 17 12.4477 17 13C17 13.5523 16.5523 14 16 14H8C7.44772 14 7 13.5523 7 13ZM7 17C7 16.4477 7.44772 16 8 16H16C16.5523 16 17 16.4477 17 17C17 17.5523 16.5523 18 16 18H8C7.44772 18 7 17.5523 7 17Z"}));export{t as S,a};