zenml-nightly 0.63.0.dev20240801__py3-none-any.whl → 0.64.0.dev20240811__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.
- README.md +2 -2
- RELEASE_NOTES.md +79 -0
- zenml/VERSION +1 -1
- zenml/__init__.py +0 -4
- zenml/analytics/enums.py +0 -6
- zenml/cli/__init__.py +0 -61
- zenml/cli/base.py +1 -1
- zenml/cli/web_login.py +8 -0
- zenml/client.py +0 -4
- zenml/config/build_configuration.py +43 -17
- zenml/config/docker_settings.py +80 -57
- zenml/config/source.py +58 -0
- zenml/constants.py +9 -2
- zenml/entrypoints/base_entrypoint_configuration.py +53 -8
- zenml/enums.py +1 -1
- zenml/environment.py +25 -9
- zenml/image_builders/base_image_builder.py +1 -1
- zenml/image_builders/build_context.py +25 -72
- zenml/integrations/azure/__init__.py +4 -0
- zenml/integrations/azure/flavors/__init__.py +11 -0
- zenml/integrations/azure/flavors/azureml_orchestrator_flavor.py +263 -0
- zenml/{_hub → integrations/azure/orchestrators}/__init__.py +7 -2
- zenml/integrations/azure/orchestrators/azureml_orchestrator.py +544 -0
- zenml/integrations/azure/orchestrators/azureml_orchestrator_entrypoint_config.py +86 -0
- zenml/integrations/azure/step_operators/azureml_step_operator.py +3 -0
- zenml/integrations/databricks/flavors/databricks_orchestrator_flavor.py +9 -0
- zenml/integrations/gcp/orchestrators/vertex_orchestrator.py +7 -2
- zenml/integrations/gcp/service_connectors/gcp_service_connector.py +123 -6
- zenml/integrations/kaniko/image_builders/kaniko_image_builder.py +1 -1
- zenml/integrations/mlflow/__init__.py +1 -1
- zenml/integrations/mlflow/experiment_trackers/mlflow_experiment_tracker.py +3 -1
- zenml/integrations/mlflow/flavors/mlflow_experiment_tracker_flavor.py +3 -0
- zenml/logger.py +13 -0
- zenml/models/__init__.py +0 -12
- zenml/models/v2/core/pipeline_deployment.py +21 -29
- zenml/models/v2/core/pipeline_run.py +13 -0
- zenml/models/v2/core/server_settings.py +12 -0
- zenml/models/v2/core/user.py +0 -21
- zenml/models/v2/misc/server_models.py +7 -1
- zenml/models/v2/misc/user_auth.py +0 -7
- zenml/new/pipelines/build_utils.py +193 -38
- zenml/new/pipelines/code_archive.py +157 -0
- zenml/new/pipelines/pipeline.py +29 -2
- zenml/new/pipelines/run_utils.py +67 -1
- zenml/service_connectors/service_connector_utils.py +14 -0
- zenml/stack_deployments/aws_stack_deployment.py +26 -3
- zenml/stack_deployments/azure_stack_deployment.py +11 -6
- zenml/stack_deployments/gcp_stack_deployment.py +24 -2
- zenml/stack_deployments/stack_deployment.py +17 -2
- zenml/steps/base_step.py +3 -0
- zenml/utils/archivable.py +149 -0
- zenml/utils/code_utils.py +244 -0
- zenml/utils/notebook_utils.py +122 -0
- zenml/utils/pipeline_docker_image_builder.py +3 -96
- zenml/utils/source_utils.py +109 -1
- zenml/zen_server/dashboard/assets/{404-CI13wQp4.js → 404-CRAA_Lew.js} +1 -1
- zenml/zen_server/dashboard/assets/@radix-BXWm7HOa.js +85 -0
- zenml/zen_server/dashboard/assets/{@react-router-CO-OsFwI.js → @react-router-l3lMcXA2.js} +1 -1
- zenml/zen_server/dashboard/assets/{@reactflow-DIYUhKYX.js → @reactflow-CeVxyqYT.js} +2 -2
- zenml/zen_server/dashboard/assets/{@tanstack-k96lU_C-.js → @tanstack-FmcYZMuX.js} +4 -4
- zenml/zen_server/dashboard/assets/AlertDialogDropdownItem-ErO9aOgK.js +1 -0
- zenml/zen_server/dashboard/assets/{AwarenessChannel-BNg5uWgI.js → AwarenessChannel-CLXo5rKM.js} +1 -1
- zenml/zen_server/dashboard/assets/{CodeSnippet-Cyp7f4dM.js → CodeSnippet-D0VLxT2A.js} +1 -1
- zenml/zen_server/dashboard/assets/{CollapsibleCard-Cu_A9W57.js → CollapsibleCard-BaUPiVg0.js} +1 -1
- zenml/zen_server/dashboard/assets/{Commands-DmQwTXjj.js → Commands-JrcZK-3j.js} +1 -1
- zenml/zen_server/dashboard/assets/CopyButton-Dbo52T1K.js +2 -0
- zenml/zen_server/dashboard/assets/{CsvVizualization-BvqItd-O.js → CsvVizualization-D3kAypDj.js} +3 -3
- zenml/zen_server/dashboard/assets/DisplayDate-DizbSeT-.js +1 -0
- zenml/zen_server/dashboard/assets/EditSecretDialog-Bd7mFLS4.js +1 -0
- zenml/zen_server/dashboard/assets/{EmptyState-BMLnFVlB.js → EmptyState-BHblM39I.js} +1 -1
- zenml/zen_server/dashboard/assets/{Error-DbXCTGua.js → Error-C6LeJSER.js} +1 -1
- zenml/zen_server/dashboard/assets/{ExecutionStatus-9zM7eaLh.js → ExecutionStatus-jH4OrWBq.js} +1 -1
- zenml/zen_server/dashboard/assets/{Helpbox-BIiNc-uH.js → Helpbox-aAB2XP-z.js} +1 -1
- zenml/zen_server/dashboard/assets/{Infobox-iv1Nu1A0.js → Infobox-BQ0aty32.js} +1 -1
- zenml/zen_server/dashboard/assets/{InlineAvatar-BvBtO2Dp.js → InlineAvatar-DpTLgM3Q.js} +1 -1
- zenml/zen_server/dashboard/assets/Lock-CNyJvf2r.js +1 -0
- zenml/zen_server/dashboard/assets/{MarkdownVisualization-xp3hhULl.js → MarkdownVisualization-Bajxn0HY.js} +1 -1
- zenml/zen_server/dashboard/assets/NumberBox-BmKE0qnO.js +1 -0
- zenml/zen_server/dashboard/assets/{PasswordChecker-DUveqlva.js → PasswordChecker-yGGoJSB-.js} +1 -1
- zenml/zen_server/dashboard/assets/{ProviderRadio-pSAvrGRS.js → ProviderRadio-BBqkIuTd.js} +1 -1
- zenml/zen_server/dashboard/assets/RadioItem-xLhXoiFV.js +1 -0
- zenml/zen_server/dashboard/assets/SearchField-C9R0mdaX.js +1 -0
- zenml/zen_server/dashboard/assets/{SetPassword-BOxpgh6N.js → SetPassword-52sNxNiO.js} +1 -1
- zenml/zen_server/dashboard/assets/{SuccessStep-CTSKN2lp.js → SuccessStep-DlkItqYG.js} +1 -1
- zenml/zen_server/dashboard/assets/{Tick-Bnr2TpW6.js → Tick-uxv80Q6a.js} +1 -1
- zenml/zen_server/dashboard/assets/{UpdatePasswordSchemas-BeCeaRW5.js → UpdatePasswordSchemas-oN4G3sKz.js} +1 -1
- zenml/zen_server/dashboard/assets/{aws-BgKTfTfx.js → aws-0_3UsPif.js} +1 -1
- zenml/zen_server/dashboard/assets/{check-circle-i56092KI.js → check-circle-1_I207rW.js} +1 -1
- zenml/zen_server/dashboard/assets/{chevron-down-D_ZlKMqH.js → chevron-down-BpaF8JqM.js} +1 -1
- zenml/zen_server/dashboard/assets/{chevron-right-double-CZBOf6JM.js → chevron-right-double-Dk8e2L99.js} +1 -1
- zenml/zen_server/dashboard/assets/{cloud-only-qelmY92E.js → cloud-only-BkUuI0lZ.js} +1 -1
- zenml/zen_server/dashboard/assets/components-Br2ezRib.js +1 -0
- zenml/zen_server/dashboard/assets/{copy-BXNk6BjL.js → copy-f3XGPPxt.js} +1 -1
- zenml/zen_server/dashboard/assets/{database-1xWSgZfO.js → database-cXYNX9tt.js} +1 -1
- zenml/zen_server/dashboard/assets/{docker-CQMVm_4d.js → docker-8uj__HHK.js} +1 -1
- zenml/zen_server/dashboard/assets/{dots-horizontal-BObFzD5l.js → dots-horizontal-sKQlWEni.js} +1 -1
- zenml/zen_server/dashboard/assets/edit-C0MVvPD2.js +1 -0
- zenml/zen_server/dashboard/assets/{file-text-CqD_iu6l.js → file-text-B9JibxTs.js} +1 -1
- zenml/zen_server/dashboard/assets/{help-bu_DgLKI.js → help-FuHlZwn0.js} +1 -1
- zenml/zen_server/dashboard/assets/index-Bd1xgUQG.js +1 -0
- zenml/zen_server/dashboard/assets/index-DaGknux4.css +1 -0
- zenml/zen_server/dashboard/assets/{index-KsTz2dHG.js → index-DhIZtpxB.js} +5 -5
- zenml/zen_server/dashboard/assets/{index.esm-CbHNSeVw.js → index.esm-DT4uyn2i.js} +1 -1
- zenml/zen_server/dashboard/assets/layout-D6oiSbfd.js +1 -0
- zenml/zen_server/dashboard/assets/{login-mutation-DRpbESS7.js → login-mutation-13A_JSVA.js} +1 -1
- zenml/zen_server/dashboard/assets/{logs-D8k8BVFf.js → logs-CgeE2vZP.js} +1 -1
- zenml/zen_server/dashboard/assets/{not-found-Dfx9hfkf.js → not-found-B0Mmb90p.js} +1 -1
- zenml/zen_server/dashboard/assets/{package-ClbU3KUi.js → package-DdkziX79.js} +1 -1
- zenml/zen_server/dashboard/assets/page-7-v2OBm-.js +1 -0
- zenml/zen_server/dashboard/assets/{page-f3jBVI5Z.js → page-B3ozwdD1.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DYBNGxJt.js → page-BGwA9B1M.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-C176KxyB.js → page-BkjAUyTA.js} +1 -1
- zenml/zen_server/dashboard/assets/page-BnacgBiy.js +1 -0
- zenml/zen_server/dashboard/assets/{page-CzucfYPo.js → page-BxF_KMQ3.js} +2 -2
- zenml/zen_server/dashboard/assets/page-C4POHC0K.js +1 -0
- zenml/zen_server/dashboard/assets/page-C9kudd44.js +9 -0
- zenml/zen_server/dashboard/assets/page-CA1j3GpJ.js +1 -0
- zenml/zen_server/dashboard/assets/page-CCY6yfmu.js +1 -0
- zenml/zen_server/dashboard/assets/page-CgTe7Bme.js +1 -0
- zenml/zen_server/dashboard/assets/{page-DtpwnNXq.js → page-Cgn-6v2Y.js} +1 -1
- zenml/zen_server/dashboard/assets/page-CxQmQqDw.js +1 -0
- zenml/zen_server/dashboard/assets/page-D2Goey3H.js +1 -0
- zenml/zen_server/dashboard/assets/page-DLpOnf7u.js +1 -0
- zenml/zen_server/dashboard/assets/{page-DVPxY5fT.js → page-DSTQnBk-.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BoFtUD9H.js → page-DTysUGOy.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-p2hLJdS2.js → page-D_EXUFJb.js} +1 -1
- zenml/zen_server/dashboard/assets/page-Db15QzsM.js +1 -0
- zenml/zen_server/dashboard/assets/{page-Btu39x7k.js → page-DugsjcQ_.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-CZe9GEBF.js → page-OFKSPyN7.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-CDgZmwxP.js → page-RnG-qhv9.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-Cjn97HMv.js → page-T2BtjwPl.js} +1 -1
- zenml/zen_server/dashboard/assets/page-TXe1Eo3Z.js +1 -0
- zenml/zen_server/dashboard/assets/{page-BxiWdeyg.js → page-YiF_fNbe.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-399pVZHU.js → page-hQaiQXfg.js} +1 -1
- zenml/zen_server/dashboard/assets/persist-3-5nOJ6m.js +1 -0
- zenml/zen_server/dashboard/assets/{play-circle-CNtZKDnW.js → play-circle-XSkLR12B.js} +1 -1
- zenml/zen_server/dashboard/assets/{plus-DOeLmm7C.js → plus-FB9-lEq_.js} +1 -1
- zenml/zen_server/dashboard/assets/refresh-COb6KYDi.js +1 -0
- zenml/zen_server/dashboard/assets/sharedSchema-BoYx_B_L.js +14 -0
- zenml/zen_server/dashboard/assets/{stack-detail-query-Ck7j7BP_.js → stack-detail-query-B-US_-wa.js} +1 -1
- zenml/zen_server/dashboard/assets/{terminal-By9cErXc.js → terminal-grtjrIEJ.js} +1 -1
- zenml/zen_server/dashboard/assets/trash-Cd5CSFqA.js +1 -0
- zenml/zen_server/dashboard/assets/{update-server-settings-mutation-f3ZT7psb.js → update-server-settings-mutation-B8GB_ubU.js} +1 -1
- zenml/zen_server/dashboard/assets/{url-rGEp5Umh.js → url-hcMJkz8p.js} +1 -1
- zenml/zen_server/dashboard/assets/{zod-BtSyGx4C.js → zod-CnykDKJj.js} +1 -1
- zenml/zen_server/dashboard/index.html +7 -7
- zenml/zen_server/dashboard_legacy/asset-manifest.json +4 -4
- zenml/zen_server/dashboard_legacy/index.html +1 -1
- zenml/zen_server/dashboard_legacy/{precache-manifest.2fa6e528a6e7447caaf35dadfe7514bb.js → precache-manifest.9c473c96a43298343a7ce1256183123b.js} +4 -4
- zenml/zen_server/dashboard_legacy/service-worker.js +1 -1
- zenml/zen_server/dashboard_legacy/static/js/{main.4aab7e98.chunk.js → main.463c90b9.chunk.js} +2 -2
- zenml/zen_server/dashboard_legacy/static/js/{main.4aab7e98.chunk.js.map → main.463c90b9.chunk.js.map} +1 -1
- zenml/zen_server/deploy/helm/Chart.yaml +1 -1
- zenml/zen_server/deploy/helm/README.md +2 -2
- zenml/zen_server/routers/stack_deployment_endpoints.py +6 -0
- zenml/zen_server/routers/users_endpoints.py +0 -7
- zenml/zen_server/utils.py +75 -0
- zenml/zen_server/zen_server_api.py +52 -1
- zenml/zen_stores/base_zen_store.py +7 -1
- zenml/zen_stores/migrations/versions/0.64.0_release.py +23 -0
- zenml/zen_stores/migrations/versions/026d4577b6a0_add_code_path.py +39 -0
- zenml/zen_stores/migrations/versions/3dcc5d20e82f_add_last_user_activity.py +51 -0
- zenml/zen_stores/migrations/versions/909550c7c4da_remove_user_hub_token.py +36 -0
- zenml/zen_stores/rest_zen_store.py +5 -3
- zenml/zen_stores/schemas/pipeline_deployment_schemas.py +3 -0
- zenml/zen_stores/schemas/pipeline_run_schemas.py +3 -0
- zenml/zen_stores/schemas/server_settings_schemas.py +2 -0
- zenml/zen_stores/schemas/user_schemas.py +0 -2
- zenml/zen_stores/sql_zen_store.py +25 -1
- {zenml_nightly-0.63.0.dev20240801.dist-info → zenml_nightly-0.64.0.dev20240811.dist-info}/METADATA +3 -3
- {zenml_nightly-0.63.0.dev20240801.dist-info → zenml_nightly-0.64.0.dev20240811.dist-info}/RECORD +174 -157
- zenml/_hub/client.py +0 -289
- zenml/_hub/constants.py +0 -21
- zenml/_hub/utils.py +0 -79
- zenml/cli/hub.py +0 -1116
- zenml/models/v2/misc/hub_plugin_models.py +0 -79
- zenml/zen_server/dashboard/assets/@radix-CFOkMR_E.js +0 -85
- zenml/zen_server/dashboard/assets/CopyButton-B3sWVJ4Z.js +0 -2
- zenml/zen_server/dashboard/assets/DisplayDate-DYgIjlDF.js +0 -1
- zenml/zen_server/dashboard/assets/SearchField-CXoBknpt.js +0 -1
- zenml/zen_server/dashboard/assets/components-DWe4cTjS.js +0 -1
- zenml/zen_server/dashboard/assets/index-vfjX_fJV.css +0 -1
- zenml/zen_server/dashboard/assets/page-C6tXXjnK.js +0 -1
- zenml/zen_server/dashboard/assets/page-CP9obrnG.js +0 -1
- zenml/zen_server/dashboard/assets/page-CaTOsNNw.js +0 -1
- zenml/zen_server/dashboard/assets/page-CmXmB_5i.js +0 -1
- zenml/zen_server/dashboard/assets/page-CvGAOfad.js +0 -1
- zenml/zen_server/dashboard/assets/page-D0bbc-qr.js +0 -5
- zenml/zen_server/dashboard/assets/page-DLEtD2ex.js +0 -1
- zenml/zen_server/dashboard/assets/page-DupV0aBd.js +0 -1
- zenml/zen_server/dashboard/assets/page-EweAR81y.js +0 -1
- zenml/zen_server/dashboard/assets/page-w-YaL77M.js +0 -9
- zenml/zen_server/dashboard/assets/persist-BReKApOc.js +0 -14
- zenml/zen_server/dashboard/assets/secrets-video-OBJ6irhH.svg +0 -21
- zenml/zen_server/dashboard/assets/stacks-video-7gfxpAq4.svg +0 -21
- {zenml_nightly-0.63.0.dev20240801.dist-info → zenml_nightly-0.64.0.dev20240811.dist-info}/LICENSE +0 -0
- {zenml_nightly-0.63.0.dev20240801.dist-info → zenml_nightly-0.64.0.dev20240811.dist-info}/WHEEL +0 -0
- {zenml_nightly-0.63.0.dev20240801.dist-info → zenml_nightly-0.64.0.dev20240811.dist-info}/entry_points.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
import{j as e}from"./@radix-
|
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};
|
@@ -0,0 +1,2 @@
|
|
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};
|
zenml/zen_server/dashboard/assets/{CsvVizualization-BvqItd-O.js → CsvVizualization-D3kAypDj.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
import{c as we,r as pe,j as G}from"./@radix-
|
1
|
+
import{c as we,r as pe,j as G}from"./@radix-BXWm7HOa.js";import{aS as Ce,aT as xe,aU as ke,aV as Re,aW as Oe,aX as Te}from"./index-DhIZtpxB.js";import"./@tanstack-FmcYZMuX.js";import"./@react-router-l3lMcXA2.js";import"./@reactflow-CeVxyqYT.js";var be={exports:{}};/* @license
|
2
2
|
Papa Parse
|
3
3
|
v5.4.1
|
4
4
|
https://github.com/mholt/PapaParse
|
@@ -9,7 +9,7 @@ License: MIT
|
|
9
9
|
`),H=1<N.length&&N[0].length<F[0].length;if(F.length===1||H)return`
|
10
10
|
`;for(var z=0,k=0;k<F.length;k++)F[k][0]===`
|
11
11
|
`&&z++;return z>=F.length/2?`\r
|
12
|
-
`:"\r"}(o,R)),i=!1,t.delimiter)p(t.delimiter)&&(t.delimiter=t.delimiter(o),n.meta.delimiter=t.delimiter);else{var g=function(C,_,q,F,N){var H,z,k,x;N=N||[","," ","|",";",h.RECORD_SEP,h.UNIT_SEP];for(var
|
12
|
+
`:"\r"}(o,R)),i=!1,t.delimiter)p(t.delimiter)&&(t.delimiter=t.delimiter(o),n.meta.delimiter=t.delimiter);else{var g=function(C,_,q,F,N){var H,z,k,x;N=N||[","," ","|",";",h.RECORD_SEP,h.UNIT_SEP];for(var X=0;X<N.length;X++){var c=N[X],te=0,K=0,Y=0;k=void 0;for(var J=new de({comments:F,delimiter:c,newline:_,preview:10}).parse(C),$=0;$<J.data.length;$++)if(q&&D(J.data[$]))Y++;else{var V=J.data[$].length;K+=V,k!==void 0?0<V&&(te+=Math.abs(V-k),k=V):k=V}0<J.data.length&&(K/=J.data.length-Y),(z===void 0||te<=z)&&(x===void 0||x<K)&&1.99<K&&(z=te,H=c,x=K)}return{successful:!!(t.delimiter=H),bestDelimiter:H}}(o,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess);g.successful?t.delimiter=g.bestDelimiter:(i=!0,t.delimiter=h.DefaultDelimiter),n.meta.delimiter=t.delimiter}var L=le(t);return t.preview&&t.header&&L.preview++,e=o,r=new de(L),n=r.parse(e,l,y),E(),u?{meta:{paused:!0}}:n||{meta:{paused:!1}}},this.paused=function(){return u},this.pause=function(){u=!0,r.abort(),e=p(t.chunk)?"":e.substring(r.getCharIndex())},this.resume=function(){b.streamer._halted?(u=!1,b.streamer.parseChunk(e,!0)):setTimeout(b.resume,3)},this.aborted=function(){return P},this.abort=function(){P=!0,r.abort(),n.meta.aborted=!0,p(t.complete)&&t.complete(n),e=""}}function ne(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function de(t){var e,r=(t=t||{}).delimiter,i=t.newline,s=t.comments,f=t.step,d=t.preview,A=t.fastMode,b=e=t.quoteChar===void 0||t.quoteChar===null?'"':t.quoteChar;if(t.escapeChar!==void 0&&(b=t.escapeChar),(typeof r!="string"||-1<h.BAD_DELIMITERS.indexOf(r))&&(r=","),s===r)throw new Error("Comment character same as delimiter");s===!0?s="#":(typeof s!="string"||-1<h.BAD_DELIMITERS.indexOf(s))&&(s=!1),i!==`
|
13
13
|
`&&i!=="\r"&&i!==`\r
|
14
14
|
`&&(i=`
|
15
|
-
`);var a=0,w=!1;this.parse=function(u,P,S){if(typeof u!="string")throw new Error("Input must be a string");var n=u.length,m=r.length,D=i.length,E=s.length,I=p(f),O=[],T=[],o=[],l=a=0;if(!u)return M();if(t.header&&!P){var y=u.split(i)[0].split(r),R=[],g={},L=!1;for(var C in y){var _=y[C];p(t.transformHeader)&&(_=t.transformHeader(_,C));var q=_,F=g[_]||0;for(0<F&&(L=!0,q=_+"_"+F),g[_]=F+1;R.includes(q);)q=q+"_"+F;R.push(q)}if(L){var N=u.split(i);N[0]=R.join(r),u=N.join(i)}}if(A||A!==!1&&u.indexOf(e)===-1){for(var H=u.split(i),z=0;z<H.length;z++){if(o=H[z],a+=o.length,z!==H.length-1)a+=i.length;else if(S)return M();if(!s||o.substring(0,E)!==s){if(I){if(O=[],
|
15
|
+
`);var a=0,w=!1;this.parse=function(u,P,S){if(typeof u!="string")throw new Error("Input must be a string");var n=u.length,m=r.length,D=i.length,E=s.length,I=p(f),O=[],T=[],o=[],l=a=0;if(!u)return M();if(t.header&&!P){var y=u.split(i)[0].split(r),R=[],g={},L=!1;for(var C in y){var _=y[C];p(t.transformHeader)&&(_=t.transformHeader(_,C));var q=_,F=g[_]||0;for(0<F&&(L=!0,q=_+"_"+F),g[_]=F+1;R.includes(q);)q=q+"_"+F;R.push(q)}if(L){var N=u.split(i);N[0]=R.join(r),u=N.join(i)}}if(A||A!==!1&&u.indexOf(e)===-1){for(var H=u.split(i),z=0;z<H.length;z++){if(o=H[z],a+=o.length,z!==H.length-1)a+=i.length;else if(S)return M();if(!s||o.substring(0,E)!==s){if(I){if(O=[],Y(o.split(r)),fe(),w)return M()}else Y(o.split(r));if(d&&d<=z)return O=O.slice(0,d),M(!0)}}return M()}for(var k=u.indexOf(r,a),x=u.indexOf(i,a),X=new RegExp(ne(b)+ne(e),"g"),c=u.indexOf(e,a);;)if(u[a]!==e)if(s&&o.length===0&&u.substring(a,a+E)===s){if(x===-1)return M();a=x+D,x=u.indexOf(i,a),k=u.indexOf(r,a)}else if(k!==-1&&(k<x||x===-1))o.push(u.substring(a,k)),a=k+m,k=u.indexOf(r,a);else{if(x===-1)break;if(o.push(u.substring(a,x)),V(x+D),I&&(fe(),w))return M();if(d&&O.length>=d)return M(!0)}else for(c=a,a++;;){if((c=u.indexOf(e,c+1))===-1)return S||T.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:O.length,index:a}),$();if(c===n-1)return $(u.substring(a,c).replace(X,e));if(e!==b||u[c+1]!==b){if(e===b||c===0||u[c-1]!==b){k!==-1&&k<c+1&&(k=u.indexOf(r,c+1)),x!==-1&&x<c+1&&(x=u.indexOf(i,c+1));var te=J(x===-1?k:Math.min(k,x));if(u.substr(c+1+te,m)===r){o.push(u.substring(a,c).replace(X,e)),u[a=c+1+te+m]!==e&&(c=u.indexOf(e,a)),k=u.indexOf(r,a),x=u.indexOf(i,a);break}var K=J(x);if(u.substring(c+1+K,c+1+K+D)===i){if(o.push(u.substring(a,c).replace(X,e)),V(c+1+K+D),k=u.indexOf(r,a),c=u.indexOf(e,a),I&&(fe(),w))return M();if(d&&O.length>=d)return M(!0);break}T.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:O.length,index:a}),c++}}else c++}return $();function Y(j){O.push(j),l=a}function J(j){var ye=0;if(j!==-1){var ce=u.substring(c+1,j);ce&&ce.trim()===""&&(ye=ce.length)}return ye}function $(j){return S||(j===void 0&&(j=u.substring(a)),o.push(j),a=n,Y(o),I&&fe()),M()}function V(j){a=j,Y(o),o=[],x=u.indexOf(i,a)}function M(j){return{data:O,errors:T,meta:{delimiter:r,linebreak:i,aborted:w,truncated:!!j,cursor:l+(P||0)}}}function fe(){f(M()),O=[],T=[]}},this.abort=function(){w=!0},this.getCharIndex=function(){return a}}function Ee(t){var e=t.data,r=U[e.workerId],i=!1;if(e.error)r.userError(e.error,e.file);else if(e.results&&e.results.data){var s={abort:function(){i=!0,me(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:ve,resume:ve};if(p(r.userStep)){for(var f=0;f<e.results.data.length&&(r.userStep({data:e.results.data[f],errors:e.results.errors,meta:e.results.meta},s),!i);f++);delete e.results}else p(r.userChunk)&&(r.userChunk(e.results,s,e.file),delete e.results)}e.finished&&!i&&me(e.workerId,e.results)}function me(t,e){var r=U[t];p(r.userComplete)&&r.userComplete(e),r.terminate(),delete U[t]}function ve(){throw new Error("Not implemented.")}function le(t){if(typeof t!="object"||t===null)return t;var e=Array.isArray(t)?[]:{};for(var r in t)e[r]=le(t[r]);return e}function Q(t,e){return function(){t.apply(e,arguments)}}function p(t){return typeof t=="function"}return B&&(v.onmessage=function(t){var e=t.data;if(h.WORKER_ID===void 0&&e&&(h.WORKER_ID=e.workerId),typeof e.input=="string")v.postMessage({workerId:h.WORKER_ID,results:h.parse(e.input,e.config),finished:!0});else if(v.File&&e.input instanceof File||e.input instanceof Object){var r=h.parse(e.input,e.config);r&&v.postMessage({workerId:h.WORKER_ID,results:r,finished:!0})}}),(oe.prototype=Object.create(W.prototype)).constructor=oe,(ue.prototype=Object.create(W.prototype)).constructor=ue,(ie.prototype=Object.create(ie.prototype)).constructor=ie,(he.prototype=Object.create(W.prototype)).constructor=he,h})})(be);var Ae=be.exports;function ze({content:se}){const[ge,ae]=pe.useState([]),[v,Z]=pe.useState([]);return pe.useEffect(()=>{Ae.parse(se,{header:!0,skipEmptyLines:!0,complete:B=>{const U=[],ee=[];B.data.forEach(h=>{U.push(Object.keys(h)),ee.push(Object.values(h))}),ae(U[0]),Z(ee)}})},[se]),G.jsx("div",{className:"overflow-hidden overflow-x-auto rounded-md border",children:G.jsxs(Ce,{children:[G.jsx(xe,{className:"bg-theme-surface-tertiary",children:G.jsx(ke,{children:ge.map((B,U)=>G.jsx(Re,{className:"text-theme-text-secondary",children:B},U))})}),G.jsx(Oe,{children:v.map((B,U)=>G.jsx(ke,{children:B.map((ee,h)=>G.jsx(Te,{className:"bg-theme-surface-primary",children:ee},h))},U))})]})})}export{ze as default};
|
@@ -0,0 +1 @@
|
|
1
|
+
import{j as o}from"./@radix-BXWm7HOa.js";function s({dateString:t,short:n=!1}){const e=new Date(`${t}Z`);return o.jsx(o.Fragment,{children:n?i(e):e.toLocaleString()})}function i(t){const n={month:"short",day:"numeric",year:"numeric"},e={hour:"numeric",minute:"numeric",hour12:!1},r=t.toLocaleDateString("en-US",n),a=t.toLocaleTimeString("en-US",e);return`${r} ${a}`}export{s as D};
|
@@ -0,0 +1 @@
|
|
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 +1 @@
|
|
1
|
-
import{j as l}from"./@radix-
|
1
|
+
import{j as l}from"./@radix-BXWm7HOa.js";function n({children:e,icon:t}){return l.jsxs("section",{className:"layout-container flex h-full w-full flex-1 flex-col items-center justify-center gap-5",children:[t,e]})}export{n as E};
|
@@ -1 +1 @@
|
|
1
|
-
import{j as e}from"./@radix-
|
1
|
+
import{j as e}from"./@radix-BXWm7HOa.js";import{i as r,p as a}from"./index-DhIZtpxB.js";import{E as l}from"./EmptyState-BHblM39I.js";function c({err:t,isAlertCircle:s=!1}){return e.jsx(l,{icon:s?e.jsx(r,{className:"h-[120px] w-[120px] fill-neutral-300"}):e.jsx(a,{className:"h-[120px] w-[120px] fill-neutral-300"}),children:e.jsx("div",{className:"text-center",children:e.jsx("p",{className:"text-text-lg text-theme-text-secondary",children:t.message})})})}export{c as E};
|
zenml/zen_server/dashboard/assets/{ExecutionStatus-9zM7eaLh.js → ExecutionStatus-jH4OrWBq.js}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
import{r,j as t}from"./@radix-
|
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 +1 @@
|
|
1
|
-
import{j as e}from"./@radix-
|
1
|
+
import{j as e}from"./@radix-BXWm7HOa.js";import{B as t,aI as a}from"./index-DhIZtpxB.js";import{H as l}from"./help-FuHlZwn0.js";function m({link:s,text:r="Do you need help?"}){return e.jsxs(t,{className:"flex w-full flex-wrap items-center justify-between p-2",children:[e.jsxs("div",{className:"flex items-center gap-[10px]",children:[e.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-sm bg-teal-25",children:e.jsx(l,{className:"h-5 w-5 fill-teal-400"})}),e.jsx("p",{children:r})]}),e.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:a({intent:"primary",emphasis:"subtle",size:"md"}),href:s,children:"Browse our docs"})]})}export{m as H};
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,j as r}from"./@radix-
|
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 +1 @@
|
|
1
|
-
import{j as e}from"./@radix-
|
1
|
+
import{j as e}from"./@radix-BXWm7HOa.js";import{A as s,b as a}from"./index-DhIZtpxB.js";function m({username:t}){return e.jsxs("div",{className:"inline-flex items-center gap-1",children:[e.jsx(s,{size:"sm",children:e.jsx(a,{size:"sm",children:t[0]})}),e.jsx("p",{className:"text-text-sm font-semibold text-theme-text-primary",children:t})]})}export{m as I};
|
@@ -0,0 +1 @@
|
|
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:"M6 8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8V9.15032C18.2826 9.21225 18.5539 9.30243 18.816 9.43597C19.5686 9.81947 20.1805 10.4314 20.564 11.184C20.8113 11.6694 20.9099 12.1861 20.9558 12.7482C21 13.2894 21 13.9537 21 14.7587V16.2413C21 17.0463 21 17.7106 20.9558 18.2518C20.9099 18.8139 20.8113 19.3306 20.564 19.816C20.1805 20.5686 19.5686 21.1805 18.816 21.564C18.3306 21.8113 17.8139 21.9099 17.2518 21.9558C16.7106 22 16.0463 22 15.2413 22H8.75868C7.95372 22 7.28936 22 6.74817 21.9558C6.18608 21.9099 5.66937 21.8113 5.18404 21.564C4.43139 21.1805 3.81947 20.5686 3.43597 19.816C3.18868 19.3306 3.09012 18.8139 3.04419 18.2518C2.99998 17.7106 2.99999 17.0463 3 16.2413V14.7587C2.99999 13.9537 2.99998 13.2894 3.04419 12.7482C3.09012 12.1861 3.18868 11.6694 3.43597 11.184C3.81947 10.4314 4.43139 9.81947 5.18404 9.43597C5.44614 9.30243 5.71739 9.21225 6 9.15032V8ZM8 9.00163C8.23771 8.99999 8.4904 9 8.7587 9H15.2413C15.5096 9 15.7623 8.99999 16 9.00163V8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8V9.00163ZM6.91104 11.0376C6.47262 11.0734 6.24842 11.1383 6.09202 11.218C5.7157 11.4097 5.40973 11.7157 5.21799 12.092C5.1383 12.2484 5.07337 12.4726 5.03755 12.911C5.00078 13.3611 5 13.9434 5 14.8V16.2C5 17.0566 5.00078 17.6389 5.03755 18.089C5.07337 18.5274 5.1383 18.7516 5.21799 18.908C5.40973 19.2843 5.7157 19.5903 6.09202 19.782C6.24842 19.8617 6.47262 19.9266 6.91104 19.9624C7.36113 19.9992 7.94342 20 8.8 20H15.2C16.0566 20 16.6389 19.9992 17.089 19.9624C17.5274 19.9266 17.7516 19.8617 17.908 19.782C18.2843 19.5903 18.5903 19.2843 18.782 18.908C18.8617 18.7516 18.9266 18.5274 18.9624 18.089C18.9992 17.6389 19 17.0566 19 16.2V14.8C19 13.9434 18.9992 13.3611 18.9624 12.911C18.9266 12.4726 18.8617 12.2484 18.782 12.092C18.5903 11.7157 18.2843 11.4097 17.908 11.218C17.7516 11.1383 17.5274 11.0734 17.089 11.0376C16.6389 11.0008 16.0566 11 15.2 11H8.8C7.94342 11 7.36113 11.0008 6.91104 11.0376ZM12 13.5C12.5523 13.5 13 13.9477 13 14.5V16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5V14.5C11 13.9477 11.4477 13.5 12 13.5Z"}));export{l as S};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import{c as Ne,g as br,j as Un}from"./@radix-CFOkMR_E.js";function wr(n,e){const t=e||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const Sr=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Cr=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Er={};function _e(n,e){return((e||Er).jsx?Cr:Sr).test(n)}const Ir=/[ \t\n\f\r]/g;function Ar(n){return typeof n=="object"?n.type==="text"?Be(n.value):!1:Be(n)}function Be(n){return n.replace(Ir,"")===""}class Nn{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}}Nn.prototype.property={};Nn.prototype.normal={};Nn.prototype.space=null;function Tt(n,e){const t={},r={};let i=-1;for(;++i<n.length;)Object.assign(t,n[i].property),Object.assign(r,n[i].normal);return new Nn(t,r,e)}function se(n){return n.toLowerCase()}class tn{constructor(e,t){this.property=e,this.attribute=t}}tn.prototype.space=null;tn.prototype.boolean=!1;tn.prototype.booleanish=!1;tn.prototype.overloadedBoolean=!1;tn.prototype.number=!1;tn.prototype.commaSeparated=!1;tn.prototype.spaceSeparated=!1;tn.prototype.commaOrSpaceSeparated=!1;tn.prototype.mustUseProperty=!1;tn.prototype.defined=!1;let Pr=0;const L=Sn(),$=Sn(),zt=Sn(),k=Sn(),B=Sn(),An=Sn(),Z=Sn();function Sn(){return 2**++Pr}const ce=Object.freeze(Object.defineProperty({__proto__:null,boolean:L,booleanish:$,commaOrSpaceSeparated:Z,commaSeparated:An,number:k,overloadedBoolean:zt,spaceSeparated:B},Symbol.toStringTag,{value:"Module"})),Gn=Object.keys(ce);class xe extends tn{constructor(e,t,r,i){let l=-1;if(super(e,t),je(this,"space",i),typeof r=="number")for(;++l<Gn.length;){const o=Gn[l];je(this,Gn[l],(r&ce[o])===ce[o])}}}xe.prototype.defined=!0;function je(n,e,t){t&&(n[e]=t)}const Tr={}.hasOwnProperty;function Tn(n){const e={},t={};let r;for(r in n.properties)if(Tr.call(n.properties,r)){const i=n.properties[r],l=new xe(r,n.transform(n.attributes||{},r),i,n.space);n.mustUseProperty&&n.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),e[r]=l,t[se(r)]=r,t[se(l.attribute)]=r}return new Nn(e,t,n.space)}const Lt=Tn({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Ot=Tn({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Dt(n,e){return e in n?n[e]:e}function Ft(n,e){return Dt(n,e.toLowerCase())}const vt=Tn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ft,properties:{xmlns:null,xmlnsXLink:null}}),Rt=Tn({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:$,ariaAutoComplete:null,ariaBusy:$,ariaChecked:$,ariaColCount:k,ariaColIndex:k,ariaColSpan:k,ariaControls:B,ariaCurrent:null,ariaDescribedBy:B,ariaDetails:null,ariaDisabled:$,ariaDropEffect:B,ariaErrorMessage:null,ariaExpanded:$,ariaFlowTo:B,ariaGrabbed:$,ariaHasPopup:null,ariaHidden:$,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:B,ariaLevel:k,ariaLive:null,ariaModal:$,ariaMultiLine:$,ariaMultiSelectable:$,ariaOrientation:null,ariaOwns:B,ariaPlaceholder:null,ariaPosInSet:k,ariaPressed:$,ariaReadOnly:$,ariaRelevant:null,ariaRequired:$,ariaRoleDescription:B,ariaRowCount:k,ariaRowIndex:k,ariaRowSpan:k,ariaSelected:$,ariaSetSize:k,ariaSort:null,ariaValueMax:k,ariaValueMin:k,ariaValueNow:k,ariaValueText:null,role:null}}),zr=Tn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ft,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:An,acceptCharset:B,accessKey:B,action:null,allow:null,allowFullScreen:L,allowPaymentRequest:L,allowUserMedia:L,alt:null,as:null,async:L,autoCapitalize:null,autoComplete:B,autoFocus:L,autoPlay:L,blocking:B,capture:null,charSet:null,checked:L,cite:null,className:B,cols:k,colSpan:null,content:null,contentEditable:$,controls:L,controlsList:B,coords:k|An,crossOrigin:null,data:null,dateTime:null,decoding:null,default:L,defer:L,dir:null,dirName:null,disabled:L,download:zt,draggable:$,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:L,formTarget:null,headers:B,height:k,hidden:L,high:k,href:null,hrefLang:null,htmlFor:B,httpEquiv:B,id:null,imageSizes:null,imageSrcSet:null,inert:L,inputMode:null,integrity:null,is:null,isMap:L,itemId:null,itemProp:B,itemRef:B,itemScope:L,itemType:B,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:L,low:k,manifest:null,max:null,maxLength:k,media:null,method:null,min:null,minLength:k,multiple:L,muted:L,name:null,nonce:null,noModule:L,noValidate:L,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:L,optimum:k,pattern:null,ping:B,placeholder:null,playsInline:L,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:L,referrerPolicy:null,rel:B,required:L,reversed:L,rows:k,rowSpan:k,sandbox:B,scope:null,scoped:L,seamless:L,selected:L,shadowRootClonable:L,shadowRootDelegatesFocus:L,shadowRootMode:null,shape:null,size:k,sizes:null,slot:null,span:k,spellCheck:$,src:null,srcDoc:null,srcLang:null,srcSet:null,start:k,step:null,style:null,tabIndex:k,target:null,title:null,translate:null,type:null,typeMustMatch:L,useMap:null,value:$,width:k,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:B,axis:null,background:null,bgColor:null,border:k,borderColor:null,bottomMargin:k,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:L,declare:L,event:null,face:null,frame:null,frameBorder:null,hSpace:k,leftMargin:k,link:null,longDesc:null,lowSrc:null,marginHeight:k,marginWidth:k,noResize:L,noHref:L,noShade:L,noWrap:L,object:null,profile:null,prompt:null,rev:null,rightMargin:k,rules:null,scheme:null,scrolling:$,standby:null,summary:null,text:null,topMargin:k,valueType:null,version:null,vAlign:null,vLink:null,vSpace:k,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:L,disableRemotePlayback:L,prefix:null,property:null,results:k,security:null,unselectable:null}}),Lr=Tn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Dt,properties:{about:Z,accentHeight:k,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:k,amplitude:k,arabicForm:null,ascent:k,attributeName:null,attributeType:null,azimuth:k,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:k,by:null,calcMode:null,capHeight:k,className:B,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:k,diffuseConstant:k,direction:null,display:null,dur:null,divisor:k,dominantBaseline:null,download:L,dx:null,dy:null,edgeMode:null,editable:null,elevation:k,enableBackground:null,end:null,event:null,exponent:k,externalResourcesRequired:null,fill:null,fillOpacity:k,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:An,g2:An,glyphName:An,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:k,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:k,horizOriginX:k,horizOriginY:k,id:null,ideographic:k,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:k,k,k1:k,k2:k,k3:k,k4:k,kernelMatrix:Z,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:k,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:k,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:k,overlineThickness:k,paintOrder:null,panose1:null,path:null,pathLength:k,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:B,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:k,pointsAtY:k,pointsAtZ:k,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Z,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Z,rev:Z,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Z,requiredFeatures:Z,requiredFonts:Z,requiredFormats:Z,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:k,specularExponent:k,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:k,strikethroughThickness:k,string:null,stroke:null,strokeDashArray:Z,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:k,strokeOpacity:k,strokeWidth:null,style:null,surfaceScale:k,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Z,tabIndex:k,tableValues:null,target:null,targetX:k,targetY:k,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Z,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:k,underlineThickness:k,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:k,values:null,vAlphabetic:k,vMathematical:k,vectorEffect:null,vHanging:k,vIdeographic:k,version:null,vertAdvY:k,vertOriginX:k,vertOriginY:k,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:k,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Or=/^data[-\w.:]+$/i,He=/-[a-z]/g,Dr=/[A-Z]/g;function Fr(n,e){const t=se(e);let r=e,i=tn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Or.test(e)){if(e.charAt(4)==="-"){const l=e.slice(5).replace(He,Rr);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=e.slice(4);if(!He.test(l)){let o=l.replace(Dr,vr);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}i=xe}return new i(r,e)}function vr(n){return"-"+n.toLowerCase()}function Rr(n){return n.charAt(1).toUpperCase()}const Mr={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Nr=Tt([Ot,Lt,vt,Rt,zr],"html"),ke=Tt([Ot,Lt,vt,Rt,Lr],"svg");function _r(n){return n.join(" ").trim()}var Mt={},Ue=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Br=/\n/g,jr=/^\s*/,Hr=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Ur=/^:\s*/,Vr=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,qr=/^[;\s]*/,$r=/^\s+|\s+$/g,Wr=`
|
1
|
+
import{c as Ne,g as br,j as Un}from"./@radix-BXWm7HOa.js";function wr(n,e){const t=e||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const Sr=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Cr=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Er={};function _e(n,e){return((e||Er).jsx?Cr:Sr).test(n)}const Ir=/[ \t\n\f\r]/g;function Ar(n){return typeof n=="object"?n.type==="text"?Be(n.value):!1:Be(n)}function Be(n){return n.replace(Ir,"")===""}class Nn{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}}Nn.prototype.property={};Nn.prototype.normal={};Nn.prototype.space=null;function Tt(n,e){const t={},r={};let i=-1;for(;++i<n.length;)Object.assign(t,n[i].property),Object.assign(r,n[i].normal);return new Nn(t,r,e)}function se(n){return n.toLowerCase()}class tn{constructor(e,t){this.property=e,this.attribute=t}}tn.prototype.space=null;tn.prototype.boolean=!1;tn.prototype.booleanish=!1;tn.prototype.overloadedBoolean=!1;tn.prototype.number=!1;tn.prototype.commaSeparated=!1;tn.prototype.spaceSeparated=!1;tn.prototype.commaOrSpaceSeparated=!1;tn.prototype.mustUseProperty=!1;tn.prototype.defined=!1;let Pr=0;const L=Sn(),$=Sn(),zt=Sn(),k=Sn(),B=Sn(),An=Sn(),Z=Sn();function Sn(){return 2**++Pr}const ce=Object.freeze(Object.defineProperty({__proto__:null,boolean:L,booleanish:$,commaOrSpaceSeparated:Z,commaSeparated:An,number:k,overloadedBoolean:zt,spaceSeparated:B},Symbol.toStringTag,{value:"Module"})),Gn=Object.keys(ce);class xe extends tn{constructor(e,t,r,i){let l=-1;if(super(e,t),je(this,"space",i),typeof r=="number")for(;++l<Gn.length;){const o=Gn[l];je(this,Gn[l],(r&ce[o])===ce[o])}}}xe.prototype.defined=!0;function je(n,e,t){t&&(n[e]=t)}const Tr={}.hasOwnProperty;function Tn(n){const e={},t={};let r;for(r in n.properties)if(Tr.call(n.properties,r)){const i=n.properties[r],l=new xe(r,n.transform(n.attributes||{},r),i,n.space);n.mustUseProperty&&n.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),e[r]=l,t[se(r)]=r,t[se(l.attribute)]=r}return new Nn(e,t,n.space)}const Lt=Tn({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Ot=Tn({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Dt(n,e){return e in n?n[e]:e}function Ft(n,e){return Dt(n,e.toLowerCase())}const vt=Tn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ft,properties:{xmlns:null,xmlnsXLink:null}}),Rt=Tn({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:$,ariaAutoComplete:null,ariaBusy:$,ariaChecked:$,ariaColCount:k,ariaColIndex:k,ariaColSpan:k,ariaControls:B,ariaCurrent:null,ariaDescribedBy:B,ariaDetails:null,ariaDisabled:$,ariaDropEffect:B,ariaErrorMessage:null,ariaExpanded:$,ariaFlowTo:B,ariaGrabbed:$,ariaHasPopup:null,ariaHidden:$,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:B,ariaLevel:k,ariaLive:null,ariaModal:$,ariaMultiLine:$,ariaMultiSelectable:$,ariaOrientation:null,ariaOwns:B,ariaPlaceholder:null,ariaPosInSet:k,ariaPressed:$,ariaReadOnly:$,ariaRelevant:null,ariaRequired:$,ariaRoleDescription:B,ariaRowCount:k,ariaRowIndex:k,ariaRowSpan:k,ariaSelected:$,ariaSetSize:k,ariaSort:null,ariaValueMax:k,ariaValueMin:k,ariaValueNow:k,ariaValueText:null,role:null}}),zr=Tn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ft,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:An,acceptCharset:B,accessKey:B,action:null,allow:null,allowFullScreen:L,allowPaymentRequest:L,allowUserMedia:L,alt:null,as:null,async:L,autoCapitalize:null,autoComplete:B,autoFocus:L,autoPlay:L,blocking:B,capture:null,charSet:null,checked:L,cite:null,className:B,cols:k,colSpan:null,content:null,contentEditable:$,controls:L,controlsList:B,coords:k|An,crossOrigin:null,data:null,dateTime:null,decoding:null,default:L,defer:L,dir:null,dirName:null,disabled:L,download:zt,draggable:$,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:L,formTarget:null,headers:B,height:k,hidden:L,high:k,href:null,hrefLang:null,htmlFor:B,httpEquiv:B,id:null,imageSizes:null,imageSrcSet:null,inert:L,inputMode:null,integrity:null,is:null,isMap:L,itemId:null,itemProp:B,itemRef:B,itemScope:L,itemType:B,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:L,low:k,manifest:null,max:null,maxLength:k,media:null,method:null,min:null,minLength:k,multiple:L,muted:L,name:null,nonce:null,noModule:L,noValidate:L,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:L,optimum:k,pattern:null,ping:B,placeholder:null,playsInline:L,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:L,referrerPolicy:null,rel:B,required:L,reversed:L,rows:k,rowSpan:k,sandbox:B,scope:null,scoped:L,seamless:L,selected:L,shadowRootClonable:L,shadowRootDelegatesFocus:L,shadowRootMode:null,shape:null,size:k,sizes:null,slot:null,span:k,spellCheck:$,src:null,srcDoc:null,srcLang:null,srcSet:null,start:k,step:null,style:null,tabIndex:k,target:null,title:null,translate:null,type:null,typeMustMatch:L,useMap:null,value:$,width:k,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:B,axis:null,background:null,bgColor:null,border:k,borderColor:null,bottomMargin:k,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:L,declare:L,event:null,face:null,frame:null,frameBorder:null,hSpace:k,leftMargin:k,link:null,longDesc:null,lowSrc:null,marginHeight:k,marginWidth:k,noResize:L,noHref:L,noShade:L,noWrap:L,object:null,profile:null,prompt:null,rev:null,rightMargin:k,rules:null,scheme:null,scrolling:$,standby:null,summary:null,text:null,topMargin:k,valueType:null,version:null,vAlign:null,vLink:null,vSpace:k,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:L,disableRemotePlayback:L,prefix:null,property:null,results:k,security:null,unselectable:null}}),Lr=Tn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Dt,properties:{about:Z,accentHeight:k,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:k,amplitude:k,arabicForm:null,ascent:k,attributeName:null,attributeType:null,azimuth:k,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:k,by:null,calcMode:null,capHeight:k,className:B,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:k,diffuseConstant:k,direction:null,display:null,dur:null,divisor:k,dominantBaseline:null,download:L,dx:null,dy:null,edgeMode:null,editable:null,elevation:k,enableBackground:null,end:null,event:null,exponent:k,externalResourcesRequired:null,fill:null,fillOpacity:k,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:An,g2:An,glyphName:An,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:k,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:k,horizOriginX:k,horizOriginY:k,id:null,ideographic:k,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:k,k,k1:k,k2:k,k3:k,k4:k,kernelMatrix:Z,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:k,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:k,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:k,overlineThickness:k,paintOrder:null,panose1:null,path:null,pathLength:k,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:B,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:k,pointsAtY:k,pointsAtZ:k,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Z,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Z,rev:Z,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Z,requiredFeatures:Z,requiredFonts:Z,requiredFormats:Z,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:k,specularExponent:k,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:k,strikethroughThickness:k,string:null,stroke:null,strokeDashArray:Z,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:k,strokeOpacity:k,strokeWidth:null,style:null,surfaceScale:k,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Z,tabIndex:k,tableValues:null,target:null,targetX:k,targetY:k,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Z,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:k,underlineThickness:k,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:k,values:null,vAlphabetic:k,vMathematical:k,vectorEffect:null,vHanging:k,vIdeographic:k,version:null,vertAdvY:k,vertOriginX:k,vertOriginY:k,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:k,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Or=/^data[-\w.:]+$/i,He=/-[a-z]/g,Dr=/[A-Z]/g;function Fr(n,e){const t=se(e);let r=e,i=tn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Or.test(e)){if(e.charAt(4)==="-"){const l=e.slice(5).replace(He,Rr);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=e.slice(4);if(!He.test(l)){let o=l.replace(Dr,vr);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}i=xe}return new i(r,e)}function vr(n){return"-"+n.toLowerCase()}function Rr(n){return n.charAt(1).toUpperCase()}const Mr={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Nr=Tt([Ot,Lt,vt,Rt,zr],"html"),ke=Tt([Ot,Lt,vt,Rt,Lr],"svg");function _r(n){return n.join(" ").trim()}var Mt={},Ue=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Br=/\n/g,jr=/^\s*/,Hr=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Ur=/^:\s*/,Vr=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,qr=/^[;\s]*/,$r=/^\s+|\s+$/g,Wr=`
|
2
2
|
`,Ve="/",qe="*",wn="",Qr="comment",Xr="declaration",Yr=function(n,e){if(typeof n!="string")throw new TypeError("First argument must be a string");if(!n)return[];e=e||{};var t=1,r=1;function i(y){var b=y.match(Br);b&&(t+=b.length);var I=y.lastIndexOf(Wr);r=~I?y.length-I:r+y.length}function l(){var y={line:t,column:r};return function(b){return b.position=new o(y),s(),b}}function o(y){this.start=y,this.end={line:t,column:r},this.source=e.source}o.prototype.content=n;function a(y){var b=new Error(e.source+":"+t+":"+r+": "+y);if(b.reason=y,b.filename=e.source,b.line=t,b.column=r,b.source=n,!e.silent)throw b}function u(y){var b=y.exec(n);if(b){var I=b[0];return i(I),n=n.slice(I.length),b}}function s(){u(jr)}function c(y){var b;for(y=y||[];b=f();)b!==!1&&y.push(b);return y}function f(){var y=l();if(!(Ve!=n.charAt(0)||qe!=n.charAt(1))){for(var b=2;wn!=n.charAt(b)&&(qe!=n.charAt(b)||Ve!=n.charAt(b+1));)++b;if(b+=2,wn===n.charAt(b-1))return a("End of comment missing");var I=n.slice(2,b-2);return r+=2,i(I),n=n.slice(b),r+=2,y({type:Qr,comment:I})}}function d(){var y=l(),b=u(Hr);if(b){if(f(),!u(Ur))return a("property missing ':'");var I=u(Vr),w=y({type:Xr,property:$e(b[0].replace(Ue,wn)),value:I?$e(I[0].replace(Ue,wn)):wn});return u(qr),w}}function p(){var y=[];c(y);for(var b;b=d();)b!==!1&&(y.push(b),c(y));return y}return s(),p()};function $e(n){return n?n.replace($r,wn):wn}var Kr=Ne&&Ne.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Mt,"__esModule",{value:!0});var Jr=Kr(Yr);function Gr(n,e){var t=null;if(!n||typeof n!="string")return t;var r=(0,Jr.default)(n),i=typeof e=="function";return r.forEach(function(l){if(l.type==="declaration"){var o=l.property,a=l.value;i?e(o,a,l):a&&(t=t||{},t[o]=a)}}),t}var We=Mt.default=Gr;const Zr=We.default||We,Nt=_t("end"),be=_t("start");function _t(n){return e;function e(t){const r=t&&t.position&&t.position[n]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function ni(n){const e=be(n),t=Nt(n);if(e&&t)return{start:e,end:t}}function vn(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Qe(n.position):"start"in n||"end"in n?Qe(n):"line"in n||"column"in n?pe(n):""}function pe(n){return Xe(n&&n.line)+":"+Xe(n&&n.column)}function Qe(n){return pe(n&&n.start)+"-"+pe(n&&n.end)}function Xe(n){return n&&typeof n=="number"?n:1}class Y extends Error{constructor(e,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",l={},o=!1;if(t&&("line"in t&&"column"in t?l={place:t}:"start"in t&&"end"in t?l={place:t}:"type"in t?l={ancestors:[t],place:t.position}:l={...t}),typeof e=="string"?i=e:!l.cause&&e&&(o=!0,i=e.message,l.cause=e),!l.ruleId&&!l.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?l.ruleId=r:(l.source=r.slice(0,u),l.ruleId=r.slice(u+1))}if(!l.place&&l.ancestors&&l.ancestors){const u=l.ancestors[l.ancestors.length-1];u&&(l.place=u.position)}const a=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=vn(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=o&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual,this.expected,this.note,this.url}}Y.prototype.file="";Y.prototype.name="";Y.prototype.reason="";Y.prototype.message="";Y.prototype.stack="";Y.prototype.column=void 0;Y.prototype.line=void 0;Y.prototype.ancestors=void 0;Y.prototype.cause=void 0;Y.prototype.fatal=void 0;Y.prototype.place=void 0;Y.prototype.ruleId=void 0;Y.prototype.source=void 0;const we={}.hasOwnProperty,ei=new Map,ti=/[A-Z]/g,ri=/-([a-z])/g,ii=new Set(["table","tbody","thead","tfoot","tr"]),li=new Set(["td","th"]),Bt="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function oi(n,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=e.filePath||void 0;let r;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=mi(t,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=hi(t,e.jsx,e.jsxs)}const i={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:r,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?ke:Nr,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},l=jt(i,n,void 0);return l&&typeof l!="string"?l:i.create(n,i.Fragment,{children:l||void 0},void 0)}function jt(n,e,t){if(e.type==="element")return ai(n,e,t);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return ui(n,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return ci(n,e,t);if(e.type==="mdxjsEsm")return si(n,e);if(e.type==="root")return pi(n,e,t);if(e.type==="text")return fi(n,e)}function ai(n,e,t){const r=n.schema;let i=r;e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=ke,n.schema=i),n.ancestors.push(e);const l=Ut(n,e.tagName,!1),o=di(n,e);let a=Ce(n,e);return ii.has(e.tagName)&&(a=a.filter(function(u){return typeof u=="string"?!Ar(u):!0})),Ht(n,o,l,e),Se(o,a),n.ancestors.pop(),n.schema=r,n.create(e,l,o,t)}function ui(n,e){if(e.data&&e.data.estree&&n.evaluater){const r=e.data.estree.body[0];return r.type,n.evaluater.evaluateExpression(r.expression)}Mn(n,e.position)}function si(n,e){if(e.data&&e.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(e.data.estree);Mn(n,e.position)}function ci(n,e,t){const r=n.schema;let i=r;e.name==="svg"&&r.space==="html"&&(i=ke,n.schema=i),n.ancestors.push(e);const l=e.name===null?n.Fragment:Ut(n,e.name,!0),o=gi(n,e),a=Ce(n,e);return Ht(n,o,l,e),Se(o,a),n.ancestors.pop(),n.schema=r,n.create(e,l,o,t)}function pi(n,e,t){const r={};return Se(r,Ce(n,e)),n.create(e,n.Fragment,r,t)}function fi(n,e){return e.value}function Ht(n,e,t,r){typeof t!="string"&&t!==n.Fragment&&n.passNode&&(e.node=r)}function Se(n,e){if(e.length>0){const t=e.length>1?e:e[0];t&&(n.children=t)}}function hi(n,e,t){return r;function r(i,l,o,a){const s=Array.isArray(o.children)?t:e;return a?s(l,o,a):s(l,o)}}function mi(n,e){return t;function t(r,i,l,o){const a=Array.isArray(l.children),u=be(r);return e(i,l,o,a,{columnNumber:u?u.column-1:void 0,fileName:n,lineNumber:u?u.line:void 0},void 0)}}function di(n,e){const t={};let r,i;for(i in e.properties)if(i!=="children"&&we.call(e.properties,i)){const l=yi(n,i,e.properties[i]);if(l){const[o,a]=l;n.tableCellAlignToStyle&&o==="align"&&typeof a=="string"&&li.has(e.tagName)?r=a:t[o]=a}}if(r){const l=t.style||(t.style={});l[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return t}function gi(n,e){const t={};for(const r of e.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&n.evaluater){const l=r.data.estree.body[0];l.type;const o=l.expression;o.type;const a=o.properties[0];a.type,Object.assign(t,n.evaluater.evaluateExpression(a.argument))}else Mn(n,e.position);else{const i=r.name;let l;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&n.evaluater){const a=r.value.data.estree.body[0];a.type,l=n.evaluater.evaluateExpression(a.expression)}else Mn(n,e.position);else l=r.value===null?!0:r.value;t[i]=l}return t}function Ce(n,e){const t=[];let r=-1;const i=n.passKeys?new Map:ei;for(;++r<e.children.length;){const l=e.children[r];let o;if(n.passKeys){const u=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(u){const s=i.get(u)||0;o=u+"-"+s,i.set(u,s+1)}}const a=jt(n,l,o);a!==void 0&&t.push(a)}return t}function yi(n,e,t){const r=Fr(n.schema,e);if(!(t==null||typeof t=="number"&&Number.isNaN(t))){if(Array.isArray(t)&&(t=r.commaSeparated?wr(t):_r(t)),r.property==="style"){let i=typeof t=="object"?t:xi(n,String(t));return n.stylePropertyNameCase==="css"&&(i=ki(i)),["style",i]}return[n.elementAttributeNameCase==="react"&&r.space?Mr[r.property]||r.property:r.attribute,t]}}function xi(n,e){const t={};try{Zr(e,r)}catch(i){if(!n.ignoreInvalidStyle){const l=i,o=new Y("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:l,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=n.filePath||void 0,o.url=Bt+"#cannot-parse-style-attribute",o}}return t;function r(i,l){let o=i;o.slice(0,2)!=="--"&&(o.slice(0,4)==="-ms-"&&(o="ms-"+o.slice(4)),o=o.replace(ri,wi)),t[o]=l}}function Ut(n,e,t){let r;if(!t)r={type:"Literal",value:e};else if(e.includes(".")){const i=e.split(".");let l=-1,o;for(;++l<i.length;){const a=_e(i[l])?{type:"Identifier",name:i[l]}:{type:"Literal",value:i[l]};o=o?{type:"MemberExpression",object:o,property:a,computed:!!(l&&a.type==="Literal"),optional:!1}:a}r=o}else r=_e(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(r.type==="Literal"){const i=r.value;return we.call(n.components,i)?n.components[i]:i}if(n.evaluater)return n.evaluater.evaluateExpression(r);Mn(n)}function Mn(n,e){const t=new Y("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=n.filePath||void 0,t.url=Bt+"#cannot-handle-mdx-estrees-without-createevaluater",t}function ki(n){const e={};let t;for(t in n)we.call(n,t)&&(e[bi(t)]=n[t]);return e}function bi(n){let e=n.replace(ti,Si);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function wi(n,e){return e.toUpperCase()}function Si(n){return"-"+n.toLowerCase()}const Zn={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Ci={};function Ei(n,e){const t=e||Ci,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return Vt(n,r,i)}function Vt(n,e,t){if(Ii(n)){if("value"in n)return n.type==="html"&&!t?"":n.value;if(e&&"alt"in n&&n.alt)return n.alt;if("children"in n)return Ye(n.children,e,t)}return Array.isArray(n)?Ye(n,e,t):""}function Ye(n,e,t){const r=[];let i=-1;for(;++i<n.length;)r[i]=Vt(n[i],e,t);return r.join("")}function Ii(n){return!!(n&&typeof n=="object")}const Ke=document.createElement("i");function Ee(n){const e="&"+n+";";Ke.innerHTML=e;const t=Ke.textContent;return t.charCodeAt(t.length-1)===59&&n!=="semi"||t===e?!1:t}function cn(n,e,t,r){const i=n.length;let l=0,o;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(e,t),n.splice(...o);else for(t&&n.splice(e,t);l<r.length;)o=r.slice(l,l+1e4),o.unshift(e,0),n.splice(...o),l+=1e4,e+=1e4}function en(n,e){return n.length>0?(cn(n,n.length,0,e),n):e}const Je={}.hasOwnProperty;function Ai(n){const e={};let t=-1;for(;++t<n.length;)Pi(e,n[t]);return e}function Pi(n,e){let t;for(t in e){const i=(Je.call(n,t)?n[t]:void 0)||(n[t]={}),l=e[t];let o;if(l)for(o in l){Je.call(i,o)||(i[o]=[]);const a=l[o];Ti(i[o],Array.isArray(a)?a:a?[a]:[])}}}function Ti(n,e){let t=-1;const r=[];for(;++t<e.length;)(e[t].add==="after"?n:r).push(e[t]);cn(n,0,0,r)}function qt(n,e){const t=Number.parseInt(n,e);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function Pn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const sn=yn(/[A-Za-z]/),nn=yn(/[\dA-Za-z]/),zi=yn(/[#-'*+\--9=?A-Z^-~]/);function fe(n){return n!==null&&(n<32||n===127)}const he=yn(/\d/),Li=yn(/[\dA-Fa-f]/),Oi=yn(/[!-/:-@[-`{-~]/);function T(n){return n!==null&&n<-2}function J(n){return n!==null&&(n<0||n===32)}function M(n){return n===-2||n===-1||n===32}const Di=yn(new RegExp("\\p{P}|\\p{S}","u")),Fi=yn(/\s/);function yn(n){return e;function e(t){return t!==null&&t>-1&&n.test(String.fromCharCode(t))}}function zn(n){const e=[];let t=-1,r=0,i=0;for(;++t<n.length;){const l=n.charCodeAt(t);let o="";if(l===37&&nn(n.charCodeAt(t+1))&&nn(n.charCodeAt(t+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){const a=n.charCodeAt(t+1);l<56320&&a>56319&&a<57344?(o=String.fromCharCode(l,a),i=1):o="�"}else o=String.fromCharCode(l);o&&(e.push(n.slice(r,t),encodeURIComponent(o)),r=t+i+1,o=""),i&&(t+=i,i=0)}return e.join("")+n.slice(r)}function j(n,e,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(u){return M(u)?(n.enter(t),a(u)):e(u)}function a(u){return M(u)&&l++<i?(n.consume(u),a):(n.exit(t),e(u))}}const vi={tokenize:Ri};function Ri(n){const e=n.attempt(this.parser.constructs.contentInitial,r,i);let t;return e;function r(a){if(a===null){n.consume(a);return}return n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),j(n,e,"linePrefix")}function i(a){return n.enter("paragraph"),l(a)}function l(a){const u=n.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=u),t=u,o(a)}function o(a){if(a===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(a);return}return T(a)?(n.consume(a),n.exit("chunkText"),l):(n.consume(a),o)}}const Mi={tokenize:Ni},Ge={tokenize:_i};function Ni(n){const e=this,t=[];let r=0,i,l,o;return a;function a(C){if(r<t.length){const v=t[r];return e.containerState=v[1],n.attempt(v[0].continuation,u,s)(C)}return s(C)}function u(C){if(r++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&E();const v=e.events.length;let O=v,x;for(;O--;)if(e.events[O][0]==="exit"&&e.events[O][1].type==="chunkFlow"){x=e.events[O][1].end;break}w(r);let R=v;for(;R<e.events.length;)e.events[R][1].end=Object.assign({},x),R++;return cn(e.events,O+1,0,e.events.slice(v)),e.events.length=R,s(C)}return a(C)}function s(C){if(r===t.length){if(!i)return d(C);if(i.currentConstruct&&i.currentConstruct.concrete)return y(C);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},n.check(Ge,c,f)(C)}function c(C){return i&&E(),w(r),d(C)}function f(C){return e.parser.lazy[e.now().line]=r!==t.length,o=e.now().offset,y(C)}function d(C){return e.containerState={},n.attempt(Ge,p,y)(C)}function p(C){return r++,t.push([e.currentConstruct,e.containerState]),d(C)}function y(C){if(C===null){i&&E(),w(0),n.consume(C);return}return i=i||e.parser.flow(e.now()),n.enter("chunkFlow",{contentType:"flow",previous:l,_tokenizer:i}),b(C)}function b(C){if(C===null){I(n.exit("chunkFlow"),!0),w(0),n.consume(C);return}return T(C)?(n.consume(C),I(n.exit("chunkFlow")),r=0,e.interrupt=void 0,a):(n.consume(C),b)}function I(C,v){const O=e.sliceStream(C);if(v&&O.push(null),C.previous=l,l&&(l.next=C),l=C,i.defineSkip(C.start),i.write(O),e.parser.lazy[C.start.line]){let x=i.events.length;for(;x--;)if(i.events[x][1].start.offset<o&&(!i.events[x][1].end||i.events[x][1].end.offset>o))return;const R=e.events.length;let V=R,_,H;for(;V--;)if(e.events[V][0]==="exit"&&e.events[V][1].type==="chunkFlow"){if(_){H=e.events[V][1].end;break}_=!0}for(w(r),x=R;x<e.events.length;)e.events[x][1].end=Object.assign({},H),x++;cn(e.events,V+1,0,e.events.slice(R)),e.events.length=x}}function w(C){let v=t.length;for(;v-- >C;){const O=t[v];e.containerState=O[1],O[0].exit.call(e,n)}t.length=C}function E(){i.write([null]),l=void 0,i=void 0,e.containerState._closeFlow=void 0}}function _i(n,e,t){return j(n,n.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ze(n){if(n===null||J(n)||Fi(n))return 1;if(Di(n))return 2}function Ie(n,e,t){const r=[];let i=-1;for(;++i<n.length;){const l=n[i].resolveAll;l&&!r.includes(l)&&(e=l(e,t),r.push(l))}return e}const me={name:"attention",tokenize:ji,resolveAll:Bi};function Bi(n,e){let t=-1,r,i,l,o,a,u,s,c;for(;++t<n.length;)if(n[t][0]==="enter"&&n[t][1].type==="attentionSequence"&&n[t][1]._close){for(r=t;r--;)if(n[r][0]==="exit"&&n[r][1].type==="attentionSequence"&&n[r][1]._open&&e.sliceSerialize(n[r][1]).charCodeAt(0)===e.sliceSerialize(n[t][1]).charCodeAt(0)){if((n[r][1]._close||n[t][1]._open)&&(n[t][1].end.offset-n[t][1].start.offset)%3&&!((n[r][1].end.offset-n[r][1].start.offset+n[t][1].end.offset-n[t][1].start.offset)%3))continue;u=n[r][1].end.offset-n[r][1].start.offset>1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const f=Object.assign({},n[r][1].end),d=Object.assign({},n[t][1].start);nt(f,-u),nt(d,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},n[r][1].end)},a={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[t][1].start),end:d},l={type:u>1?"strongText":"emphasisText",start:Object.assign({},n[r][1].end),end:Object.assign({},n[t][1].start)},i={type:u>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},n[r][1].end=Object.assign({},o.start),n[t][1].start=Object.assign({},a.end),s=[],n[r][1].end.offset-n[r][1].start.offset&&(s=en(s,[["enter",n[r][1],e],["exit",n[r][1],e]])),s=en(s,[["enter",i,e],["enter",o,e],["exit",o,e],["enter",l,e]]),s=en(s,Ie(e.parser.constructs.insideSpan.null,n.slice(r+1,t),e)),s=en(s,[["exit",l,e],["enter",a,e],["exit",a,e],["exit",i,e]]),n[t][1].end.offset-n[t][1].start.offset?(c=2,s=en(s,[["enter",n[t][1],e],["exit",n[t][1],e]])):c=0,cn(n,r-1,t-r+3,s),t=r+s.length-c-2;break}}for(t=-1;++t<n.length;)n[t][1].type==="attentionSequence"&&(n[t][1].type="data");return n}function ji(n,e){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Ze(r);let l;return o;function o(u){return l=u,n.enter("attentionSequence"),a(u)}function a(u){if(u===l)return n.consume(u),a;const s=n.exit("attentionSequence"),c=Ze(u),f=!c||c===2&&i||t.includes(u),d=!i||i===2&&c||t.includes(r);return s._open=!!(l===42?f:f&&(i||!d)),s._close=!!(l===42?d:d&&(c||!f)),e(u)}}function nt(n,e){n.column+=e,n.offset+=e,n._bufferIndex+=e}const Hi={name:"autolink",tokenize:Ui};function Ui(n,e,t){let r=0;return i;function i(p){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(p),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),l}function l(p){return sn(p)?(n.consume(p),o):s(p)}function o(p){return p===43||p===45||p===46||nn(p)?(r=1,a(p)):s(p)}function a(p){return p===58?(n.consume(p),r=0,u):(p===43||p===45||p===46||nn(p))&&r++<32?(n.consume(p),a):(r=0,s(p))}function u(p){return p===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(p),n.exit("autolinkMarker"),n.exit("autolink"),e):p===null||p===32||p===60||fe(p)?t(p):(n.consume(p),u)}function s(p){return p===64?(n.consume(p),c):zi(p)?(n.consume(p),s):t(p)}function c(p){return nn(p)?f(p):t(p)}function f(p){return p===46?(n.consume(p),r=0,c):p===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(p),n.exit("autolinkMarker"),n.exit("autolink"),e):d(p)}function d(p){if((p===45||nn(p))&&r++<63){const y=p===45?d:f;return n.consume(p),y}return t(p)}}const Xn={tokenize:Vi,partial:!0};function Vi(n,e,t){return r;function r(l){return M(l)?j(n,i,"linePrefix")(l):i(l)}function i(l){return l===null||T(l)?e(l):t(l)}}const $t={name:"blockQuote",tokenize:qi,continuation:{tokenize:$i},exit:Wi};function qi(n,e,t){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(n.enter("blockQuote",{_container:!0}),a.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(o),n.exit("blockQuoteMarker"),l}return t(o)}function l(o){return M(o)?(n.enter("blockQuotePrefixWhitespace"),n.consume(o),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),e):(n.exit("blockQuotePrefix"),e(o))}}function $i(n,e,t){const r=this;return i;function i(o){return M(o)?j(n,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):l(o)}function l(o){return n.attempt($t,e,t)(o)}}function Wi(n){n.exit("blockQuote")}const Wt={name:"characterEscape",tokenize:Qi};function Qi(n,e,t){return r;function r(l){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(l),n.exit("escapeMarker"),i}function i(l){return Oi(l)?(n.enter("characterEscapeValue"),n.consume(l),n.exit("characterEscapeValue"),n.exit("characterEscape"),e):t(l)}}const Qt={name:"characterReference",tokenize:Xi};function Xi(n,e,t){const r=this;let i=0,l,o;return a;function a(f){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(f),n.exit("characterReferenceMarker"),u}function u(f){return f===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(f),n.exit("characterReferenceMarkerNumeric"),s):(n.enter("characterReferenceValue"),l=31,o=nn,c(f))}function s(f){return f===88||f===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(f),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),l=6,o=Li,c):(n.enter("characterReferenceValue"),l=7,o=he,c(f))}function c(f){if(f===59&&i){const d=n.exit("characterReferenceValue");return o===nn&&!Ee(r.sliceSerialize(d))?t(f):(n.enter("characterReferenceMarker"),n.consume(f),n.exit("characterReferenceMarker"),n.exit("characterReference"),e)}return o(f)&&i++<l?(n.consume(f),c):t(f)}}const et={tokenize:Ki,partial:!0},tt={name:"codeFenced",tokenize:Yi,concrete:!0};function Yi(n,e,t){const r=this,i={tokenize:O,partial:!0};let l=0,o=0,a;return u;function u(x){return s(x)}function s(x){const R=r.events[r.events.length-1];return l=R&&R[1].type==="linePrefix"?R[2].sliceSerialize(R[1],!0).length:0,a=x,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),c(x)}function c(x){return x===a?(o++,n.consume(x),c):o<3?t(x):(n.exit("codeFencedFenceSequence"),M(x)?j(n,f,"whitespace")(x):f(x))}function f(x){return x===null||T(x)?(n.exit("codeFencedFence"),r.interrupt?e(x):n.check(et,b,v)(x)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),d(x))}function d(x){return x===null||T(x)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),f(x)):M(x)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),j(n,p,"whitespace")(x)):x===96&&x===a?t(x):(n.consume(x),d)}function p(x){return x===null||T(x)?f(x):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),y(x))}function y(x){return x===null||T(x)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),f(x)):x===96&&x===a?t(x):(n.consume(x),y)}function b(x){return n.attempt(i,v,I)(x)}function I(x){return n.enter("lineEnding"),n.consume(x),n.exit("lineEnding"),w}function w(x){return l>0&&M(x)?j(n,E,"linePrefix",l+1)(x):E(x)}function E(x){return x===null||T(x)?n.check(et,b,v)(x):(n.enter("codeFlowValue"),C(x))}function C(x){return x===null||T(x)?(n.exit("codeFlowValue"),E(x)):(n.consume(x),C)}function v(x){return n.exit("codeFenced"),e(x)}function O(x,R,V){let _=0;return H;function H(F){return x.enter("lineEnding"),x.consume(F),x.exit("lineEnding"),P}function P(F){return x.enter("codeFencedFence"),M(F)?j(x,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):A(F)}function A(F){return F===a?(x.enter("codeFencedFenceSequence"),U(F)):V(F)}function U(F){return F===a?(_++,x.consume(F),U):_>=o?(x.exit("codeFencedFenceSequence"),M(F)?j(x,q,"whitespace")(F):q(F)):V(F)}function q(F){return F===null||T(F)?(x.exit("codeFencedFence"),R(F)):V(F)}}}function Ki(n,e,t){const r=this;return i;function i(o){return o===null?t(o):(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),l)}function l(o){return r.parser.lazy[r.now().line]?t(o):e(o)}}const ne={name:"codeIndented",tokenize:Gi},Ji={tokenize:Zi,partial:!0};function Gi(n,e,t){const r=this;return i;function i(s){return n.enter("codeIndented"),j(n,l,"linePrefix",5)(s)}function l(s){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(s):t(s)}function o(s){return s===null?u(s):T(s)?n.attempt(Ji,o,u)(s):(n.enter("codeFlowValue"),a(s))}function a(s){return s===null||T(s)?(n.exit("codeFlowValue"),o(s)):(n.consume(s),a)}function u(s){return n.exit("codeIndented"),e(s)}}function Zi(n,e,t){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):T(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),i):j(n,l,"linePrefix",5)(o)}function l(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(o):T(o)?i(o):t(o)}}const nl={name:"codeText",tokenize:rl,resolve:el,previous:tl};function el(n){let e=n.length-4,t=3,r,i;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[e][1].type==="lineEnding"||n[e][1].type==="space")){for(r=t;++r<e;)if(n[r][1].type==="codeTextData"){n[t][1].type="codeTextPadding",n[e][1].type="codeTextPadding",t+=2,e-=2;break}}for(r=t-1,e++;++r<=e;)i===void 0?r!==e&&n[r][1].type!=="lineEnding"&&(i=r):(r===e||n[r][1].type==="lineEnding")&&(n[i][1].type="codeTextData",r!==i+2&&(n[i][1].end=n[r-1][1].end,n.splice(i+2,r-i-2),e-=r-i-2,r=i+2),i=void 0);return n}function tl(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function rl(n,e,t){let r=0,i,l;return o;function o(f){return n.enter("codeText"),n.enter("codeTextSequence"),a(f)}function a(f){return f===96?(n.consume(f),r++,a):(n.exit("codeTextSequence"),u(f))}function u(f){return f===null?t(f):f===32?(n.enter("space"),n.consume(f),n.exit("space"),u):f===96?(l=n.enter("codeTextSequence"),i=0,c(f)):T(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),u):(n.enter("codeTextData"),s(f))}function s(f){return f===null||f===32||f===96||T(f)?(n.exit("codeTextData"),u(f)):(n.consume(f),s)}function c(f){return f===96?(n.consume(f),i++,c):i===r?(n.exit("codeTextSequence"),n.exit("codeText"),e(f)):(l.type="codeTextData",s(f))}}function Xt(n){const e={};let t=-1,r,i,l,o,a,u,s;for(;++t<n.length;){for(;t in e;)t=e[t];if(r=n[t],t&&r[1].type==="chunkFlow"&&n[t-1][1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,l=0,l<u.length&&u[l][1].type==="lineEndingBlank"&&(l+=2),l<u.length&&u[l][1].type==="content"))for(;++l<u.length&&u[l][1].type!=="content";)u[l][1].type==="chunkText"&&(u[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(e,il(n,t)),t=e[t],s=!0);else if(r[1]._container){for(l=t,i=void 0;l--&&(o=n[l],o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(i&&(n[i][1].type="lineEndingBlank"),o[1].type="lineEnding",i=l);i&&(r[1].end=Object.assign({},n[i][1].start),a=n.slice(i,t),a.unshift(r),cn(n,i,t-i+1,a))}}return!s}function il(n,e){const t=n[e][1],r=n[e][2];let i=e-1;const l=[],o=t._tokenizer||r.parser[t.contentType](t.start),a=o.events,u=[],s={};let c,f,d=-1,p=t,y=0,b=0;const I=[b];for(;p;){for(;n[++i][1]!==p;);l.push(i),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),f&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(c),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=t;++d<a.length;)a[d][0]==="exit"&&a[d-1][0]==="enter"&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(b=d+1,I.push(b),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):I.pop(),d=I.length;d--;){const w=a.slice(I[d],I[d+1]),E=l.pop();u.unshift([E,E+w.length-1]),cn(n,E,2,w)}for(d=-1;++d<u.length;)s[y+u[d][0]]=y+u[d][1],y+=u[d][1]-u[d][0]-1;return s}const ll={tokenize:ul,resolve:al},ol={tokenize:sl,partial:!0};function al(n){return Xt(n),n}function ul(n,e){let t;return r;function r(a){return n.enter("content"),t=n.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?l(a):T(a)?n.check(ol,o,l)(a):(n.consume(a),i)}function l(a){return n.exit("chunkContent"),n.exit("content"),e(a)}function o(a){return n.consume(a),n.exit("chunkContent"),t.next=n.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function sl(n,e,t){const r=this;return i;function i(o){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),j(n,l,"linePrefix")}function l(o){if(o===null||T(o))return t(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(o):n.interrupt(r.parser.constructs.flow,t,e)(o)}}function Yt(n,e,t,r,i,l,o,a,u){const s=u||Number.POSITIVE_INFINITY;let c=0;return f;function f(w){return w===60?(n.enter(r),n.enter(i),n.enter(l),n.consume(w),n.exit(l),d):w===null||w===32||w===41||fe(w)?t(w):(n.enter(r),n.enter(o),n.enter(a),n.enter("chunkString",{contentType:"string"}),b(w))}function d(w){return w===62?(n.enter(l),n.consume(w),n.exit(l),n.exit(i),n.exit(r),e):(n.enter(a),n.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===62?(n.exit("chunkString"),n.exit(a),d(w)):w===null||w===60||T(w)?t(w):(n.consume(w),w===92?y:p)}function y(w){return w===60||w===62||w===92?(n.consume(w),p):p(w)}function b(w){return!c&&(w===null||w===41||J(w))?(n.exit("chunkString"),n.exit(a),n.exit(o),n.exit(r),e(w)):c<s&&w===40?(n.consume(w),c++,b):w===41?(n.consume(w),c--,b):w===null||w===32||w===40||fe(w)?t(w):(n.consume(w),w===92?I:b)}function I(w){return w===40||w===41||w===92?(n.consume(w),b):b(w)}}function Kt(n,e,t,r,i,l){const o=this;let a=0,u;return s;function s(p){return n.enter(r),n.enter(i),n.consume(p),n.exit(i),n.enter(l),c}function c(p){return a>999||p===null||p===91||p===93&&!u||p===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?t(p):p===93?(n.exit(l),n.enter(i),n.consume(p),n.exit(i),n.exit(r),e):T(p)?(n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),c):(n.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||T(p)||a++>999?(n.exit("chunkString"),c(p)):(n.consume(p),u||(u=!M(p)),p===92?d:f)}function d(p){return p===91||p===92||p===93?(n.consume(p),a++,f):f(p)}}function Jt(n,e,t,r,i,l){let o;return a;function a(d){return d===34||d===39||d===40?(n.enter(r),n.enter(i),n.consume(d),n.exit(i),o=d===40?41:d,u):t(d)}function u(d){return d===o?(n.enter(i),n.consume(d),n.exit(i),n.exit(r),e):(n.enter(l),s(d))}function s(d){return d===o?(n.exit(l),u(o)):d===null?t(d):T(d)?(n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),j(n,s,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||T(d)?(n.exit("chunkString"),s(d)):(n.consume(d),d===92?f:c)}function f(d){return d===o||d===92?(n.consume(d),c):c(d)}}function Rn(n,e){let t;return r;function r(i){return T(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),t=!0,r):M(i)?j(n,r,t?"linePrefix":"lineSuffix")(i):e(i)}}const cl={name:"definition",tokenize:fl},pl={tokenize:hl,partial:!0};function fl(n,e,t){const r=this;let i;return l;function l(p){return n.enter("definition"),o(p)}function o(p){return Kt.call(r,n,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=Pn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(n.enter("definitionMarker"),n.consume(p),n.exit("definitionMarker"),u):t(p)}function u(p){return J(p)?Rn(n,s)(p):s(p)}function s(p){return Yt(n,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return n.attempt(pl,f,f)(p)}function f(p){return M(p)?j(n,d,"whitespace")(p):d(p)}function d(p){return p===null||T(p)?(n.exit("definition"),r.parser.defined.push(i),e(p)):t(p)}}function hl(n,e,t){return r;function r(a){return J(a)?Rn(n,i)(a):t(a)}function i(a){return Jt(n,l,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function l(a){return M(a)?j(n,o,"whitespace")(a):o(a)}function o(a){return a===null||T(a)?e(a):t(a)}}const ml={name:"hardBreakEscape",tokenize:dl};function dl(n,e,t){return r;function r(l){return n.enter("hardBreakEscape"),n.consume(l),i}function i(l){return T(l)?(n.exit("hardBreakEscape"),e(l)):t(l)}}const gl={name:"headingAtx",tokenize:xl,resolve:yl};function yl(n,e){let t=n.length-2,r=3,i,l;return n[r][1].type==="whitespace"&&(r+=2),t-2>r&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&n[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:n[r][1].start,end:n[t][1].end},l={type:"chunkText",start:n[r][1].start,end:n[t][1].end,contentType:"text"},cn(n,r,t-r+1,[["enter",i,e],["enter",l,e],["exit",l,e],["exit",i,e]])),n}function xl(n,e,t){let r=0;return i;function i(c){return n.enter("atxHeading"),l(c)}function l(c){return n.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(n.consume(c),o):c===null||J(c)?(n.exit("atxHeadingSequence"),a(c)):t(c)}function a(c){return c===35?(n.enter("atxHeadingSequence"),u(c)):c===null||T(c)?(n.exit("atxHeading"),e(c)):M(c)?j(n,a,"whitespace")(c):(n.enter("atxHeadingText"),s(c))}function u(c){return c===35?(n.consume(c),u):(n.exit("atxHeadingSequence"),a(c))}function s(c){return c===null||c===35||J(c)?(n.exit("atxHeadingText"),a(c)):(n.consume(c),s)}}const kl=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],rt=["pre","script","style","textarea"],bl={name:"htmlFlow",tokenize:El,resolveTo:Cl,concrete:!0},wl={tokenize:Al,partial:!0},Sl={tokenize:Il,partial:!0};function Cl(n){let e=n.length;for(;e--&&!(n[e][0]==="enter"&&n[e][1].type==="htmlFlow"););return e>1&&n[e-2][1].type==="linePrefix"&&(n[e][1].start=n[e-2][1].start,n[e+1][1].start=n[e-2][1].start,n.splice(e-2,2)),n}function El(n,e,t){const r=this;let i,l,o,a,u;return s;function s(m){return c(m)}function c(m){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(m),f}function f(m){return m===33?(n.consume(m),d):m===47?(n.consume(m),l=!0,b):m===63?(n.consume(m),i=3,r.interrupt?e:h):sn(m)?(n.consume(m),o=String.fromCharCode(m),I):t(m)}function d(m){return m===45?(n.consume(m),i=2,p):m===91?(n.consume(m),i=5,a=0,y):sn(m)?(n.consume(m),i=4,r.interrupt?e:h):t(m)}function p(m){return m===45?(n.consume(m),r.interrupt?e:h):t(m)}function y(m){const on="CDATA[";return m===on.charCodeAt(a++)?(n.consume(m),a===on.length?r.interrupt?e:A:y):t(m)}function b(m){return sn(m)?(n.consume(m),o=String.fromCharCode(m),I):t(m)}function I(m){if(m===null||m===47||m===62||J(m)){const on=m===47,xn=o.toLowerCase();return!on&&!l&&rt.includes(xn)?(i=1,r.interrupt?e(m):A(m)):kl.includes(o.toLowerCase())?(i=6,on?(n.consume(m),w):r.interrupt?e(m):A(m)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(m):l?E(m):C(m))}return m===45||nn(m)?(n.consume(m),o+=String.fromCharCode(m),I):t(m)}function w(m){return m===62?(n.consume(m),r.interrupt?e:A):t(m)}function E(m){return M(m)?(n.consume(m),E):H(m)}function C(m){return m===47?(n.consume(m),H):m===58||m===95||sn(m)?(n.consume(m),v):M(m)?(n.consume(m),C):H(m)}function v(m){return m===45||m===46||m===58||m===95||nn(m)?(n.consume(m),v):O(m)}function O(m){return m===61?(n.consume(m),x):M(m)?(n.consume(m),O):C(m)}function x(m){return m===null||m===60||m===61||m===62||m===96?t(m):m===34||m===39?(n.consume(m),u=m,R):M(m)?(n.consume(m),x):V(m)}function R(m){return m===u?(n.consume(m),u=null,_):m===null||T(m)?t(m):(n.consume(m),R)}function V(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||J(m)?O(m):(n.consume(m),V)}function _(m){return m===47||m===62||M(m)?C(m):t(m)}function H(m){return m===62?(n.consume(m),P):t(m)}function P(m){return m===null||T(m)?A(m):M(m)?(n.consume(m),P):t(m)}function A(m){return m===45&&i===2?(n.consume(m),X):m===60&&i===1?(n.consume(m),W):m===62&&i===4?(n.consume(m),ln):m===63&&i===3?(n.consume(m),h):m===93&&i===5?(n.consume(m),pn):T(m)&&(i===6||i===7)?(n.exit("htmlFlowData"),n.check(wl,fn,U)(m)):m===null||T(m)?(n.exit("htmlFlowData"),U(m)):(n.consume(m),A)}function U(m){return n.check(Sl,q,fn)(m)}function q(m){return n.enter("lineEnding"),n.consume(m),n.exit("lineEnding"),F}function F(m){return m===null||T(m)?U(m):(n.enter("htmlFlowData"),A(m))}function X(m){return m===45?(n.consume(m),h):A(m)}function W(m){return m===47?(n.consume(m),o="",rn):A(m)}function rn(m){if(m===62){const on=o.toLowerCase();return rt.includes(on)?(n.consume(m),ln):A(m)}return sn(m)&&o.length<8?(n.consume(m),o+=String.fromCharCode(m),rn):A(m)}function pn(m){return m===93?(n.consume(m),h):A(m)}function h(m){return m===62?(n.consume(m),ln):m===45&&i===2?(n.consume(m),h):A(m)}function ln(m){return m===null||T(m)?(n.exit("htmlFlowData"),fn(m)):(n.consume(m),ln)}function fn(m){return n.exit("htmlFlow"),e(m)}}function Il(n,e,t){const r=this;return i;function i(o){return T(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),l):t(o)}function l(o){return r.parser.lazy[r.now().line]?t(o):e(o)}}function Al(n,e,t){return r;function r(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),n.attempt(Xn,e,t)}}const Pl={name:"htmlText",tokenize:Tl};function Tl(n,e,t){const r=this;let i,l,o;return a;function a(h){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(h),u}function u(h){return h===33?(n.consume(h),s):h===47?(n.consume(h),O):h===63?(n.consume(h),C):sn(h)?(n.consume(h),V):t(h)}function s(h){return h===45?(n.consume(h),c):h===91?(n.consume(h),l=0,y):sn(h)?(n.consume(h),E):t(h)}function c(h){return h===45?(n.consume(h),p):t(h)}function f(h){return h===null?t(h):h===45?(n.consume(h),d):T(h)?(o=f,W(h)):(n.consume(h),f)}function d(h){return h===45?(n.consume(h),p):f(h)}function p(h){return h===62?X(h):h===45?d(h):f(h)}function y(h){const ln="CDATA[";return h===ln.charCodeAt(l++)?(n.consume(h),l===ln.length?b:y):t(h)}function b(h){return h===null?t(h):h===93?(n.consume(h),I):T(h)?(o=b,W(h)):(n.consume(h),b)}function I(h){return h===93?(n.consume(h),w):b(h)}function w(h){return h===62?X(h):h===93?(n.consume(h),w):b(h)}function E(h){return h===null||h===62?X(h):T(h)?(o=E,W(h)):(n.consume(h),E)}function C(h){return h===null?t(h):h===63?(n.consume(h),v):T(h)?(o=C,W(h)):(n.consume(h),C)}function v(h){return h===62?X(h):C(h)}function O(h){return sn(h)?(n.consume(h),x):t(h)}function x(h){return h===45||nn(h)?(n.consume(h),x):R(h)}function R(h){return T(h)?(o=R,W(h)):M(h)?(n.consume(h),R):X(h)}function V(h){return h===45||nn(h)?(n.consume(h),V):h===47||h===62||J(h)?_(h):t(h)}function _(h){return h===47?(n.consume(h),X):h===58||h===95||sn(h)?(n.consume(h),H):T(h)?(o=_,W(h)):M(h)?(n.consume(h),_):X(h)}function H(h){return h===45||h===46||h===58||h===95||nn(h)?(n.consume(h),H):P(h)}function P(h){return h===61?(n.consume(h),A):T(h)?(o=P,W(h)):M(h)?(n.consume(h),P):_(h)}function A(h){return h===null||h===60||h===61||h===62||h===96?t(h):h===34||h===39?(n.consume(h),i=h,U):T(h)?(o=A,W(h)):M(h)?(n.consume(h),A):(n.consume(h),q)}function U(h){return h===i?(n.consume(h),i=void 0,F):h===null?t(h):T(h)?(o=U,W(h)):(n.consume(h),U)}function q(h){return h===null||h===34||h===39||h===60||h===61||h===96?t(h):h===47||h===62||J(h)?_(h):(n.consume(h),q)}function F(h){return h===47||h===62||J(h)?_(h):t(h)}function X(h){return h===62?(n.consume(h),n.exit("htmlTextData"),n.exit("htmlText"),e):t(h)}function W(h){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),rn}function rn(h){return M(h)?j(n,pn,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):pn(h)}function pn(h){return n.enter("htmlTextData"),o(h)}}const Ae={name:"labelEnd",tokenize:vl,resolveTo:Fl,resolveAll:Dl},zl={tokenize:Rl},Ll={tokenize:Ml},Ol={tokenize:Nl};function Dl(n){let e=-1;for(;++e<n.length;){const t=n[e][1];(t.type==="labelImage"||t.type==="labelLink"||t.type==="labelEnd")&&(n.splice(e+1,t.type==="labelImage"?4:2),t.type="data",e++)}return n}function Fl(n,e){let t=n.length,r=0,i,l,o,a;for(;t--;)if(i=n[t][1],l){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;n[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(n[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(l=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=t);const u={type:n[l][1].type==="labelLink"?"link":"image",start:Object.assign({},n[l][1].start),end:Object.assign({},n[n.length-1][1].end)},s={type:"label",start:Object.assign({},n[l][1].start),end:Object.assign({},n[o][1].end)},c={type:"labelText",start:Object.assign({},n[l+r+2][1].end),end:Object.assign({},n[o-2][1].start)};return a=[["enter",u,e],["enter",s,e]],a=en(a,n.slice(l+1,l+r+3)),a=en(a,[["enter",c,e]]),a=en(a,Ie(e.parser.constructs.insideSpan.null,n.slice(l+r+4,o-3),e)),a=en(a,[["exit",c,e],n[o-2],n[o-1],["exit",s,e]]),a=en(a,n.slice(o+1)),a=en(a,[["exit",u,e]]),cn(n,l,n.length,a),n}function vl(n,e,t){const r=this;let i=r.events.length,l,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){l=r.events[i][1];break}return a;function a(d){return l?l._inactive?f(d):(o=r.parser.defined.includes(Pn(r.sliceSerialize({start:l.end,end:r.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(d),n.exit("labelMarker"),n.exit("labelEnd"),u):t(d)}function u(d){return d===40?n.attempt(zl,c,o?c:f)(d):d===91?n.attempt(Ll,c,o?s:f)(d):o?c(d):f(d)}function s(d){return n.attempt(Ol,c,f)(d)}function c(d){return e(d)}function f(d){return l._balanced=!0,t(d)}}function Rl(n,e,t){return r;function r(f){return n.enter("resource"),n.enter("resourceMarker"),n.consume(f),n.exit("resourceMarker"),i}function i(f){return J(f)?Rn(n,l)(f):l(f)}function l(f){return f===41?c(f):Yt(n,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return J(f)?Rn(n,u)(f):c(f)}function a(f){return t(f)}function u(f){return f===34||f===39||f===40?Jt(n,s,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function s(f){return J(f)?Rn(n,c)(f):c(f)}function c(f){return f===41?(n.enter("resourceMarker"),n.consume(f),n.exit("resourceMarker"),n.exit("resource"),e):t(f)}}function Ml(n,e,t){const r=this;return i;function i(a){return Kt.call(r,n,l,o,"reference","referenceMarker","referenceString")(a)}function l(a){return r.parser.defined.includes(Pn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(a):t(a)}function o(a){return t(a)}}function Nl(n,e,t){return r;function r(l){return n.enter("reference"),n.enter("referenceMarker"),n.consume(l),n.exit("referenceMarker"),i}function i(l){return l===93?(n.enter("referenceMarker"),n.consume(l),n.exit("referenceMarker"),n.exit("reference"),e):t(l)}}const _l={name:"labelStartImage",tokenize:Bl,resolveAll:Ae.resolveAll};function Bl(n,e,t){const r=this;return i;function i(a){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(a),n.exit("labelImageMarker"),l}function l(a){return a===91?(n.enter("labelMarker"),n.consume(a),n.exit("labelMarker"),n.exit("labelImage"),o):t(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(a):e(a)}}const jl={name:"labelStartLink",tokenize:Hl,resolveAll:Ae.resolveAll};function Hl(n,e,t){const r=this;return i;function i(o){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(o),n.exit("labelMarker"),n.exit("labelLink"),l}function l(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(o):e(o)}}const ee={name:"lineEnding",tokenize:Ul};function Ul(n,e){return t;function t(r){return n.enter("lineEnding"),n.consume(r),n.exit("lineEnding"),j(n,e,"linePrefix")}}const Vn={name:"thematicBreak",tokenize:Vl};function Vl(n,e,t){let r=0,i;return l;function l(s){return n.enter("thematicBreak"),o(s)}function o(s){return i=s,a(s)}function a(s){return s===i?(n.enter("thematicBreakSequence"),u(s)):r>=3&&(s===null||T(s))?(n.exit("thematicBreak"),e(s)):t(s)}function u(s){return s===i?(n.consume(s),r++,u):(n.exit("thematicBreakSequence"),M(s)?j(n,a,"whitespace")(s):a(s))}}const K={name:"list",tokenize:Wl,continuation:{tokenize:Ql},exit:Yl},ql={tokenize:Kl,partial:!0},$l={tokenize:Xl,partial:!0};function Wl(n,e,t){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(p){const y=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:he(p)){if(r.containerState.type||(r.containerState.type=y,n.enter(y,{_container:!0})),y==="listUnordered")return n.enter("listItemPrefix"),p===42||p===45?n.check(Vn,t,s)(p):s(p);if(!r.interrupt||p===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),u(p)}return t(p)}function u(p){return he(p)&&++o<10?(n.consume(p),u):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(n.exit("listItemValue"),s(p)):t(p)}function s(p){return n.enter("listItemMarker"),n.consume(p),n.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,n.check(Xn,r.interrupt?t:c,n.attempt(ql,d,f))}function c(p){return r.containerState.initialBlankLine=!0,l++,d(p)}function f(p){return M(p)?(n.enter("listItemPrefixWhitespace"),n.consume(p),n.exit("listItemPrefixWhitespace"),d):t(p)}function d(p){return r.containerState.size=l+r.sliceSerialize(n.exit("listItemPrefix"),!0).length,e(p)}}function Ql(n,e,t){const r=this;return r.containerState._closeFlow=void 0,n.check(Xn,i,l);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,j(n,e,"listItemIndent",r.containerState.size+1)(a)}function l(a){return r.containerState.furtherBlankLines||!M(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n.attempt($l,e,o)(a))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,j(n,n.attempt(K,e,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Xl(n,e,t){const r=this;return j(n,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?e(l):t(l)}}function Yl(n){n.exit(this.containerState.type)}function Kl(n,e,t){const r=this;return j(n,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(l){const o=r.events[r.events.length-1];return!M(l)&&o&&o[1].type==="listItemPrefixWhitespace"?e(l):t(l)}}const it={name:"setextUnderline",tokenize:Gl,resolveTo:Jl};function Jl(n,e){let t=n.length,r,i,l;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){r=t;break}n[t][1].type==="paragraph"&&(i=t)}else n[t][1].type==="content"&&n.splice(t,1),!l&&n[t][1].type==="definition"&&(l=t);const o={type:"setextHeading",start:Object.assign({},n[i][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[i][1].type="setextHeadingText",l?(n.splice(i,0,["enter",o,e]),n.splice(l+1,0,["exit",n[r][1],e]),n[r][1].end=Object.assign({},n[l][1].end)):n[r][1]=o,n.push(["exit",o,e]),n}function Gl(n,e,t){const r=this;let i;return l;function l(s){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(n.enter("setextHeadingLine"),i=s,o(s)):t(s)}function o(s){return n.enter("setextHeadingLineSequence"),a(s)}function a(s){return s===i?(n.consume(s),a):(n.exit("setextHeadingLineSequence"),M(s)?j(n,u,"lineSuffix")(s):u(s))}function u(s){return s===null||T(s)?(n.exit("setextHeadingLine"),e(s)):t(s)}}const Zl={tokenize:no};function no(n){const e=this,t=n.attempt(Xn,r,n.attempt(this.parser.constructs.flowInitial,i,j(n,n.attempt(this.parser.constructs.flow,i,n.attempt(ll,i)),"linePrefix")));return t;function r(l){if(l===null){n.consume(l);return}return n.enter("lineEndingBlank"),n.consume(l),n.exit("lineEndingBlank"),e.currentConstruct=void 0,t}function i(l){if(l===null){n.consume(l);return}return n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),e.currentConstruct=void 0,t}}const eo={resolveAll:Zt()},to=Gt("string"),ro=Gt("text");function Gt(n){return{tokenize:e,resolveAll:Zt(n==="text"?io:void 0)};function e(t){const r=this,i=this.parser.constructs[n],l=t.attempt(i,o,a);return o;function o(c){return s(c)?l(c):a(c)}function a(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),u}function u(c){return s(c)?(t.exit("data"),l(c)):(t.consume(c),u)}function s(c){if(c===null)return!0;const f=i[c];let d=-1;if(f)for(;++d<f.length;){const p=f[d];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function Zt(n){return e;function e(t,r){let i=-1,l;for(;++i<=t.length;)l===void 0?t[i]&&t[i][1].type==="data"&&(l=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==l+2&&(t[l][1].end=t[i-1][1].end,t.splice(l+2,i-l-2),i=l+2),l=void 0);return n?n(t,r):t}}function io(n,e){let t=0;for(;++t<=n.length;)if((t===n.length||n[t][1].type==="lineEnding")&&n[t-1][1].type==="data"){const r=n[t-1][1],i=e.sliceStream(r);let l=i.length,o=-1,a=0,u;for(;l--;){const s=i[l];if(typeof s=="string"){for(o=s.length;s.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(s===-2)u=!0,a++;else if(s!==-1){l++;break}}if(a){const s={type:t===n.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-a,offset:r.end.offset-a,_index:r.start._index+l,_bufferIndex:l?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},s.start),r.start.offset===r.end.offset?Object.assign(r,s):(n.splice(t,0,["enter",s,e],["exit",s,e]),t+=2)}t++}return n}function lo(n,e,t){let r=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},l=[];let o=[],a=[];const u={consume:E,enter:C,exit:v,attempt:R(O),check:R(x),interrupt:R(x,{interrupt:!0})},s={previous:null,code:null,containerState:{},events:[],parser:n,sliceStream:p,sliceSerialize:d,now:y,defineSkip:b,write:f};let c=e.tokenize.call(s,u);return e.resolveAll&&l.push(e),s;function f(P){return o=en(o,P),I(),o[o.length-1]!==null?[]:(V(e,0),s.events=Ie(l,s.events,s),s.events)}function d(P,A){return ao(p(P),A)}function p(P){return oo(o,P)}function y(){const{line:P,column:A,offset:U,_index:q,_bufferIndex:F}=r;return{line:P,column:A,offset:U,_index:q,_bufferIndex:F}}function b(P){i[P.line]=P.column,H()}function I(){let P;for(;r._index<o.length;){const A=o[r._index];if(typeof A=="string")for(P=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===P&&r._bufferIndex<A.length;)w(A.charCodeAt(r._bufferIndex));else w(A)}}function w(P){c=c(P)}function E(P){T(P)?(r.line++,r.column=1,r.offset+=P===-3?2:1,H()):P!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=P}function C(P,A){const U=A||{};return U.type=P,U.start=y(),s.events.push(["enter",U,s]),a.push(U),U}function v(P){const A=a.pop();return A.end=y(),s.events.push(["exit",A,s]),A}function O(P,A){V(P,A.from)}function x(P,A){A.restore()}function R(P,A){return U;function U(q,F,X){let W,rn,pn,h;return Array.isArray(q)?fn(q):"tokenize"in q?fn([q]):ln(q);function ln(Q){return Ln;function Ln(dn){const Cn=dn!==null&&Q[dn],kn=dn!==null&&Q.null,Jn=[...Array.isArray(Cn)?Cn:Cn?[Cn]:[],...Array.isArray(kn)?kn:kn?[kn]:[]];return fn(Jn)(dn)}}function fn(Q){return W=Q,rn=0,Q.length===0?X:m(Q[rn])}function m(Q){return Ln;function Ln(dn){return h=_(),pn=Q,Q.partial||(s.currentConstruct=Q),Q.name&&s.parser.constructs.disable.null.includes(Q.name)?xn():Q.tokenize.call(A?Object.assign(Object.create(s),A):s,u,on,xn)(dn)}}function on(Q){return P(pn,h),F}function xn(Q){return h.restore(),++rn<W.length?m(W[rn]):X}}}function V(P,A){P.resolveAll&&!l.includes(P)&&l.push(P),P.resolve&&cn(s.events,A,s.events.length-A,P.resolve(s.events.slice(A),s)),P.resolveTo&&(s.events=P.resolveTo(s.events,s))}function _(){const P=y(),A=s.previous,U=s.currentConstruct,q=s.events.length,F=Array.from(a);return{restore:X,from:q};function X(){r=P,s.previous=A,s.currentConstruct=U,s.events.length=q,a=F,H()}}function H(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function oo(n,e){const t=e.start._index,r=e.start._bufferIndex,i=e.end._index,l=e.end._bufferIndex;let o;if(t===i)o=[n[t].slice(r,l)];else{if(o=n.slice(t,i),r>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}l>0&&o.push(n[i].slice(0,l))}return o}function ao(n,e){let t=-1;const r=[];let i;for(;++t<n.length;){const l=n[t];let o;if(typeof l=="string")o=l;else switch(l){case-5:{o="\r";break}case-4:{o=`
|
3
3
|
`;break}case-3:{o=`\r
|
4
4
|
`;break}case-2:{o=e?" ":" ";break}case-1:{if(!e&&i)continue;o=" ";break}default:o=String.fromCharCode(l)}i=l===-2,r.push(o)}return r.join("")}const uo={42:K,43:K,45:K,48:K,49:K,50:K,51:K,52:K,53:K,54:K,55:K,56:K,57:K,62:$t},so={91:cl},co={[-2]:ne,[-1]:ne,32:ne},po={35:gl,42:Vn,45:[it,Vn],60:bl,61:it,95:Vn,96:tt,126:tt},fo={38:Qt,92:Wt},ho={[-5]:ee,[-4]:ee,[-3]:ee,33:_l,38:Qt,42:me,60:[Hi,Pl],91:jl,92:[ml,Wt],93:Ae,95:me,96:nl},mo={null:[me,eo]},go={null:[42,95]},yo={null:[]},xo=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:go,contentInitial:so,disable:yo,document:uo,flow:po,flowInitial:co,insideSpan:mo,string:fo,text:ho},Symbol.toStringTag,{value:"Module"}));function ko(n){const t=Ai([xo,...(n||{}).extensions||[]]),r={defined:[],lazy:{},constructs:t,content:i(vi),document:i(Mi),flow:i(Zl),string:i(to),text:i(ro)};return r;function i(l){return o;function o(a){return lo(r,l,a)}}}function bo(n){for(;!Xt(n););return n}const lt=/[\0\t\n\r]/g;function wo(){let n=1,e="",t=!0,r;return i;function i(l,o,a){const u=[];let s,c,f,d,p;for(l=e+(typeof l=="string"?l.toString():new TextDecoder(o||void 0).decode(l)),f=0,e="",t&&(l.charCodeAt(0)===65279&&f++,t=void 0);f<l.length;){if(lt.lastIndex=f,s=lt.exec(l),d=s&&s.index!==void 0?s.index:l.length,p=l.charCodeAt(d),!s){e=l.slice(f);break}if(p===10&&f===d&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),f<d&&(u.push(l.slice(f,d)),n+=d-f),p){case 0:{u.push(65533),n++;break}case 9:{for(c=Math.ceil(n/4)*4,u.push(-2);n++<c;)u.push(-1);break}case 10:{u.push(-4),n=1;break}default:r=!0,n=1}f=d+1}return a&&(r&&u.push(-5),e&&u.push(e),u.push(null)),u}}const So=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Co(n){return n.replace(So,Eo)}function Eo(n,e,t){if(e)return e;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),l=i===120||i===88;return qt(t.slice(l?2:1),l?16:10)}return Ee(t)||n}const nr={}.hasOwnProperty;function Io(n,e,t){return typeof e!="string"&&(t=e,e=void 0),Ao(t)(bo(ko(t).document().write(wo()(n,e,!0))))}function Ao(n){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Re),autolinkProtocol:_,autolinkEmail:_,atxHeading:l(De),blockQuote:l(Cn),characterEscape:_,characterReference:_,codeFenced:l(kn),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:l(kn,o),codeText:l(Jn,o),codeTextData:_,data:_,codeFlowValue:_,definition:l(fr),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:l(hr),hardBreakEscape:l(Fe),hardBreakTrailing:l(Fe),htmlFlow:l(ve,o),htmlFlowData:_,htmlText:l(ve,o),htmlTextData:_,image:l(mr),label:o,link:l(Re),listItem:l(dr),listItemValue:d,listOrdered:l(Me,f),listUnordered:l(Me),paragraph:l(gr),reference:m,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:l(De),strong:l(yr),thematicBreak:l(kr)},exit:{atxHeading:u(),atxHeadingSequence:O,autolink:u(),autolinkEmail:dn,autolinkProtocol:Ln,blockQuote:u(),characterEscapeValue:H,characterReferenceMarkerHexadecimal:xn,characterReferenceMarkerNumeric:xn,characterReferenceValue:Q,codeFenced:u(I),codeFencedFence:b,codeFencedFenceInfo:p,codeFencedFenceMeta:y,codeFlowValue:H,codeIndented:u(w),codeText:u(F),codeTextData:H,data:H,definition:u(),definitionDestinationString:v,definitionLabelString:E,definitionTitleString:C,emphasis:u(),hardBreakEscape:u(A),hardBreakTrailing:u(A),htmlFlow:u(U),htmlFlowData:H,htmlText:u(q),htmlTextData:H,image:u(W),label:pn,labelText:rn,lineEnding:P,link:u(X),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:on,resourceDestinationString:h,resourceTitleString:ln,resource:fn,setextHeading:u(V),setextHeadingLineSequence:R,setextHeadingText:x,strong:u(),thematicBreak:u()}};er(e,(n||{}).mdastExtensions||[]);const t={};return r;function r(g){let S={type:"root",children:[]};const z={stack:[S],tokenStack:[],config:e,enter:a,exit:s,buffer:o,resume:c,data:t},D=[];let N=-1;for(;++N<g.length;)if(g[N][1].type==="listOrdered"||g[N][1].type==="listUnordered")if(g[N][0]==="enter")D.push(N);else{const an=D.pop();N=i(g,an,N)}for(N=-1;++N<g.length;){const an=e[g[N][0]];nr.call(an,g[N][1].type)&&an[g[N][1].type].call(Object.assign({sliceSerialize:g[N][2].sliceSerialize},z),g[N][1])}if(z.tokenStack.length>0){const an=z.tokenStack[z.tokenStack.length-1];(an[1]||ot).call(z,void 0,an[0])}for(S.position={start:gn(g.length>0?g[0][1].start:{line:1,column:1,offset:0}),end:gn(g.length>0?g[g.length-2][1].end:{line:1,column:1,offset:0})},N=-1;++N<e.transforms.length;)S=e.transforms[N](S)||S;return S}function i(g,S,z){let D=S-1,N=-1,an=!1,bn,hn,On,Dn;for(;++D<=z;){const G=g[D];switch(G[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{G[0]==="enter"?N++:N--,Dn=void 0;break}case"lineEndingBlank":{G[0]==="enter"&&(bn&&!Dn&&!N&&!On&&(On=D),Dn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Dn=void 0}if(!N&&G[0]==="enter"&&G[1].type==="listItemPrefix"||N===-1&&G[0]==="exit"&&(G[1].type==="listUnordered"||G[1].type==="listOrdered")){if(bn){let En=D;for(hn=void 0;En--;){const mn=g[En];if(mn[1].type==="lineEnding"||mn[1].type==="lineEndingBlank"){if(mn[0]==="exit")continue;hn&&(g[hn][1].type="lineEndingBlank",an=!0),mn[1].type="lineEnding",hn=En}else if(!(mn[1].type==="linePrefix"||mn[1].type==="blockQuotePrefix"||mn[1].type==="blockQuotePrefixWhitespace"||mn[1].type==="blockQuoteMarker"||mn[1].type==="listItemIndent"))break}On&&(!hn||On<hn)&&(bn._spread=!0),bn.end=Object.assign({},hn?g[hn][1].start:G[1].end),g.splice(hn||D,0,["exit",bn,G[2]]),D++,z++}if(G[1].type==="listItemPrefix"){const En={type:"listItem",_spread:!1,start:Object.assign({},G[1].start),end:void 0};bn=En,g.splice(D,0,["enter",En,G[2]]),D++,z++,On=void 0,Dn=!0}}}return g[S][1]._spread=an,z}function l(g,S){return z;function z(D){a.call(this,g(D),D),S&&S.call(this,D)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(g,S,z){this.stack[this.stack.length-1].children.push(g),this.stack.push(g),this.tokenStack.push([S,z]),g.position={start:gn(S.start),end:void 0}}function u(g){return S;function S(z){g&&g.call(this,z),s.call(this,z)}}function s(g,S){const z=this.stack.pop(),D=this.tokenStack.pop();if(D)D[0].type!==g.type&&(S?S.call(this,g,D[0]):(D[1]||ot).call(this,g,D[0]));else throw new Error("Cannot close `"+g.type+"` ("+vn({start:g.start,end:g.end})+"): it’s not open");z.position.end=gn(g.end)}function c(){return Ei(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(g){if(this.data.expectingFirstListItemValue){const S=this.stack[this.stack.length-2];S.start=Number.parseInt(this.sliceSerialize(g),10),this.data.expectingFirstListItemValue=void 0}}function p(){const g=this.resume(),S=this.stack[this.stack.length-1];S.lang=g}function y(){const g=this.resume(),S=this.stack[this.stack.length-1];S.meta=g}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g.replace(/(\r?\n|\r)$/g,"")}function E(g){const S=this.resume(),z=this.stack[this.stack.length-1];z.label=S,z.identifier=Pn(this.sliceSerialize(g)).toLowerCase()}function C(){const g=this.resume(),S=this.stack[this.stack.length-1];S.title=g}function v(){const g=this.resume(),S=this.stack[this.stack.length-1];S.url=g}function O(g){const S=this.stack[this.stack.length-1];if(!S.depth){const z=this.sliceSerialize(g).length;S.depth=z}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function R(g){const S=this.stack[this.stack.length-1];S.depth=this.sliceSerialize(g).codePointAt(0)===61?1:2}function V(){this.data.setextHeadingSlurpLineEnding=void 0}function _(g){const z=this.stack[this.stack.length-1].children;let D=z[z.length-1];(!D||D.type!=="text")&&(D=xr(),D.position={start:gn(g.start),end:void 0},z.push(D)),this.stack.push(D)}function H(g){const S=this.stack.pop();S.value+=this.sliceSerialize(g),S.position.end=gn(g.end)}function P(g){const S=this.stack[this.stack.length-1];if(this.data.atHardBreak){const z=S.children[S.children.length-1];z.position.end=gn(g.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(S.type)&&(_.call(this,g),H.call(this,g))}function A(){this.data.atHardBreak=!0}function U(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function q(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function F(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function X(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=S,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function W(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=S,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function rn(g){const S=this.sliceSerialize(g),z=this.stack[this.stack.length-2];z.label=Co(S),z.identifier=Pn(S).toLowerCase()}function pn(){const g=this.stack[this.stack.length-1],S=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){const D=g.children;z.children=D}else z.alt=S}function h(){const g=this.resume(),S=this.stack[this.stack.length-1];S.url=g}function ln(){const g=this.resume(),S=this.stack[this.stack.length-1];S.title=g}function fn(){this.data.inReference=void 0}function m(){this.data.referenceType="collapsed"}function on(g){const S=this.resume(),z=this.stack[this.stack.length-1];z.label=S,z.identifier=Pn(this.sliceSerialize(g)).toLowerCase(),this.data.referenceType="full"}function xn(g){this.data.characterReferenceType=g.type}function Q(g){const S=this.sliceSerialize(g),z=this.data.characterReferenceType;let D;z?(D=qt(S,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):D=Ee(S);const N=this.stack.pop();N.value+=D,N.position.end=gn(g.end)}function Ln(g){H.call(this,g);const S=this.stack[this.stack.length-1];S.url=this.sliceSerialize(g)}function dn(g){H.call(this,g);const S=this.stack[this.stack.length-1];S.url="mailto:"+this.sliceSerialize(g)}function Cn(){return{type:"blockquote",children:[]}}function kn(){return{type:"code",lang:null,meta:null,value:""}}function Jn(){return{type:"inlineCode",value:""}}function fr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function hr(){return{type:"emphasis",children:[]}}function De(){return{type:"heading",depth:0,children:[]}}function Fe(){return{type:"break"}}function ve(){return{type:"html",value:""}}function mr(){return{type:"image",title:null,url:"",alt:null}}function Re(){return{type:"link",title:null,url:"",children:[]}}function Me(g){return{type:"list",ordered:g.type==="listOrdered",start:null,spread:g._spread,children:[]}}function dr(g){return{type:"listItem",spread:g._spread,checked:null,children:[]}}function gr(){return{type:"paragraph",children:[]}}function yr(){return{type:"strong",children:[]}}function xr(){return{type:"text",value:""}}function kr(){return{type:"thematicBreak"}}}function gn(n){return{line:n.line,column:n.column,offset:n.offset}}function er(n,e){let t=-1;for(;++t<e.length;){const r=e[t];Array.isArray(r)?er(n,r):Po(n,r)}}function Po(n,e){let t;for(t in e)if(nr.call(e,t))switch(t){case"canContainEols":{const r=e[t];r&&n[t].push(...r);break}case"transforms":{const r=e[t];r&&n[t].push(...r);break}case"enter":case"exit":{const r=e[t];r&&Object.assign(n[t],r);break}}}function ot(n,e){throw n?new Error("Cannot close `"+n.type+"` ("+vn({start:n.start,end:n.end})+"): a different token (`"+e.type+"`, "+vn({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+vn({start:e.start,end:e.end})+") is still open")}function To(n){const e=this;e.parser=t;function t(r){return Io(r,{...e.data("settings"),...n,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function zo(n,e){const t={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(e),!0)};return n.patch(e,t),n.applyData(e,t)}function Lo(n,e){const t={type:"element",tagName:"br",properties:{},children:[]};return n.patch(e,t),[n.applyData(e,t),{type:"text",value:`
|
@@ -0,0 +1 @@
|
|
1
|
+
import{j as e}from"./@radix-BXWm7HOa.js";function s({children:t}){return e.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-sm bg-primary-100 text-text-lg font-semibold text-theme-text-brand",children:t})}export{s as N};
|
zenml/zen_server/dashboard/assets/{PasswordChecker-DUveqlva.js → PasswordChecker-yGGoJSB-.js}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
import{j as s}from"./@radix-
|
1
|
+
import{j as s}from"./@radix-BXWm7HOa.js";const a={uppercase:"Password must contain at least one uppercase letter",lowercase:"Password must contain at least one lowercase letter",number:"Password must contain at least one number",special:"Password must contain at least one special character",length:"Password must be at least 8 characters"};function l({errors:c,val:t}){const e=n(c||{});function r(o){return t?e.includes(o)?"text-theme-text-error":"text-theme-text-success":"text-theme-text-secondary"}return s.jsxs("div",{className:"space-y-1 rounded-md border border-theme-border-moderate bg-theme-surface-secondary px-5 py-3 text-text-xs text-theme-text-secondary",children:[s.jsx("p",{className:"text-text-sm text-theme-text-primary",children:"Password criteria"}),s.jsxs("div",{children:[s.jsx("p",{className:r(a.length),children:"Minimum 8 characters"}),s.jsx("p",{className:r(a.number),children:"Must Contain one Numeric value"}),s.jsx("p",{className:r(a.uppercase),children:"Must include upper cases"}),s.jsx("p",{className:r(a.lowercase),children:"Must include lower cases"}),s.jsx("p",{className:r(a.special),children:"Must include one special character (!,@,#...)"})]})]})}function n(c){const t=[];return Object.values(c).forEach(e=>{typeof e=="string"?t.push(e):Array.isArray(e)?t.push(...e):typeof e=="object"&&e!==null&&t.push(...n(e))}),t}export{l as P};
|
@@ -1 +1 @@
|
|
1
|
-
import{r as c,j as e}from"./@radix-
|
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};
|
@@ -0,0 +1 @@
|
|
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};
|
@@ -0,0 +1 @@
|
|
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 +1 @@
|
|
1
|
-
import{j as s}from"./@radix-
|
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 +1 @@
|
|
1
|
-
import{r as n,j as s}from"./@radix-
|
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 +1 @@
|
|
1
|
-
import{r as s,j as r}from"./@radix-
|
1
|
+
import{r as s,j as r}from"./@radix-BXWm7HOa.js";import{aR as c,q as l}from"./index-DhIZtpxB.js";const o=e=>s.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.7071 5.29289C21.0976 5.68342 21.0976 6.31658 20.7071 6.70711L9.70711 17.7071C9.31658 18.0976 8.68342 18.0976 8.29289 17.7071L3.29289 12.7071C2.90237 12.3166 2.90237 11.6834 3.29289 11.2929C3.68342 10.9024 4.31658 10.9024 4.70711 11.2929L9 15.5858L19.2929 5.29289C19.6834 4.90237 20.3166 4.90237 20.7071 5.29289Z"}));function n({tickClasses:e,...t}){return r.jsx(c,{...t,children:r.jsx(o,{className:l("h-4 w-4 fill-success-300",e)})})}export{n as T};
|
@@ -1 +1 @@
|
|
1
|
-
import{z as s}from"./index-
|
1
|
+
import{z as s}from"./index-DhIZtpxB.js";const e=s.string().min(8,"Password must be at least 8 characters").regex(/[A-Z]/,"Password must contain at least one uppercase letter").regex(/[a-z]/,"Password must contain at least one lowercase letter").regex(/[0-9]/,"Password must contain at least one number").regex(/[!@#$%^&*(),.?":{}|<>\/]/,"Password must contain at least one special character"),o=s.object({oldPassword:s.string().optional(),newPassword:e,confirmPassword:s.string().min(1)}),t=o.refine(a=>a.newPassword===a.confirmPassword,{path:["confirmPassword"],message:"Passwords do not match"});export{o as a,t as u};
|