From 5d8b81021293c2bd30dd3afb102ea08771449235 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 23 Jan 2024 11:09:01 +0000 Subject: [PATCH] chore(deps): bump kumahq/kuma-gui to 69c435cbd08b8acc9e61098c491e8f71090c0f7d Bumps kumahq/kuma-gui to version [master@69c435cbd08b8acc9e61098c491e8f71090c0f7d](https://github.com/kumahq/kuma-gui/tree/69c435cbd08b8acc9e61098c491e8f71090c0f7d) Signed-off-by: GitHub --- ...ccordionList-373416d3.js => AccordionList-78965fe7.js} | 2 +- .../data/assets/{App-cc93623c.js => App-d5f1b32e.js} | 2 +- ...ppCollection-39f5da3b.js => AppCollection-fab1a627.js} | 2 +- .../{CodeBlock-13aedd48.js => CodeBlock-9e7fa2ff.js} | 2 +- ...iew-dbaefe7d.js => ControlPlaneDetailView-91e97c80.js} | 2 +- .../{CopyButton-60165c43.js => CopyButton-752e056c.js} | 2 +- ...View-2fa51065.js => DataPlaneClustersView-47727f60.js} | 2 +- ...igView-c8afcf0f.js => DataPlaneConfigView-3a37e475.js} | 2 +- ...ew-ae5d7b11.js => DataPlaneDetailTabsView-c63500a6.js} | 2 +- ...ilView-87aedfb8.js => DataPlaneDetailView-cc4f0275.js} | 2 +- ...js => DataPlaneInboundSummaryClustersView-ae8d3f0d.js} | 2 +- ...js => DataPlaneInboundSummaryOverviewView-51c4bcbc.js} | 2 +- ...af.js => DataPlaneInboundSummaryStatsView-fa690d9a.js} | 2 +- ...4e5830b.js => DataPlaneInboundSummaryView-5ec2596d.js} | 2 +- ...ListView-799dc1fe.js => DataPlaneListView-22a7e59f.js} | 2 +- ...s => DataPlaneOutboundSummaryClustersView-3708a65b.js} | 2 +- ...s => DataPlaneOutboundSummaryOverviewView-aa4481ba.js} | 2 +- ...4.js => DataPlaneOutboundSummaryStatsView-7f99338e.js} | 2 +- ...b535e1.js => DataPlaneOutboundSummaryView-56057c60.js} | 2 +- ...View-0ffbaa66.js => DataPlanePoliciesView-847493b6.js} | 2 +- ...atsView-7e0e5fcf.js => DataPlaneStatsView-9a30550e.js} | 2 +- ...yView-09954152.js => DataPlaneSummaryView-94a129af.js} | 2 +- ...iew-a40b23f8.js => DataPlaneXdsConfigView-08470936.js} | 2 +- ...Modal.vue_vue_type_script_setup_true_lang-41f7b16a.js} | 2 +- ...View-393624df.js => DiagnosticsDetailView-d236bd3c.js} | 2 +- ...Block.vue_vue_type_script_setup_true_lang-2e4ee74c.js} | 2 +- ...yData.vue_vue_type_script_setup_true_lang-7617435e.js} | 2 +- .../{ErrorBlock-eae09ed8.js => ErrorBlock-c71bafad.js} | 2 +- .../{FilterBar-b8e0d56d.js => FilterBar-28a9c29c.js} | 2 +- ...FoundView-3e1825d3.js => KumaNotFoundView-25d01ff5.js} | 2 +- ...Block.vue_vue_type_script_setup_true_lang-6427cc6a.js} | 2 +- .../{LoadingBox-a7773ef8.js => LoadingBox-5037d9a5.js} | 2 +- ...hConfigView-41fe6010.js => MeshConfigView-d102dc87.js} | 2 +- ...absView-a0d46b91.js => MeshDetailTabsView-ecd87f19.js} | 2 +- ...hDetailView-a0aeb93c.js => MeshDetailView-6580d772.js} | 2 +- ...{MeshListView-d6cd3cf6.js => MeshListView-77cc5c54.js} | 2 +- ...{MeshRootView-86aaac48.js => MeshRootView-fd62c579.js} | 2 +- ...ummaryView-eb5d35fd.js => MeshSummaryView-f805b5d7.js} | 2 +- .../assets/{NavTabs-bb254677.js => NavTabs-3217ce74.js} | 2 +- ...ab.js => OnboardingAddNewServicesCodeView-340845ed.js} | 2 +- ...6aef60.js => OnboardingAddNewServicesView-c7f897f5.js} | 2 +- ...ew-8956a5d0.js => OnboardingCompletedView-1c8fcc0c.js} | 2 +- ...05.js => OnboardingConfigurationTypesView-84e28663.js} | 2 +- ...w-793da65e.js => OnboardingCreateMeshView-f8cb7e65.js} | 2 +- ...w-4c1789da.js => OnboardingDataplanesView-110c28b1.js} | 2 +- ...085cd.js => OnboardingDeploymentTypesView-bd9b9179.js} | 2 +- ...ew-ba69942e.js => OnboardingMultiZoneView-d3ba1b7b.js} | 2 +- ...oardingPage-a333b0d1.js => OnboardingPage-c35acc77.js} | 2 +- ...ootView-82315947.js => OnboardingRootView-a34f25f4.js} | 2 +- ...View-e9acfcfa.js => OnboardingWelcomeView-21d19a7f.js} | 2 +- ...etailView-688dafd3.js => PolicyDetailView-ebd8a6b3.js} | 2 +- .../pkg/resources/data/assets/PolicyListView-42e8014c.css | 1 + .../pkg/resources/data/assets/PolicyListView-6c6be17a.css | 1 - ...icyListView-6354f454.js => PolicyListView-c7da73bc.js} | 2 +- ...maryView-c2b73f32.js => PolicySummaryView-dd96a7bb.js} | 2 +- ...olicyTypeTag-e607f2fa.js => PolicyTypeTag-ba976135.js} | 2 +- ...CodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js} | 2 +- ...nfigView-2317a0a8.js => ServiceConfigView-43621842.js} | 2 +- ...e879085.js => ServiceDataPlaneProxiesView-506c8251.js} | 2 +- ...View-e5379324.js => ServiceDetailTabsView-9701dc4a.js} | 2 +- ...tailView-aa5e9db0.js => ServiceDetailView-559c67d9.js} | 2 +- ...ceListView-6ae3f7d6.js => ServiceListView-ee4e0336.js} | 2 +- .../{StatusBadge-0fda3dff.js => StatusBadge-3f562081.js} | 2 +- ...nList.vue_vue_type_script_setup_true_lang-16d3020e.js} | 2 +- .../{SummaryView-4df08b91.js => SummaryView-87032df3.js} | 2 +- .../assets/{TagList-a4b64f68.js => TagList-f1447eb8.js} | 2 +- ...yButton-e98ec405.js => TextWithCopyButton-c32acac7.js} | 2 +- ...gIcon.vue_vue_type_script_setup_true_lang-321d6f89.js} | 2 +- ...eConfigView-a880f07b.js => ZoneConfigView-26652f77.js} | 2 +- ...eCreateView-8c1c2cc0.js => ZoneCreateView-f17b0bf5.js} | 2 +- ...absView-9a99bbb2.js => ZoneDetailTabsView-90c4967c.js} | 2 +- ...eDetailView-02ab6610.js => ZoneDetailView-c9fb9a38.js} | 2 +- ...iew-2014d5f6.js => ZoneEgressClustersView-d384d294.js} | 2 +- ...gView-57d187b7.js => ZoneEgressConfigView-26e0d113.js} | 2 +- ...w-4bdaf901.js => ZoneEgressDetailTabsView-96c42db1.js} | 2 +- ...lView-650077c9.js => ZoneEgressDetailView-e26a6e60.js} | 2 +- ...istView-2557f197.js => ZoneEgressListView-9172e46b.js} | 2 +- ...tsView-745c444a.js => ZoneEgressStatsView-78bac372.js} | 2 +- ...View-b941a6d9.js => ZoneEgressSummaryView-023f0398.js} | 2 +- ...ew-819b2fed.js => ZoneEgressXdsConfigView-deb6303d.js} | 2 +- ...ew-58fde3a2.js => ZoneIngressClustersView-a6bfe89f.js} | 2 +- ...View-c5abed7c.js => ZoneIngressConfigView-bea563e7.js} | 2 +- ...-144e3c1e.js => ZoneIngressDetailTabsView-48a9c68c.js} | 2 +- ...View-7748f205.js => ZoneIngressDetailView-b8ec6bc0.js} | 2 +- ...stView-773cc9f2.js => ZoneIngressListView-5874572b.js} | 2 +- ...ew-175edde5.js => ZoneIngressServicesView-1dd33b0d.js} | 2 +- ...sView-08ea7529.js => ZoneIngressStatsView-4d73437a.js} | 2 +- ...iew-6e9164e1.js => ZoneIngressSummaryView-78823093.js} | 2 +- ...w-9045a15a.js => ZoneIngressXdsConfigView-9a220cb5.js} | 2 +- ...{ZoneListView-40d4445b.js => ZoneListView-8bcc2238.js} | 2 +- .../data/assets/{index-6594470f.js => index-78599b4f.js} | 8 ++++---- app/kuma-ui/pkg/resources/data/index.html | 2 +- 92 files changed, 94 insertions(+), 94 deletions(-) rename app/kuma-ui/pkg/resources/data/assets/{AccordionList-373416d3.js => AccordionList-78965fe7.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{App-cc93623c.js => App-d5f1b32e.js} (99%) rename app/kuma-ui/pkg/resources/data/assets/{AppCollection-39f5da3b.js => AppCollection-fab1a627.js} (94%) rename app/kuma-ui/pkg/resources/data/assets/{CodeBlock-13aedd48.js => CodeBlock-9e7fa2ff.js} (99%) rename app/kuma-ui/pkg/resources/data/assets/{ControlPlaneDetailView-dbaefe7d.js => ControlPlaneDetailView-91e97c80.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{CopyButton-60165c43.js => CopyButton-752e056c.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneClustersView-2fa51065.js => DataPlaneClustersView-47727f60.js} (67%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneConfigView-c8afcf0f.js => DataPlaneConfigView-3a37e475.js} (77%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneDetailTabsView-ae5d7b11.js => DataPlaneDetailTabsView-c63500a6.js} (79%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneDetailView-87aedfb8.js => DataPlaneDetailView-cc4f0275.js} (97%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneInboundSummaryClustersView-4be2bd31.js => DataPlaneInboundSummaryClustersView-ae8d3f0d.js} (80%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneInboundSummaryOverviewView-cb383171.js => DataPlaneInboundSummaryOverviewView-51c4bcbc.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneInboundSummaryStatsView-3ec7f0af.js => DataPlaneInboundSummaryStatsView-fa690d9a.js} (80%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneInboundSummaryView-94e5830b.js => DataPlaneInboundSummaryView-5ec2596d.js} (88%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneListView-799dc1fe.js => DataPlaneListView-22a7e59f.js} (82%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneOutboundSummaryClustersView-92680345.js => DataPlaneOutboundSummaryClustersView-3708a65b.js} (80%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneOutboundSummaryOverviewView-c16fa73c.js => DataPlaneOutboundSummaryOverviewView-aa4481ba.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneOutboundSummaryStatsView-ede06944.js => DataPlaneOutboundSummaryStatsView-7f99338e.js} (76%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneOutboundSummaryView-47b535e1.js => DataPlaneOutboundSummaryView-56057c60.js} (88%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlanePoliciesView-0ffbaa66.js => DataPlanePoliciesView-847493b6.js} (94%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneStatsView-7e0e5fcf.js => DataPlaneStatsView-9a30550e.js} (67%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneSummaryView-09954152.js => DataPlaneSummaryView-94a129af.js} (93%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneXdsConfigView-a40b23f8.js => DataPlaneXdsConfigView-08470936.js} (67%) rename app/kuma-ui/pkg/resources/data/assets/{DeleteResourceModal.vue_vue_type_script_setup_true_lang-ed0042ad.js => DeleteResourceModal.vue_vue_type_script_setup_true_lang-41f7b16a.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{DiagnosticsDetailView-393624df.js => DiagnosticsDetailView-d236bd3c.js} (73%) rename app/kuma-ui/pkg/resources/data/assets/{EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js => EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js => EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{ErrorBlock-eae09ed8.js => ErrorBlock-c71bafad.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{FilterBar-b8e0d56d.js => FilterBar-28a9c29c.js} (97%) rename app/kuma-ui/pkg/resources/data/assets/{KumaNotFoundView-3e1825d3.js => KumaNotFoundView-25d01ff5.js} (84%) rename app/kuma-ui/pkg/resources/data/assets/{LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js => LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{LoadingBox-a7773ef8.js => LoadingBox-5037d9a5.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{MeshConfigView-41fe6010.js => MeshConfigView-d102dc87.js} (70%) rename app/kuma-ui/pkg/resources/data/assets/{MeshDetailTabsView-a0d46b91.js => MeshDetailTabsView-ecd87f19.js} (83%) rename app/kuma-ui/pkg/resources/data/assets/{MeshDetailView-a0aeb93c.js => MeshDetailView-6580d772.js} (79%) rename app/kuma-ui/pkg/resources/data/assets/{MeshListView-d6cd3cf6.js => MeshListView-77cc5c54.js} (85%) rename app/kuma-ui/pkg/resources/data/assets/{MeshRootView-86aaac48.js => MeshRootView-fd62c579.js} (69%) rename app/kuma-ui/pkg/resources/data/assets/{MeshSummaryView-eb5d35fd.js => MeshSummaryView-f805b5d7.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{NavTabs-bb254677.js => NavTabs-3217ce74.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingAddNewServicesCodeView-513a59ab.js => OnboardingAddNewServicesCodeView-340845ed.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingAddNewServicesView-516aef60.js => OnboardingAddNewServicesView-c7f897f5.js} (94%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingCompletedView-8956a5d0.js => OnboardingCompletedView-1c8fcc0c.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingConfigurationTypesView-f9478305.js => OnboardingConfigurationTypesView-84e28663.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingCreateMeshView-793da65e.js => OnboardingCreateMeshView-f8cb7e65.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingDataplanesView-4c1789da.js => OnboardingDataplanesView-110c28b1.js} (77%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingDeploymentTypesView-855085cd.js => OnboardingDeploymentTypesView-bd9b9179.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingMultiZoneView-ba69942e.js => OnboardingMultiZoneView-d3ba1b7b.js} (93%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingPage-a333b0d1.js => OnboardingPage-c35acc77.js} (97%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingRootView-82315947.js => OnboardingRootView-a34f25f4.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingWelcomeView-e9acfcfa.js => OnboardingWelcomeView-21d19a7f.js} (91%) rename app/kuma-ui/pkg/resources/data/assets/{PolicyDetailView-688dafd3.js => PolicyDetailView-ebd8a6b3.js} (85%) create mode 100644 app/kuma-ui/pkg/resources/data/assets/PolicyListView-42e8014c.css delete mode 100644 app/kuma-ui/pkg/resources/data/assets/PolicyListView-6c6be17a.css rename app/kuma-ui/pkg/resources/data/assets/{PolicyListView-6354f454.js => PolicyListView-c7da73bc.js} (91%) rename app/kuma-ui/pkg/resources/data/assets/{PolicySummaryView-c2b73f32.js => PolicySummaryView-dd96a7bb.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{PolicyTypeTag-e607f2fa.js => PolicyTypeTag-ba976135.js} (99%) rename app/kuma-ui/pkg/resources/data/assets/{ResourceCodeBlock.vue_vue_type_style_index_0_lang-5c4d11ef.js => ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceConfigView-2317a0a8.js => ServiceConfigView-43621842.js} (71%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceDataPlaneProxiesView-ee879085.js => ServiceDataPlaneProxiesView-506c8251.js} (82%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceDetailTabsView-e5379324.js => ServiceDetailTabsView-9701dc4a.js} (78%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceDetailView-aa5e9db0.js => ServiceDetailView-559c67d9.js} (79%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceListView-6ae3f7d6.js => ServiceListView-ee4e0336.js} (85%) rename app/kuma-ui/pkg/resources/data/assets/{StatusBadge-0fda3dff.js => StatusBadge-3f562081.js} (85%) rename app/kuma-ui/pkg/resources/data/assets/{SubscriptionList.vue_vue_type_script_setup_true_lang-ffb3c891.js => SubscriptionList.vue_vue_type_script_setup_true_lang-16d3020e.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{SummaryView-4df08b91.js => SummaryView-87032df3.js} (98%) rename app/kuma-ui/pkg/resources/data/assets/{TagList-a4b64f68.js => TagList-f1447eb8.js} (95%) rename app/kuma-ui/pkg/resources/data/assets/{TextWithCopyButton-e98ec405.js => TextWithCopyButton-c32acac7.js} (79%) rename app/kuma-ui/pkg/resources/data/assets/{WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js => WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js} (84%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneConfigView-a880f07b.js => ZoneConfigView-26652f77.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneCreateView-8c1c2cc0.js => ZoneCreateView-f17b0bf5.js} (99%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneDetailTabsView-9a99bbb2.js => ZoneDetailTabsView-90c4967c.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneDetailView-02ab6610.js => ZoneDetailView-c9fb9a38.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneEgressClustersView-2014d5f6.js => ZoneEgressClustersView-d384d294.js} (66%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneEgressConfigView-57d187b7.js => ZoneEgressConfigView-26e0d113.js} (76%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneEgressDetailTabsView-4bdaf901.js => ZoneEgressDetailTabsView-96c42db1.js} (77%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneEgressDetailView-650077c9.js => ZoneEgressDetailView-e26a6e60.js} (75%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneEgressListView-2557f197.js => ZoneEgressListView-9172e46b.js} (84%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneEgressStatsView-745c444a.js => ZoneEgressStatsView-78bac372.js} (66%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneEgressSummaryView-b941a6d9.js => ZoneEgressSummaryView-023f0398.js} (91%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneEgressXdsConfigView-819b2fed.js => ZoneEgressXdsConfigView-deb6303d.js} (66%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneIngressClustersView-58fde3a2.js => ZoneIngressClustersView-a6bfe89f.js} (66%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneIngressConfigView-c5abed7c.js => ZoneIngressConfigView-bea563e7.js} (76%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneIngressDetailTabsView-144e3c1e.js => ZoneIngressDetailTabsView-48a9c68c.js} (77%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneIngressDetailView-7748f205.js => ZoneIngressDetailView-b8ec6bc0.js} (79%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneIngressListView-773cc9f2.js => ZoneIngressListView-5874572b.js} (85%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneIngressServicesView-175edde5.js => ZoneIngressServicesView-1dd33b0d.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneIngressStatsView-08ea7529.js => ZoneIngressStatsView-4d73437a.js} (66%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneIngressSummaryView-6e9164e1.js => ZoneIngressSummaryView-78823093.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneIngressXdsConfigView-9045a15a.js => ZoneIngressXdsConfigView-9a220cb5.js} (66%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneListView-40d4445b.js => ZoneListView-8bcc2238.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{index-6594470f.js => index-78599b4f.js} (99%) diff --git a/app/kuma-ui/pkg/resources/data/assets/AccordionList-373416d3.js b/app/kuma-ui/pkg/resources/data/assets/AccordionList-78965fe7.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/AccordionList-373416d3.js rename to app/kuma-ui/pkg/resources/data/assets/AccordionList-78965fe7.js index 6699b93489c2..12bf307ebd2e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AccordionList-373416d3.js +++ b/app/kuma-ui/pkg/resources/data/assets/AccordionList-78965fe7.js @@ -1 +1 @@ -import{d as v,am as m,z as i,H as y,o as c,c as l,m as A,r as s,f as h,e as b,w as x,p as O,an as I,n as L,_ as p,ao as g}from"./index-6594470f.js";const $=["aria-expanded"],B={key:0,class:"accordion-item-content","data-testid":"accordion-item-content"},C=v({__name:"AccordionItem",setup(r){const e=m("parentAccordion"),t=i(null),n=y(()=>e===void 0?!1:e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.includes(t.value):t.value===e.active.value);e!==void 0&&(t.value=e.count.value++);function o(){n.value?u():_()}function u(){e!==void 0&&(e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.splice(e.active.value.indexOf(t.value),1):e.active.value=null)}function _(){e!==void 0&&(e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.push(t.value):e.active.value=t.value)}function d(a){a instanceof HTMLElement&&(a.style.height=`${a.scrollHeight}px`)}function f(a){a instanceof HTMLElement&&(a.style.height="auto")}return(a,k)=>(c(),l("li",{class:L(["accordion-item",{active:n.value}])},[A("button",{class:"accordion-item-header",type:"button","aria-expanded":n.value?"true":"false","data-testid":"accordion-item-button",onClick:o},[s(a.$slots,"accordion-header",{},void 0,!0)],8,$),h(),b(I,{name:"accordion",onEnter:d,onAfterEnter:f,onBeforeLeave:d},{default:x(()=>[n.value?(c(),l("div",B,[s(a.$slots,"accordion-content",{},void 0,!0)])):O("",!0)]),_:3})],2))}});const T=p(C,[["__scopeId","data-v-53a0b6ce"]]),E={class:"accordion-list"},N=v({__name:"AccordionList",props:{initiallyOpen:{type:[Number,Array],required:!1,default:null},multipleOpen:{type:Boolean,required:!1,default:!1}},setup(r){const e=r,t=i(0),n=i(e.initiallyOpen!==null?e.initiallyOpen:e.multipleOpen?[]:null);return g("parentAccordion",{multipleOpen:e.multipleOpen,active:n,count:t}),(o,u)=>(c(),l("ul",E,[s(o.$slots,"default",{},void 0,!0)]))}});const V=p(N,[["__scopeId","data-v-bdbadd5e"]]);export{T as A,V as a}; +import{d as v,am as m,z as i,H as y,o as c,c as l,m as A,r as s,f as h,e as b,w as x,p as O,an as I,n as L,_ as p,ao as g}from"./index-78599b4f.js";const $=["aria-expanded"],B={key:0,class:"accordion-item-content","data-testid":"accordion-item-content"},C=v({__name:"AccordionItem",setup(r){const e=m("parentAccordion"),t=i(null),n=y(()=>e===void 0?!1:e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.includes(t.value):t.value===e.active.value);e!==void 0&&(t.value=e.count.value++);function o(){n.value?u():_()}function u(){e!==void 0&&(e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.splice(e.active.value.indexOf(t.value),1):e.active.value=null)}function _(){e!==void 0&&(e.multipleOpen&&Array.isArray(e.active.value)&&t.value!==null?e.active.value.push(t.value):e.active.value=t.value)}function d(a){a instanceof HTMLElement&&(a.style.height=`${a.scrollHeight}px`)}function f(a){a instanceof HTMLElement&&(a.style.height="auto")}return(a,k)=>(c(),l("li",{class:L(["accordion-item",{active:n.value}])},[A("button",{class:"accordion-item-header",type:"button","aria-expanded":n.value?"true":"false","data-testid":"accordion-item-button",onClick:o},[s(a.$slots,"accordion-header",{},void 0,!0)],8,$),h(),b(I,{name:"accordion",onEnter:d,onAfterEnter:f,onBeforeLeave:d},{default:x(()=>[n.value?(c(),l("div",B,[s(a.$slots,"accordion-content",{},void 0,!0)])):O("",!0)]),_:3})],2))}});const T=p(C,[["__scopeId","data-v-53a0b6ce"]]),E={class:"accordion-list"},N=v({__name:"AccordionList",props:{initiallyOpen:{type:[Number,Array],required:!1,default:null},multipleOpen:{type:Boolean,required:!1,default:!1}},setup(r){const e=r,t=i(0),n=i(e.initiallyOpen!==null?e.initiallyOpen:e.multipleOpen?[]:null);return g("parentAccordion",{multipleOpen:e.multipleOpen,active:n,count:t}),(o,u)=>(c(),l("ul",E,[s(o.$slots,"default",{},void 0,!0)]))}});const V=p(N,[["__scopeId","data-v-bdbadd5e"]]);export{T as A,V as a}; diff --git a/app/kuma-ui/pkg/resources/data/assets/App-cc93623c.js b/app/kuma-ui/pkg/resources/data/assets/App-d5f1b32e.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/App-cc93623c.js rename to app/kuma-ui/pkg/resources/data/assets/App-d5f1b32e.js index 3ac62bfb5f87..37ea3c79bc8e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/App-cc93623c.js +++ b/app/kuma-ui/pkg/resources/data/assets/App-d5f1b32e.js @@ -1,4 +1,4 @@ -import{_ as S,o as l,c as A,r as m,d as h,a as _,b as d,w as t,e as c,f as e,n as w,h as C,g as R,i as O,j as z,u as K,k as M,l as a,m as s,t as u,p as b,q as V,Q as U,S as D,s as B,v as T}from"./index-6594470f.js";import{K as E}from"./index-fce48c05.js";const P=""+new URL("product-logo-7a2ca341.png",import.meta.url).href,H={},Z={class:"app-navigator"};function G(r,o){return l(),A("li",Z,[m(r.$slots,"default")])}const y=S(H,[["render",G]]),Y=h({__name:"ControlPlaneNavigator",setup(r){return(o,p)=>{const i=_("RouterLink");return l(),d(y,{"data-testid":"control-planes-navigator"},{default:t(()=>[c(i,{class:w({"is-active":[o.$route.name].concat(o.$route.matched.map(n=>n.name)).some(n=>n==="home")}),to:{name:"home"}},{default:t(()=>[e(` +import{_ as S,o as l,c as A,r as m,d as h,a as _,b as d,w as t,e as c,f as e,n as w,h as C,g as R,i as O,j as z,u as K,k as M,l as a,m as s,t as u,p as b,q as V,Q as U,S as D,s as B,v as T}from"./index-78599b4f.js";import{K as E}from"./index-fce48c05.js";const P=""+new URL("product-logo-7a2ca341.png",import.meta.url).href,H={},Z={class:"app-navigator"};function G(r,o){return l(),A("li",Z,[m(r.$slots,"default")])}const y=S(H,[["render",G]]),Y=h({__name:"ControlPlaneNavigator",setup(r){return(o,p)=>{const i=_("RouterLink");return l(),d(y,{"data-testid":"control-planes-navigator"},{default:t(()=>[c(i,{class:w({"is-active":[o.$route.name].concat(o.$route.matched.map(n=>n.name)).some(n=>n==="home")}),to:{name:"home"}},{default:t(()=>[e(` Home `)]),_:1},8,["class"])]),_:1})}}}),q=h({name:"github-button",props:{href:String,ariaLabel:String,title:String,dataIcon:String,dataColorScheme:String,dataSize:String,dataShowCount:String,dataText:String},render:function(){const r={ref:"_"};for(const o in this.$props)r[C(o)]=this.$props[o];return R("span",[O(this.$slots,"default")?R("a",r,this.$slots.default()):R("a",r)])},mounted:function(){this.paint()},beforeUpdate:function(){this.reset()},updated:function(){this.paint()},beforeUnmount:function(){this.reset()},methods:{paint:function(){const r=this.$el.appendChild(document.createElement("span")),o=this;z(()=>import("./buttons.esm-48f94bc9.js"),[],import.meta.url).then(function(p){p.render(r.appendChild(o.$refs._),function(i){try{r.parentNode.replaceChild(i,r)}catch{}})})},reset:function(){this.$el.replaceChild(this.$refs._,this.$el.lastChild)}}}),x={class:"alert-content"},Q=h({__name:"UpgradeCheck",setup(r){const o=K(),{t:p}=M();return(i,n)=>{const k=_("KButton"),g=_("KAlert"),f=_("DataSource");return l(),d(f,{src:"/control-plane/version/latest"},{default:t(({data:v})=>[a(o)("KUMA_VERSION")!==(v==null?void 0:v.version)?(l(),d(g,{key:0,"data-testid":"upgrade-check",class:"upgrade-check-alert",appearance:"info",size:"small"},{alertMessage:t(()=>[s("div",x,[s("div",null,u(a(p)("common.product.name"))+` update available `,1),e(),s("div",null,[c(k,{appearance:"primary",to:a(p)("common.product.href.install")},{default:t(()=>[e(` diff --git a/app/kuma-ui/pkg/resources/data/assets/AppCollection-39f5da3b.js b/app/kuma-ui/pkg/resources/data/assets/AppCollection-fab1a627.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/AppCollection-39f5da3b.js rename to app/kuma-ui/pkg/resources/data/assets/AppCollection-fab1a627.js index f756917bae09..e6cf6d54ee8a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AppCollection-39f5da3b.js +++ b/app/kuma-ui/pkg/resources/data/assets/AppCollection-fab1a627.js @@ -1 +1 @@ -import{K as x}from"./index-fce48c05.js";import{d as A,k as I,o as u,c as D,e as g,l as o,a6 as B,f as c,m as K,r as v,t as p,_ as L,N as q,z as r,H as E,a7 as w,b as h,W as N,w as l,P as V,A as W,C as j,a8 as H,a9 as U}from"./index-6594470f.js";import{_ as F}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";const X=["href"],Z=A({__name:"DocumentationLink",props:{href:{}},setup(_){const{t:m}=I(),f=_;return(e,S)=>(u(),D("a",{class:"docs-link",href:f.href,target:"_blank"},[g(o(B),{size:o(x),title:o(m)("common.documentation")},null,8,["size","title"]),c(),K("span",null,[v(e.$slots,"default",{},()=>[c(p(o(m)("common.documentation")),1)],!0)])],8,X))}});const G=L(Z,[["__scopeId","data-v-1e7645ce"]]),J={key:0,class:"app-collection-toolbar"},z=5,Q=A({__name:"AppCollection",props:{isSelectedRow:{type:[Function,null],default:null},total:{default:0},pageNumber:{default:1},pageSize:{default:30},items:{},headers:{},error:{default:void 0},emptyStateTitle:{default:void 0},emptyStateMessage:{default:void 0},emptyStateCtaTo:{default:void 0},emptyStateCtaText:{default:void 0}},emits:["change"],setup(_,{emit:m}){const{t:f}=I(),e=_,S=m,M=q(),k=r(e.items),C=r(0),b=r(0),y=r(e.pageNumber),T=r(e.pageSize),O=E(()=>{const t=e.headers.filter(a=>["details","warnings","actions"].includes(a.key));if(t.length>4)return"initial";const s=100-t.length*z,n=e.headers.length-t.length;return`calc(${s}% / ${n})`});w(()=>e.items,(t,s)=>{t!==s&&(C.value++,k.value=e.items)}),w(()=>e.pageNumber,function(){e.pageNumber!==y.value&&b.value++});function P(t){if(!t)return{};const s={};return e.isSelectedRow!==null&&e.isSelectedRow(t)&&(s.class="is-selected"),s}const R=t=>{const s=t.target.closest("tr");if(s){const n=s.querySelector("a");n!==null&&n.click()}};return(t,s)=>{var n;return u(),h(o(U),{key:b.value,class:"app-collection",style:H(`--column-width: ${O.value}; --special-column-width: ${z}%;`),"has-error":typeof e.error<"u","pagination-total-items":e.total,"initial-fetcher-params":{page:e.pageNumber,pageSize:e.pageSize},headers:e.headers,"fetcher-cache-key":String(C.value),fetcher:({page:a,pageSize:i,query:$})=>{const d={};return y.value!==a&&(d.page=a),T.value!==i&&(d.size=i),y.value=a,T.value=i,Object.keys(d).length>0&&S("change",d),{data:k.value}},"cell-attrs":({headerKey:a})=>({class:`${a}-column`}),"row-attrs":P,"disable-sorting":"","hide-pagination-when-optional":"","onRow:click":R},N({_:2},[((n=e.items)==null?void 0:n.length)===0?{name:"empty-state",fn:l(()=>[g(F,null,N({default:l(()=>[c(p(e.emptyStateTitle??o(f)("common.emptyState.title"))+" ",1),c()]),_:2},[e.emptyStateMessage?{name:"message",fn:l(()=>[c(p(e.emptyStateMessage),1)]),key:"0"}:void 0,e.emptyStateCtaTo?{name:"cta",fn:l(()=>[typeof e.emptyStateCtaTo=="string"?(u(),h(G,{key:0,href:e.emptyStateCtaTo},{default:l(()=>[c(p(e.emptyStateCtaText),1)]),_:1},8,["href"])):(u(),h(o(V),{key:1,appearance:"primary",to:e.emptyStateCtaTo},{default:l(()=>[g(o(W),{size:o(x)},null,8,["size"]),c(" "+p(e.emptyStateCtaText),1)]),_:1},8,["to"]))]),key:"1"}:void 0]),1024)]),key:"0"}:void 0,j(Object.keys(o(M)),a=>({name:a,fn:l(({row:i,rowValue:$})=>[a==="toolbar"?(u(),D("div",J,[v(t.$slots,"toolbar",{},void 0,!0)])):v(t.$slots,a,{key:1,row:i,rowValue:$},void 0,!0)])}))]),1032,["style","has-error","pagination-total-items","initial-fetcher-params","headers","fetcher-cache-key","fetcher","cell-attrs"])}}});const ae=L(Q,[["__scopeId","data-v-06f2a961"]]);export{ae as A,G as D}; +import{K as x}from"./index-fce48c05.js";import{d as A,k as I,o as u,c as D,e as g,l as o,a6 as B,f as c,m as K,r as v,t as p,_ as L,N as q,z as r,H as E,a7 as w,b as h,W as N,w as l,P as V,A as W,C as j,a8 as H,a9 as U}from"./index-78599b4f.js";import{_ as F}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";const X=["href"],Z=A({__name:"DocumentationLink",props:{href:{}},setup(_){const{t:m}=I(),f=_;return(e,S)=>(u(),D("a",{class:"docs-link",href:f.href,target:"_blank"},[g(o(B),{size:o(x),title:o(m)("common.documentation")},null,8,["size","title"]),c(),K("span",null,[v(e.$slots,"default",{},()=>[c(p(o(m)("common.documentation")),1)],!0)])],8,X))}});const G=L(Z,[["__scopeId","data-v-1e7645ce"]]),J={key:0,class:"app-collection-toolbar"},z=5,Q=A({__name:"AppCollection",props:{isSelectedRow:{type:[Function,null],default:null},total:{default:0},pageNumber:{default:1},pageSize:{default:30},items:{},headers:{},error:{default:void 0},emptyStateTitle:{default:void 0},emptyStateMessage:{default:void 0},emptyStateCtaTo:{default:void 0},emptyStateCtaText:{default:void 0}},emits:["change"],setup(_,{emit:m}){const{t:f}=I(),e=_,S=m,M=q(),k=r(e.items),C=r(0),b=r(0),y=r(e.pageNumber),T=r(e.pageSize),O=E(()=>{const t=e.headers.filter(a=>["details","warnings","actions"].includes(a.key));if(t.length>4)return"initial";const s=100-t.length*z,n=e.headers.length-t.length;return`calc(${s}% / ${n})`});w(()=>e.items,(t,s)=>{t!==s&&(C.value++,k.value=e.items)}),w(()=>e.pageNumber,function(){e.pageNumber!==y.value&&b.value++});function P(t){if(!t)return{};const s={};return e.isSelectedRow!==null&&e.isSelectedRow(t)&&(s.class="is-selected"),s}const R=t=>{const s=t.target.closest("tr");if(s){const n=s.querySelector("a");n!==null&&n.click()}};return(t,s)=>{var n;return u(),h(o(U),{key:b.value,class:"app-collection",style:H(`--column-width: ${O.value}; --special-column-width: ${z}%;`),"has-error":typeof e.error<"u","pagination-total-items":e.total,"initial-fetcher-params":{page:e.pageNumber,pageSize:e.pageSize},headers:e.headers,"fetcher-cache-key":String(C.value),fetcher:({page:a,pageSize:i,query:$})=>{const d={};return y.value!==a&&(d.page=a),T.value!==i&&(d.size=i),y.value=a,T.value=i,Object.keys(d).length>0&&S("change",d),{data:k.value}},"cell-attrs":({headerKey:a})=>({class:`${a}-column`}),"row-attrs":P,"disable-sorting":"","hide-pagination-when-optional":"","onRow:click":R},N({_:2},[((n=e.items)==null?void 0:n.length)===0?{name:"empty-state",fn:l(()=>[g(F,null,N({default:l(()=>[c(p(e.emptyStateTitle??o(f)("common.emptyState.title"))+" ",1),c()]),_:2},[e.emptyStateMessage?{name:"message",fn:l(()=>[c(p(e.emptyStateMessage),1)]),key:"0"}:void 0,e.emptyStateCtaTo?{name:"cta",fn:l(()=>[typeof e.emptyStateCtaTo=="string"?(u(),h(G,{key:0,href:e.emptyStateCtaTo},{default:l(()=>[c(p(e.emptyStateCtaText),1)]),_:1},8,["href"])):(u(),h(o(V),{key:1,appearance:"primary",to:e.emptyStateCtaTo},{default:l(()=>[g(o(W),{size:o(x)},null,8,["size"]),c(" "+p(e.emptyStateCtaText),1)]),_:1},8,["to"]))]),key:"1"}:void 0]),1024)]),key:"0"}:void 0,j(Object.keys(o(M)),a=>({name:a,fn:l(({row:i,rowValue:$})=>[a==="toolbar"?(u(),D("div",J,[v(t.$slots,"toolbar",{},void 0,!0)])):v(t.$slots,a,{key:1,row:i,rowValue:$},void 0,!0)])}))]),1032,["style","has-error","pagination-total-items","initial-fetcher-params","headers","fetcher-cache-key","fetcher","cell-attrs"])}}});const ae=L(Q,[["__scopeId","data-v-06f2a961"]]);export{ae as A,G as D}; diff --git a/app/kuma-ui/pkg/resources/data/assets/CodeBlock-13aedd48.js b/app/kuma-ui/pkg/resources/data/assets/CodeBlock-9e7fa2ff.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/CodeBlock-13aedd48.js rename to app/kuma-ui/pkg/resources/data/assets/CodeBlock-9e7fa2ff.js index 403e98c5b897..0ce5a27ef629 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CodeBlock-13aedd48.js +++ b/app/kuma-ui/pkg/resources/data/assets/CodeBlock-9e7fa2ff.js @@ -1,4 +1,4 @@ -import{ae as Y,af as te,d as ne,z as re,o as Z,c as W,r as K,p as ie,f as se,e as oe,W as le,w as ue,l as de,ag as ce,_ as ge}from"./index-6594470f.js";import{u as pe}from"./uniqueId-90cc9b93.js";var V={exports:{}};(function(m){var E=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +import{ae as Y,af as te,d as ne,z as re,o as Z,c as W,r as K,p as ie,f as se,e as oe,W as le,w as ue,l as de,ag as ce,_ as ge}from"./index-78599b4f.js";import{u as pe}from"./uniqueId-90cc9b93.js";var V={exports:{}};(function(m){var E=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT diff --git a/app/kuma-ui/pkg/resources/data/assets/ControlPlaneDetailView-dbaefe7d.js b/app/kuma-ui/pkg/resources/data/assets/ControlPlaneDetailView-91e97c80.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/ControlPlaneDetailView-dbaefe7d.js rename to app/kuma-ui/pkg/resources/data/assets/ControlPlaneDetailView-91e97c80.js index d2ad80b349f9..46e17b6b1306 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ControlPlaneDetailView-dbaefe7d.js +++ b/app/kuma-ui/pkg/resources/data/assets/ControlPlaneDetailView-91e97c80.js @@ -1 +1 @@ -import{K as P}from"./index-fce48c05.js";import{d as C,k as b,a as c,o as i,b as p,w as e,e as o,f as a,t as m,l as t,q as N,x as T,m as r,c as z,F as S,A as I,p as L,_ as E}from"./index-6594470f.js";import{E as x}from"./ErrorBlock-eae09ed8.js";import{_ as Z}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{A}from"./AppCollection-39f5da3b.js";import{S as $}from"./StatusBadge-0fda3dff.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";const F=C({__name:"MeshInsightsList",props:{items:{}},setup(f){const{t:s}=b(),u=f;return(w,k)=>{var d;const y=c("RouterLink");return i(),p(A,{headers:[{label:t(s)("meshes.components.mesh-insights-list.name"),key:"name"},{label:t(s)("meshes.components.mesh-insights-list.services"),key:"services"},{label:t(s)("meshes.components.mesh-insights-list.dataplanes"),key:"dataplanes"}],items:u.items,total:(d=u.items)==null?void 0:d.length,"empty-state-message":t(s)("common.emptyState.message",{type:t(s)("meshes.common.type",{count:2})}),"empty-state-cta-to":t(s)("meshes.href.docs"),"empty-state-cta-text":t(s)("common.documentation")},{name:e(({row:n})=>[o(y,{to:{name:"mesh-detail-view",params:{mesh:n.name}}},{default:e(()=>[a(m(n.name),1)]),_:2},1032,["to"])]),services:e(({row:n})=>[a(m(n.services.internal),1)]),dataplanes:e(({row:n})=>[a(m(n.dataplanesByType.standard.online)+" / "+m(n.dataplanesByType.standard.total),1)]),_:1},8,["headers","items","total","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),q=C({__name:"ZoneControlPlanesList",props:{items:{}},setup(f){const{t:s}=b(),u=N(),w=f;return(k,y)=>{var n;const d=c("RouterLink");return i(),p(A,{headers:[{label:t(s)("zone-cps.components.zone-control-planes-list.name"),key:"name"},{label:t(s)("zone-cps.components.zone-control-planes-list.status"),key:"status"}],items:w.items,total:(n=w.items)==null?void 0:n.length,"empty-state-title":t(s)("zone-cps.empty_state.title"),"empty-state-message":t(u)("create zones")?t(s)("zone-cps.empty_state.message"):t(s)("common.emptyState.message",{type:"Zones"}),"empty-state-cta-to":t(u)("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":t(s)("zones.index.create")},{name:e(({row:_})=>[o(d,{to:{name:"zone-cp-detail-view",params:{zone:_.name}}},{default:e(()=>[a(m(_.name),1)]),_:2},1032,["to"])]),status:e(({row:_})=>[o($,{status:_.state},null,8,["status"])]),_:1},8,["headers","items","total","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),M={key:2,class:"stack","data-testid":"detail-view-details"},O={class:"columns"},U={class:"card-header"},j={class:"card-title"},G={key:0,class:"card-actions"},H={class:"card-header"},J={class:"card-title"},Q=C({__name:"ControlPlaneDetailView",setup(f){const s=T();return(u,w)=>{const k=c("RouteTitle"),y=c("RouterLink"),d=c("KButton"),n=c("DataSource"),_=c("KCard"),D=c("AppView"),K=c("RouteView");return i(),p(K,{name:"home"},{default:e(({can:g,t:h})=>[o(D,null,{title:e(()=>[r("h1",null,[o(k,{title:h("main-overview.routes.item.title")},null,8,["title"])])]),default:e(()=>[a(),o(n,{src:"/global-insight"},{default:e(({data:V,error:B})=>[B?(i(),p(x,{key:0,error:B},null,8,["error"])):V===void 0?(i(),p(Z,{key:1})):(i(),z("div",M,[o(t(s),{"can-use-zones":g("use zones"),"global-insight":V},null,8,["can-use-zones","global-insight"]),a(),r("div",O,[g("use zones")?(i(),p(_,{key:0},{default:e(()=>[o(n,{src:"/zone-cps?page=1&size=10"},{default:e(({data:l,error:v})=>{var R;return[v?(i(),p(x,{key:0,error:v},null,8,["error"])):(i(),z(S,{key:1},[r("div",U,[r("div",j,[r("h2",null,m(h("main-overview.detail.zone_control_planes.title")),1),a(),o(y,{to:{name:"zone-cp-list-view"}},{default:e(()=>[a(m(h("main-overview.detail.health.view_all")),1)]),_:2},1024)]),a(),g("create zones")&&(((R=l==null?void 0:l.items)==null?void 0:R.length)??0>0)?(i(),z("div",G,[o(d,{appearance:"primary",to:{name:"zone-create-view"}},{default:e(()=>[o(t(I),{size:t(P)},null,8,["size"]),a(" "+m(h("zones.index.create")),1)]),_:2},1024)])):L("",!0)]),a(),o(q,{"data-testid":"zone-control-planes-details",items:l==null?void 0:l.items},null,8,["items"])],64))]}),_:2},1024)]),_:2},1024)):L("",!0),a(),o(_,null,{default:e(()=>[o(n,{src:"/mesh-insights?page=1&size=10"},{default:e(({data:l,error:v})=>[v?(i(),p(x,{key:0,error:v},null,8,["error"])):(i(),z(S,{key:1},[r("div",H,[r("div",J,[r("h2",null,m(h("main-overview.detail.meshes.title")),1),a(),o(y,{to:{name:"mesh-list-view"}},{default:e(()=>[a(m(h("main-overview.detail.health.view_all")),1)]),_:2},1024)])]),a(),o(F,{"data-testid":"meshes-details",items:l==null?void 0:l.items},null,8,["items"])],64))]),_:2},1024)]),_:2},1024)])]))]),_:2},1024)]),_:2},1024)]),_:1})}}});const le=E(Q,[["__scopeId","data-v-a360c612"]]);export{le as default}; +import{K as P}from"./index-fce48c05.js";import{d as C,k as b,a as c,o as i,b as p,w as e,e as o,f as a,t as m,l as t,q as N,x as T,m as r,c as z,F as S,A as I,p as L,_ as E}from"./index-78599b4f.js";import{E as x}from"./ErrorBlock-c71bafad.js";import{_ as Z}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{A}from"./AppCollection-fab1a627.js";import{S as $}from"./StatusBadge-3f562081.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";const F=C({__name:"MeshInsightsList",props:{items:{}},setup(f){const{t:s}=b(),u=f;return(w,k)=>{var d;const y=c("RouterLink");return i(),p(A,{headers:[{label:t(s)("meshes.components.mesh-insights-list.name"),key:"name"},{label:t(s)("meshes.components.mesh-insights-list.services"),key:"services"},{label:t(s)("meshes.components.mesh-insights-list.dataplanes"),key:"dataplanes"}],items:u.items,total:(d=u.items)==null?void 0:d.length,"empty-state-message":t(s)("common.emptyState.message",{type:t(s)("meshes.common.type",{count:2})}),"empty-state-cta-to":t(s)("meshes.href.docs"),"empty-state-cta-text":t(s)("common.documentation")},{name:e(({row:n})=>[o(y,{to:{name:"mesh-detail-view",params:{mesh:n.name}}},{default:e(()=>[a(m(n.name),1)]),_:2},1032,["to"])]),services:e(({row:n})=>[a(m(n.services.internal),1)]),dataplanes:e(({row:n})=>[a(m(n.dataplanesByType.standard.online)+" / "+m(n.dataplanesByType.standard.total),1)]),_:1},8,["headers","items","total","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),q=C({__name:"ZoneControlPlanesList",props:{items:{}},setup(f){const{t:s}=b(),u=N(),w=f;return(k,y)=>{var n;const d=c("RouterLink");return i(),p(A,{headers:[{label:t(s)("zone-cps.components.zone-control-planes-list.name"),key:"name"},{label:t(s)("zone-cps.components.zone-control-planes-list.status"),key:"status"}],items:w.items,total:(n=w.items)==null?void 0:n.length,"empty-state-title":t(s)("zone-cps.empty_state.title"),"empty-state-message":t(u)("create zones")?t(s)("zone-cps.empty_state.message"):t(s)("common.emptyState.message",{type:"Zones"}),"empty-state-cta-to":t(u)("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":t(s)("zones.index.create")},{name:e(({row:_})=>[o(d,{to:{name:"zone-cp-detail-view",params:{zone:_.name}}},{default:e(()=>[a(m(_.name),1)]),_:2},1032,["to"])]),status:e(({row:_})=>[o($,{status:_.state},null,8,["status"])]),_:1},8,["headers","items","total","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),M={key:2,class:"stack","data-testid":"detail-view-details"},O={class:"columns"},U={class:"card-header"},j={class:"card-title"},G={key:0,class:"card-actions"},H={class:"card-header"},J={class:"card-title"},Q=C({__name:"ControlPlaneDetailView",setup(f){const s=T();return(u,w)=>{const k=c("RouteTitle"),y=c("RouterLink"),d=c("KButton"),n=c("DataSource"),_=c("KCard"),D=c("AppView"),K=c("RouteView");return i(),p(K,{name:"home"},{default:e(({can:g,t:h})=>[o(D,null,{title:e(()=>[r("h1",null,[o(k,{title:h("main-overview.routes.item.title")},null,8,["title"])])]),default:e(()=>[a(),o(n,{src:"/global-insight"},{default:e(({data:V,error:B})=>[B?(i(),p(x,{key:0,error:B},null,8,["error"])):V===void 0?(i(),p(Z,{key:1})):(i(),z("div",M,[o(t(s),{"can-use-zones":g("use zones"),"global-insight":V},null,8,["can-use-zones","global-insight"]),a(),r("div",O,[g("use zones")?(i(),p(_,{key:0},{default:e(()=>[o(n,{src:"/zone-cps?page=1&size=10"},{default:e(({data:l,error:v})=>{var R;return[v?(i(),p(x,{key:0,error:v},null,8,["error"])):(i(),z(S,{key:1},[r("div",U,[r("div",j,[r("h2",null,m(h("main-overview.detail.zone_control_planes.title")),1),a(),o(y,{to:{name:"zone-cp-list-view"}},{default:e(()=>[a(m(h("main-overview.detail.health.view_all")),1)]),_:2},1024)]),a(),g("create zones")&&(((R=l==null?void 0:l.items)==null?void 0:R.length)??0>0)?(i(),z("div",G,[o(d,{appearance:"primary",to:{name:"zone-create-view"}},{default:e(()=>[o(t(I),{size:t(P)},null,8,["size"]),a(" "+m(h("zones.index.create")),1)]),_:2},1024)])):L("",!0)]),a(),o(q,{"data-testid":"zone-control-planes-details",items:l==null?void 0:l.items},null,8,["items"])],64))]}),_:2},1024)]),_:2},1024)):L("",!0),a(),o(_,null,{default:e(()=>[o(n,{src:"/mesh-insights?page=1&size=10"},{default:e(({data:l,error:v})=>[v?(i(),p(x,{key:0,error:v},null,8,["error"])):(i(),z(S,{key:1},[r("div",H,[r("div",J,[r("h2",null,m(h("main-overview.detail.meshes.title")),1),a(),o(y,{to:{name:"mesh-list-view"}},{default:e(()=>[a(m(h("main-overview.detail.health.view_all")),1)]),_:2},1024)])]),a(),o(F,{"data-testid":"meshes-details",items:l==null?void 0:l.items},null,8,["items"])],64))]),_:2},1024)]),_:2},1024)])]))]),_:2},1024)]),_:2},1024)]),_:1})}}});const le=E(Q,[["__scopeId","data-v-a360c612"]]);export{le as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/CopyButton-60165c43.js b/app/kuma-ui/pkg/resources/data/assets/CopyButton-752e056c.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/CopyButton-60165c43.js rename to app/kuma-ui/pkg/resources/data/assets/CopyButton-752e056c.js index 731a1410e44c..6af38fe354d1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CopyButton-60165c43.js +++ b/app/kuma-ui/pkg/resources/data/assets/CopyButton-752e056c.js @@ -1 +1 @@ -import{e as u}from"./index-fce48c05.js";import{d as _,a as n,o as f,b as y,w as i,e as c,l as T,ac as x,f as C,r as m,ad as h,m as B,t as b,_ as v}from"./index-6594470f.js";const g={class:"visually-hidden"},w={inheritAttrs:!1},S=_({...w,__name:"CopyButton",props:{text:{default:""},getText:{type:[Function,null],default:null},copyText:{default:"Copy"},tooltipSuccessText:{default:"Copied code!"},tooltipFailText:{default:"Failed to copy!"},hasBorder:{type:Boolean,default:!1},hideTitle:{type:Boolean,default:!1},iconColor:{default:u}},setup(r){const t=r;async function d(l,s){const e=l.currentTarget;let o=!1;try{const a=t.getText?await t.getText():t.text;o=await s(a)}catch{o=!1}finally{const a=o?t.tooltipSuccessText:t.tooltipFailText;e instanceof HTMLButtonElement&&(e.setAttribute("data-tooltip-copy-success",String(o)),e.setAttribute("data-tooltip-text",a),window.setTimeout(function(){e instanceof HTMLButtonElement&&e.removeAttribute("data-tooltip-text")},1500))}}return(l,s)=>{const e=n("KButton"),o=n("KClipboardProvider");return f(),y(o,null,{default:i(({copyToClipboard:a})=>[c(e,h(l.$attrs,{appearance:"tertiary",class:["copy-button",{"non-visual-button":!t.hasBorder}],"data-testid":"copy-button",title:t.hideTitle?void 0:t.copyText,type:"button",onClick:p=>d(p,a)}),{default:i(()=>[c(T(x),{color:t.iconColor,title:t.hideTitle?void 0:t.copyText,"hide-title":t.hideTitle},null,8,["color","title","hide-title"]),C(),m(l.$slots,"default",{},()=>[B("span",g,b(t.copyText),1)],!0)]),_:2},1040,["class","title","onClick"])]),_:3})}}});const k=v(S,[["__scopeId","data-v-48672cb5"]]);export{k as C}; +import{e as u}from"./index-fce48c05.js";import{d as _,a as n,o as f,b as y,w as i,e as c,l as T,ac as x,f as C,r as m,ad as h,m as B,t as b,_ as v}from"./index-78599b4f.js";const g={class:"visually-hidden"},w={inheritAttrs:!1},S=_({...w,__name:"CopyButton",props:{text:{default:""},getText:{type:[Function,null],default:null},copyText:{default:"Copy"},tooltipSuccessText:{default:"Copied code!"},tooltipFailText:{default:"Failed to copy!"},hasBorder:{type:Boolean,default:!1},hideTitle:{type:Boolean,default:!1},iconColor:{default:u}},setup(r){const t=r;async function d(l,s){const e=l.currentTarget;let o=!1;try{const a=t.getText?await t.getText():t.text;o=await s(a)}catch{o=!1}finally{const a=o?t.tooltipSuccessText:t.tooltipFailText;e instanceof HTMLButtonElement&&(e.setAttribute("data-tooltip-copy-success",String(o)),e.setAttribute("data-tooltip-text",a),window.setTimeout(function(){e instanceof HTMLButtonElement&&e.removeAttribute("data-tooltip-text")},1500))}}return(l,s)=>{const e=n("KButton"),o=n("KClipboardProvider");return f(),y(o,null,{default:i(({copyToClipboard:a})=>[c(e,h(l.$attrs,{appearance:"tertiary",class:["copy-button",{"non-visual-button":!t.hasBorder}],"data-testid":"copy-button",title:t.hideTitle?void 0:t.copyText,type:"button",onClick:p=>d(p,a)}),{default:i(()=>[c(T(x),{color:t.iconColor,title:t.hideTitle?void 0:t.copyText,"hide-title":t.hideTitle},null,8,["color","title","hide-title"]),C(),m(l.$slots,"default",{},()=>[B("span",g,b(t.copyText),1)],!0)]),_:2},1040,["class","title","onClick"])]),_:3})}}});const k=v(S,[["__scopeId","data-v-48672cb5"]]);export{k as C}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-2fa51065.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-47727f60.js similarity index 67% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-2fa51065.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-47727f60.js index 185c8c44ca03..a551c813d545 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-2fa51065.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-47727f60.js @@ -1 +1 @@ -import{_ as c}from"./EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js";import{d,a as t,o as m,b as u,w as o,e as n,m as _,f as h}from"./index-6594470f.js";import"./index-fce48c05.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./ErrorBlock-eae09ed8.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";const N=d({__name:"DataPlaneClustersView",setup(f){return(g,x)=>{const r=t("RouteTitle"),s=t("KCard"),p=t("AppView"),l=t("RouteView");return m(),u(l,{name:"data-plane-clusters-view",params:{mesh:"",dataPlane:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:o(({route:e,t:i})=>[n(p,null,{title:o(()=>[_("h2",null,[n(r,{title:i("data-planes.routes.item.navigation.data-plane-clusters-view")},null,8,["title"])])]),default:o(()=>[h(),n(s,null,{default:o(()=>[n(c,{resource:"Data Plane Proxy",src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/clusters`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{N as default}; +import{_ as c}from"./EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js";import{d,a as t,o as m,b as u,w as o,e as n,m as _,f as h}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./ErrorBlock-c71bafad.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";const N=d({__name:"DataPlaneClustersView",setup(f){return(g,x)=>{const r=t("RouteTitle"),s=t("KCard"),p=t("AppView"),l=t("RouteView");return m(),u(l,{name:"data-plane-clusters-view",params:{mesh:"",dataPlane:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:o(({route:e,t:i})=>[n(p,null,{title:o(()=>[_("h2",null,[n(r,{title:i("data-planes.routes.item.navigation.data-plane-clusters-view")},null,8,["title"])])]),default:o(()=>[h(),n(s,null,{default:o(()=>[n(c,{resource:"Data Plane Proxy",src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/clusters`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{N as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-c8afcf0f.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-3a37e475.js similarity index 77% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-c8afcf0f.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-3a37e475.js index 5e35386897c6..a841dfb9bf7f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-c8afcf0f.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-3a37e475.js @@ -1 +1 @@ -import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-5c4d11ef.js";import{E as w}from"./ErrorBlock-eae09ed8.js";import{_ as E}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{d as R,a as t,o as n,b as r,w as o,e as s,m as V,f as k,p as y}from"./index-6594470f.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./TextWithCopyButton-e98ec405.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const Q=R({__name:"DataPlaneConfigView",setup(v){return($,F)=>{const d=t("RouteTitle"),c=t("DataSource"),_=t("KCard"),u=t("AppView"),f=t("RouteView");return n(),r(f,{name:"data-plane-config-view",params:{mesh:"",dataPlane:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:o(({route:e,t:g})=>[s(u,null,{title:o(()=>[V("h2",null,[s(d,{title:g("data-planes.routes.item.navigation.data-plane-config-view")},null,8,["title"])])]),default:o(()=>[k(),s(_,null,{default:o(()=>[s(c,{src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}`},{default:o(({data:i,error:m})=>[m?(n(),r(w,{key:0,error:m},null,8,["error"])):i===void 0?(n(),r(E,{key:1})):(n(),r(x,{key:2,resource:i.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},{default:o(({copy:a,copying:h})=>[h?(n(),r(c,{key:0,src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/as/kubernetes?no-store`,onChange:p=>{a(l=>l(p))},onError:p=>{a((l,C)=>C(p))}},null,8,["src","onChange","onError"])):y("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{Q as default}; +import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js";import{E as w}from"./ErrorBlock-c71bafad.js";import{_ as E}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{d as R,a as t,o as n,b as r,w as o,e as s,m as V,f as k,p as y}from"./index-78599b4f.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./TextWithCopyButton-c32acac7.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const Q=R({__name:"DataPlaneConfigView",setup(v){return($,F)=>{const d=t("RouteTitle"),c=t("DataSource"),_=t("KCard"),u=t("AppView"),f=t("RouteView");return n(),r(f,{name:"data-plane-config-view",params:{mesh:"",dataPlane:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:o(({route:e,t:g})=>[s(u,null,{title:o(()=>[V("h2",null,[s(d,{title:g("data-planes.routes.item.navigation.data-plane-config-view")},null,8,["title"])])]),default:o(()=>[k(),s(_,null,{default:o(()=>[s(c,{src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}`},{default:o(({data:i,error:m})=>[m?(n(),r(w,{key:0,error:m},null,8,["error"])):i===void 0?(n(),r(E,{key:1})):(n(),r(x,{key:2,resource:i.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},{default:o(({copy:a,copying:h})=>[h?(n(),r(c,{key:0,src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/as/kubernetes?no-store`,onChange:p=>{a(l=>l(p))},onError:p=>{a((l,C)=>C(p))}},null,8,["src","onChange","onError"])):y("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{Q as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-ae5d7b11.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-c63500a6.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-ae5d7b11.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-c63500a6.js index f04aa6c3caf2..bd0e3046cf5d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-ae5d7b11.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-c63500a6.js @@ -1 +1 @@ -import{d as $,k as g,U as k,a as n,o as m,b as p,w as t,e as s,l as w,m as B,f as b,c as T,F as C,B as G}from"./index-6594470f.js";import{E as N}from"./ErrorBlock-eae09ed8.js";import{_ as D}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{N as P}from"./NavTabs-bb254677.js";import{T as E}from"./TextWithCopyButton-e98ec405.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./CopyButton-60165c43.js";const H=$({__name:"DataPlaneDetailTabsView",props:{isGatewayView:{type:Boolean,required:!1,default:!1}},setup(h){var _;const{t:c}=g(),v=k(),o=h,x=(((_=v.getRoutes().find(a=>a.name===`${o.isGatewayView?"gateway":"data-plane"}-detail-tabs-view`))==null?void 0:_.children)??[]).map(a=>{var i,l;const d=typeof a.name>"u"?(i=a.children)==null?void 0:i[0]:a,r=d.name,u=((l=d.meta)==null?void 0:l.module)??"";return{title:c(`${o.isGatewayView?"gateways":"data-planes"}.routes.item.navigation.${r}`),routeName:r,module:u}});return(a,d)=>{const r=n("RouteTitle"),u=n("RouterView"),f=n("DataSource"),i=n("AppView"),l=n("RouteView");return m(),p(l,{name:"data-plane-detail-tabs-view",params:{mesh:"",dataPlane:""}},{default:t(({route:e})=>[s(i,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:e.params.mesh}},text:e.params.mesh},{to:{name:`${o.isGatewayView?"gateway":"data-plane"}-list-view`,params:{mesh:e.params.mesh}},text:w(c)(`${o.isGatewayView?"gateways":"data-planes"}.routes.item.breadcrumbs`)}]},{title:t(()=>[B("h1",null,[s(E,{text:e.params.dataPlane},{default:t(()=>[s(r,{title:w(c)(`${o.isGatewayView?"gateways":"data-planes"}.routes.item.title`,{name:e.params.dataPlane})},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[b(),s(f,{src:`/meshes/${e.params.mesh}/dataplane-overviews/${e.params.dataPlane}`},{default:t(({data:y,error:V})=>[V?(m(),p(N,{key:0,error:V},null,8,["error"])):y===void 0?(m(),p(D,{key:1})):(m(),T(C,{key:2},[s(P,{class:"route-data-plane-view-tabs",tabs:w(x)},null,8,["tabs"]),b(),s(u,null,{default:t(R=>[(m(),p(G(R.Component),{data:y},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{H as default}; +import{d as $,k as g,U as k,a as n,o as m,b as p,w as t,e as s,l as w,m as B,f as b,c as T,F as C,B as G}from"./index-78599b4f.js";import{E as N}from"./ErrorBlock-c71bafad.js";import{_ as D}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{N as P}from"./NavTabs-3217ce74.js";import{T as E}from"./TextWithCopyButton-c32acac7.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./CopyButton-752e056c.js";const H=$({__name:"DataPlaneDetailTabsView",props:{isGatewayView:{type:Boolean,required:!1,default:!1}},setup(h){var _;const{t:c}=g(),v=k(),o=h,x=(((_=v.getRoutes().find(a=>a.name===`${o.isGatewayView?"gateway":"data-plane"}-detail-tabs-view`))==null?void 0:_.children)??[]).map(a=>{var i,l;const d=typeof a.name>"u"?(i=a.children)==null?void 0:i[0]:a,r=d.name,u=((l=d.meta)==null?void 0:l.module)??"";return{title:c(`${o.isGatewayView?"gateways":"data-planes"}.routes.item.navigation.${r}`),routeName:r,module:u}});return(a,d)=>{const r=n("RouteTitle"),u=n("RouterView"),f=n("DataSource"),i=n("AppView"),l=n("RouteView");return m(),p(l,{name:"data-plane-detail-tabs-view",params:{mesh:"",dataPlane:""}},{default:t(({route:e})=>[s(i,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:e.params.mesh}},text:e.params.mesh},{to:{name:`${o.isGatewayView?"gateway":"data-plane"}-list-view`,params:{mesh:e.params.mesh}},text:w(c)(`${o.isGatewayView?"gateways":"data-planes"}.routes.item.breadcrumbs`)}]},{title:t(()=>[B("h1",null,[s(E,{text:e.params.dataPlane},{default:t(()=>[s(r,{title:w(c)(`${o.isGatewayView?"gateways":"data-planes"}.routes.item.title`,{name:e.params.dataPlane})},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[b(),s(f,{src:`/meshes/${e.params.mesh}/dataplane-overviews/${e.params.dataPlane}`},{default:t(({data:y,error:V})=>[V?(m(),p(N,{key:0,error:V},null,8,["error"])):y===void 0?(m(),p(D,{key:1})):(m(),T(C,{key:2},[s(P,{class:"route-data-plane-view-tabs",tabs:w(x)},null,8,["tabs"]),b(),s(u,null,{default:t(R=>[(m(),p(G(R.Component),{data:y},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{H as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-87aedfb8.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-cc4f0275.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-87aedfb8.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-cc4f0275.js index bbb8b7067786..3f5a616935a4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-87aedfb8.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-cc4f0275.js @@ -1,4 +1,4 @@ -import{a as Z,K as L}from"./index-fce48c05.js";import{_ as V,a as h,o as r,b as g,w as e,m as a,r as T,f as t,d as M,c as d,e as i,k as F,t as o,l as n,F as _,C as b,p as w,n as j,H as Y,W as H,X as k,Y as J,Z as Q,$ as tt,a0 as et,B as at,s as nt,v as st}from"./index-6594470f.js";import{S as ot}from"./StatusBadge-0fda3dff.js";import{S as lt}from"./SummaryView-4df08b91.js";import{T as G}from"./TagList-a4b64f68.js";import{T as rt}from"./TextWithCopyButton-e98ec405.js";import{_ as it}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-ffb3c891.js";import"./CopyButton-60165c43.js";import"./AccordionList-373416d3.js";const dt={},ct={class:"card"},ut={class:"title"},_t={class:"body"};function pt(v,s){const u=h("KCard");return r(),g(u,{class:"data-card"},{default:e(()=>[a("dl",null,[a("div",ct,[a("dt",ut,[T(v.$slots,"title",{},void 0,!0)]),t(),a("dd",_t,[T(v.$slots,"default",{},void 0,!0)])])])]),_:3})}const X=V(dt,[["render",pt],["__scopeId","data-v-6e083223"]]),mt={class:"service-traffic"},ft={class:"actions"},vt=M({__name:"DataPlaneTraffic",setup(v){return(s,u)=>(r(),d("div",mt,[a("div",ft,[T(s.$slots,"actions",{},void 0,!0)]),t(),i(X,{class:"header"},{title:e(()=>[T(s.$slots,"title",{},void 0,!0)]),_:3}),t(),T(s.$slots,"default",{},void 0,!0)]))}});const W=V(vt,[["__scopeId","data-v-5bd1dbf9"]]),yt={class:"title"},ht={key:0},gt=M({__name:"ServiceTrafficCard",props:{protocol:{},traffic:{}},setup(v){const{t:s}=F(),u=v,p=x=>{const B=x.target;if(B.nodeName.toLowerCase()!=="a"){const S=B.closest(".service-traffic-card");if(S){const $=S.querySelector("a");$!==null&&$.click()}}};return(x,B)=>{const S=h("KBadge");return r(),g(X,{class:"service-traffic-card",onClick:p},{title:e(()=>[i(S,{appearance:u.protocol==="passthrough"?"success":"info"},{default:e(()=>[t(o(n(s)(`data-planes.components.service_traffic_card.protocol.${u.protocol}`,{},{defaultMessage:n(s)(`http.api.value.${u.protocol}`)})),1)]),_:1},8,["appearance"]),t(),a("div",yt,[T(x.$slots,"default",{},void 0,!0)])]),default:e(()=>{var $,C,K,R,P,q,z,E,N;return[t(),u.traffic?(r(),d("dl",ht,[u.protocol==="passthrough"?(r(!0),d(_,{key:0},b([["http","tcp"].reduce((f,m)=>{var I;const y="downstream";return Object.entries(((I=u.traffic)==null?void 0:I[m])||{}).reduce((D,[l,c])=>[`${y}_cx_tx_bytes_total`,`${y}_cx_rx_bytes_total`].includes(l)?{...D,[l]:c+(D[l]??0)}:D,f)},{})],(f,m)=>(r(),d(_,{key:m},[a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.tx")),1),t(),a("dd",null,o(n(s)("common.formats.bytes",{value:f.downstream_cx_rx_bytes_total??0})),1)]),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.rx")),1),t(),a("dd",null,o(n(s)("common.formats.bytes",{value:f.downstream_cx_tx_bytes_total??0})),1)])],64))),128)):u.protocol==="grpc"?(r(),d(_,{key:1},[a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.grpc_success")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:(($=u.traffic.grpc)==null?void 0:$.success)??0})),1)]),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.grpc_failure")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:((C=u.traffic.grpc)==null?void 0:C.failure)??0})),1)])],64)):u.protocol==="http"?(r(),d(_,{key:2},[(r(!0),d(_,null,b([((K=u.traffic.http)==null?void 0:K.downstream_rq_1xx)??0].filter(f=>f!==0),f=>(r(),d("div",{key:f},[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.1xx")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:f})),1)]))),128)),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.2xx")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:((R=u.traffic.http)==null?void 0:R.downstream_rq_2xx)??0})),1)]),t(),(r(!0),d(_,null,b([((P=u.traffic.http)==null?void 0:P.downstream_rq_3xx)??0].filter(f=>f!==0),f=>(r(),d("div",{key:f},[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.3xx")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:f})),1)]))),128)),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.4xx")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:((q=u.traffic.http)==null?void 0:q.downstream_rq_4xx)??0})),1)]),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.5xx")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:((z=u.traffic.http)==null?void 0:z.downstream_rq_5xx)??0})),1)])],64)):(r(),d(_,{key:3},[a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.tx")),1),t(),a("dd",null,o(n(s)("common.formats.bytes",{value:((E=u.traffic.tcp)==null?void 0:E.downstream_cx_rx_bytes_total)??0})),1)]),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.rx")),1),t(),a("dd",null,o(n(s)("common.formats.bytes",{value:((N=u.traffic.tcp)==null?void 0:N.downstream_cx_tx_bytes_total)??0})),1)])],64))])):w("",!0)]}),_:3})}}});const A=V(gt,[["__scopeId","data-v-eddcb161"]]),bt={class:"body"},kt=M({__name:"ServiceTrafficGroup",props:{type:{}},setup(v){const s=v;return(u,p)=>{const x=h("KCard");return r(),g(x,{class:j(["service-traffic-group",`type-${s.type}`])},{default:e(()=>[a("div",bt,[T(u.$slots,"default",{},void 0,!0)])]),_:3},8,["class"])}}});const O=V(kt,[["__scopeId","data-v-baf4abf7"]]),wt=v=>(nt("data-v-5b927109"),v=v(),st(),v),xt={"data-testid":"dataplane-warnings"},$t=["data-testid","innerHTML"],Ct={key:0,"data-testid":"warning-stats-loading"},Tt={class:"stack","data-testid":"dataplane-details"},It={class:"columns"},St={class:"status-with-reason"},Kt={class:"columns"},Dt=wt(()=>a("span",null,"Outbounds",-1)),Vt={"data-testid":"dataplane-mtls"},Bt={class:"columns"},Rt=["innerHTML"],Pt={key:2,"data-testid":"dataplane-subscriptions"},qt=M({__name:"DataPlaneDetailView",props:{data:{}},setup(v){const{t:s,formatIsoDate:u}=F(),p=v,x=Y(()=>p.data.warnings.concat(...p.data.isCertExpired?[{kind:"CERT_EXPIRED"}]:[]));return(B,S)=>{const $=h("KTooltip"),C=h("KCard"),K=h("RouterLink"),R=h("KInputSwitch"),P=h("KButton"),q=h("RouterView"),z=h("KAlert"),E=h("AppView"),N=h("DataSource"),f=h("RouteView");return r(),g(f,{params:{mesh:"",dataPlane:"",service:"",inactive:!1},name:"data-plane-detail-view"},{default:e(({route:m})=>[i(N,{src:p.data.dataplaneType==="standard"?`/meshes/${m.params.mesh}/dataplanes/${m.params.dataPlane}/traffic`:""},{default:e(({data:y,error:I,refresh:D})=>[i(E,null,H({default:e(()=>[t(),a("div",Tt,[i(C,null,{default:e(()=>[a("div",It,[i(k,null,{title:e(()=>[t(o(n(s)("http.api.property.status")),1)]),body:e(()=>[a("div",St,[i(ot,{status:p.data.status},null,8,["status"]),t(),(r(!0),d(_,null,b([p.data.dataplane.networking.inbounds.filter(l=>!l.health.ready)],l=>(r(),d(_,{key:l},[l.length>0?(r(),g($,{key:0,class:"reason-tooltip","position-fixed":""},{content:e(()=>[a("ul",null,[(r(!0),d(_,null,b(l,c=>(r(),d("li",{key:`${c.service}:${c.port}`},o(n(s)("data-planes.routes.item.unhealthy_inbound",{service:c.service,port:c.port})),1))),128))])]),default:e(()=>[i(n(J),{color:n(Z),size:n(L),"hide-title":""},null,8,["color","size"]),t()]),_:2},1024)):w("",!0)],64))),128))])]),_:1}),t(),i(k,null,{title:e(()=>[t(o(n(s)("data-planes.routes.item.last_updated")),1)]),body:e(()=>[t(o(n(u)(p.data.modificationTime)),1)]),_:1}),t(),p.data.dataplane.networking.gateway?(r(),d(_,{key:0},[i(k,null,{title:e(()=>[t(o(n(s)("http.api.property.tags")),1)]),body:e(()=>[i(G,{tags:p.data.dataplane.networking.gateway.tags},null,8,["tags"])]),_:1}),t(),i(k,null,{title:e(()=>[t(o(n(s)("http.api.property.address")),1)]),body:e(()=>[i(rt,{text:`${p.data.dataplane.networking.address}`},null,8,["text"])]),_:1})],64)):w("",!0)])]),_:1}),t(),p.data.dataplaneType==="standard"?(r(),g(C,{key:0,class:"traffic","data-testid":"dataplane-traffic"},{default:e(()=>[a("div",Kt,[i(W,null,{title:e(()=>[i(n(Q),{display:"inline-block",decorative:"",size:n(L)},null,8,["size"]),t(` +import{a as Z,K as L}from"./index-fce48c05.js";import{_ as V,a as h,o as r,b as g,w as e,m as a,r as T,f as t,d as M,c as d,e as i,k as F,t as o,l as n,F as _,C as b,p as w,n as j,H as Y,W as H,X as k,Y as J,Z as Q,$ as tt,a0 as et,B as at,s as nt,v as st}from"./index-78599b4f.js";import{S as ot}from"./StatusBadge-3f562081.js";import{S as lt}from"./SummaryView-87032df3.js";import{T as G}from"./TagList-f1447eb8.js";import{T as rt}from"./TextWithCopyButton-c32acac7.js";import{_ as it}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-16d3020e.js";import"./CopyButton-752e056c.js";import"./AccordionList-78965fe7.js";const dt={},ct={class:"card"},ut={class:"title"},_t={class:"body"};function pt(v,s){const u=h("KCard");return r(),g(u,{class:"data-card"},{default:e(()=>[a("dl",null,[a("div",ct,[a("dt",ut,[T(v.$slots,"title",{},void 0,!0)]),t(),a("dd",_t,[T(v.$slots,"default",{},void 0,!0)])])])]),_:3})}const X=V(dt,[["render",pt],["__scopeId","data-v-6e083223"]]),mt={class:"service-traffic"},ft={class:"actions"},vt=M({__name:"DataPlaneTraffic",setup(v){return(s,u)=>(r(),d("div",mt,[a("div",ft,[T(s.$slots,"actions",{},void 0,!0)]),t(),i(X,{class:"header"},{title:e(()=>[T(s.$slots,"title",{},void 0,!0)]),_:3}),t(),T(s.$slots,"default",{},void 0,!0)]))}});const W=V(vt,[["__scopeId","data-v-5bd1dbf9"]]),yt={class:"title"},ht={key:0},gt=M({__name:"ServiceTrafficCard",props:{protocol:{},traffic:{}},setup(v){const{t:s}=F(),u=v,p=x=>{const B=x.target;if(B.nodeName.toLowerCase()!=="a"){const S=B.closest(".service-traffic-card");if(S){const $=S.querySelector("a");$!==null&&$.click()}}};return(x,B)=>{const S=h("KBadge");return r(),g(X,{class:"service-traffic-card",onClick:p},{title:e(()=>[i(S,{appearance:u.protocol==="passthrough"?"success":"info"},{default:e(()=>[t(o(n(s)(`data-planes.components.service_traffic_card.protocol.${u.protocol}`,{},{defaultMessage:n(s)(`http.api.value.${u.protocol}`)})),1)]),_:1},8,["appearance"]),t(),a("div",yt,[T(x.$slots,"default",{},void 0,!0)])]),default:e(()=>{var $,C,K,R,P,q,z,E,N;return[t(),u.traffic?(r(),d("dl",ht,[u.protocol==="passthrough"?(r(!0),d(_,{key:0},b([["http","tcp"].reduce((f,m)=>{var I;const y="downstream";return Object.entries(((I=u.traffic)==null?void 0:I[m])||{}).reduce((D,[l,c])=>[`${y}_cx_tx_bytes_total`,`${y}_cx_rx_bytes_total`].includes(l)?{...D,[l]:c+(D[l]??0)}:D,f)},{})],(f,m)=>(r(),d(_,{key:m},[a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.tx")),1),t(),a("dd",null,o(n(s)("common.formats.bytes",{value:f.downstream_cx_rx_bytes_total??0})),1)]),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.rx")),1),t(),a("dd",null,o(n(s)("common.formats.bytes",{value:f.downstream_cx_tx_bytes_total??0})),1)])],64))),128)):u.protocol==="grpc"?(r(),d(_,{key:1},[a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.grpc_success")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:(($=u.traffic.grpc)==null?void 0:$.success)??0})),1)]),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.grpc_failure")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:((C=u.traffic.grpc)==null?void 0:C.failure)??0})),1)])],64)):u.protocol==="http"?(r(),d(_,{key:2},[(r(!0),d(_,null,b([((K=u.traffic.http)==null?void 0:K.downstream_rq_1xx)??0].filter(f=>f!==0),f=>(r(),d("div",{key:f},[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.1xx")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:f})),1)]))),128)),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.2xx")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:((R=u.traffic.http)==null?void 0:R.downstream_rq_2xx)??0})),1)]),t(),(r(!0),d(_,null,b([((P=u.traffic.http)==null?void 0:P.downstream_rq_3xx)??0].filter(f=>f!==0),f=>(r(),d("div",{key:f},[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.3xx")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:f})),1)]))),128)),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.4xx")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:((q=u.traffic.http)==null?void 0:q.downstream_rq_4xx)??0})),1)]),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.5xx")),1),t(),a("dd",null,o(n(s)("common.formats.integer",{value:((z=u.traffic.http)==null?void 0:z.downstream_rq_5xx)??0})),1)])],64)):(r(),d(_,{key:3},[a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.tx")),1),t(),a("dd",null,o(n(s)("common.formats.bytes",{value:((E=u.traffic.tcp)==null?void 0:E.downstream_cx_rx_bytes_total)??0})),1)]),t(),a("div",null,[a("dt",null,o(n(s)("data-planes.components.service_traffic_card.rx")),1),t(),a("dd",null,o(n(s)("common.formats.bytes",{value:((N=u.traffic.tcp)==null?void 0:N.downstream_cx_tx_bytes_total)??0})),1)])],64))])):w("",!0)]}),_:3})}}});const A=V(gt,[["__scopeId","data-v-eddcb161"]]),bt={class:"body"},kt=M({__name:"ServiceTrafficGroup",props:{type:{}},setup(v){const s=v;return(u,p)=>{const x=h("KCard");return r(),g(x,{class:j(["service-traffic-group",`type-${s.type}`])},{default:e(()=>[a("div",bt,[T(u.$slots,"default",{},void 0,!0)])]),_:3},8,["class"])}}});const O=V(kt,[["__scopeId","data-v-baf4abf7"]]),wt=v=>(nt("data-v-5b927109"),v=v(),st(),v),xt={"data-testid":"dataplane-warnings"},$t=["data-testid","innerHTML"],Ct={key:0,"data-testid":"warning-stats-loading"},Tt={class:"stack","data-testid":"dataplane-details"},It={class:"columns"},St={class:"status-with-reason"},Kt={class:"columns"},Dt=wt(()=>a("span",null,"Outbounds",-1)),Vt={"data-testid":"dataplane-mtls"},Bt={class:"columns"},Rt=["innerHTML"],Pt={key:2,"data-testid":"dataplane-subscriptions"},qt=M({__name:"DataPlaneDetailView",props:{data:{}},setup(v){const{t:s,formatIsoDate:u}=F(),p=v,x=Y(()=>p.data.warnings.concat(...p.data.isCertExpired?[{kind:"CERT_EXPIRED"}]:[]));return(B,S)=>{const $=h("KTooltip"),C=h("KCard"),K=h("RouterLink"),R=h("KInputSwitch"),P=h("KButton"),q=h("RouterView"),z=h("KAlert"),E=h("AppView"),N=h("DataSource"),f=h("RouteView");return r(),g(f,{params:{mesh:"",dataPlane:"",service:"",inactive:!1},name:"data-plane-detail-view"},{default:e(({route:m})=>[i(N,{src:p.data.dataplaneType==="standard"?`/meshes/${m.params.mesh}/dataplanes/${m.params.dataPlane}/traffic`:""},{default:e(({data:y,error:I,refresh:D})=>[i(E,null,H({default:e(()=>[t(),a("div",Tt,[i(C,null,{default:e(()=>[a("div",It,[i(k,null,{title:e(()=>[t(o(n(s)("http.api.property.status")),1)]),body:e(()=>[a("div",St,[i(ot,{status:p.data.status},null,8,["status"]),t(),(r(!0),d(_,null,b([p.data.dataplane.networking.inbounds.filter(l=>!l.health.ready)],l=>(r(),d(_,{key:l},[l.length>0?(r(),g($,{key:0,class:"reason-tooltip","position-fixed":""},{content:e(()=>[a("ul",null,[(r(!0),d(_,null,b(l,c=>(r(),d("li",{key:`${c.service}:${c.port}`},o(n(s)("data-planes.routes.item.unhealthy_inbound",{service:c.service,port:c.port})),1))),128))])]),default:e(()=>[i(n(J),{color:n(Z),size:n(L),"hide-title":""},null,8,["color","size"]),t()]),_:2},1024)):w("",!0)],64))),128))])]),_:1}),t(),i(k,null,{title:e(()=>[t(o(n(s)("data-planes.routes.item.last_updated")),1)]),body:e(()=>[t(o(n(u)(p.data.modificationTime)),1)]),_:1}),t(),p.data.dataplane.networking.gateway?(r(),d(_,{key:0},[i(k,null,{title:e(()=>[t(o(n(s)("http.api.property.tags")),1)]),body:e(()=>[i(G,{tags:p.data.dataplane.networking.gateway.tags},null,8,["tags"])]),_:1}),t(),i(k,null,{title:e(()=>[t(o(n(s)("http.api.property.address")),1)]),body:e(()=>[i(rt,{text:`${p.data.dataplane.networking.address}`},null,8,["text"])]),_:1})],64)):w("",!0)])]),_:1}),t(),p.data.dataplaneType==="standard"?(r(),g(C,{key:0,class:"traffic","data-testid":"dataplane-traffic"},{default:e(()=>[a("div",Kt,[i(W,null,{title:e(()=>[i(n(Q),{display:"inline-block",decorative:"",size:n(L)},null,8,["size"]),t(` Inbounds `)]),default:e(()=>[t(),i(O,{type:"inbound"},{default:e(()=>[(r(!0),d(_,null,b(p.data.dataplane.networking.inbounds,l=>(r(),d(_,{key:`${l.port}`},[(r(!0),d(_,null,b([(y||{inbounds:[]}).inbounds.find(c=>`${c.port}`==`${l.port}`)],c=>(r(),g(A,{key:c,protocol:l.protocol,traffic:c},{default:e(()=>[i(K,{to:{name:"data-plane-inbound-summary-overview-view",params:{service:l.port},query:{inactive:m.params.inactive?null:void 0}}},{default:e(()=>[t(` :`+o(l.port),1)]),_:2},1032,["to"]),t(),i(G,{tags:[{label:"kuma.io/service",value:l.tags["kuma.io/service"]}]},null,8,["tags"])]),_:2},1032,["protocol","traffic"]))),128))],64))),128))]),_:2},1024)]),_:2},1024),t(),i(W,null,H({title:e(()=>[i(n(tt),{display:"inline-block",decorative:"",size:n(L)},null,8,["size"]),t(),Dt]),default:e(()=>[t(),t(),y?(r(),d(_,{key:0},[i(O,{type:"passthrough"},{default:e(()=>[i(A,{protocol:"passthrough",traffic:y.passthrough},{default:e(()=>[t(` diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryClustersView-4be2bd31.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryClustersView-ae8d3f0d.js similarity index 80% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryClustersView-4be2bd31.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryClustersView-ae8d3f0d.js index b892b3f583a5..5f9315d55f1a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryClustersView-4be2bd31.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryClustersView-ae8d3f0d.js @@ -1,4 +1,4 @@ -import{K as g}from"./index-fce48c05.js";import{d as x,a as t,o as n,b as r,w as o,e as s,m as p,f as i,l as m,a0 as y}from"./index-6594470f.js";import{C as R}from"./CodeBlock-13aedd48.js";import{E as k}from"./ErrorBlock-eae09ed8.js";import{_ as w}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import"./uniqueId-90cc9b93.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const D=x({__name:"DataPlaneInboundSummaryClustersView",setup(E){return(V,v)=>{const d=t("RouteTitle"),u=t("KButton"),_=t("DataSource"),f=t("AppView"),h=t("RouteView");return n(),r(h,{params:{codeSearch:"",codeFilter:!1,codeRegExp:!1,mesh:"",dataPlane:"",service:""},name:"data-plane-inbound-summary-clusters-view"},{default:o(({route:e})=>[s(f,null,{title:o(()=>[p("h3",null,[s(d,{title:"Clusters"})])]),default:o(()=>[i(),p("div",null,[s(_,{src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/clusters`},{default:o(({data:c,error:l,refresh:C})=>[l?(n(),r(k,{key:0,error:l},null,8,["error"])):c===void 0?(n(),r(w,{key:1})):(n(),r(R,{key:2,language:"json",code:(()=>`${c.split(` +import{K as g}from"./index-fce48c05.js";import{d as x,a as t,o as n,b as r,w as o,e as s,m as p,f as i,l as m,a0 as y}from"./index-78599b4f.js";import{C as R}from"./CodeBlock-9e7fa2ff.js";import{E as k}from"./ErrorBlock-c71bafad.js";import{_ as w}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import"./uniqueId-90cc9b93.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const D=x({__name:"DataPlaneInboundSummaryClustersView",setup(E){return(V,v)=>{const d=t("RouteTitle"),u=t("KButton"),_=t("DataSource"),f=t("AppView"),h=t("RouteView");return n(),r(h,{params:{codeSearch:"",codeFilter:!1,codeRegExp:!1,mesh:"",dataPlane:"",service:""},name:"data-plane-inbound-summary-clusters-view"},{default:o(({route:e})=>[s(f,null,{title:o(()=>[p("h3",null,[s(d,{title:"Clusters"})])]),default:o(()=>[i(),p("div",null,[s(_,{src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/clusters`},{default:o(({data:c,error:l,refresh:C})=>[l?(n(),r(k,{key:0,error:l},null,8,["error"])):c===void 0?(n(),r(w,{key:1})):(n(),r(R,{key:2,language:"json",code:(()=>`${c.split(` `).filter(a=>a.startsWith(`localhost:${e.params.service}::`)).map(a=>a.replace(`localhost:${e.params.service}::`,"")).join(` `)}`)(),"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},{"primary-actions":o(()=>[s(u,{appearance:"primary",onClick:C},{default:o(()=>[s(m(y),{size:m(g)},null,8,["size"]),i(` Refresh diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryOverviewView-cb383171.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryOverviewView-51c4bcbc.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryOverviewView-cb383171.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryOverviewView-51c4bcbc.js index 5f650c4d53a9..7837e7fa3adf 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryOverviewView-cb383171.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryOverviewView-51c4bcbc.js @@ -1,4 +1,4 @@ -import{d as _,a as r,o as m,b as h,w as t,e as a,m as y,X as n,f as e,t as i}from"./index-6594470f.js";import{T as f}from"./TagList-a4b64f68.js";import{T as l}from"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";const g={class:"stack-with-borders"},z=_({__name:"DataPlaneInboundSummaryOverviewView",props:{data:{}},setup(d){const o=d;return(w,v)=>{const s=r("KBadge"),p=r("AppView"),c=r("RouteView");return m(),h(c,{name:"data-plane-inbound-summary-overview-view"},{default:t(({t:u})=>[a(p,null,{default:t(()=>[y("div",g,[a(n,{layout:"horizontal"},{title:t(()=>[e(` +import{d as _,a as r,o as m,b as h,w as t,e as a,m as y,X as n,f as e,t as i}from"./index-78599b4f.js";import{T as f}from"./TagList-f1447eb8.js";import{T as l}from"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";const g={class:"stack-with-borders"},z=_({__name:"DataPlaneInboundSummaryOverviewView",props:{data:{}},setup(d){const o=d;return(w,v)=>{const s=r("KBadge"),p=r("AppView"),c=r("RouteView");return m(),h(c,{name:"data-plane-inbound-summary-overview-view"},{default:t(({t:u})=>[a(p,null,{default:t(()=>[y("div",g,[a(n,{layout:"horizontal"},{title:t(()=>[e(` Tags `)]),body:t(()=>[a(f,{tags:o.data.tags,alignment:"right"},null,8,["tags"])]),_:1}),e(),a(n,{layout:"horizontal"},{title:t(()=>[e(` Status diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryStatsView-3ec7f0af.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryStatsView-fa690d9a.js similarity index 80% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryStatsView-3ec7f0af.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryStatsView-fa690d9a.js index 905f053c9209..dfe1fe9d3978 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryStatsView-3ec7f0af.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryStatsView-fa690d9a.js @@ -1,4 +1,4 @@ -import{K as C}from"./index-fce48c05.js";import{d as x,a as t,o as s,b as r,w as o,e as n,m as i,f as l,l as m,a0 as y}from"./index-6594470f.js";import{C as R}from"./CodeBlock-13aedd48.js";import{E as k}from"./ErrorBlock-eae09ed8.js";import{_ as S}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import"./uniqueId-90cc9b93.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const D=x({__name:"DataPlaneInboundSummaryStatsView",setup(w){return(E,V)=>{const d=t("RouteTitle"),_=t("KButton"),u=t("DataSource"),f=t("AppView"),h=t("RouteView");return s(),r(h,{params:{codeSearch:"",codeFilter:!1,codeRegExp:!1,mesh:"",dataPlane:"",service:""},name:"data-plane-inbound-summary-stats-view"},{default:o(({route:e})=>[n(f,null,{title:o(()=>[i("h3",null,[n(d,{title:"Stats"})])]),default:o(()=>[l(),i("div",null,[n(u,{src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/stats`},{default:o(({data:c,error:p,refresh:g})=>[p?(s(),r(k,{key:0,error:p},null,8,["error"])):c===void 0?(s(),r(S,{key:1})):(s(),r(R,{key:2,language:"json",code:(()=>`${c.split(` +import{K as C}from"./index-fce48c05.js";import{d as x,a as t,o as s,b as r,w as o,e as n,m as i,f as l,l as m,a0 as y}from"./index-78599b4f.js";import{C as R}from"./CodeBlock-9e7fa2ff.js";import{E as k}from"./ErrorBlock-c71bafad.js";import{_ as S}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import"./uniqueId-90cc9b93.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const D=x({__name:"DataPlaneInboundSummaryStatsView",setup(w){return(E,V)=>{const d=t("RouteTitle"),_=t("KButton"),u=t("DataSource"),f=t("AppView"),h=t("RouteView");return s(),r(h,{params:{codeSearch:"",codeFilter:!1,codeRegExp:!1,mesh:"",dataPlane:"",service:""},name:"data-plane-inbound-summary-stats-view"},{default:o(({route:e})=>[n(f,null,{title:o(()=>[i("h3",null,[n(d,{title:"Stats"})])]),default:o(()=>[l(),i("div",null,[n(u,{src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/stats`},{default:o(({data:c,error:p,refresh:g})=>[p?(s(),r(k,{key:0,error:p},null,8,["error"])):c===void 0?(s(),r(S,{key:1})):(s(),r(R,{key:2,language:"json",code:(()=>`${c.split(` `).filter(a=>a.includes(`.localhost_${e.params.service}.`)).map(a=>a.replace(`localhost_${e.params.service}.`,"")).join(` `)}`)(),"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},{"primary-actions":o(()=>[n(_,{appearance:"primary",onClick:g},{default:o(()=>[n(m(y),{size:m(C)},null,8,["size"]),l(` Refresh diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryView-94e5830b.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryView-5ec2596d.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryView-94e5830b.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryView-5ec2596d.js index 195e4871af84..32be988c5a69 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryView-94e5830b.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneInboundSummaryView-5ec2596d.js @@ -1,2 +1,2 @@ -import{d as I,k as g,U as R,a as l,o as m,b as p,w as t,e as _,m as r,f as c,t as y,l as f,c as S,F as k,B as x,s as N,v as B,a1 as C,_ as D}from"./index-6594470f.js";import{_ as P}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import{N as A}from"./NavTabs-bb254677.js";const F=a=>(N("data-v-708e12d6"),a=a(),B(),a),T={class:"summary-title-wrapper"},$=F(()=>r("img",{"aria-hidden":"true",src:C},null,-1)),E={class:"summary-title"},U=I({__name:"DataPlaneInboundSummaryView",props:{data:{}},setup(a){var v;const{t:u}=g(),V=R(),w=a,h=(((v=V.getRoutes().find(e=>e.name==="data-plane-inbound-summary-view"))==null?void 0:v.children)??[]).map(e=>{var o,s;const d=typeof e.name>"u"?(o=e.children)==null?void 0:o[0]:e,n=d.name,i=((s=d.meta)==null?void 0:s.module)??"";return{title:u(`data-planes.routes.item.navigation.${n}`),routeName:n,module:i}});return(e,d)=>{const n=l("RouterView"),i=l("AppView"),b=l("RouteView");return m(),p(b,{name:"data-plane-inbound-summary-view",params:{service:""}},{default:t(({route:o})=>[_(i,null,{title:t(()=>[r("div",T,[$,c(),r("h2",E,` +import{d as I,k as g,U as R,a as l,o as m,b as p,w as t,e as _,m as r,f as c,t as y,l as f,c as S,F as k,B as x,s as N,v as B,a1 as C,_ as D}from"./index-78599b4f.js";import{_ as P}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import{N as A}from"./NavTabs-3217ce74.js";const F=a=>(N("data-v-708e12d6"),a=a(),B(),a),T={class:"summary-title-wrapper"},$=F(()=>r("img",{"aria-hidden":"true",src:C},null,-1)),E={class:"summary-title"},U=I({__name:"DataPlaneInboundSummaryView",props:{data:{}},setup(a){var v;const{t:u}=g(),V=R(),w=a,h=(((v=V.getRoutes().find(e=>e.name==="data-plane-inbound-summary-view"))==null?void 0:v.children)??[]).map(e=>{var o,s;const d=typeof e.name>"u"?(o=e.children)==null?void 0:o[0]:e,n=d.name,i=((s=d.meta)==null?void 0:s.module)??"";return{title:u(`data-planes.routes.item.navigation.${n}`),routeName:n,module:i}});return(e,d)=>{const n=l("RouterView"),i=l("AppView"),b=l("RouteView");return m(),p(b,{name:"data-plane-inbound-summary-view",params:{service:""}},{default:t(({route:o})=>[_(i,null,{title:t(()=>[r("div",T,[$,c(),r("h2",E,` Inbound :`+y(o.params.service),1)])]),default:t(()=>[c(),typeof w.data>"u"?(m(),p(P,{key:0},{message:t(()=>[r("p",null,y(f(u)("common.collection.summary.empty_message",{type:"Inbound"})),1)]),default:t(()=>[c(y(f(u)("common.collection.summary.empty_title",{type:"Inbound"}))+" ",1)]),_:1})):(m(),S(k,{key:1},[_(A,{tabs:f(h)},null,8,["tabs"]),c(),_(n,null,{default:t(s=>[(m(),p(x(s.Component),{data:w.data},null,8,["data"]))]),_:1})],64))]),_:2},1024)]),_:1})}}});const H=D(U,[["__scopeId","data-v-708e12d6"]]);export{H as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-799dc1fe.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-22a7e59f.js similarity index 82% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-799dc1fe.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-22a7e59f.js index c6aa752719b4..d9fb925bc88f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-799dc1fe.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-22a7e59f.js @@ -1 +1 @@ -import{D as C,F as V}from"./FilterBar-b8e0d56d.js";import{E as k}from"./ErrorBlock-eae09ed8.js";import{S as z}from"./SummaryView-4df08b91.js";import{d as S,a as l,o,b as i,w as t,e as n,m as D,f as p,t as P,B as q,p as u,_ as T}from"./index-6594470f.js";import"./index-fce48c05.js";import"./AppCollection-39f5da3b.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./StatusBadge-0fda3dff.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./uniqueId-90cc9b93.js";const x=S({__name:"DataPlaneListView",setup(B){return(R,N)=>{const y=l("RouteTitle"),f=l("KSelect"),g=l("KCard"),w=l("RouterView"),v=l("AppView"),m=l("DataSource"),b=l("RouteView");return o(),i(m,{src:"/me"},{default:t(({data:c})=>[c?(o(),i(b,{key:0,name:"data-plane-list-view",params:{page:1,size:c.pageSize,query:"",dataplaneType:"all",s:"",mesh:"",dataPlane:""}},{default:t(({can:h,route:e,t:d})=>[n(m,{src:`/meshes/${e.params.mesh}/dataplanes/of/${e.params.dataplaneType}?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:t(({data:s,error:r})=>[n(v,null,{title:t(()=>[D("h2",null,[n(y,{title:d("data-planes.routes.items.title")},null,8,["title"])])]),default:t(()=>[p(),n(g,null,{default:t(()=>[r!==void 0?(o(),i(k,{key:0,error:r},null,8,["error"])):(o(),i(C,{key:1,"data-testid":"data-plane-collection","page-number":e.params.page,"page-size":e.params.size,total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:r,"is-selected-row":a=>a.name===e.params.dataPlane,"summary-route-name":"data-plane-summary-view","is-global-mode":h("use zones"),onChange:e.update},{toolbar:t(()=>[n(V,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/service: backend'",query:e.params.query,fields:{name:{description:"filter by name or parts of a name"},protocol:{description:"filter by “kuma.io/protocol” value"},service:{description:"filter by “kuma.io/service” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},zone:{description:"filter by “kuma.io/zone” value"}},onFieldsChange:a=>e.update({query:a.query,s:a.query.length>0?JSON.stringify(a.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),p(),n(f,{class:"filter-select",label:"Type",items:["all","standard","builtin","delegated"].map(a=>({value:a,label:d(`data-planes.type.${a}`),selected:a===e.params.dataplaneType})),onSelected:a=>e.update({dataplaneType:String(a.value)})},{"item-template":t(({item:a})=>[p(P(a.label),1)]),_:2},1032,["items","onSelected"])]),_:2},1032,["page-number","page-size","total","items","error","is-selected-row","is-global-mode","onChange"]))]),_:2},1024),p(),e.params.dataPlane?(o(),i(w,{key:0},{default:t(a=>[n(z,{onClose:_=>e.replace({name:"data-plane-list-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:t(()=>[(o(),i(q(a.Component),{name:e.params.dataPlane,"dataplane-overview":s==null?void 0:s.items.find(_=>_.name===e.params.dataPlane)},null,8,["name","dataplane-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):u("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):u("",!0)]),_:1})}}});const M=T(x,[["__scopeId","data-v-2aeea609"]]);export{M as default}; +import{D as C,F as V}from"./FilterBar-28a9c29c.js";import{E as k}from"./ErrorBlock-c71bafad.js";import{S as z}from"./SummaryView-87032df3.js";import{d as S,a as l,o,b as i,w as t,e as n,m as D,f as p,t as P,B as q,p as u,_ as T}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./AppCollection-fab1a627.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./StatusBadge-3f562081.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./uniqueId-90cc9b93.js";const x=S({__name:"DataPlaneListView",setup(B){return(R,N)=>{const y=l("RouteTitle"),f=l("KSelect"),g=l("KCard"),w=l("RouterView"),v=l("AppView"),m=l("DataSource"),b=l("RouteView");return o(),i(m,{src:"/me"},{default:t(({data:c})=>[c?(o(),i(b,{key:0,name:"data-plane-list-view",params:{page:1,size:c.pageSize,query:"",dataplaneType:"all",s:"",mesh:"",dataPlane:""}},{default:t(({can:h,route:e,t:d})=>[n(m,{src:`/meshes/${e.params.mesh}/dataplanes/of/${e.params.dataplaneType}?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:t(({data:s,error:r})=>[n(v,null,{title:t(()=>[D("h2",null,[n(y,{title:d("data-planes.routes.items.title")},null,8,["title"])])]),default:t(()=>[p(),n(g,null,{default:t(()=>[r!==void 0?(o(),i(k,{key:0,error:r},null,8,["error"])):(o(),i(C,{key:1,"data-testid":"data-plane-collection","page-number":e.params.page,"page-size":e.params.size,total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:r,"is-selected-row":a=>a.name===e.params.dataPlane,"summary-route-name":"data-plane-summary-view","is-global-mode":h("use zones"),onChange:e.update},{toolbar:t(()=>[n(V,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/service: backend'",query:e.params.query,fields:{name:{description:"filter by name or parts of a name"},protocol:{description:"filter by “kuma.io/protocol” value"},service:{description:"filter by “kuma.io/service” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},zone:{description:"filter by “kuma.io/zone” value"}},onFieldsChange:a=>e.update({query:a.query,s:a.query.length>0?JSON.stringify(a.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),p(),n(f,{class:"filter-select",label:"Type",items:["all","standard","builtin","delegated"].map(a=>({value:a,label:d(`data-planes.type.${a}`),selected:a===e.params.dataplaneType})),onSelected:a=>e.update({dataplaneType:String(a.value)})},{"item-template":t(({item:a})=>[p(P(a.label),1)]),_:2},1032,["items","onSelected"])]),_:2},1032,["page-number","page-size","total","items","error","is-selected-row","is-global-mode","onChange"]))]),_:2},1024),p(),e.params.dataPlane?(o(),i(w,{key:0},{default:t(a=>[n(z,{onClose:_=>e.replace({name:"data-plane-list-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:t(()=>[(o(),i(q(a.Component),{name:e.params.dataPlane,"dataplane-overview":s==null?void 0:s.items.find(_=>_.name===e.params.dataPlane)},null,8,["name","dataplane-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):u("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):u("",!0)]),_:1})}}});const M=T(x,[["__scopeId","data-v-2aeea609"]]);export{M as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryClustersView-92680345.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryClustersView-3708a65b.js similarity index 80% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryClustersView-92680345.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryClustersView-3708a65b.js index e66f62ecc1e5..78b5d1df7e7c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryClustersView-92680345.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryClustersView-3708a65b.js @@ -1,4 +1,4 @@ -import{K as g}from"./index-fce48c05.js";import{d as x,a as t,o as r,b as n,w as o,e as s,m as i,f as l,l as m,a0 as y}from"./index-6594470f.js";import{C as R}from"./CodeBlock-13aedd48.js";import{E as k}from"./ErrorBlock-eae09ed8.js";import{_ as w}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import"./uniqueId-90cc9b93.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const I=x({__name:"DataPlaneOutboundSummaryClustersView",setup(E){return(V,v)=>{const d=t("RouteTitle"),u=t("KButton"),_=t("DataSource"),f=t("AppView"),h=t("RouteView");return r(),n(h,{params:{codeSearch:"",codeFilter:!1,codeRegExp:!1,mesh:"",dataPlane:"",service:""},name:"data-plane-outbound-summary-clusters-view"},{default:o(({route:e})=>[s(f,null,{title:o(()=>[i("h3",null,[s(d,{title:"Clusters"})])]),default:o(()=>[l(),i("div",null,[s(_,{src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/clusters`},{default:o(({data:c,error:p,refresh:C})=>[p?(r(),n(k,{key:0,error:p},null,8,["error"])):c===void 0?(r(),n(w,{key:1})):(r(),n(R,{key:2,language:"json",code:(()=>`${c.split(` +import{K as g}from"./index-fce48c05.js";import{d as x,a as t,o as r,b as n,w as o,e as s,m as i,f as l,l as m,a0 as y}from"./index-78599b4f.js";import{C as R}from"./CodeBlock-9e7fa2ff.js";import{E as k}from"./ErrorBlock-c71bafad.js";import{_ as w}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import"./uniqueId-90cc9b93.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const I=x({__name:"DataPlaneOutboundSummaryClustersView",setup(E){return(V,v)=>{const d=t("RouteTitle"),u=t("KButton"),_=t("DataSource"),f=t("AppView"),h=t("RouteView");return r(),n(h,{params:{codeSearch:"",codeFilter:!1,codeRegExp:!1,mesh:"",dataPlane:"",service:""},name:"data-plane-outbound-summary-clusters-view"},{default:o(({route:e})=>[s(f,null,{title:o(()=>[i("h3",null,[s(d,{title:"Clusters"})])]),default:o(()=>[l(),i("div",null,[s(_,{src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/clusters`},{default:o(({data:c,error:p,refresh:C})=>[p?(r(),n(k,{key:0,error:p},null,8,["error"])):c===void 0?(r(),n(w,{key:1})):(r(),n(R,{key:2,language:"json",code:(()=>`${c.split(` `).filter(a=>a.startsWith(`${e.params.service}::`)).map(a=>a.replace(`${e.params.service}::`,"")).join(` `)}`)(),"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},{"primary-actions":o(()=>[s(u,{appearance:"primary",onClick:C},{default:o(()=>[s(m(y),{size:m(g)},null,8,["size"]),l(` Refresh diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryOverviewView-c16fa73c.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryOverviewView-aa4481ba.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryOverviewView-c16fa73c.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryOverviewView-aa4481ba.js index 59910f864486..1f861b37052b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryOverviewView-c16fa73c.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryOverviewView-aa4481ba.js @@ -1,3 +1,3 @@ -import{d,a as t,o as l,b as u,w as e,e as a,m as _,X as m,f as o,t as w}from"./index-6594470f.js";const f={class:"stack-with-borders"},b=d({__name:"DataPlaneOutboundSummaryOverviewView",props:{data:{}},setup(n){const s=n;return(v,V)=>{const r=t("KBadge"),c=t("AppView"),i=t("RouteView");return l(),u(i,{name:"data-plane-outbound-summary-overview-view"},{default:e(({t:p})=>[a(c,null,{default:e(()=>[_("div",f,[a(m,{layout:"horizontal"},{title:e(()=>[o(` +import{d,a as t,o as l,b as u,w as e,e as a,m as _,X as m,f as o,t as w}from"./index-78599b4f.js";const f={class:"stack-with-borders"},b=d({__name:"DataPlaneOutboundSummaryOverviewView",props:{data:{}},setup(n){const s=n;return(v,V)=>{const r=t("KBadge"),c=t("AppView"),i=t("RouteView");return l(),u(i,{name:"data-plane-outbound-summary-overview-view"},{default:e(({t:p})=>[a(c,null,{default:e(()=>[_("div",f,[a(m,{layout:"horizontal"},{title:e(()=>[o(` Protocol `)]),body:e(()=>[a(r,{appearance:"info"},{default:e(()=>[o(w(p(`http.api.value.${s.data.protocol}`)),1)]),_:2},1024)]),_:2},1024)])]),_:2},1024)]),_:1})}}});export{b as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryStatsView-ede06944.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryStatsView-7f99338e.js similarity index 76% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryStatsView-ede06944.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryStatsView-7f99338e.js index 6aba1df0d04d..4d74332bad5a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryStatsView-ede06944.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryStatsView-7f99338e.js @@ -1,4 +1,4 @@ -import{K as C}from"./index-fce48c05.js";import{d as x,a as t,o as s,b as r,w as o,e as n,m as i,f as m,l,a0 as y}from"./index-6594470f.js";import{C as R}from"./CodeBlock-13aedd48.js";import{E as k}from"./ErrorBlock-eae09ed8.js";import{_ as S}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import"./uniqueId-90cc9b93.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const I=x({__name:"DataPlaneOutboundSummaryStatsView",setup(w){return(E,V)=>{const d=t("RouteTitle"),_=t("KButton"),u=t("DataSource"),f=t("AppView"),h=t("RouteView");return s(),r(h,{params:{codeSearch:"",codeFilter:!1,codeRegExp:!1,mesh:"",dataPlane:"",service:""},name:"data-plane-outbound-summary-stats-view"},{default:o(({route:e})=>[n(f,null,{title:o(()=>[i("h3",null,[n(d,{title:"Stats"})])]),default:o(()=>[m(),i("div",null,[n(u,{src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/stats`},{default:o(({data:p,error:c,refresh:g})=>[c?(s(),r(k,{key:0,error:c},null,8,["error"])):p===void 0?(s(),r(S,{key:1})):(s(),r(R,{key:2,language:"json",code:(()=>`${p.split(` +import{K as C}from"./index-fce48c05.js";import{d as x,a as t,o as s,b as r,w as o,e as n,m as i,f as m,l,a0 as y}from"./index-78599b4f.js";import{C as R}from"./CodeBlock-9e7fa2ff.js";import{E as k}from"./ErrorBlock-c71bafad.js";import{_ as S}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import"./uniqueId-90cc9b93.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const I=x({__name:"DataPlaneOutboundSummaryStatsView",setup(w){return(E,V)=>{const d=t("RouteTitle"),_=t("KButton"),u=t("DataSource"),f=t("AppView"),h=t("RouteView");return s(),r(h,{params:{codeSearch:"",codeFilter:!1,codeRegExp:!1,mesh:"",dataPlane:"",service:""},name:"data-plane-outbound-summary-stats-view"},{default:o(({route:e})=>[n(f,null,{title:o(()=>[i("h3",null,[n(d,{title:"Stats"})])]),default:o(()=>[m(),i("div",null,[n(u,{src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/stats`},{default:o(({data:p,error:c,refresh:g})=>[c?(s(),r(k,{key:0,error:c},null,8,["error"])):p===void 0?(s(),r(S,{key:1})):(s(),r(R,{key:2,language:"json",code:(()=>`${p.split(` `).filter(a=>a.includes(`.${e.params.service}.`)).map(a=>a.replace(`${e.params.service}.`,"")).join(` `)}`)(),"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},{"primary-actions":o(()=>[n(_,{appearance:"primary",onClick:g},{default:o(()=>[n(l(y),{size:l(C)},null,8,["size"]),m(` Refresh diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryView-47b535e1.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryView-56057c60.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryView-47b535e1.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryView-56057c60.js index a5b27b1c3b2e..fecbe2c2d8db 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryView-47b535e1.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneOutboundSummaryView-56057c60.js @@ -1 +1 @@ -import{d as g,k as x,U as D,a as i,o as m,b as p,w as t,e as _,m as c,f as r,t as y,l as f,c as P,F as R,B as S,s as k,v as N,a1 as B,_ as C}from"./index-6594470f.js";import{_ as I}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import{N as O}from"./NavTabs-bb254677.js";const A=a=>(k("data-v-2ba1912d"),a=a(),N(),a),F={class:"summary-title-wrapper"},T=A(()=>c("img",{"aria-hidden":"true",src:B},null,-1)),$={class:"summary-title"},E=g({__name:"DataPlaneOutboundSummaryView",props:{data:{}},setup(a){var v;const{t:u}=x(),V=D(),w=a,h=(((v=V.getRoutes().find(e=>e.name==="data-plane-outbound-summary-view"))==null?void 0:v.children)??[]).map(e=>{var s,n;const l=typeof e.name>"u"?(s=e.children)==null?void 0:s[0]:e,o=l.name,d=((n=l.meta)==null?void 0:n.module)??"";return{title:u(`data-planes.routes.item.navigation.${o}`),routeName:o,module:d}});return(e,l)=>{const o=i("RouterView"),d=i("AppView"),b=i("RouteView");return m(),p(b,{name:"data-plane-outbound-summary-view",params:{service:""}},{default:t(({route:s})=>[_(d,null,{title:t(()=>[c("div",F,[T,r(),c("h2",$,y(s.params.service),1)])]),default:t(()=>[r(),typeof w.data>"u"?(m(),p(I,{key:0},{message:t(()=>[c("p",null,y(f(u)("common.collection.summary.empty_message",{type:"Data Plane Proxy"})),1)]),default:t(()=>[r(y(f(u)("common.collection.summary.empty_title",{type:"Data Plane Proxy"}))+" ",1)]),_:1})):(m(),P(R,{key:1},[_(O,{tabs:f(h)},null,8,["tabs"]),r(),_(o,null,{default:t(n=>[(m(),p(S(n.Component),{data:w.data},null,8,["data"]))]),_:1})],64))]),_:2},1024)]),_:1})}}});const G=C(E,[["__scopeId","data-v-2ba1912d"]]);export{G as default}; +import{d as g,k as x,U as D,a as i,o as m,b as p,w as t,e as _,m as c,f as r,t as y,l as f,c as P,F as R,B as S,s as k,v as N,a1 as B,_ as C}from"./index-78599b4f.js";import{_ as I}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import{N as O}from"./NavTabs-3217ce74.js";const A=a=>(k("data-v-2ba1912d"),a=a(),N(),a),F={class:"summary-title-wrapper"},T=A(()=>c("img",{"aria-hidden":"true",src:B},null,-1)),$={class:"summary-title"},E=g({__name:"DataPlaneOutboundSummaryView",props:{data:{}},setup(a){var v;const{t:u}=x(),V=D(),w=a,h=(((v=V.getRoutes().find(e=>e.name==="data-plane-outbound-summary-view"))==null?void 0:v.children)??[]).map(e=>{var s,n;const l=typeof e.name>"u"?(s=e.children)==null?void 0:s[0]:e,o=l.name,d=((n=l.meta)==null?void 0:n.module)??"";return{title:u(`data-planes.routes.item.navigation.${o}`),routeName:o,module:d}});return(e,l)=>{const o=i("RouterView"),d=i("AppView"),b=i("RouteView");return m(),p(b,{name:"data-plane-outbound-summary-view",params:{service:""}},{default:t(({route:s})=>[_(d,null,{title:t(()=>[c("div",F,[T,r(),c("h2",$,y(s.params.service),1)])]),default:t(()=>[r(),typeof w.data>"u"?(m(),p(I,{key:0},{message:t(()=>[c("p",null,y(f(u)("common.collection.summary.empty_message",{type:"Data Plane Proxy"})),1)]),default:t(()=>[r(y(f(u)("common.collection.summary.empty_title",{type:"Data Plane Proxy"}))+" ",1)]),_:1})):(m(),P(R,{key:1},[_(O,{tabs:f(h)},null,8,["tabs"]),r(),_(o,null,{default:t(n=>[(m(),p(S(n.Component),{data:w.data},null,8,["data"]))]),_:1})],64))]),_:2},1024)]),_:1})}}});const G=C(E,[["__scopeId","data-v-2ba1912d"]]);export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-0ffbaa66.js b/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-847493b6.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-0ffbaa66.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-847493b6.js index 489e778f4fa5..649176d38326 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-0ffbaa66.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-847493b6.js @@ -1,4 +1,4 @@ -import{A as G,a as M}from"./AccordionList-373416d3.js";import{d as S,a as f,o as e,c as t,m as o,f as s,F as r,C as b,t as i,e as y,w as a,p as B,b as n,W as D,s as H,v as W,_ as j,l as R,k as Y,n as U}from"./index-6594470f.js";import{C as q}from"./CodeBlock-13aedd48.js";import{P as J}from"./PolicyTypeTag-e607f2fa.js";import{T as z}from"./TagList-a4b64f68.js";import{t as Q}from"./toYaml-4e00099e.js";import{_ as A}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import{E as K}from"./ErrorBlock-eae09ed8.js";import{_ as V}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import"./uniqueId-90cc9b93.js";import"./index-fce48c05.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const N=h=>(H("data-v-f3e7afbb"),h=h(),W(),h),X={class:"policies-list"},Z={class:"mesh-gateway-policy-list"},E=N(()=>o("h3",{class:"mb-2"},` +import{A as G,a as M}from"./AccordionList-78965fe7.js";import{d as S,a as f,o as e,c as t,m as o,f as s,F as r,C as b,t as i,e as y,w as a,p as B,b as n,W as D,s as H,v as W,_ as j,l as R,k as Y,n as U}from"./index-78599b4f.js";import{C as q}from"./CodeBlock-9e7fa2ff.js";import{P as J}from"./PolicyTypeTag-ba976135.js";import{T as z}from"./TagList-f1447eb8.js";import{t as Q}from"./toYaml-4e00099e.js";import{_ as A}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import{E as K}from"./ErrorBlock-c71bafad.js";import{_ as V}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import"./uniqueId-90cc9b93.js";import"./index-fce48c05.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const N=h=>(H("data-v-f3e7afbb"),h=h(),W(),h),X={class:"policies-list"},Z={class:"mesh-gateway-policy-list"},E=N(()=>o("h3",{class:"mb-2"},` Gateway policies `,-1)),ee={key:0},te=N(()=>o("h3",{class:"mt-6 mb-2"},` Listeners diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-7e0e5fcf.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-9a30550e.js similarity index 67% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-7e0e5fcf.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-9a30550e.js index 6d4b5f89d0ca..07799264c4b9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-7e0e5fcf.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-9a30550e.js @@ -1 +1 @@ -import{_ as d}from"./EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js";import{d as m,a as t,o as c,b as _,w as o,e as n,m as u,f as h}from"./index-6594470f.js";import"./index-fce48c05.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./ErrorBlock-eae09ed8.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";const B=m({__name:"DataPlaneStatsView",setup(f){return(g,x)=>{const s=t("RouteTitle"),p=t("KCard"),r=t("AppView"),i=t("RouteView");return c(),_(i,{name:"data-plane-stats-view",params:{mesh:"",dataPlane:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:o(({route:e,t:l})=>[n(r,null,{title:o(()=>[u("h2",null,[n(s,{title:l("data-planes.routes.item.navigation.data-plane-stats-view")},null,8,["title"])])]),default:o(()=>[h(),n(p,null,{default:o(()=>[n(d,{resource:"Data Plane Proxy",src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/stats`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{B as default}; +import{_ as d}from"./EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js";import{d as m,a as t,o as c,b as _,w as o,e as n,m as u,f as h}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./ErrorBlock-c71bafad.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";const B=m({__name:"DataPlaneStatsView",setup(f){return(g,x)=>{const s=t("RouteTitle"),p=t("KCard"),r=t("AppView"),i=t("RouteView");return c(),_(i,{name:"data-plane-stats-view",params:{mesh:"",dataPlane:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:o(({route:e,t:l})=>[n(r,null,{title:o(()=>[u("h2",null,[n(s,{title:l("data-planes.routes.item.navigation.data-plane-stats-view")},null,8,["title"])])]),default:o(()=>[h(),n(p,null,{default:o(()=>[n(d,{resource:"Data Plane Proxy",src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/stats`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{B as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-09954152.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-94a129af.js similarity index 93% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-09954152.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-94a129af.js index e83364d60a8a..bf2473f1d083 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-09954152.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-94a129af.js @@ -1 +1 @@ -import{d as S,k as D,a as m,o as l,c as p,m as i,e as s,w as e,f as t,t as n,l as a,F as h,C as f,b as y,Y as T,p as k,X as u,_ as P,y as V,s as C,v as R,a1 as z}from"./index-6594470f.js";import{_ as B}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import{a as $,K}from"./index-fce48c05.js";import{S as N}from"./StatusBadge-0fda3dff.js";import{T as O}from"./TagList-a4b64f68.js";import{T as x}from"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";const L={class:"stack"},A={class:"stack-with-borders"},U={class:"status-with-reason"},E={key:0},F={class:"mt-4"},G={class:"stack-with-borders"},W={key:1},X={class:"mt-4"},Y={class:"stack"},Z={class:"mt-2 stack-with-borders"},j=S({__name:"DataPlaneSummary",props:{dataplaneOverview:{}},setup(c){const{t:o,formatIsoDate:w}=D(),r=c;return(b,I)=>{const g=m("KTooltip"),v=m("KBadge");return l(),p("div",L,[i("div",A,[s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.status")),1)]),body:e(()=>[i("div",U,[s(N,{status:r.dataplaneOverview.status},null,8,["status"]),t(),(l(!0),p(h,null,f([r.dataplaneOverview.dataplane.networking.inbounds.filter(d=>!d.health.ready)],d=>(l(),p(h,{key:d},[d.length>0?(l(),y(g,{key:0,class:"reason-tooltip","position-fixed":""},{content:e(()=>[i("ul",null,[(l(!0),p(h,null,f(d,_=>(l(),p("li",{key:`${_.service}:${_.port}`},n(a(o)("data-planes.routes.item.unhealthy_inbound",{service:_.service,port:_.port})),1))),128))])]),default:e(()=>[s(a(T),{color:a($),size:a(K),"hide-title":""},null,8,["color","size"]),t()]),_:2},1024)):k("",!0)],64))),128))])]),_:1}),t(),s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("data-planes.routes.item.last_updated")),1)]),body:e(()=>[t(n(a(w)(r.dataplaneOverview.modificationTime)),1)]),_:1})]),t(),r.dataplaneOverview.dataplane.networking.gateway?(l(),p("div",E,[i("h3",null,n(a(o)("data-planes.routes.item.gateway")),1),t(),i("div",F,[i("div",G,[s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.tags")),1)]),body:e(()=>[s(O,{alignment:"right",tags:r.dataplaneOverview.dataplane.networking.gateway.tags},null,8,["tags"])]),_:1}),t(),s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.address")),1)]),body:e(()=>[s(x,{text:`${r.dataplaneOverview.dataplane.networking.address}`},null,8,["text"])]),_:1})])])])):k("",!0),t(),r.dataplaneOverview.dataplane.networking.inbounds.length>0?(l(),p("div",W,[i("h3",null,n(a(o)("data-planes.routes.item.inbounds")),1),t(),i("div",X,[i("div",Y,[(l(!0),p(h,null,f(r.dataplaneOverview.dataplane.networking.inbounds,(d,_)=>(l(),p("div",{key:_,class:"inbound"},[i("h4",null,[s(x,{text:d.tags["kuma.io/service"]},{default:e(()=>[t(n(a(o)("data-planes.routes.item.inbound_name",{service:d.tags["kuma.io/service"]})),1)]),_:2},1032,["text"])]),t(),i("div",Z,[s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.status")),1)]),body:e(()=>[d.health.ready?(l(),y(v,{key:0,appearance:"success"},{default:e(()=>[t(n(a(o)("data-planes.routes.item.health.ready")),1)]),_:1})):(l(),y(v,{key:1,appearance:"danger"},{default:e(()=>[t(n(a(o)("data-planes.routes.item.health.not_ready")),1)]),_:1}))]),_:2},1024),t(),s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.tags")),1)]),body:e(()=>[s(O,{alignment:"right",tags:d.tags},null,8,["tags"])]),_:2},1024),t(),s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.address")),1)]),body:e(()=>[s(x,{text:d.addressPort},null,8,["text"])]),_:2},1024)])]))),128))])])])):k("",!0)])}}});const q=P(j,[["__scopeId","data-v-53b633ce"]]),H=c=>(C("data-v-21ad478f"),c=c(),R(),c),J={class:"summary-title-wrapper"},M=H(()=>i("img",{"aria-hidden":"true",src:z},null,-1)),Q={class:"summary-title"},tt={key:1,class:"stack"},et=S({__name:"DataPlaneSummaryView",props:{name:{},dataplaneOverview:{default:void 0}},setup(c){const{t:o}=D(),w=V(),r=c;return(b,I)=>{const g=m("RouteTitle"),v=m("RouterLink"),d=m("AppView"),_=m("RouteView");return l(),y(_,{name:a(w).name},{default:e(()=>[s(d,null,{title:e(()=>[i("div",J,[M,t(),i("h2",Q,[s(v,{to:{name:"data-plane-detail-view",params:{dataPlane:r.name}}},{default:e(()=>[s(g,{title:a(o)("data-planes.routes.item.title",{name:r.name})},null,8,["title"])]),_:1},8,["to"])])])]),default:e(()=>[t(),r.dataplaneOverview===void 0?(l(),y(B,{key:0},{message:e(()=>[i("p",null,n(a(o)("common.collection.summary.empty_message",{type:"Data Plane Proxy"})),1)]),default:e(()=>[t(n(a(o)("common.collection.summary.empty_title",{type:"Data Plane Proxy"}))+" ",1)]),_:1})):(l(),p("div",tt,[s(q,{class:"mt-4","dataplane-overview":r.dataplaneOverview},null,8,["dataplane-overview"])]))]),_:1})]),_:1},8,["name"])}}});const dt=P(et,[["__scopeId","data-v-21ad478f"]]);export{dt as default}; +import{d as S,k as D,a as m,o as l,c as p,m as i,e as s,w as e,f as t,t as n,l as a,F as h,C as f,b as y,Y as T,p as k,X as u,_ as P,y as V,s as C,v as R,a1 as z}from"./index-78599b4f.js";import{_ as B}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import{a as $,K}from"./index-fce48c05.js";import{S as N}from"./StatusBadge-3f562081.js";import{T as O}from"./TagList-f1447eb8.js";import{T as x}from"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";const L={class:"stack"},A={class:"stack-with-borders"},U={class:"status-with-reason"},E={key:0},F={class:"mt-4"},G={class:"stack-with-borders"},W={key:1},X={class:"mt-4"},Y={class:"stack"},Z={class:"mt-2 stack-with-borders"},j=S({__name:"DataPlaneSummary",props:{dataplaneOverview:{}},setup(c){const{t:o,formatIsoDate:w}=D(),r=c;return(b,I)=>{const g=m("KTooltip"),v=m("KBadge");return l(),p("div",L,[i("div",A,[s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.status")),1)]),body:e(()=>[i("div",U,[s(N,{status:r.dataplaneOverview.status},null,8,["status"]),t(),(l(!0),p(h,null,f([r.dataplaneOverview.dataplane.networking.inbounds.filter(d=>!d.health.ready)],d=>(l(),p(h,{key:d},[d.length>0?(l(),y(g,{key:0,class:"reason-tooltip","position-fixed":""},{content:e(()=>[i("ul",null,[(l(!0),p(h,null,f(d,_=>(l(),p("li",{key:`${_.service}:${_.port}`},n(a(o)("data-planes.routes.item.unhealthy_inbound",{service:_.service,port:_.port})),1))),128))])]),default:e(()=>[s(a(T),{color:a($),size:a(K),"hide-title":""},null,8,["color","size"]),t()]),_:2},1024)):k("",!0)],64))),128))])]),_:1}),t(),s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("data-planes.routes.item.last_updated")),1)]),body:e(()=>[t(n(a(w)(r.dataplaneOverview.modificationTime)),1)]),_:1})]),t(),r.dataplaneOverview.dataplane.networking.gateway?(l(),p("div",E,[i("h3",null,n(a(o)("data-planes.routes.item.gateway")),1),t(),i("div",F,[i("div",G,[s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.tags")),1)]),body:e(()=>[s(O,{alignment:"right",tags:r.dataplaneOverview.dataplane.networking.gateway.tags},null,8,["tags"])]),_:1}),t(),s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.address")),1)]),body:e(()=>[s(x,{text:`${r.dataplaneOverview.dataplane.networking.address}`},null,8,["text"])]),_:1})])])])):k("",!0),t(),r.dataplaneOverview.dataplane.networking.inbounds.length>0?(l(),p("div",W,[i("h3",null,n(a(o)("data-planes.routes.item.inbounds")),1),t(),i("div",X,[i("div",Y,[(l(!0),p(h,null,f(r.dataplaneOverview.dataplane.networking.inbounds,(d,_)=>(l(),p("div",{key:_,class:"inbound"},[i("h4",null,[s(x,{text:d.tags["kuma.io/service"]},{default:e(()=>[t(n(a(o)("data-planes.routes.item.inbound_name",{service:d.tags["kuma.io/service"]})),1)]),_:2},1032,["text"])]),t(),i("div",Z,[s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.status")),1)]),body:e(()=>[d.health.ready?(l(),y(v,{key:0,appearance:"success"},{default:e(()=>[t(n(a(o)("data-planes.routes.item.health.ready")),1)]),_:1})):(l(),y(v,{key:1,appearance:"danger"},{default:e(()=>[t(n(a(o)("data-planes.routes.item.health.not_ready")),1)]),_:1}))]),_:2},1024),t(),s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.tags")),1)]),body:e(()=>[s(O,{alignment:"right",tags:d.tags},null,8,["tags"])]),_:2},1024),t(),s(u,{layout:"horizontal"},{title:e(()=>[t(n(a(o)("http.api.property.address")),1)]),body:e(()=>[s(x,{text:d.addressPort},null,8,["text"])]),_:2},1024)])]))),128))])])])):k("",!0)])}}});const q=P(j,[["__scopeId","data-v-53b633ce"]]),H=c=>(C("data-v-21ad478f"),c=c(),R(),c),J={class:"summary-title-wrapper"},M=H(()=>i("img",{"aria-hidden":"true",src:z},null,-1)),Q={class:"summary-title"},tt={key:1,class:"stack"},et=S({__name:"DataPlaneSummaryView",props:{name:{},dataplaneOverview:{default:void 0}},setup(c){const{t:o}=D(),w=V(),r=c;return(b,I)=>{const g=m("RouteTitle"),v=m("RouterLink"),d=m("AppView"),_=m("RouteView");return l(),y(_,{name:a(w).name},{default:e(()=>[s(d,null,{title:e(()=>[i("div",J,[M,t(),i("h2",Q,[s(v,{to:{name:"data-plane-detail-view",params:{dataPlane:r.name}}},{default:e(()=>[s(g,{title:a(o)("data-planes.routes.item.title",{name:r.name})},null,8,["title"])]),_:1},8,["to"])])])]),default:e(()=>[t(),r.dataplaneOverview===void 0?(l(),y(B,{key:0},{message:e(()=>[i("p",null,n(a(o)("common.collection.summary.empty_message",{type:"Data Plane Proxy"})),1)]),default:e(()=>[t(n(a(o)("common.collection.summary.empty_title",{type:"Data Plane Proxy"}))+" ",1)]),_:1})):(l(),p("div",tt,[s(q,{class:"mt-4","dataplane-overview":r.dataplaneOverview},null,8,["dataplane-overview"])]))]),_:1})]),_:1},8,["name"])}}});const dt=P(et,[["__scopeId","data-v-21ad478f"]]);export{dt as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-a40b23f8.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-08470936.js similarity index 67% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-a40b23f8.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-08470936.js index 970015ced4c6..8b6ad38977ad 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-a40b23f8.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-08470936.js @@ -1 +1 @@ -import{_ as l}from"./EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js";import{d as m,a as o,o as c,b as _,w as t,e as n,m as u,f}from"./index-6594470f.js";import"./index-fce48c05.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./ErrorBlock-eae09ed8.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";const N=m({__name:"DataPlaneXdsConfigView",setup(g){return(h,x)=>{const p=o("RouteTitle"),r=o("KCard"),s=o("AppView"),i=o("RouteView");return c(),_(i,{name:"data-plane-xds-config-view",params:{mesh:"",dataPlane:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:t(({route:e,t:d})=>[n(s,null,{title:t(()=>[u("h2",null,[n(p,{title:d("data-planes.routes.item.navigation.data-plane-xds-config-view")},null,8,["title"])])]),default:t(()=>[f(),n(r,null,{default:t(()=>[n(l,{resource:"Data Plane Proxy",src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/xds`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{N as default}; +import{_ as l}from"./EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js";import{d as m,a as o,o as c,b as _,w as t,e as n,m as u,f}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./ErrorBlock-c71bafad.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";const N=m({__name:"DataPlaneXdsConfigView",setup(g){return(h,x)=>{const p=o("RouteTitle"),r=o("KCard"),s=o("AppView"),i=o("RouteView");return c(),_(i,{name:"data-plane-xds-config-view",params:{mesh:"",dataPlane:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:t(({route:e,t:d})=>[n(s,null,{title:t(()=>[u("h2",null,[n(p,{title:d("data-planes.routes.item.navigation.data-plane-xds-config-view")},null,8,["title"])])]),default:t(()=>[f(),n(r,null,{default:t(()=>[n(l,{resource:"Data Plane Proxy",src:`/meshes/${e.params.mesh}/dataplanes/${e.params.dataPlane}/data-path/xds`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{N as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-ed0042ad.js b/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-41f7b16a.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-ed0042ad.js rename to app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-41f7b16a.js index 729aa96e5051..4ef838d7bd2a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-ed0042ad.js +++ b/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-41f7b16a.js @@ -1 +1 @@ -import{d as k,k as B,z as T,o as t,b as f,w as p,r as q,f as i,l as n,al as C,a2 as F,c as o,F as y,m as u,t as s,C as S,p as v,aB as V}from"./index-6594470f.js";const h=["data-testid"],w={key:1},E=k({__name:"DeleteResourceModal",props:{actionButtonText:{type:String,required:!1,default:"Yes, delete"},confirmationText:{type:String,required:!1,default:""},deleteFunction:{type:Function,required:!0},isVisible:{type:Boolean,required:!0},title:{type:String,required:!1,default:"Delete"}},emits:["cancel","delete"],setup(_,{emit:b}){const{t:c}=B(),a=_,d=b,e=T(null);async function x(){e.value=null;try{await a.deleteFunction(),d("delete")}catch(r){r instanceof Error?e.value=r:console.error(r)}}return(r,m)=>(t(),f(n(V),{"action-button-text":a.actionButtonText,"confirmation-text":a.confirmationText,"is-visible":a.isVisible,title:a.title,type:"danger",onCanceled:m[0]||(m[0]=l=>d("cancel")),onProceed:x},{"body-content":p(()=>[q(r.$slots,"body-content"),i(),e.value!==null?(t(),f(n(C),{key:0,class:"mt-4",appearance:"danger","is-dismissible":""},{alertMessage:p(()=>[e.value instanceof n(F)?(t(),o(y,{key:0},[u("p",null,s(n(c)("common.error_state.api_error",{status:e.value.status,title:e.value.detail})),1),i(),e.value.invalidParameters.length>0?(t(),o("ul",{key:0,"data-testid":`error-${e.value.status}`},[(t(!0),o(y,null,S(e.value.invalidParameters,(l,g)=>(t(),o("li",{key:g},[u("b",null,[u("code",null,s(l.field),1)]),i(": "+s(l.reason),1)]))),128))],8,h)):v("",!0)],64)):(t(),o("p",w,s(n(c)("common.error_state.default_error")),1))]),_:1})):v("",!0)]),_:3},8,["action-button-text","confirmation-text","is-visible","title"]))}});export{E as _}; +import{d as k,k as B,z as T,o as t,b as f,w as p,r as q,f as i,l as n,al as C,a2 as F,c as o,F as y,m as u,t as s,C as S,p as v,aB as V}from"./index-78599b4f.js";const h=["data-testid"],w={key:1},E=k({__name:"DeleteResourceModal",props:{actionButtonText:{type:String,required:!1,default:"Yes, delete"},confirmationText:{type:String,required:!1,default:""},deleteFunction:{type:Function,required:!0},isVisible:{type:Boolean,required:!0},title:{type:String,required:!1,default:"Delete"}},emits:["cancel","delete"],setup(_,{emit:b}){const{t:c}=B(),a=_,d=b,e=T(null);async function x(){e.value=null;try{await a.deleteFunction(),d("delete")}catch(r){r instanceof Error?e.value=r:console.error(r)}}return(r,m)=>(t(),f(n(V),{"action-button-text":a.actionButtonText,"confirmation-text":a.confirmationText,"is-visible":a.isVisible,title:a.title,type:"danger",onCanceled:m[0]||(m[0]=l=>d("cancel")),onProceed:x},{"body-content":p(()=>[q(r.$slots,"body-content"),i(),e.value!==null?(t(),f(n(C),{key:0,class:"mt-4",appearance:"danger","is-dismissible":""},{alertMessage:p(()=>[e.value instanceof n(F)?(t(),o(y,{key:0},[u("p",null,s(n(c)("common.error_state.api_error",{status:e.value.status,title:e.value.detail})),1),i(),e.value.invalidParameters.length>0?(t(),o("ul",{key:0,"data-testid":`error-${e.value.status}`},[(t(!0),o(y,null,S(e.value.invalidParameters,(l,g)=>(t(),o("li",{key:g},[u("b",null,[u("code",null,s(l.field),1)]),i(": "+s(l.reason),1)]))),128))],8,h)):v("",!0)],64)):(t(),o("p",w,s(n(c)("common.error_state.default_error")),1))]),_:1})):v("",!0)]),_:3},8,["action-button-text","confirmation-text","is-visible","title"]))}});export{E as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsDetailView-393624df.js b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsDetailView-d236bd3c.js similarity index 73% rename from app/kuma-ui/pkg/resources/data/assets/DiagnosticsDetailView-393624df.js rename to app/kuma-ui/pkg/resources/data/assets/DiagnosticsDetailView-d236bd3c.js index cac824e6a1b6..510677459b62 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsDetailView-393624df.js +++ b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsDetailView-d236bd3c.js @@ -1 +1 @@ -import{C as g}from"./CodeBlock-13aedd48.js";import{E as f}from"./ErrorBlock-eae09ed8.js";import{_ as h}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{d as C,a as t,o as i,b as s,w as a,e as n,m as x,f as b}from"./index-6594470f.js";import"./uniqueId-90cc9b93.js";import"./index-fce48c05.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const T=C({__name:"DiagnosticsDetailView",setup(k){return(R,y)=>{const l=t("RouteTitle"),m=t("KCard"),p=t("AppView"),u=t("DataSource"),_=t("RouteView");return i(),s(_,{name:"diagnostics",params:{codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:c})=>[n(u,{src:"/config"},{default:a(({data:r,error:d})=>[n(p,{breadcrumbs:[{to:{name:"diagnostics"},text:c("diagnostics.routes.item.breadcrumbs")}]},{title:a(()=>[x("h1",null,[n(l,{title:c("diagnostics.routes.item.title")},null,8,["title"])])]),default:a(()=>[b(),n(m,null,{default:a(()=>[d?(i(),s(f,{key:0,error:d},null,8,["error"])):r===void 0?(i(),s(h,{key:1})):(i(),s(g,{key:2,id:"code-block-diagnostics","data-testid":"code-block-diagnostics",language:"json",code:JSON.stringify(r,null,2),"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["code","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"]))]),_:2},1024)]),_:2},1032,["breadcrumbs"])]),_:2},1024)]),_:1})}}});export{T as default}; +import{C as g}from"./CodeBlock-9e7fa2ff.js";import{E as f}from"./ErrorBlock-c71bafad.js";import{_ as h}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{d as C,a as t,o as i,b as s,w as a,e as n,m as x,f as b}from"./index-78599b4f.js";import"./uniqueId-90cc9b93.js";import"./index-fce48c05.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const T=C({__name:"DiagnosticsDetailView",setup(k){return(R,y)=>{const l=t("RouteTitle"),m=t("KCard"),p=t("AppView"),u=t("DataSource"),_=t("RouteView");return i(),s(_,{name:"diagnostics",params:{codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:c})=>[n(u,{src:"/config"},{default:a(({data:r,error:d})=>[n(p,{breadcrumbs:[{to:{name:"diagnostics"},text:c("diagnostics.routes.item.breadcrumbs")}]},{title:a(()=>[x("h1",null,[n(l,{title:c("diagnostics.routes.item.title")},null,8,["title"])])]),default:a(()=>[b(),n(m,null,{default:a(()=>[d?(i(),s(f,{key:0,error:d},null,8,["error"])):r===void 0?(i(),s(h,{key:1})):(i(),s(g,{key:2,id:"code-block-diagnostics","data-testid":"code-block-diagnostics",language:"json",code:JSON.stringify(r,null,2),"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["code","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"]))]),_:2},1024)]),_:2},1032,["breadcrumbs"])]),_:2},1024)]),_:1})}}});export{T as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js b/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js rename to app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js index afae29605048..295e5197d1fb 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js +++ b/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js @@ -1 +1 @@ -import{d as n,k as i,o as l,b as m,W as r,w as s,r as t,l as a,a4 as c,m as p,f as d,t as f}from"./index-6594470f.js";const k=n({__name:"EmptyBlock",setup(u){const{t:o}=i();return(e,y)=>(l(),m(a(c),{"data-testid":"empty-state","cta-is-hidden":"",icon:a(o)("common.emptyState.icon"),"icon-size":"96"},r({title:s(()=>[t(e.$slots,"title",{},()=>[p("p",null,[t(e.$slots,"default",{},()=>[d(f(a(o)("common.emptyState.title")),1)])])])]),_:2},[e.$slots.message?{name:"message",fn:s(()=>[t(e.$slots,"message")]),key:"0"}:void 0,e.$slots.cta?{name:"cta",fn:s(()=>[t(e.$slots,"cta")]),key:"1"}:void 0]),1032,["icon"]))}});export{k as _}; +import{d as n,k as i,o as l,b as m,W as r,w as s,r as t,l as a,a4 as c,m as p,f as d,t as f}from"./index-78599b4f.js";const k=n({__name:"EmptyBlock",setup(u){const{t:o}=i();return(e,y)=>(l(),m(a(c),{"data-testid":"empty-state","cta-is-hidden":"",icon:a(o)("common.emptyState.icon"),"icon-size":"96"},r({title:s(()=>[t(e.$slots,"title",{},()=>[p("p",null,[t(e.$slots,"default",{},()=>[d(f(a(o)("common.emptyState.title")),1)])])])]),_:2},[e.$slots.message?{name:"message",fn:s(()=>[t(e.$slots,"message")]),key:"0"}:void 0,e.$slots.cta?{name:"cta",fn:s(()=>[t(e.$slots,"cta")]),key:"1"}:void 0]),1032,["icon"]))}});export{k as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js b/app/kuma-ui/pkg/resources/data/assets/EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js rename to app/kuma-ui/pkg/resources/data/assets/EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js index e9b0d26d8139..164889f8e27d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js +++ b/app/kuma-ui/pkg/resources/data/assets/EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js @@ -1,3 +1,3 @@ -import{K as _}from"./index-fce48c05.js";import{d as k,a as c,o as n,c as x,e as i,w as l,b as t,l as p,a0 as C,f as B}from"./index-6594470f.js";import{C as E}from"./CodeBlock-13aedd48.js";import{_ as h}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import{E as M}from"./ErrorBlock-eae09ed8.js";import{_ as q}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";const I=k({__name:"EnvoyData",props:{resource:{},src:{},query:{default:""},isFilterMode:{type:Boolean,default:!1},isRegExpMode:{type:Boolean,default:!1}},emits:["query-change","filter-mode-change","reg-exp-mode-change"],setup(f,{emit:u}){const s=f,a=u;return(v,e)=>{const d=c("KButton"),g=c("DataSource");return n(),x("div",null,[i(g,{src:s.src},{default:l(({data:o,error:m,refresh:y})=>[m?(n(),t(M,{key:0,error:m},null,8,["error"])):o===void 0?(n(),t(q,{key:1})):o===""?(n(),t(h,{key:2})):(n(),t(E,{key:3,language:"json",code:typeof o=="string"?o:JSON.stringify(o,null,2),"is-searchable":"",query:s.query,"is-filter-mode":s.isFilterMode,"is-reg-exp-mode":s.isRegExpMode,onQueryChange:e[0]||(e[0]=r=>a("query-change",r)),onFilterModeChange:e[1]||(e[1]=r=>a("filter-mode-change",r)),onRegExpModeChange:e[2]||(e[2]=r=>a("reg-exp-mode-change",r))},{"primary-actions":l(()=>[i(d,{appearance:"primary",onClick:y},{default:l(()=>[i(p(C),{size:p(_)},null,8,["size"]),B(` +import{K as _}from"./index-fce48c05.js";import{d as k,a as c,o as n,c as x,e as i,w as l,b as t,l as p,a0 as C,f as B}from"./index-78599b4f.js";import{C as E}from"./CodeBlock-9e7fa2ff.js";import{_ as h}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import{E as M}from"./ErrorBlock-c71bafad.js";import{_ as q}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";const I=k({__name:"EnvoyData",props:{resource:{},src:{},query:{default:""},isFilterMode:{type:Boolean,default:!1},isRegExpMode:{type:Boolean,default:!1}},emits:["query-change","filter-mode-change","reg-exp-mode-change"],setup(f,{emit:u}){const s=f,a=u;return(v,e)=>{const d=c("KButton"),g=c("DataSource");return n(),x("div",null,[i(g,{src:s.src},{default:l(({data:o,error:m,refresh:y})=>[m?(n(),t(M,{key:0,error:m},null,8,["error"])):o===void 0?(n(),t(q,{key:1})):o===""?(n(),t(h,{key:2})):(n(),t(E,{key:3,language:"json",code:typeof o=="string"?o:JSON.stringify(o,null,2),"is-searchable":"",query:s.query,"is-filter-mode":s.isFilterMode,"is-reg-exp-mode":s.isRegExpMode,onQueryChange:e[0]||(e[0]=r=>a("query-change",r)),onFilterModeChange:e[1]||(e[1]=r=>a("filter-mode-change",r)),onRegExpModeChange:e[2]||(e[2]=r=>a("reg-exp-mode-change",r))},{"primary-actions":l(()=>[i(d,{appearance:"primary",onClick:y},{default:l(()=>[i(p(C),{size:p(_)},null,8,["size"]),B(` Refresh `)]),_:2},1032,["onClick"])]),_:2},1032,["code","query","is-filter-mode","is-reg-exp-mode"]))]),_:1},8,["src"])])}}});export{I as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ErrorBlock-eae09ed8.js b/app/kuma-ui/pkg/resources/data/assets/ErrorBlock-c71bafad.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ErrorBlock-eae09ed8.js rename to app/kuma-ui/pkg/resources/data/assets/ErrorBlock-c71bafad.js index 1a2383acbcae..54f105bd4116 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ErrorBlock-eae09ed8.js +++ b/app/kuma-ui/pkg/resources/data/assets/ErrorBlock-c71bafad.js @@ -1,3 +1,3 @@ -import{b as v}from"./index-fce48c05.js";import{d as b,k as x,H as B,a2 as _,o as a,c as o,e as i,w as l,m as n,l as t,f as r,r as y,a3 as m,t as s,b as g,p as c,F as E,C,a4 as w,_ as I}from"./index-6594470f.js";import{T as N}from"./TextWithCopyButton-e98ec405.js";import{_ as $}from"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const S={"data-testid":"error-state",class:"error-block"},V={class:"error-block-header"},A={class:"error-block-title"},T={key:0,class:"badge-list"},q={class:"error-block-message"},z={key:1},F={key:2,"data-testid":"error-invalid-parameters"},P=b({__name:"ErrorBlock",props:{error:{type:Error,required:!0},badgeAppearance:{type:String,required:!1,default:"warning"}},setup(e){const{t:p}=x(),d=e,f=B(()=>d.error instanceof _?d.error.invalidParameters:[]);return(u,D)=>(a(),o("div",S,[i(t(w),{"cta-is-hidden":""},{title:l(()=>[n("div",V,[n("div",A,[i($,{display:"inline-block",size:t(v)},null,8,["size"]),r(),y(u.$slots,"default",{},()=>[n("p",null,s(e.error instanceof t(_)?e.error.detail:t(p)("common.error_state.title")),1)],!0)]),r(),e.error instanceof t(_)?(a(),o("span",T,[i(t(m),{appearance:d.badgeAppearance,"data-testid":"error-status"},{default:l(()=>[r(s(e.error.status),1)]),_:1},8,["appearance"]),r(),e.error.type?(a(),g(t(m),{key:0,appearance:"neutral","data-testid":"error-type","max-width":"auto"},{default:l(()=>[r(` +import{b as v}from"./index-fce48c05.js";import{d as b,k as x,H as B,a2 as _,o as a,c as o,e as i,w as l,m as n,l as t,f as r,r as y,a3 as m,t as s,b as g,p as c,F as E,C,a4 as w,_ as I}from"./index-78599b4f.js";import{T as N}from"./TextWithCopyButton-c32acac7.js";import{_ as $}from"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const S={"data-testid":"error-state",class:"error-block"},V={class:"error-block-header"},A={class:"error-block-title"},T={key:0,class:"badge-list"},q={class:"error-block-message"},z={key:1},F={key:2,"data-testid":"error-invalid-parameters"},P=b({__name:"ErrorBlock",props:{error:{type:Error,required:!0},badgeAppearance:{type:String,required:!1,default:"warning"}},setup(e){const{t:p}=x(),d=e,f=B(()=>d.error instanceof _?d.error.invalidParameters:[]);return(u,D)=>(a(),o("div",S,[i(t(w),{"cta-is-hidden":""},{title:l(()=>[n("div",V,[n("div",A,[i($,{display:"inline-block",size:t(v)},null,8,["size"]),r(),y(u.$slots,"default",{},()=>[n("p",null,s(e.error instanceof t(_)?e.error.detail:t(p)("common.error_state.title")),1)],!0)]),r(),e.error instanceof t(_)?(a(),o("span",T,[i(t(m),{appearance:d.badgeAppearance,"data-testid":"error-status"},{default:l(()=>[r(s(e.error.status),1)]),_:1},8,["appearance"]),r(),e.error.type?(a(),g(t(m),{key:0,appearance:"neutral","data-testid":"error-type","max-width":"auto"},{default:l(()=>[r(` type: `+s(e.error.type),1)]),_:1})):c("",!0),r(),e.error.instance?(a(),g(t(m),{key:1,appearance:"neutral","data-testid":"error-trace","max-width":"auto"},{default:l(()=>[r(` trace: `),i(N,{text:e.error.instance},null,8,["text"])]),_:1})):c("",!0)])):c("",!0)])]),message:l(()=>[n("div",q,[u.$slots.message?y(u.$slots,"message",{key:0},void 0,!0):(a(),o("p",z,s(e.error.message),1)),r(),f.value.length>0?(a(),o("ul",F,[(a(!0),o(E,null,C(f.value,(k,h)=>(a(),o("li",{key:h},[r(s(t(p)("common.error_state.field"))+" ",1),n("b",null,[n("code",null,s(k.field),1)]),r(": "+s(k.reason),1)]))),128))])):c("",!0)])]),_:3})]))}});const U=I(P,[["__scopeId","data-v-e0829cfe"]]);export{U as E}; diff --git a/app/kuma-ui/pkg/resources/data/assets/FilterBar-b8e0d56d.js b/app/kuma-ui/pkg/resources/data/assets/FilterBar-28a9c29c.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/FilterBar-b8e0d56d.js rename to app/kuma-ui/pkg/resources/data/assets/FilterBar-28a9c29c.js index fedc0cc6bdf9..f22ea4c3f862 100644 --- a/app/kuma-ui/pkg/resources/data/assets/FilterBar-b8e0d56d.js +++ b/app/kuma-ui/pkg/resources/data/assets/FilterBar-28a9c29c.js @@ -1,2 +1,2 @@ -var se=Object.defineProperty;var oe=(n,i,t)=>i in n?se(n,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[i]=t;var N=(n,i,t)=>(oe(n,typeof i!="symbol"?i+"":i,t),t);import{K as w}from"./index-fce48c05.js";import{d as K,k as ie,a as B,o as d,b as P,W as le,w as m,r as O,e as S,f as u,t as f,l as c,c as g,F as T,C as Q,m as b,p as z,T as re,_ as R,z as C,H as A,a7 as $,aq as ue,ar as ce,as as de,n as j,at as fe,au as pe,av as me,aw as ge,s as ve,v as he}from"./index-6594470f.js";import{A as ye}from"./AppCollection-39f5da3b.js";import{S as be}from"./StatusBadge-0fda3dff.js";import{T as _e}from"./TextWithCopyButton-e98ec405.js";import{_ as ke}from"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import{u as Se}from"./uniqueId-90cc9b93.js";const xe={key:0},Ce={key:1},Te=K({__name:"DataPlaneList",props:{total:{default:0},pageNumber:{},pageSize:{},items:{},error:{},isSelectedRow:{type:[Function,null],default:null},summaryRouteName:{},isGlobalMode:{type:Boolean}},emits:["change"],setup(n,{emit:i}){const{t,formatIsoDate:x}=ie(),l=n,s=i;return(o,_)=>{const p=B("RouterLink"),h=B("KTruncate"),k=B("KTooltip");return d(),P(ye,{class:"data-plane-collection","empty-state-message":c(t)("common.emptyState.message",{type:"Data Plane Proxies"}),"empty-state-cta-to":c(t)("data-planes.href.docs.data_plane_proxy"),"empty-state-cta-text":c(t)("common.documentation"),headers:[{label:"Name",key:"name"},{label:"Type",key:"type"},{label:"Services",key:"services"},...l.isGlobalMode?[{label:"Zone",key:"zone"}]:[],{label:"Certificate Info",key:"certificate"},{label:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Details",key:"details",hideLabel:!0}],"page-number":l.pageNumber,"page-size":l.pageSize,total:l.total,items:l.items,error:l.error,"is-selected-row":l.isSelectedRow,onChange:_[0]||(_[0]=e=>s("change",e))},le({name:m(({row:e})=>[S(p,{class:"name-link",title:e.name,to:{name:l.summaryRouteName,params:{mesh:e.mesh,dataPlane:e.name},query:{page:l.pageNumber,size:l.pageSize}}},{default:m(()=>[u(f(e.name),1)]),_:2},1032,["title","to"])]),type:m(({row:e})=>[u(f(c(t)(`data-planes.type.${e.dataplaneType}`)),1)]),services:m(({row:e})=>[e.services.length>0?(d(),P(h,{key:0,width:"auto"},{default:m(()=>[(d(!0),g(T,null,Q(e.services,(y,I)=>(d(),g("div",{key:I},[S(_e,{text:y},{default:m(()=>[S(p,{to:{name:"service-detail-view",params:{service:y}}},{default:m(()=>[u(f(y),1)]),_:2},1032,["to"])]),_:2},1032,["text"])]))),128))]),_:2},1024)):(d(),g(T,{key:1},[u(f(c(t)("common.collection.none")),1)],64))]),zone:m(({row:e})=>[e.zone?(d(),P(p,{key:0,to:{name:"zone-cp-detail-view",params:{zone:e.zone}}},{default:m(()=>[u(f(e.zone),1)]),_:2},1032,["to"])):(d(),g(T,{key:1},[u(f(c(t)("common.collection.none")),1)],64))]),certificate:m(({row:e})=>{var y;return[(y=e.dataplaneInsight.mTLS)!=null&&y.certificateExpirationTime?(d(),g(T,{key:0},[u(f(c(x)(e.dataplaneInsight.mTLS.certificateExpirationTime)),1)],64)):(d(),g(T,{key:1},[u(f(c(t)("data-planes.components.data-plane-list.certificate.none")),1)],64))]}),status:m(({row:e})=>[S(be,{status:e.status},null,8,["status"])]),warnings:m(({row:e})=>[e.isCertExpired||e.warnings.length>0?(d(),P(k,{key:0},{content:m(()=>[b("ul",null,[e.warnings.length>0?(d(),g("li",xe,f(c(t)("data-planes.components.data-plane-list.version_mismatch")),1)):z("",!0),u(),e.isCertExpired?(d(),g("li",Ce,f(c(t)("data-planes.components.data-plane-list.cert_expired")),1)):z("",!0)])]),default:m(()=>[u(),S(ke,{class:"mr-1",size:c(w),"hide-title":""},null,8,["size"])]),_:2},1024)):(d(),g(T,{key:1},[u(f(c(t)("common.collection.none")),1)],64))]),details:m(({row:e})=>[S(p,{class:"details-link","data-testid":"details-link",to:{name:"data-plane-detail-view",params:{dataPlane:e.name}}},{default:m(()=>[u(f(c(t)("common.collection.details_link"))+" ",1),S(c(re),{display:"inline-block",decorative:"",size:c(w)},null,8,["size"])]),_:2},1032,["to"])]),_:2},[o.$slots.toolbar?{name:"toolbar",fn:m(()=>[O(o.$slots,"toolbar",{},void 0,!0)]),key:"0"}:void 0]),1032,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error","is-selected-row"])}}});const Xe=R(Te,[["__scopeId","data-v-4ee5ee9a"]]);function we(n,i,t){return Math.max(i,Math.min(n,t))}const ze=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];class Ie{constructor(i,t){N(this,"commands");N(this,"keyMap");N(this,"boundTriggerShortcuts");this.commands=t,this.keyMap=Object.fromEntries(Object.entries(i).map(([x,l])=>[x.toLowerCase(),l])),this.boundTriggerShortcuts=this.triggerShortcuts.bind(this)}registerListener(){document.addEventListener("keydown",this.boundTriggerShortcuts)}unRegisterListener(){document.removeEventListener("keydown",this.boundTriggerShortcuts)}triggerShortcuts(i){Le(i,this.keyMap,this.commands)}}function Le(n,i,t){const x=Fe(n.code),l=[n.ctrlKey?"ctrl":"",n.shiftKey?"shift":"",n.altKey?"alt":"",x].filter(_=>_!=="").join("+"),s=i[l];if(!s)return;const o=t[s];o.isAllowedContext&&!o.isAllowedContext(n)||(o.shouldPreventDefaultAction&&n.preventDefault(),!(o.isDisabled&&o.isDisabled())&&o.trigger(n))}function Fe(n){return ze.includes(n)?"":n.replace(/^Key/,"").toLowerCase()}function Ne(n,i){const t=" "+n,x=t.matchAll(/ ([-\s\w]+):\s*/g),l=[];for(const s of Array.from(x)){if(s.index===void 0)continue;const o=Pe(s[1]);if(i.length>0&&!i.includes(o))throw new Error(`Unknown field “${o}”. Known fields: ${i.join(", ")}`);const _=s.index+s[0].length,p=t.substring(_);let h;if(/^\s*["']/.test(p)){const e=p.match(/['"](.*?)['"]/);if(e!==null)h=e[1];else throw new Error(`Quote mismatch for field “${o}”.`)}else{const e=p.indexOf(" "),y=e===-1?p.length:e;h=p.substring(0,y)}h!==""&&l.push([o,h])}return l}function Pe(n){return n.trim().replace(/\s+/g,"-").replace(/-[a-z]/g,(i,t)=>t===0?i:i.substring(1).toUpperCase())}const V=n=>(ve("data-v-349996e3"),n=n(),he(),n),Ae=V(()=>b("span",{class:"visually-hidden"},"Focus filter",-1)),Ee={class:"k-filter-icon"},Be=["for"],Me=["id","placeholder"],qe={key:0,class:"k-suggestion-box","data-testid":"k-filter-bar-suggestion-box"},De={class:"k-suggestion-list"},$e={key:0,class:"k-filter-bar-error"},je={key:0},Ke=["title","data-filter-field"],Oe={class:"visually-hidden"},Qe=V(()=>b("span",{class:"visually-hidden"},"Clear query",-1)),Re=K({__name:"FilterBar",props:{id:{type:String,required:!1,default:()=>Se("k-filter-bar")},fields:{type:Object,required:!0},placeholder:{type:String,required:!1,default:null},query:{type:String,required:!1,default:""}},emits:["fields-change"],setup(n,{emit:i}){const t=n,x=i,l=C(null),s=C(null),o=C(t.query),_=C([]),p=C(null),h=C(!1),k=C(-1),e=A(()=>Object.keys(t.fields)),y=A(()=>Object.entries(t.fields).slice(0,5).map(([a,r])=>({fieldName:a,...r}))),I=A(()=>e.value.length>0?`Filter by ${e.value.join(", ")}`:"Filter"),H=A(()=>t.placeholder??I.value);$(()=>_.value,function(a,r){ne(a,r)||(p.value=null,x("fields-change",{fields:a,query:o.value}))}),$(()=>o.value,function(){o.value===""&&(p.value=null),h.value=!0});const U={Enter:"submitQuery",Escape:"closeSuggestionBox",ArrowDown:"jumpToNextSuggestion",ArrowUp:"jumpToPreviousSuggestion"},W={submitQuery:{trigger:M,isAllowedContext(a){return s.value!==null&&a.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},jumpToNextSuggestion:{trigger:Z,isAllowedContext(a){return s.value!==null&&a.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},jumpToPreviousSuggestion:{trigger:Y,isAllowedContext(a){return s.value!==null&&a.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},closeSuggestionBox:{trigger:E,isAllowedContext(a){return l.value!==null&&a.composedPath().includes(l.value)}}};function G(){const a=new Ie(U,W);me(function(){a.registerListener()}),ge(function(){a.unRegisterListener()}),L(o.value)}G();function J(a){const r=a.target;L(r.value)}function M(){if(s.value instanceof HTMLInputElement)if(k.value===-1)L(s.value.value),h.value=!1;else{const a=y.value[k.value].fieldName;a&&D(s.value,a)}}function Z(){q(1)}function Y(){q(-1)}function q(a){k.value=we(k.value+a,-1,y.value.length-1)}function X(){s.value instanceof HTMLInputElement&&s.value.focus()}function ee(a){const v=a.currentTarget.getAttribute("data-filter-field");v&&s.value instanceof HTMLInputElement&&D(s.value,v)}function D(a,r){const v=o.value===""||o.value.endsWith(" ")?"":" ";o.value+=v+r+":",a.focus(),k.value=-1}function te(){o.value="",s.value instanceof HTMLInputElement&&(s.value.value="",s.value.focus(),L(""))}function ae(a){a.relatedTarget===null&&E(),l.value instanceof HTMLElement&&a.relatedTarget instanceof Node&&!l.value.contains(a.relatedTarget)&&E()}function E(){h.value=!1}function L(a){p.value=null;try{const r=Ne(a,e.value);r.sort((v,F)=>v[0].localeCompare(F[0])),_.value=r}catch(r){if(r instanceof Error)p.value=r,h.value=!0;else throw r}}function ne(a,r){return JSON.stringify(a)===JSON.stringify(r)}return(a,r)=>(d(),g("div",{ref_key:"filterBar",ref:l,class:"k-filter-bar","data-testid":"k-filter-bar"},[b("button",{class:"k-focus-filter-input-button",title:"Focus filter",type:"button","data-testid":"k-filter-bar-focus-filter-input-button",onClick:X},[Ae,u(),b("span",Ee,[S(c(ue),{decorative:"","data-testid":"k-filter-bar-filter-icon","hide-title":"",size:c(w)},null,8,["size"])])]),u(),b("label",{for:`${t.id}-filter-bar-input`,class:"visually-hidden"},[O(a.$slots,"default",{},()=>[u(f(I.value),1)],!0)],8,Be),u(),ce(b("input",{id:`${t.id}-filter-bar-input`,ref_key:"filterInput",ref:s,"onUpdate:modelValue":r[0]||(r[0]=v=>o.value=v),class:"k-filter-bar-input",type:"text",placeholder:H.value,"data-testid":"k-filter-bar-filter-input",onFocus:r[1]||(r[1]=v=>h.value=!0),onBlur:ae,onChange:J},null,40,Me),[[de,o.value]]),u(),h.value?(d(),g("div",qe,[b("div",De,[p.value!==null?(d(),g("p",$e,f(p.value.message),1)):(d(),g("button",{key:1,class:j(["k-submit-query-button",{"k-submit-query-button-is-selected":k.value===-1}]),title:"Submit query",type:"button","data-testid":"k-filter-bar-submit-query-button",onClick:M},` +var se=Object.defineProperty;var oe=(n,i,t)=>i in n?se(n,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[i]=t;var N=(n,i,t)=>(oe(n,typeof i!="symbol"?i+"":i,t),t);import{K as w}from"./index-fce48c05.js";import{d as K,k as ie,a as B,o as d,b as P,W as le,w as m,r as O,e as S,f as u,t as f,l as c,c as g,F as T,C as Q,m as b,p as z,T as re,_ as R,z as C,H as A,a7 as $,aq as ue,ar as ce,as as de,n as j,at as fe,au as pe,av as me,aw as ge,s as ve,v as he}from"./index-78599b4f.js";import{A as ye}from"./AppCollection-fab1a627.js";import{S as be}from"./StatusBadge-3f562081.js";import{T as _e}from"./TextWithCopyButton-c32acac7.js";import{_ as ke}from"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import{u as Se}from"./uniqueId-90cc9b93.js";const xe={key:0},Ce={key:1},Te=K({__name:"DataPlaneList",props:{total:{default:0},pageNumber:{},pageSize:{},items:{},error:{},isSelectedRow:{type:[Function,null],default:null},summaryRouteName:{},isGlobalMode:{type:Boolean}},emits:["change"],setup(n,{emit:i}){const{t,formatIsoDate:x}=ie(),l=n,s=i;return(o,_)=>{const p=B("RouterLink"),h=B("KTruncate"),k=B("KTooltip");return d(),P(ye,{class:"data-plane-collection","empty-state-message":c(t)("common.emptyState.message",{type:"Data Plane Proxies"}),"empty-state-cta-to":c(t)("data-planes.href.docs.data_plane_proxy"),"empty-state-cta-text":c(t)("common.documentation"),headers:[{label:"Name",key:"name"},{label:"Type",key:"type"},{label:"Services",key:"services"},...l.isGlobalMode?[{label:"Zone",key:"zone"}]:[],{label:"Certificate Info",key:"certificate"},{label:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Details",key:"details",hideLabel:!0}],"page-number":l.pageNumber,"page-size":l.pageSize,total:l.total,items:l.items,error:l.error,"is-selected-row":l.isSelectedRow,onChange:_[0]||(_[0]=e=>s("change",e))},le({name:m(({row:e})=>[S(p,{class:"name-link",title:e.name,to:{name:l.summaryRouteName,params:{mesh:e.mesh,dataPlane:e.name},query:{page:l.pageNumber,size:l.pageSize}}},{default:m(()=>[u(f(e.name),1)]),_:2},1032,["title","to"])]),type:m(({row:e})=>[u(f(c(t)(`data-planes.type.${e.dataplaneType}`)),1)]),services:m(({row:e})=>[e.services.length>0?(d(),P(h,{key:0,width:"auto"},{default:m(()=>[(d(!0),g(T,null,Q(e.services,(y,I)=>(d(),g("div",{key:I},[S(_e,{text:y},{default:m(()=>[S(p,{to:{name:"service-detail-view",params:{service:y}}},{default:m(()=>[u(f(y),1)]),_:2},1032,["to"])]),_:2},1032,["text"])]))),128))]),_:2},1024)):(d(),g(T,{key:1},[u(f(c(t)("common.collection.none")),1)],64))]),zone:m(({row:e})=>[e.zone?(d(),P(p,{key:0,to:{name:"zone-cp-detail-view",params:{zone:e.zone}}},{default:m(()=>[u(f(e.zone),1)]),_:2},1032,["to"])):(d(),g(T,{key:1},[u(f(c(t)("common.collection.none")),1)],64))]),certificate:m(({row:e})=>{var y;return[(y=e.dataplaneInsight.mTLS)!=null&&y.certificateExpirationTime?(d(),g(T,{key:0},[u(f(c(x)(e.dataplaneInsight.mTLS.certificateExpirationTime)),1)],64)):(d(),g(T,{key:1},[u(f(c(t)("data-planes.components.data-plane-list.certificate.none")),1)],64))]}),status:m(({row:e})=>[S(be,{status:e.status},null,8,["status"])]),warnings:m(({row:e})=>[e.isCertExpired||e.warnings.length>0?(d(),P(k,{key:0},{content:m(()=>[b("ul",null,[e.warnings.length>0?(d(),g("li",xe,f(c(t)("data-planes.components.data-plane-list.version_mismatch")),1)):z("",!0),u(),e.isCertExpired?(d(),g("li",Ce,f(c(t)("data-planes.components.data-plane-list.cert_expired")),1)):z("",!0)])]),default:m(()=>[u(),S(ke,{class:"mr-1",size:c(w),"hide-title":""},null,8,["size"])]),_:2},1024)):(d(),g(T,{key:1},[u(f(c(t)("common.collection.none")),1)],64))]),details:m(({row:e})=>[S(p,{class:"details-link","data-testid":"details-link",to:{name:"data-plane-detail-view",params:{dataPlane:e.name}}},{default:m(()=>[u(f(c(t)("common.collection.details_link"))+" ",1),S(c(re),{display:"inline-block",decorative:"",size:c(w)},null,8,["size"])]),_:2},1032,["to"])]),_:2},[o.$slots.toolbar?{name:"toolbar",fn:m(()=>[O(o.$slots,"toolbar",{},void 0,!0)]),key:"0"}:void 0]),1032,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error","is-selected-row"])}}});const Xe=R(Te,[["__scopeId","data-v-4ee5ee9a"]]);function we(n,i,t){return Math.max(i,Math.min(n,t))}const ze=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];class Ie{constructor(i,t){N(this,"commands");N(this,"keyMap");N(this,"boundTriggerShortcuts");this.commands=t,this.keyMap=Object.fromEntries(Object.entries(i).map(([x,l])=>[x.toLowerCase(),l])),this.boundTriggerShortcuts=this.triggerShortcuts.bind(this)}registerListener(){document.addEventListener("keydown",this.boundTriggerShortcuts)}unRegisterListener(){document.removeEventListener("keydown",this.boundTriggerShortcuts)}triggerShortcuts(i){Le(i,this.keyMap,this.commands)}}function Le(n,i,t){const x=Fe(n.code),l=[n.ctrlKey?"ctrl":"",n.shiftKey?"shift":"",n.altKey?"alt":"",x].filter(_=>_!=="").join("+"),s=i[l];if(!s)return;const o=t[s];o.isAllowedContext&&!o.isAllowedContext(n)||(o.shouldPreventDefaultAction&&n.preventDefault(),!(o.isDisabled&&o.isDisabled())&&o.trigger(n))}function Fe(n){return ze.includes(n)?"":n.replace(/^Key/,"").toLowerCase()}function Ne(n,i){const t=" "+n,x=t.matchAll(/ ([-\s\w]+):\s*/g),l=[];for(const s of Array.from(x)){if(s.index===void 0)continue;const o=Pe(s[1]);if(i.length>0&&!i.includes(o))throw new Error(`Unknown field “${o}”. Known fields: ${i.join(", ")}`);const _=s.index+s[0].length,p=t.substring(_);let h;if(/^\s*["']/.test(p)){const e=p.match(/['"](.*?)['"]/);if(e!==null)h=e[1];else throw new Error(`Quote mismatch for field “${o}”.`)}else{const e=p.indexOf(" "),y=e===-1?p.length:e;h=p.substring(0,y)}h!==""&&l.push([o,h])}return l}function Pe(n){return n.trim().replace(/\s+/g,"-").replace(/-[a-z]/g,(i,t)=>t===0?i:i.substring(1).toUpperCase())}const V=n=>(ve("data-v-349996e3"),n=n(),he(),n),Ae=V(()=>b("span",{class:"visually-hidden"},"Focus filter",-1)),Ee={class:"k-filter-icon"},Be=["for"],Me=["id","placeholder"],qe={key:0,class:"k-suggestion-box","data-testid":"k-filter-bar-suggestion-box"},De={class:"k-suggestion-list"},$e={key:0,class:"k-filter-bar-error"},je={key:0},Ke=["title","data-filter-field"],Oe={class:"visually-hidden"},Qe=V(()=>b("span",{class:"visually-hidden"},"Clear query",-1)),Re=K({__name:"FilterBar",props:{id:{type:String,required:!1,default:()=>Se("k-filter-bar")},fields:{type:Object,required:!0},placeholder:{type:String,required:!1,default:null},query:{type:String,required:!1,default:""}},emits:["fields-change"],setup(n,{emit:i}){const t=n,x=i,l=C(null),s=C(null),o=C(t.query),_=C([]),p=C(null),h=C(!1),k=C(-1),e=A(()=>Object.keys(t.fields)),y=A(()=>Object.entries(t.fields).slice(0,5).map(([a,r])=>({fieldName:a,...r}))),I=A(()=>e.value.length>0?`Filter by ${e.value.join(", ")}`:"Filter"),H=A(()=>t.placeholder??I.value);$(()=>_.value,function(a,r){ne(a,r)||(p.value=null,x("fields-change",{fields:a,query:o.value}))}),$(()=>o.value,function(){o.value===""&&(p.value=null),h.value=!0});const U={Enter:"submitQuery",Escape:"closeSuggestionBox",ArrowDown:"jumpToNextSuggestion",ArrowUp:"jumpToPreviousSuggestion"},W={submitQuery:{trigger:M,isAllowedContext(a){return s.value!==null&&a.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},jumpToNextSuggestion:{trigger:Z,isAllowedContext(a){return s.value!==null&&a.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},jumpToPreviousSuggestion:{trigger:Y,isAllowedContext(a){return s.value!==null&&a.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},closeSuggestionBox:{trigger:E,isAllowedContext(a){return l.value!==null&&a.composedPath().includes(l.value)}}};function G(){const a=new Ie(U,W);me(function(){a.registerListener()}),ge(function(){a.unRegisterListener()}),L(o.value)}G();function J(a){const r=a.target;L(r.value)}function M(){if(s.value instanceof HTMLInputElement)if(k.value===-1)L(s.value.value),h.value=!1;else{const a=y.value[k.value].fieldName;a&&D(s.value,a)}}function Z(){q(1)}function Y(){q(-1)}function q(a){k.value=we(k.value+a,-1,y.value.length-1)}function X(){s.value instanceof HTMLInputElement&&s.value.focus()}function ee(a){const v=a.currentTarget.getAttribute("data-filter-field");v&&s.value instanceof HTMLInputElement&&D(s.value,v)}function D(a,r){const v=o.value===""||o.value.endsWith(" ")?"":" ";o.value+=v+r+":",a.focus(),k.value=-1}function te(){o.value="",s.value instanceof HTMLInputElement&&(s.value.value="",s.value.focus(),L(""))}function ae(a){a.relatedTarget===null&&E(),l.value instanceof HTMLElement&&a.relatedTarget instanceof Node&&!l.value.contains(a.relatedTarget)&&E()}function E(){h.value=!1}function L(a){p.value=null;try{const r=Ne(a,e.value);r.sort((v,F)=>v[0].localeCompare(F[0])),_.value=r}catch(r){if(r instanceof Error)p.value=r,h.value=!0;else throw r}}function ne(a,r){return JSON.stringify(a)===JSON.stringify(r)}return(a,r)=>(d(),g("div",{ref_key:"filterBar",ref:l,class:"k-filter-bar","data-testid":"k-filter-bar"},[b("button",{class:"k-focus-filter-input-button",title:"Focus filter",type:"button","data-testid":"k-filter-bar-focus-filter-input-button",onClick:X},[Ae,u(),b("span",Ee,[S(c(ue),{decorative:"","data-testid":"k-filter-bar-filter-icon","hide-title":"",size:c(w)},null,8,["size"])])]),u(),b("label",{for:`${t.id}-filter-bar-input`,class:"visually-hidden"},[O(a.$slots,"default",{},()=>[u(f(I.value),1)],!0)],8,Be),u(),ce(b("input",{id:`${t.id}-filter-bar-input`,ref_key:"filterInput",ref:s,"onUpdate:modelValue":r[0]||(r[0]=v=>o.value=v),class:"k-filter-bar-input",type:"text",placeholder:H.value,"data-testid":"k-filter-bar-filter-input",onFocus:r[1]||(r[1]=v=>h.value=!0),onBlur:ae,onChange:J},null,40,Me),[[de,o.value]]),u(),h.value?(d(),g("div",qe,[b("div",De,[p.value!==null?(d(),g("p",$e,f(p.value.message),1)):(d(),g("button",{key:1,class:j(["k-submit-query-button",{"k-submit-query-button-is-selected":k.value===-1}]),title:"Submit query",type:"button","data-testid":"k-filter-bar-submit-query-button",onClick:M},` Submit `+f(o.value),3)),u(),(d(!0),g(T,null,Q(y.value,(v,F)=>(d(),g("div",{key:`${t.id}-${F}`,class:j(["k-suggestion-list-item",{"k-suggestion-list-item-is-selected":k.value===F}])},[b("b",null,f(v.fieldName),1),v.description!==""?(d(),g("span",je,": "+f(v.description),1)):z("",!0),u(),b("button",{class:"k-apply-suggestion-button",title:`Add ${v.fieldName}:`,type:"button","data-filter-field":v.fieldName,"data-testid":"k-filter-bar-apply-suggestion-button",onClick:ee},[b("span",Oe,"Add "+f(v.fieldName)+":",1),u(),S(c(fe),{decorative:"","hide-title":"",size:c(w)},null,8,["size"])],8,Ke)],2))),128))])])):z("",!0),u(),o.value!==""?(d(),g("button",{key:1,class:"k-clear-query-button",title:"Clear query",type:"button","data-testid":"k-filter-bar-clear-query-button",onClick:te},[Qe,u(),S(c(pe),{decorative:"","hide-title":"",size:c(w)},null,8,["size"])])):z("",!0)],512))}});const et=R(Re,[["__scopeId","data-v-349996e3"]]);export{Xe as D,et as F}; diff --git a/app/kuma-ui/pkg/resources/data/assets/KumaNotFoundView-3e1825d3.js b/app/kuma-ui/pkg/resources/data/assets/KumaNotFoundView-25d01ff5.js similarity index 84% rename from app/kuma-ui/pkg/resources/data/assets/KumaNotFoundView-3e1825d3.js rename to app/kuma-ui/pkg/resources/data/assets/KumaNotFoundView-25d01ff5.js index a9103ae2e8a5..34e0089d6506 100644 --- a/app/kuma-ui/pkg/resources/data/assets/KumaNotFoundView-3e1825d3.js +++ b/app/kuma-ui/pkg/resources/data/assets/KumaNotFoundView-25d01ff5.js @@ -1,3 +1,3 @@ -import{_ as i}from"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import{d as r,a as t,o as u,b as l,w as e,e as o,m as n,f as a}from"./index-6594470f.js";import"./index-fce48c05.js";const d={class:"overview"},f=n("p",null,"The page or entity you were looking for does not exist.",-1),B=r({__name:"KumaNotFoundView",setup(w){return(V,h)=>{const s=t("RouteTitle"),_=t("KButton"),c=t("KEmptyState"),m=t("AppView"),p=t("RouteView");return u(),l(p,{name:"kuma-not-found-view"},{default:e(()=>[o(m,null,{default:e(()=>[n("div",d,[o(c,null,{title:e(()=>[o(i,{class:"mb-3"}),a(),n("h1",null,[o(s,{title:"Page Not Found"})])]),message:e(()=>[f]),cta:e(()=>[o(_,{appearance:"primary",to:{name:"home"}},{default:e(()=>[a(` +import{_ as i}from"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import{d as r,a as t,o as u,b as l,w as e,e as o,m as n,f as a}from"./index-78599b4f.js";import"./index-fce48c05.js";const d={class:"overview"},f=n("p",null,"The page or entity you were looking for does not exist.",-1),B=r({__name:"KumaNotFoundView",setup(w){return(V,h)=>{const s=t("RouteTitle"),_=t("KButton"),c=t("KEmptyState"),m=t("AppView"),p=t("RouteView");return u(),l(p,{name:"kuma-not-found-view"},{default:e(()=>[o(m,null,{default:e(()=>[n("div",d,[o(c,null,{title:e(()=>[o(i,{class:"mb-3"}),a(),n("h1",null,[o(s,{title:"Page Not Found"})])]),message:e(()=>[f]),cta:e(()=>[o(_,{appearance:"primary",to:{name:"home"}},{default:e(()=>[a(` Go Home `)]),_:1})]),_:1})])]),_:1})]),_:1})}}});export{B as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js b/app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js rename to app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js index d7a042f0e24b..52d14e9fe1d5 100644 --- a/app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js +++ b/app/kuma-ui/pkg/resources/data/assets/LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js @@ -1 +1 @@ -import{c as o}from"./index-fce48c05.js";import{d as s,o as t,b as r,w as l,e as n,l as a,a5 as c,f as d,r as i,a4 as _,m as p}from"./index-6594470f.js";const m=p("p",null,"Loading data …",-1),h=s({__name:"LoadingBlock",setup(f){return(e,u)=>(t(),r(a(_),{"cta-is-hidden":"","data-testid":"loading-block"},{title:l(()=>[n(a(c),{class:"mb-3",display:"inline-block",color:a(o)},null,8,["color"]),d(),i(e.$slots,"default",{},()=>[m])]),_:3}))}});export{h as _}; +import{c as o}from"./index-fce48c05.js";import{d as s,o as t,b as r,w as l,e as n,l as a,a5 as c,f as d,r as i,a4 as _,m as p}from"./index-78599b4f.js";const m=p("p",null,"Loading data …",-1),h=s({__name:"LoadingBlock",setup(f){return(e,u)=>(t(),r(a(_),{"cta-is-hidden":"","data-testid":"loading-block"},{title:l(()=>[n(a(c),{class:"mb-3",display:"inline-block",color:a(o)},null,8,["color"]),d(),i(e.$slots,"default",{},()=>[m])]),_:3}))}});export{h as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/LoadingBox-a7773ef8.js b/app/kuma-ui/pkg/resources/data/assets/LoadingBox-5037d9a5.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/LoadingBox-a7773ef8.js rename to app/kuma-ui/pkg/resources/data/assets/LoadingBox-5037d9a5.js index 005257a5068c..d893f4b24431 100644 --- a/app/kuma-ui/pkg/resources/data/assets/LoadingBox-a7773ef8.js +++ b/app/kuma-ui/pkg/resources/data/assets/LoadingBox-5037d9a5.js @@ -1 +1 @@ -import{_ as d,o as _,c as n,f as t,s as c,v as l,m as o}from"./index-6594470f.js";const a={},e=s=>(c("data-v-67594d24"),s=s(),l(),s),i={class:"loading","data-testid":"loading"},u=e(()=>o("div",null,null,-1)),p=e(()=>o("div",null,null,-1)),r=e(()=>o("div",null,null,-1)),v=e(()=>o("div",null,null,-1)),h=e(()=>o("div",null,null,-1));function x(s,f){return _(),n("div",i,[u,t(),p,t(),r,t(),v,t(),h])}const m=d(a,[["render",x],["__scopeId","data-v-67594d24"]]);export{m as L}; +import{_ as d,o as _,c as n,f as t,s as c,v as l,m as o}from"./index-78599b4f.js";const a={},e=s=>(c("data-v-67594d24"),s=s(),l(),s),i={class:"loading","data-testid":"loading"},u=e(()=>o("div",null,null,-1)),p=e(()=>o("div",null,null,-1)),r=e(()=>o("div",null,null,-1)),v=e(()=>o("div",null,null,-1)),h=e(()=>o("div",null,null,-1));function x(s,f){return _(),n("div",i,[u,t(),p,t(),r,t(),v,t(),h])}const m=d(a,[["render",x],["__scopeId","data-v-67594d24"]]);export{m as L}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-41fe6010.js b/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-d102dc87.js similarity index 70% rename from app/kuma-ui/pkg/resources/data/assets/MeshConfigView-41fe6010.js rename to app/kuma-ui/pkg/resources/data/assets/MeshConfigView-d102dc87.js index 6d29d2505221..ab1d68498b37 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-41fe6010.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-d102dc87.js @@ -1 +1 @@ -import{_ as V}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-5c4d11ef.js";import{E as g}from"./ErrorBlock-eae09ed8.js";import{_ as k}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{d as v,a as o,o as t,b as r,w as e,e as s,m as x,f as B,p as E}from"./index-6594470f.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./TextWithCopyButton-e98ec405.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const F=v({__name:"MeshConfigView",setup(N){return(R,$)=>{const l=o("RouteTitle"),a=o("DataSource"),u=o("KCard"),f=o("AppView"),d=o("RouteView");return t(),r(d,{name:"mesh-config-view","data-testid":"mesh-config-view",params:{mesh:""}},{default:e(({route:m,t:h})=>[s(f,null,{title:e(()=>[x("h2",null,[s(l,{title:h("meshes.routes.item.navigation.mesh-config-view")},null,8,["title"])])]),default:e(()=>[B(),s(u,null,{default:e(()=>[s(a,{src:`/meshes/${m.params.mesh}`},{default:e(({data:i,error:c})=>[c!==void 0?(t(),r(g,{key:0,error:c},null,8,["error"])):i===void 0?(t(),r(k,{key:1})):(t(),r(V,{key:2,resource:i.config},{default:e(({copy:p,copying:w})=>[w?(t(),r(a,{key:0,src:`/meshes/${m.params.mesh}/as/kubernetes?no-store`,onChange:n=>{p(_=>_(n))},onError:n=>{p((_,C)=>C(n))}},null,8,["src","onChange","onError"])):E("",!0)]),_:2},1032,["resource"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{F as default}; +import{_ as V}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js";import{E as g}from"./ErrorBlock-c71bafad.js";import{_ as k}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{d as v,a as o,o as t,b as r,w as e,e as s,m as x,f as B,p as E}from"./index-78599b4f.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./TextWithCopyButton-c32acac7.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const F=v({__name:"MeshConfigView",setup(N){return(R,$)=>{const l=o("RouteTitle"),a=o("DataSource"),u=o("KCard"),f=o("AppView"),d=o("RouteView");return t(),r(d,{name:"mesh-config-view","data-testid":"mesh-config-view",params:{mesh:""}},{default:e(({route:m,t:h})=>[s(f,null,{title:e(()=>[x("h2",null,[s(l,{title:h("meshes.routes.item.navigation.mesh-config-view")},null,8,["title"])])]),default:e(()=>[B(),s(u,null,{default:e(()=>[s(a,{src:`/meshes/${m.params.mesh}`},{default:e(({data:i,error:c})=>[c!==void 0?(t(),r(g,{key:0,error:c},null,8,["error"])):i===void 0?(t(),r(k,{key:1})):(t(),r(V,{key:2,resource:i.config},{default:e(({copy:p,copying:w})=>[w?(t(),r(a,{key:0,src:`/meshes/${m.params.mesh}/as/kubernetes?no-store`,onChange:n=>{p(_=>_(n))},onError:n=>{p((_,C)=>C(n))}},null,8,["src","onChange","onError"])):E("",!0)]),_:2},1032,["resource"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{F as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshDetailTabsView-a0d46b91.js b/app/kuma-ui/pkg/resources/data/assets/MeshDetailTabsView-ecd87f19.js similarity index 83% rename from app/kuma-ui/pkg/resources/data/assets/MeshDetailTabsView-a0d46b91.js rename to app/kuma-ui/pkg/resources/data/assets/MeshDetailTabsView-ecd87f19.js index a171a963fb05..b2798afee30f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshDetailTabsView-a0d46b91.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshDetailTabsView-ecd87f19.js @@ -1 +1 @@ -import{d as h,k as f,U as w,a as n,o as R,b as V,w as m,e as s,m as b,l as p,f as _}from"./index-6594470f.js";import{N as x}from"./NavTabs-bb254677.js";import{T}from"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";const D=h({__name:"MeshDetailTabsView",setup(v){var l;const{t:u}=f(),d=(((l=w().getRoutes().find(e=>e.name==="mesh-detail-tabs-view"))==null?void 0:l.children)??[]).map(e=>{var a,t;const i=typeof e.name>"u"?(a=e.children)==null?void 0:a[0]:e,o=i.name,r=((t=i.meta)==null?void 0:t.module)??"";return{title:u(`meshes.routes.item.navigation.${o}`),routeName:o,module:r}});return(e,i)=>{const o=n("RouteTitle"),r=n("RouterView"),c=n("AppView"),a=n("RouteView");return R(),V(a,{name:"mesh-detail-tabs-view",params:{mesh:""}},{default:m(({route:t})=>[s(c,null,{title:m(()=>[b("h1",null,[s(T,{text:t.params.mesh},{default:m(()=>[s(o,{title:p(u)("meshes.routes.item.title",{name:t.params.mesh})},null,8,["title"])]),_:2},1032,["text"])])]),default:m(()=>[_(),s(x,{class:"route-mesh-view-tabs",tabs:p(d)},null,8,["tabs"]),_(),s(r)]),_:2},1024)]),_:1})}}});export{D as default}; +import{d as h,k as f,U as w,a as n,o as R,b as V,w as m,e as s,m as b,l as p,f as _}from"./index-78599b4f.js";import{N as x}from"./NavTabs-3217ce74.js";import{T}from"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";const D=h({__name:"MeshDetailTabsView",setup(v){var l;const{t:u}=f(),d=(((l=w().getRoutes().find(e=>e.name==="mesh-detail-tabs-view"))==null?void 0:l.children)??[]).map(e=>{var a,t;const i=typeof e.name>"u"?(a=e.children)==null?void 0:a[0]:e,o=i.name,r=((t=i.meta)==null?void 0:t.module)??"";return{title:u(`meshes.routes.item.navigation.${o}`),routeName:o,module:r}});return(e,i)=>{const o=n("RouteTitle"),r=n("RouterView"),c=n("AppView"),a=n("RouteView");return R(),V(a,{name:"mesh-detail-tabs-view",params:{mesh:""}},{default:m(({route:t})=>[s(c,null,{title:m(()=>[b("h1",null,[s(T,{text:t.params.mesh},{default:m(()=>[s(o,{title:p(u)("meshes.routes.item.title",{name:t.params.mesh})},null,8,["title"])]),_:2},1032,["text"])])]),default:m(()=>[_(),s(x,{class:"route-mesh-view-tabs",tabs:p(d)},null,8,["tabs"]),_(),s(r)]),_:2},1024)]),_:1})}}});export{D as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-a0aeb93c.js b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-6580d772.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/MeshDetailView-a0aeb93c.js rename to app/kuma-ui/pkg/resources/data/assets/MeshDetailView-6580d772.js index 22d114e78408..91a9ea4c0830 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-a0aeb93c.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-6580d772.js @@ -1 +1 @@ -import{E as R}from"./ErrorBlock-eae09ed8.js";import{_ as g}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{d as T,k as S,H as w,o as t,c as V,f as _,t as i,l as r,e,T as b,_ as k,V as B,a as c,b as p,w as n,m as M}from"./index-6594470f.js";import"./index-fce48c05.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const $={class:"date-status"},I=T({__name:"ResourceDateStatus",props:{creationTime:{},modificationTime:{}},setup(u){const{t:a,formatIsoDate:m}=S(),d=u,l=w(()=>m(d.creationTime)),s=w(()=>m(d.modificationTime));return(f,h)=>(t(),V("span",$,[_(i(r(a)("common.detail.created"))+": "+i(l.value)+" ",1),e(r(b)),_(" "+i(r(a)("common.detail.modified"))+": "+i(s.value),1)]))}});const C=k(I,[["__scopeId","data-v-fa366713"]]),N={key:2,class:"stack","data-testid":"detail-view-details"},A={class:"date-status-wrapper"},E=T({__name:"MeshDetailView",setup(u){const a=B();return(m,d)=>{const l=c("RouteTitle"),s=c("DataSource"),f=c("AppView"),h=c("RouteView");return t(),p(h,{name:"mesh-detail-view",params:{mesh:""}},{default:n(({route:v,t:x})=>[e(l,{title:x("meshes.routes.overview.title"),render:!1},null,8,["title"]),_(),e(f,null,{default:n(()=>[e(s,{src:`/meshes/${v.params.mesh}`},{default:n(({data:o,error:D})=>[e(s,{src:`/mesh-insights/${v.params.mesh}`},{default:n(({data:y})=>[D?(t(),p(R,{key:0,error:D},null,8,["error"])):o===void 0?(t(),p(g,{key:1})):(t(),V("div",N,[e(r(a),{mesh:o,"mesh-insight":y},null,8,["mesh","mesh-insight"]),_(),M("div",A,[e(C,{"creation-time":o.creationTime,"modification-time":o.modificationTime},null,8,["creation-time","modification-time"])])]))]),_:2},1032,["src"])]),_:2},1032,["src"])]),_:2},1024)]),_:1})}}});const K=k(E,[["__scopeId","data-v-e3befb82"]]);export{K as default}; +import{E as R}from"./ErrorBlock-c71bafad.js";import{_ as g}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{d as T,k as S,H as w,o as t,c as V,f as _,t as i,l as r,e,T as b,_ as k,V as B,a as c,b as p,w as n,m as M}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const $={class:"date-status"},I=T({__name:"ResourceDateStatus",props:{creationTime:{},modificationTime:{}},setup(u){const{t:a,formatIsoDate:m}=S(),d=u,l=w(()=>m(d.creationTime)),s=w(()=>m(d.modificationTime));return(f,h)=>(t(),V("span",$,[_(i(r(a)("common.detail.created"))+": "+i(l.value)+" ",1),e(r(b)),_(" "+i(r(a)("common.detail.modified"))+": "+i(s.value),1)]))}});const C=k(I,[["__scopeId","data-v-fa366713"]]),N={key:2,class:"stack","data-testid":"detail-view-details"},A={class:"date-status-wrapper"},E=T({__name:"MeshDetailView",setup(u){const a=B();return(m,d)=>{const l=c("RouteTitle"),s=c("DataSource"),f=c("AppView"),h=c("RouteView");return t(),p(h,{name:"mesh-detail-view",params:{mesh:""}},{default:n(({route:v,t:x})=>[e(l,{title:x("meshes.routes.overview.title"),render:!1},null,8,["title"]),_(),e(f,null,{default:n(()=>[e(s,{src:`/meshes/${v.params.mesh}`},{default:n(({data:o,error:D})=>[e(s,{src:`/mesh-insights/${v.params.mesh}`},{default:n(({data:y})=>[D?(t(),p(R,{key:0,error:D},null,8,["error"])):o===void 0?(t(),p(g,{key:1})):(t(),V("div",N,[e(r(a),{mesh:o,"mesh-insight":y},null,8,["mesh","mesh-insight"]),_(),M("div",A,[e(C,{"creation-time":o.creationTime,"modification-time":o.modificationTime},null,8,["creation-time","modification-time"])])]))]),_:2},1032,["src"])]),_:2},1032,["src"])]),_:2},1024)]),_:1})}}});const K=k(E,[["__scopeId","data-v-e3befb82"]]);export{K as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshListView-d6cd3cf6.js b/app/kuma-ui/pkg/resources/data/assets/MeshListView-77cc5c54.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/MeshListView-d6cd3cf6.js rename to app/kuma-ui/pkg/resources/data/assets/MeshListView-77cc5c54.js index ef774b3ea20b..4219cf69ab0f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshListView-d6cd3cf6.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshListView-77cc5c54.js @@ -1 +1 @@ -import{K as z}from"./index-fce48c05.js";import{d as b,a as n,o as i,b as l,w as s,e as o,m as y,f as p,t as r,l as g,T as x,B as R,p as f,_ as S}from"./index-6594470f.js";import{A as B}from"./AppCollection-39f5da3b.js";import{E as T}from"./ErrorBlock-eae09ed8.js";import{S as L}from"./SummaryView-4df08b91.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const D={class:"stack"},N=b({__name:"MeshListView",setup(A){return(I,K)=>{const w=n("RouteTitle"),_=n("RouterLink"),k=n("KCard"),v=n("RouterView"),C=n("AppView"),d=n("DataSource"),V=n("RouteView");return i(),l(d,{src:"/me"},{default:s(({data:h})=>[h?(i(),l(V,{key:0,name:"mesh-list-view",params:{page:1,size:h.pageSize,mesh:""}},{default:s(({route:e,t:m})=>[o(d,{src:`/mesh-insights?page=${e.params.page}&size=${e.params.size}`},{default:s(({data:t,error:c})=>[o(C,null,{title:s(()=>[y("h1",null,[o(w,{title:m("meshes.routes.items.title")},null,8,["title"])])]),default:s(()=>[p(),y("div",D,[o(k,null,{default:s(()=>[c!==void 0?(i(),l(T,{key:0,error:c},null,8,["error"])):(i(),l(B,{key:1,class:"mesh-collection","data-testid":"mesh-collection",headers:[{label:m("meshes.common.name"),key:"name"},{label:m("meshes.routes.items.collection.services"),key:"services"},{label:m("meshes.routes.items.collection.dataplanes"),key:"dataplanes"},{label:"Details",key:"details",hideLabel:!0}],"page-number":e.params.page,"page-size":e.params.size,total:t==null?void 0:t.total,items:t==null?void 0:t.items,error:c,"empty-state-message":m("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":m("meshes.href.docs"),"empty-state-cta-text":m("common.documentation"),"is-selected-row":a=>a.name===e.params.mesh,onChange:e.update},{name:s(({row:a})=>[o(_,{to:{name:"mesh-detail-view",params:{mesh:a.name},query:{page:e.params.page,size:e.params.size}}},{default:s(()=>[p(r(a.name),1)]),_:2},1032,["to"])]),services:s(({row:a})=>[p(r(a.services.internal),1)]),dataplanes:s(({row:a})=>[p(r(a.dataplanesByType.standard.online)+" / "+r(a.dataplanesByType.standard.total),1)]),details:s(({row:a})=>[o(_,{class:"details-link","data-testid":"details-link",to:{name:"mesh-detail-view",params:{mesh:a.name}}},{default:s(()=>[p(r(m("common.collection.details_link"))+" ",1),o(g(x),{display:"inline-block",decorative:"",size:g(z)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["headers","page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","is-selected-row","onChange"]))]),_:2},1024),p(),e.params.mesh?(i(),l(v,{key:0},{default:s(a=>[o(L,{onClose:u=>e.replace({name:"mesh-list-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:s(()=>[(i(),l(R(a.Component),{name:e.params.mesh,"mesh-insight":t==null?void 0:t.items.find(u=>u.name===e.params.mesh)},null,8,["name","mesh-insight"]))]),_:2},1032,["onClose"])]),_:2},1024)):f("",!0)])]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):f("",!0)]),_:1})}}});const G=S(N,[["__scopeId","data-v-a8e593e7"]]);export{G as default}; +import{K as z}from"./index-fce48c05.js";import{d as b,a as n,o as i,b as l,w as s,e as o,m as y,f as p,t as r,l as g,T as x,B as R,p as f,_ as S}from"./index-78599b4f.js";import{A as B}from"./AppCollection-fab1a627.js";import{E as T}from"./ErrorBlock-c71bafad.js";import{S as L}from"./SummaryView-87032df3.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const D={class:"stack"},N=b({__name:"MeshListView",setup(A){return(I,K)=>{const w=n("RouteTitle"),_=n("RouterLink"),k=n("KCard"),v=n("RouterView"),C=n("AppView"),d=n("DataSource"),V=n("RouteView");return i(),l(d,{src:"/me"},{default:s(({data:h})=>[h?(i(),l(V,{key:0,name:"mesh-list-view",params:{page:1,size:h.pageSize,mesh:""}},{default:s(({route:e,t:m})=>[o(d,{src:`/mesh-insights?page=${e.params.page}&size=${e.params.size}`},{default:s(({data:t,error:c})=>[o(C,null,{title:s(()=>[y("h1",null,[o(w,{title:m("meshes.routes.items.title")},null,8,["title"])])]),default:s(()=>[p(),y("div",D,[o(k,null,{default:s(()=>[c!==void 0?(i(),l(T,{key:0,error:c},null,8,["error"])):(i(),l(B,{key:1,class:"mesh-collection","data-testid":"mesh-collection",headers:[{label:m("meshes.common.name"),key:"name"},{label:m("meshes.routes.items.collection.services"),key:"services"},{label:m("meshes.routes.items.collection.dataplanes"),key:"dataplanes"},{label:"Details",key:"details",hideLabel:!0}],"page-number":e.params.page,"page-size":e.params.size,total:t==null?void 0:t.total,items:t==null?void 0:t.items,error:c,"empty-state-message":m("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":m("meshes.href.docs"),"empty-state-cta-text":m("common.documentation"),"is-selected-row":a=>a.name===e.params.mesh,onChange:e.update},{name:s(({row:a})=>[o(_,{to:{name:"mesh-detail-view",params:{mesh:a.name},query:{page:e.params.page,size:e.params.size}}},{default:s(()=>[p(r(a.name),1)]),_:2},1032,["to"])]),services:s(({row:a})=>[p(r(a.services.internal),1)]),dataplanes:s(({row:a})=>[p(r(a.dataplanesByType.standard.online)+" / "+r(a.dataplanesByType.standard.total),1)]),details:s(({row:a})=>[o(_,{class:"details-link","data-testid":"details-link",to:{name:"mesh-detail-view",params:{mesh:a.name}}},{default:s(()=>[p(r(m("common.collection.details_link"))+" ",1),o(g(x),{display:"inline-block",decorative:"",size:g(z)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["headers","page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","is-selected-row","onChange"]))]),_:2},1024),p(),e.params.mesh?(i(),l(v,{key:0},{default:s(a=>[o(L,{onClose:u=>e.replace({name:"mesh-list-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:s(()=>[(i(),l(R(a.Component),{name:e.params.mesh,"mesh-insight":t==null?void 0:t.items.find(u=>u.name===e.params.mesh)},null,8,["name","mesh-insight"]))]),_:2},1032,["onClose"])]),_:2},1024)):f("",!0)])]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):f("",!0)]),_:1})}}});const G=S(N,[["__scopeId","data-v-a8e593e7"]]);export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshRootView-86aaac48.js b/app/kuma-ui/pkg/resources/data/assets/MeshRootView-fd62c579.js similarity index 69% rename from app/kuma-ui/pkg/resources/data/assets/MeshRootView-86aaac48.js rename to app/kuma-ui/pkg/resources/data/assets/MeshRootView-fd62c579.js index 335c91e930c4..9c2237cde941 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshRootView-86aaac48.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshRootView-fd62c579.js @@ -1 +1 @@ -import{_ as a,a as e,o as _,b as i,w as t,e as o}from"./index-6594470f.js";const m={};function u(p,w){const s=e("RouterView"),n=e("AppView"),c=e("RouteView");return _(),i(c,{name:"mesh-index-view"},{default:t(({t:r})=>[o(n,{breadcrumbs:[{to:{name:"mesh-list-view"},text:r("meshes.routes.item.breadcrumbs")}]},{default:t(()=>[o(s)]),_:2},1032,["breadcrumbs"])]),_:1})}const f=a(m,[["render",u]]);export{f as default}; +import{_ as a,a as e,o as _,b as i,w as t,e as o}from"./index-78599b4f.js";const m={};function u(p,w){const s=e("RouterView"),n=e("AppView"),c=e("RouteView");return _(),i(c,{name:"mesh-index-view"},{default:t(({t:r})=>[o(n,{breadcrumbs:[{to:{name:"mesh-list-view"},text:r("meshes.routes.item.breadcrumbs")}]},{default:t(()=>[o(s)]),_:2},1032,["breadcrumbs"])]),_:1})}const f=a(m,[["render",u]]);export{f as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-eb5d35fd.js b/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-f805b5d7.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-eb5d35fd.js rename to app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-f805b5d7.js index e5343bf8d29a..3c6c9980fabf 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-eb5d35fd.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-f805b5d7.js @@ -1 +1 @@ -import{d as v,k as f,a as c,o as _,b as r,w as e,e as m,m as s,f as t,l as n,t as l,c as w,R as d,s as g,v as k,O as I,_ as V}from"./index-6594470f.js";import{_ as x}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";const R=i=>(g("data-v-5ee23800"),i=i(),k(),i),S={class:"summary-title-wrapper"},B=R(()=>s("img",{"aria-hidden":"true",src:I},null,-1)),M={class:"summary-title"},T={key:1,class:"stack"},C={class:"mt-4 stack"},N=v({__name:"MeshSummaryView",props:{name:{},meshInsight:{default:void 0}},setup(i){const{t:a}=f(),o=i;return(A,L)=>{const p=c("RouteTitle"),u=c("RouterLink"),h=c("AppView"),y=c("RouteView");return _(),r(y,{name:"mesh-summary-view"},{default:e(()=>[m(h,null,{title:e(()=>[s("div",S,[B,t(),s("h2",M,[m(u,{to:{name:"mesh-detail-view",params:{mesh:o.name}}},{default:e(()=>[m(p,{title:n(a)("meshes.routes.item.title",{name:o.name})},null,8,["title"])]),_:1},8,["to"])])])]),default:e(()=>[t(),o.meshInsight===void 0?(_(),r(x,{key:0},{message:e(()=>[s("p",null,l(n(a)("common.collection.summary.empty_message",{type:"Mesh"})),1)]),default:e(()=>[t(l(n(a)("common.collection.summary.empty_title",{type:"Mesh"}))+" ",1)]),_:1})):(_(),w("div",T,[s("div",null,[s("h3",null,l(n(a)("meshes.routes.item.overview")),1),t(),s("div",C,[m(d,{total:o.meshInsight.services.total,"data-testid":"services-status"},{title:e(()=>[t(l(n(a)("meshes.detail.services")),1)]),_:1},8,["total"]),t(),m(d,{online:o.meshInsight.dataplanesByType.standard.online,total:o.meshInsight.dataplanesByType.standard.total,"data-testid":"data-plane-proxies-status"},{title:e(()=>[t(l(n(a)("meshes.detail.data_plane_proxies")),1)]),_:1},8,["online","total"])])])]))]),_:1})]),_:1})}}});const E=V(N,[["__scopeId","data-v-5ee23800"]]);export{E as default}; +import{d as v,k as f,a as c,o as _,b as r,w as e,e as m,m as s,f as t,l as n,t as l,c as w,R as d,s as g,v as k,O as I,_ as V}from"./index-78599b4f.js";import{_ as x}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";const R=i=>(g("data-v-5ee23800"),i=i(),k(),i),S={class:"summary-title-wrapper"},B=R(()=>s("img",{"aria-hidden":"true",src:I},null,-1)),M={class:"summary-title"},T={key:1,class:"stack"},C={class:"mt-4 stack"},N=v({__name:"MeshSummaryView",props:{name:{},meshInsight:{default:void 0}},setup(i){const{t:a}=f(),o=i;return(A,L)=>{const p=c("RouteTitle"),u=c("RouterLink"),h=c("AppView"),y=c("RouteView");return _(),r(y,{name:"mesh-summary-view"},{default:e(()=>[m(h,null,{title:e(()=>[s("div",S,[B,t(),s("h2",M,[m(u,{to:{name:"mesh-detail-view",params:{mesh:o.name}}},{default:e(()=>[m(p,{title:n(a)("meshes.routes.item.title",{name:o.name})},null,8,["title"])]),_:1},8,["to"])])])]),default:e(()=>[t(),o.meshInsight===void 0?(_(),r(x,{key:0},{message:e(()=>[s("p",null,l(n(a)("common.collection.summary.empty_message",{type:"Mesh"})),1)]),default:e(()=>[t(l(n(a)("common.collection.summary.empty_title",{type:"Mesh"}))+" ",1)]),_:1})):(_(),w("div",T,[s("div",null,[s("h3",null,l(n(a)("meshes.routes.item.overview")),1),t(),s("div",C,[m(d,{total:o.meshInsight.services.total,"data-testid":"services-status"},{title:e(()=>[t(l(n(a)("meshes.detail.services")),1)]),_:1},8,["total"]),t(),m(d,{online:o.meshInsight.dataplanesByType.standard.online,total:o.meshInsight.dataplanesByType.standard.total,"data-testid":"data-plane-proxies-status"},{title:e(()=>[t(l(n(a)("meshes.detail.data_plane_proxies")),1)]),_:1},8,["online","total"])])])]))]),_:1})]),_:1})}}});const E=V(N,[["__scopeId","data-v-5ee23800"]]);export{E as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/NavTabs-bb254677.js b/app/kuma-ui/pkg/resources/data/assets/NavTabs-3217ce74.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/NavTabs-bb254677.js rename to app/kuma-ui/pkg/resources/data/assets/NavTabs-3217ce74.js index f6e53163cea9..2eb1d1e5b4de 100644 --- a/app/kuma-ui/pkg/resources/data/assets/NavTabs-bb254677.js +++ b/app/kuma-ui/pkg/resources/data/assets/NavTabs-3217ce74.js @@ -1 +1 @@ -import{d as l,y as _,H as n,a as i,o as p,b as N,W as f,C as v,w as u,e as b,f as h,t as k,l as x,aj as y,_ as T}from"./index-6594470f.js";const C=l({__name:"NavTabs",props:{tabs:{type:Array,required:!0}},setup(c){const o=_(),a=c,d=n(()=>a.tabs.map(t=>({title:t.title,hash:"#"+t.routeName}))),m=n(()=>{const t=o.matched.map(e=>e.meta.module??"").filter(e=>e!=="");t.reverse();const s=a.tabs.find(e=>!!(e.routeName===o.name||t.includes(e.module)));return"#"+((s==null?void 0:s.routeName)??a.tabs[0].routeName)});return(t,s)=>{const r=i("RouterLink");return p(),N(x(y),{tabs:d.value,"model-value":m.value,"hide-panels":"",class:"nav-tabs","data-testid":"nav-tabs"},f({_:2},[v(a.tabs,e=>({name:`${e.routeName}-anchor`,fn:u(()=>[b(r,{"data-testid":`${e.routeName}-tab`,to:{name:e.routeName}},{default:u(()=>[h(k(e.title),1)]),_:2},1032,["data-testid","to"])])}))]),1032,["tabs","model-value"])}}});const R=T(C,[["__scopeId","data-v-90d45b39"]]);export{R as N}; +import{d as l,y as _,H as n,a as i,o as p,b as N,W as f,C as v,w as u,e as b,f as h,t as k,l as x,aj as y,_ as T}from"./index-78599b4f.js";const C=l({__name:"NavTabs",props:{tabs:{type:Array,required:!0}},setup(c){const o=_(),a=c,d=n(()=>a.tabs.map(t=>({title:t.title,hash:"#"+t.routeName}))),m=n(()=>{const t=o.matched.map(e=>e.meta.module??"").filter(e=>e!=="");t.reverse();const s=a.tabs.find(e=>!!(e.routeName===o.name||t.includes(e.module)));return"#"+((s==null?void 0:s.routeName)??a.tabs[0].routeName)});return(t,s)=>{const r=i("RouterLink");return p(),N(x(y),{tabs:d.value,"model-value":m.value,"hide-panels":"",class:"nav-tabs","data-testid":"nav-tabs"},f({_:2},[v(a.tabs,e=>({name:`${e.routeName}-anchor`,fn:u(()=>[b(r,{"data-testid":`${e.routeName}-tab`,to:{name:e.routeName}},{default:u(()=>[h(k(e.title),1)]),_:2},1032,["data-testid","to"])])}))]),1032,["tabs","model-value"])}}});const R=T(C,[["__scopeId","data-v-90d45b39"]]);export{R as N}; diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesCodeView-513a59ab.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesCodeView-340845ed.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesCodeView-513a59ab.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesCodeView-340845ed.js index cdacb23d0514..46d3e0c7aaa3 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesCodeView-513a59ab.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesCodeView-340845ed.js @@ -1,4 +1,4 @@ -import{L as y}from"./LoadingBox-a7773ef8.js";import{O as A,a as C,b as V}from"./OnboardingPage-a333b0d1.js";import{C as m}from"./CodeBlock-13aedd48.js";import{d as N,L as T,z as _,M as O,a as r,o as n,b as R,w as a,e as t,f as e,c,F as L,m as o,p as P,s as D,v as I,_ as B}from"./index-6594470f.js";import"./uniqueId-90cc9b93.js";const h=d=>(D("data-v-d7fb9949"),d=d(),I(),d),E=h(()=>o("p",{class:"mb-4 text-center"},` +import{L as y}from"./LoadingBox-5037d9a5.js";import{O as A,a as C,b as V}from"./OnboardingPage-c35acc77.js";import{C as m}from"./CodeBlock-9e7fa2ff.js";import{d as N,L as T,z as _,M as O,a as r,o as n,b as R,w as a,e as t,f as e,c,F as L,m as o,p as P,s as D,v as I,_ as B}from"./index-78599b4f.js";import"./uniqueId-90cc9b93.js";const h=d=>(D("data-v-d7fb9949"),d=d(),I(),d),E=h(()=>o("p",{class:"mb-4 text-center"},` The demo application includes two services: a Redis backend to store a counter value, and a frontend web UI to show and increment the counter. `,-1)),S=h(()=>o("p",null,"To run execute the following command:",-1)),G={key:1},M={class:"status-box mt-4"},q={key:0,class:"status--is-connected","data-testid":"dpps-connected"},F={key:1,class:"status--is-disconnected","data-testid":"dpps-disconnected"},H={key:0,class:"status-loading-box mt-4"},K=1e3,b="https://github.com/kumahq/kuma-counter-demo/",U="https://github.com/kumahq/kuma-counter-demo/blob/master/README.md",z="kubectl apply -f https://bit.ly/3Kh2Try",$=N({__name:"OnboardingAddNewServicesCodeView",setup(d){const g=T(),s=_(!1),l=_(null);u(),O(function(){p()});async function u(){try{const{total:i}=await g.getAllDataplanes();s.value=i>0}catch(i){console.error(i)}finally{s.value||(p(),l.value=window.setTimeout(()=>u(),K))}}function p(){l.value!==null&&window.clearTimeout(l.value)}return(i,j)=>{const v=r("RouteTitle"),f=r("AppView"),w=r("RouteView");return n(),R(w,{name:"onboarding-add-new-services"},{default:a(({can:k,t:x})=>[t(v,{title:x("onboarding.routes.add-services-code.title"),render:!1},null,8,["title"]),e(),t(f,null,{default:a(()=>[t(A,null,{header:a(()=>[t(C,null,{title:a(()=>[e(` Add services diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesView-516aef60.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesView-c7f897f5.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesView-516aef60.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesView-c7f897f5.js index fc57d91bc601..9763c3a30a22 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesView-516aef60.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingAddNewServicesView-c7f897f5.js @@ -1,4 +1,4 @@ -import{O as y,a as h,b as S}from"./OnboardingPage-a333b0d1.js";import{d as m,o as v,c as V,r as k,n as B,_ as u,a as r,b as C,w as t,e as s,f as a,m as e,s as A,v as N}from"./index-6594470f.js";const O=""+new URL("new-service-demo-bff0792e.svg",import.meta.url).href,R=""+new URL("new-service-manually-5bec5301.svg",import.meta.url).href,I=m({__name:"ServiceBox",props:{active:{type:Boolean,required:!1,default:!1}},emits:["clicked"],setup(o,{emit:c}){const i=o,d=c;return(l,n)=>(v(),V("div",{class:B(["box",{"box--active":i.active}]),"data-testid":"box",onClick:n[0]||(n[0]=p=>d("clicked"))},[k(l.$slots,"default",{},void 0,!0)],2))}});const _=u(I,[["__scopeId","data-v-506b07cb"]]),b=o=>(A("data-v-6d468986"),o=o(),N(),o),$={class:"service-mode-list"},T=b(()=>e("div",{class:"service-box-content"},[e("img",{src:O}),a(),e("p",{class:"service-mode-title"},` +import{O as y,a as h,b as S}from"./OnboardingPage-c35acc77.js";import{d as m,o as v,c as V,r as k,n as B,_ as u,a as r,b as C,w as t,e as s,f as a,m as e,s as A,v as N}from"./index-78599b4f.js";const O=""+new URL("new-service-demo-bff0792e.svg",import.meta.url).href,R=""+new URL("new-service-manually-5bec5301.svg",import.meta.url).href,I=m({__name:"ServiceBox",props:{active:{type:Boolean,required:!1,default:!1}},emits:["clicked"],setup(o,{emit:c}){const i=o,d=c;return(l,n)=>(v(),V("div",{class:B(["box",{"box--active":i.active}]),"data-testid":"box",onClick:n[0]||(n[0]=p=>d("clicked"))},[k(l.$slots,"default",{},void 0,!0)],2))}});const _=u(I,[["__scopeId","data-v-506b07cb"]]),b=o=>(A("data-v-6d468986"),o=o(),N(),o),$={class:"service-mode-list"},T=b(()=>e("div",{class:"service-box-content"},[e("img",{src:O}),a(),e("p",{class:"service-mode-title"},` Demo app `),a(),e("p",null,"Counter application")],-1)),z=b(()=>e("div",{class:"service-box-content"},[e("img",{src:R}),a(),e("p",{class:"service-mode-title"},` Manually diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingCompletedView-8956a5d0.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingCompletedView-1c8fcc0c.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingCompletedView-8956a5d0.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingCompletedView-1c8fcc0c.js index 36f071ea9f74..0ed2bd59f963 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingCompletedView-8956a5d0.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingCompletedView-1c8fcc0c.js @@ -1,3 +1,3 @@ -import{O as r,a as c,b as l}from"./OnboardingPage-a333b0d1.js";import{d as m,a as n,o as u,b as f,w as e,e as t,f as a,s as g,v as b,m as s,_ as w}from"./index-6594470f.js";const h=""+new URL("kuma_gui-ecebdf10.png",import.meta.url).href,v=o=>(g("data-v-b9ff6689"),o=o(),b(),o),V=v(()=>s("div",{class:"gui-preview-image"},[s("img",{src:h})],-1)),x=m({__name:"OnboardingCompletedView",setup(o){return(C,O)=>{const i=n("RouteTitle"),p=n("AppView"),_=n("RouteView");return u(),f(_,{name:"onboarding-completed-view"},{default:e(({t:d})=>[t(i,{title:d("onboarding.routes.completed.title"),render:!1},null,8,["title"]),a(),t(p,null,{default:e(()=>[t(r,null,{header:e(()=>[t(c,null,{title:e(()=>[a(` +import{O as r,a as c,b as l}from"./OnboardingPage-c35acc77.js";import{d as m,a as n,o as u,b as f,w as e,e as t,f as a,s as g,v as b,m as s,_ as w}from"./index-78599b4f.js";const h=""+new URL("kuma_gui-ecebdf10.png",import.meta.url).href,v=o=>(g("data-v-b9ff6689"),o=o(),b(),o),V=v(()=>s("div",{class:"gui-preview-image"},[s("img",{src:h})],-1)),x=m({__name:"OnboardingCompletedView",setup(o){return(C,O)=>{const i=n("RouteTitle"),p=n("AppView"),_=n("RouteView");return u(),f(_,{name:"onboarding-completed-view"},{default:e(({t:d})=>[t(i,{title:d("onboarding.routes.completed.title"),render:!1},null,8,["title"]),a(),t(p,null,{default:e(()=>[t(r,null,{header:e(()=>[t(c,null,{title:e(()=>[a(` Go to the dashboard `)]),_:1})]),content:e(()=>[V]),navigation:e(()=>[t(l,{"next-step":"home","next-step-title":"Complete","last-step":"","show-skip":!1})]),_:1})]),_:1})]),_:1})}}});const I=w(x,[["__scopeId","data-v-b9ff6689"]]);export{I as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingConfigurationTypesView-f9478305.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingConfigurationTypesView-84e28663.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingConfigurationTypesView-f9478305.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingConfigurationTypesView-84e28663.js index cf64b3c66708..709c651b4be1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingConfigurationTypesView-f9478305.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingConfigurationTypesView-84e28663.js @@ -1,4 +1,4 @@ -import{O as w,a as h,b as x}from"./OnboardingPage-a333b0d1.js";import{d as C,u as G,I as O,J as T,K,z as R,H as P,a as r,o as i,b as u,w as e,e as o,f as n,m as d,B as M,_ as k}from"./index-6594470f.js";const B={class:"graph-list mb-6"},N={class:"radio-button-group"},U=C({__name:"OnboardingConfigurationTypesView",setup(z){const p=G(),m=O(),_=T(),c={postgres:K(),memory:_,kubernetes:m},t=R(p("KUMA_STORE_TYPE")),g=P(()=>c[t.value]);return(E,a)=>{const v=r("RouteTitle"),l=r("KRadio"),b=r("AppView"),f=r("RouteView");return i(),u(f,{name:"onboarding-configuration-types-view"},{default:e(({can:V,t:y})=>[o(v,{title:y("onboarding.routes.configuration-types.title"),render:!1},null,8,["title"]),n(),o(b,null,{default:e(()=>[o(w,{"with-image":""},{header:e(()=>[o(h,null,{title:e(()=>[n(` +import{O as w,a as h,b as x}from"./OnboardingPage-c35acc77.js";import{d as C,u as G,I as O,J as T,K,z as R,H as P,a as r,o as i,b as u,w as e,e as o,f as n,m as d,B as M,_ as k}from"./index-78599b4f.js";const B={class:"graph-list mb-6"},N={class:"radio-button-group"},U=C({__name:"OnboardingConfigurationTypesView",setup(z){const p=G(),m=O(),_=T(),c={postgres:K(),memory:_,kubernetes:m},t=R(p("KUMA_STORE_TYPE")),g=P(()=>c[t.value]);return(E,a)=>{const v=r("RouteTitle"),l=r("KRadio"),b=r("AppView"),f=r("RouteView");return i(),u(f,{name:"onboarding-configuration-types-view"},{default:e(({can:V,t:y})=>[o(v,{title:y("onboarding.routes.configuration-types.title"),render:!1},null,8,["title"]),n(),o(b,null,{default:e(()=>[o(w,{"with-image":""},{header:e(()=>[o(h,null,{title:e(()=>[n(` Learn about configuration storage `)]),_:1})]),content:e(()=>[d("div",B,[(i(),u(M(g.value)))]),n(),d("div",N,[o(l,{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=s=>t.value=s),name:"deployment","selected-value":"kubernetes"},{default:e(()=>[n(` Kubernetes diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingCreateMeshView-793da65e.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingCreateMeshView-f8cb7e65.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingCreateMeshView-793da65e.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingCreateMeshView-f8cb7e65.js index 0ac9e99d5b5c..239d9c66d782 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingCreateMeshView-793da65e.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingCreateMeshView-f8cb7e65.js @@ -1,4 +1,4 @@ -import{O as b,a as h,b as v}from"./OnboardingPage-a333b0d1.js";import{d as g,z as f,a as o,o as w,b as y,w as e,e as t,f as a,m as s,t as x,s as V,v as A,_ as C}from"./index-6594470f.js";const r=n=>(V("data-v-707bb706"),n=n(),A(),n),O={class:"mb-4 text-center"},T=r(()=>s("i",null,"default",-1)),N=r(()=>s("p",{class:"mt-4 text-center"},` +import{O as b,a as h,b as v}from"./OnboardingPage-c35acc77.js";import{d as g,z as f,a as o,o as w,b as y,w as e,e as t,f as a,m as s,t as x,s as V,v as A,_ as C}from"./index-78599b4f.js";const r=n=>(V("data-v-707bb706"),n=n(),A(),n),O={class:"mb-4 text-center"},T=r(()=>s("i",null,"default",-1)),N=r(()=>s("p",{class:"mt-4 text-center"},` This mesh is empty. Next, you add services and their data plane proxies. `,-1)),S=g({__name:"OnboardingCreateMeshView",setup(n){const c=[{label:"Name",key:"name"},{label:"Services",key:"servicesAmount"},{label:"DPPs",key:"dppsAmount"}],l=f({total:1,data:[{name:"default",servicesAmount:0,dppsAmount:0}]});return(k,R)=>{const d=o("RouteTitle"),p=o("KTable"),_=o("AppView"),u=o("RouteView");return w(),y(u,{name:"onboarding-create-mesh-view"},{default:e(({can:m,t:i})=>[t(d,{title:i("onboarding.routes.create-mesh.title"),render:!1},null,8,["title"]),a(),t(_,null,{default:e(()=>[t(b,null,{header:e(()=>[t(h,null,{title:e(()=>[a(` Create the mesh diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingDataplanesView-4c1789da.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingDataplanesView-110c28b1.js similarity index 77% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingDataplanesView-4c1789da.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingDataplanesView-110c28b1.js index 9a2c6f6d2c30..036e573d6b78 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingDataplanesView-4c1789da.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingDataplanesView-110c28b1.js @@ -1 +1 @@ -import{L as x}from"./LoadingBox-a7773ef8.js";import{O as V,a as D,b as O}from"./OnboardingPage-a333b0d1.js";import{E as B}from"./ErrorBlock-eae09ed8.js";import{_ as S}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{S as C}from"./StatusBadge-0fda3dff.js";import{d as N,z as g,H as T,a as l,o,b as r,w as t,e as n,f as d,c,F as A,C as R,t as u,m as p,_ as $}from"./index-6594470f.js";import"./index-fce48c05.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const E={key:0,class:"status-loading-box mb-4"},F={key:1},K={class:"mb-4"},L=N({__name:"OnboardingDataplanesView",setup(P){const e=g(),_=g(0),m=T(()=>Array.isArray(e.value)?e.value.some(s=>s.status==="offline"):!0);function f(s){s&&(e.value=s.items,_.value++)}return(s,z)=>{const b=l("RouteTitle"),h=l("KTable"),w=l("DataSource"),y=l("AppView"),k=l("RouteView");return o(),r(k,{name:"onboarding-dataplanes-view"},{default:t(({t:i})=>[n(b,{title:i("onboarding.routes.dataplanes-overview.title"),render:!1},null,8,["title"]),d(),n(y,null,{default:t(()=>[n(w,{src:m.value?"/dataplanes/poll?page=1&size=10":"",onChange:f},{default:t(({error:v})=>[v!==void 0?(o(),r(B,{key:0,error:v},null,8,["error"])):e.value===void 0?(o(),r(S,{key:1})):(o(),r(V,{key:2},{header:t(()=>[(o(!0),c(A,null,R([m.value?"waiting":"success"],a=>(o(),r(D,{key:a,"data-testid":`state-${a}`},{title:t(()=>[d(u(i(`onboarding.routes.dataplanes-overview.header.${a}.title`)),1)]),description:t(()=>[p("p",null,u(i(`onboarding.routes.dataplanes-overview.header.${a}.description`)),1)]),_:2},1032,["data-testid"]))),128))]),content:t(()=>[e.value.length===0?(o(),c("div",E,[n(x)])):(o(),c("div",F,[p("p",K,[p("b",null,"Found "+u(e.value.length)+" DPPs:",1)]),d(),n(h,{class:"mb-4","data-testid":"dataplanes-table","fetcher-cache-key":String(_.value),fetcher:()=>{var a;return{data:e.value,total:(a=e.value)==null?void 0:a.length}},headers:[{label:"Mesh",key:"mesh"},{label:"Name",key:"name"},{label:"Status",key:"status"}],"disable-pagination":""},{status:t(({row:a})=>[n(C,{status:a.status},null,8,["status"])]),_:1},8,["fetcher-cache-key","fetcher"])]))]),navigation:t(()=>[n(O,{"next-step":"onboarding-completed-view","previous-step":"onboarding-add-new-services-code-view","should-allow-next":e.value.length>0},null,8,["should-allow-next"])]),_:2},1024))]),_:2},1032,["src"])]),_:2},1024)]),_:1})}}});const X=$(L,[["__scopeId","data-v-f140547b"]]);export{X as default}; +import{L as x}from"./LoadingBox-5037d9a5.js";import{O as V,a as D,b as O}from"./OnboardingPage-c35acc77.js";import{E as B}from"./ErrorBlock-c71bafad.js";import{_ as S}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{S as C}from"./StatusBadge-3f562081.js";import{d as N,z as g,H as T,a as l,o,b as r,w as t,e as n,f as d,c,F as A,C as R,t as u,m as p,_ as $}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const E={key:0,class:"status-loading-box mb-4"},F={key:1},K={class:"mb-4"},L=N({__name:"OnboardingDataplanesView",setup(P){const e=g(),_=g(0),m=T(()=>Array.isArray(e.value)?e.value.some(s=>s.status==="offline"):!0);function f(s){s&&(e.value=s.items,_.value++)}return(s,z)=>{const b=l("RouteTitle"),h=l("KTable"),w=l("DataSource"),y=l("AppView"),k=l("RouteView");return o(),r(k,{name:"onboarding-dataplanes-view"},{default:t(({t:i})=>[n(b,{title:i("onboarding.routes.dataplanes-overview.title"),render:!1},null,8,["title"]),d(),n(y,null,{default:t(()=>[n(w,{src:m.value?"/dataplanes/poll?page=1&size=10":"",onChange:f},{default:t(({error:v})=>[v!==void 0?(o(),r(B,{key:0,error:v},null,8,["error"])):e.value===void 0?(o(),r(S,{key:1})):(o(),r(V,{key:2},{header:t(()=>[(o(!0),c(A,null,R([m.value?"waiting":"success"],a=>(o(),r(D,{key:a,"data-testid":`state-${a}`},{title:t(()=>[d(u(i(`onboarding.routes.dataplanes-overview.header.${a}.title`)),1)]),description:t(()=>[p("p",null,u(i(`onboarding.routes.dataplanes-overview.header.${a}.description`)),1)]),_:2},1032,["data-testid"]))),128))]),content:t(()=>[e.value.length===0?(o(),c("div",E,[n(x)])):(o(),c("div",F,[p("p",K,[p("b",null,"Found "+u(e.value.length)+" DPPs:",1)]),d(),n(h,{class:"mb-4","data-testid":"dataplanes-table","fetcher-cache-key":String(_.value),fetcher:()=>{var a;return{data:e.value,total:(a=e.value)==null?void 0:a.length}},headers:[{label:"Mesh",key:"mesh"},{label:"Name",key:"name"},{label:"Status",key:"status"}],"disable-pagination":""},{status:t(({row:a})=>[n(C,{status:a.status},null,8,["status"])]),_:1},8,["fetcher-cache-key","fetcher"])]))]),navigation:t(()=>[n(O,{"next-step":"onboarding-completed-view","previous-step":"onboarding-add-new-services-code-view","should-allow-next":e.value.length>0},null,8,["should-allow-next"])]),_:2},1024))]),_:2},1032,["src"])]),_:2},1024)]),_:1})}}});const X=$(L,[["__scopeId","data-v-f140547b"]]);export{X as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingDeploymentTypesView-855085cd.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingDeploymentTypesView-bd9b9179.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingDeploymentTypesView-855085cd.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingDeploymentTypesView-bd9b9179.js index d795c399b2df..1a89bffef73e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingDeploymentTypesView-855085cd.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingDeploymentTypesView-bd9b9179.js @@ -1,4 +1,4 @@ -import{O as f,a as V,b as w}from"./OnboardingPage-a333b0d1.js";import{d as z,E as h,G as x,q as G,z as O,H as C,a as s,o as u,b as r,w as e,e as n,f as o,m as d,t as R,B as T,_ as D}from"./index-6594470f.js";const S={class:"graph-list mb-6"},B={class:"radio-button-group"},M=z({__name:"OnboardingDeploymentTypesView",setup(N){const m=h(),c={standalone:x(),"multi-zone":m},_=G(),t=O(_("use zones")?"multi-zone":"standalone"),b=C(()=>c[t.value]);return(A,a)=>{const g=s("RouteTitle"),i=s("KRadio"),v=s("AppView"),y=s("RouteView");return u(),r(y,{name:"onboarding-deployment-types-view"},{default:e(({t:p})=>[n(g,{title:p("onboarding.routes.deployment-types.title"),render:!1},null,8,["title"]),o(),n(v,null,{default:e(()=>[n(f,{"with-image":""},{header:e(()=>[n(V,null,{title:e(()=>[o(` +import{O as f,a as V,b as w}from"./OnboardingPage-c35acc77.js";import{d as z,E as h,G as x,q as G,z as O,H as C,a as s,o as u,b as r,w as e,e as n,f as o,m as d,t as R,B as T,_ as D}from"./index-78599b4f.js";const S={class:"graph-list mb-6"},B={class:"radio-button-group"},M=z({__name:"OnboardingDeploymentTypesView",setup(N){const m=h(),c={standalone:x(),"multi-zone":m},_=G(),t=O(_("use zones")?"multi-zone":"standalone"),b=C(()=>c[t.value]);return(A,a)=>{const g=s("RouteTitle"),i=s("KRadio"),v=s("AppView"),y=s("RouteView");return u(),r(y,{name:"onboarding-deployment-types-view"},{default:e(({t:p})=>[n(g,{title:p("onboarding.routes.deployment-types.title"),render:!1},null,8,["title"]),o(),n(v,null,{default:e(()=>[n(f,{"with-image":""},{header:e(()=>[n(V,null,{title:e(()=>[o(` Learn about deployments `)]),description:e(()=>[d("p",null,R(p("common.product.name"))+" can be deployed in standalone or multi-zone mode.",1)]),_:2},1024)]),content:e(()=>[d("div",S,[(u(),r(T(b.value)))]),o(),d("div",B,[n(i,{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=l=>t.value=l),name:"mode","selected-value":"standalone","data-testid":"onboarding-standalone-radio-button"},{default:e(()=>[o(` Standalone deployment diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingMultiZoneView-ba69942e.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingMultiZoneView-d3ba1b7b.js similarity index 93% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingMultiZoneView-ba69942e.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingMultiZoneView-d3ba1b7b.js index 55c3c3d9b605..8b826a22006f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingMultiZoneView-ba69942e.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingMultiZoneView-d3ba1b7b.js @@ -1,4 +1,4 @@ -import{L as Z}from"./LoadingBox-a7773ef8.js";import{O,a as T,b as V}from"./OnboardingPage-a333b0d1.js";import{d as I,L as k,z as r,M as A,a as p,o as a,b as N,w as i,e as c,f as e,m as t,c as l,p as L,s as C,v as B,_ as R}from"./index-6594470f.js";const M=u=>(C("data-v-6c023d87"),u=u(),B(),u),S=M(()=>t("p",{class:"mb-4 text-center"},` +import{L as Z}from"./LoadingBox-5037d9a5.js";import{O,a as T,b as V}from"./OnboardingPage-c35acc77.js";import{d as I,L as k,z as r,M as A,a as p,o as a,b as N,w as i,e as c,f as e,m as t,c as l,p as L,s as C,v as B,_ as R}from"./index-78599b4f.js";const M=u=>(C("data-v-6c023d87"),u=u(),B(),u),S=M(()=>t("p",{class:"mb-4 text-center"},` A zone requires both the zone control plane and zone ingress. On Kubernetes, you run a single command to create both resources. On Universal, you must create them separately. `,-1)),D={class:"mb-4 text-center"},E=["href"],G={class:"status-box mt-4"},K={key:0,class:"status--is-connected","data-testid":"zone-connected"},P={key:1,class:"status--is-disconnected","data-testid":"zone-disconnected"},U={class:"status-box mt-4"},q={key:0,class:"status--is-connected","data-testid":"zone-ingress-connected"},H={key:1,class:"status--is-disconnected","data-testid":"zone-ingress-disconnected"},j={key:0,class:"status-loading-box mt-4"},b=1e3,F=I({__name:"OnboardingMultiZoneView",setup(u){const m=k(),o=r(!1),s=r(!1),d=r(null),_=r(null);A(function(){f(),h()}),v(),g();async function v(){try{const{total:n}=await m.getZones();o.value=n>0}catch(n){o.value=!1,console.error(n)}finally{o.value||(f(),d.value=window.setTimeout(v,b))}}async function g(){try{const{total:n}=await m.getAllZoneIngressOverviews();s.value=n>0}catch(n){s.value=!1,console.error(n)}finally{s.value||(h(),_.value=window.setTimeout(g,b))}}function f(){d.value!==null&&window.clearTimeout(d.value)}function h(){_.value!==null&&window.clearTimeout(_.value)}return(n,J)=>{const y=p("RouteTitle"),x=p("AppView"),z=p("RouteView");return a(),N(z,{name:"onboarding-multi-zone-view"},{default:i(({t:w})=>[c(y,{title:w("onboarding.routes.multizone.title"),render:!1},null,8,["title"]),e(),c(x,null,{default:i(()=>[c(O,null,{header:i(()=>[c(T,null,{title:i(()=>[e(` Add zones diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-a333b0d1.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-c35acc77.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingPage-a333b0d1.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingPage-c35acc77.js index 22d081fc418b..9c31adc9580f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-a333b0d1.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-c35acc77.js @@ -1,4 +1,4 @@ -import{d as p,N as b,o as s,c as r,m as o,r as i,f as t,l as d,p as l,_ as u,b as v,w as _,P as c,e as f,t as h,n as m,s as S,v as y}from"./index-6594470f.js";const x={class:"onboarding-heading"},k={class:"onboarding-title","data-testid":"onboarding-header"},$={key:0,class:"onboarding-description"},N=p({__name:"OnboardingHeading",setup(a){const e=b();return(n,g)=>(s(),r("div",x,[o("h1",k,[i(n.$slots,"title",{},void 0,!0)]),t(),d(e).description?(s(),r("div",$,[i(n.$slots,"description",{},void 0,!0)])):l("",!0)]))}});const z=u(N,[["__scopeId","data-v-505a1a6e"]]),w={class:"onboarding-actions"},O={class:"button-list"},B=p({__name:"OnboardingNavigation",props:{shouldAllowNext:{type:Boolean,required:!1,default:!0},showSkip:{type:Boolean,required:!1,default:!0},nextStep:{type:String,required:!0},previousStep:{type:String,required:!1,default:""},nextStepTitle:{type:String,required:!1,default:"Next"},lastStep:{type:Boolean,required:!1,default:!1}},setup(a){const e=a;return(n,g)=>(s(),r("div",w,[e.previousStep?(s(),v(d(c),{key:0,appearance:"secondary",to:{name:e.previousStep},"data-testid":"onboarding-previous-button"},{default:_(()=>[t(` +import{d as p,N as b,o as s,c as r,m as o,r as i,f as t,l as d,p as l,_ as u,b as v,w as _,P as c,e as f,t as h,n as m,s as S,v as y}from"./index-78599b4f.js";const x={class:"onboarding-heading"},k={class:"onboarding-title","data-testid":"onboarding-header"},$={key:0,class:"onboarding-description"},N=p({__name:"OnboardingHeading",setup(a){const e=b();return(n,g)=>(s(),r("div",x,[o("h1",k,[i(n.$slots,"title",{},void 0,!0)]),t(),d(e).description?(s(),r("div",$,[i(n.$slots,"description",{},void 0,!0)])):l("",!0)]))}});const z=u(N,[["__scopeId","data-v-505a1a6e"]]),w={class:"onboarding-actions"},O={class:"button-list"},B=p({__name:"OnboardingNavigation",props:{shouldAllowNext:{type:Boolean,required:!1,default:!0},showSkip:{type:Boolean,required:!1,default:!0},nextStep:{type:String,required:!0},previousStep:{type:String,required:!1,default:""},nextStepTitle:{type:String,required:!1,default:"Next"},lastStep:{type:Boolean,required:!1,default:!1}},setup(a){const e=a;return(n,g)=>(s(),r("div",w,[e.previousStep?(s(),v(d(c),{key:0,appearance:"secondary",to:{name:e.previousStep},"data-testid":"onboarding-previous-button"},{default:_(()=>[t(` Back `)]),_:1},8,["to"])):l("",!0),t(),o("div",O,[e.showSkip?(s(),v(d(c),{key:0,appearance:"tertiary","data-testid":"onboarding-skip-button",to:{name:"home"}},{default:_(()=>[t(` Skip setup diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingRootView-82315947.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingRootView-a34f25f4.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingRootView-82315947.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingRootView-a34f25f4.js index 2e8f76cdeba5..67ec42b8beb6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingRootView-82315947.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingRootView-a34f25f4.js @@ -1 +1 @@ -import{d as _,y as w,z as f,a as e,o,b as n,w as t,e as u,l as V,B as i}from"./index-6594470f.js";const b=_({__name:"OnboardingRootView",setup(v){const l=w(),a=f("demo");return(R,s)=>{const c=e("RouterView"),d=e("AppView"),m=e("RouteView");return o(),n(m,{name:"onboarding",attrs:{class:"no-navigation"}},{default:t(()=>[u(d,null,{default:t(()=>[u(c,null,{default:t(({Component:r})=>[V(l).name==="onboarding-add-new-services-view"?(o(),n(i(r),{key:0,mode:a.value,onChange:s[0]||(s[0]=p=>{a.value=p})},null,40,["mode"])):(o(),n(i(r),{key:1}))]),_:1})]),_:1})]),_:1})}}});export{b as default}; +import{d as _,y as w,z as f,a as e,o,b as n,w as t,e as u,l as V,B as i}from"./index-78599b4f.js";const b=_({__name:"OnboardingRootView",setup(v){const l=w(),a=f("demo");return(R,s)=>{const c=e("RouterView"),d=e("AppView"),m=e("RouteView");return o(),n(m,{name:"onboarding",attrs:{class:"no-navigation"}},{default:t(()=>[u(d,null,{default:t(()=>[u(c,null,{default:t(({Component:r})=>[V(l).name==="onboarding-add-new-services-view"?(o(),n(i(r),{key:0,mode:a.value,onChange:s[0]||(s[0]=p=>{a.value=p})},null,40,["mode"])):(o(),n(i(r),{key:1}))]),_:1})]),_:1})]),_:1})}}});export{b as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingWelcomeView-e9acfcfa.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingWelcomeView-21d19a7f.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingWelcomeView-e9acfcfa.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingWelcomeView-21d19a7f.js index a54ceb6b7423..195e576ecf41 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingWelcomeView-e9acfcfa.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingWelcomeView-21d19a7f.js @@ -1,4 +1,4 @@ -import{K as v}from"./index-fce48c05.js";import{d as b,a as c,o as r,b as d,w as n,e as a,f as e,m as t,t as l,c as m,F as y,C as V,l as u,D as N,p as O,s as x,v as C,_ as I}from"./index-6594470f.js";import{O as k,a as R,b as A}from"./OnboardingPage-a333b0d1.js";const _=s=>(x("data-v-6d3e602f"),s=s(),C(),s),S=_(()=>t("strong",null,"few minutes",-1)),W={"data-testid":"kuma-environment"},z=_(()=>t("h2",{class:"text-center"},` +import{K as v}from"./index-fce48c05.js";import{d as b,a as c,o as r,b as d,w as n,e as a,f as e,m as t,t as l,c as m,F as y,C as V,l as u,D as N,p as O,s as x,v as C,_ as I}from"./index-78599b4f.js";import{O as k,a as R,b as A}from"./OnboardingPage-c35acc77.js";const _=s=>(x("data-v-6d3e602f"),s=s(),C(),s),S=_(()=>t("strong",null,"few minutes",-1)),W={"data-testid":"kuma-environment"},z=_(()=>t("h2",{class:"text-center"},` Let’s get started: `,-1)),B={class:"item-status-list-wrapper"},E={class:"item-status-list"},L={class:"circle mr-2"},T=b({__name:"OnboardingWelcomeView",setup(s){return(K,D)=>{const p=c("RouteTitle"),g=c("AppView"),f=c("RouteView");return r(),d(f,{name:"onboarding-welcome-view"},{default:n(({env:h,t:o,can:w})=>[a(p,{title:o("onboarding.routes.welcome.title",{name:o("common.product.name")}),render:!1},null,8,["title"]),e(),a(g,null,{default:n(()=>[t("div",null,[a(k,null,{header:n(()=>[a(R,null,{title:n(()=>[e(` Welcome to `+l(o("common.product.name")),1)]),description:n(()=>[t("p",null,[e(` diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-688dafd3.js b/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-ebd8a6b3.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-688dafd3.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-ebd8a6b3.js index 904217ca64b7..c6c1f94be77b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-688dafd3.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-ebd8a6b3.js @@ -1 +1 @@ -import{_ as E}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-5c4d11ef.js";import{_ as V}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import{E as f}from"./ErrorBlock-eae09ed8.js";import{_ as g}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{T as P}from"./TextWithCopyButton-e98ec405.js";import{d as F,a as p,o as t,b as r,w as s,e as i,m as _,f as l,c as d,t as x,F as B,C as S,p as L}from"./index-6594470f.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const T={key:2,class:"stack","data-testid":"detail-view-details"},I={class:"mt-4"},K={key:3,"data-testid":"affected-data-plane-proxies"},Y=F({__name:"PolicyDetailView",setup(M){return(N,q)=>{const C=p("RouteTitle"),k=p("KInput"),w=p("RouterLink"),h=p("DataSource"),v=p("KCard"),$=p("AppView"),R=p("RouteView");return t(),r(R,{name:"policy-detail-view",params:{mesh:"",policy:"",policyPath:"",codeSearch:"",codeFilter:!1,codeRegExp:!1,dataplane:""}},{default:s(({route:e,t:n})=>[i($,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:e.params.mesh}},text:e.params.mesh},{to:{name:"policy-list-view",params:{mesh:e.params.mesh,policyPath:e.params.policyPath}},text:n("policies.routes.item.breadcrumbs")}]},{title:s(()=>[_("h1",null,[i(P,{text:e.params.policy},{default:s(()=>[i(C,{title:n("policies.routes.item.title",{name:e.params.policy})},null,8,["title"])]),_:2},1032,["text"])])]),default:s(()=>[l(),i(h,{src:`/meshes/${e.params.mesh}/policy-path/${e.params.policyPath}/policy/${e.params.policy}`},{default:s(({data:u,error:y})=>[y?(t(),r(f,{key:0,error:y},null,8,["error"])):u===void 0?(t(),r(g,{key:1})):(t(),d("div",T,[i(v,null,{default:s(()=>[_("h2",null,x(n("policies.detail.affected_dpps")),1),l(),_("div",I,[i(k,{id:"dataplane-search","model-value":e.params.dataplane,type:"text",placeholder:n("policies.detail.dataplane_input_placeholder"),required:"","data-testid":"dataplane-search-input",onInput:a=>e.update({dataplane:a})},null,8,["model-value","placeholder","onInput"]),l(),i(h,{src:`/meshes/${e.params.mesh}/policy-path/${e.params.policyPath}/policy/${e.params.policy}/dataplanes`},{default:s(({data:a,error:m})=>[m?(t(),r(f,{key:0,error:m},null,8,["error"])):a===void 0?(t(),r(g,{key:1})):a.items.length===0?(t(),r(V,{key:2})):(t(),d("ul",K,[(t(!0),d(B,null,S(a.items.filter(o=>o.name.toLowerCase().includes(e.params.dataplane.toLowerCase())),(o,c)=>(t(),d("li",{key:c,"data-testid":"dataplane-name"},[i(w,{to:{name:"data-plane-detail-view",params:{mesh:o.mesh,dataPlane:o.name}}},{default:s(()=>[l(x(o.name),1)]),_:2},1032,["to"])]))),128))]))]),_:2},1032,["src"])])]),_:2},1024),l(),i(E,{resource:u.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},{default:s(({copy:a,copying:m})=>[m?(t(),r(h,{key:0,src:`/meshes/${e.params.mesh}/policy-path/${e.params.policyPath}/policy/${e.params.policy}/as/kubernetes?no-store`,onChange:o=>{a(c=>c(o))},onError:o=>{a((c,b)=>b(o))}},null,8,["src","onChange","onError"])):L("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{Y as default}; +import{_ as E}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js";import{_ as V}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import{E as f}from"./ErrorBlock-c71bafad.js";import{_ as g}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{T as P}from"./TextWithCopyButton-c32acac7.js";import{d as F,a as p,o as t,b as r,w as s,e as i,m as _,f as l,c as d,t as x,F as B,C as S,p as L}from"./index-78599b4f.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const T={key:2,class:"stack","data-testid":"detail-view-details"},I={class:"mt-4"},K={key:3,"data-testid":"affected-data-plane-proxies"},Y=F({__name:"PolicyDetailView",setup(M){return(N,q)=>{const C=p("RouteTitle"),k=p("KInput"),w=p("RouterLink"),h=p("DataSource"),v=p("KCard"),$=p("AppView"),R=p("RouteView");return t(),r(R,{name:"policy-detail-view",params:{mesh:"",policy:"",policyPath:"",codeSearch:"",codeFilter:!1,codeRegExp:!1,dataplane:""}},{default:s(({route:e,t:n})=>[i($,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:e.params.mesh}},text:e.params.mesh},{to:{name:"policy-list-view",params:{mesh:e.params.mesh,policyPath:e.params.policyPath}},text:n("policies.routes.item.breadcrumbs")}]},{title:s(()=>[_("h1",null,[i(P,{text:e.params.policy},{default:s(()=>[i(C,{title:n("policies.routes.item.title",{name:e.params.policy})},null,8,["title"])]),_:2},1032,["text"])])]),default:s(()=>[l(),i(h,{src:`/meshes/${e.params.mesh}/policy-path/${e.params.policyPath}/policy/${e.params.policy}`},{default:s(({data:u,error:y})=>[y?(t(),r(f,{key:0,error:y},null,8,["error"])):u===void 0?(t(),r(g,{key:1})):(t(),d("div",T,[i(v,null,{default:s(()=>[_("h2",null,x(n("policies.detail.affected_dpps")),1),l(),_("div",I,[i(k,{id:"dataplane-search","model-value":e.params.dataplane,type:"text",placeholder:n("policies.detail.dataplane_input_placeholder"),required:"","data-testid":"dataplane-search-input",onInput:a=>e.update({dataplane:a})},null,8,["model-value","placeholder","onInput"]),l(),i(h,{src:`/meshes/${e.params.mesh}/policy-path/${e.params.policyPath}/policy/${e.params.policy}/dataplanes`},{default:s(({data:a,error:m})=>[m?(t(),r(f,{key:0,error:m},null,8,["error"])):a===void 0?(t(),r(g,{key:1})):a.items.length===0?(t(),r(V,{key:2})):(t(),d("ul",K,[(t(!0),d(B,null,S(a.items.filter(o=>o.name.toLowerCase().includes(e.params.dataplane.toLowerCase())),(o,c)=>(t(),d("li",{key:c,"data-testid":"dataplane-name"},[i(w,{to:{name:"data-plane-detail-view",params:{mesh:o.mesh,dataPlane:o.name}}},{default:s(()=>[l(x(o.name),1)]),_:2},1032,["to"])]))),128))]))]),_:2},1032,["src"])])]),_:2},1024),l(),i(E,{resource:u.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:a=>e.update({codeSearch:a}),onFilterModeChange:a=>e.update({codeFilter:a}),onRegExpModeChange:a=>e.update({codeRegExp:a})},{default:s(({copy:a,copying:m})=>[m?(t(),r(h,{key:0,src:`/meshes/${e.params.mesh}/policy-path/${e.params.policyPath}/policy/${e.params.policy}/as/kubernetes?no-store`,onChange:o=>{a(c=>c(o))},onError:o=>{a((c,b)=>b(o))}},null,8,["src","onChange","onError"])):L("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{Y as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-42e8014c.css b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-42e8014c.css new file mode 100644 index 000000000000..bc6f007bcb6b --- /dev/null +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-42e8014c.css @@ -0,0 +1 @@ +.policy-list-content[data-v-efdb2ab3]{display:flex;gap:24px}.policy-type-list[data-v-efdb2ab3]{align-self:flex-start;max-width:500px}.policy-type-link-wrapper[data-v-efdb2ab3]{display:flex;justify-content:space-between;align-items:center;gap:16px}.policy-type-link-wrapper--is-active[data-v-efdb2ab3]{background-color:#eefaff}.policy-type-link-wrapper[data-v-efdb2ab3]:not(.policy-type-link-wrapper--is-active){color:#6c7489}.policy-type-link[data-v-efdb2ab3]{color:currentColor;flex-grow:1;padding:8px 16px}.policy-count[data-v-efdb2ab3]{text-align:right;padding-right:16px}.policy-list[data-v-efdb2ab3]{flex-grow:1}.description[data-v-efdb2ab3]{display:flex;gap:16px}.description-content[data-v-efdb2ab3]{flex-grow:1}.description-actions[data-v-efdb2ab3]{display:flex;align-items:flex-start;gap:8px}.details-link[data-v-efdb2ab3]{display:inline-flex;align-items:center;gap:4px} diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-6c6be17a.css b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-6c6be17a.css deleted file mode 100644 index 930ff0595cf2..000000000000 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-6c6be17a.css +++ /dev/null @@ -1 +0,0 @@ -.policy-list-content[data-v-ab3a6e25]{display:flex;gap:24px}.policy-type-list[data-v-ab3a6e25]{align-self:flex-start;max-width:500px}.policy-type-link-wrapper[data-v-ab3a6e25]{display:flex;justify-content:space-between;align-items:center;gap:16px}.policy-type-link-wrapper--is-active[data-v-ab3a6e25]{background-color:#eefaff}.policy-type-link-wrapper[data-v-ab3a6e25]:not(.policy-type-link-wrapper--is-active){color:#6c7489}.policy-type-link[data-v-ab3a6e25]{color:currentColor;flex-grow:1;padding:8px 16px}.policy-count[data-v-ab3a6e25]{text-align:right;padding-right:16px}.policy-list[data-v-ab3a6e25]{flex-grow:1}.description[data-v-ab3a6e25]{display:flex;gap:16px}.description-content[data-v-ab3a6e25]{flex-grow:1}.description-actions[data-v-ab3a6e25]{display:flex;align-items:flex-start;gap:8px}.details-link[data-v-ab3a6e25]{display:inline-flex;align-items:center;gap:4px} diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-6354f454.js b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-c7da73bc.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/PolicyListView-6354f454.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyListView-c7da73bc.js index a3e57fb30b1a..da009f9708fc 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-6354f454.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-c7da73bc.js @@ -1 +1 @@ -import{K as x}from"./index-fce48c05.js";import{d as V,k as L,y as I,H as N,a as g,o as s,c as b,e as m,w as a,F as w,C as E,n as K,l,f as o,t as p,m as u,b as n,p as v,T as A,_ as F,B as M}from"./index-6594470f.js";import{D as q,A as D}from"./AppCollection-39f5da3b.js";import{E as $}from"./ErrorBlock-eae09ed8.js";import{P as G}from"./PolicyTypeTag-e607f2fa.js";import{_ as O}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import{_ as Z}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{S as H}from"./SummaryView-4df08b91.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const U={class:"policy-list-content"},j={class:"policy-count"},J={class:"policy-list"},Q={class:"stack"},W={class:"description"},X={class:"description-content"},Y={class:"description-actions"},ee={class:"visually-hidden"},te={key:0},ae=V({__name:"PolicyList",props:{pageNumber:{},pageSize:{},policyTypes:{},currentPolicyType:{},policyCollection:{},policyError:{},meshInsight:{},isSelectedRow:{type:[Function,null],default:null}},emits:["change"],setup(B,{emit:S}){const{t:c}=L(),T=I(),e=B,P=S,C=N(()=>{const z=e.policyTypes.filter(y=>!y.isTargetRefBased||y.name!=="MeshGateway").some(y=>{var t,h,r;return(((r=(h=(t=e.meshInsight)==null?void 0:t.policies)==null?void 0:h[y.name])==null?void 0:r.total)??0)>0});return e.policyTypes.filter(y=>y.isTargetRefBased||y.name==="MeshGateway"?!0:z)});return(z,y)=>{const t=g("RouterLink"),h=g("KCard"),r=g("KBadge");return s(),b("div",U,[m(h,{class:"policy-type-list","data-testid":"policy-type-list"},{default:a(()=>[(s(!0),b(w,null,E(C.value,(d,_)=>{var i,k,f;return s(),b("div",{key:_,class:K(["policy-type-link-wrapper",{"policy-type-link-wrapper--is-active":d.path===e.currentPolicyType.path}])},[m(t,{class:"policy-type-link",to:{name:"policy-list-view",params:{mesh:l(T).params.mesh,policyPath:d.path}},"data-testid":`policy-type-link-${d.name}`},{default:a(()=>[o(p(d.name),1)]),_:2},1032,["to","data-testid"]),o(),u("div",j,p(((f=(k=(i=e.meshInsight)==null?void 0:i.policies)==null?void 0:k[d.name])==null?void 0:f.total)??0),1)],2)}),128))]),_:1}),o(),u("div",J,[u("div",Q,[m(h,null,{default:a(()=>[u("div",W,[u("div",X,[u("h3",null,[m(G,{"policy-type":e.currentPolicyType.name},{default:a(()=>[o(p(l(c)("policies.collection.title",{name:e.currentPolicyType.name})),1)]),_:1},8,["policy-type"])]),o(),u("p",null,p(l(c)(`policies.type.${e.currentPolicyType.name}.description`,void 0,{defaultMessage:l(c)("policies.collection.description")})),1)]),o(),u("div",Y,[e.currentPolicyType.isExperimental?(s(),n(r,{key:0,appearance:"warning"},{default:a(()=>[o(p(l(c)("policies.collection.beta")),1)]),_:1})):v("",!0),o(),e.currentPolicyType.isInbound?(s(),n(r,{key:1,appearance:"neutral"},{default:a(()=>[o(p(l(c)("policies.collection.inbound")),1)]),_:1})):v("",!0),o(),e.currentPolicyType.isOutbound?(s(),n(r,{key:2,appearance:"neutral"},{default:a(()=>[o(p(l(c)("policies.collection.outbound")),1)]),_:1})):v("",!0),o(),m(q,{href:l(c)("policies.href.docs",{name:e.currentPolicyType.name}),"data-testid":"policy-documentation-link"},{default:a(()=>[u("span",ee,p(l(c)("common.documentation")),1)]),_:1},8,["href"])])])]),_:1}),o(),m(h,null,{default:a(()=>{var d,_;return[e.policyError!==void 0?(s(),n($,{key:0,error:e.policyError},null,8,["error"])):(s(),n(D,{key:1,class:"policy-collection","data-testid":"policy-collection","empty-state-message":l(c)("common.emptyState.message",{type:`${e.currentPolicyType.name} policies`}),"empty-state-cta-to":l(c)("policies.href.docs",{name:e.currentPolicyType.name}),"empty-state-cta-text":l(c)("common.documentation"),headers:[{label:"Name",key:"name"},...e.currentPolicyType.isTargetRefBased?[{label:"Zone",key:"zone"}]:[],...e.currentPolicyType.isTargetRefBased?[{label:"Target ref",key:"targetRef"}]:[],{label:"Details",key:"details",hideLabel:!0}],"page-number":e.pageNumber,"page-size":e.pageSize,total:(d=e.policyCollection)==null?void 0:d.total,items:(_=e.policyCollection)==null?void 0:_.items,error:e.policyError,"is-selected-row":e.isSelectedRow,onChange:y[0]||(y[0]=i=>P("change",i))},{name:a(({row:i})=>[m(t,{to:{name:"policy-summary-view",params:{mesh:i.mesh,policyPath:e.currentPolicyType.path,policy:i.name},query:{page:e.pageNumber,size:e.pageSize}}},{default:a(()=>[o(p(i.name),1)]),_:2},1032,["to"])]),targetRef:a(({row:i})=>{var k;return[e.currentPolicyType.isTargetRefBased&&typeof((k=i.spec)==null?void 0:k.targetRef)<"u"?(s(),n(r,{key:0,appearance:"neutral"},{default:a(()=>[o(p(i.spec.targetRef.kind),1),i.spec.targetRef.name?(s(),b("span",te,[o(":"),u("b",null,p(i.spec.targetRef.name),1)])):v("",!0)]),_:2},1024)):(s(),b(w,{key:1},[o(p(l(c)("common.detail.none")),1)],64))]}),zone:a(({row:i})=>[i.labels&&i.labels["kuma.io/origin"]==="zone"&&i.labels["kuma.io/zone"]?(s(),n(t,{key:0,to:{name:"zone-cp-detail-view",params:{zone:i.labels["kuma.io/zone"]}}},{default:a(()=>[o(p(i.labels["kuma.io/zone"]),1)]),_:2},1032,["to"])):(s(),b(w,{key:1},[o(p(l(c)("common.detail.none")),1)],64))]),details:a(({row:i})=>[m(t,{class:"details-link","data-testid":"details-link",to:{name:"policy-detail-view",params:{mesh:i.mesh,policyPath:e.currentPolicyType.path,policy:i.name}}},{default:a(()=>[o(p(l(c)("common.collection.details_link"))+" ",1),m(l(A),{display:"inline-block",decorative:"",size:l(x)},null,8,["size"])]),_:2},1032,["to"])]),_:1},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error","is-selected-row"]))]}),_:1})])])])}}});const ie=F(ae,[["__scopeId","data-v-ab3a6e25"]]),_e=V({__name:"PolicyListView",setup(B){return(S,c)=>{const T=g("RouteTitle"),e=g("RouterView"),P=g("DataSource"),C=g("AppView"),z=g("RouteView");return s(),n(P,{src:"/me"},{default:a(({data:y})=>[y?(s(),n(z,{key:0,name:"policy-list-view",params:{page:1,size:y.pageSize,mesh:"",policyPath:"",policy:""}},{default:a(({route:t,t:h})=>[m(C,null,{title:a(()=>[u("h2",null,[m(T,{title:h("policies.routes.items.title")},null,8,["title"])])]),default:a(()=>[o(),m(P,{src:"/*/policy-types"},{default:a(({data:r,error:d})=>[d?(s(),n($,{key:0,error:d},null,8,["error"])):r===void 0?(s(),n(Z,{key:1})):r.policies.length===0?(s(),n(O,{key:2})):(s(),n(P,{key:3,src:`/meshes/${t.params.mesh}/policy-path/${t.params.policyPath}?page=${t.params.page}&size=${t.params.size}`},{default:a(({data:_,error:i})=>[m(P,{src:`/mesh-insights/${t.params.mesh}`},{default:a(({data:k})=>[(s(),n(ie,{key:t.params.policyPath,"page-number":t.params.page,"page-size":t.params.size,"current-policy-type":r.policies.find(f=>f.path===t.params.policyPath)??r.policies[0],"policy-types":r.policies,"mesh-insight":k,"policy-collection":_,"policy-error":i,"is-selected-row":f=>f.name===t.params.policy,onChange:t.update},null,8,["page-number","page-size","current-policy-type","policy-types","mesh-insight","policy-collection","policy-error","is-selected-row","onChange"])),o(),t.params.policy?(s(),n(e,{key:0},{default:a(f=>[m(H,{onClose:R=>t.replace({name:"policy-list-view",params:{mesh:t.params.mesh,policyPath:t.params.policyPath},query:{page:t.params.page,size:t.params.size}})},{default:a(()=>[(s(),n(M(f.Component),{policy:_==null?void 0:_.items.find(R=>R.name===t.params.policy),"policy-type":r.policies.find(R=>R.path===t.params.policyPath)},null,8,["policy","policy-type"]))]),_:2},1032,["onClose"])]),_:2},1024)):v("",!0)]),_:2},1032,["src"])]),_:2},1032,["src"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["params"])):v("",!0)]),_:1})}}});export{_e as default}; +import{K as x}from"./index-fce48c05.js";import{d as V,k as L,y as I,H as N,a as g,o as s,c as b,e as m,w as a,F as w,C as E,n as K,l,f as o,t as p,m as u,b as n,p as v,T as A,_ as F,B as M}from"./index-78599b4f.js";import{D as q,A as D}from"./AppCollection-fab1a627.js";import{E as $}from"./ErrorBlock-c71bafad.js";import{P as G}from"./PolicyTypeTag-ba976135.js";import{_ as O}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import{_ as Z}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{S as H}from"./SummaryView-87032df3.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const U={class:"policy-list-content"},j={class:"policy-count"},J={class:"policy-list"},Q={class:"stack"},W={class:"description"},X={class:"description-content"},Y={class:"description-actions"},ee={class:"visually-hidden"},te={key:0},ae=V({__name:"PolicyList",props:{pageNumber:{},pageSize:{},policyTypes:{},currentPolicyType:{},policyCollection:{},policyError:{},meshInsight:{},isSelectedRow:{type:[Function,null],default:null}},emits:["change"],setup(B,{emit:S}){const{t:c}=L(),T=I(),e=B,P=S,C=N(()=>{const z=e.policyTypes.filter(y=>!y.isTargetRefBased&&y.name!=="MeshGateway").some(y=>{var t,h,r;return(((r=(h=(t=e.meshInsight)==null?void 0:t.policies)==null?void 0:h[y.name])==null?void 0:r.total)??0)>0});return e.policyTypes.filter(y=>y.isTargetRefBased||y.name==="MeshGateway"?!0:z)});return(z,y)=>{const t=g("RouterLink"),h=g("KCard"),r=g("KBadge");return s(),b("div",U,[m(h,{class:"policy-type-list","data-testid":"policy-type-list"},{default:a(()=>[(s(!0),b(w,null,E(C.value,(d,_)=>{var i,k,f;return s(),b("div",{key:_,class:K(["policy-type-link-wrapper",{"policy-type-link-wrapper--is-active":d.path===e.currentPolicyType.path}])},[m(t,{class:"policy-type-link",to:{name:"policy-list-view",params:{mesh:l(T).params.mesh,policyPath:d.path}},"data-testid":`policy-type-link-${d.name}`},{default:a(()=>[o(p(d.name),1)]),_:2},1032,["to","data-testid"]),o(),u("div",j,p(((f=(k=(i=e.meshInsight)==null?void 0:i.policies)==null?void 0:k[d.name])==null?void 0:f.total)??0),1)],2)}),128))]),_:1}),o(),u("div",J,[u("div",Q,[m(h,null,{default:a(()=>[u("div",W,[u("div",X,[u("h3",null,[m(G,{"policy-type":e.currentPolicyType.name},{default:a(()=>[o(p(l(c)("policies.collection.title",{name:e.currentPolicyType.name})),1)]),_:1},8,["policy-type"])]),o(),u("p",null,p(l(c)(`policies.type.${e.currentPolicyType.name}.description`,void 0,{defaultMessage:l(c)("policies.collection.description")})),1)]),o(),u("div",Y,[e.currentPolicyType.isExperimental?(s(),n(r,{key:0,appearance:"warning"},{default:a(()=>[o(p(l(c)("policies.collection.beta")),1)]),_:1})):v("",!0),o(),e.currentPolicyType.isInbound?(s(),n(r,{key:1,appearance:"neutral"},{default:a(()=>[o(p(l(c)("policies.collection.inbound")),1)]),_:1})):v("",!0),o(),e.currentPolicyType.isOutbound?(s(),n(r,{key:2,appearance:"neutral"},{default:a(()=>[o(p(l(c)("policies.collection.outbound")),1)]),_:1})):v("",!0),o(),m(q,{href:l(c)("policies.href.docs",{name:e.currentPolicyType.name}),"data-testid":"policy-documentation-link"},{default:a(()=>[u("span",ee,p(l(c)("common.documentation")),1)]),_:1},8,["href"])])])]),_:1}),o(),m(h,null,{default:a(()=>{var d,_;return[e.policyError!==void 0?(s(),n($,{key:0,error:e.policyError},null,8,["error"])):(s(),n(D,{key:1,class:"policy-collection","data-testid":"policy-collection","empty-state-message":l(c)("common.emptyState.message",{type:`${e.currentPolicyType.name} policies`}),"empty-state-cta-to":l(c)("policies.href.docs",{name:e.currentPolicyType.name}),"empty-state-cta-text":l(c)("common.documentation"),headers:[{label:"Name",key:"name"},...e.currentPolicyType.isTargetRefBased?[{label:"Zone",key:"zone"}]:[],...e.currentPolicyType.isTargetRefBased?[{label:"Target ref",key:"targetRef"}]:[],{label:"Details",key:"details",hideLabel:!0}],"page-number":e.pageNumber,"page-size":e.pageSize,total:(d=e.policyCollection)==null?void 0:d.total,items:(_=e.policyCollection)==null?void 0:_.items,error:e.policyError,"is-selected-row":e.isSelectedRow,onChange:y[0]||(y[0]=i=>P("change",i))},{name:a(({row:i})=>[m(t,{to:{name:"policy-summary-view",params:{mesh:i.mesh,policyPath:e.currentPolicyType.path,policy:i.name},query:{page:e.pageNumber,size:e.pageSize}}},{default:a(()=>[o(p(i.name),1)]),_:2},1032,["to"])]),targetRef:a(({row:i})=>{var k;return[e.currentPolicyType.isTargetRefBased&&typeof((k=i.spec)==null?void 0:k.targetRef)<"u"?(s(),n(r,{key:0,appearance:"neutral"},{default:a(()=>[o(p(i.spec.targetRef.kind),1),i.spec.targetRef.name?(s(),b("span",te,[o(":"),u("b",null,p(i.spec.targetRef.name),1)])):v("",!0)]),_:2},1024)):(s(),b(w,{key:1},[o(p(l(c)("common.detail.none")),1)],64))]}),zone:a(({row:i})=>[i.labels&&i.labels["kuma.io/origin"]==="zone"&&i.labels["kuma.io/zone"]?(s(),n(t,{key:0,to:{name:"zone-cp-detail-view",params:{zone:i.labels["kuma.io/zone"]}}},{default:a(()=>[o(p(i.labels["kuma.io/zone"]),1)]),_:2},1032,["to"])):(s(),b(w,{key:1},[o(p(l(c)("common.detail.none")),1)],64))]),details:a(({row:i})=>[m(t,{class:"details-link","data-testid":"details-link",to:{name:"policy-detail-view",params:{mesh:i.mesh,policyPath:e.currentPolicyType.path,policy:i.name}}},{default:a(()=>[o(p(l(c)("common.collection.details_link"))+" ",1),m(l(A),{display:"inline-block",decorative:"",size:l(x)},null,8,["size"])]),_:2},1032,["to"])]),_:1},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error","is-selected-row"]))]}),_:1})])])])}}});const ie=F(ae,[["__scopeId","data-v-efdb2ab3"]]),_e=V({__name:"PolicyListView",setup(B){return(S,c)=>{const T=g("RouteTitle"),e=g("RouterView"),P=g("DataSource"),C=g("AppView"),z=g("RouteView");return s(),n(P,{src:"/me"},{default:a(({data:y})=>[y?(s(),n(z,{key:0,name:"policy-list-view",params:{page:1,size:y.pageSize,mesh:"",policyPath:"",policy:""}},{default:a(({route:t,t:h})=>[m(C,null,{title:a(()=>[u("h2",null,[m(T,{title:h("policies.routes.items.title")},null,8,["title"])])]),default:a(()=>[o(),m(P,{src:"/*/policy-types"},{default:a(({data:r,error:d})=>[d?(s(),n($,{key:0,error:d},null,8,["error"])):r===void 0?(s(),n(Z,{key:1})):r.policies.length===0?(s(),n(O,{key:2})):(s(),n(P,{key:3,src:`/meshes/${t.params.mesh}/policy-path/${t.params.policyPath}?page=${t.params.page}&size=${t.params.size}`},{default:a(({data:_,error:i})=>[m(P,{src:`/mesh-insights/${t.params.mesh}`},{default:a(({data:k})=>[(s(),n(ie,{key:t.params.policyPath,"page-number":t.params.page,"page-size":t.params.size,"current-policy-type":r.policies.find(f=>f.path===t.params.policyPath)??r.policies[0],"policy-types":r.policies,"mesh-insight":k,"policy-collection":_,"policy-error":i,"is-selected-row":f=>f.name===t.params.policy,onChange:t.update},null,8,["page-number","page-size","current-policy-type","policy-types","mesh-insight","policy-collection","policy-error","is-selected-row","onChange"])),o(),t.params.policy?(s(),n(e,{key:0},{default:a(f=>[m(H,{onClose:R=>t.replace({name:"policy-list-view",params:{mesh:t.params.mesh,policyPath:t.params.policyPath},query:{page:t.params.page,size:t.params.size}})},{default:a(()=>[(s(),n(M(f.Component),{policy:_==null?void 0:_.items.find(R=>R.name===t.params.policy),"policy-type":r.policies.find(R=>R.path===t.params.policyPath)},null,8,["policy","policy-type"]))]),_:2},1032,["onClose"])]),_:2},1024)):v("",!0)]),_:2},1032,["src"])]),_:2},1032,["src"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["params"])):v("",!0)]),_:1})}}});export{_e as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-c2b73f32.js b/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-dd96a7bb.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-c2b73f32.js rename to app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-dd96a7bb.js index 19afcf3b9564..be1ed8b98a64 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-c2b73f32.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-dd96a7bb.js @@ -1 +1 @@ -import{d as V,a as l,o as i,b as d,w as a,e as m,m as s,f as t,t as p,c as _,X as b,p as u,F as E,s as F,v as P,O as B,_ as T}from"./index-6594470f.js";import{_ as $}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-5c4d11ef.js";import{_ as D}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";const I=r=>(F("data-v-0ee376b5"),r=r(),P(),r),M={class:"summary-title-wrapper"},N=I(()=>s("img",{"aria-hidden":"true",src:B},null,-1)),q={class:"summary-title"},A={key:1,class:"stack"},K={key:0},L={class:"mt-4 stack"},Q={key:0},O={class:"mt-4"},X=V({__name:"PolicySummaryView",props:{policy:{default:void 0},policyType:{}},setup(r){const c=r;return(j,z)=>{const f=l("RouteTitle"),v=l("RouterLink"),R=l("KBadge"),k=l("DataSource"),w=l("AppView"),x=l("RouteView");return i(),d(x,{name:"policy-summary-view",params:{mesh:"",policyPath:"",policy:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:n})=>[m(w,null,{title:a(()=>[s("div",M,[N,t(),s("h2",q,[m(v,{to:{name:"policy-detail-view",params:{mesh:e.params.mesh,policyPath:e.params.policyPath,policy:e.params.policy}}},{default:a(()=>[m(f,{title:n("policies.routes.item.title",{name:e.params.policy})},null,8,["title"])]),_:2},1032,["to"])])])]),default:a(()=>{var h;return[t(),c.policy===void 0?(i(),d(D,{key:0},{message:a(()=>[s("p",null,p(n("common.collection.summary.empty_message",{type:c.policyType.name})),1)]),default:a(()=>[t(p(n("common.collection.summary.empty_title",{type:c.policyType.name}))+" ",1)]),_:2},1024)):(i(),_("div",A,[(h=c.policy.spec)!=null&&h.targetRef?(i(),_("div",K,[s("h3",null,p(n("policies.routes.item.overview")),1),t(),s("div",L,[m(b,null,{title:a(()=>[t(p(n("http.api.property.targetRef")),1)]),body:a(()=>{var o;return[(o=c.policy.spec)!=null&&o.targetRef?(i(),d(R,{key:0,appearance:"neutral"},{default:a(()=>[t(p(c.policy.spec.targetRef.kind),1),c.policy.spec.targetRef.name?(i(),_("span",Q,[t(":"),s("b",null,p(c.policy.spec.targetRef.name),1)])):u("",!0)]),_:1})):(i(),_(E,{key:1},[t(p(n("common.detail.none")),1)],64))]}),_:2},1024)])])):u("",!0),t(),s("div",null,[s("h3",null,p(n("policies.routes.item.config")),1),t(),s("div",O,[m($,{resource:c.policy.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},{default:a(({copy:o,copying:C})=>[C?(i(),d(k,{key:0,src:`/meshes/${e.params.mesh}/policy-path/${e.params.policyPath}/policy/${e.params.policy}/as/kubernetes?no-store`,onChange:y=>{o(g=>g(y))},onError:y=>{o((g,S)=>S(y))}},null,8,["src","onChange","onError"])):u("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])])])]))]}),_:2},1024)]),_:1})}}});const oe=T(X,[["__scopeId","data-v-0ee376b5"]]);export{oe as default}; +import{d as V,a as l,o as i,b as d,w as a,e as m,m as s,f as t,t as p,c as _,X as b,p as u,F as E,s as F,v as P,O as B,_ as T}from"./index-78599b4f.js";import{_ as $}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js";import{_ as D}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";const I=r=>(F("data-v-0ee376b5"),r=r(),P(),r),M={class:"summary-title-wrapper"},N=I(()=>s("img",{"aria-hidden":"true",src:B},null,-1)),q={class:"summary-title"},A={key:1,class:"stack"},K={key:0},L={class:"mt-4 stack"},Q={key:0},O={class:"mt-4"},X=V({__name:"PolicySummaryView",props:{policy:{default:void 0},policyType:{}},setup(r){const c=r;return(j,z)=>{const f=l("RouteTitle"),v=l("RouterLink"),R=l("KBadge"),k=l("DataSource"),w=l("AppView"),x=l("RouteView");return i(),d(x,{name:"policy-summary-view",params:{mesh:"",policyPath:"",policy:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:n})=>[m(w,null,{title:a(()=>[s("div",M,[N,t(),s("h2",q,[m(v,{to:{name:"policy-detail-view",params:{mesh:e.params.mesh,policyPath:e.params.policyPath,policy:e.params.policy}}},{default:a(()=>[m(f,{title:n("policies.routes.item.title",{name:e.params.policy})},null,8,["title"])]),_:2},1032,["to"])])])]),default:a(()=>{var h;return[t(),c.policy===void 0?(i(),d(D,{key:0},{message:a(()=>[s("p",null,p(n("common.collection.summary.empty_message",{type:c.policyType.name})),1)]),default:a(()=>[t(p(n("common.collection.summary.empty_title",{type:c.policyType.name}))+" ",1)]),_:2},1024)):(i(),_("div",A,[(h=c.policy.spec)!=null&&h.targetRef?(i(),_("div",K,[s("h3",null,p(n("policies.routes.item.overview")),1),t(),s("div",L,[m(b,null,{title:a(()=>[t(p(n("http.api.property.targetRef")),1)]),body:a(()=>{var o;return[(o=c.policy.spec)!=null&&o.targetRef?(i(),d(R,{key:0,appearance:"neutral"},{default:a(()=>[t(p(c.policy.spec.targetRef.kind),1),c.policy.spec.targetRef.name?(i(),_("span",Q,[t(":"),s("b",null,p(c.policy.spec.targetRef.name),1)])):u("",!0)]),_:1})):(i(),_(E,{key:1},[t(p(n("common.detail.none")),1)],64))]}),_:2},1024)])])):u("",!0),t(),s("div",null,[s("h3",null,p(n("policies.routes.item.config")),1),t(),s("div",O,[m($,{resource:c.policy.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},{default:a(({copy:o,copying:C})=>[C?(i(),d(k,{key:0,src:`/meshes/${e.params.mesh}/policy-path/${e.params.policyPath}/policy/${e.params.policy}/as/kubernetes?no-store`,onChange:y=>{o(g=>g(y))},onError:y=>{o((g,S)=>S(y))}},null,8,["src","onChange","onError"])):u("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])])])]))]}),_:2},1024)]),_:1})}}});const oe=T(X,[["__scopeId","data-v-0ee376b5"]]);export{oe as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-e607f2fa.js b/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-ba976135.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-e607f2fa.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-ba976135.js index 9c15fcc093d4..5993f8b45ed9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-e607f2fa.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-ba976135.js @@ -1 +1 @@ -import{d as Q,o as e,c as t,b as l,l as m,ap as p,f as B,r as d,t as z,_ as w}from"./index-6594470f.js";const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAAAVFBMVEXa2tra2tra2tra2tra2tra2tr////a2toAfd6izPLvzPnRfvDYteSKr86zas0Aar4AhODY6vr3+Prx8v2Kv+9aqOk3muUOj+N5t+211vXhqfW01fXvn55GAAAABnRSTlMC9s/Hbhsvz/I3AAABVklEQVRo3u3b3Y6CMBCG4SJYhnV/KD+K7v3f57bN7AFJTcDUmZB+74lH5EmMA5hmjK+pq1awqm5M6HxqxTudPSzssmxM06rUmDp8DFawIYi1qYRdlisTeCtcMAGnAgwYMGDAgJ8GGPDB4B8frepnl9cZH5d1374E7GmX1WVuA0xzTvixA+5zwpc0/OXrVgU5N/yx6tMHGDBgwIABvxmeiBZhmF3fPMjDFLuOSjDdnBJMvVOAb1G+y8PjlUKdOGyHOcpLJniiDfEVC/FYZYA3unxFx2OVAd7sTjZ073msRGB2Yy7KvcsC2z05Hitx2P6PVTEwf9W/h/5xvTBOB76ByN8ydzRRzofELln1schjVNCrTxyjsl5vtV7ol7L+tAEGDLhMWOAw5ADHPxIHXmpHfAWepgJOBBgwYMCAAT8NMGDAgJOw2hKO2tqR2qKV1mqZ3jKd2vrgH/W3idgykdWgAAAAAElFTkSuQmCC",a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAH90lEQVRoBdVaC4xU1Rn+zr2zu8PyEBGoKMFVK0KLFXyiVKS2FFGIhhT7Smq1aQXbuMQHCwRQiBWVUl7CaiuxGoGosSQ0tJuU4qNrpQEfq0AReQisLKK7iCIsO3fO3+8/wx1mdgdmlp3srCdhz8y9597zff/7P4wBhxw50jfW2Pi4ERkhQB+91lGHAerEmFeLotHJprS01ij4oLGxRkR6dFTQmXAZYxoi0eilpqmhYQVEfpppUYe/ZsxKE6uv39fRzeZkglRzMk319cT/9R1eVuixAPazzyFBPG2p/fgA7M6PAd4v5MhKwB46DDnQAPvRPiCFhFiBNB5LXC8giawETPeuQHER0BRDnCRCTfjn9oLpVAJRDSm5ApHITiDiwy87J0lCwToSngfvvD4FJ5GVgLPvXEl8/mW7u0ProhB9QM1IzUnNyqNmDMkhbmEJ3uvWGSiKtCuJrBqQo3TUTw8C1gLNNCF79yfA+jSns85od/C6eVYC9uAXEBKwu+vSSDgHpuQLPbKakMRikI/qXLRR0Oq4oAO3GBpin6uC/Oc94H+7IWd0gbmoL3Db92GGXdJieb4uZCXgNjoeKjVkZiIhH9bCTF4KbK+FML+71M4ZnnHfzcir4M24E+jSKV+4k+/JjYAub06iHzVB22chCNw6FbKdWbmYDjzvdzBXfQs41gS89g7s4pcgX34FXPJN+IvvyzuJDLaQJJf+gdHFRR3OzrHDkGko6vn3AL27JzL1C2vpzIxM6tTjRsCsmAXDpIfNOxCUzwO+Opr+3jZ+y10D4UaqCQ2ZmqFTQ+YuJrhfzYHUHwKuGQRv4SSgpDjx1H6WIhMfha37DBh0ISIL7wU658ecWk8gJJJpVhK/fvQEifnlSRLySYKE7K8Hvn0BIgvyQyJ3E8oEuPm181ly/HkK0Ks75L+bIXOXJ1eYb/SAVzkFpk8vyJZdCO6dnxdzyi8BwjUkYZ6qcKHW/q0aONKYTmLpZJhzejLUksR9C9pMIu8EFK3pSYeO0v41QtFnUodqwn9iMnD2WRCSiD2wsE0k8k+AEreTaB4sQTCkP8CE1nyEJFQTsmUngj+eMLXma7N9zzsB2bQT+k+TGC5kJj7JML15CDLsUqqLitpVm1ilRWIry5O8E9Ak5s25m0mOWfjldbCVf81IIb6mGvblf5GAgTd2OOyGzTj2s6k4Nv5+2I1bMj6T6WJ+w2jKDvLKW4hPr3QFoLl9DPwJ41Lu8uPRRgQVi2CZ4FzU+oLZOqC/aPnBjF784ER4lzOjZxn+jIqKh7Ksye02VS/Tn3JZ2GinptHognMhr70N1HzILi6Ad8VA2GdWszxvgDfgfHgjLke8Zhuwh2W5WPjjWPhdXEbn3ol49Tvw+p/HiMUsfoqRHw1oQzNlKVTq6NkN/qrHAVauOuTVtxDMJDECNN+5iP6xA0Ip+9PugD9yqNNEfMmLQN/e8H9yI9cJmiY+DKu9RrdSRJfNBkpPnrXbTiAVPDf0lzwADCxz4MM/qoXgwSdpTjzJIHgtnxyJqXfC/8HV4TI3B4tWIKiqhkSLUDLzbniDL0673/xL25xYzYaSx7qNQNdO6eApSflgt9vPXH8Z/NkTYPr3Q2TWBHijrnHX44tXpuEJFi134DWH5AJeHz59Agq+YgmE4EUlzwyblDzBxx/5C+J3zYGtfteB9IZfhsjTM2A6RxF/hYR189HfdbP+CRYuR7zqDSbAIhTPJMkskg8fPD0C7L5kaiWsgu/aErwleGGY1LLadCkN93Jz8PzfXbTxaP+RCT9KXCN4ZzYlCp7RZ/CAtGdO9aX1BJoCyLQnIW+8D9ODDluZInnupOAtwUtpCfy55TCDmY1ThjegzHVs8Q2bYLfvTUj+H9UwNBsXOlsBXl/bOidubII8tAzy9lZIpyi8ub91dh3ik4efQXzNvxk1ovDnTWoB3q1jOI3N/hPsmzU85WAHx+gkKvlZ6rC5Sz7cM3cNaI0zaxmwdTcsy2VvwT1p4O3vFTzNhiHP/0NLyYcbKuiimb+Bdy3LCB7VtAW8vjM3DRxmG/jYctYs7HspXUy/Habf2UlM9rHnICydNYP68wh+yKlDn3tQNTH3Wfijh52W5MPNsxPQ0+n5LwD72A4yguD+n7PHZT1/fMSfeBGympJng+8/MjE38OHDeZhphKcY2rgvWQUcYp3CGt+UjwdYz4fDPr0aWMuQyP7Wn0at5CL58OE8zScnoM35sjX8H0x2VDxhMHfd4oqucF/7fBXA0kFYMvjlP4a5MnvhFT6bzzkzgQMHISvXwrCb8s7sytOGMQDncMhL64DX33Xp3v/lGJihg8Jb7T63JFBXD1n1OsMb20F2U/KLH7Ko6pIE5py1miGQp9Nm/CiY6wYn7xXiQxoBqf0U3j83uCNzq6dst91A8DwyD0fVesibmxJHJTdeDe/6IeGdgs1JAnqAa9ZvgejJG4/RzbjhaYdPWvNg41ZKPgLzvSEwN1xRMNCpGzsCsmMf8N52l1S01jVjr03E++MrRU2mZgeMauXKgTAj00vg1Be292cPH+xtMDxV1ipR7d7cel0aeKynyWza5Qoz4bGgGdVxwLOtqPPMtj2eZldhkWbGDqN9F50QIk1Gtu11ZoMytok3Jer4EwsK+0l/9OFFxNxhDh+NmdFD0w9rtY+lX+gBrvQ+E2YMyXWgoT/2cL9YUUzNf24j79Pe93zizmiEJYK5mT7RQYaaTerPbf4PGwFZsK8ONooAAAAASUVORK5CYII=",c="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAEj0lEQVRoBe1aS28TVxT+7ngydhwnPGISTBKHEB6iUtOWHTvWqCtKqQhISC2vBbCpRDf9BUgsgAWbdlGppWqlSl1UXfMLCmXRqgXUxmCclOCWxI4Tv4Zz7s00BntmLh4rTCSfxJ4755458333fHfuTTQCZFOHTo+ijCs2cAi2nWJfaE2InABuw8Lle7e/eCwYvL2CXwF7a2hBtwQm8iKKdwwe+Y0HnhnRgBN2Q8qmJcPwOxm7EXrNe40jzVfDq38j9HUJvOkqdSvQrUDAEeiIhGaPH8bsyfe1oWQuTuPxhePa8V6BplenTl85tQ2l9A7YMUsnHMsTIyjtm9CK1QkKXIHC3nEI2l3RgqhzPzw/sB/g+A5ZYAKlPTsVFMnCH1Xx3f26XP2TUUQgAuXhJKr9fQqQRgVYPpUtA7IANvQq5sciEIHi7jHKb5OE9DQh5SOvoGs6pKNABJYn06tAaDQ1SLB82DoFnnO1TaA8NIhqIo7IQkFLDI58zPx/WvEMTsfaJlAiPbPF789oiWHxPTX6A3f/kPGdmQEBKlCaGJUE+oiANJ9JvEAEeOL23/ldHvVmjUrt9d1WBSrJLaiRfMzCEqzcU8pPcDzmAMunSk8f699FxP7KqngvVK/R19ZKvDy+Qy5cvQ8z8la2xuhzII8+m9foF9+axOz0YRm3/dbP6PvtoWy7fZm1iIV6tAd1i4+W3BLUrR7Y1Jb+1T7eKqg41ccajj94JPPy4DskaoleZM8cRYmeUGyO1hm0Q6DRz5XMnj2KpV1jTcSYyOTnNzjc1Uw1eCwBpQIFhNWqfvhKCZDPZbCQoGK5eVhz82uJKYjBPDp/DFwhBswZnEcmT3YlnzV/jRbBzKVplFNDTeDXEnu3TLNeBpb44x3o20vksh8fQYU2d1GaF+nr3yBCc6SVOaQyl05gxYm/9rWMf1VCra5v9LU1BxoT/N+mCpSHB2HNzmP05neu4J14ltZKKqnIroLnPta8n2ycHHzsHAGqgPXPM4x8+QOBLzXeo6ntSMsiGaYbwDcFajg6QiA6k0M9EQM/NSJFb/CMqe/PDD0QTKrU976V8uMg3j74ifOg8IsNZX9bC1mYmHQJvOlqBJ7EcUPgw8EELFq5vn1WQKHmPaX6IwIXhzdJ3jfmnmPRJ95vgAJJqJfAf0Tgx3pMpGn7cW5oExIE0M0Y/GepzdgT65EfbrPvVZuKW7g6vlV+uO1lYurgWTtmGHIEo7QYxYhSlM6jlJf9UT6nNvtiBFj5+SjUNeRbrNWpLTBmRSiOc6h8bjfOlquya8TyEQDdN1+t4dOZvFsqXsjU3ob/rqVfMv5iGaijbdORO2ihUlshiqdu5RZ4Uqnix3wRBsWcSiawj/8/xAEqGSd8ye4vV8DS4e3EheEBWYmXAl7zJJTrAMvm1LaEpPLV0wLu8V7NxUJJwAVrS3egSdwy4zo7uwTWecCbbtetQNOQrLPDoOd1bp3v2bnbEXZaN+nFiQ1qjJ3WfFymZdN9rQ4tOcJM2CNzf/+ysH33gVuiLlIkpyTh7Q8tZgbGr9sI8RO9qfIBv27zAiEVYZQrGIvuAAAAAElFTkSuQmCC",r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAFt0lEQVRoBe1aa2xTVRz/3d7bBytdXddtbIN1sId7IG4yHhGICxluMohOAkGChhiMih/8IiSERImRaBD9YGIkGg0xypwo8YkajGyikxqemziyDbbhBoyN7kHLStfb6zm3u01v1zvaritrwn9Zz+Pec87v//j9z2lzGBBZYHpyttMt7IWAcgFCOu2brsKAuQoG9TqO2dFkO9zNjIE/JwiCabqCDoaLYRgbUeJB1qgu2E/ALw720jTvm8ELSOdo2EhAy6vKpKpiWf/zSdmzUMbIBgQ0IpnPN4ZgV033mA/QV9ak2Jk8wxOCrDfOGqo4wzsObtwrwMWahD4CjtlysuvHvQfukXgcq2LcEfchxPkbTIlQgcTzHzOV9VDwxL0HYkLiIn0qNqQVoyDBjMN9/+Kr3hZ4yF80ZEoVeNiYRYAXYb4+TcQ6KnigZlS44OjD25cb0eUcnLQOUVeAAlxlysH61PmYo0sUAbbeuoG63vM4MXwZm2YtwMa0B+Ahynx+rRm115rAkyNxpMI8t/6NoKMjIW4Cq8YnhY/DrNaLeKzDPfiytxnn7L0yfLkzkvCKZQVo2T4ygH1df5DSJnsnsKFE6KiSOJHViOA7SGhsbfkOuy7+Og48BUZBv3Thexy4ehYW4qX3C9ZgS3pJIOaQ2lELoXlJGWB5Hh/kVOH4UBf6k41ovdGNo5dOTQjEojNiZ/Yjojd2tB/F6ZtXJnw/8OGkPVCanovd5c9g76qtMOuN4vxqqGBzDuP5smq8Vv400vT3Ba7ra3c5h3Bs4JLY1rOybcn3zkSVSSmwMCMPu1ZsQq4pEz+2/Y2OQW+scwyL2uZj2Nd4CFnGVLxT+SJW5yl/7XZ5vClVzYSvgGyEElGCEZr8vAGDJkE0zusNn5Jw6YFWxYptTuW1y4nuFvxzvRPPllaS/ypkJprx0akj4wzqJhmJCsswsmeh4AnbA2pwWKbOx079Wrg9vLigATps1C0FJ3jtwZFUKondNYL3rN+IihSnZEvdspIXvPPQFByuyDwQzNKBE27Xr4ZJNRNnRzt9CrgYD7JYM+7nvL+JccQ7geLi3ZA8E/iMbnBU/BWn7VDwhK1ykkqPQ04rPnM2+hTwEAXedfyEi+7rsPOjyCb5vTI5h2LwCfUWq2BhXvBuRSzhTrgStgI8sZa080khxJHs4Sb76ZBwC3s6GnDT7cL2rOV4M6cCKWM8cXvcYMc44g/SwGlRYpgldmnGuOP//E51xe/ESu7jySGMI2mSytBth1hWzC1Fu60HDpcTS/hivNrWgOq0HKwx5+Pjghp8eOUkTl5pQx7JVpKka2diXUoRHkvOF8lPw6hjRPlspERodmHxyt3SpP5lZ3vwDaVcU4hOTx+6+BsYdNpBSVqZW4aKeQ/hmt2GW3YnEqDFFwNn0ESOEKWGdPFsZOQZ7G/5DSZWi22zF+HlOUtRSE6pThJa9IS6p+P3CY8T2bkZ/vB89bB34s26ZSjiMvDt7dOwjl4UJ0qbacK2RWtRnGLBn/+dx4HTv8AljIpK9Qz2YzGXhJqUAtBYl4h63eXA1wT4kf42jHhGfYDCrYStAM3/yzX5qNaUoJPvQ91tKzQkqCxsMpKyTNi8oIIA5UnGYaHjNOi+2Ye3jtfBTFLsC5llUBEiU+D1to5JnUIlRcNWQBqYTFLpBt0SzGVTCHwWAx4H6px/waZ1YkvJo9CrdWR3tpLYb5WGTEkpU0CJKEqEpohKOQv5ZHDO3UXoLeWn6GANBY9sI4tk2TME+N0UmQfuJpBI1w57I4t0oakaF/cKKO7EoVoskOBKxJPmC/d9aZxSGfceuEdiJdfGqj/uQ0i2kd2JgNSq0SZhJPP5j1GJdw9i5e8or0OxM/mJNQfJVYOnojx3TKYj9yVqVfTWB704EZMVo7jI2GWPHWzvSMtwpr7oIL04QVxiJmsYorhO1KcSw4ZhfiCGX0ev2/wPquz9nGykU2YAAAAASUVORK5CYII=",i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB5CAYAAADyOOV3AAAFOklEQVR4Ae2dP2tUQRTFp7S385MofgRFiGBhKr9GuqBiI9iktwosCAnRLo0g8Q+ojSaNBomumESTIAqSLiPTTc4k7+bmztudu3sCAztv7p137/nNebtuREMIIXz9eXBluLO/NNzZe8sxCRrsL23tHlxObMP33b3ZzeHO0edv25FjcjRITBPbsPXj12+CnRywOcvENtC9kwk3gU5sQ048vf7775DDsQbIswAc+eNaAQJ2jU8unoBljVxHELBrfHLxBCxr5DqCgF3jk4snYFkj1xEE7BqfXDwByxq5jiBg1/jk4glY1sh1BAG7xicXT8CyRq4jCNg1Prl4ApY1ch1BwK7xycUTsKyR6wgCdo1PLp6AZY1cRxCwa3xy8QQsa+Q6goBd45OLJ2BZI9cRBOwan1w8AcsauY4gYNf45OIJWNbIdQQBu8YnF0/AskauIwjYNT65eAKWNXIdUQD+c2sm5iPemY2mIcnD/bsVMuqTs0yvQ7wQYtXRXb79XtxfpSEB4wH3foCgHwIGQSS+5qeddAOsxzgPOwsLMR9xsBhNQ2qA+3crZNQnZ5le89/o6Jbb3WrxKRovuOuIBR9TAHnSwcfk8T8hYP8MOzsg4E55/C8SsH+GnR0QcKc8/hcJ2D/Dzg4IuFMe/4sE7J9hZwcE3CmP/8WpAzz7cCnm48bdQaw58r3T63H/TB3gcG0+jnIQ8IgVGCXcdK9x/9DBPTuagEesADr43uBFrDlwf217+B5unV+fX4z5mPjfJiGA95vbsebA/bWAMb/6HJ/Z2gJbj0fBasJNe+H+Wj0wv/qcgG2ORiAErFXAGI8AWnfwo5U30TLmHq/GfPA92PiejAdIex4x33oAl9c+xnwQMAFrz2Rb8bUdgg7D/bXdYz7ur53n7k2v6WA6WHsm24qv7RB0FO6v7R7zcX/tnA42OhYFR0AErFXAGI8AEJB1jvtry8V8az2Fg/PvLdNr63ehmK9tuHZ8bQERAO6vrR/zcX/tvACMN6g91zZcOx770QomxeP+2voxX7qftE7A0/YejCeo9lx7omvHYz+SA7TruL+2fszX3h/jCwfn31um15bvQVMuFqxtGN/DrXOsBwWxznF/bb+Yb62nAIwXrDfAgq0N437WubU/zMd6rP3i/to58gx4QbshxtduGPezzrFe6xzrIWBBARSs9twKFPOxPqG9YhnzcX/tHA3bvIOtnwkwXyuYFI+ACoLCBcyX7ietuwMsNTTudQQk8CyWMd/aDwFP25+Dkbj1BOGJLI6scAHzrfX0nY/1Cu0Vy5hvrRd5Nv8ebG2473wEVBAULmC+tV4C5iO6rb9Gaj3RfeejAwXDFsuYb62XDqaD6WCNi9CBhUWFC5ivufdJsXQwHUwHn+SM066hAwXDFsuYf9p9znqdDqaD6zpY+/vc2if6rCf/vHFY77j7HbmDUQDt/LzCjypP248Ub62bgHt+REsApXUCrgzIKqgETLturad3B+PvX61za8N951v7w3xrvb0DthbIfNuHXAJu7BFf+0ATMAHbHhG1TyT30/Ggg+lg3Ymhw9rSiw6mg9s6kXxC6HjQwXSw7sTQYW3pRQfTwW2dSD4hdDzoYDpYd2LosLb0ooPp4LZOJJ8QOh50MB2sOzF0WFt60cF0cFsnkk8IHQ86mA7WnRg6rC296OBpd/Dqu0+Rw68GhYNXXq4f4UXOj//fQ171SGzD8tr60GsDrFs6iOvDcPP+k5mnrzYOKZYklq/1xDSxDWHmwcWr84NLz15v3H7+4csch38NEsvENLH9DwLs1co+Fv2iAAAAAElFTkSuQmCC",g=""+new URL("Retry-8b2ec896.png",import.meta.url).href,C=""+new URL("Timeout-dcabf0f7.jpg",import.meta.url).href,D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAABYklEQVRoBe2av0oDQRDGZxbRxhfwDRI0NhKtRAhWPkM6Ex9KTOczWElArBRsAuEeIS+QRpvJfJdcqkWRLWYH5or7s7N797v59j4Odph2m4hw//xywsT3JHQqJMddrIajcq2Jaalcs2bx+cTMAi7Grn9xfSI/388kMsJ19RvznA+Pxs3X+yoh867gkV1NNJjBzr3BcKpT5rH6rOcAmR5SO+dzQQdtYE/4YB2w5hGVPdXmNnnSfCvYUz7kpzVewFor9woc/DeDb/OXX4fcjO728b/67jsWnLhXgHtnw/anqCAJpkPdKxAvYDp/9OHhQtYKhAtZKxAuZK1AuJC1AuFC1gqEC1krEC5krUC4kLUC4ULWCoQLWSsQLmStQLhQKFCYAaxSrgvvYTYc7AnL92YEpQ9WdqxSzkrvYzUe7Lwt8rh6dVMn0WVL6yWaxcdtQtUHCidIG7pY9cddsUfL3sF6LbfZAN5wf/+tIkpkAAAAAElFTkSuQmCC",f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAGRklEQVRoBdVZ629URRQ/c2/b7e62Fii2FBqsSOQZpSEBQkJiSGtMfKFRv0gMSUU+mJj4xcTEhPDJxD9BbaIJflETUfETDZoQNYgiREtBHsHYF9At0H10n/d6frM73Xsvey+zW+22J7l7zsyZOa+ZOffcWUElsG1bTMfjr3NzgGzawrhF8RYJTpCgYbZlcEVr68dCCBt2Cfwkk8mudME6Sra9F+1FD0KcbDaN/dFodMJA5JeU8YguBxo2w3YRm5k5yFvmw0Uf9UoGCnrD4P6BSrwl0jcgYndn4mzsYjuwuvFLYAWWqvFwsqVB11W/cZZl0e9/XqKr10cplc74DavYH2kO0SM93dS7dQMZBmJZPczbARj/x8Wr1WvmGXBYzd3+2KaaZMzbAUQe0LdnB3V3dVRlxOjEDRo6dUauXq0O1LZuDjPVtqnWeIjo7uqUkpQMh1htct4OaGv6nwYueQe0zsDgF9/5xs/05VTHCNIx8PLTvsK0HECKQ7qsCmJ3iD47RmL4LznN3vIo0av7iNqXVSXmfulVy4GmBpPSWYv2P99PoaYmlwGffH7c1ZYNNl688z5RIjnHEz/+SnR+hOwP3q3ohDfKmWyWjn59gqA7CLTOQDQaljLiidkgWWUeR95p/BwDDoGnAUqX0u03RcuB9rY2OX/85pSfHFe/2jauzlIjiOccr3Qp3U6ek9ZyQOX4kWt/cykuP4ScMv5zGjqgC6B0+ynRcmAtv2Ej4RDvilk6N3LZT9Zcvzywcy03EcRTI6EDuqATuoNAywHTNGjXtq1Sztnhy3Ty57M0OnnLv3hDtmmJ3qsXfeBVALyNIROyoQMAndAdBPge0N4TF65cp9PnLpDl2EZmiT7wyjNuPZppVGWxgpCf51KGwfTObZtp8/oet8wKLa00quZB4OrOlQRHxidjvAKzZOXyiu3GyPdvHeCvVT1o5HQZaQ7T6lXt0vBlrS1aE6tyABIheHdvcTuhrSIIej7w2gtP1TQ9eIPVJHJhJ2mtQFCdEvye1HcmSIf3Le2UquVALbXQeOo2HfntS/pp4pLUt7trAx3e/hKtjix36r8vXZdaCMY/8c0RupMp10JfXfuFvh8bph+eO1zRCW+U61oLIfJO41WY0QeeDtStFsoUcnR67CKFbIOa+VFY0afHLlGu4JN6HZ7VpRZK5TI0NjNFhjDI5MeJQRcfQf/wmGyAE3WphRLZWZpMTvOLy6bejh6+5xHyrqeM2Snu6+14mEdYNJGIUTafc8S8TC54LZQRebqVust39Ww0R/rQpiepLRRlutguYiH7Dm3ql2NQjkzyYbdK7+q61UJ5ylHOKNCzfXvKIWTqVjpOH10covNTxbL48ZUP0cGNffRgc6tr3PETpyhsNZHNjitYsFoomU5RhiNpyMijGMOD6kdQZ7iN3ut90dHHpIOPFsYK/t7GCkaMMEUXqhbatW0LxWbjfBBz9O3QKTakuFWkTdLIIlU0GHS50vTSiDbY/f07qD3cSiGzUU3WwlpvYqekAt9OTKcTlLcKpaxSXHrs/VpAzcP5uZ1O0nI+O6EGfSeqcgD5+25mVn5WIk1isygMQ8obqLIrxc1V3GQYgfFqHuQAZjibPcBY1wntsMF4CId6lVVMXv5IKMROCIrFbst+0IrvxYoHjGeK5wBDhhoLp5CSsT11QGsF0pyv8ZLCMvPfmy65a9esoit8Q32G73xqAawAZKitpGQks6yvSVCjGWxiMJelpTkScMCrQCnavH6d5I2O3+TLr6zqrow9e6y5sYm613TQxnU99wQGAlKsN8I4yInAb2IYLl/57qBXNk6n13sIvHM8Dip2mDOTnxNYgQQ/rg9Q6EFRlretmv/6UcpdWAVCYRez1KjAy3DGE1yGNIh7Pp8SDbyth/lc7lSyYHyaDywuG/y2jRq7kDhb4MtlvmJpcJ5Bth0rMMiPdAD1CaKOIHgPK4zFIUaxBgxQNHBtADmYq8Ku6Mry8O4RhikzV0nfoMDf9dPxxBBfn+8tIOwMarpXfGlS3RFSrmkYJ1e0tvTxigh7aibzJoncp/wvwI66W6djgDDO5A16G7aLGwm7k89HN+YZVmofR5/v/ux1fP2GDHYfmO8aYa2VDKhSNLAHDJFiu65x7I9ZhnmsyG0c/xfNI5E629R1xgAAAABJRU5ErkJggg==",v="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAGKUlEQVRoBc2aX2xTVRzHv/fe/tnf7h+bG24y4yBZJAETTBhGQ5BKiMYXnoY8EEgw0RDBGYJvxAeNcyLEFyUGjaI88WIMREGsJmSgD0CiWXSDQFbWSV3XtVvXru29/n6n3HE7u97b3gv2JLc9vT33dz6/f+ece+6VQGUqoXWqanoQ0DZDQwefK1TajnrE6btvLhT6++GckxACpIAsuw+11EhBF8Nr2fR1gm82JZBU0yYPvIEwsNZPzNuIfZ3rnuXN4YlMYgUk6YEzWulAI4NrFDUuETZWrmAFZM1iy4fVTNssF4v5pRiSxApUQBjpYBROsl639E0hJCuV5YWSFJC4dSUkssHalAPWi8ThUxk5vAgtheMp05iQCbrWoyCSytE3ezXMLWShml652E/Rii7freQCIp1VLcs3VYCFN9a4IS8ZPlVNQzSRtq2EkF9N8rliKCpZJzpvLt80B9jyDP/jWAxPHftDHFznc/yf3SLkE/zc6Dnc+rBLHFxnhazIN/VAM1ufhDF8KJ4WvB31blw98CTYShHygp2iy2f4bCwoRCm+TnQPjCMTD+H20EpIbCc6+DuvThls6gE7cE5cS5FKU9X9scOYdvyfqQfqvQq8bkWE0FvfjQumoZe68HyPD7FUFgvprC3OOiWDquoaEULhb/cJWa0vn0Dt6u1Ikew49VGsmCrAuVUoiSNJFTvPxnD8uWq0VOUnYLEOjf+ps2HMfrULq147A6U2fznmWBLzUMmjDVuDhfLBlt95dgaXQmn0fz+HqaTRsUbE5etqPIzox36kRgO4/ekOJOcTi/K5LysjEEs39cByCBGC7v8hjtGoitUNMk5vq0ezRU8I+ON+ZMMjUFb2ovH185DrWpfrquj5spOYYU+/UI81TRLG4uSR8zGwUmaF4aeP+pGZJPh2e/DcV9kK8MWsxDd+UqJRwmgsg1cuzJASy69W1VgYkSGCD43AxfD7y7c898/FlgIsoLlKxtdbfeQJmTxBSlwsrATDTw3eg+ewecM+vCMKLCqxpUHkwg3yxMBwDB4aenmS4qNOzmDmk13ITIzA3dGLpoMEX19ezHN/xlJ2EhuF6HUOn4HLUXzpb0UTzR/GkolHaJmwA75XTzkGz/IdVYAFsuV9BH8hmMDB4Sk+hY/6WrC1swbJRAKzakkreHF9sQ/bObBUeJ07J5LhQ4msOHRFPFXVS5vb/u24AraJShTguAKp5LxA4LDpqFHEwXUus+nlh1jRoIwPR3MgG6VJamgXet45A5cvf20zTcuP3YEQPtiwAs1e5+zmmCSGv3vYj8T1AMaO0NqGEta4dtr98wQu/5PE7kuTdGtafIVZiiMc8QDD/32IJqngCDyP96L13fNQGvLHeYbeMzyJsVgaPXRDdHJTO3kif6gtBVxva9sDAn7Aj/QtmqS6CsNzZwx7sq8dPT4FY7MpUibkiCdsKcDwkwcI/jZZvrsXbe//1/K6pe4rsZKUcOHG3AL2XL5jW4myFchOhxHan7O86zGCHyT4xvywMcLrdfbE5xsfpTBy4SYpsffKHXCCl1ss5QDflfEOgb5vk5qfx839LyJxNQD3E73oOGYN3gg5TftKe38N4sbsAja21OCLTV2opVmci/P7QgX2bTIzEfw5sAMrjpyyZHkjvF5nJQ5fn8Bnz6xCkyd/iWF138nUA/pN/dS5c/hrX+6me82JE2jZvh3zcwnMafkd63BWv7209Kj3uhC4G8Xbv98Sl723thub2xqt3dT/JEGTiMG458J7MDIdfH7DtQl4HunAcFcXUsGg6MDb2Ym+8XExzju1L9R38Romk7k9pvYqN4a3rLckPy+JeZ+FC+8iclX/LU5W6IdrbSxVFE27N9lw2BhDiC/iZLNbWIaX3M1hYwwhq/JNc0DsCxVIYqv7NmYKLrfv5FgSM8DSYbSUYc5MAaP8mWxuPmhQFOe2160AONXm6V+uUQICvz273rJIe2Og5W6sNSznMW5lKSDGxNIGhopSoJwHiDLFHL17UBlFpgfpJT1MJ3ZymhSoDHyioEe44kmoZSB+6YPe+pAgRSxf8wAb8psAVj3AzMwu8ysrkuJeR+uH0/97OPGrDGYP0jnkiZWZmf1f1o7IN6awz1AAAAAASUVORK5CYII=",o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAEs0lEQVRoBe1azWtUVxQ/781HkslHzQwpDfkQUUpdaHZtaUtTuhACYtC/wI22FHd+bMSlFNSdIhjcddFNKW0pZlfS0BayEdSFqAjRJMbGfBgTZ+JM8p7nd27ezMvkvsy7yUucAS+898479+P8zj3n3nvembGIy8xMttOhwiVy6RuX3HbwqrVYZE2SRUM2Jc5lMqlxaxX8Hdd109UKWofLsqxZVqLHxszXGngoBMzAbsNtdBrWBI+x29Xu8xtNJLDbGzWohbr3CrxrK8W3A4BtW9SYqqdEQg1fKCzT6+wSOY4bubjIFQD41g+ayLZL3hmrS1KSlZmbX4xciZKUiOYGMw/wfz/M0ldXnsgFGjzURV2sfRceF+3KhwPxCYdDQslhml+ImVq54KKlVwv6v7Pd9GFzXIA/f7Ui/T5qidE/Z3bT1MIyfXn5qfRBhb9/ptGmvv11dOLzFCVi0i3ULe560mVEBr/6lN4igW/+Nr5hRU+u8/TlfdlXqychr9QO8tQUTGcd+ul2TmT98EVK31nDtaamX1aWqukYxGpuaqB69nm4zfk/Xkizi0faqPfjFC29ydPCIoPUlH9H83T61gKlUzbdOt6qaaFnRa6AbhFDtOM4FRfxpzdmxNgj32X0aDXcyHchbJXYbTa1jTIa0502cgXUbLuBrqKZxCJrhffEgP2i2Kac2BYFyoWEfmc0pguyqhRwePusaQu4cW9bDW0z2hYLbDYWcmOmDkTRK6DbRsPGQuJC4SdfWm5bLDQ4sURdv07KBbpSLDT8f55c9oc0hxQmxciFCg7RtUdZ+v1ZnqbfOBIz+WMn0HePdhFCtpMjczSe4w6r9NixdprnffLA4CxzAlwlZlF/d530CXszUuDq4yzdfLqkgh+eKMDwLzuhA+ImAEIc5LCfl3YaNFajtNXZ1N+epFN7w8dBGNNIgd+m8gJgoKeFvs4k0H9daeZEDcrAZ61iBY/GcxfX3T8UPkxAn0rFKBb6ZHhW3OZBbzAI3SIGiDCxUCWwunojCzichPHZXzeefHFtOhbSjrgx00gBHDRhCgK6oLA5TH+TNkYKYAFWWzFSgOSory4VjBRQFgjnRjulptGxJ8FWiA9u7ET4tEy3NssFGrytlO9fLNLMynoXNlOAW1daB942iu/iGKdScIFWuaLNK/FnNk/fTr4kPP3FSIG2es7Gs9P99brgH2MN7eWFBl/lqOv+hFygK8VCawYJeIEFYAm/NYwOsh/ncnR9PldMo3hhgHpCqkWjB7uoPRkX4OMFlRfq5ETP2P4Omswv0557Y3IYKoywiAolpDe/+tNQHi1pm7KpznDcdDHdaBZKnNnVwPGMS78s5mlqhUMGBDUiX7mGCFKkwld+R/PVSwDzrQSf3ZPfMaQKRvCCrBEz+Mm/jaHLumJkgXW9NQwvLwS3OTmByJPjoo409bU0bJgX0gy1htX5RI0F5uFUUmYfVjDaRteMGPCCLDQSuQA81tJRbIVYCHVbKZ7bQAGvRK7AlvJCHirN0z/r/urIXcg/+E7QZWt7J0RGK+O9AtHOp/loHKHwfw9qtAC7zefDUI3i5wOOhmr/zx74ywr+9cE5nZ9rwZ2AEViBGdjfAhPs4mowdpbkAAAAAElFTkSuQmCC",Y=""+new URL("VirtualOutbound-3bb05b70.png",import.meta.url).href,u={class:"policy-type-tag"},G=["src"],E=Q({__name:"PolicyTypeTag",props:{policyType:{type:String,required:!0}},setup(T){const s={CircuitBreaker:n,FaultInjection:a,HealthCheck:c,MeshAccessLog:D,MeshCircuitBreaker:n,MeshFaultInjection:a,MeshHealthCheck:c,MeshProxyPatch:r,MeshRateLimit:i,MeshRetry:g,MeshTimeout:C,MeshTrace:o,MeshTrafficPermission:f,ProxyTemplate:r,RateLimit:i,Retry:g,Timeout:C,TrafficLog:D,TrafficPermission:f,TrafficRoute:v,TrafficTrace:o,VirtualOutbound:Y},A=T;return(h,O)=>(e(),t("span",u,[s[A.policyType]?(e(),t("img",{key:0,class:"policy-type-tag-icon",src:s[A.policyType],alt:""},null,8,G)):(e(),l(m(p),{key:1})),B(),d(h.$slots,"default",{},()=>[B(z(A.policyType),1)],!0)]))}});const x=w(E,[["__scopeId","data-v-9604a2cd"]]);export{x as P}; +import{d as Q,o as e,c as t,b as l,l as m,ap as p,f as B,r as d,t as z,_ as w}from"./index-78599b4f.js";const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAAAVFBMVEXa2tra2tra2tra2tra2tra2tr////a2toAfd6izPLvzPnRfvDYteSKr86zas0Aar4AhODY6vr3+Prx8v2Kv+9aqOk3muUOj+N5t+211vXhqfW01fXvn55GAAAABnRSTlMC9s/Hbhsvz/I3AAABVklEQVRo3u3b3Y6CMBCG4SJYhnV/KD+K7v3f57bN7AFJTcDUmZB+74lH5EmMA5hmjK+pq1awqm5M6HxqxTudPSzssmxM06rUmDp8DFawIYi1qYRdlisTeCtcMAGnAgwYMGDAgJ8GGPDB4B8frepnl9cZH5d1374E7GmX1WVuA0xzTvixA+5zwpc0/OXrVgU5N/yx6tMHGDBgwIABvxmeiBZhmF3fPMjDFLuOSjDdnBJMvVOAb1G+y8PjlUKdOGyHOcpLJniiDfEVC/FYZYA3unxFx2OVAd7sTjZ073msRGB2Yy7KvcsC2z05Hitx2P6PVTEwf9W/h/5xvTBOB76ByN8ydzRRzofELln1schjVNCrTxyjsl5vtV7ol7L+tAEGDLhMWOAw5ADHPxIHXmpHfAWepgJOBBgwYMCAAT8NMGDAgJOw2hKO2tqR2qKV1mqZ3jKd2vrgH/W3idgykdWgAAAAAElFTkSuQmCC",a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAH90lEQVRoBdVaC4xU1Rn+zr2zu8PyEBGoKMFVK0KLFXyiVKS2FFGIhhT7Smq1aQXbuMQHCwRQiBWVUl7CaiuxGoGosSQ0tJuU4qNrpQEfq0AReQisLKK7iCIsO3fO3+8/wx1mdgdmlp3srCdhz8y9597zff/7P4wBhxw50jfW2Pi4ERkhQB+91lGHAerEmFeLotHJprS01ij4oLGxRkR6dFTQmXAZYxoi0eilpqmhYQVEfpppUYe/ZsxKE6uv39fRzeZkglRzMk319cT/9R1eVuixAPazzyFBPG2p/fgA7M6PAd4v5MhKwB46DDnQAPvRPiCFhFiBNB5LXC8giawETPeuQHER0BRDnCRCTfjn9oLpVAJRDSm5ApHITiDiwy87J0lCwToSngfvvD4FJ5GVgLPvXEl8/mW7u0ProhB9QM1IzUnNyqNmDMkhbmEJ3uvWGSiKtCuJrBqQo3TUTw8C1gLNNCF79yfA+jSns85od/C6eVYC9uAXEBKwu+vSSDgHpuQLPbKakMRikI/qXLRR0Oq4oAO3GBpin6uC/Oc94H+7IWd0gbmoL3Db92GGXdJieb4uZCXgNjoeKjVkZiIhH9bCTF4KbK+FML+71M4ZnnHfzcir4M24E+jSKV+4k+/JjYAub06iHzVB22chCNw6FbKdWbmYDjzvdzBXfQs41gS89g7s4pcgX34FXPJN+IvvyzuJDLaQJJf+gdHFRR3OzrHDkGko6vn3AL27JzL1C2vpzIxM6tTjRsCsmAXDpIfNOxCUzwO+Opr+3jZ+y10D4UaqCQ2ZmqFTQ+YuJrhfzYHUHwKuGQRv4SSgpDjx1H6WIhMfha37DBh0ISIL7wU658ecWk8gJJJpVhK/fvQEifnlSRLySYKE7K8Hvn0BIgvyQyJ3E8oEuPm181ly/HkK0Ks75L+bIXOXJ1eYb/SAVzkFpk8vyJZdCO6dnxdzyi8BwjUkYZ6qcKHW/q0aONKYTmLpZJhzejLUksR9C9pMIu8EFK3pSYeO0v41QtFnUodqwn9iMnD2WRCSiD2wsE0k8k+AEreTaB4sQTCkP8CE1nyEJFQTsmUngj+eMLXma7N9zzsB2bQT+k+TGC5kJj7JML15CDLsUqqLitpVm1ilRWIry5O8E9Ak5s25m0mOWfjldbCVf81IIb6mGvblf5GAgTd2OOyGzTj2s6k4Nv5+2I1bMj6T6WJ+w2jKDvLKW4hPr3QFoLl9DPwJ41Lu8uPRRgQVi2CZ4FzU+oLZOqC/aPnBjF784ER4lzOjZxn+jIqKh7Ksye02VS/Tn3JZ2GinptHognMhr70N1HzILi6Ad8VA2GdWszxvgDfgfHgjLke8Zhuwh2W5WPjjWPhdXEbn3ol49Tvw+p/HiMUsfoqRHw1oQzNlKVTq6NkN/qrHAVauOuTVtxDMJDECNN+5iP6xA0Ip+9PugD9yqNNEfMmLQN/e8H9yI9cJmiY+DKu9RrdSRJfNBkpPnrXbTiAVPDf0lzwADCxz4MM/qoXgwSdpTjzJIHgtnxyJqXfC/8HV4TI3B4tWIKiqhkSLUDLzbniDL0673/xL25xYzYaSx7qNQNdO6eApSflgt9vPXH8Z/NkTYPr3Q2TWBHijrnHX44tXpuEJFi134DWH5AJeHz59Agq+YgmE4EUlzwyblDzBxx/5C+J3zYGtfteB9IZfhsjTM2A6RxF/hYR189HfdbP+CRYuR7zqDSbAIhTPJMkskg8fPD0C7L5kaiWsgu/aErwleGGY1LLadCkN93Jz8PzfXbTxaP+RCT9KXCN4ZzYlCp7RZ/CAtGdO9aX1BJoCyLQnIW+8D9ODDluZInnupOAtwUtpCfy55TCDmY1ThjegzHVs8Q2bYLfvTUj+H9UwNBsXOlsBXl/bOidubII8tAzy9lZIpyi8ub91dh3ik4efQXzNvxk1ovDnTWoB3q1jOI3N/hPsmzU85WAHx+gkKvlZ6rC5Sz7cM3cNaI0zaxmwdTcsy2VvwT1p4O3vFTzNhiHP/0NLyYcbKuiimb+Bdy3LCB7VtAW8vjM3DRxmG/jYctYs7HspXUy/Habf2UlM9rHnICydNYP68wh+yKlDn3tQNTH3Wfijh52W5MPNsxPQ0+n5LwD72A4yguD+n7PHZT1/fMSfeBGympJng+8/MjE38OHDeZhphKcY2rgvWQUcYp3CGt+UjwdYz4fDPr0aWMuQyP7Wn0at5CL58OE8zScnoM35sjX8H0x2VDxhMHfd4oqucF/7fBXA0kFYMvjlP4a5MnvhFT6bzzkzgQMHISvXwrCb8s7sytOGMQDncMhL64DX33Xp3v/lGJihg8Jb7T63JFBXD1n1OsMb20F2U/KLH7Ko6pIE5py1miGQp9Nm/CiY6wYn7xXiQxoBqf0U3j83uCNzq6dst91A8DwyD0fVesibmxJHJTdeDe/6IeGdgs1JAnqAa9ZvgejJG4/RzbjhaYdPWvNg41ZKPgLzvSEwN1xRMNCpGzsCsmMf8N52l1S01jVjr03E++MrRU2mZgeMauXKgTAj00vg1Be292cPH+xtMDxV1ipR7d7cel0aeKynyWza5Qoz4bGgGdVxwLOtqPPMtj2eZldhkWbGDqN9F50QIk1Gtu11ZoMytok3Jer4EwsK+0l/9OFFxNxhDh+NmdFD0w9rtY+lX+gBrvQ+E2YMyXWgoT/2cL9YUUzNf24j79Pe93zizmiEJYK5mT7RQYaaTerPbf4PGwFZsK8ONooAAAAASUVORK5CYII=",c="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAEj0lEQVRoBe1aS28TVxT+7ngydhwnPGISTBKHEB6iUtOWHTvWqCtKqQhISC2vBbCpRDf9BUgsgAWbdlGppWqlSl1UXfMLCmXRqgXUxmCclOCWxI4Tv4Zz7s00BntmLh4rTCSfxJ4755458333fHfuTTQCZFOHTo+ijCs2cAi2nWJfaE2InABuw8Lle7e/eCwYvL2CXwF7a2hBtwQm8iKKdwwe+Y0HnhnRgBN2Q8qmJcPwOxm7EXrNe40jzVfDq38j9HUJvOkqdSvQrUDAEeiIhGaPH8bsyfe1oWQuTuPxhePa8V6BplenTl85tQ2l9A7YMUsnHMsTIyjtm9CK1QkKXIHC3nEI2l3RgqhzPzw/sB/g+A5ZYAKlPTsVFMnCH1Xx3f26XP2TUUQgAuXhJKr9fQqQRgVYPpUtA7IANvQq5sciEIHi7jHKb5OE9DQh5SOvoGs6pKNABJYn06tAaDQ1SLB82DoFnnO1TaA8NIhqIo7IQkFLDI58zPx/WvEMTsfaJlAiPbPF789oiWHxPTX6A3f/kPGdmQEBKlCaGJUE+oiANJ9JvEAEeOL23/ldHvVmjUrt9d1WBSrJLaiRfMzCEqzcU8pPcDzmAMunSk8f699FxP7KqngvVK/R19ZKvDy+Qy5cvQ8z8la2xuhzII8+m9foF9+axOz0YRm3/dbP6PvtoWy7fZm1iIV6tAd1i4+W3BLUrR7Y1Jb+1T7eKqg41ccajj94JPPy4DskaoleZM8cRYmeUGyO1hm0Q6DRz5XMnj2KpV1jTcSYyOTnNzjc1Uw1eCwBpQIFhNWqfvhKCZDPZbCQoGK5eVhz82uJKYjBPDp/DFwhBswZnEcmT3YlnzV/jRbBzKVplFNDTeDXEnu3TLNeBpb44x3o20vksh8fQYU2d1GaF+nr3yBCc6SVOaQyl05gxYm/9rWMf1VCra5v9LU1BxoT/N+mCpSHB2HNzmP05neu4J14ltZKKqnIroLnPta8n2ycHHzsHAGqgPXPM4x8+QOBLzXeo6ntSMsiGaYbwDcFajg6QiA6k0M9EQM/NSJFb/CMqe/PDD0QTKrU976V8uMg3j74ifOg8IsNZX9bC1mYmHQJvOlqBJ7EcUPgw8EELFq5vn1WQKHmPaX6IwIXhzdJ3jfmnmPRJ95vgAJJqJfAf0Tgx3pMpGn7cW5oExIE0M0Y/GepzdgT65EfbrPvVZuKW7g6vlV+uO1lYurgWTtmGHIEo7QYxYhSlM6jlJf9UT6nNvtiBFj5+SjUNeRbrNWpLTBmRSiOc6h8bjfOlquya8TyEQDdN1+t4dOZvFsqXsjU3ob/rqVfMv5iGaijbdORO2ihUlshiqdu5RZ4Uqnix3wRBsWcSiawj/8/xAEqGSd8ye4vV8DS4e3EheEBWYmXAl7zJJTrAMvm1LaEpPLV0wLu8V7NxUJJwAVrS3egSdwy4zo7uwTWecCbbtetQNOQrLPDoOd1bp3v2bnbEXZaN+nFiQ1qjJ3WfFymZdN9rQ4tOcJM2CNzf/+ysH33gVuiLlIkpyTh7Q8tZgbGr9sI8RO9qfIBv27zAiEVYZQrGIvuAAAAAElFTkSuQmCC",r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAFt0lEQVRoBe1aa2xTVRz/3d7bBytdXddtbIN1sId7IG4yHhGICxluMohOAkGChhiMih/8IiSERImRaBD9YGIkGg0xypwo8YkajGyikxqemziyDbbhBoyN7kHLStfb6zm3u01v1zvaritrwn9Zz+Pec87v//j9z2lzGBBZYHpyttMt7IWAcgFCOu2brsKAuQoG9TqO2dFkO9zNjIE/JwiCabqCDoaLYRgbUeJB1qgu2E/ALw720jTvm8ELSOdo2EhAy6vKpKpiWf/zSdmzUMbIBgQ0IpnPN4ZgV033mA/QV9ak2Jk8wxOCrDfOGqo4wzsObtwrwMWahD4CjtlysuvHvQfukXgcq2LcEfchxPkbTIlQgcTzHzOV9VDwxL0HYkLiIn0qNqQVoyDBjMN9/+Kr3hZ4yF80ZEoVeNiYRYAXYb4+TcQ6KnigZlS44OjD25cb0eUcnLQOUVeAAlxlysH61PmYo0sUAbbeuoG63vM4MXwZm2YtwMa0B+Ahynx+rRm115rAkyNxpMI8t/6NoKMjIW4Cq8YnhY/DrNaLeKzDPfiytxnn7L0yfLkzkvCKZQVo2T4ygH1df5DSJnsnsKFE6KiSOJHViOA7SGhsbfkOuy7+Og48BUZBv3Thexy4ehYW4qX3C9ZgS3pJIOaQ2lELoXlJGWB5Hh/kVOH4UBf6k41ovdGNo5dOTQjEojNiZ/Yjojd2tB/F6ZtXJnw/8OGkPVCanovd5c9g76qtMOuN4vxqqGBzDuP5smq8Vv400vT3Ba7ra3c5h3Bs4JLY1rOybcn3zkSVSSmwMCMPu1ZsQq4pEz+2/Y2OQW+scwyL2uZj2Nd4CFnGVLxT+SJW5yl/7XZ5vClVzYSvgGyEElGCEZr8vAGDJkE0zusNn5Jw6YFWxYptTuW1y4nuFvxzvRPPllaS/ypkJprx0akj4wzqJhmJCsswsmeh4AnbA2pwWKbOx079Wrg9vLigATps1C0FJ3jtwZFUKondNYL3rN+IihSnZEvdspIXvPPQFByuyDwQzNKBE27Xr4ZJNRNnRzt9CrgYD7JYM+7nvL+JccQ7geLi3ZA8E/iMbnBU/BWn7VDwhK1ykkqPQ04rPnM2+hTwEAXedfyEi+7rsPOjyCb5vTI5h2LwCfUWq2BhXvBuRSzhTrgStgI8sZa080khxJHs4Sb76ZBwC3s6GnDT7cL2rOV4M6cCKWM8cXvcYMc44g/SwGlRYpgldmnGuOP//E51xe/ESu7jySGMI2mSytBth1hWzC1Fu60HDpcTS/hivNrWgOq0HKwx5+Pjghp8eOUkTl5pQx7JVpKka2diXUoRHkvOF8lPw6hjRPlspERodmHxyt3SpP5lZ3vwDaVcU4hOTx+6+BsYdNpBSVqZW4aKeQ/hmt2GW3YnEqDFFwNn0ESOEKWGdPFsZOQZ7G/5DSZWi22zF+HlOUtRSE6pThJa9IS6p+P3CY8T2bkZ/vB89bB34s26ZSjiMvDt7dOwjl4UJ0qbacK2RWtRnGLBn/+dx4HTv8AljIpK9Qz2YzGXhJqUAtBYl4h63eXA1wT4kf42jHhGfYDCrYStAM3/yzX5qNaUoJPvQ91tKzQkqCxsMpKyTNi8oIIA5UnGYaHjNOi+2Ye3jtfBTFLsC5llUBEiU+D1to5JnUIlRcNWQBqYTFLpBt0SzGVTCHwWAx4H6px/waZ1YkvJo9CrdWR3tpLYb5WGTEkpU0CJKEqEpohKOQv5ZHDO3UXoLeWn6GANBY9sI4tk2TME+N0UmQfuJpBI1w57I4t0oakaF/cKKO7EoVoskOBKxJPmC/d9aZxSGfceuEdiJdfGqj/uQ0i2kd2JgNSq0SZhJPP5j1GJdw9i5e8or0OxM/mJNQfJVYOnojx3TKYj9yVqVfTWB704EZMVo7jI2GWPHWzvSMtwpr7oIL04QVxiJmsYorhO1KcSw4ZhfiCGX0ev2/wPquz9nGykU2YAAAAASUVORK5CYII=",i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB5CAYAAADyOOV3AAAFOklEQVR4Ae2dP2tUQRTFp7S385MofgRFiGBhKr9GuqBiI9iktwosCAnRLo0g8Q+ojSaNBomumESTIAqSLiPTTc4k7+bmztudu3sCAztv7p137/nNebtuREMIIXz9eXBluLO/NNzZe8sxCRrsL23tHlxObMP33b3ZzeHO0edv25FjcjRITBPbsPXj12+CnRywOcvENtC9kwk3gU5sQ048vf7775DDsQbIswAc+eNaAQJ2jU8unoBljVxHELBrfHLxBCxr5DqCgF3jk4snYFkj1xEE7BqfXDwByxq5jiBg1/jk4glY1sh1BAG7xicXT8CyRq4jCNg1Prl4ApY1ch1BwK7xycUTsKyR6wgCdo1PLp6AZY1cRxCwa3xy8QQsa+Q6goBd45OLJ2BZI9cRBOwan1w8AcsauY4gYNf45OIJWNbIdQQBu8YnF0/AskauIwjYNT65eAKWNXIdUQD+c2sm5iPemY2mIcnD/bsVMuqTs0yvQ7wQYtXRXb79XtxfpSEB4wH3foCgHwIGQSS+5qeddAOsxzgPOwsLMR9xsBhNQ2qA+3crZNQnZ5le89/o6Jbb3WrxKRovuOuIBR9TAHnSwcfk8T8hYP8MOzsg4E55/C8SsH+GnR0QcKc8/hcJ2D/Dzg4IuFMe/4sE7J9hZwcE3CmP/8WpAzz7cCnm48bdQaw58r3T63H/TB3gcG0+jnIQ8IgVGCXcdK9x/9DBPTuagEesADr43uBFrDlwf217+B5unV+fX4z5mPjfJiGA95vbsebA/bWAMb/6HJ/Z2gJbj0fBasJNe+H+Wj0wv/qcgG2ORiAErFXAGI8AWnfwo5U30TLmHq/GfPA92PiejAdIex4x33oAl9c+xnwQMAFrz2Rb8bUdgg7D/bXdYz7ur53n7k2v6WA6WHsm24qv7RB0FO6v7R7zcX/tnA42OhYFR0AErFXAGI8AEJB1jvtry8V8az2Fg/PvLdNr63ehmK9tuHZ8bQERAO6vrR/zcX/tvACMN6g91zZcOx770QomxeP+2voxX7qftE7A0/YejCeo9lx7omvHYz+SA7TruL+2fszX3h/jCwfn31um15bvQVMuFqxtGN/DrXOsBwWxznF/bb+Yb62nAIwXrDfAgq0N437WubU/zMd6rP3i/to58gx4QbshxtduGPezzrFe6xzrIWBBARSs9twKFPOxPqG9YhnzcX/tHA3bvIOtnwkwXyuYFI+ACoLCBcyX7ietuwMsNTTudQQk8CyWMd/aDwFP25+Dkbj1BOGJLI6scAHzrfX0nY/1Cu0Vy5hvrRd5Nv8ebG2473wEVBAULmC+tV4C5iO6rb9Gaj3RfeejAwXDFsuYb62XDqaD6WCNi9CBhUWFC5ivufdJsXQwHUwHn+SM066hAwXDFsuYf9p9znqdDqaD6zpY+/vc2if6rCf/vHFY77j7HbmDUQDt/LzCjypP248Ub62bgHt+REsApXUCrgzIKqgETLturad3B+PvX61za8N951v7w3xrvb0DthbIfNuHXAJu7BFf+0ATMAHbHhG1TyT30/Ggg+lg3Ymhw9rSiw6mg9s6kXxC6HjQwXSw7sTQYW3pRQfTwW2dSD4hdDzoYDpYd2LosLb0ooPp4LZOJJ8QOh50MB2sOzF0WFt60cF0cFsnkk8IHQ86mA7WnRg6rC296OBpd/Dqu0+Rw68GhYNXXq4f4UXOj//fQ171SGzD8tr60GsDrFs6iOvDcPP+k5mnrzYOKZYklq/1xDSxDWHmwcWr84NLz15v3H7+4csch38NEsvENLH9DwLs1co+Fv2iAAAAAElFTkSuQmCC",g=""+new URL("Retry-8b2ec896.png",import.meta.url).href,C=""+new URL("Timeout-dcabf0f7.jpg",import.meta.url).href,D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAABYklEQVRoBe2av0oDQRDGZxbRxhfwDRI0NhKtRAhWPkM6Ex9KTOczWElArBRsAuEeIS+QRpvJfJdcqkWRLWYH5or7s7N797v59j4Odph2m4hw//xywsT3JHQqJMddrIajcq2Jaalcs2bx+cTMAi7Grn9xfSI/388kMsJ19RvznA+Pxs3X+yoh867gkV1NNJjBzr3BcKpT5rH6rOcAmR5SO+dzQQdtYE/4YB2w5hGVPdXmNnnSfCvYUz7kpzVewFor9woc/DeDb/OXX4fcjO728b/67jsWnLhXgHtnw/anqCAJpkPdKxAvYDp/9OHhQtYKhAtZKxAuZK1AuJC1AuFC1gqEC1krEC5krUC4kLUC4ULWCoQLWSsQLmStQLhQKFCYAaxSrgvvYTYc7AnL92YEpQ9WdqxSzkrvYzUe7Lwt8rh6dVMn0WVL6yWaxcdtQtUHCidIG7pY9cddsUfL3sF6LbfZAN5wf/+tIkpkAAAAAElFTkSuQmCC",f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAGRklEQVRoBdVZ629URRQ/c2/b7e62Fii2FBqsSOQZpSEBQkJiSGtMfKFRv0gMSUU+mJj4xcTEhPDJxD9BbaIJflETUfETDZoQNYgiREtBHsHYF9At0H10n/d6frM73Xsvey+zW+22J7l7zsyZOa+ZOffcWUElsG1bTMfjr3NzgGzawrhF8RYJTpCgYbZlcEVr68dCCBt2Cfwkk8mudME6Sra9F+1FD0KcbDaN/dFodMJA5JeU8YguBxo2w3YRm5k5yFvmw0Uf9UoGCnrD4P6BSrwl0jcgYndn4mzsYjuwuvFLYAWWqvFwsqVB11W/cZZl0e9/XqKr10cplc74DavYH2kO0SM93dS7dQMZBmJZPczbARj/x8Wr1WvmGXBYzd3+2KaaZMzbAUQe0LdnB3V3dVRlxOjEDRo6dUauXq0O1LZuDjPVtqnWeIjo7uqUkpQMh1htct4OaGv6nwYueQe0zsDgF9/5xs/05VTHCNIx8PLTvsK0HECKQ7qsCmJ3iD47RmL4LznN3vIo0av7iNqXVSXmfulVy4GmBpPSWYv2P99PoaYmlwGffH7c1ZYNNl688z5RIjnHEz/+SnR+hOwP3q3ohDfKmWyWjn59gqA7CLTOQDQaljLiidkgWWUeR95p/BwDDoGnAUqX0u03RcuB9rY2OX/85pSfHFe/2jauzlIjiOccr3Qp3U6ek9ZyQOX4kWt/cykuP4ScMv5zGjqgC6B0+ynRcmAtv2Ej4RDvilk6N3LZT9Zcvzywcy03EcRTI6EDuqATuoNAywHTNGjXtq1Sztnhy3Ty57M0OnnLv3hDtmmJ3qsXfeBVALyNIROyoQMAndAdBPge0N4TF65cp9PnLpDl2EZmiT7wyjNuPZppVGWxgpCf51KGwfTObZtp8/oet8wKLa00quZB4OrOlQRHxidjvAKzZOXyiu3GyPdvHeCvVT1o5HQZaQ7T6lXt0vBlrS1aE6tyABIheHdvcTuhrSIIej7w2gtP1TQ9eIPVJHJhJ2mtQFCdEvye1HcmSIf3Le2UquVALbXQeOo2HfntS/pp4pLUt7trAx3e/hKtjix36r8vXZdaCMY/8c0RupMp10JfXfuFvh8bph+eO1zRCW+U61oLIfJO41WY0QeeDtStFsoUcnR67CKFbIOa+VFY0afHLlGu4JN6HZ7VpRZK5TI0NjNFhjDI5MeJQRcfQf/wmGyAE3WphRLZWZpMTvOLy6bejh6+5xHyrqeM2Snu6+14mEdYNJGIUTafc8S8TC54LZQRebqVust39Ww0R/rQpiepLRRlutguYiH7Dm3ql2NQjkzyYbdK7+q61UJ5ylHOKNCzfXvKIWTqVjpOH10covNTxbL48ZUP0cGNffRgc6tr3PETpyhsNZHNjitYsFoomU5RhiNpyMijGMOD6kdQZ7iN3ut90dHHpIOPFsYK/t7GCkaMMEUXqhbatW0LxWbjfBBz9O3QKTakuFWkTdLIIlU0GHS50vTSiDbY/f07qD3cSiGzUU3WwlpvYqekAt9OTKcTlLcKpaxSXHrs/VpAzcP5uZ1O0nI+O6EGfSeqcgD5+25mVn5WIk1isygMQ8obqLIrxc1V3GQYgfFqHuQAZjibPcBY1wntsMF4CId6lVVMXv5IKMROCIrFbst+0IrvxYoHjGeK5wBDhhoLp5CSsT11QGsF0pyv8ZLCMvPfmy65a9esoit8Q32G73xqAawAZKitpGQks6yvSVCjGWxiMJelpTkScMCrQCnavH6d5I2O3+TLr6zqrow9e6y5sYm613TQxnU99wQGAlKsN8I4yInAb2IYLl/57qBXNk6n13sIvHM8Dip2mDOTnxNYgQQ/rg9Q6EFRlretmv/6UcpdWAVCYRez1KjAy3DGE1yGNIh7Pp8SDbyth/lc7lSyYHyaDywuG/y2jRq7kDhb4MtlvmJpcJ5Bth0rMMiPdAD1CaKOIHgPK4zFIUaxBgxQNHBtADmYq8Ku6Mry8O4RhikzV0nfoMDf9dPxxBBfn+8tIOwMarpXfGlS3RFSrmkYJ1e0tvTxigh7aibzJoncp/wvwI66W6djgDDO5A16G7aLGwm7k89HN+YZVmofR5/v/ux1fP2GDHYfmO8aYa2VDKhSNLAHDJFiu65x7I9ZhnmsyG0c/xfNI5E629R1xgAAAABJRU5ErkJggg==",v="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAGKUlEQVRoBc2aX2xTVRzHv/fe/tnf7h+bG24y4yBZJAETTBhGQ5BKiMYXnoY8EEgw0RDBGYJvxAeNcyLEFyUGjaI88WIMREGsJmSgD0CiWXSDQFbWSV3XtVvXru29/n6n3HE7u97b3gv2JLc9vT33dz6/f+ece+6VQGUqoXWqanoQ0DZDQwefK1TajnrE6btvLhT6++GckxACpIAsuw+11EhBF8Nr2fR1gm82JZBU0yYPvIEwsNZPzNuIfZ3rnuXN4YlMYgUk6YEzWulAI4NrFDUuETZWrmAFZM1iy4fVTNssF4v5pRiSxApUQBjpYBROsl639E0hJCuV5YWSFJC4dSUkssHalAPWi8ThUxk5vAgtheMp05iQCbrWoyCSytE3ezXMLWShml652E/Rii7freQCIp1VLcs3VYCFN9a4IS8ZPlVNQzSRtq2EkF9N8rliKCpZJzpvLt80B9jyDP/jWAxPHftDHFznc/yf3SLkE/zc6Dnc+rBLHFxnhazIN/VAM1ufhDF8KJ4WvB31blw98CTYShHygp2iy2f4bCwoRCm+TnQPjCMTD+H20EpIbCc6+DuvThls6gE7cE5cS5FKU9X9scOYdvyfqQfqvQq8bkWE0FvfjQumoZe68HyPD7FUFgvprC3OOiWDquoaEULhb/cJWa0vn0Dt6u1Ikew49VGsmCrAuVUoiSNJFTvPxnD8uWq0VOUnYLEOjf+ps2HMfrULq147A6U2fznmWBLzUMmjDVuDhfLBlt95dgaXQmn0fz+HqaTRsUbE5etqPIzox36kRgO4/ekOJOcTi/K5LysjEEs39cByCBGC7v8hjtGoitUNMk5vq0ezRU8I+ON+ZMMjUFb2ovH185DrWpfrquj5spOYYU+/UI81TRLG4uSR8zGwUmaF4aeP+pGZJPh2e/DcV9kK8MWsxDd+UqJRwmgsg1cuzJASy69W1VgYkSGCD43AxfD7y7c898/FlgIsoLlKxtdbfeQJmTxBSlwsrATDTw3eg+ewecM+vCMKLCqxpUHkwg3yxMBwDB4aenmS4qNOzmDmk13ITIzA3dGLpoMEX19ezHN/xlJ2EhuF6HUOn4HLUXzpb0UTzR/GkolHaJmwA75XTzkGz/IdVYAFsuV9BH8hmMDB4Sk+hY/6WrC1swbJRAKzakkreHF9sQ/bObBUeJ07J5LhQ4msOHRFPFXVS5vb/u24AraJShTguAKp5LxA4LDpqFHEwXUus+nlh1jRoIwPR3MgG6VJamgXet45A5cvf20zTcuP3YEQPtiwAs1e5+zmmCSGv3vYj8T1AMaO0NqGEta4dtr98wQu/5PE7kuTdGtafIVZiiMc8QDD/32IJqngCDyP96L13fNQGvLHeYbeMzyJsVgaPXRDdHJTO3kif6gtBVxva9sDAn7Aj/QtmqS6CsNzZwx7sq8dPT4FY7MpUibkiCdsKcDwkwcI/jZZvrsXbe//1/K6pe4rsZKUcOHG3AL2XL5jW4myFchOhxHan7O86zGCHyT4xvywMcLrdfbE5xsfpTBy4SYpsffKHXCCl1ss5QDflfEOgb5vk5qfx839LyJxNQD3E73oOGYN3gg5TftKe38N4sbsAja21OCLTV2opVmci/P7QgX2bTIzEfw5sAMrjpyyZHkjvF5nJQ5fn8Bnz6xCkyd/iWF138nUA/pN/dS5c/hrX+6me82JE2jZvh3zcwnMafkd63BWv7209Kj3uhC4G8Xbv98Sl723thub2xqt3dT/JEGTiMG458J7MDIdfH7DtQl4HunAcFcXUsGg6MDb2Ym+8XExzju1L9R38Romk7k9pvYqN4a3rLckPy+JeZ+FC+8iclX/LU5W6IdrbSxVFE27N9lw2BhDiC/iZLNbWIaX3M1hYwwhq/JNc0DsCxVIYqv7NmYKLrfv5FgSM8DSYbSUYc5MAaP8mWxuPmhQFOe2160AONXm6V+uUQICvz273rJIe2Og5W6sNSznMW5lKSDGxNIGhopSoJwHiDLFHL17UBlFpgfpJT1MJ3ZymhSoDHyioEe44kmoZSB+6YPe+pAgRSxf8wAb8psAVj3AzMwu8ysrkuJeR+uH0/97OPGrDGYP0jnkiZWZmf1f1o7IN6awz1AAAAAASUVORK5CYII=",o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAAEs0lEQVRoBe1azWtUVxQ/781HkslHzQwpDfkQUUpdaHZtaUtTuhACYtC/wI22FHd+bMSlFNSdIhjcddFNKW0pZlfS0BayEdSFqAjRJMbGfBgTZ+JM8p7nd27ezMvkvsy7yUucAS+898479+P8zj3n3nvembGIy8xMttOhwiVy6RuX3HbwqrVYZE2SRUM2Jc5lMqlxaxX8Hdd109UKWofLsqxZVqLHxszXGngoBMzAbsNtdBrWBI+x29Xu8xtNJLDbGzWohbr3CrxrK8W3A4BtW9SYqqdEQg1fKCzT6+wSOY4bubjIFQD41g+ayLZL3hmrS1KSlZmbX4xciZKUiOYGMw/wfz/M0ldXnsgFGjzURV2sfRceF+3KhwPxCYdDQslhml+ImVq54KKlVwv6v7Pd9GFzXIA/f7Ui/T5qidE/Z3bT1MIyfXn5qfRBhb9/ptGmvv11dOLzFCVi0i3ULe560mVEBr/6lN4igW/+Nr5hRU+u8/TlfdlXqychr9QO8tQUTGcd+ul2TmT98EVK31nDtaamX1aWqukYxGpuaqB69nm4zfk/Xkizi0faqPfjFC29ydPCIoPUlH9H83T61gKlUzbdOt6qaaFnRa6AbhFDtOM4FRfxpzdmxNgj32X0aDXcyHchbJXYbTa1jTIa0502cgXUbLuBrqKZxCJrhffEgP2i2Kac2BYFyoWEfmc0pguyqhRwePusaQu4cW9bDW0z2hYLbDYWcmOmDkTRK6DbRsPGQuJC4SdfWm5bLDQ4sURdv07KBbpSLDT8f55c9oc0hxQmxciFCg7RtUdZ+v1ZnqbfOBIz+WMn0HePdhFCtpMjczSe4w6r9NixdprnffLA4CxzAlwlZlF/d530CXszUuDq4yzdfLqkgh+eKMDwLzuhA+ImAEIc5LCfl3YaNFajtNXZ1N+epFN7w8dBGNNIgd+m8gJgoKeFvs4k0H9daeZEDcrAZ61iBY/GcxfX3T8UPkxAn0rFKBb6ZHhW3OZBbzAI3SIGiDCxUCWwunojCzichPHZXzeefHFtOhbSjrgx00gBHDRhCgK6oLA5TH+TNkYKYAFWWzFSgOSory4VjBRQFgjnRjulptGxJ8FWiA9u7ET4tEy3NssFGrytlO9fLNLMynoXNlOAW1daB942iu/iGKdScIFWuaLNK/FnNk/fTr4kPP3FSIG2es7Gs9P99brgH2MN7eWFBl/lqOv+hFygK8VCawYJeIEFYAm/NYwOsh/ncnR9PldMo3hhgHpCqkWjB7uoPRkX4OMFlRfq5ETP2P4Omswv0557Y3IYKoywiAolpDe/+tNQHi1pm7KpznDcdDHdaBZKnNnVwPGMS78s5mlqhUMGBDUiX7mGCFKkwld+R/PVSwDzrQSf3ZPfMaQKRvCCrBEz+Mm/jaHLumJkgXW9NQwvLwS3OTmByJPjoo409bU0bJgX0gy1htX5RI0F5uFUUmYfVjDaRteMGPCCLDQSuQA81tJRbIVYCHVbKZ7bQAGvRK7AlvJCHirN0z/r/urIXcg/+E7QZWt7J0RGK+O9AtHOp/loHKHwfw9qtAC7zefDUI3i5wOOhmr/zx74ywr+9cE5nZ9rwZ2AEViBGdjfAhPs4mowdpbkAAAAAElFTkSuQmCC",Y=""+new URL("VirtualOutbound-3bb05b70.png",import.meta.url).href,u={class:"policy-type-tag"},G=["src"],E=Q({__name:"PolicyTypeTag",props:{policyType:{type:String,required:!0}},setup(T){const s={CircuitBreaker:n,FaultInjection:a,HealthCheck:c,MeshAccessLog:D,MeshCircuitBreaker:n,MeshFaultInjection:a,MeshHealthCheck:c,MeshProxyPatch:r,MeshRateLimit:i,MeshRetry:g,MeshTimeout:C,MeshTrace:o,MeshTrafficPermission:f,ProxyTemplate:r,RateLimit:i,Retry:g,Timeout:C,TrafficLog:D,TrafficPermission:f,TrafficRoute:v,TrafficTrace:o,VirtualOutbound:Y},A=T;return(h,O)=>(e(),t("span",u,[s[A.policyType]?(e(),t("img",{key:0,class:"policy-type-tag-icon",src:s[A.policyType],alt:""},null,8,G)):(e(),l(m(p),{key:1})),B(),d(h.$slots,"default",{},()=>[B(z(A.policyType),1)],!0)]))}});const x=w(E,[["__scopeId","data-v-9604a2cd"]]);export{x as P}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-5c4d11ef.js b/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-5c4d11ef.js rename to app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js index f5b1b07d69f6..cfe75ee75f74 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-5c4d11ef.js +++ b/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js @@ -1 +1 @@ -import{C as k}from"./CodeBlock-13aedd48.js";import{C as B}from"./CopyButton-60165c43.js";import{d as T,k as K,H as M,z as w,a as g,o as q,b as R,w as l,e as m,l as p,f as x,t as S,r as E}from"./index-6594470f.js";import{t as F}from"./toYaml-4e00099e.js";const z=T({__name:"ResourceCodeBlock",props:{resource:{},codeMaxHeight:{default:void 0},isSearchable:{type:Boolean,default:!1},query:{default:""},isFilterMode:{type:Boolean,default:!1},isRegExpMode:{type:Boolean,default:!1}},emits:["query-change","filter-mode-change","reg-exp-mode-change"],setup(h,{emit:b}){const{t:i}=K(),t=h,c=b,_=M(()=>f(t.resource)),u=w(()=>{});let d=new Promise((a,e)=>{u.value=n=>n(a,e)});const C=async a=>{let e;try{e=await d}finally{d=new Promise((n,s)=>{u.value=r=>r(n,s)})}return e};async function v(){return f(await C())}function f(a){const{creationTime:e,modificationTime:n,...s}=a;return F(s)}return(a,e)=>{const n=g("KTooltip"),s=g("KToggle");return q(),R(s,{toggled:!1},{default:l(({isToggled:r,toggle:y})=>[m(k,{language:"yaml",code:_.value,"is-searchable":t.isSearchable,"code-max-height":t.codeMaxHeight,query:t.query,"is-filter-mode":t.isFilterMode,"is-reg-exp-mode":t.isRegExpMode,onQueryChange:e[0]||(e[0]=o=>c("query-change",o)),onFilterModeChange:e[1]||(e[1]=o=>c("filter-mode-change",o)),onRegExpModeChange:e[2]||(e[2]=o=>c("reg-exp-mode-change",o))},{"secondary-actions":l(()=>[m(n,{class:"kubernetes-copy-button-tooltip",label:p(i)("common.copyKubernetesText"),placement:"bottomEnd","max-width":"200","position-fixed":""},{default:l(()=>[m(B,{class:"kubernetes-copy-button","get-text":v,"copy-text":p(i)("common.copyKubernetesText"),"has-border":"","hide-title":"","icon-color":"currentColor",onClick:()=>{r.value===!1&&y()}},{default:l(()=>[x(S(p(i)("common.copyKubernetesShortText")),1)]),_:2},1032,["copy-text","onClick"])]),_:2},1032,["label"])]),_:2},1032,["code","is-searchable","code-max-height","query","is-filter-mode","is-reg-exp-mode"]),x(),E(a.$slots,"default",{copy:o=>{r.value!==!1&&y(),u.value(o)},copying:r.value})]),_:3})}}});export{z as _}; +import{C as k}from"./CodeBlock-9e7fa2ff.js";import{C as B}from"./CopyButton-752e056c.js";import{d as T,k as K,H as M,z as w,a as g,o as q,b as R,w as l,e as m,l as p,f as x,t as S,r as E}from"./index-78599b4f.js";import{t as F}from"./toYaml-4e00099e.js";const z=T({__name:"ResourceCodeBlock",props:{resource:{},codeMaxHeight:{default:void 0},isSearchable:{type:Boolean,default:!1},query:{default:""},isFilterMode:{type:Boolean,default:!1},isRegExpMode:{type:Boolean,default:!1}},emits:["query-change","filter-mode-change","reg-exp-mode-change"],setup(h,{emit:b}){const{t:i}=K(),t=h,c=b,_=M(()=>f(t.resource)),u=w(()=>{});let d=new Promise((a,e)=>{u.value=n=>n(a,e)});const C=async a=>{let e;try{e=await d}finally{d=new Promise((n,s)=>{u.value=r=>r(n,s)})}return e};async function v(){return f(await C())}function f(a){const{creationTime:e,modificationTime:n,...s}=a;return F(s)}return(a,e)=>{const n=g("KTooltip"),s=g("KToggle");return q(),R(s,{toggled:!1},{default:l(({isToggled:r,toggle:y})=>[m(k,{language:"yaml",code:_.value,"is-searchable":t.isSearchable,"code-max-height":t.codeMaxHeight,query:t.query,"is-filter-mode":t.isFilterMode,"is-reg-exp-mode":t.isRegExpMode,onQueryChange:e[0]||(e[0]=o=>c("query-change",o)),onFilterModeChange:e[1]||(e[1]=o=>c("filter-mode-change",o)),onRegExpModeChange:e[2]||(e[2]=o=>c("reg-exp-mode-change",o))},{"secondary-actions":l(()=>[m(n,{class:"kubernetes-copy-button-tooltip",label:p(i)("common.copyKubernetesText"),placement:"bottomEnd","max-width":"200","position-fixed":""},{default:l(()=>[m(B,{class:"kubernetes-copy-button","get-text":v,"copy-text":p(i)("common.copyKubernetesText"),"has-border":"","hide-title":"","icon-color":"currentColor",onClick:()=>{r.value===!1&&y()}},{default:l(()=>[x(S(p(i)("common.copyKubernetesShortText")),1)]),_:2},1032,["copy-text","onClick"])]),_:2},1032,["label"])]),_:2},1032,["code","is-searchable","code-max-height","query","is-filter-mode","is-reg-exp-mode"]),x(),E(a.$slots,"default",{copy:o=>{r.value!==!1&&y(),u.value(o)},copying:r.value})]),_:3})}}});export{z as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-2317a0a8.js b/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-43621842.js similarity index 71% rename from app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-2317a0a8.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-43621842.js index 0b383188ff01..1f9e63ed16d0 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-2317a0a8.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-43621842.js @@ -1 +1 @@ -import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-5c4d11ef.js";import{_ as k}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import{E as w}from"./ErrorBlock-eae09ed8.js";import{_ as y}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{d as R,a as n,o as r,b as s,w as a,e as i,m,f as V,t as E,p as $}from"./index-6594470f.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./TextWithCopyButton-e98ec405.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const H=R({__name:"ServiceConfigView",setup(F){return(B,M)=>{const u=n("RouteTitle"),p=n("DataSource"),f=n("KCard"),g=n("AppView"),h=n("RouteView");return r(),s(h,{name:"service-config-view",params:{mesh:"",service:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:l})=>[i(g,null,{title:a(()=>[m("h2",null,[i(u,{title:l("services.routes.item.navigation.service-config-view")},null,8,["title"])])]),default:a(()=>[V(),i(f,null,{default:a(()=>[m("div",null,[i(p,{src:`/meshes/${e.params.mesh}/external-services/for/${e.params.service}`},{default:a(({data:t,error:d})=>[d?(r(),s(w,{key:0,error:d},null,8,["error"])):t===void 0?(r(),s(y,{key:1})):t===null?(r(),s(k,{key:2,"data-testid":"no-matching-external-service"},{title:a(()=>[m("p",null,E(l("services.detail.no_matching_external_service",{name:e.params.service})),1)]),_:2},1024)):(r(),s(x,{key:3,resource:t.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},{default:a(({copy:o,copying:C})=>[C?(r(),s(p,{key:0,src:`/meshes/${t.mesh}/external-service/${t.name}/as/kubernetes?no-store`,onChange:c=>{o(_=>_(c))},onError:c=>{o((_,v)=>v(c))}},null,8,["src","onChange","onError"])):$("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"]))]),_:2},1032,["src"])])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{H as default}; +import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js";import{_ as k}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import{E as w}from"./ErrorBlock-c71bafad.js";import{_ as y}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{d as R,a as n,o as r,b as s,w as a,e as i,m,f as V,t as E,p as $}from"./index-78599b4f.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./TextWithCopyButton-c32acac7.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const H=R({__name:"ServiceConfigView",setup(F){return(B,M)=>{const u=n("RouteTitle"),p=n("DataSource"),f=n("KCard"),g=n("AppView"),h=n("RouteView");return r(),s(h,{name:"service-config-view",params:{mesh:"",service:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:l})=>[i(g,null,{title:a(()=>[m("h2",null,[i(u,{title:l("services.routes.item.navigation.service-config-view")},null,8,["title"])])]),default:a(()=>[V(),i(f,null,{default:a(()=>[m("div",null,[i(p,{src:`/meshes/${e.params.mesh}/external-services/for/${e.params.service}`},{default:a(({data:t,error:d})=>[d?(r(),s(w,{key:0,error:d},null,8,["error"])):t===void 0?(r(),s(y,{key:1})):t===null?(r(),s(k,{key:2,"data-testid":"no-matching-external-service"},{title:a(()=>[m("p",null,E(l("services.detail.no_matching_external_service",{name:e.params.service})),1)]),_:2},1024)):(r(),s(x,{key:3,resource:t.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},{default:a(({copy:o,copying:C})=>[C?(r(),s(p,{key:0,src:`/meshes/${t.mesh}/external-service/${t.name}/as/kubernetes?no-store`,onChange:c=>{o(_=>_(c))},onError:c=>{o((_,v)=>v(c))}},null,8,["src","onChange","onError"])):$("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"]))]),_:2},1032,["src"])])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{H as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-ee879085.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-506c8251.js similarity index 82% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-ee879085.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-506c8251.js index 6fd1d7cfa80b..f7d0df601a17 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-ee879085.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-506c8251.js @@ -1 +1 @@ -import{E as S}from"./ErrorBlock-eae09ed8.js";import{D as C,F as V}from"./FilterBar-b8e0d56d.js";import{S as x}from"./SummaryView-4df08b91.js";import{d as z,a as t,o as i,b as l,w as o,e as r,m as P,f as n,t as k,B as q,p as u,_ as T}from"./index-6594470f.js";import"./index-fce48c05.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./AppCollection-39f5da3b.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./StatusBadge-0fda3dff.js";import"./uniqueId-90cc9b93.js";const B=z({__name:"ServiceDataPlaneProxiesView",setup(R){return($,N)=>{const y=t("RouteTitle"),f=t("KSelect"),g=t("KCard"),v=t("RouterView"),m=t("DataSource"),w=t("AppView"),h=t("RouteView");return i(),l(m,{src:"/me"},{default:o(({data:c})=>[c?(i(),l(h,{key:0,name:"service-data-plane-proxies-view",params:{page:1,size:c.pageSize,query:"",dataplaneType:"all",s:"",mesh:"",service:"",dataPlane:""}},{default:o(({can:b,route:e,t:d})=>[r(w,null,{title:o(()=>[P("h2",null,[r(y,{title:d("services.routes.item.navigation.service-data-plane-proxies-view")},null,8,["title"])])]),default:o(()=>[n(),r(m,{src:`/meshes/${e.params.mesh}/dataplanes/for/${e.params.service}/of/${e.params.dataplaneType}?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:o(({data:s,error:p})=>[r(g,null,{default:o(()=>[p!==void 0?(i(),l(S,{key:0,error:p},null,8,["error"])):(i(),l(C,{key:1,"data-testid":"data-plane-collection","page-number":e.params.page,"page-size":e.params.size,total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:p,"is-selected-row":a=>a.name===e.params.dataPlane,"summary-route-name":"service-data-plane-summary-view","is-global-mode":b("use zones"),onChange:e.update},{toolbar:o(()=>[r(V,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:e.params.query,fields:{name:{description:"filter by name or parts of a name"},protocol:{description:"filter by “kuma.io/protocol” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},zone:{description:"filter by “kuma.io/zone” value"}},onFieldsChange:a=>e.update({query:a.query,s:a.query.length>0?JSON.stringify(a.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),n(),r(f,{class:"filter-select",label:"Type",items:["all","standard","builtin","delegated"].map(a=>({value:a,label:d(`data-planes.type.${a}`),selected:a===e.params.dataplaneType})),onSelected:a=>e.update({dataplaneType:String(a.value)})},{"item-template":o(({item:a})=>[n(k(a.label),1)]),_:2},1032,["items","onSelected"])]),_:2},1032,["page-number","page-size","total","items","error","is-selected-row","is-global-mode","onChange"]))]),_:2},1024),n(),e.params.dataPlane?(i(),l(v,{key:0},{default:o(a=>[r(x,{onClose:_=>e.replace({name:"service-data-plane-proxies-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:o(()=>[(i(),l(q(a.Component),{name:e.params.dataPlane,"dataplane-overview":s==null?void 0:s.items.find(_=>_.name===e.params.dataPlane)},null,8,["name","dataplane-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):u("",!0)]),_:2},1032,["src"])]),_:2},1024)]),_:2},1032,["params"])):u("",!0)]),_:1})}}});const Q=T(B,[["__scopeId","data-v-daea0c6b"]]);export{Q as default}; +import{E as S}from"./ErrorBlock-c71bafad.js";import{D as C,F as V}from"./FilterBar-28a9c29c.js";import{S as x}from"./SummaryView-87032df3.js";import{d as z,a as t,o as i,b as l,w as o,e as r,m as P,f as n,t as k,B as q,p as u,_ as T}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./AppCollection-fab1a627.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./StatusBadge-3f562081.js";import"./uniqueId-90cc9b93.js";const B=z({__name:"ServiceDataPlaneProxiesView",setup(R){return($,N)=>{const y=t("RouteTitle"),f=t("KSelect"),g=t("KCard"),v=t("RouterView"),m=t("DataSource"),w=t("AppView"),h=t("RouteView");return i(),l(m,{src:"/me"},{default:o(({data:c})=>[c?(i(),l(h,{key:0,name:"service-data-plane-proxies-view",params:{page:1,size:c.pageSize,query:"",dataplaneType:"all",s:"",mesh:"",service:"",dataPlane:""}},{default:o(({can:b,route:e,t:d})=>[r(w,null,{title:o(()=>[P("h2",null,[r(y,{title:d("services.routes.item.navigation.service-data-plane-proxies-view")},null,8,["title"])])]),default:o(()=>[n(),r(m,{src:`/meshes/${e.params.mesh}/dataplanes/for/${e.params.service}/of/${e.params.dataplaneType}?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:o(({data:s,error:p})=>[r(g,null,{default:o(()=>[p!==void 0?(i(),l(S,{key:0,error:p},null,8,["error"])):(i(),l(C,{key:1,"data-testid":"data-plane-collection","page-number":e.params.page,"page-size":e.params.size,total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:p,"is-selected-row":a=>a.name===e.params.dataPlane,"summary-route-name":"service-data-plane-summary-view","is-global-mode":b("use zones"),onChange:e.update},{toolbar:o(()=>[r(V,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:e.params.query,fields:{name:{description:"filter by name or parts of a name"},protocol:{description:"filter by “kuma.io/protocol” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},zone:{description:"filter by “kuma.io/zone” value"}},onFieldsChange:a=>e.update({query:a.query,s:a.query.length>0?JSON.stringify(a.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),n(),r(f,{class:"filter-select",label:"Type",items:["all","standard","builtin","delegated"].map(a=>({value:a,label:d(`data-planes.type.${a}`),selected:a===e.params.dataplaneType})),onSelected:a=>e.update({dataplaneType:String(a.value)})},{"item-template":o(({item:a})=>[n(k(a.label),1)]),_:2},1032,["items","onSelected"])]),_:2},1032,["page-number","page-size","total","items","error","is-selected-row","is-global-mode","onChange"]))]),_:2},1024),n(),e.params.dataPlane?(i(),l(v,{key:0},{default:o(a=>[r(x,{onClose:_=>e.replace({name:"service-data-plane-proxies-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:o(()=>[(i(),l(q(a.Component),{name:e.params.dataPlane,"dataplane-overview":s==null?void 0:s.items.find(_=>_.name===e.params.dataPlane)},null,8,["name","dataplane-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):u("",!0)]),_:2},1032,["src"])]),_:2},1024)]),_:2},1032,["params"])):u("",!0)]),_:1})}}});const Q=T(B,[["__scopeId","data-v-daea0c6b"]]);export{Q as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-e5379324.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-9701dc4a.js similarity index 78% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-e5379324.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-9701dc4a.js index 42ab3845a6a3..2c0cfb7c33b2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-e5379324.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-9701dc4a.js @@ -1 +1 @@ -import{d as T,k as V,U as R,a as n,o as i,b as p,w as a,e as r,l as d,m as k,f as _,c as y,F as B,B as N}from"./index-6594470f.js";import{E as C}from"./ErrorBlock-eae09ed8.js";import{_ as g}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{N as D}from"./NavTabs-bb254677.js";import{T as $}from"./TextWithCopyButton-e98ec405.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./CopyButton-60165c43.js";const G=T({__name:"ServiceDetailTabsView",setup(E){const{t:u}=V(),w=R();function b(v){var m;return(((m=w.getRoutes().find(e=>e.name==="service-detail-tabs-view"))==null?void 0:m.children)??[]).filter(e=>!(v.serviceType!=="external"&&e.name==="service-config-view"||v.serviceType==="external"&&e.name==="service-data-plane-proxies-view")).map(e=>{var s,o;const c=typeof e.name>"u"?(s=e.children)==null?void 0:s[0]:e,l=c.name,f=((o=c.meta)==null?void 0:o.module)??"";return{title:u(`services.routes.item.navigation.${l}`),routeName:l,module:f}})}return(v,h)=>{const m=n("RouteTitle"),e=n("RouterView"),c=n("DataSource"),l=n("AppView"),f=n("RouteView");return i(),p(f,{name:"service-detail-tabs-view",params:{mesh:"",service:""}},{default:a(({route:t})=>[r(l,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:t.params.mesh}},text:t.params.mesh},{to:{name:"service-list-view",params:{mesh:t.params.mesh}},text:d(u)("services.routes.item.breadcrumbs")}]},{title:a(()=>[k("h1",null,[r($,{text:t.params.service},{default:a(()=>[r(m,{title:d(u)("services.routes.item.title",{name:t.params.service})},null,8,["title"])]),_:2},1032,["text"])])]),default:a(()=>[_(),r(c,{src:`/meshes/${t.params.mesh}/service-insights/${t.params.service}`},{default:a(({data:s,error:o})=>[o?(i(),p(C,{key:0,error:o},null,8,["error"])):s===void 0?(i(),p(g,{key:1})):(i(),y(B,{key:2},[r(D,{class:"route-service-detail-view-tabs",tabs:b(s)},null,8,["tabs"]),_(),r(e,null,{default:a(x=>[(i(),p(N(x.Component),{data:s},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{G as default}; +import{d as T,k as V,U as R,a as n,o as i,b as p,w as a,e as r,l as d,m as k,f as _,c as y,F as B,B as N}from"./index-78599b4f.js";import{E as C}from"./ErrorBlock-c71bafad.js";import{_ as g}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{N as D}from"./NavTabs-3217ce74.js";import{T as $}from"./TextWithCopyButton-c32acac7.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./CopyButton-752e056c.js";const G=T({__name:"ServiceDetailTabsView",setup(E){const{t:u}=V(),w=R();function b(v){var m;return(((m=w.getRoutes().find(e=>e.name==="service-detail-tabs-view"))==null?void 0:m.children)??[]).filter(e=>!(v.serviceType!=="external"&&e.name==="service-config-view"||v.serviceType==="external"&&e.name==="service-data-plane-proxies-view")).map(e=>{var s,o;const c=typeof e.name>"u"?(s=e.children)==null?void 0:s[0]:e,l=c.name,f=((o=c.meta)==null?void 0:o.module)??"";return{title:u(`services.routes.item.navigation.${l}`),routeName:l,module:f}})}return(v,h)=>{const m=n("RouteTitle"),e=n("RouterView"),c=n("DataSource"),l=n("AppView"),f=n("RouteView");return i(),p(f,{name:"service-detail-tabs-view",params:{mesh:"",service:""}},{default:a(({route:t})=>[r(l,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:t.params.mesh}},text:t.params.mesh},{to:{name:"service-list-view",params:{mesh:t.params.mesh}},text:d(u)("services.routes.item.breadcrumbs")}]},{title:a(()=>[k("h1",null,[r($,{text:t.params.service},{default:a(()=>[r(m,{title:d(u)("services.routes.item.title",{name:t.params.service})},null,8,["title"])]),_:2},1032,["text"])])]),default:a(()=>[_(),r(c,{src:`/meshes/${t.params.mesh}/service-insights/${t.params.service}`},{default:a(({data:s,error:o})=>[o?(i(),p(C,{key:0,error:o},null,8,["error"])):s===void 0?(i(),p(g,{key:1})):(i(),y(B,{key:2},[r(D,{class:"route-service-detail-view-tabs",tabs:b(s)},null,8,["tabs"]),_(),r(e,null,{default:a(x=>[(i(),p(N(x.Component),{data:s},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-aa5e9db0.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-559c67d9.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-aa5e9db0.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-559c67d9.js index 58459dcefb65..6420e3d56425 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-aa5e9db0.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-559c67d9.js @@ -1 +1 @@ -import{d as f,k as y,a as d,o as t,c as u,e as r,w as e,b as i,m as k,t as c,l,X as h,f as n,p as w,F as V,R as C}from"./index-6594470f.js";import{_ as I}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import{E as $}from"./ErrorBlock-eae09ed8.js";import{_ as B}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{T as D}from"./TagList-a4b64f68.js";import{T as x}from"./TextWithCopyButton-e98ec405.js";import{S as T}from"./StatusBadge-0fda3dff.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./CopyButton-60165c43.js";const b={key:3,class:"columns"},S=f({__name:"ExternalServiceDetails",props:{mesh:{},service:{}},setup(m){const{t:a}=y(),s=m;return(g,v)=>{const p=d("DataSource");return t(),u("div",null,[r(p,{src:`/meshes/${s.mesh}/external-services/for/${s.service}`},{default:e(({data:o,error:_})=>[_?(t(),i($,{key:0,error:_},null,8,["error"])):o===void 0?(t(),i(B,{key:1})):o===null?(t(),i(I,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[k("p",null,c(l(a)("services.detail.no_matching_external_service",{name:s.service})),1)]),_:1})):(t(),u("div",b,[r(h,null,{title:e(()=>[n(c(l(a)("http.api.property.address")),1)]),body:e(()=>[r(x,{text:o.networking.address},null,8,["text"])]),_:2},1024),n(),o.tags!==null?(t(),i(h,{key:0},{title:e(()=>[n(c(l(a)("http.api.property.tags")),1)]),body:e(()=>[r(D,{tags:o.tags},null,8,["tags"])]),_:2},1024)):w("",!0)]))]),_:1},8,["src"])])}}}),E={class:"columns"},N=f({__name:"ServiceInsightDetails",props:{serviceInsight:{}},setup(m){const{t:a}=y(),s=m;return(g,v)=>{var p,o;return t(),u("div",E,[r(h,null,{title:e(()=>[n(c(l(a)("http.api.property.status")),1)]),body:e(()=>[r(T,{status:s.serviceInsight.status},null,8,["status"])]),_:1}),n(),r(h,null,{title:e(()=>[n(c(l(a)("http.api.property.address")),1)]),body:e(()=>[s.serviceInsight.addressPort?(t(),i(x,{key:0,text:s.serviceInsight.addressPort},null,8,["text"])):(t(),u(V,{key:1},[n(c(l(a)("common.detail.none")),1)],64))]),_:1}),n(),r(C,{online:((p=s.serviceInsight.dataplanes)==null?void 0:p.online)??0,total:((o=s.serviceInsight.dataplanes)==null?void 0:o.total)??0},{title:e(()=>[n(c(l(a)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])])}}}),P={class:"stack"},G=f({__name:"ServiceDetailView",props:{data:{}},setup(m){const a=m;return(s,g)=>{const v=d("KCard"),p=d("AppView"),o=d("RouteView");return t(),i(o,{name:"service-detail-view",params:{mesh:"",service:""}},{default:e(({route:_})=>[r(p,null,{default:e(()=>[k("div",P,[r(v,null,{default:e(()=>[a.data.serviceType==="external"?(t(),i(S,{key:0,mesh:_.params.mesh,service:_.params.service},null,8,["mesh","service"])):(t(),i(N,{key:1,"service-insight":s.data},null,8,["service-insight"]))]),_:2},1024)])]),_:2},1024)]),_:1})}}});export{G as default}; +import{d as f,k as y,a as d,o as t,c as u,e as r,w as e,b as i,m as k,t as c,l,X as h,f as n,p as w,F as V,R as C}from"./index-78599b4f.js";import{_ as I}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import{E as $}from"./ErrorBlock-c71bafad.js";import{_ as B}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{T as D}from"./TagList-f1447eb8.js";import{T as x}from"./TextWithCopyButton-c32acac7.js";import{S as T}from"./StatusBadge-3f562081.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./CopyButton-752e056c.js";const b={key:3,class:"columns"},S=f({__name:"ExternalServiceDetails",props:{mesh:{},service:{}},setup(m){const{t:a}=y(),s=m;return(g,v)=>{const p=d("DataSource");return t(),u("div",null,[r(p,{src:`/meshes/${s.mesh}/external-services/for/${s.service}`},{default:e(({data:o,error:_})=>[_?(t(),i($,{key:0,error:_},null,8,["error"])):o===void 0?(t(),i(B,{key:1})):o===null?(t(),i(I,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[k("p",null,c(l(a)("services.detail.no_matching_external_service",{name:s.service})),1)]),_:1})):(t(),u("div",b,[r(h,null,{title:e(()=>[n(c(l(a)("http.api.property.address")),1)]),body:e(()=>[r(x,{text:o.networking.address},null,8,["text"])]),_:2},1024),n(),o.tags!==null?(t(),i(h,{key:0},{title:e(()=>[n(c(l(a)("http.api.property.tags")),1)]),body:e(()=>[r(D,{tags:o.tags},null,8,["tags"])]),_:2},1024)):w("",!0)]))]),_:1},8,["src"])])}}}),E={class:"columns"},N=f({__name:"ServiceInsightDetails",props:{serviceInsight:{}},setup(m){const{t:a}=y(),s=m;return(g,v)=>{var p,o;return t(),u("div",E,[r(h,null,{title:e(()=>[n(c(l(a)("http.api.property.status")),1)]),body:e(()=>[r(T,{status:s.serviceInsight.status},null,8,["status"])]),_:1}),n(),r(h,null,{title:e(()=>[n(c(l(a)("http.api.property.address")),1)]),body:e(()=>[s.serviceInsight.addressPort?(t(),i(x,{key:0,text:s.serviceInsight.addressPort},null,8,["text"])):(t(),u(V,{key:1},[n(c(l(a)("common.detail.none")),1)],64))]),_:1}),n(),r(C,{online:((p=s.serviceInsight.dataplanes)==null?void 0:p.online)??0,total:((o=s.serviceInsight.dataplanes)==null?void 0:o.total)??0},{title:e(()=>[n(c(l(a)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])])}}}),P={class:"stack"},G=f({__name:"ServiceDetailView",props:{data:{}},setup(m){const a=m;return(s,g)=>{const v=d("KCard"),p=d("AppView"),o=d("RouteView");return t(),i(o,{name:"service-detail-view",params:{mesh:"",service:""}},{default:e(({route:_})=>[r(p,null,{default:e(()=>[k("div",P,[r(v,null,{default:e(()=>[a.data.serviceType==="external"?(t(),i(S,{key:0,mesh:_.params.mesh,service:_.params.service},null,8,["mesh","service"])):(t(),i(N,{key:1,"service-insight":s.data},null,8,["service-insight"]))]),_:2},1024)])]),_:2},1024)]),_:1})}}});export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceListView-6ae3f7d6.js b/app/kuma-ui/pkg/resources/data/assets/ServiceListView-ee4e0336.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/ServiceListView-6ae3f7d6.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceListView-ee4e0336.js index fc60312d5228..052cd68f7a63 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceListView-6ae3f7d6.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceListView-ee4e0336.js @@ -1 +1 @@ -import{K as z}from"./index-fce48c05.js";import{d as x,a as l,o as t,b as r,w as s,e as o,m as T,f as n,t as m,c as _,F as d,l as k,T as B,B as R,p as g,_ as D}from"./index-6594470f.js";import{A as L}from"./AppCollection-39f5da3b.js";import{E as N}from"./ErrorBlock-eae09ed8.js";import{S as A}from"./StatusBadge-0fda3dff.js";import{S as P}from"./SummaryView-4df08b91.js";import{T as h}from"./TextWithCopyButton-e98ec405.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./CopyButton-60165c43.js";const E=x({__name:"ServiceListView",setup(I){return(K,$)=>{const w=l("RouteTitle"),u=l("RouterLink"),C=l("KCard"),S=l("RouterView"),V=l("AppView"),v=l("DataSource"),b=l("RouteView");return t(),r(v,{src:"/me"},{default:s(({data:y})=>[y?(t(),r(b,{key:0,name:"service-list-view",params:{page:1,size:y.pageSize,mesh:"",service:""}},{default:s(({route:a,t:c})=>[o(v,{src:`/meshes/${a.params.mesh}/service-insights?page=${a.params.page}&size=${a.params.size}`},{default:s(({data:i,error:p})=>[o(V,null,{title:s(()=>[T("h2",null,[o(w,{title:c("services.routes.items.title")},null,8,["title"])])]),default:s(()=>[n(),o(C,null,{default:s(()=>[p!==void 0?(t(),r(N,{key:0,error:p},null,8,["error"])):(t(),r(L,{key:1,class:"service-collection","data-testid":"service-collection","empty-state-message":c("common.emptyState.message",{type:"Services"}),headers:[{label:"Name",key:"name"},{label:"Type",key:"serviceType"},{label:"Address",key:"addressPort"},{label:"DP proxies (online / total)",key:"online"},{label:"Status",key:"status"},{label:"Details",key:"details",hideLabel:!0}],"page-number":a.params.page,"page-size":a.params.size,total:i==null?void 0:i.total,items:i==null?void 0:i.items,error:p,"is-selected-row":e=>e.name===a.params.service,onChange:a.update},{name:s(({row:e})=>[o(h,{text:e.name},{default:s(()=>[o(u,{to:{name:"service-detail-view",params:{mesh:e.mesh,service:e.name},query:{page:a.params.page,size:a.params.size}}},{default:s(()=>[n(m(e.name),1)]),_:2},1032,["to"])]),_:2},1032,["text"])]),serviceType:s(({row:e})=>[n(m(e.serviceType),1)]),addressPort:s(({row:e})=>[e.addressPort?(t(),r(h,{key:0,text:e.addressPort},null,8,["text"])):(t(),_(d,{key:1},[n(m(c("common.collection.none")),1)],64))]),online:s(({row:e})=>[e.dataplanes?(t(),_(d,{key:0},[n(m(e.dataplanes.online||0)+" / "+m(e.dataplanes.total||0),1)],64)):(t(),_(d,{key:1},[n(m(c("common.collection.none")),1)],64))]),status:s(({row:e})=>[o(A,{status:e.status},null,8,["status"])]),details:s(({row:e})=>[o(u,{class:"details-link","data-testid":"details-link",to:{name:"service-detail-view",params:{mesh:e.mesh,service:e.name}}},{default:s(()=>[n(m(c("common.collection.details_link"))+" ",1),o(k(B),{display:"inline-block",decorative:"",size:k(z)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["empty-state-message","headers","page-number","page-size","total","items","error","is-selected-row","onChange"]))]),_:2},1024),n(),a.params.service?(t(),r(S,{key:0},{default:s(e=>[o(P,{onClose:f=>a.replace({name:"service-list-view",params:{mesh:a.params.mesh},query:{page:a.params.page,size:a.params.size}})},{default:s(()=>[(t(),r(R(e.Component),{name:a.params.service,service:i==null?void 0:i.items.find(f=>f.name===a.params.service)},null,8,["name","service"]))]),_:2},1032,["onClose"])]),_:2},1024)):g("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):g("",!0)]),_:1})}}});const M=D(E,[["__scopeId","data-v-5c8b9732"]]);export{M as default}; +import{K as z}from"./index-fce48c05.js";import{d as x,a as l,o as t,b as r,w as s,e as o,m as T,f as n,t as m,c as _,F as d,l as k,T as B,B as R,p as g,_ as D}from"./index-78599b4f.js";import{A as L}from"./AppCollection-fab1a627.js";import{E as N}from"./ErrorBlock-c71bafad.js";import{S as A}from"./StatusBadge-3f562081.js";import{S as P}from"./SummaryView-87032df3.js";import{T as h}from"./TextWithCopyButton-c32acac7.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./CopyButton-752e056c.js";const E=x({__name:"ServiceListView",setup(I){return(K,$)=>{const w=l("RouteTitle"),u=l("RouterLink"),C=l("KCard"),S=l("RouterView"),V=l("AppView"),v=l("DataSource"),b=l("RouteView");return t(),r(v,{src:"/me"},{default:s(({data:y})=>[y?(t(),r(b,{key:0,name:"service-list-view",params:{page:1,size:y.pageSize,mesh:"",service:""}},{default:s(({route:a,t:c})=>[o(v,{src:`/meshes/${a.params.mesh}/service-insights?page=${a.params.page}&size=${a.params.size}`},{default:s(({data:i,error:p})=>[o(V,null,{title:s(()=>[T("h2",null,[o(w,{title:c("services.routes.items.title")},null,8,["title"])])]),default:s(()=>[n(),o(C,null,{default:s(()=>[p!==void 0?(t(),r(N,{key:0,error:p},null,8,["error"])):(t(),r(L,{key:1,class:"service-collection","data-testid":"service-collection","empty-state-message":c("common.emptyState.message",{type:"Services"}),headers:[{label:"Name",key:"name"},{label:"Type",key:"serviceType"},{label:"Address",key:"addressPort"},{label:"DP proxies (online / total)",key:"online"},{label:"Status",key:"status"},{label:"Details",key:"details",hideLabel:!0}],"page-number":a.params.page,"page-size":a.params.size,total:i==null?void 0:i.total,items:i==null?void 0:i.items,error:p,"is-selected-row":e=>e.name===a.params.service,onChange:a.update},{name:s(({row:e})=>[o(h,{text:e.name},{default:s(()=>[o(u,{to:{name:"service-detail-view",params:{mesh:e.mesh,service:e.name},query:{page:a.params.page,size:a.params.size}}},{default:s(()=>[n(m(e.name),1)]),_:2},1032,["to"])]),_:2},1032,["text"])]),serviceType:s(({row:e})=>[n(m(e.serviceType),1)]),addressPort:s(({row:e})=>[e.addressPort?(t(),r(h,{key:0,text:e.addressPort},null,8,["text"])):(t(),_(d,{key:1},[n(m(c("common.collection.none")),1)],64))]),online:s(({row:e})=>[e.dataplanes?(t(),_(d,{key:0},[n(m(e.dataplanes.online||0)+" / "+m(e.dataplanes.total||0),1)],64)):(t(),_(d,{key:1},[n(m(c("common.collection.none")),1)],64))]),status:s(({row:e})=>[o(A,{status:e.status},null,8,["status"])]),details:s(({row:e})=>[o(u,{class:"details-link","data-testid":"details-link",to:{name:"service-detail-view",params:{mesh:e.mesh,service:e.name}}},{default:s(()=>[n(m(c("common.collection.details_link"))+" ",1),o(k(B),{display:"inline-block",decorative:"",size:k(z)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["empty-state-message","headers","page-number","page-size","total","items","error","is-selected-row","onChange"]))]),_:2},1024),n(),a.params.service?(t(),r(S,{key:0},{default:s(e=>[o(P,{onClose:f=>a.replace({name:"service-list-view",params:{mesh:a.params.mesh},query:{page:a.params.page,size:a.params.size}})},{default:s(()=>[(t(),r(R(e.Component),{name:a.params.service,service:i==null?void 0:i.items.find(f=>f.name===a.params.service)},null,8,["name","service"]))]),_:2},1032,["onClose"])]),_:2},1024)):g("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):g("",!0)]),_:1})}}});const M=D(E,[["__scopeId","data-v-5c8b9732"]]);export{M as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/StatusBadge-0fda3dff.js b/app/kuma-ui/pkg/resources/data/assets/StatusBadge-3f562081.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/StatusBadge-0fda3dff.js rename to app/kuma-ui/pkg/resources/data/assets/StatusBadge-3f562081.js index d03f782bacb3..dd5cfbf2afe4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/StatusBadge-0fda3dff.js +++ b/app/kuma-ui/pkg/resources/data/assets/StatusBadge-3f562081.js @@ -1 +1 @@ -import{_ as r,r as l,d as u,k as p,a as i,o as f,b as m,W as b,w as s,f as n,t as c,l as o,e as g,B as v,aa as B}from"./index-6594470f.js";const x={};function y(t,e){return l(t.$slots,"default")}const S=r(x,[["render",y]]),C=u({__name:"StatusBadge",props:{status:{}},setup(t){const{t:e}=p(),_={online:"success",offline:"danger",partially_degraded:"warning",not_available:"neutral",disabled:"neutral"},a=t;return(h,A)=>{const d=i("KBadge");return f(),m(v(a.status==="not_available"?o(B):S),null,b({default:s(()=>[g(d,{class:"status-badge",appearance:_[a.status],"max-width":"auto","data-testid":"status-badge"},{default:s(()=>[n(c(o(e)(`http.api.value.${a.status}`)),1)]),_:1},8,["appearance"]),n()]),_:2},[a.status==="not_available"?{name:"content",fn:s(()=>[n(c(o(e)("components.status-badge.tooltip.not_available")),1)]),key:"0"}:void 0]),1024)}}});const w=r(C,[["__scopeId","data-v-681bdb4a"]]);export{w as S}; +import{_ as r,r as l,d as u,k as p,a as i,o as f,b as m,W as b,w as s,f as n,t as c,l as o,e as g,B as v,aa as B}from"./index-78599b4f.js";const x={};function y(t,e){return l(t.$slots,"default")}const S=r(x,[["render",y]]),C=u({__name:"StatusBadge",props:{status:{}},setup(t){const{t:e}=p(),_={online:"success",offline:"danger",partially_degraded:"warning",not_available:"neutral",disabled:"neutral"},a=t;return(h,A)=>{const d=i("KBadge");return f(),m(v(a.status==="not_available"?o(B):S),null,b({default:s(()=>[g(d,{class:"status-badge",appearance:_[a.status],"max-width":"auto","data-testid":"status-badge"},{default:s(()=>[n(c(o(e)(`http.api.value.${a.status}`)),1)]),_:1},8,["appearance"]),n()]),_:2},[a.status==="not_available"?{name:"content",fn:s(()=>[n(c(o(e)("components.status-badge.tooltip.not_available")),1)]),key:"0"}:void 0]),1024)}}});const w=r(C,[["__scopeId","data-v-681bdb4a"]]);export{w as S}; diff --git a/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-ffb3c891.js b/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-16d3020e.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-ffb3c891.js rename to app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-16d3020e.js index 93bcb8569540..b03d1be63bbb 100644 --- a/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-ffb3c891.js +++ b/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-16d3020e.js @@ -1,3 +1,3 @@ -import{d as S,k as T,H as b,o,c as l,b as g,w as v,e as k,l as a,ak as x,f as t,t as e,al as B,r as A,p as I,m as n,F as f,C as D,_ as L,s as P,v as R}from"./index-6594470f.js";import{A as C,a as H}from"./AccordionList-373416d3.js";const N={class:"stack"},U={key:1},V={key:0,class:"intro"},O={class:"row"},q={class:"header"},F={class:"header"},E=["data-testid"],M={class:"type"},z=S({__name:"SubscriptionDetails",props:{subscription:{type:Object,required:!0},isDiscoverySubscription:{type:Boolean,default:!1}},setup(d){const{t:c}=T(),p=d,s=b(()=>{var u;let i;if("controlPlaneInstanceId"in p.subscription){const{lastUpdateTime:r,total:_,...m}=p.subscription.status;i=m}else i=((u=p.subscription.status)==null?void 0:u.stat)??{};return i?Object.entries(i).map(([r,_])=>{const{responsesSent:m="0",responsesAcknowledged:h="0",responsesRejected:y="0"}=_;return{type:r,responsesSent:m,responsesAcknowledged:h,responsesRejected:y}}):[]});return(i,u)=>(o(),l("div",N,[s.value.length===0?(o(),g(a(B),{key:0,appearance:"info"},{alertIcon:v(()=>[k(a(x))]),alertMessage:v(()=>[t(e(a(c)("common.detail.subscriptions.no_stats",{id:p.subscription.id})),1)]),_:1})):(o(),l("div",U,[i.$slots.default?(o(),l("div",V,[A(i.$slots,"default",{},void 0,!0)])):I("",!0),t(),n("div",O,[n("div",q,e(a(c)("common.detail.subscriptions.type")),1),t(),n("div",F,e(a(c)("common.detail.subscriptions.responses_sent_acknowledged")),1)]),t(),(o(!0),l(f,null,D(s.value,(r,_)=>(o(),l("div",{key:_,class:"row","data-testid":`subscription-status-${r.type}`},[n("div",M,e(a(c)(`http.api.property.${r.type}`)),1),t(),n("div",null,e(r.responsesSent)+"/"+e(r.responsesAcknowledged),1)],8,E))),128))]))]))}});const G=L(z,[["__scopeId","data-v-c3ee36ce"]]),J=""+new URL("icon-deployed-code-e3c999ba.svg",import.meta.url).href,K=""+new URL("icon-connected-037e001a.svg",import.meta.url).href,Q=""+new URL("icon-disconnected-ba3c2624.svg",import.meta.url).href,$=d=>(P("data-v-991b71e7"),d=d(),R(),d),W={class:"subscription-header"},X={class:"instance-id"},Y=$(()=>n("img",{src:J},null,-1)),Z=$(()=>n("img",{src:K},null,-1)),ss={key:0},es=$(()=>n("img",{src:Q},null,-1)),ts={class:"responses-sent-acknowledged"},ns=S({__name:"SubscriptionHeader",props:{subscription:{type:Object,required:!0}},setup(d){const{t:c,formatIsoDate:p}=T(),s=d,i=b(()=>"globalInstanceId"in s.subscription?s.subscription.globalInstanceId:null),u=b(()=>"controlPlaneInstanceId"in s.subscription?s.subscription.controlPlaneInstanceId:null),r=b(()=>s.subscription.connectTime?p(s.subscription.connectTime):null),_=b(()=>s.subscription.disconnectTime?p(s.subscription.disconnectTime):null),m=b(()=>{var w;const{responsesSent:h=0,responsesAcknowledged:y=0,responsesRejected:j=0}=((w=s.subscription.status)==null?void 0:w.total)??{};return{responsesSent:h,responsesAcknowledged:y,responsesRejected:j}});return(h,y)=>(o(),l("header",W,[n("span",X,[Y,t(),i.value?(o(),l(f,{key:0},[n("b",null,e(a(c)("http.api.property.globalInstanceId")),1),t(": "+e(i.value),1)],64)):u.value?(o(),l(f,{key:1},[n("b",null,e(a(c)("http.api.property.controlPlaneInstanceId")),1),t(": "+e(u.value),1)],64)):I("",!0)]),t(),n("span",null,[Z,t(),n("b",null,e(a(c)("common.detail.subscriptions.connect_time")),1),t(": "+e(r.value),1)]),t(),_.value?(o(),l("span",ss,[es,t(),n("b",null,e(a(c)("common.detail.subscriptions.disconnect_time")),1),t(": "+e(_.value),1)])):I("",!0),t(),n("span",ts,e(a(c)("common.detail.subscriptions.responses_sent_acknowledged"))+`: +import{d as S,k as T,H as b,o,c as l,b as g,w as v,e as k,l as a,ak as x,f as t,t as e,al as B,r as A,p as I,m as n,F as f,C as D,_ as L,s as P,v as R}from"./index-78599b4f.js";import{A as C,a as H}from"./AccordionList-78965fe7.js";const N={class:"stack"},U={key:1},V={key:0,class:"intro"},O={class:"row"},q={class:"header"},F={class:"header"},E=["data-testid"],M={class:"type"},z=S({__name:"SubscriptionDetails",props:{subscription:{type:Object,required:!0},isDiscoverySubscription:{type:Boolean,default:!1}},setup(d){const{t:c}=T(),p=d,s=b(()=>{var u;let i;if("controlPlaneInstanceId"in p.subscription){const{lastUpdateTime:r,total:_,...m}=p.subscription.status;i=m}else i=((u=p.subscription.status)==null?void 0:u.stat)??{};return i?Object.entries(i).map(([r,_])=>{const{responsesSent:m="0",responsesAcknowledged:h="0",responsesRejected:y="0"}=_;return{type:r,responsesSent:m,responsesAcknowledged:h,responsesRejected:y}}):[]});return(i,u)=>(o(),l("div",N,[s.value.length===0?(o(),g(a(B),{key:0,appearance:"info"},{alertIcon:v(()=>[k(a(x))]),alertMessage:v(()=>[t(e(a(c)("common.detail.subscriptions.no_stats",{id:p.subscription.id})),1)]),_:1})):(o(),l("div",U,[i.$slots.default?(o(),l("div",V,[A(i.$slots,"default",{},void 0,!0)])):I("",!0),t(),n("div",O,[n("div",q,e(a(c)("common.detail.subscriptions.type")),1),t(),n("div",F,e(a(c)("common.detail.subscriptions.responses_sent_acknowledged")),1)]),t(),(o(!0),l(f,null,D(s.value,(r,_)=>(o(),l("div",{key:_,class:"row","data-testid":`subscription-status-${r.type}`},[n("div",M,e(a(c)(`http.api.property.${r.type}`)),1),t(),n("div",null,e(r.responsesSent)+"/"+e(r.responsesAcknowledged),1)],8,E))),128))]))]))}});const G=L(z,[["__scopeId","data-v-c3ee36ce"]]),J=""+new URL("icon-deployed-code-e3c999ba.svg",import.meta.url).href,K=""+new URL("icon-connected-037e001a.svg",import.meta.url).href,Q=""+new URL("icon-disconnected-ba3c2624.svg",import.meta.url).href,$=d=>(P("data-v-991b71e7"),d=d(),R(),d),W={class:"subscription-header"},X={class:"instance-id"},Y=$(()=>n("img",{src:J},null,-1)),Z=$(()=>n("img",{src:K},null,-1)),ss={key:0},es=$(()=>n("img",{src:Q},null,-1)),ts={class:"responses-sent-acknowledged"},ns=S({__name:"SubscriptionHeader",props:{subscription:{type:Object,required:!0}},setup(d){const{t:c,formatIsoDate:p}=T(),s=d,i=b(()=>"globalInstanceId"in s.subscription?s.subscription.globalInstanceId:null),u=b(()=>"controlPlaneInstanceId"in s.subscription?s.subscription.controlPlaneInstanceId:null),r=b(()=>s.subscription.connectTime?p(s.subscription.connectTime):null),_=b(()=>s.subscription.disconnectTime?p(s.subscription.disconnectTime):null),m=b(()=>{var w;const{responsesSent:h=0,responsesAcknowledged:y=0,responsesRejected:j=0}=((w=s.subscription.status)==null?void 0:w.total)??{};return{responsesSent:h,responsesAcknowledged:y,responsesRejected:j}});return(h,y)=>(o(),l("header",W,[n("span",X,[Y,t(),i.value?(o(),l(f,{key:0},[n("b",null,e(a(c)("http.api.property.globalInstanceId")),1),t(": "+e(i.value),1)],64)):u.value?(o(),l(f,{key:1},[n("b",null,e(a(c)("http.api.property.controlPlaneInstanceId")),1),t(": "+e(u.value),1)],64)):I("",!0)]),t(),n("span",null,[Z,t(),n("b",null,e(a(c)("common.detail.subscriptions.connect_time")),1),t(": "+e(r.value),1)]),t(),_.value?(o(),l("span",ss,[es,t(),n("b",null,e(a(c)("common.detail.subscriptions.disconnect_time")),1),t(": "+e(_.value),1)])):I("",!0),t(),n("span",ts,e(a(c)("common.detail.subscriptions.responses_sent_acknowledged"))+`: `+e(m.value.responsesSent)+"/"+e(m.value.responsesAcknowledged),1)]))}});const os=L(ns,[["__scopeId","data-v-991b71e7"]]),rs=S({__name:"SubscriptionList",props:{subscriptions:{}},setup(d){const c=d,p=b(()=>{const s=Array.from(c.subscriptions);return s.reverse(),s});return(s,i)=>(o(),g(H,null,{default:v(()=>[(o(!0),l(f,null,D(p.value,(u,r)=>(o(),g(C,{key:r},{"accordion-header":v(()=>[k(os,{subscription:u},null,8,["subscription"])]),"accordion-content":v(()=>[k(G,{subscription:u},{default:v(()=>[s.$slots.default?A(s.$slots,"default",{key:0}):I("",!0)]),_:2},1032,["subscription"])]),_:2},1024))),128))]),_:3}))}});export{rs as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/SummaryView-4df08b91.js b/app/kuma-ui/pkg/resources/data/assets/SummaryView-87032df3.js similarity index 98% rename from app/kuma-ui/pkg/resources/data/assets/SummaryView-4df08b91.js rename to app/kuma-ui/pkg/resources/data/assets/SummaryView-87032df3.js index 1e31b8584fec..e11d901ff656 100644 --- a/app/kuma-ui/pkg/resources/data/assets/SummaryView-4df08b91.js +++ b/app/kuma-ui/pkg/resources/data/assets/SummaryView-87032df3.js @@ -1 +1 @@ -import{ah as E,l as k,ai as x,a7 as O,d as P,z as C,a as L,o as T,b as I,w as D,r as W,_ as j}from"./index-6594470f.js";function V(e){return E()?(x(e),!0):!1}function y(e){return typeof e=="function"?e():k(e)}const S=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const F=Object.prototype.toString,M=e=>F.call(e)==="[object Object]",w=()=>{},R=$();function $(){var e,n;return S&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function B(e,n){function r(...o){return new Promise((a,i)=>{Promise.resolve(e(()=>n.apply(this,o),{fn:n,thisArg:this,args:o})).then(a).catch(i)})}return r}function G(e,n=!0,r=!0,o=!1){let a=0,i,u=!0,c=w,f;const m=()=>{i&&(clearTimeout(i),i=void 0,c(),c=w)};return p=>{const t=y(e),s=Date.now()-a,l=()=>f=p();return m(),t<=0?(a=Date.now(),l()):(s>t&&(r||!u)?(a=Date.now(),l()):n&&(f=new Promise((_,A)=>{c=o?A:_,i=setTimeout(()=>{a=Date.now(),u=!0,_(l()),m()},Math.max(0,t-s))})),!r&&!i&&(i=setTimeout(()=>u=!0,t)),u=!1,f)}}function K(e,n=200,r=!1,o=!0,a=!1){return B(G(n,r,o,a),e)}function h(e){var n;const r=y(e);return(n=r==null?void 0:r.$el)!=null?n:r}const b=S?window:void 0;function v(...e){let n,r,o,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,o,a]=e,n=b):[n,r,o,a]=e,!n)return w;Array.isArray(r)||(r=[r]),Array.isArray(o)||(o=[o]);const i=[],u=()=>{i.forEach(d=>d()),i.length=0},c=(d,p,t,s)=>(d.addEventListener(p,t,s),()=>d.removeEventListener(p,t,s)),f=O(()=>[h(n),y(a)],([d,p])=>{if(u(),!d)return;const t=M(p)?{...p}:p;i.push(...r.flatMap(s=>o.map(l=>c(d,s,l,t))))},{immediate:!0,flush:"post"}),m=()=>{f(),u()};return V(m),m}let g=!1;function N(e,n,r={}){const{window:o=b,ignore:a=[],capture:i=!0,detectIframe:u=!1}=r;if(!o)return w;R&&!g&&(g=!0,Array.from(o.document.body.children).forEach(t=>t.addEventListener("click",w)),o.document.documentElement.addEventListener("click",w));let c=!0;const f=t=>a.some(s=>{if(typeof s=="string")return Array.from(o.document.querySelectorAll(s)).some(l=>l===t.target||t.composedPath().includes(l));{const l=h(s);return l&&(t.target===l||t.composedPath().includes(l))}}),d=[v(o,"click",t=>{const s=h(e);if(!(!s||s===t.target||t.composedPath().includes(s))){if(t.detail===0&&(c=!f(t)),!c){c=!0;return}n(t)}},{passive:!0,capture:i}),v(o,"pointerdown",t=>{const s=h(e);c=!f(t)&&!!(s&&!t.composedPath().includes(s))},{passive:!0}),u&&v(o,"blur",t=>{setTimeout(()=>{var s;const l=h(e);((s=o.document.activeElement)==null?void 0:s.tagName)==="IFRAME"&&!(l!=null&&l.contains(o.document.activeElement))&&n(t)},0)})].filter(Boolean);return()=>d.forEach(t=>t())}const q=P({__name:"SummaryView",props:{width:{default:"560px"}},emits:["close"],setup(e,{emit:n}){const r=C(null);N(r,K(i=>{const u=i.target;i.isTrusted&&u.nodeName.toLowerCase()!=="a"&&a("close")},1,!0,!1));const o=e,a=n;return(i,u)=>{const c=L("KSlideout");return T(),I(c,{ref_key:"slideOutRef",ref:r,class:"summary-slideout","prevent-close-on-blur":"","close-button-alignment":"end","has-overlay":!1,"is-visible":"","max-width":o.width,"offset-top":"var(--app-slideout-offset-top, 0)","data-testid":"summary",onClose:u[0]||(u[0]=f=>a("close"))},{default:D(()=>[W(i.$slots,"default",{},void 0,!0)]),_:3},8,["max-width"])}}});const H=j(q,[["__scopeId","data-v-3a795769"]]);export{H as S}; +import{ah as E,l as k,ai as x,a7 as O,d as P,z as C,a as L,o as T,b as I,w as D,r as W,_ as j}from"./index-78599b4f.js";function V(e){return E()?(x(e),!0):!1}function y(e){return typeof e=="function"?e():k(e)}const S=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const F=Object.prototype.toString,M=e=>F.call(e)==="[object Object]",w=()=>{},R=$();function $(){var e,n;return S&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function B(e,n){function r(...o){return new Promise((a,i)=>{Promise.resolve(e(()=>n.apply(this,o),{fn:n,thisArg:this,args:o})).then(a).catch(i)})}return r}function G(e,n=!0,r=!0,o=!1){let a=0,i,u=!0,c=w,f;const m=()=>{i&&(clearTimeout(i),i=void 0,c(),c=w)};return p=>{const t=y(e),s=Date.now()-a,l=()=>f=p();return m(),t<=0?(a=Date.now(),l()):(s>t&&(r||!u)?(a=Date.now(),l()):n&&(f=new Promise((_,A)=>{c=o?A:_,i=setTimeout(()=>{a=Date.now(),u=!0,_(l()),m()},Math.max(0,t-s))})),!r&&!i&&(i=setTimeout(()=>u=!0,t)),u=!1,f)}}function K(e,n=200,r=!1,o=!0,a=!1){return B(G(n,r,o,a),e)}function h(e){var n;const r=y(e);return(n=r==null?void 0:r.$el)!=null?n:r}const b=S?window:void 0;function v(...e){let n,r,o,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,o,a]=e,n=b):[n,r,o,a]=e,!n)return w;Array.isArray(r)||(r=[r]),Array.isArray(o)||(o=[o]);const i=[],u=()=>{i.forEach(d=>d()),i.length=0},c=(d,p,t,s)=>(d.addEventListener(p,t,s),()=>d.removeEventListener(p,t,s)),f=O(()=>[h(n),y(a)],([d,p])=>{if(u(),!d)return;const t=M(p)?{...p}:p;i.push(...r.flatMap(s=>o.map(l=>c(d,s,l,t))))},{immediate:!0,flush:"post"}),m=()=>{f(),u()};return V(m),m}let g=!1;function N(e,n,r={}){const{window:o=b,ignore:a=[],capture:i=!0,detectIframe:u=!1}=r;if(!o)return w;R&&!g&&(g=!0,Array.from(o.document.body.children).forEach(t=>t.addEventListener("click",w)),o.document.documentElement.addEventListener("click",w));let c=!0;const f=t=>a.some(s=>{if(typeof s=="string")return Array.from(o.document.querySelectorAll(s)).some(l=>l===t.target||t.composedPath().includes(l));{const l=h(s);return l&&(t.target===l||t.composedPath().includes(l))}}),d=[v(o,"click",t=>{const s=h(e);if(!(!s||s===t.target||t.composedPath().includes(s))){if(t.detail===0&&(c=!f(t)),!c){c=!0;return}n(t)}},{passive:!0,capture:i}),v(o,"pointerdown",t=>{const s=h(e);c=!f(t)&&!!(s&&!t.composedPath().includes(s))},{passive:!0}),u&&v(o,"blur",t=>{setTimeout(()=>{var s;const l=h(e);((s=o.document.activeElement)==null?void 0:s.tagName)==="IFRAME"&&!(l!=null&&l.contains(o.document.activeElement))&&n(t)},0)})].filter(Boolean);return()=>d.forEach(t=>t())}const q=P({__name:"SummaryView",props:{width:{default:"560px"}},emits:["close"],setup(e,{emit:n}){const r=C(null);N(r,K(i=>{const u=i.target;i.isTrusted&&u.nodeName.toLowerCase()!=="a"&&a("close")},1,!0,!1));const o=e,a=n;return(i,u)=>{const c=L("KSlideout");return T(),I(c,{ref_key:"slideOutRef",ref:r,class:"summary-slideout","prevent-close-on-blur":"","close-button-alignment":"end","has-overlay":!1,"is-visible":"","max-width":o.width,"offset-top":"var(--app-slideout-offset-top, 0)","data-testid":"summary",onClose:u[0]||(u[0]=f=>a("close"))},{default:D(()=>[W(i.$slots,"default",{},void 0,!0)]),_:3},8,["max-width"])}}});const H=j(q,[["__scopeId","data-v-3a795769"]]);export{H as S}; diff --git a/app/kuma-ui/pkg/resources/data/assets/TagList-a4b64f68.js b/app/kuma-ui/pkg/resources/data/assets/TagList-f1447eb8.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/TagList-a4b64f68.js rename to app/kuma-ui/pkg/resources/data/assets/TagList-f1447eb8.js index 13d40d107825..e1c96c9f7a4c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/TagList-a4b64f68.js +++ b/app/kuma-ui/pkg/resources/data/assets/TagList-f1447eb8.js @@ -1 +1 @@ -import{d as h,H as d,a as g,o,b as c,w as m,c as k,F as b,C as y,B as p,f as w,t as v,m as T,n as B,_ as x}from"./index-6594470f.js";function L(r){return Object.entries(r??{}).map(([e,n])=>({label:e,value:n}))}const C=h({__name:"TagList",props:{tags:{},shouldTruncate:{type:Boolean,default:!1},alignment:{default:"left"}},setup(r){const e=r,n=d(()=>(Array.isArray(e.tags)?e.tags:L(e.tags)).map(u=>{const{label:s,value:t}=u,i=_(u),f=s.includes(".kuma.io/")||s.startsWith("kuma.io/");return{label:s,value:t,route:i,isKuma:f}})),l=d(()=>e.shouldTruncate||Object.keys(n.value).length>10);function _(a){if(a.value!=="*")try{switch(a.label){case"kuma.io/zone":return{name:"zone-cp-detail-view",params:{zone:a.value}};case"kuma.io/service":return{name:"service-detail-view",params:{service:a.value}};case"kuma.io/mesh":return{name:"mesh-detail-view",params:{mesh:a.value}};default:return}}catch{return}}return(a,u)=>{const s=g("KBadge");return o(),c(p(l.value?"KTruncate":"div"),{width:l.value?"auto":void 0,class:B({"tag-list":!l.value,"tag-list--align-right":e.alignment==="right"})},{default:m(()=>[(o(!0),k(b,null,y(n.value,(t,i)=>(o(),c(s,{key:i,"max-width":"auto",class:"tag",appearance:t.isKuma?"info":"neutral"},{default:m(()=>[(o(),c(p(t.route?"RouterLink":"span"),{to:t.route},{default:m(()=>[w(v(t.label)+":",1),T("b",null,v(t.value),1)]),_:2},1032,["to"]))]),_:2},1032,["appearance"]))),128))]),_:1},8,["width","class"])}}});const z=x(C,[["__scopeId","data-v-625f3123"]]);export{z as T}; +import{d as h,H as d,a as g,o,b as c,w as m,c as k,F as b,C as y,B as p,f as w,t as v,m as T,n as B,_ as x}from"./index-78599b4f.js";function L(r){return Object.entries(r??{}).map(([e,n])=>({label:e,value:n}))}const C=h({__name:"TagList",props:{tags:{},shouldTruncate:{type:Boolean,default:!1},alignment:{default:"left"}},setup(r){const e=r,n=d(()=>(Array.isArray(e.tags)?e.tags:L(e.tags)).map(u=>{const{label:s,value:t}=u,i=_(u),f=s.includes(".kuma.io/")||s.startsWith("kuma.io/");return{label:s,value:t,route:i,isKuma:f}})),l=d(()=>e.shouldTruncate||Object.keys(n.value).length>10);function _(a){if(a.value!=="*")try{switch(a.label){case"kuma.io/zone":return{name:"zone-cp-detail-view",params:{zone:a.value}};case"kuma.io/service":return{name:"service-detail-view",params:{service:a.value}};case"kuma.io/mesh":return{name:"mesh-detail-view",params:{mesh:a.value}};default:return}}catch{return}}return(a,u)=>{const s=g("KBadge");return o(),c(p(l.value?"KTruncate":"div"),{width:l.value?"auto":void 0,class:B({"tag-list":!l.value,"tag-list--align-right":e.alignment==="right"})},{default:m(()=>[(o(!0),k(b,null,y(n.value,(t,i)=>(o(),c(s,{key:i,"max-width":"auto",class:"tag",appearance:t.isKuma?"info":"neutral"},{default:m(()=>[(o(),c(p(t.route?"RouterLink":"span"),{to:t.route},{default:m(()=>[w(v(t.label)+":",1),T("b",null,v(t.value),1)]),_:2},1032,["to"]))]),_:2},1032,["appearance"]))),128))]),_:1},8,["width","class"])}}});const z=x(C,[["__scopeId","data-v-625f3123"]]);export{z as T}; diff --git a/app/kuma-ui/pkg/resources/data/assets/TextWithCopyButton-e98ec405.js b/app/kuma-ui/pkg/resources/data/assets/TextWithCopyButton-c32acac7.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/TextWithCopyButton-e98ec405.js rename to app/kuma-ui/pkg/resources/data/assets/TextWithCopyButton-c32acac7.js index 7ef78cbe84cf..87460d655b88 100644 --- a/app/kuma-ui/pkg/resources/data/assets/TextWithCopyButton-e98ec405.js +++ b/app/kuma-ui/pkg/resources/data/assets/TextWithCopyButton-c32acac7.js @@ -1 +1 @@ -import{C as a}from"./CopyButton-60165c43.js";import{d as p,k as r,o as _,c as x,m as u,r as i,f as o,e as l,l as s,t as d,_ as m}from"./index-6594470f.js";const f={class:"copy-button-wrapper"},y={class:"text"},B=p({__name:"TextWithCopyButton",props:{text:{}},setup(c){const t=r(),e=c;return(n,T)=>(_(),x("div",f,[u("span",y,[i(n.$slots,"default",{},()=>[o(d(e.text),1)],!0)]),o(),l(a,{text:e.text,"copy-text":s(t).t("common.copyText"),"tooltip-success-text":s(t).t("common.copySuccessText")},null,8,["text","copy-text","tooltip-success-text"])]))}});const b=m(B,[["__scopeId","data-v-f4b5cfb7"]]);export{b as T}; +import{C as a}from"./CopyButton-752e056c.js";import{d as p,k as r,o as _,c as x,m as u,r as i,f as o,e as l,l as s,t as d,_ as m}from"./index-78599b4f.js";const f={class:"copy-button-wrapper"},y={class:"text"},B=p({__name:"TextWithCopyButton",props:{text:{}},setup(c){const t=r(),e=c;return(n,T)=>(_(),x("div",f,[u("span",y,[i(n.$slots,"default",{},()=>[o(d(e.text),1)],!0)]),o(),l(a,{text:e.text,"copy-text":s(t).t("common.copyText"),"tooltip-success-text":s(t).t("common.copySuccessText")},null,8,["text","copy-text","tooltip-success-text"])]))}});const b=m(B,[["__scopeId","data-v-f4b5cfb7"]]);export{b as T}; diff --git a/app/kuma-ui/pkg/resources/data/assets/WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js b/app/kuma-ui/pkg/resources/data/assets/WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js similarity index 84% rename from app/kuma-ui/pkg/resources/data/assets/WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js rename to app/kuma-ui/pkg/resources/data/assets/WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js index ab2bf5780223..12452031cabd 100644 --- a/app/kuma-ui/pkg/resources/data/assets/WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js +++ b/app/kuma-ui/pkg/resources/data/assets/WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js @@ -1 +1 @@ -import{d as a}from"./index-fce48c05.js";import{d as i,o as r,b as t,l as o,ab as s}from"./index-6594470f.js";const _=i({__name:"WarningIcon",props:{size:{default:""},hideTitle:{type:Boolean,default:!1}},setup(n){const e=n;return(l,c)=>(r(),t(o(s),{color:"var(--WarningIconBackground, currentColor)",display:"inline-block",size:e.size||o(a),"hide-title":e.hideTitle},null,8,["size","hide-title"]))}});export{_}; +import{d as a}from"./index-fce48c05.js";import{d as i,o as r,b as t,l as o,ab as s}from"./index-78599b4f.js";const _=i({__name:"WarningIcon",props:{size:{default:""},hideTitle:{type:Boolean,default:!1}},setup(n){const e=n;return(l,c)=>(r(),t(o(s),{color:"var(--WarningIconBackground, currentColor)",display:"inline-block",size:e.size||o(a),"hide-title":e.hideTitle},null,8,["size","hide-title"]))}});export{_}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-a880f07b.js b/app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-26652f77.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-a880f07b.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-26652f77.js index 60c87db69f82..840474268f6c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-a880f07b.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-26652f77.js @@ -1 +1 @@ -import{C}from"./CodeBlock-13aedd48.js";import{d as k,a as t,o as a,b as l,w as o,e as r,W as y,m as d,f as s,t as x,c as p,F as w,C as R}from"./index-6594470f.js";import"./uniqueId-90cc9b93.js";const z=["data-testid","innerHTML"],S=k({__name:"ZoneConfigView",props:{data:{},notifications:{default:()=>[]}},setup(g){const i=g;return(V,F)=>{const m=t("RouteTitle"),u=t("KAlert"),f=t("KCard"),_=t("AppView"),h=t("RouteView");return a(),l(h,{name:"zone-cp-config-view",params:{zone:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:o(({route:n,t:c})=>[r(_,null,y({title:o(()=>[d("h2",null,[r(m,{title:c("zone-cps.routes.item.navigation.zone-cp-config-view")},null,8,["title"])])]),default:o(()=>[s(),s(),r(f,null,{default:o(()=>[Object.keys(i.data.zoneInsight.config).length>0?(a(),l(C,{key:0,id:"code-block-zone-config",language:"json",code:JSON.stringify(i.data.zoneInsight.config,null,2),"is-searchable":"",query:n.params.codeSearch,"is-filter-mode":n.params.codeFilter,"is-reg-exp-mode":n.params.codeRegExp,onQueryChange:e=>n.update({codeSearch:e}),onFilterModeChange:e=>n.update({codeFilter:e}),onRegExpModeChange:e=>n.update({codeRegExp:e})},null,8,["code","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])):(a(),l(u,{key:1,class:"mt-4","data-testid":"warning-no-subscriptions",appearance:"warning"},{alertMessage:o(()=>[s(x(c("zone-cps.detail.no_subscriptions")),1)]),_:2},1024))]),_:2},1024)]),_:2},[i.notifications.length>0?{name:"notifications",fn:o(()=>[d("ul",null,[(a(!0),p(w,null,R(i.notifications,e=>(a(),p("li",{key:e.kind,"data-testid":`warning-${e.kind}`,innerHTML:c(`common.warnings.${e.kind}`,e.payload)},null,8,z))),128)),s()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{S as default}; +import{C}from"./CodeBlock-9e7fa2ff.js";import{d as k,a as t,o as a,b as l,w as o,e as r,W as y,m as d,f as s,t as x,c as p,F as w,C as R}from"./index-78599b4f.js";import"./uniqueId-90cc9b93.js";const z=["data-testid","innerHTML"],S=k({__name:"ZoneConfigView",props:{data:{},notifications:{default:()=>[]}},setup(g){const i=g;return(V,F)=>{const m=t("RouteTitle"),u=t("KAlert"),f=t("KCard"),_=t("AppView"),h=t("RouteView");return a(),l(h,{name:"zone-cp-config-view",params:{zone:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:o(({route:n,t:c})=>[r(_,null,y({title:o(()=>[d("h2",null,[r(m,{title:c("zone-cps.routes.item.navigation.zone-cp-config-view")},null,8,["title"])])]),default:o(()=>[s(),s(),r(f,null,{default:o(()=>[Object.keys(i.data.zoneInsight.config).length>0?(a(),l(C,{key:0,id:"code-block-zone-config",language:"json",code:JSON.stringify(i.data.zoneInsight.config,null,2),"is-searchable":"",query:n.params.codeSearch,"is-filter-mode":n.params.codeFilter,"is-reg-exp-mode":n.params.codeRegExp,onQueryChange:e=>n.update({codeSearch:e}),onFilterModeChange:e=>n.update({codeFilter:e}),onRegExpModeChange:e=>n.update({codeRegExp:e})},null,8,["code","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])):(a(),l(u,{key:1,class:"mt-4","data-testid":"warning-no-subscriptions",appearance:"warning"},{alertMessage:o(()=>[s(x(c("zone-cps.detail.no_subscriptions")),1)]),_:2},1024))]),_:2},1024)]),_:2},[i.notifications.length>0?{name:"notifications",fn:o(()=>[d("ul",null,[(a(!0),p(w,null,R(i.notifications,e=>(a(),p("li",{key:e.kind,"data-testid":`warning-${e.kind}`,innerHTML:c(`common.warnings.${e.kind}`,e.payload)},null,8,z))),128)),s()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{S as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-8c1c2cc0.js b/app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-f17b0bf5.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-8c1c2cc0.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-f17b0bf5.js index c9ba0b1cb978..62a8e56a8cc2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-8c1c2cc0.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-f17b0bf5.js @@ -1,4 +1,4 @@ -import{f as G,c as H,K as W,g as me}from"./index-fce48c05.js";import{d as x,k as B,y as J,H as C,o as l,c,m as o,f as n,t as s,l as e,e as a,L as _e,z as v,a2 as q,a as m,b as K,w as r,F as k,p as y,C as pe,D as fe,a5 as j,A as ve,ax as be,ay as ze,_ as ke}from"./index-6594470f.js";import{C as g}from"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";const ge={class:"form-step-title"},he=o("span",{class:"form-step-number"},"1",-1),ye={class:"instruction-list"},Ce={href:"https://helm.sh/docs/intro/install/"},Ee={class:"form-step-title"},Ke=o("span",{class:"form-step-number"},"2",-1),Ve=o("p",null,"On your local machine, create a namespace in your Kubernetes cluster and pull down the kong Helm repo.",-1),$e={class:"instruction-list"},we={class:"form-step-title"},Ie=o("span",{class:"form-step-number"},"3",-1),Ne={class:"form-step-title"},Te=o("span",{class:"form-step-number"},"4",-1),Se={class:"field-group-label mt-4"},Ze={class:"mt-4"},Le=x({__name:"ZoneCreateKubernetesInstructions",props:{zoneName:{type:String,required:!0},globalKdsAddress:{type:String,required:!0},zoneIngressEnabled:{type:Boolean,required:!0},zoneEgressEnabled:{type:Boolean,required:!0},token:{type:String,required:!0},base64EncodedToken:{type:String,required:!0}},setup(N){const{t}=B(),h=J(),_=N,V=C(()=>t("zones.form.kubernetes.secret.createSecretCommand",{token:_.base64EncodedToken}).trim()),b=C(()=>{const p={zoneName:_.zoneName,globalKdsAddress:_.globalKdsAddress,zoneIngressEnabled:String(_.zoneIngressEnabled),zoneEgressEnabled:String(_.zoneEgressEnabled)};return typeof h.params.virtualControlPlaneId=="string"&&(p.controlPlaneId=h.params.virtualControlPlaneId),t("zones.form.kubernetes.connectZone.config",p).trim()});return(p,$)=>(l(),c("div",null,[o("h3",ge,[he,n(" "+s(e(t)("zones.form.kubernetes.prerequisites.title")),1)]),n(),o("ul",ye,[o("li",null,[o("b",null,s(e(t)("zones.form.kubernetes.prerequisites.step1Label"))+s(_.zoneIngressEnabled?" "+e(t)("zones.form.kubernetes.prerequisites.step1LabelAddendum"):""),1),n(`: +import{f as G,c as H,K as W,g as me}from"./index-fce48c05.js";import{d as x,k as B,y as J,H as C,o as l,c,m as o,f as n,t as s,l as e,e as a,L as _e,z as v,a2 as q,a as m,b as K,w as r,F as k,p as y,C as pe,D as fe,a5 as j,A as ve,ax as be,ay as ze,_ as ke}from"./index-78599b4f.js";import{C as g}from"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";const ge={class:"form-step-title"},he=o("span",{class:"form-step-number"},"1",-1),ye={class:"instruction-list"},Ce={href:"https://helm.sh/docs/intro/install/"},Ee={class:"form-step-title"},Ke=o("span",{class:"form-step-number"},"2",-1),Ve=o("p",null,"On your local machine, create a namespace in your Kubernetes cluster and pull down the kong Helm repo.",-1),$e={class:"instruction-list"},we={class:"form-step-title"},Ie=o("span",{class:"form-step-number"},"3",-1),Ne={class:"form-step-title"},Te=o("span",{class:"form-step-number"},"4",-1),Se={class:"field-group-label mt-4"},Ze={class:"mt-4"},Le=x({__name:"ZoneCreateKubernetesInstructions",props:{zoneName:{type:String,required:!0},globalKdsAddress:{type:String,required:!0},zoneIngressEnabled:{type:Boolean,required:!0},zoneEgressEnabled:{type:Boolean,required:!0},token:{type:String,required:!0},base64EncodedToken:{type:String,required:!0}},setup(N){const{t}=B(),h=J(),_=N,V=C(()=>t("zones.form.kubernetes.secret.createSecretCommand",{token:_.base64EncodedToken}).trim()),b=C(()=>{const p={zoneName:_.zoneName,globalKdsAddress:_.globalKdsAddress,zoneIngressEnabled:String(_.zoneIngressEnabled),zoneEgressEnabled:String(_.zoneEgressEnabled)};return typeof h.params.virtualControlPlaneId=="string"&&(p.controlPlaneId=h.params.virtualControlPlaneId),t("zones.form.kubernetes.connectZone.config",p).trim()});return(p,$)=>(l(),c("div",null,[o("h3",ge,[he,n(" "+s(e(t)("zones.form.kubernetes.prerequisites.title")),1)]),n(),o("ul",ye,[o("li",null,[o("b",null,s(e(t)("zones.form.kubernetes.prerequisites.step1Label"))+s(_.zoneIngressEnabled?" "+e(t)("zones.form.kubernetes.prerequisites.step1LabelAddendum"):""),1),n(`: `+s(e(t)("zones.form.kubernetes.prerequisites.step1Description",{productName:e(t)("common.product.name")})),1)]),n(),o("li",null,[o("b",null,s(e(t)("zones.form.kubernetes.prerequisites.step2Label")),1),n(`: `+s(e(t)("zones.form.kubernetes.prerequisites.step2Description")),1)]),n(),o("li",null,[o("a",Ce,s(e(t)("zones.form.kubernetes.prerequisites.step3LinkTitle")),1),n(" "+s(e(t)("zones.form.kubernetes.prerequisites.step3Tail")),1)])]),n(),o("h3",Ee,[Ke,n(" "+s(e(t)("zones.form.kubernetes.helm.title")),1)]),n(),Ve,n(),o("ol",$e,[o("li",null,[o("b",null,s(e(t)("zones.form.kubernetes.helm.step1Description")),1),n(),a(g,{id:"zone-kubernetes-create-namespace",class:"mt-2",code:e(t)("zones.form.kubernetes.helm.step1Command"),language:"bash"},null,8,["code"])]),n(),o("li",null,[o("b",null,s(e(t)("zones.form.kubernetes.helm.step2Description")),1),n(),a(g,{id:"zone-kubernetes-add-charts-repo",class:"mt-2",code:e(t)("zones.form.kubernetes.helm.step2Command"),language:"bash"},null,8,["code"])]),n(),o("li",null,[o("b",null,s(e(t)("zones.form.kubernetes.helm.step3Description")),1),n(),a(g,{id:"zone-kubernetes-repo-update",class:"mt-2",code:e(t)("zones.form.kubernetes.helm.step3Command"),language:"bash"},null,8,["code"])])]),n(),o("h3",we,[Ie,n(" "+s(e(t)("zones.form.kubernetes.secret.title")),1)]),n(),o("p",null,s(e(t)("zones.form.kubernetes.secret.createSecretDescription")),1),n(),a(g,{id:"zone-kubernetes-create-secret",class:"mt-4",code:V.value,language:"bash"},null,8,["code"]),n(),o("h3",Ne,[Te,n(" "+s(e(t)("zones.form.kubernetes.connectZone.title")),1)]),n(),o("p",null,s(e(t)("zones.form.kubernetes.connectZone.configDescription")),1),n(),o("span",Se,s(e(t)("zones.form.kubernetes.connectZone.configFileName")),1),n(),a(g,{id:"zone-kubernetes-config-code-block","data-testid":"zone-kubernetes-config",code:b.value,language:"yaml"},null,8,["code"]),n(),o("p",Ze,s(e(t)("zones.form.kubernetes.connectZone.connectDescription")),1),n(),a(g,{id:"zone-kubernetes-command-code-block",class:"mt-4",code:e(t)("zones.form.kubernetes.connectZone.connectCommand").trim(),language:"bash"},null,8,["code"])]))}}),Ae={class:"form-step-title"},De=o("span",{class:"form-step-number"},"1",-1),qe={class:"form-step-title"},xe=o("span",{class:"form-step-number"},"2",-1),Be={class:"field-group-label mt-4"},Re={class:"mt-4"},Ue=x({__name:"ZoneCreateUniversalInstructions",props:{zoneName:{type:String,required:!0},globalKdsAddress:{type:String,required:!0},token:{type:String,required:!0}},setup(N){const{t}=B(),h=J(),_=N,V=C(()=>t("zones.form.universal.saveToken.saveTokenCommand",{token:_.token}).trim()),b=C(()=>{const p={zoneName:_.zoneName,globalKdsAddress:_.globalKdsAddress};return typeof h.params.virtualControlPlaneId=="string"&&(p.controlPlaneId=h.params.virtualControlPlaneId),t("zones.form.universal.connectZone.config",p).trim()});return(p,$)=>(l(),c("div",null,[o("h3",Ae,[De,n(" "+s(e(t)("zones.form.universal.saveToken.title")),1)]),n(),o("p",null,s(e(t)("zones.form.universal.saveToken.saveTokenDescription")),1),n(),a(g,{id:"zone-kubernetes-token",class:"mt-4",code:V.value,language:"bash"},null,8,["code"]),n(),o("h3",qe,[xe,n(" "+s(e(t)("zones.form.universal.connectZone.title")),1)]),n(),o("p",null,s(e(t)("zones.form.universal.connectZone.configDescription")),1),n(),o("span",Be,s(e(t)("zones.form.universal.connectZone.configFileName")),1),n(),a(g,{id:"zone-universal-config-code-block","data-testid":"zone-universal-config",class:"mt-4",code:b.value,language:"yaml"},null,8,["code"]),n(),o("p",Re,s(e(t)("zones.form.universal.connectZone.connectDescription")),1),n(),a(g,{id:"zone-universal-connect-command-code-block",class:"mt-4",code:e(t)("zones.form.universal.connectZone.connectCommand").trim(),language:"bash"},null,8,["code"])]))}}),Pe={class:"form-wrapper"},Oe={key:1},Me={key:2},Fe={class:"form"},Xe={class:"form-header"},Ge={class:"form-title"},He={class:"text-gradient"},We={key:0},je={key:0},Je={class:"fact-list"},Qe={class:"form-section"},Ye={class:"form-section__header"},en={class:"form-section-title"},nn={class:"form-section__content"},on={class:"form-section","data-testid":"connect-zone-instructions"},tn={class:"form-section__header"},sn={class:"form-section-title"},an={class:"form-section__content"},ln={class:"field-group-list"},rn={class:"field-group"},cn={class:"field-group-label"},un={class:"radio-button-group"},dn={class:"field-group"},mn={class:"field-group-label"},_n={class:"radio-button-group"},pn={class:"field-group"},fn={class:"field-group-label"},vn={class:"radio-button-group"},bn={class:"form-section"},zn={class:"form-section__header"},kn={class:"form-section-title"},gn={class:"form-section__content"},hn={class:"form-section"},yn={key:0,class:"form-section__header"},Cn={class:"form-section-title"},En={class:"form-section__content"},Kn={key:0},Vn={class:"mt-2"},$n=x({__name:"ZoneCreateView",setup(N){const{t,tm:h}=B(),_=_e(),V=/^(?![-0-9])[a-z0-9-]{1,63}$/,b=v(null),p=v(!1),$=v(!1),f=v(null),T=v(null),Z=v(""),R=v(!1),Q=v(new Date),d=v(""),E=v("kubernetes"),L=v(!0),A=v(!0),w=C(()=>b.value!==null&&b.value.token?b.value.token:""),Y=C(()=>w.value!==""?window.btoa(w.value):""),ee=C(()=>d.value===""||p.value||b.value!==null),D=C(()=>{if(T.value!==null)return T.value;if(f.value instanceof q){const z=f.value.invalidParameters.find(u=>u.field==="name");if(z!==void 0)return z.reason}return null});async function ne(){p.value=!0,f.value=null,Z.value="";try{if(!U(d.value))return;b.value=await _.createZone({name:d.value})}catch(z){z instanceof Error?(Z.value=d.value,f.value=z):console.error(z)}finally{p.value=!1}}function U(z){const u=V.test(z);return u?T.value=null:T.value=t("zones.create.invalidNameError"),u}function P(){$.value=!$.value}function oe(){R.value=!0}return(z,u)=>{const te=m("RouteTitle"),S=m("KButton"),se=m("KAlert"),ae=m("KLabel"),le=m("KInput"),O=m("KRadio"),M=m("KInputSwitch"),F=m("DataSource"),re=m("KEmptyState"),ie=m("KCard"),ce=m("KModal"),ue=m("AppView"),de=m("RouteView");return l(),K(de,{name:"zone-create-view",attrs:{class:"is-fullscreen"}},{default:r(({route:X})=>[a(ue,{fullscreen:!0,breadcrumbs:[]},{title:r(()=>[o("h1",null,[a(te,{title:e(t)("zones.routes.create.title")},null,8,["title"])])]),actions:r(()=>[a(S,{appearance:"tertiary","data-testid":"exit-button",onClick:()=>{w.value===""||R.value?X.back({name:"zone-cp-list-view"}):P()}},{default:r(()=>[n(s(e(t)("zones.form.exit")),1)]),_:2},1032,["onClick"])]),default:r(()=>[n(),n(),o("div",Pe,[f.value!==null?(l(),K(se,{key:0,appearance:"danger",class:"mb-4","dismiss-type":"icon","data-testid":"create-zone-error"},{alertMessage:r(()=>[f.value instanceof e(q)&&[409,500].includes(f.value.status)?(l(),c(k,{key:0},[o("p",null,s(e(t)(`zones.create.status_error.${f.value.status}.title`,{name:Z.value})),1),n(),o("p",null,s(e(t)(`zones.create.status_error.${f.value.status}.description`)),1)],64)):f.value instanceof e(q)?(l(),c("p",Oe,s(e(t)("common.error_state.api_error",{status:f.value.status,title:f.value.detail})),1)):(l(),c("p",Me,s(e(t)("common.error_state.default_error")),1))]),_:1})):y("",!0),n(),a(ie,{class:"form-card"},{default:r(()=>[o("div",Fe,[o("div",Xe,[o("div",null,[o("h1",Ge,[o("span",He,s(e(t)("zones.form.title")),1)]),n(),e(t)("zones.form.description")!==" "?(l(),c("p",We,s(e(t)("zones.form.description")),1)):y("",!0)]),n(),e(h)("zones.form.facts").length>0?(l(),c("div",je,[o("ul",Je,[(l(!0),c(k,null,pe(e(h)("zones.form.facts"),(i,I)=>(l(),c("li",{key:I,class:"fact-list__item"},[a(e(fe),{color:e(G)},null,8,["color"]),n(" "+s(i),1)]))),128))])])):y("",!0)]),n(),o("div",Qe,[o("div",Ye,[o("h2",en,s(e(t)("zones.form.section.name.title")),1),n(),o("p",null,s(e(t)("zones.form.section.name.description")),1)]),n(),o("div",nn,[o("div",null,[a(ae,{for:"zone-name",required:"","tooltip-attributes":{placement:"right"}},{tooltip:r(()=>[n(s(e(t)("zones.form.name_tooltip")),1)]),default:r(()=>[n(s(e(t)("zones.form.nameLabel"))+" ",1)]),_:1}),n(),a(le,{id:"zone-name",modelValue:d.value,"onUpdate:modelValue":u[0]||(u[0]=i=>d.value=i),type:"text",name:"zone-name","data-testid":"name-input","data-test-error-type":D.value!==null?"invalid-dns-name":void 0,error:D.value!==null,"error-message":D.value??void 0,disabled:b.value!==null,onBlur:u[1]||(u[1]=i=>U(d.value))},null,8,["modelValue","data-test-error-type","error","error-message","disabled"])]),n(),a(S,{appearance:"primary",class:"mt-4",disabled:ee.value,"data-testid":"create-zone-button",onClick:ne},{default:r(()=>[p.value?(l(),K(e(j),{key:0,color:e(H),size:e(W)},null,8,["color","size"])):(l(),K(e(ve),{key:1,size:e(W)},null,8,["size"])),n(" "+s(e(t)("zones.form.createZoneButtonLabel")),1)]),_:1},8,["disabled"])])]),n(),b.value!==null?(l(),c(k,{key:0},[o("div",on,[o("div",tn,[o("h2",sn,s(e(t)("zones.form.section.configuration.title")),1),n(),o("p",null,s(e(t)("zones.form.section.configuration.description")),1)]),n(),o("div",an,[o("div",ln,[o("div",rn,[o("span",cn,s(e(t)("zones.form.environmentLabel"))+` * `,1),n(),o("div",un,[a(O,{id:"zone-environment-universal",modelValue:E.value,"onUpdate:modelValue":u[2]||(u[2]=i=>E.value=i),"selected-value":"universal",name:"zone-environment","data-testid":"environment-universal-radio-button"},{default:r(()=>[n(s(e(t)("zones.form.universalLabel")),1)]),_:1},8,["modelValue"]),n(),a(O,{id:"zone-environment-kubernetes",modelValue:E.value,"onUpdate:modelValue":u[3]||(u[3]=i=>E.value=i),"selected-value":"kubernetes",name:"zone-environment","data-testid":"environment-kubernetes-radio-button"},{default:r(()=>[n(s(e(t)("zones.form.kubernetesLabel")),1)]),_:1},8,["modelValue"])])]),n(),E.value==="kubernetes"?(l(),c(k,{key:0},[o("div",dn,[o("span",mn,s(e(t)("zones.form.zoneIngressLabel"))+` * diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-9a99bbb2.js b/app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-90c4967c.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-9a99bbb2.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-90c4967c.js index 6a7f9e28ec0b..7f2d4b6b6ff6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-9a99bbb2.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-90c4967c.js @@ -1 +1 @@ -import{d as D,k as N,L as B,U as R,z as E,a as i,o as r,c as I,e as s,w as o,aC as S,f as u,t as g,l as n,b as m,m as h,p as Z,W as M,B as K,az as V}from"./index-6594470f.js";import{_ as L}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-ed0042ad.js";import{E as $}from"./ErrorBlock-eae09ed8.js";import{_ as P}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{N as j}from"./NavTabs-bb254677.js";import{T as G}from"./TextWithCopyButton-e98ec405.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./CopyButton-60165c43.js";const W=D({__name:"ZoneActionMenu",props:{zoneOverview:{type:Object,required:!0},kpopAttributes:{type:Object,default:()=>({placement:"bottomEnd"})}},setup(y){const{t}=N(),C=B(),x=R(),c=y,l=E(!1);function _(){l.value=!l.value}async function f(){await C.deleteZone({name:c.zoneOverview.name})}function e(){x.push({name:"zone-cp-list-view"})}return(a,p)=>{const d=i("KDropdownItem"),v=i("KDropdown");return r(),I("div",null,[s(v,{"kpop-attributes":c.kpopAttributes,"trigger-text":n(t)("zones.action_menu.toggle_button"),"show-caret":"",width:"280"},{items:o(()=>[s(d,{danger:"","data-testid":"delete-button",onClick:S(_,["prevent"])},{default:o(()=>[u(g(n(t)("zones.action_menu.delete_button")),1)]),_:1})]),_:1},8,["kpop-attributes","trigger-text"]),u(),l.value?(r(),m(L,{key:0,"confirmation-text":c.zoneOverview.name,"delete-function":f,"is-visible":"","action-button-text":n(t)("common.delete_modal.proceed_button"),title:n(t)("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:_,onDelete:e},{"body-content":o(()=>[h("p",null,g(n(t)("common.delete_modal.text1",{type:"Zone",name:c.zoneOverview.name})),1),u(),h("p",null,g(n(t)("common.delete_modal.text2")),1)]),_:1},8,["confirmation-text","action-button-text","title"])):Z("",!0)])}}}),te=D({__name:"ZoneDetailTabsView",setup(y){var f;const{t}=N(),c=(((f=R().getRoutes().find(e=>e.name==="zone-cp-detail-tabs-view"))==null?void 0:f.children)??[]).map(e=>{var b,w;const a=typeof e.name>"u"?(b=e.children)==null?void 0:b[0]:e,p=a.name,d=((w=a.meta)==null?void 0:w.module)??"";return{title:t(`zone-cps.routes.item.navigation.${p}`),routeName:p,module:d}}),l=E([]),_=e=>{const a=[];e.zoneInsight.store==="memory"&&a.push({kind:"ZONE_STORE_TYPE_MEMORY",payload:{}}),V(e.zoneInsight,"version.kumaCp.kumaCpGlobalCompatible","true")||a.push({kind:"INCOMPATIBLE_ZONE_AND_GLOBAL_CPS_VERSIONS",payload:{zoneCpVersion:V(e.zoneInsight,"version.kumaCp.version",t("common.collection.none"))}}),l.value=a};return(e,a)=>{const p=i("RouteTitle"),d=i("RouterView"),v=i("AppView"),b=i("DataSource"),w=i("RouteView");return r(),m(w,{name:"zone-cp-detail-tabs-view",params:{zone:""}},{default:o(({can:T,route:z})=>[s(b,{src:`/zone-cps/${z.params.zone}`,onChange:_},{default:o(({data:k,error:O})=>[O!==void 0?(r(),m($,{key:0,error:O},null,8,["error"])):k===void 0?(r(),m(P,{key:1})):(r(),m(v,{key:2,breadcrumbs:[{to:{name:"zone-cp-list-view"},text:n(t)("zone-cps.routes.item.breadcrumbs")}]},M({title:o(()=>[h("h1",null,[s(G,{text:z.params.zone},{default:o(()=>[s(p,{title:n(t)("zone-cps.routes.item.title",{name:z.params.zone})},null,8,["title"])]),_:2},1032,["text"])])]),default:o(()=>[u(),u(),s(j,{class:"route-zone-detail-view-tabs",tabs:n(c)},null,8,["tabs"]),u(),s(d,null,{default:o(A=>[(r(),m(K(A.Component),{data:k,notifications:l.value},null,8,["data","notifications"]))]),_:2},1024)]),_:2},[T("create zones")?{name:"actions",fn:o(()=>[s(W,{"zone-overview":k},null,8,["zone-overview"])]),key:"0"}:void 0]),1032,["breadcrumbs"]))]),_:2},1032,["src"])]),_:1})}}});export{te as default}; +import{d as D,k as N,L as B,U as R,z as E,a as i,o as r,c as I,e as s,w as o,aC as S,f as u,t as g,l as n,b as m,m as h,p as Z,W as M,B as K,az as V}from"./index-78599b4f.js";import{_ as L}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-41f7b16a.js";import{E as $}from"./ErrorBlock-c71bafad.js";import{_ as P}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{N as j}from"./NavTabs-3217ce74.js";import{T as G}from"./TextWithCopyButton-c32acac7.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./CopyButton-752e056c.js";const W=D({__name:"ZoneActionMenu",props:{zoneOverview:{type:Object,required:!0},kpopAttributes:{type:Object,default:()=>({placement:"bottomEnd"})}},setup(y){const{t}=N(),C=B(),x=R(),c=y,l=E(!1);function _(){l.value=!l.value}async function f(){await C.deleteZone({name:c.zoneOverview.name})}function e(){x.push({name:"zone-cp-list-view"})}return(a,p)=>{const d=i("KDropdownItem"),v=i("KDropdown");return r(),I("div",null,[s(v,{"kpop-attributes":c.kpopAttributes,"trigger-text":n(t)("zones.action_menu.toggle_button"),"show-caret":"",width:"280"},{items:o(()=>[s(d,{danger:"","data-testid":"delete-button",onClick:S(_,["prevent"])},{default:o(()=>[u(g(n(t)("zones.action_menu.delete_button")),1)]),_:1})]),_:1},8,["kpop-attributes","trigger-text"]),u(),l.value?(r(),m(L,{key:0,"confirmation-text":c.zoneOverview.name,"delete-function":f,"is-visible":"","action-button-text":n(t)("common.delete_modal.proceed_button"),title:n(t)("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:_,onDelete:e},{"body-content":o(()=>[h("p",null,g(n(t)("common.delete_modal.text1",{type:"Zone",name:c.zoneOverview.name})),1),u(),h("p",null,g(n(t)("common.delete_modal.text2")),1)]),_:1},8,["confirmation-text","action-button-text","title"])):Z("",!0)])}}}),te=D({__name:"ZoneDetailTabsView",setup(y){var f;const{t}=N(),c=(((f=R().getRoutes().find(e=>e.name==="zone-cp-detail-tabs-view"))==null?void 0:f.children)??[]).map(e=>{var b,w;const a=typeof e.name>"u"?(b=e.children)==null?void 0:b[0]:e,p=a.name,d=((w=a.meta)==null?void 0:w.module)??"";return{title:t(`zone-cps.routes.item.navigation.${p}`),routeName:p,module:d}}),l=E([]),_=e=>{const a=[];e.zoneInsight.store==="memory"&&a.push({kind:"ZONE_STORE_TYPE_MEMORY",payload:{}}),V(e.zoneInsight,"version.kumaCp.kumaCpGlobalCompatible","true")||a.push({kind:"INCOMPATIBLE_ZONE_AND_GLOBAL_CPS_VERSIONS",payload:{zoneCpVersion:V(e.zoneInsight,"version.kumaCp.version",t("common.collection.none"))}}),l.value=a};return(e,a)=>{const p=i("RouteTitle"),d=i("RouterView"),v=i("AppView"),b=i("DataSource"),w=i("RouteView");return r(),m(w,{name:"zone-cp-detail-tabs-view",params:{zone:""}},{default:o(({can:T,route:z})=>[s(b,{src:`/zone-cps/${z.params.zone}`,onChange:_},{default:o(({data:k,error:O})=>[O!==void 0?(r(),m($,{key:0,error:O},null,8,["error"])):k===void 0?(r(),m(P,{key:1})):(r(),m(v,{key:2,breadcrumbs:[{to:{name:"zone-cp-list-view"},text:n(t)("zone-cps.routes.item.breadcrumbs")}]},M({title:o(()=>[h("h1",null,[s(G,{text:z.params.zone},{default:o(()=>[s(p,{title:n(t)("zone-cps.routes.item.title",{name:z.params.zone})},null,8,["title"])]),_:2},1032,["text"])])]),default:o(()=>[u(),u(),s(j,{class:"route-zone-detail-view-tabs",tabs:n(c)},null,8,["tabs"]),u(),s(d,null,{default:o(A=>[(r(),m(K(A.Component),{data:k,notifications:l.value},null,8,["data","notifications"]))]),_:2},1024)]),_:2},[T("create zones")?{name:"actions",fn:o(()=>[s(W,{"zone-overview":k},null,8,["zone-overview"])]),key:"0"}:void 0]),1032,["breadcrumbs"]))]),_:2},1032,["src"])]),_:1})}}});export{te as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-02ab6610.js b/app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-c9fb9a38.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-02ab6610.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-c9fb9a38.js index 2a1a0d9e847d..46e8cc24e195 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-02ab6610.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-c9fb9a38.js @@ -1 +1 @@ -import{d as h,a as d,o as c,b as y,w as t,e as o,W as b,f as e,m as i,X as r,t as a,c as p,p as k,F as v,C as w}from"./index-6594470f.js";import{S as V}from"./StatusBadge-0fda3dff.js";import{_ as g}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-ffb3c891.js";import"./AccordionList-373416d3.js";const z=["data-testid","innerHTML"],C={"data-testid":"detail-view-details",class:"stack"},B={class:"columns"},x={key:0},L=h({__name:"ZoneDetailView",props:{data:{},notifications:{default:()=>[]}},setup(m){const s=m;return(I,N)=>{const u=d("KCard"),_=d("AppView"),f=d("RouteView");return c(),y(f,{name:"zone-cp-detail-view"},{default:t(({t:n})=>[o(_,null,b({default:t(()=>[e(),i("div",C,[o(u,null,{default:t(()=>[i("div",B,[o(r,null,{title:t(()=>[e(a(n("http.api.property.status")),1)]),body:t(()=>[o(V,{status:s.data.state},null,8,["status"])]),_:2},1024),e(),o(r,null,{title:t(()=>[e(a(n("http.api.property.type")),1)]),body:t(()=>[e(a(n(`common.product.environment.${s.data.zoneInsight.environment||"unknown"}`)),1)]),_:2},1024),e(),o(r,null,{title:t(()=>[e(a(n("zone-cps.routes.item.authentication_type")),1)]),body:t(()=>[e(a(s.data.zoneInsight.authenticationType||n("common.not_applicable")),1)]),_:2},1024)])]),_:2},1024),e(),s.data.zoneInsight.subscriptions.length>0?(c(),p("div",x,[i("h2",null,a(n("zone-cps.detail.subscriptions")),1),e(),o(u,{class:"mt-4"},{default:t(()=>[o(g,{subscriptions:s.data.zoneInsight.subscriptions},{default:t(()=>[i("p",null,a(n("zone-cps.routes.item.subscription_intro")),1)]),_:2},1032,["subscriptions"])]),_:2},1024)])):k("",!0)])]),_:2},[s.notifications.length>0?{name:"notifications",fn:t(()=>[i("ul",null,[(c(!0),p(v,null,w(s.notifications,l=>(c(),p("li",{key:l.kind,"data-testid":`warning-${l.kind}`,innerHTML:n(`common.warnings.${l.kind}`,l.payload)},null,8,z))),128)),e()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{L as default}; +import{d as h,a as d,o as c,b as y,w as t,e as o,W as b,f as e,m as i,X as r,t as a,c as p,p as k,F as v,C as w}from"./index-78599b4f.js";import{S as V}from"./StatusBadge-3f562081.js";import{_ as g}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-16d3020e.js";import"./AccordionList-78965fe7.js";const z=["data-testid","innerHTML"],C={"data-testid":"detail-view-details",class:"stack"},B={class:"columns"},x={key:0},L=h({__name:"ZoneDetailView",props:{data:{},notifications:{default:()=>[]}},setup(m){const s=m;return(I,N)=>{const u=d("KCard"),_=d("AppView"),f=d("RouteView");return c(),y(f,{name:"zone-cp-detail-view"},{default:t(({t:n})=>[o(_,null,b({default:t(()=>[e(),i("div",C,[o(u,null,{default:t(()=>[i("div",B,[o(r,null,{title:t(()=>[e(a(n("http.api.property.status")),1)]),body:t(()=>[o(V,{status:s.data.state},null,8,["status"])]),_:2},1024),e(),o(r,null,{title:t(()=>[e(a(n("http.api.property.type")),1)]),body:t(()=>[e(a(n(`common.product.environment.${s.data.zoneInsight.environment||"unknown"}`)),1)]),_:2},1024),e(),o(r,null,{title:t(()=>[e(a(n("zone-cps.routes.item.authentication_type")),1)]),body:t(()=>[e(a(s.data.zoneInsight.authenticationType||n("common.not_applicable")),1)]),_:2},1024)])]),_:2},1024),e(),s.data.zoneInsight.subscriptions.length>0?(c(),p("div",x,[i("h2",null,a(n("zone-cps.detail.subscriptions")),1),e(),o(u,{class:"mt-4"},{default:t(()=>[o(g,{subscriptions:s.data.zoneInsight.subscriptions},{default:t(()=>[i("p",null,a(n("zone-cps.routes.item.subscription_intro")),1)]),_:2},1032,["subscriptions"])]),_:2},1024)])):k("",!0)])]),_:2},[s.notifications.length>0?{name:"notifications",fn:t(()=>[i("ul",null,[(c(!0),p(v,null,w(s.notifications,l=>(c(),p("li",{key:l.kind,"data-testid":`warning-${l.kind}`,innerHTML:n(`common.warnings.${l.kind}`,l.payload)},null,8,z))),128)),e()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{L as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-2014d5f6.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-d384d294.js similarity index 66% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-2014d5f6.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-d384d294.js index f97bbdde0788..a4000d6d0995 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-2014d5f6.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-d384d294.js @@ -1 +1 @@ -import{_ as l}from"./EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js";import{d as m,a as t,o as d,b as u,w as s,e as r,m as _,f as g}from"./index-6594470f.js";import"./index-fce48c05.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./ErrorBlock-eae09ed8.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";const N=m({__name:"ZoneEgressClustersView",setup(f){return(h,C)=>{const a=t("RouteTitle"),n=t("KCard"),p=t("AppView"),i=t("RouteView");return d(),u(i,{name:"zone-egress-clusters-view",params:{zoneEgress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:s(({route:e,t:c})=>[r(p,null,{title:s(()=>[_("h2",null,[r(a,{title:c("zone-egresses.routes.item.navigation.zone-egress-clusters-view")},null,8,["title"])])]),default:s(()=>[g(),r(n,null,{default:s(()=>[r(l,{resource:"Zone",src:`/zone-egresses/${e.params.zoneEgress}/data-path/clusters`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{N as default}; +import{_ as l}from"./EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js";import{d as m,a as t,o as d,b as u,w as s,e as r,m as _,f as g}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./ErrorBlock-c71bafad.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";const N=m({__name:"ZoneEgressClustersView",setup(f){return(h,C)=>{const a=t("RouteTitle"),n=t("KCard"),p=t("AppView"),i=t("RouteView");return d(),u(i,{name:"zone-egress-clusters-view",params:{zoneEgress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:s(({route:e,t:c})=>[r(p,null,{title:s(()=>[_("h2",null,[r(a,{title:c("zone-egresses.routes.item.navigation.zone-egress-clusters-view")},null,8,["title"])])]),default:s(()=>[g(),r(n,null,{default:s(()=>[r(l,{resource:"Zone",src:`/zone-egresses/${e.params.zoneEgress}/data-path/clusters`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{N as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-57d187b7.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-26e0d113.js similarity index 76% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-57d187b7.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-26e0d113.js index 89ef1c17aa81..bf947583e999 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-57d187b7.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-26e0d113.js @@ -1 +1 @@ -import{_ as E}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-5c4d11ef.js";import{E as x}from"./ErrorBlock-eae09ed8.js";import{_ as w}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{d as R,a as s,o as n,b as a,w as r,e as t,m as V,f as k,p as z}from"./index-6594470f.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./TextWithCopyButton-e98ec405.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const Q=R({__name:"ZoneEgressConfigView",setup(v){return(y,F)=>{const d=s("RouteTitle"),c=s("DataSource"),_=s("KCard"),g=s("AppView"),u=s("RouteView");return n(),a(u,{name:"zone-egress-config-view",params:{zoneEgress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:r(({route:e,t:f})=>[t(g,null,{title:r(()=>[V("h2",null,[t(d,{title:f("zone-egresses.routes.item.navigation.zone-egress-config-view")},null,8,["title"])])]),default:r(()=>[k(),t(_,null,{default:r(()=>[t(c,{src:`/zone-egresses/${e.params.zoneEgress}`},{default:r(({data:p,error:m})=>[m!==void 0?(n(),a(x,{key:0,error:m},null,8,["error"])):p===void 0?(n(),a(w,{key:1})):(n(),a(E,{key:2,resource:p.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},{default:r(({copy:o,copying:h})=>[h?(n(),a(c,{key:0,src:`/zone-egresses/${e.params.zoneEgress}/as/kubernetes?no-store`,onChange:i=>{o(l=>l(i))},onError:i=>{o((l,C)=>C(i))}},null,8,["src","onChange","onError"])):z("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{Q as default}; +import{_ as E}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js";import{E as x}from"./ErrorBlock-c71bafad.js";import{_ as w}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{d as R,a as s,o as n,b as a,w as r,e as t,m as V,f as k,p as z}from"./index-78599b4f.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./TextWithCopyButton-c32acac7.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const Q=R({__name:"ZoneEgressConfigView",setup(v){return(y,F)=>{const d=s("RouteTitle"),c=s("DataSource"),_=s("KCard"),g=s("AppView"),u=s("RouteView");return n(),a(u,{name:"zone-egress-config-view",params:{zoneEgress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:r(({route:e,t:f})=>[t(g,null,{title:r(()=>[V("h2",null,[t(d,{title:f("zone-egresses.routes.item.navigation.zone-egress-config-view")},null,8,["title"])])]),default:r(()=>[k(),t(_,null,{default:r(()=>[t(c,{src:`/zone-egresses/${e.params.zoneEgress}`},{default:r(({data:p,error:m})=>[m!==void 0?(n(),a(x,{key:0,error:m},null,8,["error"])):p===void 0?(n(),a(w,{key:1})):(n(),a(E,{key:2,resource:p.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},{default:r(({copy:o,copying:h})=>[h?(n(),a(c,{key:0,src:`/zone-egresses/${e.params.zoneEgress}/as/kubernetes?no-store`,onChange:i=>{o(l=>l(i))},onError:i=>{o((l,C)=>C(i))}},null,8,["src","onChange","onError"])):z("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{Q as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-4bdaf901.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-96c42db1.js similarity index 77% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-4bdaf901.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-96c42db1.js index 2f90d7de505b..a5564b826b96 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-4bdaf901.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-96c42db1.js @@ -1 +1 @@ -import{d as x,k as R,U as k,a as o,o as n,b as l,w as t,e as s,l as u,m as E,f as g,c as B,F as T,B as h}from"./index-6594470f.js";import{E as y}from"./ErrorBlock-eae09ed8.js";import{_ as C}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{N}from"./NavTabs-bb254677.js";import{T as D}from"./TextWithCopyButton-e98ec405.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./CopyButton-60165c43.js";const H=x({__name:"ZoneEgressDetailTabsView",setup($){var _;const{t:a}=R(),w=(((_=k().getRoutes().find(e=>e.name==="zone-egress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var m,i;const p=typeof e.name>"u"?(m=e.children)==null?void 0:m[0]:e,r=p.name,d=((i=p.meta)==null?void 0:i.module)??"";return{title:a(`zone-egresses.routes.item.navigation.${r}`),routeName:r,module:d}});return(e,p)=>{const r=o("RouteTitle"),d=o("RouterView"),f=o("DataSource"),m=o("AppView"),i=o("RouteView");return n(),l(i,{name:"zone-egress-detail-tabs-view",params:{zone:"",zoneEgress:""}},{default:t(({route:c,can:v})=>[s(m,{breadcrumbs:[...v("use zones")?[{to:{name:"zone-cp-list-view"},text:u(a)("zone-cps.routes.item.breadcrumbs")}]:[],{to:{name:"zone-egress-list-view",params:{zone:c.params.zone}},text:u(a)("zone-egresses.routes.item.breadcrumbs")}]},{title:t(()=>[E("h1",null,[s(D,{text:c.params.zoneEgress},{default:t(()=>[s(r,{title:u(a)("zone-egresses.routes.item.title",{name:c.params.zoneEgress})},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[g(),s(f,{src:`/zone-egress-overviews/${c.params.zoneEgress}`},{default:t(({data:z,error:b})=>[b!==void 0?(n(),l(y,{key:0,error:b},null,8,["error"])):z===void 0?(n(),l(C,{key:1})):(n(),B(T,{key:2},[s(N,{class:"route-zone-egress-detail-view-tabs",tabs:u(w)},null,8,["tabs"]),g(),s(d,null,{default:t(V=>[(n(),l(h(V.Component),{data:z},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{H as default}; +import{d as x,k as R,U as k,a as o,o as n,b as l,w as t,e as s,l as u,m as E,f as g,c as B,F as T,B as h}from"./index-78599b4f.js";import{E as y}from"./ErrorBlock-c71bafad.js";import{_ as C}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{N}from"./NavTabs-3217ce74.js";import{T as D}from"./TextWithCopyButton-c32acac7.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./CopyButton-752e056c.js";const H=x({__name:"ZoneEgressDetailTabsView",setup($){var _;const{t:a}=R(),w=(((_=k().getRoutes().find(e=>e.name==="zone-egress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var m,i;const p=typeof e.name>"u"?(m=e.children)==null?void 0:m[0]:e,r=p.name,d=((i=p.meta)==null?void 0:i.module)??"";return{title:a(`zone-egresses.routes.item.navigation.${r}`),routeName:r,module:d}});return(e,p)=>{const r=o("RouteTitle"),d=o("RouterView"),f=o("DataSource"),m=o("AppView"),i=o("RouteView");return n(),l(i,{name:"zone-egress-detail-tabs-view",params:{zone:"",zoneEgress:""}},{default:t(({route:c,can:v})=>[s(m,{breadcrumbs:[...v("use zones")?[{to:{name:"zone-cp-list-view"},text:u(a)("zone-cps.routes.item.breadcrumbs")}]:[],{to:{name:"zone-egress-list-view",params:{zone:c.params.zone}},text:u(a)("zone-egresses.routes.item.breadcrumbs")}]},{title:t(()=>[E("h1",null,[s(D,{text:c.params.zoneEgress},{default:t(()=>[s(r,{title:u(a)("zone-egresses.routes.item.title",{name:c.params.zoneEgress})},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[g(),s(f,{src:`/zone-egress-overviews/${c.params.zoneEgress}`},{default:t(({data:z,error:b})=>[b!==void 0?(n(),l(y,{key:0,error:b},null,8,["error"])):z===void 0?(n(),l(C,{key:1})):(n(),B(T,{key:2},[s(N,{class:"route-zone-egress-detail-view-tabs",tabs:u(w)},null,8,["tabs"]),g(),s(d,null,{default:t(V=>[(n(),l(h(V.Component),{data:z},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{H as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-650077c9.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-e26a6e60.js similarity index 75% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-650077c9.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-e26a6e60.js index 183a0ac6248d..6cd82d063a09 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-650077c9.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-e26a6e60.js @@ -1 +1 @@ -import{d as y,a as d,o as s,b as _,w as e,e as t,m as c,X as f,f as a,t as r,c as i,F as p,C as w,p as C}from"./index-6594470f.js";import{S as V}from"./StatusBadge-0fda3dff.js";import{T as x}from"./TextWithCopyButton-e98ec405.js";import{_ as v}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-ffb3c891.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";import"./AccordionList-373416d3.js";const B={class:"stack","data-testid":"detail-view-details"},z={class:"columns"},E={key:0},I=y({__name:"ZoneEgressDetailView",props:{data:{}},setup(g){const o=g;return(b,A)=>{const m=d("KCard"),h=d("AppView"),k=d("RouteView");return s(),_(k,{name:"zone-egress-detail-view"},{default:e(({t:n})=>[t(h,null,{default:e(()=>{var u;return[c("div",B,[t(m,null,{default:e(()=>[c("div",z,[t(f,null,{title:e(()=>[a(r(n("http.api.property.status")),1)]),body:e(()=>[t(V,{status:o.data.state},null,8,["status"])]),_:2},1024),a(),t(f,null,{title:e(()=>[a(r(n("http.api.property.address")),1)]),body:e(()=>[o.data.zoneEgress.socketAddress.length>0?(s(),_(x,{key:0,text:o.data.zoneEgress.socketAddress},null,8,["text"])):(s(),i(p,{key:1},[a(r(n("common.detail.none")),1)],64))]),_:2},1024)])]),_:2},1024),a(),(s(!0),i(p,null,w([((u=o.data.zoneEgressInsight)==null?void 0:u.subscriptions)??[]],l=>(s(),i(p,{key:l},[l.length>0?(s(),i("div",E,[c("h2",null,r(n("zone-egresses.routes.item.subscriptions.title")),1),a(),t(m,{class:"mt-4"},{default:e(()=>[t(v,{subscriptions:l},null,8,["subscriptions"])]),_:2},1024)])):C("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{I as default}; +import{d as y,a as d,o as s,b as _,w as e,e as t,m as c,X as f,f as a,t as r,c as i,F as p,C as w,p as C}from"./index-78599b4f.js";import{S as V}from"./StatusBadge-3f562081.js";import{T as x}from"./TextWithCopyButton-c32acac7.js";import{_ as v}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-16d3020e.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";import"./AccordionList-78965fe7.js";const B={class:"stack","data-testid":"detail-view-details"},z={class:"columns"},E={key:0},I=y({__name:"ZoneEgressDetailView",props:{data:{}},setup(g){const o=g;return(b,A)=>{const m=d("KCard"),h=d("AppView"),k=d("RouteView");return s(),_(k,{name:"zone-egress-detail-view"},{default:e(({t:n})=>[t(h,null,{default:e(()=>{var u;return[c("div",B,[t(m,null,{default:e(()=>[c("div",z,[t(f,null,{title:e(()=>[a(r(n("http.api.property.status")),1)]),body:e(()=>[t(V,{status:o.data.state},null,8,["status"])]),_:2},1024),a(),t(f,null,{title:e(()=>[a(r(n("http.api.property.address")),1)]),body:e(()=>[o.data.zoneEgress.socketAddress.length>0?(s(),_(x,{key:0,text:o.data.zoneEgress.socketAddress},null,8,["text"])):(s(),i(p,{key:1},[a(r(n("common.detail.none")),1)],64))]),_:2},1024)])]),_:2},1024),a(),(s(!0),i(p,null,w([((u=o.data.zoneEgressInsight)==null?void 0:u.subscriptions)??[]],l=>(s(),i(p,{key:l},[l.length>0?(s(),i("div",E,[c("h2",null,r(n("zone-egresses.routes.item.subscriptions.title")),1),a(),t(m,{class:"mt-4"},{default:e(()=>[t(v,{subscriptions:l},null,8,["subscriptions"])]),_:2},1024)])):C("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{I as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-2557f197.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-9172e46b.js similarity index 84% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-2557f197.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-9172e46b.js index b0ff304edfe6..b6ee6a13da90 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-2557f197.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-9172e46b.js @@ -1 +1 @@ -import{K as C}from"./index-fce48c05.js";import{d as V,a as r,o as a,b as l,w as e,e as o,m as x,f as i,t as p,c as h,F as S,l as g,T as A,B as b,p as z,_ as B}from"./index-6594470f.js";import{A as R}from"./AppCollection-39f5da3b.js";import{E as T}from"./ErrorBlock-eae09ed8.js";import{S as L}from"./StatusBadge-0fda3dff.js";import{S as N}from"./SummaryView-4df08b91.js";import{T as D}from"./TextWithCopyButton-e98ec405.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./CopyButton-60165c43.js";const Z=V({__name:"ZoneEgressListView",setup(I){return(K,$)=>{const y=r("RouteTitle"),_=r("RouterLink"),f=r("KCard"),k=r("RouterView"),u=r("DataSource"),w=r("AppView"),v=r("RouteView");return a(),l(u,{src:"/me"},{default:e(({data:E})=>[E?(a(),l(v,{key:0,name:"zone-egress-list-view",params:{zone:"",zoneEgress:""}},{default:e(({route:n,t:m})=>[o(w,null,{title:e(()=>[x("h2",null,[o(y,{title:m("zone-egresses.routes.items.title")},null,8,["title"])])]),default:e(()=>[i(),o(u,{src:`/zone-cps/${n.params.zone||"*"}/egresses?page=1&size=100`},{default:e(({data:t,error:c})=>[o(f,null,{default:e(()=>[c!==void 0?(a(),l(T,{key:0,error:c},null,8,["error"])):(a(),l(R,{key:1,class:"zone-egress-collection","data-testid":"zone-egress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"socketAddress"},{label:"Status",key:"status"},{label:"Details",key:"details",hideLabel:!0}],"page-number":1,"page-size":100,total:t==null?void 0:t.total,items:t==null?void 0:t.items,error:c,"empty-state-message":m("common.emptyState.message",{type:"Zone Egresses"}),"empty-state-cta-to":m("zone-egresses.href.docs"),"empty-state-cta-text":m("common.documentation"),"is-selected-row":s=>s.name===n.params.zoneEgress,onChange:n.update},{name:e(({row:s})=>[o(_,{to:{name:"zone-egress-summary-view",params:{zone:n.params.zone,zoneEgress:s.name},query:{page:1,size:100}}},{default:e(()=>[i(p(s.name),1)]),_:2},1032,["to"])]),socketAddress:e(({row:s})=>[s.zoneEgress.socketAddress.length>0?(a(),l(D,{key:0,text:s.zoneEgress.socketAddress},null,8,["text"])):(a(),h(S,{key:1},[i(p(m("common.collection.none")),1)],64))]),status:e(({row:s})=>[o(L,{status:s.state},null,8,["status"])]),details:e(({row:s})=>[o(_,{class:"details-link","data-testid":"details-link",to:{name:"zone-egress-detail-view",params:{zoneEgress:s.name}}},{default:e(()=>[i(p(m("common.collection.details_link"))+" ",1),o(g(A),{display:"inline-block",decorative:"",size:g(C)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","is-selected-row","onChange"]))]),_:2},1024),i(),n.params.zoneEgress?(a(),l(k,{key:0},{default:e(s=>[o(N,{onClose:d=>n.replace({name:"zone-egress-list-view",params:{zone:n.params.zone},query:{page:1,size:100}})},{default:e(()=>[(a(),l(b(s.Component),{"zone-egress-overview":t==null?void 0:t.items.find(d=>d.name===n.params.zoneEgress)},null,8,["zone-egress-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):z("",!0)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):z("",!0)]),_:1})}}});const P=B(Z,[["__scopeId","data-v-ecf2c484"]]);export{P as default}; +import{K as C}from"./index-fce48c05.js";import{d as V,a as r,o as a,b as l,w as e,e as o,m as x,f as i,t as p,c as h,F as S,l as g,T as A,B as b,p as z,_ as B}from"./index-78599b4f.js";import{A as R}from"./AppCollection-fab1a627.js";import{E as T}from"./ErrorBlock-c71bafad.js";import{S as L}from"./StatusBadge-3f562081.js";import{S as N}from"./SummaryView-87032df3.js";import{T as D}from"./TextWithCopyButton-c32acac7.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./CopyButton-752e056c.js";const Z=V({__name:"ZoneEgressListView",setup(I){return(K,$)=>{const y=r("RouteTitle"),_=r("RouterLink"),f=r("KCard"),k=r("RouterView"),u=r("DataSource"),w=r("AppView"),v=r("RouteView");return a(),l(u,{src:"/me"},{default:e(({data:E})=>[E?(a(),l(v,{key:0,name:"zone-egress-list-view",params:{zone:"",zoneEgress:""}},{default:e(({route:n,t:m})=>[o(w,null,{title:e(()=>[x("h2",null,[o(y,{title:m("zone-egresses.routes.items.title")},null,8,["title"])])]),default:e(()=>[i(),o(u,{src:`/zone-cps/${n.params.zone||"*"}/egresses?page=1&size=100`},{default:e(({data:t,error:c})=>[o(f,null,{default:e(()=>[c!==void 0?(a(),l(T,{key:0,error:c},null,8,["error"])):(a(),l(R,{key:1,class:"zone-egress-collection","data-testid":"zone-egress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"socketAddress"},{label:"Status",key:"status"},{label:"Details",key:"details",hideLabel:!0}],"page-number":1,"page-size":100,total:t==null?void 0:t.total,items:t==null?void 0:t.items,error:c,"empty-state-message":m("common.emptyState.message",{type:"Zone Egresses"}),"empty-state-cta-to":m("zone-egresses.href.docs"),"empty-state-cta-text":m("common.documentation"),"is-selected-row":s=>s.name===n.params.zoneEgress,onChange:n.update},{name:e(({row:s})=>[o(_,{to:{name:"zone-egress-summary-view",params:{zone:n.params.zone,zoneEgress:s.name},query:{page:1,size:100}}},{default:e(()=>[i(p(s.name),1)]),_:2},1032,["to"])]),socketAddress:e(({row:s})=>[s.zoneEgress.socketAddress.length>0?(a(),l(D,{key:0,text:s.zoneEgress.socketAddress},null,8,["text"])):(a(),h(S,{key:1},[i(p(m("common.collection.none")),1)],64))]),status:e(({row:s})=>[o(L,{status:s.state},null,8,["status"])]),details:e(({row:s})=>[o(_,{class:"details-link","data-testid":"details-link",to:{name:"zone-egress-detail-view",params:{zoneEgress:s.name}}},{default:e(()=>[i(p(m("common.collection.details_link"))+" ",1),o(g(A),{display:"inline-block",decorative:"",size:g(C)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","is-selected-row","onChange"]))]),_:2},1024),i(),n.params.zoneEgress?(a(),l(k,{key:0},{default:e(s=>[o(N,{onClose:d=>n.replace({name:"zone-egress-list-view",params:{zone:n.params.zone},query:{page:1,size:100}})},{default:e(()=>[(a(),l(b(s.Component),{"zone-egress-overview":t==null?void 0:t.items.find(d=>d.name===n.params.zoneEgress)},null,8,["zone-egress-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):z("",!0)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):z("",!0)]),_:1})}}});const P=B(Z,[["__scopeId","data-v-ecf2c484"]]);export{P as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-745c444a.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-78bac372.js similarity index 66% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-745c444a.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-78bac372.js index 929860f3a04f..faaf97e994f2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-745c444a.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-78bac372.js @@ -1 +1 @@ -import{_ as m}from"./EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js";import{d,a as t,o as l,b as _,w as a,e as s,m as g,f as u}from"./index-6594470f.js";import"./index-fce48c05.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./ErrorBlock-eae09ed8.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";const B=d({__name:"ZoneEgressStatsView",setup(f){return(h,x)=>{const r=t("RouteTitle"),n=t("KCard"),p=t("AppView"),i=t("RouteView");return l(),_(i,{name:"zone-egress-stats-view",params:{zoneEgress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:c})=>[s(p,null,{title:a(()=>[g("h2",null,[s(r,{title:c("zone-egresses.routes.item.navigation.zone-egress-stats-view")},null,8,["title"])])]),default:a(()=>[u(),s(n,null,{default:a(()=>[s(m,{resource:"Zone",src:`/zone-egresses/${e.params.zoneEgress}/data-path/stats`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{B as default}; +import{_ as m}from"./EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js";import{d,a as t,o as l,b as _,w as a,e as s,m as g,f as u}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./ErrorBlock-c71bafad.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";const B=d({__name:"ZoneEgressStatsView",setup(f){return(h,x)=>{const r=t("RouteTitle"),n=t("KCard"),p=t("AppView"),i=t("RouteView");return l(),_(i,{name:"zone-egress-stats-view",params:{zoneEgress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:c})=>[s(p,null,{title:a(()=>[g("h2",null,[s(r,{title:c("zone-egresses.routes.item.navigation.zone-egress-stats-view")},null,8,["title"])])]),default:a(()=>[u(),s(n,null,{default:a(()=>[s(m,{resource:"Zone",src:`/zone-egresses/${e.params.zoneEgress}/data-path/stats`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{B as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-b941a6d9.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-023f0398.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-b941a6d9.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-023f0398.js index 6d8d3b3fae1e..e2a9419cf564 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-b941a6d9.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-023f0398.js @@ -1 +1 @@ -import{d as v,k as g,o as c,c as _,e as n,w as e,f as t,t as m,l as r,X as u,b as d,F as k,a as p,m as i,s as x,v as S,aD as V,_ as O}from"./index-6594470f.js";import{S as B}from"./StatusBadge-0fda3dff.js";import{T as R}from"./TextWithCopyButton-e98ec405.js";import{_ as Z}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";const C={class:"stack"},I=v({__name:"ZoneEgressSummary",props:{zoneEgressOverview:{}},setup(o){const{t:s}=g(),a=o;return(y,w)=>(c(),_("div",C,[n(u,null,{title:e(()=>[t(m(r(s)("http.api.property.status")),1)]),body:e(()=>[n(B,{status:a.zoneEgressOverview.state},null,8,["status"])]),_:1}),t(),n(u,null,{title:e(()=>[t(m(r(s)("http.api.property.address")),1)]),body:e(()=>[a.zoneEgressOverview.zoneEgress.socketAddress.length>0?(c(),d(R,{key:0,text:a.zoneEgressOverview.zoneEgress.socketAddress},null,8,["text"])):(c(),_(k,{key:1},[t(m(r(s)("common.detail.none")),1)],64))]),_:1})]))}}),T=o=>(x("data-v-01cd37d3"),o=o(),S(),o),A={class:"summary-title-wrapper"},b=T(()=>i("img",{"aria-hidden":"true",src:V},null,-1)),D={class:"summary-title"},N={key:1,class:"stack"},$=v({__name:"ZoneEgressSummaryView",props:{zoneEgressOverview:{default:void 0}},setup(o){const{t:s}=g(),a=o;return(y,w)=>{const z=p("RouteTitle"),E=p("RouterLink"),f=p("AppView"),h=p("RouteView");return c(),d(h,{name:"zone-egress-summary-view",params:{zone:"",zoneEgress:""}},{default:e(({route:l})=>[n(f,null,{title:e(()=>[i("div",A,[b,t(),i("h2",D,[n(E,{to:{name:"zone-egress-detail-view",params:{zone:l.params.zone,zoneEgress:l.params.zoneEgress}}},{default:e(()=>[n(z,{title:r(s)("zone-egresses.routes.item.title",{name:l.params.zoneEgress})},null,8,["title"])]),_:2},1032,["to"])])])]),default:e(()=>[t(),a.zoneEgressOverview===void 0?(c(),d(Z,{key:0},{message:e(()=>[i("p",null,m(r(s)("common.collection.summary.empty_message",{type:"ZoneEgress"})),1)]),default:e(()=>[t(m(r(s)("common.collection.summary.empty_title",{type:"ZoneEgress"}))+" ",1)]),_:1})):(c(),_("div",N,[i("div",null,[i("h3",null,m(r(s)("zone-egresses.routes.item.overview")),1),t(),n(I,{class:"mt-4","zone-egress-overview":a.zoneEgressOverview},null,8,["zone-egress-overview"])])]))]),_:2},1024)]),_:1})}}});const G=O($,[["__scopeId","data-v-01cd37d3"]]);export{G as default}; +import{d as v,k as g,o as c,c as _,e as n,w as e,f as t,t as m,l as r,X as u,b as d,F as k,a as p,m as i,s as x,v as S,aD as V,_ as O}from"./index-78599b4f.js";import{S as B}from"./StatusBadge-3f562081.js";import{T as R}from"./TextWithCopyButton-c32acac7.js";import{_ as Z}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";const C={class:"stack"},I=v({__name:"ZoneEgressSummary",props:{zoneEgressOverview:{}},setup(o){const{t:s}=g(),a=o;return(y,w)=>(c(),_("div",C,[n(u,null,{title:e(()=>[t(m(r(s)("http.api.property.status")),1)]),body:e(()=>[n(B,{status:a.zoneEgressOverview.state},null,8,["status"])]),_:1}),t(),n(u,null,{title:e(()=>[t(m(r(s)("http.api.property.address")),1)]),body:e(()=>[a.zoneEgressOverview.zoneEgress.socketAddress.length>0?(c(),d(R,{key:0,text:a.zoneEgressOverview.zoneEgress.socketAddress},null,8,["text"])):(c(),_(k,{key:1},[t(m(r(s)("common.detail.none")),1)],64))]),_:1})]))}}),T=o=>(x("data-v-01cd37d3"),o=o(),S(),o),A={class:"summary-title-wrapper"},b=T(()=>i("img",{"aria-hidden":"true",src:V},null,-1)),D={class:"summary-title"},N={key:1,class:"stack"},$=v({__name:"ZoneEgressSummaryView",props:{zoneEgressOverview:{default:void 0}},setup(o){const{t:s}=g(),a=o;return(y,w)=>{const z=p("RouteTitle"),E=p("RouterLink"),f=p("AppView"),h=p("RouteView");return c(),d(h,{name:"zone-egress-summary-view",params:{zone:"",zoneEgress:""}},{default:e(({route:l})=>[n(f,null,{title:e(()=>[i("div",A,[b,t(),i("h2",D,[n(E,{to:{name:"zone-egress-detail-view",params:{zone:l.params.zone,zoneEgress:l.params.zoneEgress}}},{default:e(()=>[n(z,{title:r(s)("zone-egresses.routes.item.title",{name:l.params.zoneEgress})},null,8,["title"])]),_:2},1032,["to"])])])]),default:e(()=>[t(),a.zoneEgressOverview===void 0?(c(),d(Z,{key:0},{message:e(()=>[i("p",null,m(r(s)("common.collection.summary.empty_message",{type:"ZoneEgress"})),1)]),default:e(()=>[t(m(r(s)("common.collection.summary.empty_title",{type:"ZoneEgress"}))+" ",1)]),_:1})):(c(),_("div",N,[i("div",null,[i("h3",null,m(r(s)("zone-egresses.routes.item.overview")),1),t(),n(I,{class:"mt-4","zone-egress-overview":a.zoneEgressOverview},null,8,["zone-egress-overview"])])]))]),_:2},1024)]),_:1})}}});const G=O($,[["__scopeId","data-v-01cd37d3"]]);export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-819b2fed.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-deb6303d.js similarity index 66% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-819b2fed.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-deb6303d.js index 86f6125fafb0..c26bb0a1af79 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-819b2fed.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-deb6303d.js @@ -1 +1 @@ -import{_ as d}from"./EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js";import{d as m,a as t,o as l,b as g,w as a,e as s,m as _,f as u}from"./index-6594470f.js";import"./index-fce48c05.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./ErrorBlock-eae09ed8.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";const N=m({__name:"ZoneEgressXdsConfigView",setup(f){return(x,h)=>{const n=t("RouteTitle"),r=t("KCard"),i=t("AppView"),p=t("RouteView");return l(),g(p,{name:"zone-egress-xds-config-view",params:{zoneEgress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:c})=>[s(i,null,{title:a(()=>[_("h2",null,[s(n,{title:c("zone-egresses.routes.item.navigation.zone-egress-xds-config-view")},null,8,["title"])])]),default:a(()=>[u(),s(r,null,{default:a(()=>[s(d,{resource:"Zone",src:`/zone-egresses/${e.params.zoneEgress}/data-path/xds`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{N as default}; +import{_ as d}from"./EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js";import{d as m,a as t,o as l,b as g,w as a,e as s,m as _,f as u}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./ErrorBlock-c71bafad.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";const N=m({__name:"ZoneEgressXdsConfigView",setup(f){return(x,h)=>{const n=t("RouteTitle"),r=t("KCard"),i=t("AppView"),p=t("RouteView");return l(),g(p,{name:"zone-egress-xds-config-view",params:{zoneEgress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:c})=>[s(i,null,{title:a(()=>[_("h2",null,[s(n,{title:c("zone-egresses.routes.item.navigation.zone-egress-xds-config-view")},null,8,["title"])])]),default:a(()=>[u(),s(r,null,{default:a(()=>[s(d,{resource:"Zone",src:`/zone-egresses/${e.params.zoneEgress}/data-path/xds`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{N as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-58fde3a2.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-a6bfe89f.js similarity index 66% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-58fde3a2.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-a6bfe89f.js index fa8659ff93f2..8e0808b512b4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-58fde3a2.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-a6bfe89f.js @@ -1 +1 @@ -import{_ as l}from"./EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js";import{d as m,a as t,o as d,b as u,w as s,e as n,m as _,f as g}from"./index-6594470f.js";import"./index-fce48c05.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./ErrorBlock-eae09ed8.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";const I=m({__name:"ZoneIngressClustersView",setup(f){return(h,C)=>{const r=t("RouteTitle"),a=t("KCard"),i=t("AppView"),p=t("RouteView");return d(),u(p,{name:"zone-ingress-clusters-view",params:{zoneIngress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:s(({route:e,t:c})=>[n(i,null,{title:s(()=>[_("h2",null,[n(r,{title:c("zone-ingresses.routes.item.navigation.zone-ingress-clusters-view")},null,8,["title"])])]),default:s(()=>[g(),n(a,null,{default:s(()=>[n(l,{resource:"Zone",src:`/zone-ingresses/${e.params.zoneIngress}/data-path/clusters`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{I as default}; +import{_ as l}from"./EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js";import{d as m,a as t,o as d,b as u,w as s,e as n,m as _,f as g}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./ErrorBlock-c71bafad.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";const I=m({__name:"ZoneIngressClustersView",setup(f){return(h,C)=>{const r=t("RouteTitle"),a=t("KCard"),i=t("AppView"),p=t("RouteView");return d(),u(p,{name:"zone-ingress-clusters-view",params:{zoneIngress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:s(({route:e,t:c})=>[n(i,null,{title:s(()=>[_("h2",null,[n(r,{title:c("zone-ingresses.routes.item.navigation.zone-ingress-clusters-view")},null,8,["title"])])]),default:s(()=>[g(),n(a,null,{default:s(()=>[n(l,{resource:"Zone",src:`/zone-ingresses/${e.params.zoneIngress}/data-path/clusters`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{I as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-c5abed7c.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-bea563e7.js similarity index 76% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-c5abed7c.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-bea563e7.js index 1fa5d2f4bafb..d25e55f9ea41 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-c5abed7c.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-bea563e7.js @@ -1 +1 @@ -import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-5c4d11ef.js";import{E as w}from"./ErrorBlock-eae09ed8.js";import{_ as E}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{d as R,a as r,o as s,b as a,w as n,e as t,m as V,f as k,p as z}from"./index-6594470f.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./TextWithCopyButton-e98ec405.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";const K=R({__name:"ZoneIngressConfigView",setup(v){return(y,F)=>{const d=r("RouteTitle"),c=r("DataSource"),_=r("KCard"),g=r("AppView"),u=r("RouteView");return s(),a(u,{name:"zone-ingress-config-view",params:{zoneIngress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:n(({route:e,t:f})=>[t(g,null,{title:n(()=>[V("h2",null,[t(d,{title:f("zone-ingresses.routes.item.navigation.zone-ingress-config-view")},null,8,["title"])])]),default:n(()=>[k(),t(_,null,{default:n(()=>[t(c,{src:`/zone-ingresses/${e.params.zoneIngress}`},{default:n(({data:p,error:m})=>[m!==void 0?(s(),a(w,{key:0,error:m},null,8,["error"])):p===void 0?(s(),a(E,{key:1})):(s(),a(x,{key:2,resource:p.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},{default:n(({copy:o,copying:h})=>[h?(s(),a(c,{key:0,src:`/zone-ingresses/${e.params.zoneIngress}/as/kubernetes?no-store`,onChange:i=>{o(l=>l(i))},onError:i=>{o((l,C)=>C(i))}},null,8,["src","onChange","onError"])):z("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; +import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a22f38e.js";import{E as w}from"./ErrorBlock-c71bafad.js";import{_ as E}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{d as R,a as r,o as s,b as a,w as n,e as t,m as V,f as k,p as z}from"./index-78599b4f.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";import"./toYaml-4e00099e.js";import"./TextWithCopyButton-c32acac7.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";const K=R({__name:"ZoneIngressConfigView",setup(v){return(y,F)=>{const d=r("RouteTitle"),c=r("DataSource"),_=r("KCard"),g=r("AppView"),u=r("RouteView");return s(),a(u,{name:"zone-ingress-config-view",params:{zoneIngress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:n(({route:e,t:f})=>[t(g,null,{title:n(()=>[V("h2",null,[t(d,{title:f("zone-ingresses.routes.item.navigation.zone-ingress-config-view")},null,8,["title"])])]),default:n(()=>[k(),t(_,null,{default:n(()=>[t(c,{src:`/zone-ingresses/${e.params.zoneIngress}`},{default:n(({data:p,error:m})=>[m!==void 0?(s(),a(w,{key:0,error:m},null,8,["error"])):p===void 0?(s(),a(E,{key:1})):(s(),a(x,{key:2,resource:p.config,"is-searchable":"",query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},{default:n(({copy:o,copying:h})=>[h?(s(),a(c,{key:0,src:`/zone-ingresses/${e.params.zoneIngress}/as/kubernetes?no-store`,onChange:i=>{o(l=>l(i))},onError:i=>{o((l,C)=>C(i))}},null,8,["src","onChange","onError"])):z("",!0)]),_:2},1032,["resource","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-144e3c1e.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-48a9c68c.js similarity index 77% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-144e3c1e.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-48a9c68c.js index 599254f4438f..3f3df6cf91f5 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-144e3c1e.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-48a9c68c.js @@ -1 +1 @@ -import{d as V,k as x,U as R,a as s,o as n,b as l,w as t,e as o,l as u,m as k,f as g,c as B,F as T,B as h}from"./index-6594470f.js";import{E as y}from"./ErrorBlock-eae09ed8.js";import{_ as C}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";import{N as I}from"./NavTabs-bb254677.js";import{T as N}from"./TextWithCopyButton-e98ec405.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./CopyButton-60165c43.js";const G=V({__name:"ZoneIngressDetailTabsView",setup(D){var _;const{t:a}=x(),w=(((_=R().getRoutes().find(e=>e.name==="zone-ingress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var i,m;const p=typeof e.name>"u"?(i=e.children)==null?void 0:i[0]:e,r=p.name,d=((m=p.meta)==null?void 0:m.module)??"";return{title:a(`zone-ingresses.routes.item.navigation.${r}`),routeName:r,module:d}});return(e,p)=>{const r=s("RouteTitle"),d=s("RouterView"),f=s("DataSource"),i=s("AppView"),m=s("RouteView");return n(),l(m,{name:"zone-ingress-detail-tabs-view",params:{zone:"",zoneIngress:""}},{default:t(({route:c})=>[o(i,{breadcrumbs:[{to:{name:"zone-cp-list-view"},text:u(a)("zone-cps.routes.item.breadcrumbs")},{to:{name:"zone-ingress-list-view",params:{zone:c.params.zone}},text:u(a)("zone-ingresses.routes.item.breadcrumbs")}]},{title:t(()=>[k("h1",null,[o(N,{text:c.params.zoneIngress},{default:t(()=>[o(r,{title:u(a)("zone-ingresses.routes.item.title",{name:c.params.zoneIngress})},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[g(),o(f,{src:`/zone-ingress-overviews/${c.params.zoneIngress}`},{default:t(({data:b,error:z})=>[z!==void 0?(n(),l(y,{key:0,error:z},null,8,["error"])):b===void 0?(n(),l(C,{key:1})):(n(),B(T,{key:2},[o(I,{class:"route-zone-ingress-detail-view-tabs",tabs:u(w)},null,8,["tabs"]),g(),o(d,null,{default:t(v=>[(n(),l(h(v.Component),{data:b},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{G as default}; +import{d as V,k as x,U as R,a as s,o as n,b as l,w as t,e as o,l as u,m as k,f as g,c as B,F as T,B as h}from"./index-78599b4f.js";import{E as y}from"./ErrorBlock-c71bafad.js";import{_ as C}from"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";import{N as I}from"./NavTabs-3217ce74.js";import{T as N}from"./TextWithCopyButton-c32acac7.js";import"./index-fce48c05.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./CopyButton-752e056c.js";const G=V({__name:"ZoneIngressDetailTabsView",setup(D){var _;const{t:a}=x(),w=(((_=R().getRoutes().find(e=>e.name==="zone-ingress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var i,m;const p=typeof e.name>"u"?(i=e.children)==null?void 0:i[0]:e,r=p.name,d=((m=p.meta)==null?void 0:m.module)??"";return{title:a(`zone-ingresses.routes.item.navigation.${r}`),routeName:r,module:d}});return(e,p)=>{const r=s("RouteTitle"),d=s("RouterView"),f=s("DataSource"),i=s("AppView"),m=s("RouteView");return n(),l(m,{name:"zone-ingress-detail-tabs-view",params:{zone:"",zoneIngress:""}},{default:t(({route:c})=>[o(i,{breadcrumbs:[{to:{name:"zone-cp-list-view"},text:u(a)("zone-cps.routes.item.breadcrumbs")},{to:{name:"zone-ingress-list-view",params:{zone:c.params.zone}},text:u(a)("zone-ingresses.routes.item.breadcrumbs")}]},{title:t(()=>[k("h1",null,[o(N,{text:c.params.zoneIngress},{default:t(()=>[o(r,{title:u(a)("zone-ingresses.routes.item.title",{name:c.params.zoneIngress})},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[g(),o(f,{src:`/zone-ingress-overviews/${c.params.zoneIngress}`},{default:t(({data:b,error:z})=>[z!==void 0?(n(),l(y,{key:0,error:z},null,8,["error"])):b===void 0?(n(),l(C,{key:1})):(n(),B(T,{key:2},[o(I,{class:"route-zone-ingress-detail-view-tabs",tabs:u(w)},null,8,["tabs"]),g(),o(d,null,{default:t(v=>[(n(),l(h(v.Component),{data:b},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailView-7748f205.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailView-b8ec6bc0.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailView-7748f205.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailView-b8ec6bc0.js index 351f14dbf77d..2b2c989dd600 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailView-7748f205.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailView-b8ec6bc0.js @@ -1 +1 @@ -import{d as v,a as p,o as s,b as c,w as e,e as a,m,X as u,f as t,t as r,c as d,F as i,C as w,p as x}from"./index-6594470f.js";import{S as C}from"./StatusBadge-0fda3dff.js";import{T as f}from"./TextWithCopyButton-e98ec405.js";import{_ as V}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-ffb3c891.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";import"./AccordionList-373416d3.js";const z={class:"stack","data-testid":"detail-view-details"},A={class:"columns"},I={key:0},E=v({__name:"ZoneIngressDetailView",props:{data:{}},setup(h){const o=h;return(B,b)=>{const _=p("KCard"),k=p("AppView"),y=p("RouteView");return s(),c(y,{name:"zone-ingress-detail-view"},{default:e(({t:n})=>[a(k,null,{default:e(()=>{var g;return[m("div",z,[a(_,null,{default:e(()=>[m("div",A,[a(u,null,{title:e(()=>[t(r(n("http.api.property.status")),1)]),body:e(()=>[a(C,{status:o.data.state},null,8,["status"])]),_:2},1024),t(),a(u,null,{title:e(()=>[t(r(n("http.api.property.address")),1)]),body:e(()=>[o.data.zoneIngress.socketAddress.length>0?(s(),c(f,{key:0,text:o.data.zoneIngress.socketAddress},null,8,["text"])):(s(),d(i,{key:1},[t(r(n("common.detail.none")),1)],64))]),_:2},1024),t(),a(u,null,{title:e(()=>[t(r(n("http.api.property.advertisedAddress")),1)]),body:e(()=>[o.data.zoneIngress.advertisedSocketAddress.length>0?(s(),c(f,{key:0,text:o.data.zoneIngress.advertisedSocketAddress},null,8,["text"])):(s(),d(i,{key:1},[t(r(n("common.detail.none")),1)],64))]),_:2},1024)])]),_:2},1024),t(),(s(!0),d(i,null,w([((g=o.data.zoneIngressInsight)==null?void 0:g.subscriptions)??[]],l=>(s(),d(i,{key:l},[l.length>0?(s(),d("div",I,[m("h2",null,r(n("zone-ingresses.routes.item.subscriptions.title")),1),t(),a(_,{class:"mt-4"},{default:e(()=>[a(V,{subscriptions:l},null,8,["subscriptions"])]),_:2},1024)])):x("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{E as default}; +import{d as v,a as p,o as s,b as c,w as e,e as a,m,X as u,f as t,t as r,c as d,F as i,C as w,p as x}from"./index-78599b4f.js";import{S as C}from"./StatusBadge-3f562081.js";import{T as f}from"./TextWithCopyButton-c32acac7.js";import{_ as V}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-16d3020e.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";import"./AccordionList-78965fe7.js";const z={class:"stack","data-testid":"detail-view-details"},A={class:"columns"},I={key:0},E=v({__name:"ZoneIngressDetailView",props:{data:{}},setup(h){const o=h;return(B,b)=>{const _=p("KCard"),k=p("AppView"),y=p("RouteView");return s(),c(y,{name:"zone-ingress-detail-view"},{default:e(({t:n})=>[a(k,null,{default:e(()=>{var g;return[m("div",z,[a(_,null,{default:e(()=>[m("div",A,[a(u,null,{title:e(()=>[t(r(n("http.api.property.status")),1)]),body:e(()=>[a(C,{status:o.data.state},null,8,["status"])]),_:2},1024),t(),a(u,null,{title:e(()=>[t(r(n("http.api.property.address")),1)]),body:e(()=>[o.data.zoneIngress.socketAddress.length>0?(s(),c(f,{key:0,text:o.data.zoneIngress.socketAddress},null,8,["text"])):(s(),d(i,{key:1},[t(r(n("common.detail.none")),1)],64))]),_:2},1024),t(),a(u,null,{title:e(()=>[t(r(n("http.api.property.advertisedAddress")),1)]),body:e(()=>[o.data.zoneIngress.advertisedSocketAddress.length>0?(s(),c(f,{key:0,text:o.data.zoneIngress.advertisedSocketAddress},null,8,["text"])):(s(),d(i,{key:1},[t(r(n("common.detail.none")),1)],64))]),_:2},1024)])]),_:2},1024),t(),(s(!0),d(i,null,w([((g=o.data.zoneIngressInsight)==null?void 0:g.subscriptions)??[]],l=>(s(),d(i,{key:l},[l.length>0?(s(),d("div",I,[m("h2",null,r(n("zone-ingresses.routes.item.subscriptions.title")),1),t(),a(_,{class:"mt-4"},{default:e(()=>[a(V,{subscriptions:l},null,8,["subscriptions"])]),_:2},1024)])):x("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{E as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-773cc9f2.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-5874572b.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-773cc9f2.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-5874572b.js index 8bda4be9aa35..0f20098bc09d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-773cc9f2.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-5874572b.js @@ -1 +1 @@ -import{K as V}from"./index-fce48c05.js";import{d as x,a as l,o as t,b as r,w as s,e as n,m as h,f as m,t as c,c as g,F as z,l as k,T as b,B,p as y,_ as R}from"./index-6594470f.js";import{A as T}from"./AppCollection-39f5da3b.js";import{E as L}from"./ErrorBlock-eae09ed8.js";import{S as N}from"./StatusBadge-0fda3dff.js";import{S as D}from"./SummaryView-4df08b91.js";import{T as w}from"./TextWithCopyButton-e98ec405.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./CopyButton-60165c43.js";const Z=x({__name:"ZoneIngressListView",setup(E){return(K,$)=>{const f=l("RouteTitle"),d=l("RouterLink"),v=l("KCard"),I=l("RouterView"),_=l("DataSource"),C=l("AppView"),A=l("RouteView");return t(),r(_,{src:"/me"},{default:s(({data:S})=>[S?(t(),r(A,{key:0,name:"zone-ingress-list-view",params:{zone:"",zoneIngress:""}},{default:s(({route:a,t:i})=>[n(C,null,{title:s(()=>[h("h2",null,[n(f,{title:i("zone-ingresses.routes.items.title")},null,8,["title"])])]),default:s(()=>[m(),n(_,{src:`/zone-cps/${a.params.zone}/ingresses?page=1&size=100`},{default:s(({data:o,error:p})=>[n(v,null,{default:s(()=>[p!==void 0?(t(),r(L,{key:0,error:p},null,8,["error"])):(t(),r(T,{key:1,class:"zone-ingress-collection","data-testid":"zone-ingress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"socketAddress"},{label:"Advertised address",key:"advertisedSocketAddress"},{label:"Status",key:"status"},{label:"Details",key:"details",hideLabel:!0}],"page-number":1,"page-size":100,total:o==null?void 0:o.total,items:o==null?void 0:o.items,error:p,"empty-state-message":i("common.emptyState.message",{type:"Zone Ingresses"}),"empty-state-cta-to":i("zone-ingresses.href.docs"),"empty-state-cta-text":i("common.documentation"),"is-selected-row":e=>e.name===a.params.zoneIngress,onChange:a.update},{name:s(({row:e})=>[n(d,{to:{name:"zone-ingress-summary-view",params:{zone:a.params.zone,zoneIngress:e.name},query:{page:1,size:100}}},{default:s(()=>[m(c(e.name),1)]),_:2},1032,["to"])]),socketAddress:s(({row:e})=>[e.zoneIngress.socketAddress.length>0?(t(),r(w,{key:0,text:e.zoneIngress.socketAddress},null,8,["text"])):(t(),g(z,{key:1},[m(c(i("common.collection.none")),1)],64))]),advertisedSocketAddress:s(({row:e})=>[e.zoneIngress.advertisedSocketAddress.length>0?(t(),r(w,{key:0,text:e.zoneIngress.advertisedSocketAddress},null,8,["text"])):(t(),g(z,{key:1},[m(c(i("common.collection.none")),1)],64))]),status:s(({row:e})=>[n(N,{status:e.state},null,8,["status"])]),details:s(({row:e})=>[n(d,{class:"details-link","data-testid":"details-link",to:{name:"zone-ingress-detail-view",params:{zoneIngress:e.name}}},{default:s(()=>[m(c(i("common.collection.details_link"))+" ",1),n(k(b),{display:"inline-block",decorative:"",size:k(V)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","is-selected-row","onChange"]))]),_:2},1024),m(),a.params.zoneIngress?(t(),r(I,{key:0},{default:s(e=>[n(D,{onClose:u=>a.replace({name:"zone-ingress-list-view",params:{zone:a.params.zone},query:{page:1,size:100}})},{default:s(()=>[(t(),r(B(e.Component),{"zone-ingress-overview":o==null?void 0:o.items.find(u=>u.name===a.params.zoneIngress)},null,8,["zone-ingress-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):y("",!0)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):y("",!0)]),_:1})}}});const P=R(Z,[["__scopeId","data-v-a834c201"]]);export{P as default}; +import{K as V}from"./index-fce48c05.js";import{d as x,a as l,o as t,b as r,w as s,e as n,m as h,f as m,t as c,c as g,F as z,l as k,T as b,B,p as y,_ as R}from"./index-78599b4f.js";import{A as T}from"./AppCollection-fab1a627.js";import{E as L}from"./ErrorBlock-c71bafad.js";import{S as N}from"./StatusBadge-3f562081.js";import{S as D}from"./SummaryView-87032df3.js";import{T as w}from"./TextWithCopyButton-c32acac7.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./CopyButton-752e056c.js";const Z=x({__name:"ZoneIngressListView",setup(E){return(K,$)=>{const f=l("RouteTitle"),d=l("RouterLink"),v=l("KCard"),I=l("RouterView"),_=l("DataSource"),C=l("AppView"),A=l("RouteView");return t(),r(_,{src:"/me"},{default:s(({data:S})=>[S?(t(),r(A,{key:0,name:"zone-ingress-list-view",params:{zone:"",zoneIngress:""}},{default:s(({route:a,t:i})=>[n(C,null,{title:s(()=>[h("h2",null,[n(f,{title:i("zone-ingresses.routes.items.title")},null,8,["title"])])]),default:s(()=>[m(),n(_,{src:`/zone-cps/${a.params.zone}/ingresses?page=1&size=100`},{default:s(({data:o,error:p})=>[n(v,null,{default:s(()=>[p!==void 0?(t(),r(L,{key:0,error:p},null,8,["error"])):(t(),r(T,{key:1,class:"zone-ingress-collection","data-testid":"zone-ingress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"socketAddress"},{label:"Advertised address",key:"advertisedSocketAddress"},{label:"Status",key:"status"},{label:"Details",key:"details",hideLabel:!0}],"page-number":1,"page-size":100,total:o==null?void 0:o.total,items:o==null?void 0:o.items,error:p,"empty-state-message":i("common.emptyState.message",{type:"Zone Ingresses"}),"empty-state-cta-to":i("zone-ingresses.href.docs"),"empty-state-cta-text":i("common.documentation"),"is-selected-row":e=>e.name===a.params.zoneIngress,onChange:a.update},{name:s(({row:e})=>[n(d,{to:{name:"zone-ingress-summary-view",params:{zone:a.params.zone,zoneIngress:e.name},query:{page:1,size:100}}},{default:s(()=>[m(c(e.name),1)]),_:2},1032,["to"])]),socketAddress:s(({row:e})=>[e.zoneIngress.socketAddress.length>0?(t(),r(w,{key:0,text:e.zoneIngress.socketAddress},null,8,["text"])):(t(),g(z,{key:1},[m(c(i("common.collection.none")),1)],64))]),advertisedSocketAddress:s(({row:e})=>[e.zoneIngress.advertisedSocketAddress.length>0?(t(),r(w,{key:0,text:e.zoneIngress.advertisedSocketAddress},null,8,["text"])):(t(),g(z,{key:1},[m(c(i("common.collection.none")),1)],64))]),status:s(({row:e})=>[n(N,{status:e.state},null,8,["status"])]),details:s(({row:e})=>[n(d,{class:"details-link","data-testid":"details-link",to:{name:"zone-ingress-detail-view",params:{zoneIngress:e.name}}},{default:s(()=>[m(c(i("common.collection.details_link"))+" ",1),n(k(b),{display:"inline-block",decorative:"",size:k(V)},null,8,["size"])]),_:2},1032,["to"])]),_:2},1032,["total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","is-selected-row","onChange"]))]),_:2},1024),m(),a.params.zoneIngress?(t(),r(I,{key:0},{default:s(e=>[n(D,{onClose:u=>a.replace({name:"zone-ingress-list-view",params:{zone:a.params.zone},query:{page:1,size:100}})},{default:s(()=>[(t(),r(B(e.Component),{"zone-ingress-overview":o==null?void 0:o.items.find(u=>u.name===a.params.zoneIngress)},null,8,["zone-ingress-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):y("",!0)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):y("",!0)]),_:1})}}});const P=R(Z,[["__scopeId","data-v-a834c201"]]);export{P as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressServicesView-175edde5.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressServicesView-1dd33b0d.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressServicesView-175edde5.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressServicesView-1dd33b0d.js index 4b0b618ca73f..37bfeaecb647 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressServicesView-175edde5.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressServicesView-1dd33b0d.js @@ -1 +1 @@ -import{d as h,a as s,o as f,b as g,w as e,e as t,m as k,f as a,t as i,l as b,aA as y}from"./index-6594470f.js";import{A as K}from"./AppCollection-39f5da3b.js";import"./index-fce48c05.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";const I=h({__name:"ZoneIngressServicesView",props:{data:{}},setup(r){const l=r;return(V,C)=>{const m=s("RouteTitle"),c=s("RouterLink"),p=s("KButton"),d=s("KDropdownItem"),u=s("KDropdown"),_=s("KCard"),v=s("AppView"),w=s("RouteView");return f(),g(w,{name:"zone-ingress-services-view"},{default:e(({t:n})=>[t(v,null,{title:e(()=>[k("h2",null,[t(m,{title:n("zone-ingresses.routes.item.navigation.zone-ingress-services-view")},null,8,["title"])])]),default:e(()=>[a(),t(_,null,{default:e(()=>[t(K,{"data-testid":"available-services-collection","empty-state-message":n("common.emptyState.message",{type:"Services"}),headers:[{label:"Name",key:"name"},{label:"Mesh",key:"mesh"},{label:"Protocol",key:"protocol"},{label:"No. Instances",key:"instances"},{label:"Actions",key:"actions",hideLabel:!0}],items:l.data.zoneIngress.availableServices},{name:e(({row:o})=>[t(c,{to:{name:"service-detail-view",params:{mesh:o.mesh,service:o.tags["kuma.io/service"]}}},{default:e(()=>[a(i(o.tags["kuma.io/service"]),1)]),_:2},1032,["to"])]),mesh:e(({row:o})=>[t(c,{to:{name:"mesh-detail-view",params:{mesh:o.mesh}}},{default:e(()=>[a(i(o.mesh),1)]),_:2},1032,["to"])]),protocol:e(({row:o})=>[a(i(o.tags["kuma.io/protocol"]??n("common.collection.none")),1)]),instances:e(({row:o})=>[a(i(o.instances),1)]),actions:e(({row:o})=>[t(u,{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[t(p,{class:"non-visual-button",appearance:"secondary","icon-only":""},{default:e(()=>[t(b(y))]),_:1})]),items:e(()=>[t(d,{item:{to:{name:"service-detail-view",params:{mesh:o.mesh,service:o.tags["kuma.io/service"]}},label:n("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["empty-state-message","headers","items"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{I as default}; +import{d as h,a as s,o as f,b as g,w as e,e as t,m as k,f as a,t as i,l as b,aA as y}from"./index-78599b4f.js";import{A as K}from"./AppCollection-fab1a627.js";import"./index-fce48c05.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";const I=h({__name:"ZoneIngressServicesView",props:{data:{}},setup(r){const l=r;return(V,C)=>{const m=s("RouteTitle"),c=s("RouterLink"),p=s("KButton"),d=s("KDropdownItem"),u=s("KDropdown"),_=s("KCard"),v=s("AppView"),w=s("RouteView");return f(),g(w,{name:"zone-ingress-services-view"},{default:e(({t:n})=>[t(v,null,{title:e(()=>[k("h2",null,[t(m,{title:n("zone-ingresses.routes.item.navigation.zone-ingress-services-view")},null,8,["title"])])]),default:e(()=>[a(),t(_,null,{default:e(()=>[t(K,{"data-testid":"available-services-collection","empty-state-message":n("common.emptyState.message",{type:"Services"}),headers:[{label:"Name",key:"name"},{label:"Mesh",key:"mesh"},{label:"Protocol",key:"protocol"},{label:"No. Instances",key:"instances"},{label:"Actions",key:"actions",hideLabel:!0}],items:l.data.zoneIngress.availableServices},{name:e(({row:o})=>[t(c,{to:{name:"service-detail-view",params:{mesh:o.mesh,service:o.tags["kuma.io/service"]}}},{default:e(()=>[a(i(o.tags["kuma.io/service"]),1)]),_:2},1032,["to"])]),mesh:e(({row:o})=>[t(c,{to:{name:"mesh-detail-view",params:{mesh:o.mesh}}},{default:e(()=>[a(i(o.mesh),1)]),_:2},1032,["to"])]),protocol:e(({row:o})=>[a(i(o.tags["kuma.io/protocol"]??n("common.collection.none")),1)]),instances:e(({row:o})=>[a(i(o.instances),1)]),actions:e(({row:o})=>[t(u,{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[t(p,{class:"non-visual-button",appearance:"secondary","icon-only":""},{default:e(()=>[t(b(y))]),_:1})]),items:e(()=>[t(d,{item:{to:{name:"service-detail-view",params:{mesh:o.mesh,service:o.tags["kuma.io/service"]}},label:n("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["empty-state-message","headers","items"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{I as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-08ea7529.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-4d73437a.js similarity index 66% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-08ea7529.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-4d73437a.js index 66dcd5fa257b..5bfd36ba2c77 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-08ea7529.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-4d73437a.js @@ -1 +1 @@ -import{_ as m}from"./EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js";import{d,a as t,o as l,b as _,w as a,e as n,m as g,f as u}from"./index-6594470f.js";import"./index-fce48c05.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./ErrorBlock-eae09ed8.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";const B=d({__name:"ZoneIngressStatsView",setup(f){return(h,x)=>{const s=t("RouteTitle"),r=t("KCard"),i=t("AppView"),p=t("RouteView");return l(),_(p,{name:"zone-ingress-stats-view",params:{zoneIngress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:c})=>[n(i,null,{title:a(()=>[g("h2",null,[n(s,{title:c("zone-ingresses.routes.item.navigation.zone-ingress-stats-view")},null,8,["title"])])]),default:a(()=>[u(),n(r,null,{default:a(()=>[n(m,{resource:"Zone",src:`/zone-ingresses/${e.params.zoneIngress}/data-path/stats`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{B as default}; +import{_ as m}from"./EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js";import{d,a as t,o as l,b as _,w as a,e as n,m as g,f as u}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./ErrorBlock-c71bafad.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";const B=d({__name:"ZoneIngressStatsView",setup(f){return(h,x)=>{const s=t("RouteTitle"),r=t("KCard"),i=t("AppView"),p=t("RouteView");return l(),_(p,{name:"zone-ingress-stats-view",params:{zoneIngress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:a(({route:e,t:c})=>[n(i,null,{title:a(()=>[g("h2",null,[n(s,{title:c("zone-ingresses.routes.item.navigation.zone-ingress-stats-view")},null,8,["title"])])]),default:a(()=>[u(),n(r,null,{default:a(()=>[n(m,{resource:"Zone",src:`/zone-ingresses/${e.params.zoneIngress}/data-path/stats`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{B as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-6e9164e1.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-78823093.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-6e9164e1.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-78823093.js index bfbd58b41a0b..7f513447c0b7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-6e9164e1.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-78823093.js @@ -1 +1 @@ -import{d as y,k as I,o as r,c as p,e as i,w as e,f as s,t as a,l as n,X as u,b as d,F as v,a as c,m,s as S,v as V,aD as O,_ as b}from"./index-6594470f.js";import{S as A}from"./StatusBadge-0fda3dff.js";import{T as g}from"./TextWithCopyButton-e98ec405.js";import{_ as B}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./CopyButton-60165c43.js";import"./index-fce48c05.js";const R={class:"stack"},Z=y({__name:"ZoneIngressSummary",props:{zoneIngressOverview:{}},setup(l){const{t}=I(),o=l;return(z,w)=>(r(),p("div",R,[i(u,null,{title:e(()=>[s(a(n(t)("http.api.property.status")),1)]),body:e(()=>[i(A,{status:o.zoneIngressOverview.state},null,8,["status"])]),_:1}),s(),i(u,null,{title:e(()=>[s(a(n(t)("http.api.property.address")),1)]),body:e(()=>[o.zoneIngressOverview.zoneIngress.socketAddress.length>0?(r(),d(g,{key:0,text:o.zoneIngressOverview.zoneIngress.socketAddress},null,8,["text"])):(r(),p(v,{key:1},[s(a(n(t)("common.detail.none")),1)],64))]),_:1}),s(),i(u,null,{title:e(()=>[s(a(n(t)("http.api.property.advertisedAddress")),1)]),body:e(()=>[o.zoneIngressOverview.zoneIngress.advertisedSocketAddress.length>0?(r(),d(g,{key:0,text:o.zoneIngressOverview.zoneIngress.advertisedSocketAddress},null,8,["text"])):(r(),p(v,{key:1},[s(a(n(t)("common.detail.none")),1)],64))]),_:1})]))}}),C=l=>(S("data-v-b0f6778d"),l=l(),V(),l),T={class:"summary-title-wrapper"},D=C(()=>m("img",{"aria-hidden":"true",src:O},null,-1)),N={class:"summary-title"},$={key:1,class:"stack"},F=y({__name:"ZoneIngressSummaryView",props:{zoneIngressOverview:{default:void 0}},setup(l){const{t}=I(),o=l;return(z,w)=>{const f=c("RouteTitle"),h=c("RouterLink"),k=c("AppView"),x=c("RouteView");return r(),d(x,{name:"zone-ingress-summary-view",params:{zone:"",zoneIngress:""}},{default:e(({route:_})=>[i(k,null,{title:e(()=>[m("div",T,[D,s(),m("h2",N,[i(h,{to:{name:"zone-ingress-detail-view",params:{zone:_.params.zone,zoneIngress:_.params.zoneIngress}}},{default:e(()=>[i(f,{title:n(t)("zone-ingresses.routes.item.title",{name:_.params.zoneIngress})},null,8,["title"])]),_:2},1032,["to"])])])]),default:e(()=>[s(),o.zoneIngressOverview===void 0?(r(),d(B,{key:0},{message:e(()=>[m("p",null,a(n(t)("common.collection.summary.empty_message",{type:"ZoneIngress"})),1)]),default:e(()=>[s(a(n(t)("common.collection.summary.empty_title",{type:"ZoneIngress"}))+" ",1)]),_:1})):(r(),p("div",$,[m("div",null,[m("h3",null,a(n(t)("zone-ingresses.routes.item.overview")),1),s(),i(Z,{class:"mt-4","zone-ingress-overview":o.zoneIngressOverview},null,8,["zone-ingress-overview"])])]))]),_:2},1024)]),_:1})}}});const G=b(F,[["__scopeId","data-v-b0f6778d"]]);export{G as default}; +import{d as y,k as I,o as r,c as p,e as i,w as e,f as s,t as a,l as n,X as u,b as d,F as v,a as c,m,s as S,v as V,aD as O,_ as b}from"./index-78599b4f.js";import{S as A}from"./StatusBadge-3f562081.js";import{T as g}from"./TextWithCopyButton-c32acac7.js";import{_ as B}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./CopyButton-752e056c.js";import"./index-fce48c05.js";const R={class:"stack"},Z=y({__name:"ZoneIngressSummary",props:{zoneIngressOverview:{}},setup(l){const{t}=I(),o=l;return(z,w)=>(r(),p("div",R,[i(u,null,{title:e(()=>[s(a(n(t)("http.api.property.status")),1)]),body:e(()=>[i(A,{status:o.zoneIngressOverview.state},null,8,["status"])]),_:1}),s(),i(u,null,{title:e(()=>[s(a(n(t)("http.api.property.address")),1)]),body:e(()=>[o.zoneIngressOverview.zoneIngress.socketAddress.length>0?(r(),d(g,{key:0,text:o.zoneIngressOverview.zoneIngress.socketAddress},null,8,["text"])):(r(),p(v,{key:1},[s(a(n(t)("common.detail.none")),1)],64))]),_:1}),s(),i(u,null,{title:e(()=>[s(a(n(t)("http.api.property.advertisedAddress")),1)]),body:e(()=>[o.zoneIngressOverview.zoneIngress.advertisedSocketAddress.length>0?(r(),d(g,{key:0,text:o.zoneIngressOverview.zoneIngress.advertisedSocketAddress},null,8,["text"])):(r(),p(v,{key:1},[s(a(n(t)("common.detail.none")),1)],64))]),_:1})]))}}),C=l=>(S("data-v-b0f6778d"),l=l(),V(),l),T={class:"summary-title-wrapper"},D=C(()=>m("img",{"aria-hidden":"true",src:O},null,-1)),N={class:"summary-title"},$={key:1,class:"stack"},F=y({__name:"ZoneIngressSummaryView",props:{zoneIngressOverview:{default:void 0}},setup(l){const{t}=I(),o=l;return(z,w)=>{const f=c("RouteTitle"),h=c("RouterLink"),k=c("AppView"),x=c("RouteView");return r(),d(x,{name:"zone-ingress-summary-view",params:{zone:"",zoneIngress:""}},{default:e(({route:_})=>[i(k,null,{title:e(()=>[m("div",T,[D,s(),m("h2",N,[i(h,{to:{name:"zone-ingress-detail-view",params:{zone:_.params.zone,zoneIngress:_.params.zoneIngress}}},{default:e(()=>[i(f,{title:n(t)("zone-ingresses.routes.item.title",{name:_.params.zoneIngress})},null,8,["title"])]),_:2},1032,["to"])])])]),default:e(()=>[s(),o.zoneIngressOverview===void 0?(r(),d(B,{key:0},{message:e(()=>[m("p",null,a(n(t)("common.collection.summary.empty_message",{type:"ZoneIngress"})),1)]),default:e(()=>[s(a(n(t)("common.collection.summary.empty_title",{type:"ZoneIngress"}))+" ",1)]),_:1})):(r(),p("div",$,[m("div",null,[m("h3",null,a(n(t)("zone-ingresses.routes.item.overview")),1),s(),i(Z,{class:"mt-4","zone-ingress-overview":o.zoneIngressOverview},null,8,["zone-ingress-overview"])])]))]),_:2},1024)]),_:1})}}});const G=b(F,[["__scopeId","data-v-b0f6778d"]]);export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-9045a15a.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-9a220cb5.js similarity index 66% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-9045a15a.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-9a220cb5.js index 32ffacd9afa0..aa7c07e2eb7a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-9045a15a.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-9a220cb5.js @@ -1 +1 @@ -import{_ as d}from"./EnvoyData.vue_vue_type_script_setup_true_lang-2a003cec.js";import{d as m,a as n,o as l,b as g,w as t,e as a,m as _,f as u}from"./index-6594470f.js";import"./index-fce48c05.js";import"./CodeBlock-13aedd48.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./ErrorBlock-eae09ed8.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6c7e8a5b.js";const I=m({__name:"ZoneIngressXdsConfigView",setup(f){return(x,h)=>{const s=n("RouteTitle"),r=n("KCard"),i=n("AppView"),p=n("RouteView");return l(),g(p,{name:"zone-ingress-xds-config-view",params:{zoneIngress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:t(({route:e,t:c})=>[a(i,null,{title:t(()=>[_("h2",null,[a(s,{title:c("zone-ingresses.routes.item.navigation.zone-ingress-xds-config-view")},null,8,["title"])])]),default:t(()=>[u(),a(r,null,{default:t(()=>[a(d,{resource:"Zone",src:`/zone-ingresses/${e.params.zoneIngress}/data-path/xds`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{I as default}; +import{_ as d}from"./EnvoyData.vue_vue_type_script_setup_true_lang-7617435e.js";import{d as m,a as n,o as l,b as g,w as t,e as a,m as _,f as u}from"./index-78599b4f.js";import"./index-fce48c05.js";import"./CodeBlock-9e7fa2ff.js";import"./uniqueId-90cc9b93.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./ErrorBlock-c71bafad.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";import"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./LoadingBlock.vue_vue_type_script_setup_true_lang-6427cc6a.js";const I=m({__name:"ZoneIngressXdsConfigView",setup(f){return(x,h)=>{const s=n("RouteTitle"),r=n("KCard"),i=n("AppView"),p=n("RouteView");return l(),g(p,{name:"zone-ingress-xds-config-view",params:{zoneIngress:"",codeSearch:"",codeFilter:!1,codeRegExp:!1}},{default:t(({route:e,t:c})=>[a(i,null,{title:t(()=>[_("h2",null,[a(s,{title:c("zone-ingresses.routes.item.navigation.zone-ingress-xds-config-view")},null,8,["title"])])]),default:t(()=>[u(),a(r,null,{default:t(()=>[a(d,{resource:"Zone",src:`/zone-ingresses/${e.params.zoneIngress}/data-path/xds`,query:e.params.codeSearch,"is-filter-mode":e.params.codeFilter,"is-reg-exp-mode":e.params.codeRegExp,onQueryChange:o=>e.update({codeSearch:o}),onFilterModeChange:o=>e.update({codeFilter:o}),onRegExpModeChange:o=>e.update({codeRegExp:o})},null,8,["src","query","is-filter-mode","is-reg-exp-mode","onQueryChange","onFilterModeChange","onRegExpModeChange"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{I as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneListView-40d4445b.js b/app/kuma-ui/pkg/resources/data/assets/ZoneListView-8bcc2238.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/ZoneListView-40d4445b.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneListView-8bcc2238.js index a90da4363121..3c713ec81e31 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneListView-40d4445b.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneListView-8bcc2238.js @@ -1 +1 @@ -import{K as L}from"./index-fce48c05.js";import{d as ee,L as te,z as V,a as u,o as n,b as v,w as e,e as o,W as F,m as D,f as s,t as m,l as k,az as M,c as f,F as z,C as S,p as K,T as ne,aA as oe,B as se,A as ae,_ as ie}from"./index-6594470f.js";import{A as le}from"./AppCollection-39f5da3b.js";import{_ as re}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-ed0042ad.js";import{E as ce}from"./ErrorBlock-eae09ed8.js";import{S as me}from"./StatusBadge-0fda3dff.js";import{S as pe}from"./SummaryView-4df08b91.js";import{_ as ue}from"./WarningIcon.vue_vue_type_script_setup_true_lang-9e7cbe5c.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-3556e308.js";import"./TextWithCopyButton-e98ec405.js";import"./CopyButton-60165c43.js";const de=["data-testid"],_e=ee({__name:"ZoneListView",setup(fe){const O=te(),Z=V(!1),T=V(!1),I=V(""),E=V({}),N=V({}),R=i=>{let d="offline";return i.length>0&&(d="online",typeof i[i.length-1].disconnectTime<"u"&&(d="offline")),d},W=i=>{const d="zoneIngress";E.value=i.items.reduce((p,_)=>{var y,w;const l=(y=_[d])==null?void 0:y.zone;if(typeof l<"u"){typeof p[l]>"u"&&(p[l]={online:[],offline:[]});const b=((w=_[`${d}Insight`])==null?void 0:w.subscriptions)||[],C=R(b);p[l][C].push(_)}return p},{})},j=i=>{const d="zoneEgress";N.value=i.items.reduce((p,_)=>{var y,w;const l=(y=_[d])==null?void 0:y.zone;if(typeof l<"u"){typeof p[l]>"u"&&(p[l]={online:[],offline:[]});const b=((w=_[`${d}Insight`])==null?void 0:w.subscriptions)||[],C=R(b);p[l][C].push(_)}return p},{})};async function G(){await O.deleteZone({name:I.value})}function x(){Z.value=!Z.value}function P(i){x(),I.value=i}function U(i){T.value=(i==null?void 0:i.items.length)>0}return(i,d)=>{const p=u("RouteTitle"),_=u("KButton"),l=u("DataSource"),y=u("RouterLink"),w=u("KTooltip"),b=u("KDropdownItem"),C=u("KDropdown"),H=u("KCard"),J=u("RouterView"),Q=u("AppView"),X=u("RouteView");return n(),v(l,{src:"/me"},{default:e(({data:q})=>[q?(n(),v(X,{key:0,name:"zone-cp-list-view",params:{page:1,size:q.pageSize,zone:""}},{default:e(({route:r,t:c,can:h})=>[o(Q,null,F({title:e(()=>[D("h1",null,[o(p,{title:c("zone-cps.routes.items.title")},null,8,["title"])])]),default:e(()=>[s(),s(),o(l,{src:`/zone-cps?page=${r.params.page}&size=${r.params.size}`,onChange:U},{default:e(({data:g,error:$,refresh:Y})=>[o(l,{src:"/zone-ingress-overviews?page=1&size=100",onChange:W}),s(),o(l,{src:"/zone-egress-overviews?page=1&size=100",onChange:j}),s(),o(H,null,{default:e(()=>[$!==void 0?(n(),v(ce,{key:0,error:$},null,8,["error"])):(n(),v(le,{key:1,class:"zone-cp-collection","data-testid":"zone-cp-collection",headers:[{label:"Name",key:"name"},{label:"Zone CP Version",key:"zoneCpVersion"},{label:"Type",key:"type"},{label:"Ingresses (online / total)",key:"ingress"},{label:"Egresses (online / total)",key:"egress"},{label:"Status",key:"state"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Details",key:"details",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":r.params.page,"page-size":r.params.size,total:g==null?void 0:g.total,items:g==null?void 0:g.items,error:$,"empty-state-title":h("create zones")?c("zone-cps.empty_state.title"):void 0,"empty-state-message":h("create zones")?c("zone-cps.empty_state.message"):void 0,"empty-state-cta-to":h("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":h("create zones")?c("zones.index.create"):void 0,"is-selected-row":t=>t.name===r.params.zone,onChange:r.update},F({name:e(({row:t})=>[o(y,{to:{name:"zone-cp-detail-view",params:{zone:t.name},query:{page:r.params.page,size:r.params.size}}},{default:e(()=>[s(m(t.name),1)]),_:2},1032,["to"])]),zoneCpVersion:e(({row:t})=>[s(m(k(M)(t.zoneInsight,"version.kumaCp.version",c("common.collection.none"))),1)]),type:e(({row:t})=>[s(m(t.zoneInsight.environment.length>0?t.zoneInsight.environment:"kubernetes"),1)]),ingress:e(({row:t})=>[(n(!0),f(z,null,S([E.value[t.name]||{online:[],offline:[]}],a=>(n(),f(z,null,[s(m(a.online.length)+" / "+m(a.online.length+a.offline.length),1)],64))),256))]),egress:e(({row:t})=>[(n(!0),f(z,null,S([N.value[t.name]||{online:[],offline:[]}],a=>(n(),f(z,null,[s(m(a.online.length)+" / "+m(a.online.length+a.offline.length),1)],64))),256))]),state:e(({row:t})=>[o(me,{status:t.state},null,8,["status"])]),warnings:e(({row:t})=>[(n(!0),f(z,null,S([{version_mismatch:!k(M)(t.zoneInsight,"version.kumaCp.kumaCpGlobalCompatible","true"),store_memory:t.zoneInsight.store==="memory"}],a=>(n(),f(z,{key:`${a.version_mismatch}-${a.store_memory}`},[Object.values(a).some(B=>B)?(n(),v(w,{key:0},{content:e(()=>[D("ul",null,[(n(!0),f(z,null,S(a,(B,A)=>(n(),f(z,{key:A},[B?(n(),f("li",{key:0,"data-testid":`warning-${A}`},m(c(`zone-cps.list.${A}`)),9,de)):K("",!0)],64))),128))])]),default:e(()=>[s(),o(ue,{"data-testid":"warning",class:"mr-1",size:k(L),"hide-title":""},null,8,["size"])]),_:2},1024)):(n(),f(z,{key:1},[s(m(c("common.collection.none")),1)],64))],64))),128))]),details:e(({row:t})=>[o(y,{class:"details-link","data-testid":"details-link",to:{name:"zone-cp-detail-view",params:{zone:t.name}}},{default:e(()=>[s(m(c("common.collection.details_link"))+" ",1),o(k(ne),{display:"inline-block",decorative:"",size:k(L)},null,8,["size"])]),_:2},1032,["to"])]),_:2},[h("create zones")?{name:"actions",fn:e(({row:t})=>[o(C,{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[o(_,{class:"non-visual-button",appearance:"secondary","icon-only":""},{default:e(()=>[o(k(oe))]),_:1})]),items:e(()=>[o(b,{"has-divider":"",danger:"","data-testid":"dropdown-delete-item",onClick:a=>P(t.name)},{default:e(()=>[s(m(c("common.collection.actions.delete")),1)]),_:2},1032,["onClick"])]),_:2},1024)]),key:"0"}:void 0]),1032,["headers","page-number","page-size","total","items","error","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text","is-selected-row","onChange"]))]),_:2},1024),s(),r.params.zone?(n(),v(J,{key:0},{default:e(t=>[o(pe,{onClose:a=>r.replace({name:"zone-cp-list-view",query:{page:r.params.page,size:r.params.size}})},{default:e(()=>[(n(),v(se(t.Component),{name:r.params.zone,"zone-overview":g==null?void 0:g.items.find(a=>a.name===r.params.zone)},null,8,["name","zone-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):K("",!0),s(),Z.value?(n(),v(re,{key:1,"confirmation-text":I.value,"delete-function":G,"is-visible":"","action-button-text":c("common.delete_modal.proceed_button"),title:c("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:x,onDelete:()=>{x(),Y()}},{"body-content":e(()=>[D("p",null,m(c("common.delete_modal.text1",{type:"Zone",name:I.value})),1),s(),D("p",null,m(c("common.delete_modal.text2")),1)]),_:2},1032,["confirmation-text","action-button-text","title","onDelete"])):K("",!0)]),_:2},1032,["src"])]),_:2},[h("create zones")&&T.value?{name:"actions",fn:e(()=>[o(_,{appearance:"primary",to:{name:"zone-create-view"},"data-testid":"create-zone-link"},{default:e(()=>[o(k(ae),{size:k(L)},null,8,["size"]),s(" "+m(c("zones.index.create")),1)]),_:2},1024)]),key:"0"}:void 0]),1024)]),_:2},1032,["params"])):K("",!0)]),_:1})}}});const De=ie(_e,[["__scopeId","data-v-97ded327"]]);export{De as default}; +import{K as L}from"./index-fce48c05.js";import{d as ee,L as te,z as V,a as u,o as n,b as v,w as e,e as o,W as F,m as D,f as s,t as m,l as k,az as M,c as f,F as z,C as S,p as K,T as ne,aA as oe,B as se,A as ae,_ as ie}from"./index-78599b4f.js";import{A as le}from"./AppCollection-fab1a627.js";import{_ as re}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-41f7b16a.js";import{E as ce}from"./ErrorBlock-c71bafad.js";import{S as me}from"./StatusBadge-3f562081.js";import{S as pe}from"./SummaryView-87032df3.js";import{_ as ue}from"./WarningIcon.vue_vue_type_script_setup_true_lang-321d6f89.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-2e4ee74c.js";import"./TextWithCopyButton-c32acac7.js";import"./CopyButton-752e056c.js";const de=["data-testid"],_e=ee({__name:"ZoneListView",setup(fe){const O=te(),Z=V(!1),T=V(!1),I=V(""),E=V({}),N=V({}),R=i=>{let d="offline";return i.length>0&&(d="online",typeof i[i.length-1].disconnectTime<"u"&&(d="offline")),d},W=i=>{const d="zoneIngress";E.value=i.items.reduce((p,_)=>{var y,w;const l=(y=_[d])==null?void 0:y.zone;if(typeof l<"u"){typeof p[l]>"u"&&(p[l]={online:[],offline:[]});const b=((w=_[`${d}Insight`])==null?void 0:w.subscriptions)||[],C=R(b);p[l][C].push(_)}return p},{})},j=i=>{const d="zoneEgress";N.value=i.items.reduce((p,_)=>{var y,w;const l=(y=_[d])==null?void 0:y.zone;if(typeof l<"u"){typeof p[l]>"u"&&(p[l]={online:[],offline:[]});const b=((w=_[`${d}Insight`])==null?void 0:w.subscriptions)||[],C=R(b);p[l][C].push(_)}return p},{})};async function G(){await O.deleteZone({name:I.value})}function x(){Z.value=!Z.value}function P(i){x(),I.value=i}function U(i){T.value=(i==null?void 0:i.items.length)>0}return(i,d)=>{const p=u("RouteTitle"),_=u("KButton"),l=u("DataSource"),y=u("RouterLink"),w=u("KTooltip"),b=u("KDropdownItem"),C=u("KDropdown"),H=u("KCard"),J=u("RouterView"),Q=u("AppView"),X=u("RouteView");return n(),v(l,{src:"/me"},{default:e(({data:q})=>[q?(n(),v(X,{key:0,name:"zone-cp-list-view",params:{page:1,size:q.pageSize,zone:""}},{default:e(({route:r,t:c,can:h})=>[o(Q,null,F({title:e(()=>[D("h1",null,[o(p,{title:c("zone-cps.routes.items.title")},null,8,["title"])])]),default:e(()=>[s(),s(),o(l,{src:`/zone-cps?page=${r.params.page}&size=${r.params.size}`,onChange:U},{default:e(({data:g,error:$,refresh:Y})=>[o(l,{src:"/zone-ingress-overviews?page=1&size=100",onChange:W}),s(),o(l,{src:"/zone-egress-overviews?page=1&size=100",onChange:j}),s(),o(H,null,{default:e(()=>[$!==void 0?(n(),v(ce,{key:0,error:$},null,8,["error"])):(n(),v(le,{key:1,class:"zone-cp-collection","data-testid":"zone-cp-collection",headers:[{label:"Name",key:"name"},{label:"Zone CP Version",key:"zoneCpVersion"},{label:"Type",key:"type"},{label:"Ingresses (online / total)",key:"ingress"},{label:"Egresses (online / total)",key:"egress"},{label:"Status",key:"state"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Details",key:"details",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":r.params.page,"page-size":r.params.size,total:g==null?void 0:g.total,items:g==null?void 0:g.items,error:$,"empty-state-title":h("create zones")?c("zone-cps.empty_state.title"):void 0,"empty-state-message":h("create zones")?c("zone-cps.empty_state.message"):void 0,"empty-state-cta-to":h("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":h("create zones")?c("zones.index.create"):void 0,"is-selected-row":t=>t.name===r.params.zone,onChange:r.update},F({name:e(({row:t})=>[o(y,{to:{name:"zone-cp-detail-view",params:{zone:t.name},query:{page:r.params.page,size:r.params.size}}},{default:e(()=>[s(m(t.name),1)]),_:2},1032,["to"])]),zoneCpVersion:e(({row:t})=>[s(m(k(M)(t.zoneInsight,"version.kumaCp.version",c("common.collection.none"))),1)]),type:e(({row:t})=>[s(m(t.zoneInsight.environment.length>0?t.zoneInsight.environment:"kubernetes"),1)]),ingress:e(({row:t})=>[(n(!0),f(z,null,S([E.value[t.name]||{online:[],offline:[]}],a=>(n(),f(z,null,[s(m(a.online.length)+" / "+m(a.online.length+a.offline.length),1)],64))),256))]),egress:e(({row:t})=>[(n(!0),f(z,null,S([N.value[t.name]||{online:[],offline:[]}],a=>(n(),f(z,null,[s(m(a.online.length)+" / "+m(a.online.length+a.offline.length),1)],64))),256))]),state:e(({row:t})=>[o(me,{status:t.state},null,8,["status"])]),warnings:e(({row:t})=>[(n(!0),f(z,null,S([{version_mismatch:!k(M)(t.zoneInsight,"version.kumaCp.kumaCpGlobalCompatible","true"),store_memory:t.zoneInsight.store==="memory"}],a=>(n(),f(z,{key:`${a.version_mismatch}-${a.store_memory}`},[Object.values(a).some(B=>B)?(n(),v(w,{key:0},{content:e(()=>[D("ul",null,[(n(!0),f(z,null,S(a,(B,A)=>(n(),f(z,{key:A},[B?(n(),f("li",{key:0,"data-testid":`warning-${A}`},m(c(`zone-cps.list.${A}`)),9,de)):K("",!0)],64))),128))])]),default:e(()=>[s(),o(ue,{"data-testid":"warning",class:"mr-1",size:k(L),"hide-title":""},null,8,["size"])]),_:2},1024)):(n(),f(z,{key:1},[s(m(c("common.collection.none")),1)],64))],64))),128))]),details:e(({row:t})=>[o(y,{class:"details-link","data-testid":"details-link",to:{name:"zone-cp-detail-view",params:{zone:t.name}}},{default:e(()=>[s(m(c("common.collection.details_link"))+" ",1),o(k(ne),{display:"inline-block",decorative:"",size:k(L)},null,8,["size"])]),_:2},1032,["to"])]),_:2},[h("create zones")?{name:"actions",fn:e(({row:t})=>[o(C,{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[o(_,{class:"non-visual-button",appearance:"secondary","icon-only":""},{default:e(()=>[o(k(oe))]),_:1})]),items:e(()=>[o(b,{"has-divider":"",danger:"","data-testid":"dropdown-delete-item",onClick:a=>P(t.name)},{default:e(()=>[s(m(c("common.collection.actions.delete")),1)]),_:2},1032,["onClick"])]),_:2},1024)]),key:"0"}:void 0]),1032,["headers","page-number","page-size","total","items","error","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text","is-selected-row","onChange"]))]),_:2},1024),s(),r.params.zone?(n(),v(J,{key:0},{default:e(t=>[o(pe,{onClose:a=>r.replace({name:"zone-cp-list-view",query:{page:r.params.page,size:r.params.size}})},{default:e(()=>[(n(),v(se(t.Component),{name:r.params.zone,"zone-overview":g==null?void 0:g.items.find(a=>a.name===r.params.zone)},null,8,["name","zone-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):K("",!0),s(),Z.value?(n(),v(re,{key:1,"confirmation-text":I.value,"delete-function":G,"is-visible":"","action-button-text":c("common.delete_modal.proceed_button"),title:c("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:x,onDelete:()=>{x(),Y()}},{"body-content":e(()=>[D("p",null,m(c("common.delete_modal.text1",{type:"Zone",name:I.value})),1),s(),D("p",null,m(c("common.delete_modal.text2")),1)]),_:2},1032,["confirmation-text","action-button-text","title","onDelete"])):K("",!0)]),_:2},1032,["src"])]),_:2},[h("create zones")&&T.value?{name:"actions",fn:e(()=>[o(_,{appearance:"primary",to:{name:"zone-create-view"},"data-testid":"create-zone-link"},{default:e(()=>[o(k(ae),{size:k(L)},null,8,["size"]),s(" "+m(c("zones.index.create")),1)]),_:2},1024)]),key:"0"}:void 0]),1024)]),_:2},1032,["params"])):K("",!0)]),_:1})}}});const De=ie(_e,[["__scopeId","data-v-97ded327"]]);export{De as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/index-6594470f.js b/app/kuma-ui/pkg/resources/data/assets/index-78599b4f.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/index-6594470f.js rename to app/kuma-ui/pkg/resources/data/assets/index-78599b4f.js index 96dc3d05295c..fca0f2124270 100644 --- a/app/kuma-ui/pkg/resources/data/assets/index-6594470f.js +++ b/app/kuma-ui/pkg/resources/data/assets/index-78599b4f.js @@ -1,4 +1,4 @@ -var mh=Object.defineProperty;var gh=(e,t,r)=>t in e?mh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var gt=(e,t,r)=>(gh(e,typeof t!="symbol"?t+"":t,r),r),Vl=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var pe=(e,t,r)=>(Vl(e,t,"read from private field"),r?r.call(e):t.get(e)),st=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Wt=(e,t,r,n)=>(Vl(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var xe=(e,t,r)=>(Vl(e,t,"access private method"),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const Ch="modulepreload",yh=function(e,t){return e[0]==="."?new URL(e,t).href:e},J7={},Be=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=yh(a,n),a in J7)return;J7[a]=!0;const i=a.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!n)for(let c=o.length-1;c>=0;c--){const d=o[c];if(d.href===a&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":Ch,i||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),i)return new Promise((c,d)=>{u.addEventListener("load",c),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})};const bh=e=>({"use kubernetes":t=>e("KUMA_ENVIRONMENT")==="kubernetes","use state":t=>e("KUMA_STORE_TYPE")!=="memory"}),wh=()=>[{path:"/",name:"home",component:()=>Be(()=>import("./ControlPlaneDetailView-dbaefe7d.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./AppCollection-6359d3b1.css","./StatusBadge-8194fcb8.css","./ControlPlaneDetailView-d2b77b9d.css"],import.meta.url)}],_h={fromObject(e){return e}},kh={fromObject(e){return e}},xh=(e,t)=>{const r=e.split("."),n=t.split(".");for(let o=0;o<3;o++){const a=Number(r[o]),i=Number(n[o]);if(a>i)return 1;if(i>a)return-1}return 0},Mh=(e,t)=>({"/control-plane/addresses":async()=>({http:e("KUMA_API_URL"),kds:e("KUMA_KDS_URL")}),"/control-plane/version/latest":async()=>{const r=e("KUMA_VERSION");if(!r.match("^[0-9]+.[0-9]+.[0-9]+$"))return{version:r};const n=await(async()=>{try{return t.getLatestVersion()}catch(o){return console.error(o),""}})();return{version:n!==""&&xh(n,r)===1?n:r}},"/config":async()=>_h.fromObject(await t.getConfig()),"/global-insight":async()=>kh.fromObject(await t.getGlobalInsight())});function S5(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o!!r[o.toLowerCase()]:o=>!!r[o]}const Et={},Fo=[],J1=()=>{},Sh=()=>!1,qs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),E5=e=>e.startsWith("onUpdate:"),jt=Object.assign,L5=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Eh=Object.prototype.hasOwnProperty,pt=(e,t)=>Eh.call(e,t),Ge=Array.isArray,Uo=e=>Ws(e)==="[object Map]",F8=e=>Ws(e)==="[object Set]",tt=e=>typeof e=="function",Zt=e=>typeof e=="string",Ma=e=>typeof e=="symbol",kt=e=>e!==null&&typeof e=="object",U8=e=>(kt(e)||tt(e))&&tt(e.then)&&tt(e.catch),j8=Object.prototype.toString,Ws=e=>j8.call(e),Lh=e=>Ws(e).slice(8,-1),Y8=e=>Ws(e)==="[object Object]",A5=e=>Zt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,E2=S5(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qs=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Ah=/-(\w)/g,_r=Qs(e=>e.replace(Ah,(t,r)=>r?r.toUpperCase():"")),Hh=/\B([A-Z])/g,po=Qs(e=>e.replace(Hh,"-$1").toLowerCase()),Xs=Qs(e=>e.charAt(0).toUpperCase()+e.slice(1)),L2=Qs(e=>e?`on${Xs(e)}`:""),no=(e,t)=>!Object.is(e,t),A2=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},R0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bh=e=>{const t=Zt(e)?Number(e):NaN;return isNaN(t)?e:t};let e3;const $0=()=>e3||(e3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ze(e){if(Ge(e)){const t={};for(let r=0;r{if(r){const n=r.split(Dh);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ie(e){let t="";if(Zt(e))t=e;else if(Ge(e))for(let r=0;rZt(e)?e:e==null?"":Ge(e)||kt(e)&&(e.toString===j8||!tt(e.toString))?JSON.stringify(e,K8,2):String(e),K8=(e,t)=>t&&t.__v_isRef?K8(e,t.value):Uo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],a)=>(r[Il(n,a)+" =>"]=o,r),{})}:F8(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Il(r))}:Ma(t)?Il(t):kt(t)&&!Ge(t)&&!Y8(t)?String(t):t,Il=(e,t="")=>{var r;return Ma(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};let B1;class Nh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=B1,!t&&B1&&(this.index=(B1.scopes||(B1.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=B1;try{return B1=this,t()}finally{B1=r}}}on(){B1=this}off(){B1=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r{const t=new Set(e);return t.w=0,t.n=0,t},W8=e=>(e.w&En)>0,Q8=e=>(e.n&En)>0,$h=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n{(c==="length"||!Ma(c)&&c>=l)&&s.push(u)})}else switch(r!==void 0&&s.push(i.get(r)),t){case"add":Ge(e)?A5(r)&&s.push(i.get("length")):(s.push(i.get(eo)),Uo(e)&&s.push(i.get(F0)));break;case"delete":Ge(e)||(s.push(i.get(eo)),Uo(e)&&s.push(i.get(F0)));break;case"set":Uo(e)&&s.push(i.get(eo));break}if(s.length===1)s[0]&&U0(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);U0(H5(l))}}function U0(e,t){const r=Ge(e)?e:[...e];for(const n of r)n.computed&&r3(n);for(const n of r)n.computed||r3(n)}function r3(e,t){(e!==Q1||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Fh(e,t){var r;return(r=es.get(e))==null?void 0:r.get(t)}const Uh=S5("__proto__,__v_isRef,__isVue"),ec=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ma)),n3=jh();function jh(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=dt(this);for(let a=0,i=this.length;a{e[t]=function(...r){Sa();const n=dt(this)[t].apply(this,r);return Ea(),n}}),e}function Yh(e){const t=dt(this);return S1(t,"has",e),t.hasOwnProperty(e)}class tc{constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get(t,r,n){const o=this._isReadonly,a=this._shallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return a;if(r==="__v_raw")return n===(o?a?av:ac:a?oc:nc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const i=Ge(t);if(!o){if(i&&pt(n3,r))return Reflect.get(n3,r,n);if(r==="hasOwnProperty")return Yh}const s=Reflect.get(t,r,n);return(Ma(r)?ec.has(r):Uh(r))||(o||S1(t,"get",r),a)?s:Pt(s)?i&&A5(r)?s:s.value:kt(s)?o?sc(s):or(s):s}}class rc extends tc{constructor(t=!1){super(!1,t)}set(t,r,n,o){let a=t[r];if(!this._shallow){const l=oo(a);if(!ts(n)&&!oo(n)&&(a=dt(a),n=dt(n)),!Ge(t)&&Pt(a)&&!Pt(n))return l?!1:(a.value=n,!0)}const i=Ge(t)&&A5(r)?Number(r)e,Js=e=>Reflect.getPrototypeOf(e);function a2(e,t,r=!1,n=!1){e=e.__v_raw;const o=dt(e),a=dt(t);r||(no(t,a)&&S1(o,"get",t),S1(o,"get",a));const{has:i}=Js(o),s=n?T5:r?V5:Ai;if(i.call(o,t))return s(e.get(t));if(i.call(o,a))return s(e.get(a));e!==o&&e.get(t)}function i2(e,t=!1){const r=this.__v_raw,n=dt(r),o=dt(e);return t||(no(e,o)&&S1(n,"has",e),S1(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function s2(e,t=!1){return e=e.__v_raw,!t&&S1(dt(e),"iterate",eo),Reflect.get(e,"size",e)}function o3(e){e=dt(e);const t=dt(this);return Js(t).has.call(t,e)||(t.add(e),zr(t,"add",e,e)),this}function a3(e,t){t=dt(t);const r=dt(this),{has:n,get:o}=Js(r);let a=n.call(r,e);a||(e=dt(e),a=n.call(r,e));const i=o.call(r,e);return r.set(e,t),a?no(t,i)&&zr(r,"set",e,t):zr(r,"add",e,t),this}function i3(e){const t=dt(this),{has:r,get:n}=Js(t);let o=r.call(t,e);o||(e=dt(e),o=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return o&&zr(t,"delete",e,void 0),a}function s3(){const e=dt(this),t=e.size!==0,r=e.clear();return t&&zr(e,"clear",void 0,void 0),r}function l2(e,t){return function(n,o){const a=this,i=a.__v_raw,s=dt(i),l=t?T5:e?V5:Ai;return!e&&S1(s,"iterate",eo),i.forEach((u,c)=>n.call(o,l(u),l(c),a))}}function u2(e,t,r){return function(...n){const o=this.__v_raw,a=dt(o),i=Uo(a),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...n),c=r?T5:t?V5:Ai;return!t&&S1(a,"iterate",l?F0:eo),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:s?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Qh(){const e={get(a){return a2(this,a)},get size(){return s2(this)},has:i2,add:o3,set:a3,delete:i3,clear:s3,forEach:l2(!1,!1)},t={get(a){return a2(this,a,!1,!0)},get size(){return s2(this)},has:i2,add:o3,set:a3,delete:i3,clear:s3,forEach:l2(!1,!0)},r={get(a){return a2(this,a,!0)},get size(){return s2(this,!0)},has(a){return i2.call(this,a,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:l2(!0,!1)},n={get(a){return a2(this,a,!0,!0)},get size(){return s2(this,!0)},has(a){return i2.call(this,a,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:l2(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=u2(a,!1,!1),r[a]=u2(a,!0,!1),t[a]=u2(a,!1,!0),n[a]=u2(a,!0,!0)}),[e,r,t,n]}const[Xh,Jh,ev,tv]=Qh();function D5(e,t){const r=t?e?tv:ev:e?Jh:Xh;return(n,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(pt(r,o)&&o in n?r:n,o,a)}const rv={get:D5(!1,!1)},nv={get:D5(!1,!0)},ov={get:D5(!0,!1)},nc=new WeakMap,oc=new WeakMap,ac=new WeakMap,av=new WeakMap;function iv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sv(e){return e.__v_skip||!Object.isExtensible(e)?0:iv(Lh(e))}function or(e){return oo(e)?e:O5(e,!1,Kh,rv,nc)}function ic(e){return O5(e,!1,Wh,nv,oc)}function sc(e){return O5(e,!0,qh,ov,ac)}function O5(e,t,r,n,o){if(!kt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=sv(e);if(i===0)return e;const s=new Proxy(e,i===2?n:r);return o.set(e,s),s}function jo(e){return oo(e)?jo(e.__v_raw):!!(e&&e.__v_isReactive)}function oo(e){return!!(e&&e.__v_isReadonly)}function ts(e){return!!(e&&e.__v_isShallow)}function lc(e){return jo(e)||oo(e)}function dt(e){const t=e&&e.__v_raw;return t?dt(t):e}function uc(e){return J2(e,"__v_skip",!0),e}const Ai=e=>kt(e)?or(e):e,V5=e=>kt(e)?sc(e):e;function cc(e){Mn&&Q1&&(e=dt(e),J8(e.dep||(e.dep=H5())))}function dc(e,t){e=dt(e);const r=e.dep;r&&U0(r)}function Pt(e){return!!(e&&e.__v_isRef===!0)}function U(e){return fc(e,!1)}function lv(e){return fc(e,!0)}function fc(e,t){return Pt(e)?e:new uv(e,t)}class uv{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:dt(t),this._value=r?t:Ai(t)}get value(){return cc(this),this._value}set value(t){const r=this.__v_isShallow||ts(t)||oo(t);t=r?t:dt(t),no(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:Ai(t),dc(this))}}function D(e){return Pt(e)?e.value:e}const cv={get:(e,t,r)=>D(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Pt(o)&&!Pt(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function pc(e){return jo(e)?e:new Proxy(e,cv)}function hc(e){const t=Ge(e)?new Array(e.length):{};for(const r in e)t[r]=vc(e,r);return t}class dv{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Fh(dt(this._object),this._key)}}class fv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function H2(e,t,r){return Pt(e)?e:tt(e)?new fv(e):kt(e)&&arguments.length>1?vc(e,t,r):U(e)}function vc(e,t,r){const n=e[t];return Pt(n)?n:new dv(e,t,r)}class pv{constructor(t,r,n,o){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new B5(t,()=>{this._dirty||(this._dirty=!0,dc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=dt(this);return cc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function hv(e,t,r=!1){let n,o;const a=tt(e);return a?(n=e,o=J1):(n=e.get,o=e.set),new pv(n,o,a||!o,r)}function Sn(e,t,r,n){let o;try{o=n?e(...n):e()}catch(a){el(a,t,r)}return o}function F1(e,t,r,n){if(tt(e)){const a=Sn(e,t,r,n);return a&&U8(a)&&a.catch(i=>{el(i,t,r)}),a}const o=[];for(let a=0;a>>1,o=i1[n],a=Bi(o);agr&&i1.splice(t,1)}function Cv(e){Ge(e)?Yo.push(...e):(!Vr||!Vr.includes(e,e.allowRecurse?Un+1:Un))&&Yo.push(e),gc()}function l3(e,t,r=Hi?gr+1:0){for(;rBi(r)-Bi(n)),Un=0;Une.id==null?1/0:e.id,yv=(e,t)=>{const r=Bi(e)-Bi(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function yc(e){j0=!1,Hi=!0,i1.sort(yv);const t=J1;try{for(gr=0;grZt(p)?p.trim():p)),d&&(o=r.map(R0))}let s,l=n[s=L2(t)]||n[s=L2(_r(t))];!l&&a&&(l=n[s=L2(po(t))]),l&&F1(l,e,6,o);const u=n[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,F1(u,e,6,o)}}function bc(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const a=e.emits;let i={},s=!1;if(!tt(e)){const l=u=>{const c=bc(u,t,!0);c&&(s=!0,jt(i,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(kt(e)&&n.set(e,null),null):(Ge(a)?a.forEach(l=>i[l]=null):jt(i,a),kt(e)&&n.set(e,i),i)}function tl(e,t){return!e||!qs(t)?!1:(t=t.slice(2).replace(/Once$/,""),pt(e,t[0].toLowerCase()+t.slice(1))||pt(e,po(t))||pt(e,t))}let r1=null,rl=null;function rs(e){const t=r1;return r1=e,rl=e&&e.type.__scopeId||null,t}function Xe(e){rl=e}function Je(){rl=null}function B(e,t=r1,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&b3(-1);const a=rs(t);let i;try{i=e(...o)}finally{rs(a),n._d&&b3(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Pl(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:a,propsOptions:[i],slots:s,attrs:l,emit:u,render:c,renderCache:d,data:f,setupState:p,ctx:m,inheritAttrs:b}=e;let C,g;const w=rs(e);try{if(r.shapeFlag&4){const M=o||n,E=M;C=mr(c.call(E,M,d,a,p,f,m)),g=l}else{const M=t;C=mr(M.length>1?M(a,{attrs:l,slots:s,emit:u}):M(a,null)),g=t.props?l:wv(l)}}catch(M){mi.length=0,el(M,e,1),C=$(D1)}let y=C;if(g&&b!==!1){const M=Object.keys(g),{shapeFlag:E}=y;M.length&&E&7&&(i&&M.some(E5)&&(g=_v(g,i)),y=Ur(y,g))}return r.dirs&&(y=Ur(y),y.dirs=y.dirs?y.dirs.concat(r.dirs):r.dirs),r.transition&&(y.transition=r.transition),C=y,rs(w),C}const wv=e=>{let t;for(const r in e)(r==="class"||r==="style"||qs(r))&&((t||(t={}))[r]=e[r]);return t},_v=(e,t)=>{const r={};for(const n in e)(!E5(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function kv(e,t,r){const{props:n,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?u3(n,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function Lv(e,t){t&&t.pendingBranch?Ge(e)?t.effects.push(...e):t.effects.push(e):Cv(e)}function nl(e,t){return ol(e,null,t)}function Av(e,t){return ol(e,null,{flush:"post"})}const c2={};function Le(e,t,r){return ol(e,t,r)}function ol(e,t,{immediate:r,deep:n,flush:o,onTrack:a,onTrigger:i}=Et){var s;const l=q8()===((s=Xt)==null?void 0:s.scope)?Xt:null;let u,c=!1,d=!1;if(Pt(e)?(u=()=>e.value,c=ts(e)):jo(e)?(u=()=>e,n=!0):Ge(e)?(d=!0,c=e.some(M=>jo(M)||ts(M)),u=()=>e.map(M=>{if(Pt(M))return M.value;if(jo(M))return Kn(M);if(tt(M))return Sn(M,l,2)})):tt(e)?t?u=()=>Sn(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return f&&f(),F1(e,l,3,[p])}:u=J1,t&&n){const M=u;u=()=>Kn(M())}let f,p=M=>{f=w.onStop=()=>{Sn(M,l,4),f=w.onStop=void 0}},m;if(Vi)if(p=J1,t?r&&F1(t,l,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const M=gm();m=M.__watcherHandles||(M.__watcherHandles=[])}else return J1;let b=d?new Array(e.length).fill(c2):c2;const C=()=>{if(w.active)if(t){const M=w.run();(n||c||(d?M.some((E,z)=>no(E,b[z])):no(M,b)))&&(f&&f(),F1(t,l,3,[M,b===c2?void 0:d&&b[0]===c2?[]:b,p]),b=M)}else w.run()};C.allowRecurse=!!t;let g;o==="sync"?g=C:o==="post"?g=()=>w1(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),g=()=>P5(C));const w=new B5(u,g);t?r?C():b=w.run():o==="post"?w1(w.run.bind(w),l&&l.suspense):w.run();const y=()=>{w.stop(),l&&l.scope&&L5(l.scope.effects,w)};return m&&m.push(y),y}function Hv(e,t,r){const n=this.proxy,o=Zt(e)?e.includes(".")?_c(n,e):()=>n[e]:e.bind(n,n);let a;tt(t)?a=t:(a=t.handler,r=t);const i=Xt;ia(this);const s=ol(o,a.bind(n),r);return i?ia(i):to(),s}function _c(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o{Kn(r,t)});else if(Y8(e))for(const r in e)Kn(e[r],t);return e}function aa(e,t){const r=r1;if(r===null)return e;const n=ul(r)||r.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),Qr(()=>{e.isUnmounting=!0}),e}const V1=[Function,Array],xc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:V1,onEnter:V1,onAfterEnter:V1,onEnterCancelled:V1,onBeforeLeave:V1,onLeave:V1,onAfterLeave:V1,onLeaveCancelled:V1,onBeforeAppear:V1,onAppear:V1,onAfterAppear:V1,onAppearCancelled:V1},Bv={name:"BaseTransition",props:xc,setup(e,{slots:t}){const r=Ki(),n=kc();let o;return()=>{const a=t.default&&R5(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const b of a)if(b.type!==D1){i=b;break}}const s=dt(e),{mode:l}=s;if(n.isLeaving)return Nl(i);const u=d3(i);if(!u)return Nl(i);const c=Ti(u,s,n,r);Di(u,c);const d=r.subTree,f=d&&d3(d);let p=!1;const{getTransitionKey:m}=u.type;if(m){const b=m();o===void 0?o=b:b!==o&&(o=b,p=!0)}if(f&&f.type!==D1&&(!jn(u,f)||p)){const b=Ti(f,s,n,r);if(Di(f,b),l==="out-in")return n.isLeaving=!0,b.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},Nl(i);l==="in-out"&&u.type!==D1&&(b.delayLeave=(C,g,w)=>{const y=Mc(n,f);y[String(f.key)]=f,C[mn]=()=>{g(),C[mn]=void 0,delete c.delayedLeave},c.delayedLeave=w})}return i}}},Tv=Bv;function Mc(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Ti(e,t,r,n){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:b,onAppear:C,onAfterAppear:g,onAppearCancelled:w}=t,y=String(e.key),M=Mc(r,e),E=(R,F)=>{R&&F1(R,n,9,F)},z=(R,F)=>{const H=F[1];E(R,F),Ge(R)?R.every(V=>V.length<=1)&&H():R.length<=1&&H()},O={mode:a,persisted:i,beforeEnter(R){let F=s;if(!r.isMounted)if(o)F=b||s;else return;R[mn]&&R[mn](!0);const H=M[y];H&&jn(e,H)&&H.el[mn]&&H.el[mn](),E(F,[R])},enter(R){let F=l,H=u,V=c;if(!r.isMounted)if(o)F=C||l,H=g||u,V=w||c;else return;let A=!1;const Y=R[d2]=X=>{A||(A=!0,X?E(V,[R]):E(H,[R]),O.delayedLeave&&O.delayedLeave(),R[d2]=void 0)};F?z(F,[R,Y]):Y()},leave(R,F){const H=String(e.key);if(R[d2]&&R[d2](!0),r.isUnmounting)return F();E(d,[R]);let V=!1;const A=R[mn]=Y=>{V||(V=!0,F(),Y?E(m,[R]):E(p,[R]),R[mn]=void 0,M[H]===e&&delete M[H])};M[H]=e,f?z(f,[R,A]):A()},clone(R){return Ti(R,t,r,n)}};return O}function Nl(e){if(al(e))return e=Ur(e),e.children=null,e}function d3(e){return al(e)?e.children?e.children[0]:void 0:e}function Di(e,t){e.shapeFlag&6&&e.component?Di(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function R5(e,t=!1,r){let n=[],o=0;for(let a=0;a1)for(let a=0;ajt({name:e.name},t,{setup:e}))():e}const pi=e=>!!e.type.__asyncLoader,al=e=>e.type.__isKeepAlive;function Dv(e,t){Sc(e,"a",t)}function Ov(e,t){Sc(e,"da",t)}function Sc(e,t,r=Xt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(il(t,n,r),r){let o=r.parent;for(;o&&o.parent;)al(o.parent.vnode)&&Vv(n,t,r,o),o=o.parent}}function Vv(e,t,r,n){const o=il(t,e,n,!0);n1(()=>{L5(n[t],o)},r)}function il(e,t,r=Xt,n=!1){if(r){const o=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(r.isUnmounted)return;Sa(),ia(r);const s=F1(t,r,e,i);return to(),Ea(),s});return n?o.unshift(a):o.push(a),a}}const Wr=e=>(t,r=Xt)=>(!Vi||e==="sp")&&il(e,(...n)=>t(...n),r),Iv=Wr("bm"),Ct=Wr("m"),Pv=Wr("bu"),Ec=Wr("u"),Qr=Wr("bum"),n1=Wr("um"),Nv=Wr("sp"),Zv=Wr("rtg"),Rv=Wr("rtc");function $v(e,t=Xt){il("ec",e,t)}function rt(e,t,r,n){let o;const a=r&&r[n];if(Ge(e)||Zt(e)){o=new Array(e.length);for(let i=0,s=e.length;it(i,s,void 0,a&&a[s]));else{const i=Object.keys(e);o=new Array(i.length);for(let s=0,l=i.length;s{const a=n.fn(...o);return a&&(a.key=n.key),a}:n.fn)}return e}function W(e,t,r={},n,o){if(r1.isCE||r1.parent&&pi(r1.parent)&&r1.parent.isCE)return t!=="default"&&(r.name=t),$("slot",r,n&&n());let a=e[t];a&&a._c&&(a._d=!1),h();const i=a&&Lc(a(r)),s=J(Se,{key:r.key||i&&i.key||`_${t}`},i||(n?n():[]),i&&e._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function Lc(e){return e.some(t=>as(t)?!(t.type===D1||t.type===Se&&!Lc(t.children)):!0)?e:null}function Y0(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:L2(n)]=e[n];return r}const G0=e=>e?Rc(e)?ul(e)||e.proxy:G0(e.parent):null,hi=jt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>G0(e.parent),$root:e=>G0(e.root),$emit:e=>e.emit,$options:e=>$5(e),$forceUpdate:e=>e.f||(e.f=()=>P5(e.update)),$nextTick:e=>e.n||(e.n=Nt.bind(e.proxy)),$watch:e=>Hv.bind(e)}),Zl=(e,t)=>e!==Et&&!e.__isScriptSetup&&pt(e,t),zv={get({_:e},t){const{ctx:r,setupState:n,data:o,props:a,accessCache:i,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return a[t]}else{if(Zl(n,t))return i[t]=1,n[t];if(o!==Et&&pt(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&pt(u,t))return i[t]=3,a[t];if(r!==Et&&pt(r,t))return i[t]=4,r[t];K0&&(i[t]=0)}}const c=hi[t];let d,f;if(c)return t==="$attrs"&&S1(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(r!==Et&&pt(r,t))return i[t]=4,r[t];if(f=l.config.globalProperties,pt(f,t))return f[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:a}=e;return Zl(o,t)?(o[t]=r,!0):n!==Et&&pt(n,t)?(n[t]=r,!0):pt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:a}},i){let s;return!!r[i]||e!==Et&&pt(e,i)||Zl(t,i)||(s=a[0])&&pt(s,i)||pt(n,i)||pt(hi,i)||pt(o.config.globalProperties,i)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:pt(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function Rt(){return Ac().slots}function ar(){return Ac().attrs}function Ac(){const e=Ki();return e.setupContext||(e.setupContext=zc(e))}function f3(e){return Ge(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let K0=!0;function Fv(e){const t=$5(e),r=e.proxy,n=e.ctx;K0=!1,t.beforeCreate&&p3(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:p,updated:m,activated:b,deactivated:C,beforeDestroy:g,beforeUnmount:w,destroyed:y,unmounted:M,render:E,renderTracked:z,renderTriggered:O,errorCaptured:R,serverPrefetch:F,expose:H,inheritAttrs:V,components:A,directives:Y,filters:X}=t;if(u&&Uv(u,n,null),i)for(const ee in i){const le=i[ee];tt(le)&&(n[ee]=le.bind(r))}if(o){const ee=o.call(r,r);kt(ee)&&(e.data=or(ee))}if(K0=!0,a)for(const ee in a){const le=a[ee],we=tt(le)?le.bind(r,r):tt(le.get)?le.get.bind(r,r):J1,oe=!tt(le)&&tt(le.set)?le.set.bind(r):J1,Ee=_({get:we,set:oe});Object.defineProperty(n,ee,{enumerable:!0,configurable:!0,get:()=>Ee.value,set:be=>Ee.value=be})}if(s)for(const ee in s)Hc(s[ee],n,r,ee);if(l){const ee=tt(l)?l.call(r):l;Reflect.ownKeys(ee).forEach(le=>{er(le,ee[le])})}c&&p3(c,e,"c");function K(ee,le){Ge(le)?le.forEach(we=>ee(we.bind(r))):le&&ee(le.bind(r))}if(K(Iv,d),K(Ct,f),K(Pv,p),K(Ec,m),K(Dv,b),K(Ov,C),K($v,R),K(Rv,z),K(Zv,O),K(Qr,w),K(n1,M),K(Nv,F),Ge(H))if(H.length){const ee=e.exposed||(e.exposed={});H.forEach(le=>{Object.defineProperty(ee,le,{get:()=>r[le],set:we=>r[le]=we})})}else e.exposed||(e.exposed={});E&&e.render===J1&&(e.render=E),V!=null&&(e.inheritAttrs=V),A&&(e.components=A),Y&&(e.directives=Y)}function Uv(e,t,r=J1){Ge(e)&&(e=q0(e));for(const n in e){const o=e[n];let a;kt(o)?"default"in o?a=qt(o.from||n,o.default,!0):a=qt(o.from||n):a=qt(o),Pt(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[n]=a}}function p3(e,t,r){F1(Ge(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Hc(e,t,r,n){const o=n.includes(".")?_c(r,n):()=>r[n];if(Zt(e)){const a=t[e];tt(a)&&Le(o,a)}else if(tt(e))Le(o,e.bind(r));else if(kt(e))if(Ge(e))e.forEach(a=>Hc(a,t,r,n));else{const a=tt(e.handler)?e.handler.bind(r):t[e.handler];tt(a)&&Le(o,a,e)}}function $5(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,s=a.get(t);let l;return s?l=s:!o.length&&!r&&!n?l=t:(l={},o.length&&o.forEach(u=>ns(l,u,i,!0)),ns(l,t,i)),kt(t)&&a.set(t,l),l}function ns(e,t,r,n=!1){const{mixins:o,extends:a}=t;a&&ns(e,a,r,!0),o&&o.forEach(i=>ns(e,i,r,!0));for(const i in t)if(!(n&&i==="expose")){const s=jv[i]||r&&r[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const jv={data:h3,props:v3,emits:v3,methods:ei,computed:ei,beforeCreate:u1,created:u1,beforeMount:u1,mounted:u1,beforeUpdate:u1,updated:u1,beforeDestroy:u1,beforeUnmount:u1,destroyed:u1,unmounted:u1,activated:u1,deactivated:u1,errorCaptured:u1,serverPrefetch:u1,components:ei,directives:ei,watch:Gv,provide:h3,inject:Yv};function h3(e,t){return t?e?function(){return jt(tt(e)?e.call(this,this):e,tt(t)?t.call(this,this):t)}:t:e}function Yv(e,t){return ei(q0(e),q0(t))}function q0(e){if(Ge(e)){const t={};for(let r=0;r1)return r&&tt(t)?t.call(n&&n.proxy):t}}function Wv(e,t,r,n=!1){const o={},a={};J2(a,ll,1),e.propsDefaults=Object.create(null),Tc(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);r?e.props=n?o:ic(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function Qv(e,t,r,n){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=dt(o),[l]=e.propsOptions;let u=!1;if((n||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,p]=Dc(d,t,!0);jt(i,f),p&&s.push(...p)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return kt(e)&&n.set(e,Fo),Fo;if(Ge(a))for(let c=0;c-1,p[1]=b<0||m-1||pt(p,"default"))&&s.push(d)}}}const u=[i,s];return kt(e)&&n.set(e,u),u}function m3(e){return e[0]!=="$"}function g3(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function C3(e,t){return g3(e)===g3(t)}function y3(e,t){return Ge(t)?t.findIndex(r=>C3(r,e)):tt(t)&&C3(t,e)?0:-1}const Oc=e=>e[0]==="_"||e==="$stable",z5=e=>Ge(e)?e.map(mr):[mr(e)],Xv=(e,t,r)=>{if(t._n)return t;const n=B((...o)=>z5(t(...o)),r);return n._c=!1,n},Vc=(e,t,r)=>{const n=e._ctx;for(const o in e){if(Oc(o))continue;const a=e[o];if(tt(a))t[o]=Xv(o,a,n);else if(a!=null){const i=z5(a);t[o]=()=>i}}},Ic=(e,t)=>{const r=z5(t);e.slots.default=()=>r},Jv=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=dt(t),J2(t,"_",r)):Vc(t,e.slots={})}else e.slots={},t&&Ic(e,t);J2(e.slots,ll,1)},em=(e,t,r)=>{const{vnode:n,slots:o}=e;let a=!0,i=Et;if(n.shapeFlag&32){const s=t._;s?r&&s===1?a=!1:(jt(o,t),!r&&s===1&&delete o._):(a=!t.$stable,Vc(t,o)),i=t}else t&&(Ic(e,t),i={default:1});if(a)for(const s in o)!Oc(s)&&i[s]==null&&delete o[s]};function Q0(e,t,r,n,o=!1){if(Ge(e)){e.forEach((f,p)=>Q0(f,t&&(Ge(t)?t[p]:t),r,n,o));return}if(pi(n)&&!o)return;const a=n.shapeFlag&4?ul(n.component)||n.component.proxy:n.el,i=o?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===Et?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Zt(u)?(c[u]=null,pt(d,u)&&(d[u]=null)):Pt(u)&&(u.value=null)),tt(l))Sn(l,s,12,[i,c]);else{const f=Zt(l),p=Pt(l);if(f||p){const m=()=>{if(e.f){const b=f?pt(d,l)?d[l]:c[l]:l.value;o?Ge(b)&&L5(b,a):Ge(b)?b.includes(a)||b.push(a):f?(c[l]=[a],pt(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else f?(c[l]=i,pt(d,l)&&(d[l]=i)):p&&(l.value=i,e.k&&(c[e.k]=i))};i?(m.id=-1,w1(m,r)):m()}}}const w1=Lv;function tm(e){return rm(e)}function rm(e,t){const r=$0();r.__VUE__=!0;const{insert:n,remove:o,patchProp:a,createElement:i,createText:s,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:p=J1,insertStaticContent:m}=e,b=(k,L,I,j=null,G=null,ae=null,Ce=!1,se=null,ye=!!L.dynamicChildren)=>{if(k===L)return;k&&!jn(k,L)&&(j=Q(k),be(k,G,ae,!0),k=null),L.patchFlag===-2&&(ye=!1,L.dynamicChildren=null);const{type:ce,ref:Te,shapeFlag:Me}=L;switch(ce){case sl:C(k,L,I,j);break;case D1:g(k,L,I,j);break;case vi:k==null&&w(L,I,j,Ce);break;case Se:A(k,L,I,j,G,ae,Ce,se,ye);break;default:Me&1?E(k,L,I,j,G,ae,Ce,se,ye):Me&6?Y(k,L,I,j,G,ae,Ce,se,ye):(Me&64||Me&128)&&ce.process(k,L,I,j,G,ae,Ce,se,ye,ve)}Te!=null&&G&&Q0(Te,k&&k.ref,ae,L||k,!L)},C=(k,L,I,j)=>{if(k==null)n(L.el=s(L.children),I,j);else{const G=L.el=k.el;L.children!==k.children&&u(G,L.children)}},g=(k,L,I,j)=>{k==null?n(L.el=l(L.children||""),I,j):L.el=k.el},w=(k,L,I,j)=>{[k.el,k.anchor]=m(k.children,L,I,j,k.el,k.anchor)},y=({el:k,anchor:L},I,j)=>{let G;for(;k&&k!==L;)G=f(k),n(k,I,j),k=G;n(L,I,j)},M=({el:k,anchor:L})=>{let I;for(;k&&k!==L;)I=f(k),o(k),k=I;o(L)},E=(k,L,I,j,G,ae,Ce,se,ye)=>{Ce=Ce||L.type==="svg",k==null?z(L,I,j,G,ae,Ce,se,ye):F(k,L,G,ae,Ce,se,ye)},z=(k,L,I,j,G,ae,Ce,se)=>{let ye,ce;const{type:Te,props:Me,shapeFlag:He,transition:Ze,dirs:Ke}=k;if(ye=k.el=i(k.type,ae,Me&&Me.is,Me),He&8?c(ye,k.children):He&16&&R(k.children,ye,null,j,G,ae&&Te!=="foreignObject",Ce,se),Ke&&Dn(k,null,j,"created"),O(ye,k,k.scopeId,Ce,j),Me){for(const fe in Me)fe!=="value"&&!E2(fe)&&a(ye,fe,null,Me[fe],ae,k.children,j,G,De);"value"in Me&&a(ye,"value",null,Me.value),(ce=Me.onVnodeBeforeMount)&&ur(ce,j,k)}Ke&&Dn(k,null,j,"beforeMount");const nt=nm(G,Ze);nt&&Ze.beforeEnter(ye),n(ye,L,I),((ce=Me&&Me.onVnodeMounted)||nt||Ke)&&w1(()=>{ce&&ur(ce,j,k),nt&&Ze.enter(ye),Ke&&Dn(k,null,j,"mounted")},G)},O=(k,L,I,j,G)=>{if(I&&p(k,I),j)for(let ae=0;ae{for(let ce=ye;ce{const se=L.el=k.el;let{patchFlag:ye,dynamicChildren:ce,dirs:Te}=L;ye|=k.patchFlag&16;const Me=k.props||Et,He=L.props||Et;let Ze;I&&On(I,!1),(Ze=He.onVnodeBeforeUpdate)&&ur(Ze,I,L,k),Te&&Dn(L,k,I,"beforeUpdate"),I&&On(I,!0);const Ke=G&&L.type!=="foreignObject";if(ce?H(k.dynamicChildren,ce,se,I,j,Ke,ae):Ce||le(k,L,se,null,I,j,Ke,ae,!1),ye>0){if(ye&16)V(se,L,Me,He,I,j,G);else if(ye&2&&Me.class!==He.class&&a(se,"class",null,He.class,G),ye&4&&a(se,"style",Me.style,He.style,G),ye&8){const nt=L.dynamicProps;for(let fe=0;fe{Ze&&ur(Ze,I,L,k),Te&&Dn(L,k,I,"updated")},j)},H=(k,L,I,j,G,ae,Ce)=>{for(let se=0;se{if(I!==j){if(I!==Et)for(const se in I)!E2(se)&&!(se in j)&&a(k,se,I[se],null,Ce,L.children,G,ae,De);for(const se in j){if(E2(se))continue;const ye=j[se],ce=I[se];ye!==ce&&se!=="value"&&a(k,se,ce,ye,Ce,L.children,G,ae,De)}"value"in j&&a(k,"value",I.value,j.value)}},A=(k,L,I,j,G,ae,Ce,se,ye)=>{const ce=L.el=k?k.el:s(""),Te=L.anchor=k?k.anchor:s("");let{patchFlag:Me,dynamicChildren:He,slotScopeIds:Ze}=L;Ze&&(se=se?se.concat(Ze):Ze),k==null?(n(ce,I,j),n(Te,I,j),R(L.children,I,Te,G,ae,Ce,se,ye)):Me>0&&Me&64&&He&&k.dynamicChildren?(H(k.dynamicChildren,He,I,G,ae,Ce,se),(L.key!=null||G&&L===G.subTree)&&Pc(k,L,!0)):le(k,L,I,Te,G,ae,Ce,se,ye)},Y=(k,L,I,j,G,ae,Ce,se,ye)=>{L.slotScopeIds=se,k==null?L.shapeFlag&512?G.ctx.activate(L,I,j,Ce,ye):X(L,I,j,G,ae,Ce,ye):Z(k,L,ye)},X=(k,L,I,j,G,ae,Ce)=>{const se=k.component=cm(k,j,G);if(al(k)&&(se.ctx.renderer=ve),dm(se),se.asyncDep){if(G&&G.registerDep(se,K),!k.el){const ye=se.subTree=$(D1);g(null,ye,L,I)}return}K(se,k,L,I,G,ae,Ce)},Z=(k,L,I)=>{const j=L.component=k.component;if(kv(k,L,I))if(j.asyncDep&&!j.asyncResolved){ee(j,L,I);return}else j.next=L,gv(j.update),j.update();else L.el=k.el,j.vnode=L},K=(k,L,I,j,G,ae,Ce)=>{const se=()=>{if(k.isMounted){let{next:Te,bu:Me,u:He,parent:Ze,vnode:Ke}=k,nt=Te,fe;On(k,!1),Te?(Te.el=Ke.el,ee(k,Te,Ce)):Te=Ke,Me&&A2(Me),(fe=Te.props&&Te.props.onVnodeBeforeUpdate)&&ur(fe,Ze,Te,Ke),On(k,!0);const Pe=Pl(k),Oe=k.subTree;k.subTree=Pe,b(Oe,Pe,d(Oe.el),Q(Oe),k,G,ae),Te.el=Pe.el,nt===null&&xv(k,Pe.el),He&&w1(He,G),(fe=Te.props&&Te.props.onVnodeUpdated)&&w1(()=>ur(fe,Ze,Te,Ke),G)}else{let Te;const{el:Me,props:He}=L,{bm:Ze,m:Ke,parent:nt}=k,fe=pi(L);if(On(k,!1),Ze&&A2(Ze),!fe&&(Te=He&&He.onVnodeBeforeMount)&&ur(Te,nt,L),On(k,!0),Me&&me){const Pe=()=>{k.subTree=Pl(k),me(Me,k.subTree,k,G,null)};fe?L.type.__asyncLoader().then(()=>!k.isUnmounted&&Pe()):Pe()}else{const Pe=k.subTree=Pl(k);b(null,Pe,I,j,k,G,ae),L.el=Pe.el}if(Ke&&w1(Ke,G),!fe&&(Te=He&&He.onVnodeMounted)){const Pe=L;w1(()=>ur(Te,nt,Pe),G)}(L.shapeFlag&256||nt&&pi(nt.vnode)&&nt.vnode.shapeFlag&256)&&k.a&&w1(k.a,G),k.isMounted=!0,L=I=j=null}},ye=k.effect=new B5(se,()=>P5(ce),k.scope),ce=k.update=()=>ye.run();ce.id=k.uid,On(k,!0),ce()},ee=(k,L,I)=>{L.component=k;const j=k.vnode.props;k.vnode=L,k.next=null,Qv(k,L.props,j,I),em(k,L.children,I),Sa(),l3(k),Ea()},le=(k,L,I,j,G,ae,Ce,se,ye=!1)=>{const ce=k&&k.children,Te=k?k.shapeFlag:0,Me=L.children,{patchFlag:He,shapeFlag:Ze}=L;if(He>0){if(He&128){oe(ce,Me,I,j,G,ae,Ce,se,ye);return}else if(He&256){we(ce,Me,I,j,G,ae,Ce,se,ye);return}}Ze&8?(Te&16&&De(ce,G,ae),Me!==ce&&c(I,Me)):Te&16?Ze&16?oe(ce,Me,I,j,G,ae,Ce,se,ye):De(ce,G,ae,!0):(Te&8&&c(I,""),Ze&16&&R(Me,I,j,G,ae,Ce,se,ye))},we=(k,L,I,j,G,ae,Ce,se,ye)=>{k=k||Fo,L=L||Fo;const ce=k.length,Te=L.length,Me=Math.min(ce,Te);let He;for(He=0;HeTe?De(k,G,ae,!0,!1,Me):R(L,I,j,G,ae,Ce,se,ye,Me)},oe=(k,L,I,j,G,ae,Ce,se,ye)=>{let ce=0;const Te=L.length;let Me=k.length-1,He=Te-1;for(;ce<=Me&&ce<=He;){const Ze=k[ce],Ke=L[ce]=ye?gn(L[ce]):mr(L[ce]);if(jn(Ze,Ke))b(Ze,Ke,I,null,G,ae,Ce,se,ye);else break;ce++}for(;ce<=Me&&ce<=He;){const Ze=k[Me],Ke=L[He]=ye?gn(L[He]):mr(L[He]);if(jn(Ze,Ke))b(Ze,Ke,I,null,G,ae,Ce,se,ye);else break;Me--,He--}if(ce>Me){if(ce<=He){const Ze=He+1,Ke=ZeHe)for(;ce<=Me;)be(k[ce],G,ae,!0),ce++;else{const Ze=ce,Ke=ce,nt=new Map;for(ce=Ke;ce<=He;ce++){const Ae=L[ce]=ye?gn(L[ce]):mr(L[ce]);Ae.key!=null&&nt.set(Ae.key,ce)}let fe,Pe=0;const Oe=He-Ke+1;let Qe=!1,ge=0;const de=new Array(Oe);for(ce=0;ce=Oe){be(Ae,G,ae,!0);continue}let $e;if(Ae.key!=null)$e=nt.get(Ae.key);else for(fe=Ke;fe<=He;fe++)if(de[fe-Ke]===0&&jn(Ae,L[fe])){$e=fe;break}$e===void 0?be(Ae,G,ae,!0):(de[$e-Ke]=ce+1,$e>=ge?ge=$e:Qe=!0,b(Ae,L[$e],I,null,G,ae,Ce,se,ye),Pe++)}const Fe=Qe?om(de):Fo;for(fe=Fe.length-1,ce=Oe-1;ce>=0;ce--){const Ae=Ke+ce,$e=L[Ae],q=Ae+1{const{el:ae,type:Ce,transition:se,children:ye,shapeFlag:ce}=k;if(ce&6){Ee(k.component.subTree,L,I,j);return}if(ce&128){k.suspense.move(L,I,j);return}if(ce&64){Ce.move(k,L,I,ve);return}if(Ce===Se){n(ae,L,I);for(let Me=0;Mese.enter(ae),G);else{const{leave:Me,delayLeave:He,afterLeave:Ze}=se,Ke=()=>n(ae,L,I),nt=()=>{Me(ae,()=>{Ke(),Ze&&Ze()})};He?He(ae,Ke,nt):nt()}else n(ae,L,I)},be=(k,L,I,j=!1,G=!1)=>{const{type:ae,props:Ce,ref:se,children:ye,dynamicChildren:ce,shapeFlag:Te,patchFlag:Me,dirs:He}=k;if(se!=null&&Q0(se,null,I,k,!0),Te&256){L.ctx.deactivate(k);return}const Ze=Te&1&&He,Ke=!pi(k);let nt;if(Ke&&(nt=Ce&&Ce.onVnodeBeforeUnmount)&&ur(nt,L,k),Te&6)Ve(k.component,I,j);else{if(Te&128){k.suspense.unmount(I,j);return}Ze&&Dn(k,null,L,"beforeUnmount"),Te&64?k.type.remove(k,L,I,G,ve,j):ce&&(ae!==Se||Me>0&&Me&64)?De(ce,L,I,!1,!0):(ae===Se&&Me&384||!G&&Te&16)&&De(ye,L,I),j&&Ye(k)}(Ke&&(nt=Ce&&Ce.onVnodeUnmounted)||Ze)&&w1(()=>{nt&&ur(nt,L,k),Ze&&Dn(k,null,L,"unmounted")},I)},Ye=k=>{const{type:L,el:I,anchor:j,transition:G}=k;if(L===Se){ue(I,j);return}if(L===vi){M(k);return}const ae=()=>{o(I),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(k.shapeFlag&1&&G&&!G.persisted){const{leave:Ce,delayLeave:se}=G,ye=()=>Ce(I,ae);se?se(k.el,ae,ye):ye()}else ae()},ue=(k,L)=>{let I;for(;k!==L;)I=f(k),o(k),k=I;o(L)},Ve=(k,L,I)=>{const{bum:j,scope:G,update:ae,subTree:Ce,um:se}=k;j&&A2(j),G.stop(),ae&&(ae.active=!1,be(Ce,k,L,I)),se&&w1(se,L),w1(()=>{k.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&k.asyncDep&&!k.asyncResolved&&k.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},De=(k,L,I,j=!1,G=!1,ae=0)=>{for(let Ce=ae;Cek.shapeFlag&6?Q(k.component.subTree):k.shapeFlag&128?k.suspense.next():f(k.anchor||k.el),he=(k,L,I)=>{k==null?L._vnode&&be(L._vnode,null,null,!0):b(L._vnode||null,k,L,null,null,null,I),l3(),Cc(),L._vnode=k},ve={p:b,um:be,m:Ee,r:Ye,mt:X,mc:R,pc:le,pbc:H,n:Q,o:e};let ne,me;return t&&([ne,me]=t(ve)),{render:he,hydrate:ne,createApp:qv(he,ne)}}function On({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function nm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pc(e,t,r=!1){const n=e.children,o=t.children;if(Ge(n)&&Ge(o))for(let a=0;a>1,e[r[s]]0&&(t[n]=r[a-1]),r[a]=n)}}for(a=r.length,i=r[a-1];a-- >0;)r[a]=i,i=t[i];return r}const am=e=>e.__isTeleport,Se=Symbol.for("v-fgt"),sl=Symbol.for("v-txt"),D1=Symbol.for("v-cmt"),vi=Symbol.for("v-stc"),mi=[];let X1=null;function h(e=!1){mi.push(X1=e?null:[])}function im(){mi.pop(),X1=mi[mi.length-1]||null}let Oi=1;function b3(e){Oi+=e}function Nc(e){return e.dynamicChildren=Oi>0?X1||Fo:null,im(),Oi>0&&X1&&X1.push(e),e}function x(e,t,r,n,o,a){return Nc(v(e,t,r,n,o,a,!0))}function J(e,t,r,n,o){return Nc($(e,t,r,n,o,!0))}function as(e){return e?e.__v_isVNode===!0:!1}function jn(e,t){return e.type===t.type&&e.key===t.key}const ll="__vInternal",Zc=({key:e})=>e??null,B2=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Zt(e)||Pt(e)||tt(e)?{i:r1,r:e,k:t,f:!!r}:e:null);function v(e,t=null,r=null,n=0,o=null,a=e===Se?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zc(t),ref:t&&B2(t),scopeId:rl,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:r1};return s?(F5(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=Zt(r)?8:16),Oi>0&&!i&&X1&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&X1.push(l),l}const $=sm;function sm(e,t=null,r=null,n=0,o=null,a=!1){if((!e||e===wc)&&(e=D1),as(e)){const s=Ur(e,t,!0);return r&&F5(s,r),Oi>0&&!a&&X1&&(s.shapeFlag&6?X1[X1.indexOf(e)]=s:X1.push(s)),s.patchFlag|=-2,s}if(vm(e)&&(e=e.__vccOpts),t){t=is(t);let{class:s,style:l}=t;s&&!Zt(s)&&(t.class=ie(s)),kt(l)&&(lc(l)&&!Ge(l)&&(l=jt({},l)),t.style=ze(l))}const i=Zt(e)?1:Ev(e)?128:am(e)?64:kt(e)?4:tt(e)?2:0;return v(e,t,r,n,o,i,a,!0)}function is(e){return e?lc(e)||ll in e?jt({},e):e:null}function Ur(e,t,r=!1){const{props:n,ref:o,patchFlag:a,children:i}=e,s=t?it(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Zc(s),ref:t&&t.ref?r&&o?Ge(o)?o.concat(B2(t)):[o,B2(t)]:B2(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ur(e.ssContent),ssFallback:e.ssFallback&&Ur(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function S(e=" ",t=0){return $(sl,null,e,t)}function Gi(e,t){const r=$(vi,null,e);return r.staticCount=t,r}function P(e="",t=!1){return t?(h(),J(D1,null,e)):$(D1,null,e)}function mr(e){return e==null||typeof e=="boolean"?$(D1):Ge(e)?$(Se,null,e.slice()):typeof e=="object"?gn(e):$(sl,null,String(e))}function gn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ur(e)}function F5(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ge(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),F5(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(ll in t)?t._ctx=r1:o===3&&r1&&(r1.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else tt(t)?(t={default:t,_ctx:r1},r=32):(t=String(t),n&64?(r=16,t=[S(t)]):r=8);e.children=t,e.shapeFlag|=r}function it(...e){const t={};for(let r=0;rXt||r1;let U5,Mo,w3="__VUE_INSTANCE_SETTERS__";(Mo=$0()[w3])||(Mo=$0()[w3]=[]),Mo.push(e=>Xt=e),U5=e=>{Mo.length>1?Mo.forEach(t=>t(e)):Mo[0](e)};const ia=e=>{U5(e),e.scope.on()},to=()=>{Xt&&Xt.scope.off(),U5(null)};function Rc(e){return e.vnode.shapeFlag&4}let Vi=!1;function dm(e,t=!1){Vi=t;const{props:r,children:n}=e.vnode,o=Rc(e);Wv(e,r,o,t),Jv(e,n);const a=o?fm(e,t):void 0;return Vi=!1,a}function fm(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=uc(new Proxy(e.ctx,zv));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?zc(e):null;ia(e),Sa();const a=Sn(n,e,0,[e.props,o]);if(Ea(),to(),U8(a)){if(a.then(to,to),t)return a.then(i=>{_3(e,i,t)}).catch(i=>{el(i,e,0)});e.asyncDep=a}else _3(e,a,t)}else $c(e,t)}function _3(e,t,r){tt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:kt(t)&&(e.setupState=pc(t)),$c(e,r)}let k3;function $c(e,t,r){const n=e.type;if(!e.render){if(!t&&k3&&!n.render){const o=n.template||$5(e).template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,u=jt(jt({isCustomElement:a,delimiters:s},i),l);n.render=k3(o,u)}}e.render=n.render||J1}{ia(e),Sa();try{Fv(e)}finally{Ea(),to()}}}function pm(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return S1(e,"get","$attrs"),t[r]}}))}function zc(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return pm(e)},slots:e.slots,emit:e.emit,expose:t}}function ul(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(pc(uc(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in hi)return hi[r](e)},has(t,r){return r in t||r in hi}}))}function hm(e,t=!0){return tt(e)?e.displayName||e.name:e.name||t&&e.__name}function vm(e){return tt(e)&&"__vccOpts"in e}const _=(e,t)=>hv(e,t,Vi);function ao(e,t,r){const n=arguments.length;return n===2?kt(t)&&!Ge(t)?as(t)?$(e,null,[t]):$(e,t):$(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&as(r)&&(r=[r]),$(e,t,r))}const mm=Symbol.for("v-scx"),gm=()=>qt(mm),Cm="3.3.12",ym="http://www.w3.org/2000/svg",Yn=typeof document<"u"?document:null,x3=Yn&&Yn.createElement("template"),bm={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t?Yn.createElementNS(ym,e):Yn.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Yn.createTextNode(e),createComment:e=>Yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,a){const i=r?r.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===a||!(o=o.nextSibling)););else{x3.innerHTML=n?`${e}`:e;const s=x3.content;if(n){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[i?i.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},sn="transition",$a="animation",sa=Symbol("_vtc"),kr=(e,{slots:t})=>ao(Tv,Uc(e),t);kr.displayName="Transition";const Fc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},wm=kr.props=jt({},xc,Fc),Vn=(e,t=[])=>{Ge(e)?e.forEach(r=>r(...t)):e&&e(...t)},M3=e=>e?Ge(e)?e.some(t=>t.length>1):e.length>1:!1;function Uc(e){const t={};for(const A in e)A in Fc||(t[A]=e[A]);if(e.css===!1)return t;const{name:r="v",type:n,duration:o,enterFromClass:a=`${r}-enter-from`,enterActiveClass:i=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=a,appearActiveClass:u=i,appearToClass:c=s,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:f=`${r}-leave-active`,leaveToClass:p=`${r}-leave-to`}=e,m=_m(o),b=m&&m[0],C=m&&m[1],{onBeforeEnter:g,onEnter:w,onEnterCancelled:y,onLeave:M,onLeaveCancelled:E,onBeforeAppear:z=g,onAppear:O=w,onAppearCancelled:R=y}=t,F=(A,Y,X)=>{pn(A,Y?c:s),pn(A,Y?u:i),X&&X()},H=(A,Y)=>{A._isLeaving=!1,pn(A,d),pn(A,p),pn(A,f),Y&&Y()},V=A=>(Y,X)=>{const Z=A?O:w,K=()=>F(Y,A,X);Vn(Z,[Y,K]),S3(()=>{pn(Y,A?l:a),Or(Y,A?c:s),M3(Z)||E3(Y,n,b,K)})};return jt(t,{onBeforeEnter(A){Vn(g,[A]),Or(A,a),Or(A,i)},onBeforeAppear(A){Vn(z,[A]),Or(A,l),Or(A,u)},onEnter:V(!1),onAppear:V(!0),onLeave(A,Y){A._isLeaving=!0;const X=()=>H(A,Y);Or(A,d),Yc(),Or(A,f),S3(()=>{A._isLeaving&&(pn(A,d),Or(A,p),M3(M)||E3(A,n,C,X))}),Vn(M,[A,X])},onEnterCancelled(A){F(A,!1),Vn(y,[A])},onAppearCancelled(A){F(A,!0),Vn(R,[A])},onLeaveCancelled(A){H(A),Vn(E,[A])}})}function _m(e){if(e==null)return null;if(kt(e))return[Rl(e.enter),Rl(e.leave)];{const t=Rl(e);return[t,t]}}function Rl(e){return Bh(e)}function Or(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[sa]||(e[sa]=new Set)).add(t)}function pn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[sa];r&&(r.delete(t),r.size||(e[sa]=void 0))}function S3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let km=0;function E3(e,t,r,n){const o=e._endId=++km,a=()=>{o===e._endId&&n()};if(r)return setTimeout(a,r);const{type:i,timeout:s,propCount:l}=jc(e,t);if(!i)return n();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,f),a()},f=p=>{p.target===e&&++c>=l&&d()};setTimeout(()=>{c(r[m]||"").split(", "),o=n(`${sn}Delay`),a=n(`${sn}Duration`),i=L3(o,a),s=n(`${$a}Delay`),l=n(`${$a}Duration`),u=L3(s,l);let c=null,d=0,f=0;t===sn?i>0&&(c=sn,d=i,f=a.length):t===$a?u>0&&(c=$a,d=u,f=l.length):(d=Math.max(i,u),c=d>0?i>u?sn:$a:null,f=c?c===sn?a.length:l.length:0);const p=c===sn&&/\b(transform|all)(,|$)/.test(n(`${sn}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:p}}function L3(e,t){for(;e.lengthA3(r)+A3(e[n])))}function A3(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Yc(){return document.body.offsetHeight}function xm(e,t,r){const n=e[sa];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const j5=Symbol("_vod"),X0={beforeMount(e,{value:t},{transition:r}){e[j5]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):za(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),za(e,!0),n.enter(e)):n.leave(e,()=>{za(e,!1)}):za(e,t))},beforeUnmount(e,{value:t}){za(e,t)}};function za(e,t){e.style.display=t?e[j5]:"none"}const Gc=Symbol("");function Xr(e){const t=Ki();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>e6(a,o))},n=()=>{const o=e(t.proxy);J0(t.subTree,o),r(o)};Av(n),Ct(()=>{const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),n1(()=>o.disconnect())})}function J0(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{J0(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)e6(e.el,t);else if(e.type===Se)e.children.forEach(r=>J0(r,t));else if(e.type===vi){let{el:r,anchor:n}=e;for(;r&&(e6(r,t),r!==n);)r=r.nextSibling}}function e6(e,t){if(e.nodeType===1){const r=e.style;let n="";for(const o in t)r.setProperty(`--${o}`,t[o]),n+=`--${o}: ${t[o]};`;r[Gc]=n}}function Mm(e,t,r){const n=e.style,o=Zt(r);if(r&&!o){if(t&&!Zt(t))for(const a in t)r[a]==null&&t6(n,a,"");for(const a in r)t6(n,a,r[a])}else{const a=n.display;if(o){if(t!==r){const i=n[Gc];i&&(r+=";"+i),n.cssText=r}}else t&&e.removeAttribute("style");j5 in e&&(n.display=a)}}const H3=/\s*!important$/;function t6(e,t,r){if(Ge(r))r.forEach(n=>t6(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=Sm(e,t);H3.test(r)?e.setProperty(po(n),r.replace(H3,""),"important"):e[n]=r}}const B3=["Webkit","Moz","ms"],$l={};function Sm(e,t){const r=$l[t];if(r)return r;let n=_r(t);if(n!=="filter"&&n in e)return $l[t]=n;n=Xs(n);for(let o=0;ozl||(Tm.then(()=>zl=0),zl=Date.now());function Om(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;F1(Vm(n,r.value),t,5,[n])};return r.value=e,r.attached=Dm(),r}function Vm(e,t){if(Ge(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const V3=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Im=(e,t,r,n,o=!1,a,i,s,l)=>{t==="class"?xm(e,n,o):t==="style"?Mm(e,r,n):qs(t)?E5(t)||Hm(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Pm(e,t,n,o))?Lm(e,t,n,a,i,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Em(e,t,n,o))};function Pm(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&V3(t)&&tt(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return V3(t)&&Zt(r)?!1:t in e}const Kc=new WeakMap,qc=new WeakMap,ss=Symbol("_moveCb"),I3=Symbol("_enterCb"),Wc={name:"TransitionGroup",props:jt({},wm,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Ki(),n=kc();let o,a;return Ec(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Fm(o[0].el,r.vnode.el,i))return;o.forEach(Rm),o.forEach($m);const s=o.filter(zm);Yc(),s.forEach(l=>{const u=l.el,c=u.style;Or(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[ss]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u[ss]=null,pn(u,i))};u.addEventListener("transitionend",d)})}),()=>{const i=dt(e),s=Uc(i);let l=i.tag||Se;o=a,a=t.default?R5(t.default()):[];for(let u=0;udelete e.mode;Wc.props;const Zm=Wc;function Rm(e){const t=e.el;t[ss]&&t[ss](),t[I3]&&t[I3]()}function $m(e){qc.set(e,e.el.getBoundingClientRect())}function zm(e){const t=Kc.get(e),r=qc.get(e),n=t.left-r.left,o=t.top-r.top;if(n||o){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${n}px,${o}px)`,a.transitionDuration="0s",e}}function Fm(e,t,r){const n=e.cloneNode(),o=e[sa];o&&o.forEach(s=>{s.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),r.split(/\s+/).forEach(s=>s&&n.classList.add(s)),n.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(n);const{hasTransform:i}=jc(n);return a.removeChild(n),i}const P3=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ge(t)?r=>A2(t,r):t};function Um(e){e.target.composing=!0}function N3(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Fl=Symbol("_assign"),jm={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[Fl]=P3(o);const a=n||o.props&&o.props.type==="number";To(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;r&&(s=s.trim()),a&&(s=R0(s)),e[Fl](s)}),r&&To(e,"change",()=>{e.value=e.value.trim()}),t||(To(e,"compositionstart",Um),To(e,"compositionend",N3),To(e,"change",N3))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},a){if(e[Fl]=P3(a),e.composing)return;const i=o||e.type==="number"?R0(e.value):e.value,s=t??"";i!==s&&(document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===s)||(e.value=s))}},Ym=["ctrl","shift","alt","meta"],Gm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ym.some(r=>e[`${r}Key`]&&!t.includes(r))},vt=(e,t)=>e._withMods||(e._withMods=(r,...n)=>{for(let o=0;oe._withKeys||(e._withKeys=r=>{if(!("key"in r))return;const n=po(r.key);if(t.some(o=>o===n||Km[o]===n))return e(r)}),qm=jt({patchProp:Im},bm);let Z3;function Wm(){return Z3||(Z3=tm(qm))}const Qc=(...e)=>{const t=Wm().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=Qm(n);if(!o)return;const a=t._component;!tt(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.innerHTML="";const i=r(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function Qm(e){return Zt(e)?document.querySelector(e):e}const Xm=""+new URL("icon-location-on-642f061f.svg",import.meta.url).href,Jm=""+new URL("icon-circles-ext-6b19ab51.svg",import.meta.url).href,Xc=""+new URL("icon-wifi-tethering-02725ea9.svg",import.meta.url).href;var r6=function(e,t){return r6=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},r6(e,t)};function ir(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r6(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ue=function(){return Ue=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0}),r=[],n=0,o=t;n1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(lg,function(l,u,c,d,f,p){if(u)t.minimumIntegerDigits=c.length;else{if(d&&f)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(l9.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if($3.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace($3,function(l,u,c,d,f,p){return c==="*"?t.minimumFractionDigits=u.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:f&&p?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+p.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=o.options[0];a==="w"?t=Ue(Ue({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Ue(Ue({},t),z3(a)));continue}if(s9.test(o.stem)){t=Ue(Ue({},t),z3(o.stem));continue}var i=u9(o.stem);i&&(t=Ue(Ue({},t),i));var s=ug(o.stem);s&&(t=Ue(Ue({},t),s))}return t}var f2={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function dg(e,t){for(var r="",n=0;n>1),l="a",u=fg(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)r+=l;for(;i-- >0;)r=u+r}else o==="J"?r+="H":r+=o}return r}function fg(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var o=f2[n||""]||f2[r||""]||f2["".concat(r,"-001")]||f2["001"];return o[0]}var Ul,pg=new RegExp("^".concat(i9.source,"*")),hg=new RegExp("".concat(i9.source,"*$"));function ct(e,t){return{start:e,end:t}}var vg=!!String.prototype.startsWith&&"_a".startsWith("a",1),mg=!!String.fromCodePoint,gg=!!Object.fromEntries,Cg=!!String.prototype.codePointAt,yg=!!String.prototype.trimStart,bg=!!String.prototype.trimEnd,wg=!!Number.isSafeInteger,_g=wg?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},o6=!0;try{var kg=d9("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");o6=((Ul=kg.exec("a"))===null||Ul===void 0?void 0:Ul[0])==="a"}catch{o6=!1}var U3=vg?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},a6=mg?String.fromCodePoint:function(){for(var e=[],t=0;to;){if(a=e[o++],a>1114111)throw RangeError(a+" is not a valid code point");r+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return r},j3=gg?Object.fromEntries:function(e){for(var t={},r=0,n=e;r=r)){var n=e.charCodeAt(t),o;return n<55296||n>56319||t+1===r||(o=e.charCodeAt(t+1))<56320||o>57343?n:(n-55296<<10)+(o-56320)+65536}},xg=yg?function(e){return e.trimStart()}:function(e){return e.replace(pg,"")},Mg=bg?function(e){return e.trimEnd()}:function(e){return e.replace(hg,"")};function d9(e,t){return new RegExp(e,t)}var i6;if(o6){var Y3=d9("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");i6=function(e,t){var r;Y3.lastIndex=t;var n=Y3.exec(e);return(r=n[1])!==null&&r!==void 0?r:""}}else i6=function(e,t){for(var r=[];;){var n=c9(e,t);if(n===void 0||f9(n)||Ag(n))break;r.push(n),t+=n>=65536?2:1}return a6.apply(void 0,r)};var Sg=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var o=[];!this.isEOF();){var a=this.char();if(a===123){var i=this.parseArgument(t,n);if(i.err)return i;o.push(i.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),o.push({type:St.pound,location:ct(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(lt.UNMATCHED_CLOSING_TAG,ct(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&s6(this.peek()||0)){var i=this.parseTag(t,r);if(i.err)return i;o.push(i.val)}else{var i=this.parseLiteral(t,r);if(i.err)return i;o.push(i.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:St.literal,value:"<".concat(o,"/>"),location:ct(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var i=a.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:St.tag,value:o,children:i,location:ct(n,this.clonePosition())},err:null}:this.error(lt.INVALID_TAG,ct(s,this.clonePosition())))}else return this.error(lt.UNCLOSED_TAG,ct(n,this.clonePosition()))}else return this.error(lt.INVALID_TAG,ct(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Lg(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),o="";;){var a=this.tryParseQuote(r);if(a){o+=a;continue}var i=this.tryParseUnquoted(t,r);if(i){o+=i;continue}var s=this.tryParseLeftAngleBracket();if(s){o+=s;continue}break}var l=ct(n,this.clonePosition());return{val:{type:St.literal,value:o,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Eg(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return a6.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),a6(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(lt.EXPECT_ARGUMENT_CLOSING_BRACE,ct(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(lt.EMPTY_ARGUMENT,ct(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(lt.MALFORMED_ARGUMENT,ct(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(lt.EXPECT_ARGUMENT_CLOSING_BRACE,ct(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:St.argument,value:o,location:ct(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(lt.EXPECT_ARGUMENT_CLOSING_BRACE,ct(n,this.clonePosition())):this.parseArgumentOptions(t,r,o,n);default:return this.error(lt.MALFORMED_ARGUMENT,ct(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=i6(this.message,r),o=r+n.length;this.bumpTo(o);var a=this.clonePosition(),i=ct(t,a);return{value:n,location:i}},e.prototype.parseArgumentOptions=function(t,r,n,o){var a,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(lt.EXPECT_ARGUMENT_TYPE,ct(i,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var f=Mg(d.val);if(f.length===0)return this.error(lt.EXPECT_ARGUMENT_STYLE,ct(this.clonePosition(),this.clonePosition()));var p=ct(c,this.clonePosition());u={style:f,styleLocation:p}}var m=this.tryParseArgumentClose(o);if(m.err)return m;var b=ct(o,this.clonePosition());if(u&&U3(u==null?void 0:u.style,"::",0)){var C=xg(u.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(C,u.styleLocation);return d.err?d:{val:{type:St.number,value:n,location:b,style:d.val},err:null}}else{if(C.length===0)return this.error(lt.EXPECT_DATE_TIME_SKELETON,b);var g=C;this.locale&&(g=dg(C,this.locale));var f={type:la.dateTime,pattern:g,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?og(g):{}},w=s==="date"?St.date:St.time;return{val:{type:w,value:n,location:b,style:f},err:null}}}return{val:{type:s==="number"?St.number:s==="date"?St.date:St.time,value:n,location:b,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(lt.EXPECT_SELECT_ARGUMENT_OPTIONS,ct(y,Ue({},y)));this.bumpSpace();var M=this.parseIdentifierIfPossible(),E=0;if(s!=="select"&&M.value==="offset"){if(!this.bumpIf(":"))return this.error(lt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ct(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(lt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,lt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),M=this.parseIdentifierIfPossible(),E=d.val}var z=this.tryParsePluralOrSelectOptions(t,s,r,M);if(z.err)return z;var m=this.tryParseArgumentClose(o);if(m.err)return m;var O=ct(o,this.clonePosition());return s==="select"?{val:{type:St.select,value:n,options:j3(z.val),location:O},err:null}:{val:{type:St.plural,value:n,options:j3(z.val),offset:E,pluralType:s==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(lt.INVALID_ARGUMENT_TYPE,ct(i,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(lt.EXPECT_ARGUMENT_CLOSING_BRACE,ct(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(lt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ct(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=ig(t)}catch{return this.error(lt.INVALID_NUMBER_SKELETON,r)}return{val:{type:la.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?cg(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,o){for(var a,i=!1,s=[],l=new Set,u=o.value,c=o.location;;){if(u.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(lt.EXPECT_PLURAL_ARGUMENT_SELECTOR,lt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=ct(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?lt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:lt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(i=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?lt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:lt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ct(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(t+1,r,n);if(m.err)return m;var b=this.tryParseArgumentClose(p);if(b.err)return b;s.push([u,{value:m.val,location:ct(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,c=a.location}return s.length===0?this.error(r==="select"?lt.EXPECT_SELECT_ARGUMENT_SELECTOR:lt.EXPECT_PLURAL_ARGUMENT_SELECTOR,ct(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(lt.MISSING_OTHER_CLAUSE,ct(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,i=i*10+(s-48),this.bump();else break}var l=ct(o,this.clonePosition());return a?(i*=n,_g(i)?{val:i,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=c9(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(U3(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&f9(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function s6(e){return e>=97&&e<=122||e>=65&&e<=90}function Eg(e){return s6(e)||e===47}function Lg(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function f9(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ag(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function l6(e){e.forEach(function(t){if(delete t.location,r9(t)||n9(t))for(var r in t.options)delete t.options[r].location,l6(t.options[r].value);else Jc(t)&&a9(t.style)||(e9(t)||t9(t))&&n6(t.style)?delete t.style.location:o9(t)&&l6(t.children)})}function Hg(e,t){t===void 0&&(t={}),t=Ue({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Sg(e,t).parse();if(r.err){var n=SyntaxError(lt[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||l6(r.val),r.val}function dr(e,t){var r=t&&t.cache?t.cache:Ig,n=t&&t.serializer?t.serializer:Vg,o=t&&t.strategy?t.strategy:Tg;return o(e,{cache:r,serializer:n})}function Bg(e){return e==null||typeof e=="number"||typeof e=="boolean"}function p9(e,t,r,n){var o=Bg(n)?n:r(n),a=t.get(o);return typeof a>"u"&&(a=e.call(this,n),t.set(o,a)),a}function h9(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),a=t.get(o);return typeof a>"u"&&(a=e.apply(this,n),t.set(o,a)),a}function Y5(e,t,r,n,o){return r.bind(t,e,n,o)}function Tg(e,t){var r=e.length===1?p9:h9;return Y5(e,this,r,t.cache.create(),t.serializer)}function Dg(e,t){return Y5(e,this,h9,t.cache.create(),t.serializer)}function Og(e,t){return Y5(e,this,p9,t.cache.create(),t.serializer)}var Vg=function(){return JSON.stringify(arguments)};function G5(){this.cache=Object.create(null)}G5.prototype.get=function(e){return this.cache[e]};G5.prototype.set=function(e,t){this.cache[e]=t};var Ig={create:function(){return new G5}},fr={variadic:Dg,monadic:Og},xr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(xr||(xr={}));var Hn=function(e){ir(t,e);function t(r,n,o){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=o,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),G3=function(e){ir(t,e);function t(r,n,o,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),xr.INVALID_VALUE,a)||this}return t}(Hn),Pg=function(e){ir(t,e);function t(r,n,o){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),xr.INVALID_VALUE,o)||this}return t}(Hn),Ng=function(e){ir(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),xr.MISSING_VALUE,n)||this}return t}(Hn),f1;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(f1||(f1={}));function Zg(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==f1.literal||r.type!==f1.literal?t.push(r):n.value+=r.value,t},[])}function Rg(e){return typeof e=="function"}function T2(e,t,r,n,o,a,i){if(e.length===1&&R3(e[0]))return[{type:f1.literal,value:e[0].value}];for(var s=[],l=0,u=e;lt in e?mh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var gt=(e,t,r)=>(gh(e,typeof t!="symbol"?t+"":t,r),r),Vl=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var pe=(e,t,r)=>(Vl(e,t,"read from private field"),r?r.call(e):t.get(e)),st=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Wt=(e,t,r,n)=>(Vl(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var xe=(e,t,r)=>(Vl(e,t,"access private method"),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const Ch="modulepreload",yh=function(e,t){return e[0]==="."?new URL(e,t).href:e},J7={},Be=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=yh(a,n),a in J7)return;J7[a]=!0;const i=a.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!n)for(let c=o.length-1;c>=0;c--){const d=o[c];if(d.href===a&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":Ch,i||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),i)return new Promise((c,d)=>{u.addEventListener("load",c),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})};const bh=e=>({"use kubernetes":t=>e("KUMA_ENVIRONMENT")==="kubernetes","use state":t=>e("KUMA_STORE_TYPE")!=="memory"}),wh=()=>[{path:"/",name:"home",component:()=>Be(()=>import("./ControlPlaneDetailView-91e97c80.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./AppCollection-6359d3b1.css","./StatusBadge-8194fcb8.css","./ControlPlaneDetailView-d2b77b9d.css"],import.meta.url)}],_h={fromObject(e){return e}},kh={fromObject(e){return e}},xh=(e,t)=>{const r=e.split("."),n=t.split(".");for(let o=0;o<3;o++){const a=Number(r[o]),i=Number(n[o]);if(a>i)return 1;if(i>a)return-1}return 0},Mh=(e,t)=>({"/control-plane/addresses":async()=>({http:e("KUMA_API_URL"),kds:e("KUMA_KDS_URL")}),"/control-plane/version/latest":async()=>{const r=e("KUMA_VERSION");if(!r.match("^[0-9]+.[0-9]+.[0-9]+$"))return{version:r};const n=await(async()=>{try{return t.getLatestVersion()}catch(o){return console.error(o),""}})();return{version:n!==""&&xh(n,r)===1?n:r}},"/config":async()=>_h.fromObject(await t.getConfig()),"/global-insight":async()=>kh.fromObject(await t.getGlobalInsight())});function S5(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o!!r[o.toLowerCase()]:o=>!!r[o]}const Et={},Fo=[],J1=()=>{},Sh=()=>!1,qs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),E5=e=>e.startsWith("onUpdate:"),jt=Object.assign,L5=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Eh=Object.prototype.hasOwnProperty,pt=(e,t)=>Eh.call(e,t),Ge=Array.isArray,Uo=e=>Ws(e)==="[object Map]",F8=e=>Ws(e)==="[object Set]",tt=e=>typeof e=="function",Zt=e=>typeof e=="string",Ma=e=>typeof e=="symbol",kt=e=>e!==null&&typeof e=="object",U8=e=>(kt(e)||tt(e))&&tt(e.then)&&tt(e.catch),j8=Object.prototype.toString,Ws=e=>j8.call(e),Lh=e=>Ws(e).slice(8,-1),Y8=e=>Ws(e)==="[object Object]",A5=e=>Zt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,E2=S5(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qs=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Ah=/-(\w)/g,_r=Qs(e=>e.replace(Ah,(t,r)=>r?r.toUpperCase():"")),Hh=/\B([A-Z])/g,po=Qs(e=>e.replace(Hh,"-$1").toLowerCase()),Xs=Qs(e=>e.charAt(0).toUpperCase()+e.slice(1)),L2=Qs(e=>e?`on${Xs(e)}`:""),no=(e,t)=>!Object.is(e,t),A2=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},R0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bh=e=>{const t=Zt(e)?Number(e):NaN;return isNaN(t)?e:t};let e3;const $0=()=>e3||(e3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ze(e){if(Ge(e)){const t={};for(let r=0;r{if(r){const n=r.split(Dh);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ie(e){let t="";if(Zt(e))t=e;else if(Ge(e))for(let r=0;rZt(e)?e:e==null?"":Ge(e)||kt(e)&&(e.toString===j8||!tt(e.toString))?JSON.stringify(e,K8,2):String(e),K8=(e,t)=>t&&t.__v_isRef?K8(e,t.value):Uo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],a)=>(r[Il(n,a)+" =>"]=o,r),{})}:F8(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Il(r))}:Ma(t)?Il(t):kt(t)&&!Ge(t)&&!Y8(t)?String(t):t,Il=(e,t="")=>{var r;return Ma(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};let B1;class Nh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=B1,!t&&B1&&(this.index=(B1.scopes||(B1.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=B1;try{return B1=this,t()}finally{B1=r}}}on(){B1=this}off(){B1=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r{const t=new Set(e);return t.w=0,t.n=0,t},W8=e=>(e.w&En)>0,Q8=e=>(e.n&En)>0,$h=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n{(c==="length"||!Ma(c)&&c>=l)&&s.push(u)})}else switch(r!==void 0&&s.push(i.get(r)),t){case"add":Ge(e)?A5(r)&&s.push(i.get("length")):(s.push(i.get(eo)),Uo(e)&&s.push(i.get(F0)));break;case"delete":Ge(e)||(s.push(i.get(eo)),Uo(e)&&s.push(i.get(F0)));break;case"set":Uo(e)&&s.push(i.get(eo));break}if(s.length===1)s[0]&&U0(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);U0(H5(l))}}function U0(e,t){const r=Ge(e)?e:[...e];for(const n of r)n.computed&&r3(n);for(const n of r)n.computed||r3(n)}function r3(e,t){(e!==Q1||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Fh(e,t){var r;return(r=es.get(e))==null?void 0:r.get(t)}const Uh=S5("__proto__,__v_isRef,__isVue"),ec=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ma)),n3=jh();function jh(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=dt(this);for(let a=0,i=this.length;a{e[t]=function(...r){Sa();const n=dt(this)[t].apply(this,r);return Ea(),n}}),e}function Yh(e){const t=dt(this);return S1(t,"has",e),t.hasOwnProperty(e)}class tc{constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get(t,r,n){const o=this._isReadonly,a=this._shallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return a;if(r==="__v_raw")return n===(o?a?av:ac:a?oc:nc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const i=Ge(t);if(!o){if(i&&pt(n3,r))return Reflect.get(n3,r,n);if(r==="hasOwnProperty")return Yh}const s=Reflect.get(t,r,n);return(Ma(r)?ec.has(r):Uh(r))||(o||S1(t,"get",r),a)?s:Pt(s)?i&&A5(r)?s:s.value:kt(s)?o?sc(s):or(s):s}}class rc extends tc{constructor(t=!1){super(!1,t)}set(t,r,n,o){let a=t[r];if(!this._shallow){const l=oo(a);if(!ts(n)&&!oo(n)&&(a=dt(a),n=dt(n)),!Ge(t)&&Pt(a)&&!Pt(n))return l?!1:(a.value=n,!0)}const i=Ge(t)&&A5(r)?Number(r)e,Js=e=>Reflect.getPrototypeOf(e);function a2(e,t,r=!1,n=!1){e=e.__v_raw;const o=dt(e),a=dt(t);r||(no(t,a)&&S1(o,"get",t),S1(o,"get",a));const{has:i}=Js(o),s=n?T5:r?V5:Ai;if(i.call(o,t))return s(e.get(t));if(i.call(o,a))return s(e.get(a));e!==o&&e.get(t)}function i2(e,t=!1){const r=this.__v_raw,n=dt(r),o=dt(e);return t||(no(e,o)&&S1(n,"has",e),S1(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function s2(e,t=!1){return e=e.__v_raw,!t&&S1(dt(e),"iterate",eo),Reflect.get(e,"size",e)}function o3(e){e=dt(e);const t=dt(this);return Js(t).has.call(t,e)||(t.add(e),zr(t,"add",e,e)),this}function a3(e,t){t=dt(t);const r=dt(this),{has:n,get:o}=Js(r);let a=n.call(r,e);a||(e=dt(e),a=n.call(r,e));const i=o.call(r,e);return r.set(e,t),a?no(t,i)&&zr(r,"set",e,t):zr(r,"add",e,t),this}function i3(e){const t=dt(this),{has:r,get:n}=Js(t);let o=r.call(t,e);o||(e=dt(e),o=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return o&&zr(t,"delete",e,void 0),a}function s3(){const e=dt(this),t=e.size!==0,r=e.clear();return t&&zr(e,"clear",void 0,void 0),r}function l2(e,t){return function(n,o){const a=this,i=a.__v_raw,s=dt(i),l=t?T5:e?V5:Ai;return!e&&S1(s,"iterate",eo),i.forEach((u,c)=>n.call(o,l(u),l(c),a))}}function u2(e,t,r){return function(...n){const o=this.__v_raw,a=dt(o),i=Uo(a),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...n),c=r?T5:t?V5:Ai;return!t&&S1(a,"iterate",l?F0:eo),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:s?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Qh(){const e={get(a){return a2(this,a)},get size(){return s2(this)},has:i2,add:o3,set:a3,delete:i3,clear:s3,forEach:l2(!1,!1)},t={get(a){return a2(this,a,!1,!0)},get size(){return s2(this)},has:i2,add:o3,set:a3,delete:i3,clear:s3,forEach:l2(!1,!0)},r={get(a){return a2(this,a,!0)},get size(){return s2(this,!0)},has(a){return i2.call(this,a,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:l2(!0,!1)},n={get(a){return a2(this,a,!0,!0)},get size(){return s2(this,!0)},has(a){return i2.call(this,a,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:l2(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=u2(a,!1,!1),r[a]=u2(a,!0,!1),t[a]=u2(a,!1,!0),n[a]=u2(a,!0,!0)}),[e,r,t,n]}const[Xh,Jh,ev,tv]=Qh();function D5(e,t){const r=t?e?tv:ev:e?Jh:Xh;return(n,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(pt(r,o)&&o in n?r:n,o,a)}const rv={get:D5(!1,!1)},nv={get:D5(!1,!0)},ov={get:D5(!0,!1)},nc=new WeakMap,oc=new WeakMap,ac=new WeakMap,av=new WeakMap;function iv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sv(e){return e.__v_skip||!Object.isExtensible(e)?0:iv(Lh(e))}function or(e){return oo(e)?e:O5(e,!1,Kh,rv,nc)}function ic(e){return O5(e,!1,Wh,nv,oc)}function sc(e){return O5(e,!0,qh,ov,ac)}function O5(e,t,r,n,o){if(!kt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=sv(e);if(i===0)return e;const s=new Proxy(e,i===2?n:r);return o.set(e,s),s}function jo(e){return oo(e)?jo(e.__v_raw):!!(e&&e.__v_isReactive)}function oo(e){return!!(e&&e.__v_isReadonly)}function ts(e){return!!(e&&e.__v_isShallow)}function lc(e){return jo(e)||oo(e)}function dt(e){const t=e&&e.__v_raw;return t?dt(t):e}function uc(e){return J2(e,"__v_skip",!0),e}const Ai=e=>kt(e)?or(e):e,V5=e=>kt(e)?sc(e):e;function cc(e){Mn&&Q1&&(e=dt(e),J8(e.dep||(e.dep=H5())))}function dc(e,t){e=dt(e);const r=e.dep;r&&U0(r)}function Pt(e){return!!(e&&e.__v_isRef===!0)}function U(e){return fc(e,!1)}function lv(e){return fc(e,!0)}function fc(e,t){return Pt(e)?e:new uv(e,t)}class uv{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:dt(t),this._value=r?t:Ai(t)}get value(){return cc(this),this._value}set value(t){const r=this.__v_isShallow||ts(t)||oo(t);t=r?t:dt(t),no(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:Ai(t),dc(this))}}function D(e){return Pt(e)?e.value:e}const cv={get:(e,t,r)=>D(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Pt(o)&&!Pt(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function pc(e){return jo(e)?e:new Proxy(e,cv)}function hc(e){const t=Ge(e)?new Array(e.length):{};for(const r in e)t[r]=vc(e,r);return t}class dv{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Fh(dt(this._object),this._key)}}class fv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function H2(e,t,r){return Pt(e)?e:tt(e)?new fv(e):kt(e)&&arguments.length>1?vc(e,t,r):U(e)}function vc(e,t,r){const n=e[t];return Pt(n)?n:new dv(e,t,r)}class pv{constructor(t,r,n,o){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new B5(t,()=>{this._dirty||(this._dirty=!0,dc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=dt(this);return cc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function hv(e,t,r=!1){let n,o;const a=tt(e);return a?(n=e,o=J1):(n=e.get,o=e.set),new pv(n,o,a||!o,r)}function Sn(e,t,r,n){let o;try{o=n?e(...n):e()}catch(a){el(a,t,r)}return o}function F1(e,t,r,n){if(tt(e)){const a=Sn(e,t,r,n);return a&&U8(a)&&a.catch(i=>{el(i,t,r)}),a}const o=[];for(let a=0;a>>1,o=i1[n],a=Bi(o);agr&&i1.splice(t,1)}function Cv(e){Ge(e)?Yo.push(...e):(!Vr||!Vr.includes(e,e.allowRecurse?Un+1:Un))&&Yo.push(e),gc()}function l3(e,t,r=Hi?gr+1:0){for(;rBi(r)-Bi(n)),Un=0;Une.id==null?1/0:e.id,yv=(e,t)=>{const r=Bi(e)-Bi(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function yc(e){j0=!1,Hi=!0,i1.sort(yv);const t=J1;try{for(gr=0;grZt(p)?p.trim():p)),d&&(o=r.map(R0))}let s,l=n[s=L2(t)]||n[s=L2(_r(t))];!l&&a&&(l=n[s=L2(po(t))]),l&&F1(l,e,6,o);const u=n[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,F1(u,e,6,o)}}function bc(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const a=e.emits;let i={},s=!1;if(!tt(e)){const l=u=>{const c=bc(u,t,!0);c&&(s=!0,jt(i,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(kt(e)&&n.set(e,null),null):(Ge(a)?a.forEach(l=>i[l]=null):jt(i,a),kt(e)&&n.set(e,i),i)}function tl(e,t){return!e||!qs(t)?!1:(t=t.slice(2).replace(/Once$/,""),pt(e,t[0].toLowerCase()+t.slice(1))||pt(e,po(t))||pt(e,t))}let r1=null,rl=null;function rs(e){const t=r1;return r1=e,rl=e&&e.type.__scopeId||null,t}function Xe(e){rl=e}function Je(){rl=null}function B(e,t=r1,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&b3(-1);const a=rs(t);let i;try{i=e(...o)}finally{rs(a),n._d&&b3(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Pl(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:a,propsOptions:[i],slots:s,attrs:l,emit:u,render:c,renderCache:d,data:f,setupState:p,ctx:m,inheritAttrs:b}=e;let C,g;const w=rs(e);try{if(r.shapeFlag&4){const M=o||n,E=M;C=mr(c.call(E,M,d,a,p,f,m)),g=l}else{const M=t;C=mr(M.length>1?M(a,{attrs:l,slots:s,emit:u}):M(a,null)),g=t.props?l:wv(l)}}catch(M){mi.length=0,el(M,e,1),C=$(D1)}let y=C;if(g&&b!==!1){const M=Object.keys(g),{shapeFlag:E}=y;M.length&&E&7&&(i&&M.some(E5)&&(g=_v(g,i)),y=Ur(y,g))}return r.dirs&&(y=Ur(y),y.dirs=y.dirs?y.dirs.concat(r.dirs):r.dirs),r.transition&&(y.transition=r.transition),C=y,rs(w),C}const wv=e=>{let t;for(const r in e)(r==="class"||r==="style"||qs(r))&&((t||(t={}))[r]=e[r]);return t},_v=(e,t)=>{const r={};for(const n in e)(!E5(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function kv(e,t,r){const{props:n,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?u3(n,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function Lv(e,t){t&&t.pendingBranch?Ge(e)?t.effects.push(...e):t.effects.push(e):Cv(e)}function nl(e,t){return ol(e,null,t)}function Av(e,t){return ol(e,null,{flush:"post"})}const c2={};function Le(e,t,r){return ol(e,t,r)}function ol(e,t,{immediate:r,deep:n,flush:o,onTrack:a,onTrigger:i}=Et){var s;const l=q8()===((s=Xt)==null?void 0:s.scope)?Xt:null;let u,c=!1,d=!1;if(Pt(e)?(u=()=>e.value,c=ts(e)):jo(e)?(u=()=>e,n=!0):Ge(e)?(d=!0,c=e.some(M=>jo(M)||ts(M)),u=()=>e.map(M=>{if(Pt(M))return M.value;if(jo(M))return Kn(M);if(tt(M))return Sn(M,l,2)})):tt(e)?t?u=()=>Sn(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return f&&f(),F1(e,l,3,[p])}:u=J1,t&&n){const M=u;u=()=>Kn(M())}let f,p=M=>{f=w.onStop=()=>{Sn(M,l,4),f=w.onStop=void 0}},m;if(Vi)if(p=J1,t?r&&F1(t,l,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const M=gm();m=M.__watcherHandles||(M.__watcherHandles=[])}else return J1;let b=d?new Array(e.length).fill(c2):c2;const C=()=>{if(w.active)if(t){const M=w.run();(n||c||(d?M.some((E,z)=>no(E,b[z])):no(M,b)))&&(f&&f(),F1(t,l,3,[M,b===c2?void 0:d&&b[0]===c2?[]:b,p]),b=M)}else w.run()};C.allowRecurse=!!t;let g;o==="sync"?g=C:o==="post"?g=()=>w1(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),g=()=>P5(C));const w=new B5(u,g);t?r?C():b=w.run():o==="post"?w1(w.run.bind(w),l&&l.suspense):w.run();const y=()=>{w.stop(),l&&l.scope&&L5(l.scope.effects,w)};return m&&m.push(y),y}function Hv(e,t,r){const n=this.proxy,o=Zt(e)?e.includes(".")?_c(n,e):()=>n[e]:e.bind(n,n);let a;tt(t)?a=t:(a=t.handler,r=t);const i=Xt;ia(this);const s=ol(o,a.bind(n),r);return i?ia(i):to(),s}function _c(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o{Kn(r,t)});else if(Y8(e))for(const r in e)Kn(e[r],t);return e}function aa(e,t){const r=r1;if(r===null)return e;const n=ul(r)||r.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),Qr(()=>{e.isUnmounting=!0}),e}const V1=[Function,Array],xc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:V1,onEnter:V1,onAfterEnter:V1,onEnterCancelled:V1,onBeforeLeave:V1,onLeave:V1,onAfterLeave:V1,onLeaveCancelled:V1,onBeforeAppear:V1,onAppear:V1,onAfterAppear:V1,onAppearCancelled:V1},Bv={name:"BaseTransition",props:xc,setup(e,{slots:t}){const r=Ki(),n=kc();let o;return()=>{const a=t.default&&R5(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const b of a)if(b.type!==D1){i=b;break}}const s=dt(e),{mode:l}=s;if(n.isLeaving)return Nl(i);const u=d3(i);if(!u)return Nl(i);const c=Ti(u,s,n,r);Di(u,c);const d=r.subTree,f=d&&d3(d);let p=!1;const{getTransitionKey:m}=u.type;if(m){const b=m();o===void 0?o=b:b!==o&&(o=b,p=!0)}if(f&&f.type!==D1&&(!jn(u,f)||p)){const b=Ti(f,s,n,r);if(Di(f,b),l==="out-in")return n.isLeaving=!0,b.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},Nl(i);l==="in-out"&&u.type!==D1&&(b.delayLeave=(C,g,w)=>{const y=Mc(n,f);y[String(f.key)]=f,C[mn]=()=>{g(),C[mn]=void 0,delete c.delayedLeave},c.delayedLeave=w})}return i}}},Tv=Bv;function Mc(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Ti(e,t,r,n){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:b,onAppear:C,onAfterAppear:g,onAppearCancelled:w}=t,y=String(e.key),M=Mc(r,e),E=(R,F)=>{R&&F1(R,n,9,F)},z=(R,F)=>{const H=F[1];E(R,F),Ge(R)?R.every(V=>V.length<=1)&&H():R.length<=1&&H()},O={mode:a,persisted:i,beforeEnter(R){let F=s;if(!r.isMounted)if(o)F=b||s;else return;R[mn]&&R[mn](!0);const H=M[y];H&&jn(e,H)&&H.el[mn]&&H.el[mn](),E(F,[R])},enter(R){let F=l,H=u,V=c;if(!r.isMounted)if(o)F=C||l,H=g||u,V=w||c;else return;let A=!1;const Y=R[d2]=X=>{A||(A=!0,X?E(V,[R]):E(H,[R]),O.delayedLeave&&O.delayedLeave(),R[d2]=void 0)};F?z(F,[R,Y]):Y()},leave(R,F){const H=String(e.key);if(R[d2]&&R[d2](!0),r.isUnmounting)return F();E(d,[R]);let V=!1;const A=R[mn]=Y=>{V||(V=!0,F(),Y?E(m,[R]):E(p,[R]),R[mn]=void 0,M[H]===e&&delete M[H])};M[H]=e,f?z(f,[R,A]):A()},clone(R){return Ti(R,t,r,n)}};return O}function Nl(e){if(al(e))return e=Ur(e),e.children=null,e}function d3(e){return al(e)?e.children?e.children[0]:void 0:e}function Di(e,t){e.shapeFlag&6&&e.component?Di(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function R5(e,t=!1,r){let n=[],o=0;for(let a=0;a1)for(let a=0;ajt({name:e.name},t,{setup:e}))():e}const pi=e=>!!e.type.__asyncLoader,al=e=>e.type.__isKeepAlive;function Dv(e,t){Sc(e,"a",t)}function Ov(e,t){Sc(e,"da",t)}function Sc(e,t,r=Xt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(il(t,n,r),r){let o=r.parent;for(;o&&o.parent;)al(o.parent.vnode)&&Vv(n,t,r,o),o=o.parent}}function Vv(e,t,r,n){const o=il(t,e,n,!0);n1(()=>{L5(n[t],o)},r)}function il(e,t,r=Xt,n=!1){if(r){const o=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(r.isUnmounted)return;Sa(),ia(r);const s=F1(t,r,e,i);return to(),Ea(),s});return n?o.unshift(a):o.push(a),a}}const Wr=e=>(t,r=Xt)=>(!Vi||e==="sp")&&il(e,(...n)=>t(...n),r),Iv=Wr("bm"),Ct=Wr("m"),Pv=Wr("bu"),Ec=Wr("u"),Qr=Wr("bum"),n1=Wr("um"),Nv=Wr("sp"),Zv=Wr("rtg"),Rv=Wr("rtc");function $v(e,t=Xt){il("ec",e,t)}function rt(e,t,r,n){let o;const a=r&&r[n];if(Ge(e)||Zt(e)){o=new Array(e.length);for(let i=0,s=e.length;it(i,s,void 0,a&&a[s]));else{const i=Object.keys(e);o=new Array(i.length);for(let s=0,l=i.length;s{const a=n.fn(...o);return a&&(a.key=n.key),a}:n.fn)}return e}function W(e,t,r={},n,o){if(r1.isCE||r1.parent&&pi(r1.parent)&&r1.parent.isCE)return t!=="default"&&(r.name=t),$("slot",r,n&&n());let a=e[t];a&&a._c&&(a._d=!1),h();const i=a&&Lc(a(r)),s=J(Se,{key:r.key||i&&i.key||`_${t}`},i||(n?n():[]),i&&e._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function Lc(e){return e.some(t=>as(t)?!(t.type===D1||t.type===Se&&!Lc(t.children)):!0)?e:null}function Y0(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:L2(n)]=e[n];return r}const G0=e=>e?Rc(e)?ul(e)||e.proxy:G0(e.parent):null,hi=jt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>G0(e.parent),$root:e=>G0(e.root),$emit:e=>e.emit,$options:e=>$5(e),$forceUpdate:e=>e.f||(e.f=()=>P5(e.update)),$nextTick:e=>e.n||(e.n=Nt.bind(e.proxy)),$watch:e=>Hv.bind(e)}),Zl=(e,t)=>e!==Et&&!e.__isScriptSetup&&pt(e,t),zv={get({_:e},t){const{ctx:r,setupState:n,data:o,props:a,accessCache:i,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return a[t]}else{if(Zl(n,t))return i[t]=1,n[t];if(o!==Et&&pt(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&pt(u,t))return i[t]=3,a[t];if(r!==Et&&pt(r,t))return i[t]=4,r[t];K0&&(i[t]=0)}}const c=hi[t];let d,f;if(c)return t==="$attrs"&&S1(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(r!==Et&&pt(r,t))return i[t]=4,r[t];if(f=l.config.globalProperties,pt(f,t))return f[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:a}=e;return Zl(o,t)?(o[t]=r,!0):n!==Et&&pt(n,t)?(n[t]=r,!0):pt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:a}},i){let s;return!!r[i]||e!==Et&&pt(e,i)||Zl(t,i)||(s=a[0])&&pt(s,i)||pt(n,i)||pt(hi,i)||pt(o.config.globalProperties,i)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:pt(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function Rt(){return Ac().slots}function ar(){return Ac().attrs}function Ac(){const e=Ki();return e.setupContext||(e.setupContext=zc(e))}function f3(e){return Ge(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let K0=!0;function Fv(e){const t=$5(e),r=e.proxy,n=e.ctx;K0=!1,t.beforeCreate&&p3(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:p,updated:m,activated:b,deactivated:C,beforeDestroy:g,beforeUnmount:w,destroyed:y,unmounted:M,render:E,renderTracked:z,renderTriggered:O,errorCaptured:R,serverPrefetch:F,expose:H,inheritAttrs:V,components:A,directives:Y,filters:X}=t;if(u&&Uv(u,n,null),i)for(const ee in i){const le=i[ee];tt(le)&&(n[ee]=le.bind(r))}if(o){const ee=o.call(r,r);kt(ee)&&(e.data=or(ee))}if(K0=!0,a)for(const ee in a){const le=a[ee],we=tt(le)?le.bind(r,r):tt(le.get)?le.get.bind(r,r):J1,oe=!tt(le)&&tt(le.set)?le.set.bind(r):J1,Ee=_({get:we,set:oe});Object.defineProperty(n,ee,{enumerable:!0,configurable:!0,get:()=>Ee.value,set:be=>Ee.value=be})}if(s)for(const ee in s)Hc(s[ee],n,r,ee);if(l){const ee=tt(l)?l.call(r):l;Reflect.ownKeys(ee).forEach(le=>{er(le,ee[le])})}c&&p3(c,e,"c");function K(ee,le){Ge(le)?le.forEach(we=>ee(we.bind(r))):le&&ee(le.bind(r))}if(K(Iv,d),K(Ct,f),K(Pv,p),K(Ec,m),K(Dv,b),K(Ov,C),K($v,R),K(Rv,z),K(Zv,O),K(Qr,w),K(n1,M),K(Nv,F),Ge(H))if(H.length){const ee=e.exposed||(e.exposed={});H.forEach(le=>{Object.defineProperty(ee,le,{get:()=>r[le],set:we=>r[le]=we})})}else e.exposed||(e.exposed={});E&&e.render===J1&&(e.render=E),V!=null&&(e.inheritAttrs=V),A&&(e.components=A),Y&&(e.directives=Y)}function Uv(e,t,r=J1){Ge(e)&&(e=q0(e));for(const n in e){const o=e[n];let a;kt(o)?"default"in o?a=qt(o.from||n,o.default,!0):a=qt(o.from||n):a=qt(o),Pt(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[n]=a}}function p3(e,t,r){F1(Ge(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Hc(e,t,r,n){const o=n.includes(".")?_c(r,n):()=>r[n];if(Zt(e)){const a=t[e];tt(a)&&Le(o,a)}else if(tt(e))Le(o,e.bind(r));else if(kt(e))if(Ge(e))e.forEach(a=>Hc(a,t,r,n));else{const a=tt(e.handler)?e.handler.bind(r):t[e.handler];tt(a)&&Le(o,a,e)}}function $5(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,s=a.get(t);let l;return s?l=s:!o.length&&!r&&!n?l=t:(l={},o.length&&o.forEach(u=>ns(l,u,i,!0)),ns(l,t,i)),kt(t)&&a.set(t,l),l}function ns(e,t,r,n=!1){const{mixins:o,extends:a}=t;a&&ns(e,a,r,!0),o&&o.forEach(i=>ns(e,i,r,!0));for(const i in t)if(!(n&&i==="expose")){const s=jv[i]||r&&r[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const jv={data:h3,props:v3,emits:v3,methods:ei,computed:ei,beforeCreate:u1,created:u1,beforeMount:u1,mounted:u1,beforeUpdate:u1,updated:u1,beforeDestroy:u1,beforeUnmount:u1,destroyed:u1,unmounted:u1,activated:u1,deactivated:u1,errorCaptured:u1,serverPrefetch:u1,components:ei,directives:ei,watch:Gv,provide:h3,inject:Yv};function h3(e,t){return t?e?function(){return jt(tt(e)?e.call(this,this):e,tt(t)?t.call(this,this):t)}:t:e}function Yv(e,t){return ei(q0(e),q0(t))}function q0(e){if(Ge(e)){const t={};for(let r=0;r1)return r&&tt(t)?t.call(n&&n.proxy):t}}function Wv(e,t,r,n=!1){const o={},a={};J2(a,ll,1),e.propsDefaults=Object.create(null),Tc(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);r?e.props=n?o:ic(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function Qv(e,t,r,n){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=dt(o),[l]=e.propsOptions;let u=!1;if((n||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,p]=Dc(d,t,!0);jt(i,f),p&&s.push(...p)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return kt(e)&&n.set(e,Fo),Fo;if(Ge(a))for(let c=0;c-1,p[1]=b<0||m-1||pt(p,"default"))&&s.push(d)}}}const u=[i,s];return kt(e)&&n.set(e,u),u}function m3(e){return e[0]!=="$"}function g3(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function C3(e,t){return g3(e)===g3(t)}function y3(e,t){return Ge(t)?t.findIndex(r=>C3(r,e)):tt(t)&&C3(t,e)?0:-1}const Oc=e=>e[0]==="_"||e==="$stable",z5=e=>Ge(e)?e.map(mr):[mr(e)],Xv=(e,t,r)=>{if(t._n)return t;const n=B((...o)=>z5(t(...o)),r);return n._c=!1,n},Vc=(e,t,r)=>{const n=e._ctx;for(const o in e){if(Oc(o))continue;const a=e[o];if(tt(a))t[o]=Xv(o,a,n);else if(a!=null){const i=z5(a);t[o]=()=>i}}},Ic=(e,t)=>{const r=z5(t);e.slots.default=()=>r},Jv=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=dt(t),J2(t,"_",r)):Vc(t,e.slots={})}else e.slots={},t&&Ic(e,t);J2(e.slots,ll,1)},em=(e,t,r)=>{const{vnode:n,slots:o}=e;let a=!0,i=Et;if(n.shapeFlag&32){const s=t._;s?r&&s===1?a=!1:(jt(o,t),!r&&s===1&&delete o._):(a=!t.$stable,Vc(t,o)),i=t}else t&&(Ic(e,t),i={default:1});if(a)for(const s in o)!Oc(s)&&i[s]==null&&delete o[s]};function Q0(e,t,r,n,o=!1){if(Ge(e)){e.forEach((f,p)=>Q0(f,t&&(Ge(t)?t[p]:t),r,n,o));return}if(pi(n)&&!o)return;const a=n.shapeFlag&4?ul(n.component)||n.component.proxy:n.el,i=o?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===Et?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Zt(u)?(c[u]=null,pt(d,u)&&(d[u]=null)):Pt(u)&&(u.value=null)),tt(l))Sn(l,s,12,[i,c]);else{const f=Zt(l),p=Pt(l);if(f||p){const m=()=>{if(e.f){const b=f?pt(d,l)?d[l]:c[l]:l.value;o?Ge(b)&&L5(b,a):Ge(b)?b.includes(a)||b.push(a):f?(c[l]=[a],pt(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else f?(c[l]=i,pt(d,l)&&(d[l]=i)):p&&(l.value=i,e.k&&(c[e.k]=i))};i?(m.id=-1,w1(m,r)):m()}}}const w1=Lv;function tm(e){return rm(e)}function rm(e,t){const r=$0();r.__VUE__=!0;const{insert:n,remove:o,patchProp:a,createElement:i,createText:s,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:p=J1,insertStaticContent:m}=e,b=(k,L,I,j=null,G=null,ae=null,Ce=!1,se=null,ye=!!L.dynamicChildren)=>{if(k===L)return;k&&!jn(k,L)&&(j=Q(k),be(k,G,ae,!0),k=null),L.patchFlag===-2&&(ye=!1,L.dynamicChildren=null);const{type:ce,ref:Te,shapeFlag:Me}=L;switch(ce){case sl:C(k,L,I,j);break;case D1:g(k,L,I,j);break;case vi:k==null&&w(L,I,j,Ce);break;case Se:A(k,L,I,j,G,ae,Ce,se,ye);break;default:Me&1?E(k,L,I,j,G,ae,Ce,se,ye):Me&6?Y(k,L,I,j,G,ae,Ce,se,ye):(Me&64||Me&128)&&ce.process(k,L,I,j,G,ae,Ce,se,ye,ve)}Te!=null&&G&&Q0(Te,k&&k.ref,ae,L||k,!L)},C=(k,L,I,j)=>{if(k==null)n(L.el=s(L.children),I,j);else{const G=L.el=k.el;L.children!==k.children&&u(G,L.children)}},g=(k,L,I,j)=>{k==null?n(L.el=l(L.children||""),I,j):L.el=k.el},w=(k,L,I,j)=>{[k.el,k.anchor]=m(k.children,L,I,j,k.el,k.anchor)},y=({el:k,anchor:L},I,j)=>{let G;for(;k&&k!==L;)G=f(k),n(k,I,j),k=G;n(L,I,j)},M=({el:k,anchor:L})=>{let I;for(;k&&k!==L;)I=f(k),o(k),k=I;o(L)},E=(k,L,I,j,G,ae,Ce,se,ye)=>{Ce=Ce||L.type==="svg",k==null?z(L,I,j,G,ae,Ce,se,ye):F(k,L,G,ae,Ce,se,ye)},z=(k,L,I,j,G,ae,Ce,se)=>{let ye,ce;const{type:Te,props:Me,shapeFlag:He,transition:Ze,dirs:Ke}=k;if(ye=k.el=i(k.type,ae,Me&&Me.is,Me),He&8?c(ye,k.children):He&16&&R(k.children,ye,null,j,G,ae&&Te!=="foreignObject",Ce,se),Ke&&Dn(k,null,j,"created"),O(ye,k,k.scopeId,Ce,j),Me){for(const fe in Me)fe!=="value"&&!E2(fe)&&a(ye,fe,null,Me[fe],ae,k.children,j,G,De);"value"in Me&&a(ye,"value",null,Me.value),(ce=Me.onVnodeBeforeMount)&&ur(ce,j,k)}Ke&&Dn(k,null,j,"beforeMount");const nt=nm(G,Ze);nt&&Ze.beforeEnter(ye),n(ye,L,I),((ce=Me&&Me.onVnodeMounted)||nt||Ke)&&w1(()=>{ce&&ur(ce,j,k),nt&&Ze.enter(ye),Ke&&Dn(k,null,j,"mounted")},G)},O=(k,L,I,j,G)=>{if(I&&p(k,I),j)for(let ae=0;ae{for(let ce=ye;ce{const se=L.el=k.el;let{patchFlag:ye,dynamicChildren:ce,dirs:Te}=L;ye|=k.patchFlag&16;const Me=k.props||Et,He=L.props||Et;let Ze;I&&On(I,!1),(Ze=He.onVnodeBeforeUpdate)&&ur(Ze,I,L,k),Te&&Dn(L,k,I,"beforeUpdate"),I&&On(I,!0);const Ke=G&&L.type!=="foreignObject";if(ce?H(k.dynamicChildren,ce,se,I,j,Ke,ae):Ce||le(k,L,se,null,I,j,Ke,ae,!1),ye>0){if(ye&16)V(se,L,Me,He,I,j,G);else if(ye&2&&Me.class!==He.class&&a(se,"class",null,He.class,G),ye&4&&a(se,"style",Me.style,He.style,G),ye&8){const nt=L.dynamicProps;for(let fe=0;fe{Ze&&ur(Ze,I,L,k),Te&&Dn(L,k,I,"updated")},j)},H=(k,L,I,j,G,ae,Ce)=>{for(let se=0;se{if(I!==j){if(I!==Et)for(const se in I)!E2(se)&&!(se in j)&&a(k,se,I[se],null,Ce,L.children,G,ae,De);for(const se in j){if(E2(se))continue;const ye=j[se],ce=I[se];ye!==ce&&se!=="value"&&a(k,se,ce,ye,Ce,L.children,G,ae,De)}"value"in j&&a(k,"value",I.value,j.value)}},A=(k,L,I,j,G,ae,Ce,se,ye)=>{const ce=L.el=k?k.el:s(""),Te=L.anchor=k?k.anchor:s("");let{patchFlag:Me,dynamicChildren:He,slotScopeIds:Ze}=L;Ze&&(se=se?se.concat(Ze):Ze),k==null?(n(ce,I,j),n(Te,I,j),R(L.children,I,Te,G,ae,Ce,se,ye)):Me>0&&Me&64&&He&&k.dynamicChildren?(H(k.dynamicChildren,He,I,G,ae,Ce,se),(L.key!=null||G&&L===G.subTree)&&Pc(k,L,!0)):le(k,L,I,Te,G,ae,Ce,se,ye)},Y=(k,L,I,j,G,ae,Ce,se,ye)=>{L.slotScopeIds=se,k==null?L.shapeFlag&512?G.ctx.activate(L,I,j,Ce,ye):X(L,I,j,G,ae,Ce,ye):Z(k,L,ye)},X=(k,L,I,j,G,ae,Ce)=>{const se=k.component=cm(k,j,G);if(al(k)&&(se.ctx.renderer=ve),dm(se),se.asyncDep){if(G&&G.registerDep(se,K),!k.el){const ye=se.subTree=$(D1);g(null,ye,L,I)}return}K(se,k,L,I,G,ae,Ce)},Z=(k,L,I)=>{const j=L.component=k.component;if(kv(k,L,I))if(j.asyncDep&&!j.asyncResolved){ee(j,L,I);return}else j.next=L,gv(j.update),j.update();else L.el=k.el,j.vnode=L},K=(k,L,I,j,G,ae,Ce)=>{const se=()=>{if(k.isMounted){let{next:Te,bu:Me,u:He,parent:Ze,vnode:Ke}=k,nt=Te,fe;On(k,!1),Te?(Te.el=Ke.el,ee(k,Te,Ce)):Te=Ke,Me&&A2(Me),(fe=Te.props&&Te.props.onVnodeBeforeUpdate)&&ur(fe,Ze,Te,Ke),On(k,!0);const Pe=Pl(k),Oe=k.subTree;k.subTree=Pe,b(Oe,Pe,d(Oe.el),Q(Oe),k,G,ae),Te.el=Pe.el,nt===null&&xv(k,Pe.el),He&&w1(He,G),(fe=Te.props&&Te.props.onVnodeUpdated)&&w1(()=>ur(fe,Ze,Te,Ke),G)}else{let Te;const{el:Me,props:He}=L,{bm:Ze,m:Ke,parent:nt}=k,fe=pi(L);if(On(k,!1),Ze&&A2(Ze),!fe&&(Te=He&&He.onVnodeBeforeMount)&&ur(Te,nt,L),On(k,!0),Me&&me){const Pe=()=>{k.subTree=Pl(k),me(Me,k.subTree,k,G,null)};fe?L.type.__asyncLoader().then(()=>!k.isUnmounted&&Pe()):Pe()}else{const Pe=k.subTree=Pl(k);b(null,Pe,I,j,k,G,ae),L.el=Pe.el}if(Ke&&w1(Ke,G),!fe&&(Te=He&&He.onVnodeMounted)){const Pe=L;w1(()=>ur(Te,nt,Pe),G)}(L.shapeFlag&256||nt&&pi(nt.vnode)&&nt.vnode.shapeFlag&256)&&k.a&&w1(k.a,G),k.isMounted=!0,L=I=j=null}},ye=k.effect=new B5(se,()=>P5(ce),k.scope),ce=k.update=()=>ye.run();ce.id=k.uid,On(k,!0),ce()},ee=(k,L,I)=>{L.component=k;const j=k.vnode.props;k.vnode=L,k.next=null,Qv(k,L.props,j,I),em(k,L.children,I),Sa(),l3(k),Ea()},le=(k,L,I,j,G,ae,Ce,se,ye=!1)=>{const ce=k&&k.children,Te=k?k.shapeFlag:0,Me=L.children,{patchFlag:He,shapeFlag:Ze}=L;if(He>0){if(He&128){oe(ce,Me,I,j,G,ae,Ce,se,ye);return}else if(He&256){we(ce,Me,I,j,G,ae,Ce,se,ye);return}}Ze&8?(Te&16&&De(ce,G,ae),Me!==ce&&c(I,Me)):Te&16?Ze&16?oe(ce,Me,I,j,G,ae,Ce,se,ye):De(ce,G,ae,!0):(Te&8&&c(I,""),Ze&16&&R(Me,I,j,G,ae,Ce,se,ye))},we=(k,L,I,j,G,ae,Ce,se,ye)=>{k=k||Fo,L=L||Fo;const ce=k.length,Te=L.length,Me=Math.min(ce,Te);let He;for(He=0;HeTe?De(k,G,ae,!0,!1,Me):R(L,I,j,G,ae,Ce,se,ye,Me)},oe=(k,L,I,j,G,ae,Ce,se,ye)=>{let ce=0;const Te=L.length;let Me=k.length-1,He=Te-1;for(;ce<=Me&&ce<=He;){const Ze=k[ce],Ke=L[ce]=ye?gn(L[ce]):mr(L[ce]);if(jn(Ze,Ke))b(Ze,Ke,I,null,G,ae,Ce,se,ye);else break;ce++}for(;ce<=Me&&ce<=He;){const Ze=k[Me],Ke=L[He]=ye?gn(L[He]):mr(L[He]);if(jn(Ze,Ke))b(Ze,Ke,I,null,G,ae,Ce,se,ye);else break;Me--,He--}if(ce>Me){if(ce<=He){const Ze=He+1,Ke=ZeHe)for(;ce<=Me;)be(k[ce],G,ae,!0),ce++;else{const Ze=ce,Ke=ce,nt=new Map;for(ce=Ke;ce<=He;ce++){const Ae=L[ce]=ye?gn(L[ce]):mr(L[ce]);Ae.key!=null&&nt.set(Ae.key,ce)}let fe,Pe=0;const Oe=He-Ke+1;let Qe=!1,ge=0;const de=new Array(Oe);for(ce=0;ce=Oe){be(Ae,G,ae,!0);continue}let $e;if(Ae.key!=null)$e=nt.get(Ae.key);else for(fe=Ke;fe<=He;fe++)if(de[fe-Ke]===0&&jn(Ae,L[fe])){$e=fe;break}$e===void 0?be(Ae,G,ae,!0):(de[$e-Ke]=ce+1,$e>=ge?ge=$e:Qe=!0,b(Ae,L[$e],I,null,G,ae,Ce,se,ye),Pe++)}const Fe=Qe?om(de):Fo;for(fe=Fe.length-1,ce=Oe-1;ce>=0;ce--){const Ae=Ke+ce,$e=L[Ae],q=Ae+1{const{el:ae,type:Ce,transition:se,children:ye,shapeFlag:ce}=k;if(ce&6){Ee(k.component.subTree,L,I,j);return}if(ce&128){k.suspense.move(L,I,j);return}if(ce&64){Ce.move(k,L,I,ve);return}if(Ce===Se){n(ae,L,I);for(let Me=0;Mese.enter(ae),G);else{const{leave:Me,delayLeave:He,afterLeave:Ze}=se,Ke=()=>n(ae,L,I),nt=()=>{Me(ae,()=>{Ke(),Ze&&Ze()})};He?He(ae,Ke,nt):nt()}else n(ae,L,I)},be=(k,L,I,j=!1,G=!1)=>{const{type:ae,props:Ce,ref:se,children:ye,dynamicChildren:ce,shapeFlag:Te,patchFlag:Me,dirs:He}=k;if(se!=null&&Q0(se,null,I,k,!0),Te&256){L.ctx.deactivate(k);return}const Ze=Te&1&&He,Ke=!pi(k);let nt;if(Ke&&(nt=Ce&&Ce.onVnodeBeforeUnmount)&&ur(nt,L,k),Te&6)Ve(k.component,I,j);else{if(Te&128){k.suspense.unmount(I,j);return}Ze&&Dn(k,null,L,"beforeUnmount"),Te&64?k.type.remove(k,L,I,G,ve,j):ce&&(ae!==Se||Me>0&&Me&64)?De(ce,L,I,!1,!0):(ae===Se&&Me&384||!G&&Te&16)&&De(ye,L,I),j&&Ye(k)}(Ke&&(nt=Ce&&Ce.onVnodeUnmounted)||Ze)&&w1(()=>{nt&&ur(nt,L,k),Ze&&Dn(k,null,L,"unmounted")},I)},Ye=k=>{const{type:L,el:I,anchor:j,transition:G}=k;if(L===Se){ue(I,j);return}if(L===vi){M(k);return}const ae=()=>{o(I),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(k.shapeFlag&1&&G&&!G.persisted){const{leave:Ce,delayLeave:se}=G,ye=()=>Ce(I,ae);se?se(k.el,ae,ye):ye()}else ae()},ue=(k,L)=>{let I;for(;k!==L;)I=f(k),o(k),k=I;o(L)},Ve=(k,L,I)=>{const{bum:j,scope:G,update:ae,subTree:Ce,um:se}=k;j&&A2(j),G.stop(),ae&&(ae.active=!1,be(Ce,k,L,I)),se&&w1(se,L),w1(()=>{k.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&k.asyncDep&&!k.asyncResolved&&k.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},De=(k,L,I,j=!1,G=!1,ae=0)=>{for(let Ce=ae;Cek.shapeFlag&6?Q(k.component.subTree):k.shapeFlag&128?k.suspense.next():f(k.anchor||k.el),he=(k,L,I)=>{k==null?L._vnode&&be(L._vnode,null,null,!0):b(L._vnode||null,k,L,null,null,null,I),l3(),Cc(),L._vnode=k},ve={p:b,um:be,m:Ee,r:Ye,mt:X,mc:R,pc:le,pbc:H,n:Q,o:e};let ne,me;return t&&([ne,me]=t(ve)),{render:he,hydrate:ne,createApp:qv(he,ne)}}function On({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function nm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pc(e,t,r=!1){const n=e.children,o=t.children;if(Ge(n)&&Ge(o))for(let a=0;a>1,e[r[s]]0&&(t[n]=r[a-1]),r[a]=n)}}for(a=r.length,i=r[a-1];a-- >0;)r[a]=i,i=t[i];return r}const am=e=>e.__isTeleport,Se=Symbol.for("v-fgt"),sl=Symbol.for("v-txt"),D1=Symbol.for("v-cmt"),vi=Symbol.for("v-stc"),mi=[];let X1=null;function h(e=!1){mi.push(X1=e?null:[])}function im(){mi.pop(),X1=mi[mi.length-1]||null}let Oi=1;function b3(e){Oi+=e}function Nc(e){return e.dynamicChildren=Oi>0?X1||Fo:null,im(),Oi>0&&X1&&X1.push(e),e}function x(e,t,r,n,o,a){return Nc(v(e,t,r,n,o,a,!0))}function J(e,t,r,n,o){return Nc($(e,t,r,n,o,!0))}function as(e){return e?e.__v_isVNode===!0:!1}function jn(e,t){return e.type===t.type&&e.key===t.key}const ll="__vInternal",Zc=({key:e})=>e??null,B2=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Zt(e)||Pt(e)||tt(e)?{i:r1,r:e,k:t,f:!!r}:e:null);function v(e,t=null,r=null,n=0,o=null,a=e===Se?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zc(t),ref:t&&B2(t),scopeId:rl,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:r1};return s?(F5(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=Zt(r)?8:16),Oi>0&&!i&&X1&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&X1.push(l),l}const $=sm;function sm(e,t=null,r=null,n=0,o=null,a=!1){if((!e||e===wc)&&(e=D1),as(e)){const s=Ur(e,t,!0);return r&&F5(s,r),Oi>0&&!a&&X1&&(s.shapeFlag&6?X1[X1.indexOf(e)]=s:X1.push(s)),s.patchFlag|=-2,s}if(vm(e)&&(e=e.__vccOpts),t){t=is(t);let{class:s,style:l}=t;s&&!Zt(s)&&(t.class=ie(s)),kt(l)&&(lc(l)&&!Ge(l)&&(l=jt({},l)),t.style=ze(l))}const i=Zt(e)?1:Ev(e)?128:am(e)?64:kt(e)?4:tt(e)?2:0;return v(e,t,r,n,o,i,a,!0)}function is(e){return e?lc(e)||ll in e?jt({},e):e:null}function Ur(e,t,r=!1){const{props:n,ref:o,patchFlag:a,children:i}=e,s=t?it(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Zc(s),ref:t&&t.ref?r&&o?Ge(o)?o.concat(B2(t)):[o,B2(t)]:B2(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ur(e.ssContent),ssFallback:e.ssFallback&&Ur(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function S(e=" ",t=0){return $(sl,null,e,t)}function Gi(e,t){const r=$(vi,null,e);return r.staticCount=t,r}function P(e="",t=!1){return t?(h(),J(D1,null,e)):$(D1,null,e)}function mr(e){return e==null||typeof e=="boolean"?$(D1):Ge(e)?$(Se,null,e.slice()):typeof e=="object"?gn(e):$(sl,null,String(e))}function gn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ur(e)}function F5(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ge(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),F5(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(ll in t)?t._ctx=r1:o===3&&r1&&(r1.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else tt(t)?(t={default:t,_ctx:r1},r=32):(t=String(t),n&64?(r=16,t=[S(t)]):r=8);e.children=t,e.shapeFlag|=r}function it(...e){const t={};for(let r=0;rXt||r1;let U5,Mo,w3="__VUE_INSTANCE_SETTERS__";(Mo=$0()[w3])||(Mo=$0()[w3]=[]),Mo.push(e=>Xt=e),U5=e=>{Mo.length>1?Mo.forEach(t=>t(e)):Mo[0](e)};const ia=e=>{U5(e),e.scope.on()},to=()=>{Xt&&Xt.scope.off(),U5(null)};function Rc(e){return e.vnode.shapeFlag&4}let Vi=!1;function dm(e,t=!1){Vi=t;const{props:r,children:n}=e.vnode,o=Rc(e);Wv(e,r,o,t),Jv(e,n);const a=o?fm(e,t):void 0;return Vi=!1,a}function fm(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=uc(new Proxy(e.ctx,zv));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?zc(e):null;ia(e),Sa();const a=Sn(n,e,0,[e.props,o]);if(Ea(),to(),U8(a)){if(a.then(to,to),t)return a.then(i=>{_3(e,i,t)}).catch(i=>{el(i,e,0)});e.asyncDep=a}else _3(e,a,t)}else $c(e,t)}function _3(e,t,r){tt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:kt(t)&&(e.setupState=pc(t)),$c(e,r)}let k3;function $c(e,t,r){const n=e.type;if(!e.render){if(!t&&k3&&!n.render){const o=n.template||$5(e).template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,u=jt(jt({isCustomElement:a,delimiters:s},i),l);n.render=k3(o,u)}}e.render=n.render||J1}{ia(e),Sa();try{Fv(e)}finally{Ea(),to()}}}function pm(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return S1(e,"get","$attrs"),t[r]}}))}function zc(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return pm(e)},slots:e.slots,emit:e.emit,expose:t}}function ul(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(pc(uc(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in hi)return hi[r](e)},has(t,r){return r in t||r in hi}}))}function hm(e,t=!0){return tt(e)?e.displayName||e.name:e.name||t&&e.__name}function vm(e){return tt(e)&&"__vccOpts"in e}const _=(e,t)=>hv(e,t,Vi);function ao(e,t,r){const n=arguments.length;return n===2?kt(t)&&!Ge(t)?as(t)?$(e,null,[t]):$(e,t):$(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&as(r)&&(r=[r]),$(e,t,r))}const mm=Symbol.for("v-scx"),gm=()=>qt(mm),Cm="3.3.12",ym="http://www.w3.org/2000/svg",Yn=typeof document<"u"?document:null,x3=Yn&&Yn.createElement("template"),bm={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t?Yn.createElementNS(ym,e):Yn.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Yn.createTextNode(e),createComment:e=>Yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,a){const i=r?r.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===a||!(o=o.nextSibling)););else{x3.innerHTML=n?`${e}`:e;const s=x3.content;if(n){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[i?i.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},sn="transition",$a="animation",sa=Symbol("_vtc"),kr=(e,{slots:t})=>ao(Tv,Uc(e),t);kr.displayName="Transition";const Fc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},wm=kr.props=jt({},xc,Fc),Vn=(e,t=[])=>{Ge(e)?e.forEach(r=>r(...t)):e&&e(...t)},M3=e=>e?Ge(e)?e.some(t=>t.length>1):e.length>1:!1;function Uc(e){const t={};for(const A in e)A in Fc||(t[A]=e[A]);if(e.css===!1)return t;const{name:r="v",type:n,duration:o,enterFromClass:a=`${r}-enter-from`,enterActiveClass:i=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=a,appearActiveClass:u=i,appearToClass:c=s,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:f=`${r}-leave-active`,leaveToClass:p=`${r}-leave-to`}=e,m=_m(o),b=m&&m[0],C=m&&m[1],{onBeforeEnter:g,onEnter:w,onEnterCancelled:y,onLeave:M,onLeaveCancelled:E,onBeforeAppear:z=g,onAppear:O=w,onAppearCancelled:R=y}=t,F=(A,Y,X)=>{pn(A,Y?c:s),pn(A,Y?u:i),X&&X()},H=(A,Y)=>{A._isLeaving=!1,pn(A,d),pn(A,p),pn(A,f),Y&&Y()},V=A=>(Y,X)=>{const Z=A?O:w,K=()=>F(Y,A,X);Vn(Z,[Y,K]),S3(()=>{pn(Y,A?l:a),Or(Y,A?c:s),M3(Z)||E3(Y,n,b,K)})};return jt(t,{onBeforeEnter(A){Vn(g,[A]),Or(A,a),Or(A,i)},onBeforeAppear(A){Vn(z,[A]),Or(A,l),Or(A,u)},onEnter:V(!1),onAppear:V(!0),onLeave(A,Y){A._isLeaving=!0;const X=()=>H(A,Y);Or(A,d),Yc(),Or(A,f),S3(()=>{A._isLeaving&&(pn(A,d),Or(A,p),M3(M)||E3(A,n,C,X))}),Vn(M,[A,X])},onEnterCancelled(A){F(A,!1),Vn(y,[A])},onAppearCancelled(A){F(A,!0),Vn(R,[A])},onLeaveCancelled(A){H(A),Vn(E,[A])}})}function _m(e){if(e==null)return null;if(kt(e))return[Rl(e.enter),Rl(e.leave)];{const t=Rl(e);return[t,t]}}function Rl(e){return Bh(e)}function Or(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[sa]||(e[sa]=new Set)).add(t)}function pn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[sa];r&&(r.delete(t),r.size||(e[sa]=void 0))}function S3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let km=0;function E3(e,t,r,n){const o=e._endId=++km,a=()=>{o===e._endId&&n()};if(r)return setTimeout(a,r);const{type:i,timeout:s,propCount:l}=jc(e,t);if(!i)return n();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,f),a()},f=p=>{p.target===e&&++c>=l&&d()};setTimeout(()=>{c(r[m]||"").split(", "),o=n(`${sn}Delay`),a=n(`${sn}Duration`),i=L3(o,a),s=n(`${$a}Delay`),l=n(`${$a}Duration`),u=L3(s,l);let c=null,d=0,f=0;t===sn?i>0&&(c=sn,d=i,f=a.length):t===$a?u>0&&(c=$a,d=u,f=l.length):(d=Math.max(i,u),c=d>0?i>u?sn:$a:null,f=c?c===sn?a.length:l.length:0);const p=c===sn&&/\b(transform|all)(,|$)/.test(n(`${sn}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:p}}function L3(e,t){for(;e.lengthA3(r)+A3(e[n])))}function A3(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Yc(){return document.body.offsetHeight}function xm(e,t,r){const n=e[sa];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const j5=Symbol("_vod"),X0={beforeMount(e,{value:t},{transition:r}){e[j5]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):za(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),za(e,!0),n.enter(e)):n.leave(e,()=>{za(e,!1)}):za(e,t))},beforeUnmount(e,{value:t}){za(e,t)}};function za(e,t){e.style.display=t?e[j5]:"none"}const Gc=Symbol("");function Xr(e){const t=Ki();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>e6(a,o))},n=()=>{const o=e(t.proxy);J0(t.subTree,o),r(o)};Av(n),Ct(()=>{const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),n1(()=>o.disconnect())})}function J0(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{J0(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)e6(e.el,t);else if(e.type===Se)e.children.forEach(r=>J0(r,t));else if(e.type===vi){let{el:r,anchor:n}=e;for(;r&&(e6(r,t),r!==n);)r=r.nextSibling}}function e6(e,t){if(e.nodeType===1){const r=e.style;let n="";for(const o in t)r.setProperty(`--${o}`,t[o]),n+=`--${o}: ${t[o]};`;r[Gc]=n}}function Mm(e,t,r){const n=e.style,o=Zt(r);if(r&&!o){if(t&&!Zt(t))for(const a in t)r[a]==null&&t6(n,a,"");for(const a in r)t6(n,a,r[a])}else{const a=n.display;if(o){if(t!==r){const i=n[Gc];i&&(r+=";"+i),n.cssText=r}}else t&&e.removeAttribute("style");j5 in e&&(n.display=a)}}const H3=/\s*!important$/;function t6(e,t,r){if(Ge(r))r.forEach(n=>t6(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=Sm(e,t);H3.test(r)?e.setProperty(po(n),r.replace(H3,""),"important"):e[n]=r}}const B3=["Webkit","Moz","ms"],$l={};function Sm(e,t){const r=$l[t];if(r)return r;let n=_r(t);if(n!=="filter"&&n in e)return $l[t]=n;n=Xs(n);for(let o=0;ozl||(Tm.then(()=>zl=0),zl=Date.now());function Om(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;F1(Vm(n,r.value),t,5,[n])};return r.value=e,r.attached=Dm(),r}function Vm(e,t){if(Ge(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const V3=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Im=(e,t,r,n,o=!1,a,i,s,l)=>{t==="class"?xm(e,n,o):t==="style"?Mm(e,r,n):qs(t)?E5(t)||Hm(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Pm(e,t,n,o))?Lm(e,t,n,a,i,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Em(e,t,n,o))};function Pm(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&V3(t)&&tt(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return V3(t)&&Zt(r)?!1:t in e}const Kc=new WeakMap,qc=new WeakMap,ss=Symbol("_moveCb"),I3=Symbol("_enterCb"),Wc={name:"TransitionGroup",props:jt({},wm,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Ki(),n=kc();let o,a;return Ec(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Fm(o[0].el,r.vnode.el,i))return;o.forEach(Rm),o.forEach($m);const s=o.filter(zm);Yc(),s.forEach(l=>{const u=l.el,c=u.style;Or(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[ss]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u[ss]=null,pn(u,i))};u.addEventListener("transitionend",d)})}),()=>{const i=dt(e),s=Uc(i);let l=i.tag||Se;o=a,a=t.default?R5(t.default()):[];for(let u=0;udelete e.mode;Wc.props;const Zm=Wc;function Rm(e){const t=e.el;t[ss]&&t[ss](),t[I3]&&t[I3]()}function $m(e){qc.set(e,e.el.getBoundingClientRect())}function zm(e){const t=Kc.get(e),r=qc.get(e),n=t.left-r.left,o=t.top-r.top;if(n||o){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${n}px,${o}px)`,a.transitionDuration="0s",e}}function Fm(e,t,r){const n=e.cloneNode(),o=e[sa];o&&o.forEach(s=>{s.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),r.split(/\s+/).forEach(s=>s&&n.classList.add(s)),n.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(n);const{hasTransform:i}=jc(n);return a.removeChild(n),i}const P3=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ge(t)?r=>A2(t,r):t};function Um(e){e.target.composing=!0}function N3(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Fl=Symbol("_assign"),jm={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[Fl]=P3(o);const a=n||o.props&&o.props.type==="number";To(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;r&&(s=s.trim()),a&&(s=R0(s)),e[Fl](s)}),r&&To(e,"change",()=>{e.value=e.value.trim()}),t||(To(e,"compositionstart",Um),To(e,"compositionend",N3),To(e,"change",N3))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},a){if(e[Fl]=P3(a),e.composing)return;const i=o||e.type==="number"?R0(e.value):e.value,s=t??"";i!==s&&(document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===s)||(e.value=s))}},Ym=["ctrl","shift","alt","meta"],Gm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ym.some(r=>e[`${r}Key`]&&!t.includes(r))},vt=(e,t)=>e._withMods||(e._withMods=(r,...n)=>{for(let o=0;oe._withKeys||(e._withKeys=r=>{if(!("key"in r))return;const n=po(r.key);if(t.some(o=>o===n||Km[o]===n))return e(r)}),qm=jt({patchProp:Im},bm);let Z3;function Wm(){return Z3||(Z3=tm(qm))}const Qc=(...e)=>{const t=Wm().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=Qm(n);if(!o)return;const a=t._component;!tt(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.innerHTML="";const i=r(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function Qm(e){return Zt(e)?document.querySelector(e):e}const Xm=""+new URL("icon-location-on-642f061f.svg",import.meta.url).href,Jm=""+new URL("icon-circles-ext-6b19ab51.svg",import.meta.url).href,Xc=""+new URL("icon-wifi-tethering-02725ea9.svg",import.meta.url).href;var r6=function(e,t){return r6=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},r6(e,t)};function ir(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r6(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ue=function(){return Ue=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0}),r=[],n=0,o=t;n1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(lg,function(l,u,c,d,f,p){if(u)t.minimumIntegerDigits=c.length;else{if(d&&f)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(l9.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if($3.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace($3,function(l,u,c,d,f,p){return c==="*"?t.minimumFractionDigits=u.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:f&&p?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+p.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=o.options[0];a==="w"?t=Ue(Ue({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Ue(Ue({},t),z3(a)));continue}if(s9.test(o.stem)){t=Ue(Ue({},t),z3(o.stem));continue}var i=u9(o.stem);i&&(t=Ue(Ue({},t),i));var s=ug(o.stem);s&&(t=Ue(Ue({},t),s))}return t}var f2={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function dg(e,t){for(var r="",n=0;n>1),l="a",u=fg(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)r+=l;for(;i-- >0;)r=u+r}else o==="J"?r+="H":r+=o}return r}function fg(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var o=f2[n||""]||f2[r||""]||f2["".concat(r,"-001")]||f2["001"];return o[0]}var Ul,pg=new RegExp("^".concat(i9.source,"*")),hg=new RegExp("".concat(i9.source,"*$"));function ct(e,t){return{start:e,end:t}}var vg=!!String.prototype.startsWith&&"_a".startsWith("a",1),mg=!!String.fromCodePoint,gg=!!Object.fromEntries,Cg=!!String.prototype.codePointAt,yg=!!String.prototype.trimStart,bg=!!String.prototype.trimEnd,wg=!!Number.isSafeInteger,_g=wg?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},o6=!0;try{var kg=d9("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");o6=((Ul=kg.exec("a"))===null||Ul===void 0?void 0:Ul[0])==="a"}catch{o6=!1}var U3=vg?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},a6=mg?String.fromCodePoint:function(){for(var e=[],t=0;to;){if(a=e[o++],a>1114111)throw RangeError(a+" is not a valid code point");r+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return r},j3=gg?Object.fromEntries:function(e){for(var t={},r=0,n=e;r=r)){var n=e.charCodeAt(t),o;return n<55296||n>56319||t+1===r||(o=e.charCodeAt(t+1))<56320||o>57343?n:(n-55296<<10)+(o-56320)+65536}},xg=yg?function(e){return e.trimStart()}:function(e){return e.replace(pg,"")},Mg=bg?function(e){return e.trimEnd()}:function(e){return e.replace(hg,"")};function d9(e,t){return new RegExp(e,t)}var i6;if(o6){var Y3=d9("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");i6=function(e,t){var r;Y3.lastIndex=t;var n=Y3.exec(e);return(r=n[1])!==null&&r!==void 0?r:""}}else i6=function(e,t){for(var r=[];;){var n=c9(e,t);if(n===void 0||f9(n)||Ag(n))break;r.push(n),t+=n>=65536?2:1}return a6.apply(void 0,r)};var Sg=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var o=[];!this.isEOF();){var a=this.char();if(a===123){var i=this.parseArgument(t,n);if(i.err)return i;o.push(i.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),o.push({type:St.pound,location:ct(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(lt.UNMATCHED_CLOSING_TAG,ct(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&s6(this.peek()||0)){var i=this.parseTag(t,r);if(i.err)return i;o.push(i.val)}else{var i=this.parseLiteral(t,r);if(i.err)return i;o.push(i.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:St.literal,value:"<".concat(o,"/>"),location:ct(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var i=a.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:St.tag,value:o,children:i,location:ct(n,this.clonePosition())},err:null}:this.error(lt.INVALID_TAG,ct(s,this.clonePosition())))}else return this.error(lt.UNCLOSED_TAG,ct(n,this.clonePosition()))}else return this.error(lt.INVALID_TAG,ct(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Lg(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),o="";;){var a=this.tryParseQuote(r);if(a){o+=a;continue}var i=this.tryParseUnquoted(t,r);if(i){o+=i;continue}var s=this.tryParseLeftAngleBracket();if(s){o+=s;continue}break}var l=ct(n,this.clonePosition());return{val:{type:St.literal,value:o,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Eg(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return a6.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),a6(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(lt.EXPECT_ARGUMENT_CLOSING_BRACE,ct(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(lt.EMPTY_ARGUMENT,ct(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(lt.MALFORMED_ARGUMENT,ct(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(lt.EXPECT_ARGUMENT_CLOSING_BRACE,ct(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:St.argument,value:o,location:ct(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(lt.EXPECT_ARGUMENT_CLOSING_BRACE,ct(n,this.clonePosition())):this.parseArgumentOptions(t,r,o,n);default:return this.error(lt.MALFORMED_ARGUMENT,ct(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=i6(this.message,r),o=r+n.length;this.bumpTo(o);var a=this.clonePosition(),i=ct(t,a);return{value:n,location:i}},e.prototype.parseArgumentOptions=function(t,r,n,o){var a,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(lt.EXPECT_ARGUMENT_TYPE,ct(i,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var f=Mg(d.val);if(f.length===0)return this.error(lt.EXPECT_ARGUMENT_STYLE,ct(this.clonePosition(),this.clonePosition()));var p=ct(c,this.clonePosition());u={style:f,styleLocation:p}}var m=this.tryParseArgumentClose(o);if(m.err)return m;var b=ct(o,this.clonePosition());if(u&&U3(u==null?void 0:u.style,"::",0)){var C=xg(u.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(C,u.styleLocation);return d.err?d:{val:{type:St.number,value:n,location:b,style:d.val},err:null}}else{if(C.length===0)return this.error(lt.EXPECT_DATE_TIME_SKELETON,b);var g=C;this.locale&&(g=dg(C,this.locale));var f={type:la.dateTime,pattern:g,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?og(g):{}},w=s==="date"?St.date:St.time;return{val:{type:w,value:n,location:b,style:f},err:null}}}return{val:{type:s==="number"?St.number:s==="date"?St.date:St.time,value:n,location:b,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(lt.EXPECT_SELECT_ARGUMENT_OPTIONS,ct(y,Ue({},y)));this.bumpSpace();var M=this.parseIdentifierIfPossible(),E=0;if(s!=="select"&&M.value==="offset"){if(!this.bumpIf(":"))return this.error(lt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ct(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(lt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,lt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),M=this.parseIdentifierIfPossible(),E=d.val}var z=this.tryParsePluralOrSelectOptions(t,s,r,M);if(z.err)return z;var m=this.tryParseArgumentClose(o);if(m.err)return m;var O=ct(o,this.clonePosition());return s==="select"?{val:{type:St.select,value:n,options:j3(z.val),location:O},err:null}:{val:{type:St.plural,value:n,options:j3(z.val),offset:E,pluralType:s==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(lt.INVALID_ARGUMENT_TYPE,ct(i,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(lt.EXPECT_ARGUMENT_CLOSING_BRACE,ct(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(lt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ct(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=ig(t)}catch{return this.error(lt.INVALID_NUMBER_SKELETON,r)}return{val:{type:la.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?cg(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,o){for(var a,i=!1,s=[],l=new Set,u=o.value,c=o.location;;){if(u.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(lt.EXPECT_PLURAL_ARGUMENT_SELECTOR,lt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=ct(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?lt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:lt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(i=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?lt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:lt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ct(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(t+1,r,n);if(m.err)return m;var b=this.tryParseArgumentClose(p);if(b.err)return b;s.push([u,{value:m.val,location:ct(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,c=a.location}return s.length===0?this.error(r==="select"?lt.EXPECT_SELECT_ARGUMENT_SELECTOR:lt.EXPECT_PLURAL_ARGUMENT_SELECTOR,ct(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(lt.MISSING_OTHER_CLAUSE,ct(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,i=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,i=i*10+(s-48),this.bump();else break}var l=ct(o,this.clonePosition());return a?(i*=n,_g(i)?{val:i,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=c9(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(U3(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&f9(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function s6(e){return e>=97&&e<=122||e>=65&&e<=90}function Eg(e){return s6(e)||e===47}function Lg(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function f9(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ag(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function l6(e){e.forEach(function(t){if(delete t.location,r9(t)||n9(t))for(var r in t.options)delete t.options[r].location,l6(t.options[r].value);else Jc(t)&&a9(t.style)||(e9(t)||t9(t))&&n6(t.style)?delete t.style.location:o9(t)&&l6(t.children)})}function Hg(e,t){t===void 0&&(t={}),t=Ue({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Sg(e,t).parse();if(r.err){var n=SyntaxError(lt[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||l6(r.val),r.val}function dr(e,t){var r=t&&t.cache?t.cache:Ig,n=t&&t.serializer?t.serializer:Vg,o=t&&t.strategy?t.strategy:Tg;return o(e,{cache:r,serializer:n})}function Bg(e){return e==null||typeof e=="number"||typeof e=="boolean"}function p9(e,t,r,n){var o=Bg(n)?n:r(n),a=t.get(o);return typeof a>"u"&&(a=e.call(this,n),t.set(o,a)),a}function h9(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),a=t.get(o);return typeof a>"u"&&(a=e.apply(this,n),t.set(o,a)),a}function Y5(e,t,r,n,o){return r.bind(t,e,n,o)}function Tg(e,t){var r=e.length===1?p9:h9;return Y5(e,this,r,t.cache.create(),t.serializer)}function Dg(e,t){return Y5(e,this,h9,t.cache.create(),t.serializer)}function Og(e,t){return Y5(e,this,p9,t.cache.create(),t.serializer)}var Vg=function(){return JSON.stringify(arguments)};function G5(){this.cache=Object.create(null)}G5.prototype.get=function(e){return this.cache[e]};G5.prototype.set=function(e,t){this.cache[e]=t};var Ig={create:function(){return new G5}},fr={variadic:Dg,monadic:Og},xr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(xr||(xr={}));var Hn=function(e){ir(t,e);function t(r,n,o){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=o,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),G3=function(e){ir(t,e);function t(r,n,o,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),xr.INVALID_VALUE,a)||this}return t}(Hn),Pg=function(e){ir(t,e);function t(r,n,o){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),xr.INVALID_VALUE,o)||this}return t}(Hn),Ng=function(e){ir(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),xr.MISSING_VALUE,n)||this}return t}(Hn),f1;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(f1||(f1={}));function Zg(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==f1.literal||r.type!==f1.literal?t.push(r):n.value+=r.value,t},[])}function Rg(e){return typeof e=="function"}function T2(e,t,r,n,o,a,i){if(e.length===1&&R3(e[0]))return[{type:f1.literal,value:e[0].value}];for(var s=[],l=0,u=e;l"u")){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Hg,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),io;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(io||(io={}));var qi=function(e){ir(t,e);function t(r,n,o){var a=this,i=o?o instanceof Error?o:new Error(String(o)):void 0;return a=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,` `).concat(i?` @@ -565,8 +565,8 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi The control plane provides the config for all services in the mesh. `)]),default:B(()=>[nre,S()]),_:1},8,["title"]),S(),$(D(Ut),{trigger:"hover",title:"Data Plane Proxy (DPP)","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:B(()=>[S(N(D(t)("common.product.name"))+` attaches a data plane proxy sidecar to each service in your mesh. This sidecar handles the mesh configuration for the service. - `,1)]),default:B(()=>[ore,S()]),_:1}),S(),are,S(),ire,S(),sre]))}}),Zn={KubernetesGraph:hn(gte,{description:"KubernetesGraph"}),PostgresGraph:hn(Z1e,{description:"PostgresGraph"}),MemoryGraph:hn(Tte,{description:"MemoryGraph"}),MultizoneGraph:hn(m1e,{description:"MultizoneGraph"}),StandaloneGraph:hn(lre,{description:"StandaloneGraph"}),MainView:hn(YX,{description:"MainView"}),MeshDetails:hn(Kee,{description:"MeshDetails"})},[Iae,Pae,Nae,Zae,Rae,ure,$ae]=Za(Zn.KubernetesGraph,Zn.PostgresGraph,Zn.MemoryGraph,Zn.MultizoneGraph,Zn.StandaloneGraph,Zn.MainView,Zn.MeshDetails),cre={key:0,"aria-label":"Breadcrumb"},dre={key:0,class:"app-view-title-bar"},fre={class:"actions"},pre={key:1},hre=te({__name:"AppView",props:{breadcrumbs:{default:null},fullscreen:{type:Boolean,default:!1}},setup(e){const t=ure(),r=e,n=new Map,o=U([]),a=Symbol("app-view"),i=c=>{const d=[...c.values()];d.some(f=>f.length===0)?o.value=[]:o.value=d.flat()},s={addBreadcrumbs:(c,d)=>{if(typeof c<"u"){if(n.has(d)){const f=n.get(d);if(JSON.stringify(f)===JSON.stringify(c))return}n.set(d,c),i(n)}},removeBreadcrumbs:c=>{n.has(c)&&(n.delete(c),i(n))}},l=qt("app-view-parent",void 0);l||er("app-view-parent",s);const u=l||s;return Le(()=>r.breadcrumbs,c=>{c!==null&&u.addBreadcrumbs(c,a)},{immediate:!0}),Qr(()=>{u.removeBreadcrumbs(a)}),(c,d)=>{const f=Ht("KAlert");return h(),J(at(D(l)?"div":D(t)),null,{default:B(()=>[!D(l)&&o.value.length>0?(h(),x("nav",cre,[$(D(X9),{items:o.value},null,8,["items"])])):P("",!0),S(),v("section",{class:ie({"is-fullscreen":r.fullscreen})},[c.$slots.title?(h(),x("header",dre,[r.fullscreen?(h(),J(D(rb),{key:0})):P("",!0),S(),W(c.$slots,"title",{},void 0,!0),S(),v("div",fre,[W(c.$slots,"actions",{},void 0,!0)])])):P("",!0),S(),c.$slots.notifications?(h(),x("aside",pre,[$(f,{class:"mb-4",appearance:"warning"},{alertMessage:B(()=>[W(c.$slots,"notifications",{},void 0,!0)]),_:3})])):P("",!0),S(),W(c.$slots,"default",{},void 0,!0)],2)]),_:3})}}});const vre=Na(hre,[["__scopeId","data-v-b6f25794"]]),mre=v("span",{class:"visually-hidden"},null,-1),gre=te({__name:"DataSource",props:{src:{type:String,required:!0}},emits:["change","error"],setup(e,{emit:t}){const r=vne(),n=e,o=U(void 0),a=U(void 0),i=t;let s={};const l=Symbol(""),u=async f=>{if(o.value=void 0,s=c(s),s.src=f,f==="")return;s.controller=new AbortController;const p=r.source(f,l);p.addEventListener("message",m=>{o.value=m.data,a.value=void 0,i("change",o.value)},{signal:s.controller.signal}),p.addEventListener("error",m=>{a.value=m.error,i("error",a.value)},{signal:s.controller.signal})},c=f=>(typeof f.controller<"u"&&f.controller.abort(),typeof f.src<"u"&&r.close(f.src,l),{});Le(()=>n.src,function(f){u(f)},{immediate:!0}),Qr(()=>{s=c(s)});const d=()=>{u(n.src)};return(f,p)=>(h(),x(Se,null,[W(f.$slots,"default",{data:o.value,error:a.value,refresh:d}),S(),mre],64))}}),y5=Symbol("route-view-parent"),Cre=te({__name:"RouteTitle",props:{title:{type:String,required:!1,default:""},render:{type:Boolean,required:!1,default:!0}},setup(e){const t=e,r=Symbol("route-title"),n=qt(y5);return typeof n<"u"&&(Le(()=>t.title,o=>{o.length>0&&n.addTitle(o,r)},{immediate:!0}),Qr(()=>{n.removeTitle(r)})),(o,a)=>t.render?(h(),x(Se,{key:0},[S(N(t.title),1)],64)):P("",!0)}}),q7=function(e){let t;return(...r)=>{t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e.bind(e,...r))}},yre=(e=document.documentElement)=>{if(!e)return()=>{};const t=[...e.classList];return q7(r=>{const n=r.reduce((o,a)=>Object.entries(a).reduce((i,[s,l])=>(typeof i[s]>"u"&&(i[s]=[]),i[s].push(l),i),o),{});e.classList.remove(...[...e.classList].filter(o=>!t.includes(o))),e.classList.add(...n.class||[])})},bre=function(e){return Array.isArray(e)?e[0]:e},wre=(e,t)=>{switch(!0){case typeof t=="boolean":return e===null?!0:t;case typeof t=="number":{const r=e===null||e.length===0?t:Number(decodeURIComponent(e));return isNaN(r)?Number(t):r}case typeof t=="string":return e===null||e.length===0?t:decodeURIComponent(e)}throw new TypeError("URL parameters can only be string | number | boolean")},_re=(e=document)=>q7(t=>{e.title=t}),A8=(e,t)=>{const r={...t},n=Object.entries(e).reduce((o,[a,i])=>{switch(!0){case i===!0:o[a]=null;break;case(i!==!1&&String(i).length>0):o[a]=encodeURIComponent(String(i));break;default:o[a]=void 0}return o},r);return{...r,...n}},kre=["data-testid"],xre=te({__name:"RouteView",props:{name:{},attrs:{default:()=>({})},params:{default:()=>({})}},setup(e){const t=window,r=pne(),n=hne(),{t:o}=on(),a=Fee(),i=zee(),s=Symbol("route-view"),l=e,u=_(()=>l.name),c=U(null),d=new Map,f=new Map,p=_re(document),m=yre(document.documentElement),b=F=>F.reverse().concat(o("components.route-view.title",{name:o("common.product.name")})).join(" | "),C={addTitle:(F,H)=>{const V=c.value;V&&(V.innerHTML=o("components.route-view.route-announcer",{title:F})),d.set(H,F),p(b([...d.values()]))},removeTitle:F=>{d.delete(F),p(b([...d.values()]))},addAttrs:(F,H)=>{f.set(H,F),m([...f.values()])},removeAttrs:F=>{f.delete(F),m([...f.values()])}},g=or(structuredClone(l.params));Le(g,F=>{if(a.name===l.name){const H=Object.fromEntries(Object.entries(F).filter(([V,A])=>typeof l.params[V]=="boolean"));Object.keys(H).length>0&&M(H)}}),Le(()=>Object.keys(l.params).map(F=>a.params[F]||a.query[F]),()=>{const F={...a.query,...a.params};Object.entries({...l.params}).reduce((H,[V,A])=>{const Y=bre(typeof F[V]>"u"?"":F[V]);return H[V]=wre(Y,A),H},g)},{immediate:!0}),Le(()=>l.name,()=>{const F=Object.entries(g||{}).reduce((H,[V,A])=>(typeof a.params[V]>"u"&&(H[V]=A),H),{});Object.keys(F).length>0&&i.replace({query:A8(F,a.query)})},{immediate:!0});let w={};const y=q7(F=>{i.push({name:l.name,query:A8(F,a.query)}),w={}}),M=F=>{w={...w,...F},y(w)},E=(...F)=>{i.push(...F)},z=(...F)=>{try{if(t.history.state.back!==null){i.back();return}}catch{}E(...F)},O=qt(y5,void 0);O||(p(o("components.route-view.title",{name:o("common.product.name")})),er(y5,C));const R=O||C;return Le(()=>l.attrs,F=>{Object.keys(F).length>0&&R.addAttrs(F,s)},{immediate:!0}),Qr(()=>{R.removeAttrs(s)}),(F,H)=>(h(),x("div",{class:"route-view","data-testid":u.value},[D(O)?P("",!0):(h(),x("div",{key:0,id:"application-route-announcer",ref_key:"title",ref:c,class:"route-view-title visually-hidden","aria-live":"assertive","aria-atomic":"true"},null,512)),S(),W(F.$slots,"default",{t:D(o),env:D(r),can:D(n),route:{update:M,replace:E,params:g,back:z}})],8,kre))}}),Mre=e=>[{path:"/404",name:"kuma-not-found-view",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>e[e.length-1]()}],Sre=e=>{const t=(r,n)=>typeof e[r]<"u"?e[r](t,n):!1;return t};function Ere(e){const t=e.split(/([A-Z][a-z]+)/).join(" ").replace(/\s+/g," ").trim();return t.charAt(0).toUpperCase()+t.substring(1)}function Ui(e,t,r=void 0){if(typeof e!="object"||Array.isArray(e)||Array.isArray(t)&&t.length===0)return r;const n=Array.isArray(t)?t:t.split(".");if(n.length===1){const o=e[n[0]];return o===void 0?r:o}return Ui(e[n[0]],n.slice(1),r)}class H8 extends Error{get key(){return this.message}}const Lre=(e,t)=>{const r=kC("en-us",e,{isGlobal:!0,onError:o=>{throw o}}),n={KUMA_VERSION:t("KUMA_VERSION"),KUMA_DOCS_URL:t("KUMA_DOCS_URL"),KUMA_UTM_QUERY_PARAMS:t("KUMA_UTM_QUERY_PARAMS"),KUMA_PRODUCT_NAME:r.t("common.product.name")};return{...r,t:function(...o){var i;const a=o[0];try{if(typeof Ui(e,a)>"u")throw a.startsWith("http.api.")?new H8(a):new Error(`Missing message: "${a}" for locale "en-us", using id as fallback`);return Ui(e,a).length===0?"":(o[1]={...n,...o[1]},r.t(...o))}catch(s){switch(!0){case s instanceof H8:return Ere(s.key.split(".").pop());default:if((i=o[2])!=null&&i.defaultMessage)return o[2].defaultMessage;throw s}}}}},B8=0,T8=1,Ho=2;class Rp extends EventTarget{constructor(r,n){super();gt(this,"url","");gt(this,"withCredentials",!1);gt(this,"CONNECTING",B8);gt(this,"OPEN",T8);gt(this,"CLOSED",Ho);gt(this,"onerror",null);gt(this,"onmessage",null);gt(this,"onopen",null);gt(this,"readyState",Ho);this.source=r,this.configuration=n,this._open()}_open(){(async function(r){try{r.readyState=B8;const n=r.source();r.readyState=T8;for await(const o of n)if(r.dispatchEvent(new MessageEvent("message",{data:o})),r.readyState===Ho)break;r.readyState=Ho}catch(n){r.close(),r.dispatchEvent(new ErrorEvent("error",{error:n}))}})(this)}open(){this.readyState!==Ho&&this._open()}close(){this.readyState=Ho}}const Are=e=>e,$p=e=>(t,r={})=>{let n=0,o=0;return new Rp(async function*(){var i,s;const a=this;for(;;){o>0&&await new Promise(u=>setTimeout(u,a.configuration.interval??1e3)),(n>0||o>0)&&e.hidden&&await new Promise(u=>{e.addEventListener("visibilitychange",u,{once:!0})});let l;try{l=await t(a),typeof a.configuration.interval>"u"&&a.close(),o++,yield l}catch(u){const c=(s=(i=a.configuration)==null?void 0:i.retry)==null?void 0:s.call(i,u);if(typeof(c==null?void 0:c.then)=="function")await Promise.all([c,new Promise(d=>setTimeout(d,1e3))]),n++;else throw u}}},r)},D8=$p(new class extends EventTarget{constructor(){super(...arguments);gt(this,"hidden",!1)}}),Hre=(e,t)=>{const[r,n]=e.split("?"),o=new URLSearchParams(n),a=t.match(r),i={offset:parseInt(o.get("offset")||"0"),size:parseInt(o.get("size")||"0"),page:parseInt(o.get("page")||"0"),search:o.get("search")||"",cacheControl:o.has("no-store")?"no-store":void 0,...a.params};try{const s=a.route(i,{close:()=>{}}),l=s instanceof Rp?s:D8(()=>Promise.resolve(s),{cacheControl:i.cacheControl});return l.url=e,l}catch(s){return D8(()=>Promise.reject(s))}},Bre=(e,t)=>{t&&t.close()},Tre={create:Hre,destroy:Bre};var Li=class{constructor(e,t,r,n,o,a){gt(this,"type",3);gt(this,"name","");gt(this,"prefix","");gt(this,"value","");gt(this,"suffix","");gt(this,"modifier",3);this.type=e,this.name=t,this.prefix=r,this.value=n,this.suffix=o,this.modifier=a}hasCustomName(){return this.name!==""&&typeof this.name!="number"}},Dre=/[$_\p{ID_Start}]/u,Ore=/[$_\u200C\u200D\p{ID_Continue}]/u,b5=".*";function Vre(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function zp(e,t=!1){let r=[],n=0;for(;n{if(il("OTHER_MODIFIER")??l("ASTERISK"),c=w=>{let y=l(w);if(y!==void 0)return y;let{type:M,index:E}=r[i];throw new TypeError(`Unexpected ${M} at ${E}, expected ${w}`)},d=()=>{let w="",y;for(;y=l("CHAR")??l("ESCAPED_CHAR");)w+=y;return w},f=w=>w,p=t.encodePart||f,m="",b=w=>{m+=w},C=()=>{m.length&&(o.push(new Li(3,"","",p(m),"",3)),m="")},g=(w,y,M,E,z)=>{let O=3;switch(z){case"?":O=1;break;case"*":O=0;break;case"+":O=2;break}if(!y&&!M&&O===3){b(w);return}if(C(),!y&&!M){if(!w)return;o.push(new Li(3,"","",p(w),"",O));return}let R;M?M==="*"?R=b5:R=M:R=n;let F=2;R===n?(F=1,R=""):R===b5&&(F=0,R="");let H;if(y?H=y:M&&(H=a++),s.has(H))throw new TypeError(`Duplicate name '${H}'.`);s.add(H),o.push(new Li(F,H,p(w),R,p(E),O))};for(;i-1)}return i||(n+=`(?=${a}|${o})`),new RegExp(n,O8(r))}var vn={delimiter:"",prefixes:"",sensitive:!0,strict:!0},Pre={delimiter:".",prefixes:"",sensitive:!0,strict:!0},Nre={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function Zre(e,t){return e.length?e[0]==="/"?!0:!t||e.length<2?!1:(e[0]=="\\"||e[0]=="{")&&e[1]=="/":!1}function jp(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function Rre(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}function Yp(e){return!e||e.length<2?!1:e[0]==="["||(e[0]==="\\"||e[0]==="{")&&e[1]==="["}var Gp=["ftp","file","http","https","ws","wss"];function Kp(e){if(!e)return!0;for(let t of Gp)if(e.test(t))return!0;return!1}function $re(e,t){if(e=jp(e,"#"),t||e==="")return e;let r=new URL("https://example.com");return r.hash=e,r.hash?r.hash.substring(1,r.hash.length):""}function zre(e,t){if(e=jp(e,"?"),t||e==="")return e;let r=new URL("https://example.com");return r.search=e,r.search?r.search.substring(1,r.search.length):""}function Fre(e,t){return t||e===""?e:Yp(e)?Qp(e):Wp(e)}function Ure(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.password=e,r.password}function jre(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.username=e,r.username}function Yre(e,t,r){if(r||e==="")return e;if(t&&!Gp.includes(t))return new URL(`${t}:${e}`).pathname;let n=e[0]=="/";return e=new URL(n?e:"/-"+e,"https://example.com").pathname,n||(e=e.substring(2,e.length)),e}function Gre(e,t,r){return qp(t)===e&&(e=""),r||e===""?e:Xp(e)}function Kre(e,t){return e=Rre(e,":"),t||e===""?e:W7(e)}function qp(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function W7(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function qre(e){if(e==="")return e;let t=new URL("https://example.com");return t.username=e,t.username}function Wre(e){if(e==="")return e;let t=new URL("https://example.com");return t.password=e,t.password}function Wp(e){if(e==="")return e;if(/[\t\n\r #%/:<>?@[\]^\\|]/g.test(e))throw new TypeError(`Invalid hostname '${e}'`);let t=new URL("https://example.com");return t.hostname=e,t.hostname}function Qp(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function Xp(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function Qre(e){if(e==="")return e;let t=new URL("https://example.com");return t.pathname=e[0]!=="/"?"/-"+e:e,e[0]!=="/"?t.pathname.substring(2,t.pathname.length):t.pathname}function Xre(e){return e===""?e:new URL(`data:${e}`).pathname}function Jre(e){if(e==="")return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function ene(e){if(e==="")return e;let t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}var Wo,d1,Tt,xt,Qn,Qo,Nr,Xo,Jo,ea,zt,Yt,Rs,Jp,ji,w5,Xn,ui,ta,G2,_1,N1,Yi,_5,$s,eh,ra,K2,zs,th,Fs,rh,na,q2,kn,Zo,Zr,Fn,Us,nh,js,oh,Ys,ah,Gs,ih,R1,cr,Ks,sh,$8,tne=($8=class{constructor(e){st(this,zt);st(this,Rs);st(this,ji);st(this,Xn);st(this,ta);st(this,_1);st(this,Yi);st(this,$s);st(this,ra);st(this,zs);st(this,Fs);st(this,na);st(this,kn);st(this,Zr);st(this,Us);st(this,js);st(this,Ys);st(this,Gs);st(this,R1);st(this,Ks);st(this,Wo,void 0);st(this,d1,[]);st(this,Tt,{});st(this,xt,0);st(this,Qn,1);st(this,Qo,0);st(this,Nr,0);st(this,Xo,0);st(this,Jo,0);st(this,ea,!1);Wt(this,Wo,e)}get result(){return pe(this,Tt)}parse(){for(Wt(this,d1,zp(pe(this,Wo),!0));pe(this,xt)0)if(xe(this,js,oh).call(this))Wt(this,Xo,pe(this,Xo)-1);else continue;if(xe(this,Us,nh).call(this)){Wt(this,Xo,pe(this,Xo)+1);continue}switch(pe(this,Nr)){case 0:xe(this,Yi,_5).call(this)&&(pe(this,Tt).username="",pe(this,Tt).password="",pe(this,Tt).hostname="",pe(this,Tt).port="",pe(this,Tt).pathname="",pe(this,Tt).search="",pe(this,Tt).hash="",xe(this,Xn,ui).call(this,1));break;case 1:if(xe(this,Yi,_5).call(this)){xe(this,Ks,sh).call(this);let e=7,t=1;pe(this,ea)&&(pe(this,Tt).pathname="/"),xe(this,$s,eh).call(this)?(e=2,t=3):pe(this,ea)&&(e=2),xe(this,zt,Yt).call(this,e,t)}break;case 2:xe(this,ra,K2).call(this)?xe(this,Xn,ui).call(this,3):(xe(this,na,q2).call(this)||xe(this,kn,Zo).call(this)||xe(this,Zr,Fn).call(this))&&xe(this,Xn,ui).call(this,5);break;case 3:xe(this,zs,th).call(this)?xe(this,zt,Yt).call(this,4,1):xe(this,ra,K2).call(this)&&xe(this,zt,Yt).call(this,5,1);break;case 4:xe(this,ra,K2).call(this)&&xe(this,zt,Yt).call(this,5,1);break;case 5:xe(this,Ys,ah).call(this)?Wt(this,Jo,pe(this,Jo)+1):xe(this,Gs,ih).call(this)&&Wt(this,Jo,pe(this,Jo)-1),xe(this,Fs,rh).call(this)&&!pe(this,Jo)?xe(this,zt,Yt).call(this,6,1):xe(this,na,q2).call(this)?xe(this,zt,Yt).call(this,7,0):xe(this,kn,Zo).call(this)?xe(this,zt,Yt).call(this,8,1):xe(this,Zr,Fn).call(this)&&xe(this,zt,Yt).call(this,9,1);break;case 6:xe(this,na,q2).call(this)?xe(this,zt,Yt).call(this,7,0):xe(this,kn,Zo).call(this)?xe(this,zt,Yt).call(this,8,1):xe(this,Zr,Fn).call(this)&&xe(this,zt,Yt).call(this,9,1);break;case 7:xe(this,kn,Zo).call(this)?xe(this,zt,Yt).call(this,8,1):xe(this,Zr,Fn).call(this)&&xe(this,zt,Yt).call(this,9,1);break;case 8:xe(this,Zr,Fn).call(this)&&xe(this,zt,Yt).call(this,9,1);break}}}},Wo=new WeakMap,d1=new WeakMap,Tt=new WeakMap,xt=new WeakMap,Qn=new WeakMap,Qo=new WeakMap,Nr=new WeakMap,Xo=new WeakMap,Jo=new WeakMap,ea=new WeakMap,zt=new WeakSet,Yt=function(e,t){switch(pe(this,Nr)){case 0:break;case 1:pe(this,Tt).protocol=xe(this,R1,cr).call(this);break;case 2:break;case 3:pe(this,Tt).username=xe(this,R1,cr).call(this);break;case 4:pe(this,Tt).password=xe(this,R1,cr).call(this);break;case 5:pe(this,Tt).hostname=xe(this,R1,cr).call(this);break;case 6:pe(this,Tt).port=xe(this,R1,cr).call(this);break;case 7:pe(this,Tt).pathname=xe(this,R1,cr).call(this);break;case 8:pe(this,Tt).search=xe(this,R1,cr).call(this);break;case 9:pe(this,Tt).hash=xe(this,R1,cr).call(this);break}xe(this,Rs,Jp).call(this,e,t)},Rs=new WeakSet,Jp=function(e,t){Wt(this,Nr,e),Wt(this,Qo,pe(this,xt)+t),Wt(this,xt,pe(this,xt)+t),Wt(this,Qn,0)},ji=new WeakSet,w5=function(){Wt(this,xt,pe(this,Qo)),Wt(this,Qn,0)},Xn=new WeakSet,ui=function(e){xe(this,ji,w5).call(this),Wt(this,Nr,e)},ta=new WeakSet,G2=function(e){return e<0&&(e=pe(this,d1).length-e),e=0&&(e.pathname=Dr(n.pathname.substring(0,o+1),r)+e.pathname)}e.pathname=Yre(e.pathname,e.protocol,r)}return typeof t.search=="string"&&(e.search=zre(t.search,r)),typeof t.hash=="string"&&(e.hash=$re(t.hash,r)),e}function ci(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function rne(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function nne(e,t){t.delimiter??(t.delimiter="/#?"),t.prefixes??(t.prefixes="./"),t.sensitive??(t.sensitive=!1),t.strict??(t.strict=!1),t.end??(t.end=!0),t.start??(t.start=!0),t.endsWith="";let r=".*",n=`[^${rne(t.delimiter)}]+?`,o=/[$_\u200C\u200D\p{ID_Continue}]/u,a="";for(let i=0;i0?e[i-1]:null,d=i0?d.value[0]:"";u=o.test(f)}else u=!d.hasCustomName();if(!u&&!s.prefix.length&&c&&c.type===3){let f=c.value[c.value.length-1];u=t.prefixes.includes(f)}u&&(a+="{"),a+=ci(s.prefix),l&&(a+=`:${s.name}`),s.type===2?a+=`(${s.value})`:s.type===1?l||(a+=`(${n})`):s.type===0&&(!l&&(!c||c.type===3||c.modifier!==3||u||s.prefix!=="")?a+="*":a+=`(${r})`),s.type===1&&l&&s.suffix.length&&o.test(s.suffix[0])&&(a+="\\"),a+=ci(s.suffix),u&&(a+="}"),s.modifier!==3&&(a+=zo(s.modifier))}return a}var hr,Jn,oa,Qt,vr,z8,lh=(z8=class{constructor(e={},t,r){st(this,hr,void 0);st(this,Jn,{});st(this,oa,{});st(this,Qt,{});st(this,vr,{});try{let n;if(typeof t=="string"?n=t:r=t,typeof e=="string"){let s=new tne(e);if(s.parse(),e=s.result,n===void 0&&typeof e.protocol!="string")throw new TypeError("A base URL must be provided for a relative constructor string.");e.baseURL=n}else{if(!e||typeof e!="object")throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");if(n)throw new TypeError("parameter 1 is not of type 'string'.")}typeof r>"u"&&(r={ignoreCase:!1});let o={ignoreCase:r.ignoreCase===!0};Wt(this,hr,Qa({pathname:dn,protocol:dn,username:dn,password:dn,hostname:dn,port:dn,search:dn,hash:dn},e,!0)),qp(pe(this,hr).protocol)===pe(this,hr).port&&(pe(this,hr).port="");let i;for(i of P0){if(!(i in pe(this,hr)))continue;let s={},l=pe(this,hr)[i];switch(pe(this,oa)[i]=[],i){case"protocol":Object.assign(s,vn),s.encodePart=W7;break;case"username":Object.assign(s,vn),s.encodePart=qre;break;case"password":Object.assign(s,vn),s.encodePart=Wre;break;case"hostname":Object.assign(s,Pre),Yp(l)?s.encodePart=Qp:s.encodePart=Wp;break;case"port":Object.assign(s,vn),s.encodePart=Xp;break;case"pathname":Kp(pe(this,Jn).protocol)?(Object.assign(s,Nre,o),s.encodePart=Qre):(Object.assign(s,vn,o),s.encodePart=Xre);break;case"search":Object.assign(s,vn,o),s.encodePart=Jre;break;case"hash":Object.assign(s,vn,o),s.encodePart=ene;break}try{pe(this,vr)[i]=Fp(l,s),pe(this,Jn)[i]=Up(pe(this,vr)[i],pe(this,oa)[i],s),pe(this,Qt)[i]=nne(pe(this,vr)[i],s)}catch{throw new TypeError(`invalid ${i} pattern '${pe(this,hr)[i]}'.`)}}}catch(n){throw new TypeError(`Failed to construct 'URLPattern': ${n.message}`)}}test(e={},t){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof e!="string"&&t)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return!1;try{typeof e=="object"?r=Qa(r,e,!1):r=Qa(r,V8(e,t),!1)}catch{return!1}let n;for(n of P0)if(!pe(this,Jn)[n].exec(r[n]))return!1;return!0}exec(e={},t){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof e!="string"&&t)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return;try{typeof e=="object"?r=Qa(r,e,!1):r=Qa(r,V8(e,t),!1)}catch{return null}let n={};t?n.inputs=[e,t]:n.inputs=[e];let o;for(o of P0){let a=pe(this,Jn)[o].exec(r[o]);if(!a)return null;let i={};for(let[s,l]of pe(this,oa)[o].entries())if(typeof l=="string"||typeof l=="number"){let u=a[s+1];i[l]=u}n[o]={input:r[o]??"",groups:i}}return n}static compareComponent(e,t,r){let n=(s,l)=>{for(let u of["type","modifier","prefix","value","suffix"]){if(s[u]{let u=0;for(;u{this.routes.set(new lh({pathname:r}),n)})}match(t){for(const[r,n]of this.routes){const o=`data:${t}`;if(r.test(o)){const a=r.exec(o);return{route:n,params:(a==null?void 0:a.pathname.groups)||{}}}}throw new Error(`Matching route for '${t}' not found`)}}class ane{constructor(t,r){gt(this,"pool",new Map);this.create=t,this.destroy=r}acquire(t,r){if(!this.pool.has(t)){const o={value:this.create(t),references:new Set};this.pool.set(t,o)}const n=this.pool.get(t);return n.references.add(r),n.value}release(t,r){if(this.pool.has(t)){const n=this.pool.get(t);n.references.delete(r),n.references.size===0&&(this.pool.delete(t),this.destroy(t,n.value))}}}class ine{constructor(t,{create:r,destroy:n},o){gt(this,"cache",new Map);gt(this,"pool");gt(this,"getCacheKeyPrefix");const a=new one(t);this.pool=new ane(i=>r(i,a),(i,s)=>{n(i,s)}),this.getCacheKeyPrefix=o}source(t,r){const n=this.getCacheKeyPrefix()+t,o=this.pool.acquire(t,r);return o.addEventListener("message",a=>{const i=a.target;(i==null?void 0:i.configuration.cacheControl)!=="no-store"&&this.cache.set(n,a.data)}),this.cache.has(n)&&Promise.resolve().then(()=>{o==null||o.dispatchEvent(new MessageEvent("message",{data:this.cache.get(n)}))}),o}close(t,r){return this.pool.release(t,r)}}class sne{constructor(t){gt(this,"env");let r=t;const n=(l,u="")=>this.var(l,(r==null?void 0:r[l])??u),o=this.getConfig(),a=n("KUMA_MODE")||o.mode,i=cne(n("KUMA_VERSION",o.version)),s=encodeURIComponent(n("KUMA_PRODUCT_NAME"));r={...r,KUMA_UTM_QUERY_PARAMS:`utm_source=${s}&utm_medium=${s}`},this.env={...r,KUMA_DOCS_URL:`${n("KUMA_DOCS_URL")}/${i.patch==="0.0.0"?"dev":i.patch.replace(/\.\d+$/,".x")}`,KUMA_VERSION:i.pre,KUMA_API_URL:n("KUMA_API_URL")||o.apiUrl,KUMA_BASE_PATH:n("KUMA_BASE_PATH")||o.baseGuiPath,KUMA_MODE:a,KUMA_ENVIRONMENT:n("KUMA_ENVIRONMENT")||o.environment,KUMA_STORE_TYPE:n("KUMA_STORE_TYPE")||o.storeType,KUMA_KDS_URL:"grpcs://:5685"}}var(t,r=""){var n;return((n=this.env)==null?void 0:n[t])??r}getConfig(){const t=document.querySelector("#kuma-config");let r;if(t instanceof HTMLScriptElement&&t.textContent)try{r=JSON.parse(t.textContent.trim())}catch(n){console.error(n)}return r||(r=lne(),console.error("Unable to parse kuma config. Falling back to defaults")),r.apiUrl=une(r.apiUrl),r}}function lne(e=""){return{baseGuiPath:"/gui",apiUrl:e,version:"2.4.0",product:"Kuma",mode:"global",environment:"universal",storeType:"postgres",apiReadOnly:!1}}function uh(e){return e.endsWith("/")?uh(e.slice(0,-1)):e}function une(e){return e=!e.includes("://")&&!e.startsWith("/")?`/${e}`:e,uh(e)}function cne(e){const[t,r,...n]=e.split(".");if(isNaN(parseInt(t)))return{major:t,minor:t,patch:t,pre:t};const[o,a]=n.join(".").split("-");return{major:t,minor:`${t}.${r}`,patch:`${t}.${r}.${o}`,pre:`${t}.${r}.${o}${a!==void 0?`-${a}`:""}`}}const Gt={Env:je("application.Env"),env:je("application.env"),EnvVars:je("EnvVars"),can:je("application.can"),features:je("application.can.features"),notFoundView:je("application.not-found"),applicationComponents:je("application.components"),source:je("data.source"),sources:je("data.sources"),dataSourcePool:je("data.DataSourcePool"),dataSourceLifecycle:je("data.DataSourceLifecycle"),getDataSourceCacheKeyPrefix:je("data.getDataSourceCacheKeyPrefix"),i18n:je("i18n"),enUs:je("i18n.locale.enUs")},dne=e=>[[je("application.components"),{service:t=>[["AppView",vre],["DataSource",gre],["RouteView",xre],["RouteTitle",Cre],["I18nT",xC(t)]],arguments:[e.i18n],labels:[e.components]}],[je("application.routes"),{service:Mre,arguments:[Gt.notFoundView],labels:[e.routes]}],[Gt.i18n,{service:Lre,arguments:[Gt.enUs,e.env]}],[Gt.can,{service:Sre,arguments:[Gt.features]}],[Gt.Env,{service:sne,arguments:[e.EnvVars]}],[Gt.env,{service:t=>(...r)=>t.var(...r),arguments:[Gt.Env]}],[Gt.dataSourceLifecycle,{constant:Tre}],[Gt.source,{service:$p,arguments:[hn(document,{description:"dom.document"})]}],[Gt.getDataSourceCacheKeyPrefix,{service:()=>()=>"",arguments:[e.router]}],[Gt.dataSourcePool,{service:ine,arguments:[e.sources,Gt.dataSourceLifecycle,Gt.getDataSourceCacheKeyPrefix]}]],fne=Gt,[pne,hne,on,vne]=Za(Gt.env,Gt.can,Gt.i18n,Gt.dataSourcePool),Tl=e=>(Xe("data-v-350f9448"),e=e(),Je(),e),mne={class:"card-header"},gne={class:"card-title"},Cne={class:"columns"},yne=Tl(()=>v("img",{src:Xm},null,-1)),bne=Tl(()=>v("img",{src:Jm},null,-1)),wne=Tl(()=>v("img",{src:Xc},null,-1)),_ne=Tl(()=>v("img",{src:Xc},null,-1)),kne=te({__name:"ControlPlaneStatus",props:{globalInsight:{},canUseZones:{type:Boolean}},setup(e){const{t}=on(),r=e;return(n,o)=>{const a=Ht("KCard");return h(),J(a,null,{default:B(()=>[v("div",mne,[v("div",gne,[v("h2",null,N(D(t)("main-overview.detail.health.title")),1)])]),S(),v("div",Cne,[r.canUseZones?(h(),J(Wn,{key:0,total:r.globalInsight.zones.controlPlanes.total,online:r.globalInsight.zones.controlPlanes.online,"data-testid":"zone-control-planes-status"},{icon:B(()=>[yne]),title:B(()=>[S(N(D(t)("main-overview.detail.health.zone_control_planes")),1)]),_:1},8,["total","online"])):P("",!0),S(),$(Wn,{total:r.globalInsight.meshes.total,"data-testid":"meshes-status"},{icon:B(()=>[bne]),title:B(()=>[S(N(D(t)("main-overview.detail.health.meshes")),1)]),_:1},8,["total"]),S(),$(Wn,{total:r.globalInsight.services.internal.total,online:r.globalInsight.services.internal.online,"data-testid":"services-status"},{icon:B(()=>[wne]),title:B(()=>[S(N(D(t)("main-overview.detail.health.services")),1)]),_:1},8,["total","online"]),S(),$(Wn,{total:r.globalInsight.dataplanes.standard.total,online:r.globalInsight.dataplanes.standard.online,"data-testid":"data-plane-proxies-status"},{icon:B(()=>[_ne]),title:B(()=>[S(N(D(t)("main-overview.detail.health.data_plane_proxies")),1)]),_:1},8,["total","online"])])]),_:1})}}});const xne=Na(kne,[["__scopeId","data-v-350f9448"]]),Zs={sources:je("control-planes.sources"),ControlPlaneStatus:je("control-planes.components.ControlPlaneStatus")},Mne=e=>[[Zs.sources,{service:Mh,arguments:[e.env,e.api],labels:[e.sources]}],[Zs.ControlPlaneStatus,{service:()=>xne}],[je("control-planes.routes"),{service:wh,labels:[e.routes]}],[je("control-planes.features"),{service:bh,arguments:[e.env],labels:[e.features]}]],Sne=Zs,[zae]=Za(Zs.ControlPlaneStatus),Ene=()=>[{path:"/diagnostics",name:"diagnostics",component:()=>Be(()=>import("./DiagnosticsDetailView-393624df.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}],Lne=e=>[[je("diagnostics.routes"),{service:Ene,labels:[e.routes]}]];class Ane{constructor(t){gt(this,"storageAdapter");this.storageAdapter=t}get(t){let r;try{r=this.storageAdapter.getItem(t)}catch{return null}if(r===null||!(r.startsWith("[")||r.startsWith("{")))return r;try{return JSON.parse(r)}catch{return r}}set(t,r){try{const n=typeof r=="string"?r:JSON.stringify(r);this.storageAdapter.setItem(t,n)}catch{}}has(t){try{return this.storageAdapter.getItem(t)!==null}catch{return!1}}remove(t){try{this.storageAdapter.removeItem(t)}catch{}}}const I8=new Ane(window.localStorage),Hne={class:"onboarding-alert-content"},Bne=["innerHTML"],Tne=te({__name:"OnboardingAlert",setup(e){const{t}=on(),r=U(I8.get("hasDismissedOnboardingAlert")!=="true");function n(){r.value=!1,I8.set("hasDismissedOnboardingAlert","true")}return(o,a)=>{const i=Ht("KButton"),s=Ht("KAlert");return r.value?(h(),J(s,{key:0,appearance:"success","dismiss-type":"icon","data-testid":"onboarding-notification",onClosed:n},{alertMessage:B(()=>[v("div",Hne,[v("div",{innerHTML:D(t)("main-overview.detail.onboarding.message",{name:D(t)("common.product.name")})},null,8,Bne),S(),$(i,{appearance:"primary",size:"small",class:"action-button",to:{name:"onboarding-welcome-view"}},{default:B(()=>[S(N(D(t)("main-overview.detail.onboarding.get_started_link")),1)]),_:1})])]),_:1})):P("",!0)}}});const Dne=Na(Tne,[["__scopeId","data-v-bdbc77dd"]]),One={class:"stack"},Vne=te({__name:"ControlPlaneStatusWithOnboarding",props:{globalInsight:{},canUseZones:{type:Boolean}},setup(e){const t=Nne(),r=e;return(n,o)=>(h(),x("div",One,[n.globalInsight.meshes.total===1?(h(),J(Dne,{key:0})):P("",!0),S(),$(D(t),{"can-use-zones":r.canUseZones,"global-insight":n.globalInsight},null,8,["can-use-zones","global-insight"])]))}}),Ine=()=>[{path:"/onboarding",redirect:{name:"onboarding-welcome-view"},component:()=>Be(()=>import("./OnboardingRootView-82315947.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome-view",component:()=>Be(()=>import("./OnboardingWelcomeView-e9acfcfa.js"),["./OnboardingPage-b708a949.css","./OnboardingWelcomeView-ba0c5c64.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types-view",component:()=>Be(()=>import("./OnboardingDeploymentTypesView-855085cd.js"),["./OnboardingPage-b708a949.css","./OnboardingDeploymentTypesView-2f052c8a.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types-view",component:()=>Be(()=>import("./OnboardingConfigurationTypesView-f9478305.js"),["./OnboardingPage-b708a949.css","./OnboardingConfigurationTypesView-7c8a5017.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone-view",component:()=>Be(()=>import("./OnboardingMultiZoneView-ba69942e.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-b708a949.css","./OnboardingMultiZoneView-abcc5530.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh-view",component:()=>Be(()=>import("./OnboardingCreateMeshView-793da65e.js"),["./OnboardingPage-b708a949.css","./OnboardingCreateMeshView-fb39b91f.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-new-services-view",component:()=>Be(()=>import("./OnboardingAddNewServicesView-516aef60.js"),["./OnboardingPage-b708a949.css","./OnboardingAddNewServicesView-23f21aef.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-new-services-code-view",component:()=>Be(()=>import("./OnboardingAddNewServicesCodeView-513a59ab.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-b708a949.css","./CodeBlock-64fe627b.css","./OnboardingAddNewServicesCodeView-1aa9ca9a.css"],import.meta.url)},{path:"dataplanes-overview",name:"onboarding-dataplanes-view",component:()=>Be(()=>import("./OnboardingDataplanesView-4c1789da.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-b708a949.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./StatusBadge-8194fcb8.css","./OnboardingDataplanesView-a63b1ad7.css"],import.meta.url)},{path:"completed",name:"onboarding-completed-view",component:()=>Be(()=>import("./OnboardingCompletedView-8956a5d0.js"),["./OnboardingPage-b708a949.css","./OnboardingCompletedView-a7cfb1d4.css"],import.meta.url)}]}],ch=je("onboarding.components.ControlPlaneStatus"),Pne=e=>[[je("onboarding.routes"),{service:Ine,labels:[e.routes]}],[je("onboarding.components.ControlPlaneStatusWithOnboarding"),{service:t=>(Y7(ch,{service:t}),Vne),decorates:e.ControlPlaneStatus}]],[Nne]=Za(ch),Zne=e=>[[je("kuma.components.not-found"),{service:()=>[()=>Be(()=>import("./KumaNotFoundView-3e1825d3.js"),[],import.meta.url)],labels:[e.notFoundView]}]],Rne=()=>({"/me":async(e={},t)=>(t.close(),Promise.resolve({pageSize:50}))}),$ne={sources:je("me.sources")},zne=e=>[[$ne.sources,{service:Rne,arguments:[e.api],labels:[e.sources]}]],Fne=(e,t,r)=>[{path:"/meshes",name:"mesh-index-view",redirect:{name:"mesh-list-view"},component:()=>Be(()=>import("./MeshRootView-86aaac48.js"),[],import.meta.url),children:[{path:"",name:"mesh-list-view",component:()=>Be(()=>import("./MeshListView-d6cd3cf6.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./SummaryView-f125afe1.css","./MeshListView-04acf3fa.css"],import.meta.url),children:[{path:":mesh",name:"mesh-summary-view",component:()=>Be(()=>import("./MeshSummaryView-eb5d35fd.js"),["./MeshSummaryView-fb53424c.css"],import.meta.url)}]},{path:":mesh",name:"mesh",redirect:{name:"mesh-detail-view"},children:[{path:"",name:"mesh-detail-tabs-view",redirect:{name:"mesh-detail-view"},component:()=>Be(()=>import("./MeshDetailTabsView-a0d46b91.js"),["./NavTabs-98023bcc.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css"],import.meta.url),children:[{path:"overview",meta:{module:"meshes"},name:"mesh-detail-view",component:()=>Be(()=>import("./MeshDetailView-a0aeb93c.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./MeshDetailView-33fe715e.css"],import.meta.url)},{path:"config",name:"mesh-config-view",component:()=>Be(()=>import("./MeshConfigView-41fe6010.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},...e.items(),...t.items(),...r.items()]},...e.item(),...t.item(),...r.item()]}]}],dh={fromArray:e=>{const t=Array.isArray(e)?e:[],r=t.slice();r.sort((a,i)=>Date.parse(i.status.lastUpdateTime)-Date.parse(a.status.lastUpdateTime));const n=r.find(a=>typeof a.version<"u"),o=r.find(a=>!a.disconnectTime);return{subscriptions:t,connectedSubscription:o,version:n==null?void 0:n.version}}},fh={fromObject(e){const{inbound:t,outbound:r,...n}=e,o=Array.isArray(t)?t:[],a=Array.isArray(r)?r:[];return{...n,inbounds:o.map(i=>({...i,health:{ready:Q7(i.health)?i.health.ready:!0},service:i.tags["kuma.io/service"],protocol:i.tags["kuma.io/protocol"]??"tcp",addressPort:`${i.address??e.advertisedAddress??e.address}:${i.port}`,serviceAddressPort:`${i.serviceAddress??i.address??e.address}:${i.servicePort??i.port}`})),outbounds:a.map(i=>({...i,service:i.tags["kuma.io/service"],protocol:i.tags["kuma.io/protocol"]??"tcp"}))}}},Une={fromObject(e){return{...e,config:e,networking:fh.fromObject(e.networking)}}},jne={fromArray:e=>dh.fromArray(e)},Yne={fromObject(e){return{...e,...jne.fromArray(e==null?void 0:e.subscriptions)}}},di={fromObject(e,t){var d;const r=Yne.fromObject(e.dataplaneInsight),n=fh.fromObject(e.dataplane.networking),o=Jne(n),a=Wne(n),i=Xne(r,a,t),s=Qne(r),l=Q7(r.connectedSubscription)?"online":"offline",u=a.filter(f=>f.label==="kuma.io/service").map(({value:f})=>f),c=(d=a.find(f=>f.label==="kuma.io/zone"))==null?void 0:d.value;return{...e,dataplane:{networking:n},dataplaneInsight:r,dataplaneType:o,status:n.gateway?l:(()=>{const f=n.inbounds.filter(p=>!p.health.ready);switch(!0){case f.length===n.inbounds.length:return"offline";case f.length>0:return"partially_degraded";default:return l}})(),warnings:i,isCertExpired:s,services:u,zone:c}},fromCollection(e,t){return{...e,items:Array.isArray(e.items)?e.items.map(r=>di.fromObject(r,t)):[]}}},Gne={fromCollection(e){const t=Array.isArray(e.items)?e.items:[],r=eoe(t);return{...e,items:t,policyTypeEntries:r}}},Kne={fromCollection(e){const t=Array.isArray(e.rules)?e.rules:[],r=roe(t),n=noe(t),o=ooe(t);return{...e,rules:t,proxyRules:r,toRules:n,fromRuleInbounds:o}}},qne={fromObject(e){const t=aoe(e),r=Object.values(e.policies??{}).map(({mesh:n,name:o,type:a})=>({mesh:n,name:o,type:a}));return{...e,listenerEntries:t,routePolicies:r}}};function Wne({gateway:e,inbounds:t}){let r=[];const n="=";t.length>0&&(r=t.flatMap(a=>Object.entries(a.tags)).map(([a,i])=>`${a}${n}${i}`)),e&&(r=Object.entries(e.tags).map(([a,i])=>`${a}${n}${i}`));const o=Array.from(new Set(r));return o.sort((a,i)=>a.localeCompare(i)),o.map(a=>{const[i,s]=a.split(n);return{label:i,value:s}})}function Qne({mTLS:e}){return e?Date.now()>new Date(e.certificateExpirationTime).getTime():!1}function Xne({version:e},t,r){var o,a;if(!Q7(e))return[];const n=[];return e.kumaDp&&e.envoy&&((((o=e.kumaDp)==null?void 0:o.kumaCpCompatible)??!0)||n.push({kind:"INCOMPATIBLE_UNSUPPORTED_KUMA_DP",payload:{kumaDp:e.kumaDp.version}}),(((a=e.envoy)==null?void 0:a.kumaDpCompatible)??!0)||n.push({kind:"INCOMPATIBLE_UNSUPPORTED_ENVOY",payload:{envoy:e.envoy.version,kumaDp:e.kumaDp.version}})),r&&t.find(s=>s.label==="kuma.io/zone")&&typeof e.kumaDp.kumaCpCompatible=="boolean"&&!e.kumaDp.kumaCpCompatible&&n.push({kind:"INCOMPATIBLE_ZONE_CP_AND_KUMA_DP_VERSIONS",payload:{kumaDp:e.kumaDp.version}}),n}function Jne({gateway:e}){return e?e.type?e.type.toLowerCase():"delegated":"standard"}function eoe(e){const t=new Map;for(const n of e){const{type:o,service:a}=n,i=typeof a=="string"&&a!==""?[{label:"kuma.io/service",value:a}]:[],s=o==="inbound"||o==="outbound"?n.name:null;for(const[l,u]of Object.entries(n.matchedPolicies)){t.has(l)||t.set(l,{type:l,connections:[]});const c=t.get(l);for(const d of u){const f=toe(d,n,i,s);c.connections.push(...f)}}}const r=Array.from(t.values());return r.sort((n,o)=>n.type.localeCompare(o.type)),r}function toe(e,t,r,n){const o=e.conf&&Object.keys(e.conf).length>0?e.conf:void 0,a=[{name:e.name,mesh:e.mesh,type:e.type}],i=[];if(t.type==="inbound"&&Array.isArray(e.sources))for(const{match:s}of e.sources){const u={sourceTags:[{label:"kuma.io/service",value:s["kuma.io/service"]}],destinationTags:r,name:n,config:o,origins:a};i.push(u)}else{const l={sourceTags:[],destinationTags:r,name:n,config:o,origins:a};i.push(l)}return i}function roe(e){return e.map(t=>{const{type:r,proxyRule:n}=t;if(n===void 0)return null;const o=n.conf&&Object.keys(n.conf).length>0?n.conf:void 0,a=n.origin;return{type:r,rules:[{config:o,origins:a}]}}).filter(t=>t!==null)}function noe(e){const t=[];for(const r of e){const n=r.toRules??[];n.length>0&&t.push({type:r.type,rules:ph(n)})}return t.sort((r,n)=>r.type.localeCompare(n.type)),t}function ooe(e){const t=new Map;for(const n of e){const o=n.fromRules??[];if(o.length!==0)for(const a of o)t.has(a.inbound.port)||t.set(a.inbound.port,[]),t.get(a.inbound.port).push({type:n.type,rules:ph(a.rules)})}for(const[,n]of t)n.sort((o,a)=>o.type.localeCompare(a.type));const r=Array.from(t);return r.sort(([n],[o])=>o-n),r.map(([n,o])=>({port:n,ruleEntries:o}))}function ph(e){return e.map(({conf:t,matchers:r,origin:n})=>({config:t&&Object.keys(t).length>0?t:void 0,matchers:r,origins:n}))}function aoe(e){const t=[],r=e.listeners??[];for(const n of r)for(const o of n.hosts)for(const a of o.routes){const i=[];for(const s of a.destinations){const l=Object.values(s.policies??{}).map(({mesh:u,name:c,type:d})=>({mesh:u,name:c,type:d}));i.push({route:{mesh:e.gateway.mesh,name:a.route,type:"MeshGatewayRoute"},service:s.tags["kuma.io/service"],origins:l})}t.push({protocol:n.protocol,port:n.port,hostName:o.hostName,routeEntries:i})}return t}function Xa({total:e=0,online:t=0,partiallyDegraded:r=0,offline:n=0}){return{total:e,online:t,partiallyDegraded:r,offline:n}}function Q7(e){return e!==null&&typeof e<"u"}const ioe={fromObject(e){return{...e,config:e}}},k5={fromObject(e){const t=e.serviceType??"internal",r=e.status??"not_available";return{...e,serviceType:t,status:r}},fromCollection(e){return{...e,items:Array.isArray(e.items)?e.items.map(t=>k5.fromObject(t)):[]}}};function soe({total:e=0,internal:t=0,external:r=0}){return{total:e,internal:t,external:r}}const loe={fromObject(e){const t=P8(e.mtls),r=P8(e.metrics);return{...e,config:e,mtlsBackend:t,metricsBackend:r}}},x5={fromObject(e){const t=Xa(e.dataplanes),r={standard:Xa(e.dataplanesByType.standard),gateway:Xa(e.dataplanesByType.gateway),gatewayBuiltin:Xa(e.dataplanesByType.gatewayBuiltin),gatewayDelegated:Xa(e.dataplanesByType.gatewayDelegated)},n=soe(e.services),o=Object.values(e.policies??{}).reduce((a,i)=>a+i.total,0);return{...e,dataplanes:t,dataplanesByType:r,services:n,totalPolicyCount:o}},fromCollection(e){return{...e,items:Array.isArray(e.items)?e.items.map(t=>x5.fromObject(t)):[]}}};function P8(e){if(e!=null&&e.enabledBackend&&Array.isArray(e.backends))return e.backends.find(t=>t.name===e.enabledBackend)}const uoe=e=>({"/meshes/:name":async t=>{const{name:r}=t;return loe.fromObject(await e.getMesh({name:r}))},"/meshes/:name/as/kubernetes":t=>{const{name:r}=t;return e.getMesh({name:r},{format:"kubernetes"})},"/mesh-insights":async t=>{const{size:r}=t,n=t.size*(t.page-1);return x5.fromCollection(await e.getAllMeshInsights({size:r,offset:n}))},"/mesh-insights/:name":async t=>{const{name:r}=t;return x5.fromObject(await e.getMeshInsights({name:r}))}}),coe=e=>({}),doe=["protocol","service","zone"];function N8(e){const t=new Map;for(const[r,n]of e){const o=doe.includes(r),a=o?"tag":r;t.has(a)||t.set(a,[]);const i=t.get(a);let s;a==="tag"?s=(o?`kuma.io/${r}:${n}`:n).replace(/\s+/g,""):s=n,i.push(s.trim())}return t}const foe=e=>e.trim().split(` -`).filter(t=>["http.","tcp.","cluster."].some(r=>t.startsWith(r))).reduce((t,r)=>{const[n,...o]=r.trim().split(":"),a=(i=>{try{return JSON.parse(i)}catch{return i}})(o.join(":").trim());return n.split(".").reduce((i,s,l,u)=>{if(l===u.length-1)return i[s]=a,i;if(typeof i[s]>"u"){const c={};return i[s]=c,c}else return i[s]},t),t},{}),N0=(e,t)=>{const r=["http","tcp","cluster"],n={};return r.map(o=>Object.entries(e[o]||{}).filter(([a,i])=>t(a)).forEach(([a,i])=>{if(typeof n[a]>"u"&&(n[a]={name:a,port:a.split("_").at(-1)??"",protocol:o}),o==="cluster"){typeof i.grpc<"u"&&(n[a].protocol="grpc",n[a].grpc=i);return}n[a][o]=i})),Object.values(n)},Z0=(e,t)=>e.includes(t),poe=(e,t,r)=>Are({"/dataplanes/poll":n=>{const{size:o,page:a}=n,i=o*(a-1),s=r("use zones");return e(async()=>di.fromCollection(await t.getAllDataplaneOverviews({size:o,offset:i}),s),{interval:1e3})},"/meshes/:mesh/dataplanes/:name":async n=>Une.fromObject(await t.getDataplaneFromMesh(n)),"/meshes/:mesh/dataplanes/:name/as/kubernetes":async n=>t.getDataplaneFromMesh(n,{format:"kubernetes"}),"/meshes/:mesh/dataplanes/:name/traffic":async n=>{const{mesh:o,name:a}=n,i=await t.getDataplaneData({mesh:o,dppName:a,dataPath:"stats"}),s=foe(i),l=N0(s,d=>d.startsWith("localhost_")),u=N0(s,d=>!["_","admin","async-client","kuma_envoy_admin","probe_listener","localhost_","inbound_passthrough","outbound_passthrough","access_log_sink","ads_cluster","meshtrace_zipkin"].some(f=>d.startsWith(f)));return{passthrough:N0(s,d=>["outbound_passthrough_"].some(f=>d.startsWith(f))).reduce((d,f)=>({...d,...["http","tcp"].reduce((p,m)=>(p[m]=Object.entries(f[m]||{}).reduce((b,[C,g])=>({...b,[C]:g+(b[C]??0)}),p[m]||{}),p),d)}),{name:"outbound_passthrough"}),inbounds:l,outbounds:u,$raw:i,config:i}},"/meshes/:mesh/dataplanes/:name/data-path/:dataPath":async n=>{const{mesh:o,name:a}=n,i=Z0(["xds","clusters","stats"],n.dataPath)?n.dataPath:"xds";return t.getDataplaneData({mesh:o,dppName:a,dataPath:i})},"/meshes/:mesh/dataplanes/:name/sidecar-dataplane-policies":async n=>Gne.fromCollection(await t.getSidecarDataplanePolicies(n)),"/meshes/:mesh/dataplanes/:name/rules":async n=>Kne.fromCollection(await t.getDataplaneRules(n)),"/meshes/:mesh/dataplanes/:name/gateway-dataplane-policies":async n=>qne.fromObject(await t.getMeshGatewayDataplane(n)),"/meshes/:mesh/dataplane-overviews/:name":async n=>di.fromObject(await t.getDataplaneOverviewFromMesh(n),r("use zones")),"/meshes/:mesh/dataplanes/of/:type":async n=>{const{mesh:o,size:a}=n,i=a*(n.page-1),s=Object.fromEntries(N8(JSON.parse(n.search||"[]"))),l=n.type==="standard"?"false":n.type,u=Z0(["delegated","builtin","false"],l)?{gateway:l}:{};return di.fromCollection(await t.getAllDataplaneOverviewsFromMesh({mesh:o},{...s,...u,offset:i,size:a}),r("use zones"))},"/meshes/:mesh/dataplanes/for/:service/of/:type":async n=>{const{mesh:o,size:a}=n,i=a*(n.page-1),s=Object.fromEntries(N8(JSON.parse(n.search||"[]")));typeof s.tag>"u"&&(s.tag=[]),s.tag=s.tag.filter(c=>!c.startsWith("kuma.io/service:")),s.tag.push(`kuma.io/service:${n.service}`);const l=n.type==="standard"?"false":n.type,u=Z0(["delegated","builtin","false"],l)?{gateway:l}:{};return di.fromCollection(await t.getAllDataplaneOverviewsFromMesh({mesh:o},{...s,...u,offset:i,size:a}),r("use zones"))}}),hoe=()=>({items:()=>[{path:"data-planes",name:"data-plane-list-view",meta:{module:"data-planes"},component:()=>Be(()=>import("./DataPlaneListView-799dc1fe.js"),["./AppCollection-6359d3b1.css","./StatusBadge-8194fcb8.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./FilterBar-c6fa64d4.css","./ErrorBlock-bcc21522.css","./SummaryView-f125afe1.css","./DataPlaneListView-d3545dd9.css"],import.meta.url),children:[{path:":dataPlane",name:"data-plane-summary-view",component:()=>Be(()=>import("./DataPlaneSummaryView-09954152.js"),["./StatusBadge-8194fcb8.css","./TagList-e2c71478.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./DataPlaneSummaryView-67703463.css"],import.meta.url)}]}],item:()=>[{path:"data-planes/:dataPlane",name:"data-plane-detail-tabs-view",component:()=>Be(()=>import("./DataPlaneDetailTabsView-ae5d7b11.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./NavTabs-98023bcc.css"],import.meta.url),children:[{path:"overview",name:"data-plane-detail-view",component:()=>Be(()=>import("./DataPlaneDetailView-87aedfb8.js"),["./StatusBadge-8194fcb8.css","./SummaryView-f125afe1.css","./TagList-e2c71478.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./AccordionList-8bab9627.css","./SubscriptionList-408b08ab.css","./DataPlaneDetailView-26ac12cd.css"],import.meta.url),children:[{path:"inbound/:service",name:"data-plane-inbound-summary-view",component:()=>Be(()=>import("./DataPlaneInboundSummaryView-94e5830b.js"),["./NavTabs-98023bcc.css","./DataPlaneInboundSummaryView-01acf4b0.css"],import.meta.url),children:[{path:"overview",name:"data-plane-inbound-summary-overview-view",component:()=>Be(()=>import("./DataPlaneInboundSummaryOverviewView-cb383171.js"),["./TagList-e2c71478.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css"],import.meta.url)},{path:"stats",name:"data-plane-inbound-summary-stats-view",component:()=>Be(()=>import("./DataPlaneInboundSummaryStatsView-3ec7f0af.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"clusters",name:"data-plane-inbound-summary-clusters-view",component:()=>Be(()=>import("./DataPlaneInboundSummaryClustersView-4be2bd31.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]},{path:"outbound/:service",name:"data-plane-outbound-summary-view",component:()=>Be(()=>import("./DataPlaneOutboundSummaryView-47b535e1.js"),["./NavTabs-98023bcc.css","./DataPlaneOutboundSummaryView-230eb0f0.css"],import.meta.url),children:[{path:"overview",name:"data-plane-outbound-summary-overview-view",component:()=>Be(()=>import("./DataPlaneOutboundSummaryOverviewView-c16fa73c.js"),[],import.meta.url)},{path:"stats",name:"data-plane-outbound-summary-stats-view",component:()=>Be(()=>import("./DataPlaneOutboundSummaryStatsView-ede06944.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"clusters",name:"data-plane-outbound-summary-clusters-view",component:()=>Be(()=>import("./DataPlaneOutboundSummaryClustersView-92680345.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]}]},{path:"policies",name:"data-plane-policies-view",component:()=>Be(()=>import("./DataPlanePoliciesView-0ffbaa66.js"),["./AccordionList-8bab9627.css","./CodeBlock-64fe627b.css","./PolicyTypeTag-f5c09fb0.css","./TagList-e2c71478.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./DataPlanePoliciesView-74699aa5.css"],import.meta.url)},{path:"xds-config",name:"data-plane-xds-config-view",component:()=>Be(()=>import("./DataPlaneXdsConfigView-a40b23f8.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"stats",name:"data-plane-stats-view",component:()=>Be(()=>import("./DataPlaneStatsView-7e0e5fcf.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"clusters",name:"data-plane-clusters-view",component:()=>Be(()=>import("./DataPlaneClustersView-2fa51065.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"config",name:"data-plane-config-view",component:()=>Be(()=>import("./DataPlaneConfigView-c8afcf0f.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]}]}),voe=e=>[[je("data-planes.sources"),{service:poe,arguments:[e.source,e.api,e.can],labels:[e.sources]}],[je("data-planes.features"),{service:coe,arguments:[e.env],labels:[e.features]}]],hh={fromObject(e){return e},fromCollection(e){return{...e,items:Array.isArray(e.items)?e.items.map(t=>hh.fromObject(t)):[]}}},M5={fromObject(e){return{...e,config:e}},fromCollection(e){return{...e,items:Array.isArray(e.items)?e.items.map(t=>M5.fromObject(t)):[]}}},moe=e=>({"/*/policy-types":(t,r)=>(r.close(),e.getPolicyTypes()),"/meshes/:mesh/policy-path/:path":async(t,r)=>{r.close();const{mesh:n,path:o,size:a}=t,i=t.size*(t.page-1);return M5.fromCollection(await e.getAllPolicyEntitiesFromMesh({mesh:n,path:o},{offset:i,size:a}))},"/meshes/:mesh/policy-path/:path/policy/:name":async(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return M5.fromObject(await e.getSinglePolicyEntity({mesh:n,path:o,name:a}))},"/meshes/:mesh/policy-path/:path/policy/:name/dataplanes":async(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return hh.fromCollection(await e.getPolicyConnections({mesh:n,path:o,name:a}))},"/meshes/:mesh/policy-path/:path/policy/:name/as/kubernetes":(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return e.getSinglePolicyEntity({mesh:n,path:o,name:a},{format:"kubernetes"})}}),goe=()=>({items:()=>[{path:"policies",name:"policy-list-index-view",meta:{module:"policies"},redirect:t=>({...t,params:{...t.params,policyPath:"circuit-breakers"},name:"policy-list-view"}),children:[{path:":policyPath",name:"policy-list-view",component:()=>Be(()=>import("./PolicyListView-6354f454.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./PolicyTypeTag-f5c09fb0.css","./SummaryView-f125afe1.css","./PolicyListView-6c6be17a.css"],import.meta.url),children:[{path:":policy",name:"policy-summary-view",component:()=>Be(()=>import("./PolicySummaryView-c2b73f32.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./PolicySummaryView-9528804d.css"],import.meta.url)}]}]}],item:()=>[{path:"policies/:policyPath/:policy/overview",name:"policy-detail-view",component:()=>Be(()=>import("./PolicyDetailView-688dafd3.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]}),Coe=e=>[[je("policies.sources"),{service:moe,arguments:[e.api],labels:[e.sources]}]],yoe=e=>({"/meshes/:mesh/service-insights":async(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1);return k5.fromCollection(await e.getAllServiceInsightsFromMesh({mesh:n},{size:o,offset:a}))},"/meshes/:mesh/service-insights/:name":async(t,r)=>{r.close();const{mesh:n,name:o}=t;return k5.fromObject(await e.getServiceInsight({mesh:n,name:o}))},"/meshes/:mesh/external-services/for/:service":async(t,r)=>{r.close();const{mesh:n,service:o}=t,{items:a}=await e.getAllExternalServicesFromMesh({mesh:n},{tag:[`kuma.io/service:${o}`]});return a.length>0?ioe.fromObject(a[0]):null},"/meshes/:mesh/external-service/:name/as/kubernetes":async t=>{const{mesh:r,name:n}=t;return e.getExternalService({mesh:r,name:n},{format:"kubernetes"})}}),boe=()=>({items:()=>[{path:"services",name:"service-list-view",meta:{module:"services"},component:()=>Be(()=>import("./ServiceListView-6ae3f7d6.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./StatusBadge-8194fcb8.css","./SummaryView-f125afe1.css","./ServiceListView-88682616.css"],import.meta.url)}],item:()=>[{path:"services/:service",name:"service-detail-tabs-view",component:()=>Be(()=>import("./ServiceDetailTabsView-e5379324.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./NavTabs-98023bcc.css"],import.meta.url),children:[{path:"overview",name:"service-detail-view",component:()=>Be(()=>import("./ServiceDetailView-aa5e9db0.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./TagList-e2c71478.css","./StatusBadge-8194fcb8.css"],import.meta.url)},{path:"config",name:"service-config-view",component:()=>Be(()=>import("./ServiceConfigView-2317a0a8.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"data-plane-proxies",name:"service-data-plane-proxies-view",meta:{module:"service-data-planes"},component:()=>Be(()=>import("./ServiceDataPlaneProxiesView-ee879085.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./AppCollection-6359d3b1.css","./StatusBadge-8194fcb8.css","./FilterBar-c6fa64d4.css","./SummaryView-f125afe1.css","./ServiceDataPlaneProxiesView-3c8afa77.css"],import.meta.url),children:[{path:":dataPlane",name:"service-data-plane-summary-view",component:()=>Be(()=>import("./DataPlaneSummaryView-09954152.js"),["./StatusBadge-8194fcb8.css","./TagList-e2c71478.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./DataPlaneSummaryView-67703463.css"],import.meta.url)}]}]}]}),woe=e=>[[je("service.sources"),{service:yoe,arguments:[e.api],labels:[e.sources]}]],Bo={dataplaneRoutes:je("kuma.dataplane.routes"),serviceRoutes:je("kuma.service.routes"),policyRoutes:je("kuma.policy.routes")},_oe=e=>[[je("meshes.routes"),{service:Fne,arguments:[Bo.serviceRoutes,Bo.dataplaneRoutes,Bo.policyRoutes],labels:[e.routes]}],[Bo.dataplaneRoutes,{service:hoe}],[Bo.serviceRoutes,{service:boe}],[Bo.policyRoutes,{service:goe}],[je("meshes.sources"),{service:uoe,arguments:[e.api],labels:[e.sources]}],...woe(e),...voe(e),...Coe(e)],koe=e=>({"use zones":()=>e("KUMA_MODE")==="global","create zones":t=>t("use zones")&&e("KUMA_ZONE_CREATION_FLOW")==="enabled"}),S2=(e="egresses")=>({items:()=>[{path:`${e}`,name:"zone-egress-list-view",meta:{module:"zone-egresses"},component:()=>Be(()=>import("./ZoneEgressListView-2557f197.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./StatusBadge-8194fcb8.css","./SummaryView-f125afe1.css","./ZoneEgressListView-be180964.css"],import.meta.url),children:[{path:":zoneEgress",name:"zone-egress-summary-view",component:()=>Be(()=>import("./ZoneEgressSummaryView-b941a6d9.js"),["./StatusBadge-8194fcb8.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ZoneEgressSummaryView-95797250.css"],import.meta.url)}]}],item:()=>[{path:`${e}/:zoneEgress`,name:"zone-egress-detail-tabs-view",component:()=>Be(()=>import("./ZoneEgressDetailTabsView-4bdaf901.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./NavTabs-98023bcc.css"],import.meta.url),redirect:{name:"zone-egress-detail-view"},children:[{path:"overview",name:"zone-egress-detail-view",component:()=>Be(()=>import("./ZoneEgressDetailView-650077c9.js"),["./StatusBadge-8194fcb8.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./AccordionList-8bab9627.css","./SubscriptionList-408b08ab.css"],import.meta.url)},{path:"xds-config",name:"zone-egress-xds-config-view",component:()=>Be(()=>import("./ZoneEgressXdsConfigView-819b2fed.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"stats",name:"zone-egress-stats-view",component:()=>Be(()=>import("./ZoneEgressStatsView-745c444a.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"clusters",name:"zone-egress-clusters-view",component:()=>Be(()=>import("./ZoneEgressClustersView-2014d5f6.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"config",name:"zone-egress-config-view",component:()=>Be(()=>import("./ZoneEgressConfigView-57d187b7.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]}]}),Z8=(e="ingresses")=>({items:()=>[{path:`${e}`,name:"zone-ingress-list-view",meta:{module:"zone-ingresses"},component:()=>Be(()=>import("./ZoneIngressListView-773cc9f2.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./StatusBadge-8194fcb8.css","./SummaryView-f125afe1.css","./ZoneIngressListView-b6d243fe.css"],import.meta.url),children:[{path:":zoneIngress",name:"zone-ingress-summary-view",component:()=>Be(()=>import("./ZoneIngressSummaryView-6e9164e1.js"),["./StatusBadge-8194fcb8.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ZoneIngressSummaryView-48249baa.css"],import.meta.url)}]}],item:()=>[{path:`${e}/:zoneIngress`,name:"zone-ingress-detail-tabs-view",component:()=>Be(()=>import("./ZoneIngressDetailTabsView-144e3c1e.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./NavTabs-98023bcc.css"],import.meta.url),redirect:{name:"zone-ingress-detail-view"},children:[{path:"overview",name:"zone-ingress-detail-view",component:()=>Be(()=>import("./ZoneIngressDetailView-7748f205.js"),["./StatusBadge-8194fcb8.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./AccordionList-8bab9627.css","./SubscriptionList-408b08ab.css"],import.meta.url)},{path:"services",name:"zone-ingress-services-view",component:()=>Be(()=>import("./ZoneIngressServicesView-175edde5.js"),["./AppCollection-6359d3b1.css"],import.meta.url)},{path:"xds-config",name:"zone-ingress-xds-config-view",component:()=>Be(()=>import("./ZoneIngressXdsConfigView-9045a15a.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"stats",name:"zone-ingress-stats-view",component:()=>Be(()=>import("./ZoneIngressStatsView-08ea7529.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"clusters",name:"zone-ingress-clusters-view",component:()=>Be(()=>import("./ZoneIngressClustersView-58fde3a2.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"config",name:"zone-ingress-config-view",component:()=>Be(()=>import("./ZoneIngressConfigView-c5abed7c.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]}]}),xoe=()=>[{path:"/zones/-create",name:"zone-create-view",meta:{isWizard:!0},component:()=>Be(()=>import("./ZoneCreateView-8c1c2cc0.js"),["./CodeBlock-64fe627b.css","./ZoneCreateView-ee734ba7.css"],import.meta.url)}],Moe=(e,t)=>{const r="/zones";return[...e,...t("use zones")?[{path:`${r}`,name:"zone-index-view",redirect:{name:"zone-cp-list-view"},children:[{path:"",name:"zone-cp-list-view",meta:{module:"zone-cps"},component:()=>Be(()=>import("./ZoneListView-40d4445b.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./StatusBadge-8194fcb8.css","./SummaryView-f125afe1.css","./ZoneListView-890bbc0d.css"],import.meta.url)},{path:":zone",name:"zone-cp-detail-abstract-view",children:[{path:"",name:"zone-cp-detail-tabs-view",component:()=>Be(()=>import("./ZoneDetailTabsView-9a99bbb2.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./NavTabs-98023bcc.css"],import.meta.url),redirect:{name:"zone-cp-detail-view"},children:[{path:"overview",name:"zone-cp-detail-view",component:()=>Be(()=>import("./ZoneDetailView-02ab6610.js"),["./StatusBadge-8194fcb8.css","./AccordionList-8bab9627.css","./SubscriptionList-408b08ab.css"],import.meta.url)},{path:"config",name:"zone-cp-config-view",component:()=>Be(()=>import("./ZoneConfigView-a880f07b.js"),["./CodeBlock-64fe627b.css"],import.meta.url)},...Z8().items(),...S2().items()]},...Z8().item(),...S2().item()]}]}]:[{path:`${r}`,redirect:{name:"zone-egress-list-view"},children:[...S2().items(),...S2().item()]}]]},Soe={fromObject:e=>({...e,enabled:e.enabled!==!1})},Eoe={fromArray:e=>{const t=dh.fromArray(e),r=(()=>{const n=t.subscriptions.find(a=>typeof a.config<"u"),o=Aoe(n==null?void 0:n.config)?n.config:"{}";try{return JSON.parse(o)}catch(a){console.error(a)}return{}})();return{...t,config:r}}},Loe={fromObject:e=>{const t=Eoe.fromArray(e==null?void 0:e.subscriptions);return{...e,...t,authenticationType:Ui(t.config,"dpServer.auth.type",""),environment:String(t.config.environment??""),store:Ui(t.config,"store.type","")}}},W2={fromObject:e=>{const t=Loe.fromObject(e.zoneInsight),r=Soe.fromObject(e.zone);return{...e,zoneInsight:t,zone:r,state:r.enabled?typeof(t==null?void 0:t.connectedSubscription)<"u"?"online":"offline":"disabled"}},fromCollection:e=>({...e,items:Array.isArray(e.items)?e.items.map(W2.fromObject):[]})};function Aoe(e){return e!==null&&typeof e<"u"}const Hoe={fromObject:e=>{var t,r;return{...e,socketAddress:(t=e.networking)!=null&&t.address&&((r=e.networking)!=null&&r.port)?`${e.networking.address}:${e.networking.port}`:""}}},Boe={fromObject:e=>{var t,r;return{...e,config:e,socketAddress:(t=e.networking)!=null&&t.address&&((r=e.networking)!=null&&r.port)?`${e.networking.address}:${e.networking.port}`:""}}},Toe={fromObject:e=>Doe(e)?(t=>{const r=Array.isArray(t.subscriptions)?t.subscriptions:[],n=r.slice(-1).find(o=>{var a;return((a=o.connectTime)==null?void 0:a.length)&&!o.disconnectTime});return{...t,subscriptions:r,connectedSubscription:n}})(e):void 0},Q2={fromObject:e=>{const t=Toe.fromObject(e.zoneEgressInsight),r=Hoe.fromObject(e.zoneEgress);return{...e,zoneEgressInsight:t,zoneEgress:r,state:typeof(t==null?void 0:t.connectedSubscription)<"u"?"online":"offline"}},fromCollection:e=>({...e,items:Array.isArray(e.items)?e.items.map(Q2.fromObject):[]})};function Doe(e){return e!==null&&typeof e<"u"}const Ooe=e=>({"/zone-cps/:name/egresses":async(t,r)=>{r.close();const{name:n,size:o,page:a}=t,i=o*(a-1),s=await e.getAllZoneEgressOverviews({size:o,offset:i});return n!=="*"&&(s.items=s.items.filter(l=>l.zoneEgress.zone===n),s.total=s.items.length),Q2.fromCollection(s)},"/zone-egresses/:name":async(t,r)=>{r.close();const{name:n}=t;return Boe.fromObject(await e.getZoneEgress({name:n}))},"/zone-egresses/:name/as/kubernetes":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneEgress({name:n},{format:"kubernetes"})},"/zone-egresses/:name/data-path/:dataPath":(t,r)=>{r.close();const{name:n,dataPath:o}=t;return e.getZoneEgressData({zoneEgressName:n,dataPath:o})},"/zone-egress-overviews":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return Q2.fromCollection(await e.getAllZoneEgressOverviews({size:n,offset:o}))},"/zone-egress-overviews/:name":async(t,r)=>{r.close();const{name:n}=t;return Q2.fromObject(await e.getZoneEgressOverview({name:n}))}}),Voe={fromObject:e=>{var t,r,n,o;return{...e,availableServices:Array.isArray(e.availableServices)?e.availableServices:[],socketAddress:(t=e.networking)!=null&&t.address&&((r=e.networking)!=null&&r.port)?`${e.networking.address}:${e.networking.port}`:"",advertisedSocketAddress:(n=e.networking)!=null&&n.advertisedAddress&&((o=e.networking)!=null&&o.advertisedPort)?`${e.networking.advertisedAddress}:${e.networking.advertisedPort}`:""}}},Ioe={fromObject:e=>{var t,r,n,o;return{...e,config:e,availableServices:Array.isArray(e.availableServices)?e.availableServices:[],socketAddress:(t=e.networking)!=null&&t.address&&((r=e.networking)!=null&&r.port)?`${e.networking.address}:${e.networking.port}`:"",advertisedSocketAddress:(n=e.networking)!=null&&n.advertisedAddress&&((o=e.networking)!=null&&o.advertisedPort)?`${e.networking.advertisedAddress}:${e.networking.advertisedPort}`:""}}},Poe={fromObject:e=>Noe(e)?(t=>{const r=Array.isArray(t.subscriptions)?t.subscriptions:[],n=r.slice(-1).find(o=>{var a;return((a=o.connectTime)==null?void 0:a.length)&&!o.disconnectTime});return{...t,subscriptions:r,connectedSubscription:n}})(e):void 0},X2={fromObject:e=>{const t=Poe.fromObject(e.zoneIngressInsight),r=Voe.fromObject(e.zoneIngress);return{...e,zoneIngressInsight:t,zoneIngress:r,state:typeof(t==null?void 0:t.connectedSubscription)<"u"?"online":"offline"}},fromCollection:e=>({...e,items:Array.isArray(e.items)?e.items.map(X2.fromObject):[]})};function Noe(e){return e!==null&&typeof e<"u"}const Zoe=e=>({"/zone-cps/:name/ingresses":async t=>{const{name:r,size:n,page:o}=t,a=n*(o-1),i=await e.getAllZoneIngressOverviews({size:n,offset:a});return i.items=i.items.filter(s=>s.zoneIngress.zone===r),X2.fromCollection(i)},"/zone-ingresses/:name":async t=>{const{name:r}=t;return Ioe.fromObject(await e.getZoneIngress({name:r}))},"/zone-ingresses/:name/data-path/:dataPath":t=>{const{name:r,dataPath:n}=t;return e.getZoneIngressData({zoneIngressName:r,dataPath:n})},"/zone-ingresses/:name/as/kubernetes":async t=>{const{name:r}=t;return await e.getZoneIngress({name:r},{format:"kubernetes"})},"/zone-ingress-overviews":async t=>{const{size:r}=t,n=t.size*(t.page-1);return X2.fromCollection(await e.getAllZoneIngressOverviews({size:r,offset:n}))},"/zone-ingress-overviews/:name":async t=>{const{name:r}=t;return X2.fromObject(await e.getZoneIngressOverview({name:r}))}}),Roe=(e,t)=>({...Zoe(t),...Ooe(t),"/zone-cps":async r=>{const{size:n}=r,o=n*(r.page-1);return W2.fromCollection(await t.getAllZoneOverviews({size:n,offset:o}))},"/zone-cps/:name":async r=>{const{name:n}=r;return W2.fromObject(await t.getZoneOverview({name:n}))},"/zone-cps/online/:name":r=>{const n=class extends Error{},{name:o}=r;return e(async()=>{const a=W2.fromObject(await t.getZoneOverview({name:o}));if(a.state==="online")return a;throw new n},{retry:a=>{if(a instanceof n)return new Promise(i=>setTimeout(i,2e3))}})}}),$oe=e=>[[je("zones.routes"),{service:t=>Moe(t("create zones")?xoe():[],t),arguments:[e.can],labels:[e.routes]}],[je("zone.sources"),{service:Roe,arguments:[e.source,e.api],labels:[e.sources]}],[je("zone.features"),{service:koe,arguments:[e.env],labels:[e.features]}]],zoe={common:{not_applicable:"N/A",formats:{integer:"{value, number, integer}",bytes:"{value, number, integer}"},product:{name:"Kuma",href:{docs:{index:"{KUMA_DOCS_URL}/"},feedback:"https://github.com/kumahq/kuma/issues/new/choose",install:"https://kuma.io/install/latest/?{KUMA_UTM_QUERY_PARAMS}"},environment:{universal:"Universal",kubernetes:"Kubernetes",unknown:"—"},mode:{standalone:"Standalone",global:"Multi-Zone",zone:"Zone"}},warnings:{CERT_EXPIRED:`'<'p>The certificate for this dataplane has expired'<'/p> + `,1)]),default:B(()=>[ore,S()]),_:1}),S(),are,S(),ire,S(),sre]))}}),Zn={KubernetesGraph:hn(gte,{description:"KubernetesGraph"}),PostgresGraph:hn(Z1e,{description:"PostgresGraph"}),MemoryGraph:hn(Tte,{description:"MemoryGraph"}),MultizoneGraph:hn(m1e,{description:"MultizoneGraph"}),StandaloneGraph:hn(lre,{description:"StandaloneGraph"}),MainView:hn(YX,{description:"MainView"}),MeshDetails:hn(Kee,{description:"MeshDetails"})},[Iae,Pae,Nae,Zae,Rae,ure,$ae]=Za(Zn.KubernetesGraph,Zn.PostgresGraph,Zn.MemoryGraph,Zn.MultizoneGraph,Zn.StandaloneGraph,Zn.MainView,Zn.MeshDetails),cre={key:0,"aria-label":"Breadcrumb"},dre={key:0,class:"app-view-title-bar"},fre={class:"actions"},pre={key:1},hre=te({__name:"AppView",props:{breadcrumbs:{default:null},fullscreen:{type:Boolean,default:!1}},setup(e){const t=ure(),r=e,n=new Map,o=U([]),a=Symbol("app-view"),i=c=>{const d=[...c.values()];d.some(f=>f.length===0)?o.value=[]:o.value=d.flat()},s={addBreadcrumbs:(c,d)=>{if(typeof c<"u"){if(n.has(d)){const f=n.get(d);if(JSON.stringify(f)===JSON.stringify(c))return}n.set(d,c),i(n)}},removeBreadcrumbs:c=>{n.has(c)&&(n.delete(c),i(n))}},l=qt("app-view-parent",void 0);l||er("app-view-parent",s);const u=l||s;return Le(()=>r.breadcrumbs,c=>{c!==null&&u.addBreadcrumbs(c,a)},{immediate:!0}),Qr(()=>{u.removeBreadcrumbs(a)}),(c,d)=>{const f=Ht("KAlert");return h(),J(at(D(l)?"div":D(t)),null,{default:B(()=>[!D(l)&&o.value.length>0?(h(),x("nav",cre,[$(D(X9),{items:o.value},null,8,["items"])])):P("",!0),S(),v("section",{class:ie({"is-fullscreen":r.fullscreen})},[c.$slots.title?(h(),x("header",dre,[r.fullscreen?(h(),J(D(rb),{key:0})):P("",!0),S(),W(c.$slots,"title",{},void 0,!0),S(),v("div",fre,[W(c.$slots,"actions",{},void 0,!0)])])):P("",!0),S(),c.$slots.notifications?(h(),x("aside",pre,[$(f,{class:"mb-4",appearance:"warning"},{alertMessage:B(()=>[W(c.$slots,"notifications",{},void 0,!0)]),_:3})])):P("",!0),S(),W(c.$slots,"default",{},void 0,!0)],2)]),_:3})}}});const vre=Na(hre,[["__scopeId","data-v-b6f25794"]]),mre=v("span",{class:"visually-hidden"},null,-1),gre=te({__name:"DataSource",props:{src:{type:String,required:!0}},emits:["change","error"],setup(e,{emit:t}){const r=vne(),n=e,o=U(void 0),a=U(void 0),i=t;let s={};const l=Symbol(""),u=async f=>{if(o.value=void 0,s=c(s),s.src=f,f==="")return;s.controller=new AbortController;const p=r.source(f,l);p.addEventListener("message",m=>{o.value=m.data,a.value=void 0,i("change",o.value)},{signal:s.controller.signal}),p.addEventListener("error",m=>{a.value=m.error,i("error",a.value)},{signal:s.controller.signal})},c=f=>(typeof f.controller<"u"&&f.controller.abort(),typeof f.src<"u"&&r.close(f.src,l),{});Le(()=>n.src,function(f){u(f)},{immediate:!0}),Qr(()=>{s=c(s)});const d=()=>{u(n.src)};return(f,p)=>(h(),x(Se,null,[W(f.$slots,"default",{data:o.value,error:a.value,refresh:d}),S(),mre],64))}}),y5=Symbol("route-view-parent"),Cre=te({__name:"RouteTitle",props:{title:{type:String,required:!1,default:""},render:{type:Boolean,required:!1,default:!0}},setup(e){const t=e,r=Symbol("route-title"),n=qt(y5);return typeof n<"u"&&(Le(()=>t.title,o=>{o.length>0&&n.addTitle(o,r)},{immediate:!0}),Qr(()=>{n.removeTitle(r)})),(o,a)=>t.render?(h(),x(Se,{key:0},[S(N(t.title),1)],64)):P("",!0)}}),q7=function(e){let t;return(...r)=>{t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e.bind(e,...r))}},yre=(e=document.documentElement)=>{if(!e)return()=>{};const t=[...e.classList];return q7(r=>{const n=r.reduce((o,a)=>Object.entries(a).reduce((i,[s,l])=>(typeof i[s]>"u"&&(i[s]=[]),i[s].push(l),i),o),{});e.classList.remove(...[...e.classList].filter(o=>!t.includes(o))),e.classList.add(...n.class||[])})},bre=function(e){return Array.isArray(e)?e[0]:e},wre=(e,t)=>{switch(!0){case typeof t=="boolean":return e===null?!0:t;case typeof t=="number":{const r=e===null||e.length===0?t:Number(decodeURIComponent(e));return isNaN(r)?Number(t):r}case typeof t=="string":return e===null||e.length===0?t:decodeURIComponent(e)}throw new TypeError("URL parameters can only be string | number | boolean")},_re=(e=document)=>q7(t=>{e.title=t}),A8=(e,t)=>{const r={...t},n=Object.entries(e).reduce((o,[a,i])=>{switch(!0){case i===!0:o[a]=null;break;case(i!==!1&&String(i).length>0):o[a]=encodeURIComponent(String(i));break;default:o[a]=void 0}return o},r);return{...r,...n}},kre=["data-testid"],xre=te({__name:"RouteView",props:{name:{},attrs:{default:()=>({})},params:{default:()=>({})}},setup(e){const t=window,r=pne(),n=hne(),{t:o}=on(),a=Fee(),i=zee(),s=Symbol("route-view"),l=e,u=_(()=>l.name),c=U(null),d=new Map,f=new Map,p=_re(document),m=yre(document.documentElement),b=F=>F.reverse().concat(o("components.route-view.title",{name:o("common.product.name")})).join(" | "),C={addTitle:(F,H)=>{const V=c.value;V&&(V.innerHTML=o("components.route-view.route-announcer",{title:F})),d.set(H,F),p(b([...d.values()]))},removeTitle:F=>{d.delete(F),p(b([...d.values()]))},addAttrs:(F,H)=>{f.set(H,F),m([...f.values()])},removeAttrs:F=>{f.delete(F),m([...f.values()])}},g=or(structuredClone(l.params));Le(g,F=>{if(a.name===l.name){const H=Object.fromEntries(Object.entries(F).filter(([V,A])=>typeof l.params[V]=="boolean"));Object.keys(H).length>0&&M(H)}}),Le(()=>Object.keys(l.params).map(F=>a.params[F]||a.query[F]),()=>{const F={...a.query,...a.params};Object.entries({...l.params}).reduce((H,[V,A])=>{const Y=bre(typeof F[V]>"u"?"":F[V]);return H[V]=wre(Y,A),H},g)},{immediate:!0}),Le(()=>l.name,()=>{const F=Object.entries(g||{}).reduce((H,[V,A])=>(typeof a.params[V]>"u"&&(H[V]=A),H),{});Object.keys(F).length>0&&i.replace({query:A8(F,a.query)})},{immediate:!0});let w={};const y=q7(F=>{i.push({name:l.name,query:A8(F,a.query)}),w={}}),M=F=>{w={...w,...F},y(w)},E=(...F)=>{i.push(...F)},z=(...F)=>{try{if(t.history.state.back!==null){i.back();return}}catch{}E(...F)},O=qt(y5,void 0);O||(p(o("components.route-view.title",{name:o("common.product.name")})),er(y5,C));const R=O||C;return Le(()=>l.attrs,F=>{Object.keys(F).length>0&&R.addAttrs(F,s)},{immediate:!0}),Qr(()=>{R.removeAttrs(s)}),(F,H)=>(h(),x("div",{class:"route-view","data-testid":u.value},[D(O)?P("",!0):(h(),x("div",{key:0,id:"application-route-announcer",ref_key:"title",ref:c,class:"route-view-title visually-hidden","aria-live":"assertive","aria-atomic":"true"},null,512)),S(),W(F.$slots,"default",{t:D(o),env:D(r),can:D(n),route:{update:M,replace:E,params:g,back:z}})],8,kre))}}),Mre=e=>[{path:"/404",name:"kuma-not-found-view",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>e[e.length-1]()}],Sre=e=>{const t=(r,n)=>typeof e[r]<"u"?e[r](t,n):!1;return t};function Ere(e){const t=e.split(/([A-Z][a-z]+)/).join(" ").replace(/\s+/g," ").trim();return t.charAt(0).toUpperCase()+t.substring(1)}function Ui(e,t,r=void 0){if(typeof e!="object"||Array.isArray(e)||Array.isArray(t)&&t.length===0)return r;const n=Array.isArray(t)?t:t.split(".");if(n.length===1){const o=e[n[0]];return o===void 0?r:o}return Ui(e[n[0]],n.slice(1),r)}class H8 extends Error{get key(){return this.message}}const Lre=(e,t)=>{const r=kC("en-us",e,{isGlobal:!0,onError:o=>{throw o}}),n={KUMA_VERSION:t("KUMA_VERSION"),KUMA_DOCS_URL:t("KUMA_DOCS_URL"),KUMA_UTM_QUERY_PARAMS:t("KUMA_UTM_QUERY_PARAMS"),KUMA_PRODUCT_NAME:r.t("common.product.name")};return{...r,t:function(...o){var i;const a=o[0];try{if(typeof Ui(e,a)>"u")throw a.startsWith("http.api.")?new H8(a):new Error(`Missing message: "${a}" for locale "en-us", using id as fallback`);return Ui(e,a).length===0?"":(o[1]={...n,...o[1]},r.t(...o))}catch(s){switch(!0){case s instanceof H8:return Ere(s.key.split(".").pop());default:if((i=o[2])!=null&&i.defaultMessage)return o[2].defaultMessage;throw s}}}}},B8=0,T8=1,Ho=2;class Rp extends EventTarget{constructor(r,n){super();gt(this,"url","");gt(this,"withCredentials",!1);gt(this,"CONNECTING",B8);gt(this,"OPEN",T8);gt(this,"CLOSED",Ho);gt(this,"onerror",null);gt(this,"onmessage",null);gt(this,"onopen",null);gt(this,"readyState",Ho);this.source=r,this.configuration=n,this._open()}_open(){(async function(r){try{r.readyState=B8;const n=r.source();r.readyState=T8;for await(const o of n)if(r.dispatchEvent(new MessageEvent("message",{data:o})),r.readyState===Ho)break;r.readyState=Ho}catch(n){r.close(),r.dispatchEvent(new ErrorEvent("error",{error:n}))}})(this)}open(){this.readyState!==Ho&&this._open()}close(){this.readyState=Ho}}const Are=e=>e,$p=e=>(t,r={})=>{let n=0,o=0;return new Rp(async function*(){var i,s;const a=this;for(;;){o>0&&await new Promise(u=>setTimeout(u,a.configuration.interval??1e3)),(n>0||o>0)&&e.hidden&&await new Promise(u=>{e.addEventListener("visibilitychange",u,{once:!0})});let l;try{l=await t(a),typeof a.configuration.interval>"u"&&a.close(),o++,yield l}catch(u){const c=(s=(i=a.configuration)==null?void 0:i.retry)==null?void 0:s.call(i,u);if(typeof(c==null?void 0:c.then)=="function")await Promise.all([c,new Promise(d=>setTimeout(d,1e3))]),n++;else throw u}}},r)},D8=$p(new class extends EventTarget{constructor(){super(...arguments);gt(this,"hidden",!1)}}),Hre=(e,t)=>{const[r,n]=e.split("?"),o=new URLSearchParams(n),a=t.match(r),i={offset:parseInt(o.get("offset")||"0"),size:parseInt(o.get("size")||"0"),page:parseInt(o.get("page")||"0"),search:o.get("search")||"",cacheControl:o.has("no-store")?"no-store":void 0,...a.params};try{const s=a.route(i,{close:()=>{}}),l=s instanceof Rp?s:D8(()=>Promise.resolve(s),{cacheControl:i.cacheControl});return l.url=e,l}catch(s){return D8(()=>Promise.reject(s))}},Bre=(e,t)=>{t&&t.close()},Tre={create:Hre,destroy:Bre};var Li=class{constructor(e,t,r,n,o,a){gt(this,"type",3);gt(this,"name","");gt(this,"prefix","");gt(this,"value","");gt(this,"suffix","");gt(this,"modifier",3);this.type=e,this.name=t,this.prefix=r,this.value=n,this.suffix=o,this.modifier=a}hasCustomName(){return this.name!==""&&typeof this.name!="number"}},Dre=/[$_\p{ID_Start}]/u,Ore=/[$_\u200C\u200D\p{ID_Continue}]/u,b5=".*";function Vre(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function zp(e,t=!1){let r=[],n=0;for(;n{if(il("OTHER_MODIFIER")??l("ASTERISK"),c=w=>{let y=l(w);if(y!==void 0)return y;let{type:M,index:E}=r[i];throw new TypeError(`Unexpected ${M} at ${E}, expected ${w}`)},d=()=>{let w="",y;for(;y=l("CHAR")??l("ESCAPED_CHAR");)w+=y;return w},f=w=>w,p=t.encodePart||f,m="",b=w=>{m+=w},C=()=>{m.length&&(o.push(new Li(3,"","",p(m),"",3)),m="")},g=(w,y,M,E,z)=>{let O=3;switch(z){case"?":O=1;break;case"*":O=0;break;case"+":O=2;break}if(!y&&!M&&O===3){b(w);return}if(C(),!y&&!M){if(!w)return;o.push(new Li(3,"","",p(w),"",O));return}let R;M?M==="*"?R=b5:R=M:R=n;let F=2;R===n?(F=1,R=""):R===b5&&(F=0,R="");let H;if(y?H=y:M&&(H=a++),s.has(H))throw new TypeError(`Duplicate name '${H}'.`);s.add(H),o.push(new Li(F,H,p(w),R,p(E),O))};for(;i-1)}return i||(n+=`(?=${a}|${o})`),new RegExp(n,O8(r))}var vn={delimiter:"",prefixes:"",sensitive:!0,strict:!0},Pre={delimiter:".",prefixes:"",sensitive:!0,strict:!0},Nre={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function Zre(e,t){return e.length?e[0]==="/"?!0:!t||e.length<2?!1:(e[0]=="\\"||e[0]=="{")&&e[1]=="/":!1}function jp(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function Rre(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}function Yp(e){return!e||e.length<2?!1:e[0]==="["||(e[0]==="\\"||e[0]==="{")&&e[1]==="["}var Gp=["ftp","file","http","https","ws","wss"];function Kp(e){if(!e)return!0;for(let t of Gp)if(e.test(t))return!0;return!1}function $re(e,t){if(e=jp(e,"#"),t||e==="")return e;let r=new URL("https://example.com");return r.hash=e,r.hash?r.hash.substring(1,r.hash.length):""}function zre(e,t){if(e=jp(e,"?"),t||e==="")return e;let r=new URL("https://example.com");return r.search=e,r.search?r.search.substring(1,r.search.length):""}function Fre(e,t){return t||e===""?e:Yp(e)?Qp(e):Wp(e)}function Ure(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.password=e,r.password}function jre(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.username=e,r.username}function Yre(e,t,r){if(r||e==="")return e;if(t&&!Gp.includes(t))return new URL(`${t}:${e}`).pathname;let n=e[0]=="/";return e=new URL(n?e:"/-"+e,"https://example.com").pathname,n||(e=e.substring(2,e.length)),e}function Gre(e,t,r){return qp(t)===e&&(e=""),r||e===""?e:Xp(e)}function Kre(e,t){return e=Rre(e,":"),t||e===""?e:W7(e)}function qp(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function W7(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function qre(e){if(e==="")return e;let t=new URL("https://example.com");return t.username=e,t.username}function Wre(e){if(e==="")return e;let t=new URL("https://example.com");return t.password=e,t.password}function Wp(e){if(e==="")return e;if(/[\t\n\r #%/:<>?@[\]^\\|]/g.test(e))throw new TypeError(`Invalid hostname '${e}'`);let t=new URL("https://example.com");return t.hostname=e,t.hostname}function Qp(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function Xp(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function Qre(e){if(e==="")return e;let t=new URL("https://example.com");return t.pathname=e[0]!=="/"?"/-"+e:e,e[0]!=="/"?t.pathname.substring(2,t.pathname.length):t.pathname}function Xre(e){return e===""?e:new URL(`data:${e}`).pathname}function Jre(e){if(e==="")return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function ene(e){if(e==="")return e;let t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}var Wo,d1,Tt,xt,Qn,Qo,Nr,Xo,Jo,ea,zt,Yt,Rs,Jp,ji,w5,Xn,ui,ta,G2,_1,N1,Yi,_5,$s,eh,ra,K2,zs,th,Fs,rh,na,q2,kn,Zo,Zr,Fn,Us,nh,js,oh,Ys,ah,Gs,ih,R1,cr,Ks,sh,$8,tne=($8=class{constructor(e){st(this,zt);st(this,Rs);st(this,ji);st(this,Xn);st(this,ta);st(this,_1);st(this,Yi);st(this,$s);st(this,ra);st(this,zs);st(this,Fs);st(this,na);st(this,kn);st(this,Zr);st(this,Us);st(this,js);st(this,Ys);st(this,Gs);st(this,R1);st(this,Ks);st(this,Wo,void 0);st(this,d1,[]);st(this,Tt,{});st(this,xt,0);st(this,Qn,1);st(this,Qo,0);st(this,Nr,0);st(this,Xo,0);st(this,Jo,0);st(this,ea,!1);Wt(this,Wo,e)}get result(){return pe(this,Tt)}parse(){for(Wt(this,d1,zp(pe(this,Wo),!0));pe(this,xt)0)if(xe(this,js,oh).call(this))Wt(this,Xo,pe(this,Xo)-1);else continue;if(xe(this,Us,nh).call(this)){Wt(this,Xo,pe(this,Xo)+1);continue}switch(pe(this,Nr)){case 0:xe(this,Yi,_5).call(this)&&(pe(this,Tt).username="",pe(this,Tt).password="",pe(this,Tt).hostname="",pe(this,Tt).port="",pe(this,Tt).pathname="",pe(this,Tt).search="",pe(this,Tt).hash="",xe(this,Xn,ui).call(this,1));break;case 1:if(xe(this,Yi,_5).call(this)){xe(this,Ks,sh).call(this);let e=7,t=1;pe(this,ea)&&(pe(this,Tt).pathname="/"),xe(this,$s,eh).call(this)?(e=2,t=3):pe(this,ea)&&(e=2),xe(this,zt,Yt).call(this,e,t)}break;case 2:xe(this,ra,K2).call(this)?xe(this,Xn,ui).call(this,3):(xe(this,na,q2).call(this)||xe(this,kn,Zo).call(this)||xe(this,Zr,Fn).call(this))&&xe(this,Xn,ui).call(this,5);break;case 3:xe(this,zs,th).call(this)?xe(this,zt,Yt).call(this,4,1):xe(this,ra,K2).call(this)&&xe(this,zt,Yt).call(this,5,1);break;case 4:xe(this,ra,K2).call(this)&&xe(this,zt,Yt).call(this,5,1);break;case 5:xe(this,Ys,ah).call(this)?Wt(this,Jo,pe(this,Jo)+1):xe(this,Gs,ih).call(this)&&Wt(this,Jo,pe(this,Jo)-1),xe(this,Fs,rh).call(this)&&!pe(this,Jo)?xe(this,zt,Yt).call(this,6,1):xe(this,na,q2).call(this)?xe(this,zt,Yt).call(this,7,0):xe(this,kn,Zo).call(this)?xe(this,zt,Yt).call(this,8,1):xe(this,Zr,Fn).call(this)&&xe(this,zt,Yt).call(this,9,1);break;case 6:xe(this,na,q2).call(this)?xe(this,zt,Yt).call(this,7,0):xe(this,kn,Zo).call(this)?xe(this,zt,Yt).call(this,8,1):xe(this,Zr,Fn).call(this)&&xe(this,zt,Yt).call(this,9,1);break;case 7:xe(this,kn,Zo).call(this)?xe(this,zt,Yt).call(this,8,1):xe(this,Zr,Fn).call(this)&&xe(this,zt,Yt).call(this,9,1);break;case 8:xe(this,Zr,Fn).call(this)&&xe(this,zt,Yt).call(this,9,1);break}}}},Wo=new WeakMap,d1=new WeakMap,Tt=new WeakMap,xt=new WeakMap,Qn=new WeakMap,Qo=new WeakMap,Nr=new WeakMap,Xo=new WeakMap,Jo=new WeakMap,ea=new WeakMap,zt=new WeakSet,Yt=function(e,t){switch(pe(this,Nr)){case 0:break;case 1:pe(this,Tt).protocol=xe(this,R1,cr).call(this);break;case 2:break;case 3:pe(this,Tt).username=xe(this,R1,cr).call(this);break;case 4:pe(this,Tt).password=xe(this,R1,cr).call(this);break;case 5:pe(this,Tt).hostname=xe(this,R1,cr).call(this);break;case 6:pe(this,Tt).port=xe(this,R1,cr).call(this);break;case 7:pe(this,Tt).pathname=xe(this,R1,cr).call(this);break;case 8:pe(this,Tt).search=xe(this,R1,cr).call(this);break;case 9:pe(this,Tt).hash=xe(this,R1,cr).call(this);break}xe(this,Rs,Jp).call(this,e,t)},Rs=new WeakSet,Jp=function(e,t){Wt(this,Nr,e),Wt(this,Qo,pe(this,xt)+t),Wt(this,xt,pe(this,xt)+t),Wt(this,Qn,0)},ji=new WeakSet,w5=function(){Wt(this,xt,pe(this,Qo)),Wt(this,Qn,0)},Xn=new WeakSet,ui=function(e){xe(this,ji,w5).call(this),Wt(this,Nr,e)},ta=new WeakSet,G2=function(e){return e<0&&(e=pe(this,d1).length-e),e=0&&(e.pathname=Dr(n.pathname.substring(0,o+1),r)+e.pathname)}e.pathname=Yre(e.pathname,e.protocol,r)}return typeof t.search=="string"&&(e.search=zre(t.search,r)),typeof t.hash=="string"&&(e.hash=$re(t.hash,r)),e}function ci(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function rne(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function nne(e,t){t.delimiter??(t.delimiter="/#?"),t.prefixes??(t.prefixes="./"),t.sensitive??(t.sensitive=!1),t.strict??(t.strict=!1),t.end??(t.end=!0),t.start??(t.start=!0),t.endsWith="";let r=".*",n=`[^${rne(t.delimiter)}]+?`,o=/[$_\u200C\u200D\p{ID_Continue}]/u,a="";for(let i=0;i0?e[i-1]:null,d=i0?d.value[0]:"";u=o.test(f)}else u=!d.hasCustomName();if(!u&&!s.prefix.length&&c&&c.type===3){let f=c.value[c.value.length-1];u=t.prefixes.includes(f)}u&&(a+="{"),a+=ci(s.prefix),l&&(a+=`:${s.name}`),s.type===2?a+=`(${s.value})`:s.type===1?l||(a+=`(${n})`):s.type===0&&(!l&&(!c||c.type===3||c.modifier!==3||u||s.prefix!=="")?a+="*":a+=`(${r})`),s.type===1&&l&&s.suffix.length&&o.test(s.suffix[0])&&(a+="\\"),a+=ci(s.suffix),u&&(a+="}"),s.modifier!==3&&(a+=zo(s.modifier))}return a}var hr,Jn,oa,Qt,vr,z8,lh=(z8=class{constructor(e={},t,r){st(this,hr,void 0);st(this,Jn,{});st(this,oa,{});st(this,Qt,{});st(this,vr,{});try{let n;if(typeof t=="string"?n=t:r=t,typeof e=="string"){let s=new tne(e);if(s.parse(),e=s.result,n===void 0&&typeof e.protocol!="string")throw new TypeError("A base URL must be provided for a relative constructor string.");e.baseURL=n}else{if(!e||typeof e!="object")throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");if(n)throw new TypeError("parameter 1 is not of type 'string'.")}typeof r>"u"&&(r={ignoreCase:!1});let o={ignoreCase:r.ignoreCase===!0};Wt(this,hr,Qa({pathname:dn,protocol:dn,username:dn,password:dn,hostname:dn,port:dn,search:dn,hash:dn},e,!0)),qp(pe(this,hr).protocol)===pe(this,hr).port&&(pe(this,hr).port="");let i;for(i of P0){if(!(i in pe(this,hr)))continue;let s={},l=pe(this,hr)[i];switch(pe(this,oa)[i]=[],i){case"protocol":Object.assign(s,vn),s.encodePart=W7;break;case"username":Object.assign(s,vn),s.encodePart=qre;break;case"password":Object.assign(s,vn),s.encodePart=Wre;break;case"hostname":Object.assign(s,Pre),Yp(l)?s.encodePart=Qp:s.encodePart=Wp;break;case"port":Object.assign(s,vn),s.encodePart=Xp;break;case"pathname":Kp(pe(this,Jn).protocol)?(Object.assign(s,Nre,o),s.encodePart=Qre):(Object.assign(s,vn,o),s.encodePart=Xre);break;case"search":Object.assign(s,vn,o),s.encodePart=Jre;break;case"hash":Object.assign(s,vn,o),s.encodePart=ene;break}try{pe(this,vr)[i]=Fp(l,s),pe(this,Jn)[i]=Up(pe(this,vr)[i],pe(this,oa)[i],s),pe(this,Qt)[i]=nne(pe(this,vr)[i],s)}catch{throw new TypeError(`invalid ${i} pattern '${pe(this,hr)[i]}'.`)}}}catch(n){throw new TypeError(`Failed to construct 'URLPattern': ${n.message}`)}}test(e={},t){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof e!="string"&&t)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return!1;try{typeof e=="object"?r=Qa(r,e,!1):r=Qa(r,V8(e,t),!1)}catch{return!1}let n;for(n of P0)if(!pe(this,Jn)[n].exec(r[n]))return!1;return!0}exec(e={},t){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof e!="string"&&t)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof e>"u")return;try{typeof e=="object"?r=Qa(r,e,!1):r=Qa(r,V8(e,t),!1)}catch{return null}let n={};t?n.inputs=[e,t]:n.inputs=[e];let o;for(o of P0){let a=pe(this,Jn)[o].exec(r[o]);if(!a)return null;let i={};for(let[s,l]of pe(this,oa)[o].entries())if(typeof l=="string"||typeof l=="number"){let u=a[s+1];i[l]=u}n[o]={input:r[o]??"",groups:i}}return n}static compareComponent(e,t,r){let n=(s,l)=>{for(let u of["type","modifier","prefix","value","suffix"]){if(s[u]{let u=0;for(;u{this.routes.set(new lh({pathname:r}),n)})}match(t){for(const[r,n]of this.routes){const o=`data:${t}`;if(r.test(o)){const a=r.exec(o);return{route:n,params:(a==null?void 0:a.pathname.groups)||{}}}}throw new Error(`Matching route for '${t}' not found`)}}class ane{constructor(t,r){gt(this,"pool",new Map);this.create=t,this.destroy=r}acquire(t,r){if(!this.pool.has(t)){const o={value:this.create(t),references:new Set};this.pool.set(t,o)}const n=this.pool.get(t);return n.references.add(r),n.value}release(t,r){if(this.pool.has(t)){const n=this.pool.get(t);n.references.delete(r),n.references.size===0&&(this.pool.delete(t),this.destroy(t,n.value))}}}class ine{constructor(t,{create:r,destroy:n},o){gt(this,"cache",new Map);gt(this,"pool");gt(this,"getCacheKeyPrefix");const a=new one(t);this.pool=new ane(i=>r(i,a),(i,s)=>{n(i,s)}),this.getCacheKeyPrefix=o}source(t,r){const n=this.getCacheKeyPrefix()+t,o=this.pool.acquire(t,r);return o.addEventListener("message",a=>{const i=a.target;(i==null?void 0:i.configuration.cacheControl)!=="no-store"&&this.cache.set(n,a.data)}),this.cache.has(n)&&Promise.resolve().then(()=>{o==null||o.dispatchEvent(new MessageEvent("message",{data:this.cache.get(n)}))}),o}close(t,r){return this.pool.release(t,r)}}class sne{constructor(t){gt(this,"env");let r=t;const n=(l,u="")=>this.var(l,(r==null?void 0:r[l])??u),o=this.getConfig(),a=n("KUMA_MODE")||o.mode,i=cne(n("KUMA_VERSION",o.version)),s=encodeURIComponent(n("KUMA_PRODUCT_NAME"));r={...r,KUMA_UTM_QUERY_PARAMS:`utm_source=${s}&utm_medium=${s}`},this.env={...r,KUMA_DOCS_URL:`${n("KUMA_DOCS_URL")}/${i.patch==="0.0.0"?"dev":i.patch.replace(/\.\d+$/,".x")}`,KUMA_VERSION:i.pre,KUMA_API_URL:n("KUMA_API_URL")||o.apiUrl,KUMA_BASE_PATH:n("KUMA_BASE_PATH")||o.baseGuiPath,KUMA_MODE:a,KUMA_ENVIRONMENT:n("KUMA_ENVIRONMENT")||o.environment,KUMA_STORE_TYPE:n("KUMA_STORE_TYPE")||o.storeType,KUMA_KDS_URL:"grpcs://:5685"}}var(t,r=""){var n;return((n=this.env)==null?void 0:n[t])??r}getConfig(){const t=document.querySelector("#kuma-config");let r;if(t instanceof HTMLScriptElement&&t.textContent)try{r=JSON.parse(t.textContent.trim())}catch(n){console.error(n)}return r||(r=lne(),console.error("Unable to parse kuma config. Falling back to defaults")),r.apiUrl=une(r.apiUrl),r}}function lne(e=""){return{baseGuiPath:"/gui",apiUrl:e,version:"2.4.0",product:"Kuma",mode:"global",environment:"universal",storeType:"postgres",apiReadOnly:!1}}function uh(e){return e.endsWith("/")?uh(e.slice(0,-1)):e}function une(e){return e=!e.includes("://")&&!e.startsWith("/")?`/${e}`:e,uh(e)}function cne(e){const[t,r,...n]=e.split(".");if(isNaN(parseInt(t)))return{major:t,minor:t,patch:t,pre:t};const[o,a]=n.join(".").split("-");return{major:t,minor:`${t}.${r}`,patch:`${t}.${r}.${o}`,pre:`${t}.${r}.${o}${a!==void 0?`-${a}`:""}`}}const Gt={Env:je("application.Env"),env:je("application.env"),EnvVars:je("EnvVars"),can:je("application.can"),features:je("application.can.features"),notFoundView:je("application.not-found"),applicationComponents:je("application.components"),source:je("data.source"),sources:je("data.sources"),dataSourcePool:je("data.DataSourcePool"),dataSourceLifecycle:je("data.DataSourceLifecycle"),getDataSourceCacheKeyPrefix:je("data.getDataSourceCacheKeyPrefix"),i18n:je("i18n"),enUs:je("i18n.locale.enUs")},dne=e=>[[je("application.components"),{service:t=>[["AppView",vre],["DataSource",gre],["RouteView",xre],["RouteTitle",Cre],["I18nT",xC(t)]],arguments:[e.i18n],labels:[e.components]}],[je("application.routes"),{service:Mre,arguments:[Gt.notFoundView],labels:[e.routes]}],[Gt.i18n,{service:Lre,arguments:[Gt.enUs,e.env]}],[Gt.can,{service:Sre,arguments:[Gt.features]}],[Gt.Env,{service:sne,arguments:[e.EnvVars]}],[Gt.env,{service:t=>(...r)=>t.var(...r),arguments:[Gt.Env]}],[Gt.dataSourceLifecycle,{constant:Tre}],[Gt.source,{service:$p,arguments:[hn(document,{description:"dom.document"})]}],[Gt.getDataSourceCacheKeyPrefix,{service:()=>()=>"",arguments:[e.router]}],[Gt.dataSourcePool,{service:ine,arguments:[e.sources,Gt.dataSourceLifecycle,Gt.getDataSourceCacheKeyPrefix]}]],fne=Gt,[pne,hne,on,vne]=Za(Gt.env,Gt.can,Gt.i18n,Gt.dataSourcePool),Tl=e=>(Xe("data-v-350f9448"),e=e(),Je(),e),mne={class:"card-header"},gne={class:"card-title"},Cne={class:"columns"},yne=Tl(()=>v("img",{src:Xm},null,-1)),bne=Tl(()=>v("img",{src:Jm},null,-1)),wne=Tl(()=>v("img",{src:Xc},null,-1)),_ne=Tl(()=>v("img",{src:Xc},null,-1)),kne=te({__name:"ControlPlaneStatus",props:{globalInsight:{},canUseZones:{type:Boolean}},setup(e){const{t}=on(),r=e;return(n,o)=>{const a=Ht("KCard");return h(),J(a,null,{default:B(()=>[v("div",mne,[v("div",gne,[v("h2",null,N(D(t)("main-overview.detail.health.title")),1)])]),S(),v("div",Cne,[r.canUseZones?(h(),J(Wn,{key:0,total:r.globalInsight.zones.controlPlanes.total,online:r.globalInsight.zones.controlPlanes.online,"data-testid":"zone-control-planes-status"},{icon:B(()=>[yne]),title:B(()=>[S(N(D(t)("main-overview.detail.health.zone_control_planes")),1)]),_:1},8,["total","online"])):P("",!0),S(),$(Wn,{total:r.globalInsight.meshes.total,"data-testid":"meshes-status"},{icon:B(()=>[bne]),title:B(()=>[S(N(D(t)("main-overview.detail.health.meshes")),1)]),_:1},8,["total"]),S(),$(Wn,{total:r.globalInsight.services.internal.total,online:r.globalInsight.services.internal.online,"data-testid":"services-status"},{icon:B(()=>[wne]),title:B(()=>[S(N(D(t)("main-overview.detail.health.services")),1)]),_:1},8,["total","online"]),S(),$(Wn,{total:r.globalInsight.dataplanes.standard.total,online:r.globalInsight.dataplanes.standard.online,"data-testid":"data-plane-proxies-status"},{icon:B(()=>[_ne]),title:B(()=>[S(N(D(t)("main-overview.detail.health.data_plane_proxies")),1)]),_:1},8,["total","online"])])]),_:1})}}});const xne=Na(kne,[["__scopeId","data-v-350f9448"]]),Zs={sources:je("control-planes.sources"),ControlPlaneStatus:je("control-planes.components.ControlPlaneStatus")},Mne=e=>[[Zs.sources,{service:Mh,arguments:[e.env,e.api],labels:[e.sources]}],[Zs.ControlPlaneStatus,{service:()=>xne}],[je("control-planes.routes"),{service:wh,labels:[e.routes]}],[je("control-planes.features"),{service:bh,arguments:[e.env],labels:[e.features]}]],Sne=Zs,[zae]=Za(Zs.ControlPlaneStatus),Ene=()=>[{path:"/diagnostics",name:"diagnostics",component:()=>Be(()=>import("./DiagnosticsDetailView-d236bd3c.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}],Lne=e=>[[je("diagnostics.routes"),{service:Ene,labels:[e.routes]}]];class Ane{constructor(t){gt(this,"storageAdapter");this.storageAdapter=t}get(t){let r;try{r=this.storageAdapter.getItem(t)}catch{return null}if(r===null||!(r.startsWith("[")||r.startsWith("{")))return r;try{return JSON.parse(r)}catch{return r}}set(t,r){try{const n=typeof r=="string"?r:JSON.stringify(r);this.storageAdapter.setItem(t,n)}catch{}}has(t){try{return this.storageAdapter.getItem(t)!==null}catch{return!1}}remove(t){try{this.storageAdapter.removeItem(t)}catch{}}}const I8=new Ane(window.localStorage),Hne={class:"onboarding-alert-content"},Bne=["innerHTML"],Tne=te({__name:"OnboardingAlert",setup(e){const{t}=on(),r=U(I8.get("hasDismissedOnboardingAlert")!=="true");function n(){r.value=!1,I8.set("hasDismissedOnboardingAlert","true")}return(o,a)=>{const i=Ht("KButton"),s=Ht("KAlert");return r.value?(h(),J(s,{key:0,appearance:"success","dismiss-type":"icon","data-testid":"onboarding-notification",onClosed:n},{alertMessage:B(()=>[v("div",Hne,[v("div",{innerHTML:D(t)("main-overview.detail.onboarding.message",{name:D(t)("common.product.name")})},null,8,Bne),S(),$(i,{appearance:"primary",size:"small",class:"action-button",to:{name:"onboarding-welcome-view"}},{default:B(()=>[S(N(D(t)("main-overview.detail.onboarding.get_started_link")),1)]),_:1})])]),_:1})):P("",!0)}}});const Dne=Na(Tne,[["__scopeId","data-v-bdbc77dd"]]),One={class:"stack"},Vne=te({__name:"ControlPlaneStatusWithOnboarding",props:{globalInsight:{},canUseZones:{type:Boolean}},setup(e){const t=Nne(),r=e;return(n,o)=>(h(),x("div",One,[n.globalInsight.meshes.total===1?(h(),J(Dne,{key:0})):P("",!0),S(),$(D(t),{"can-use-zones":r.canUseZones,"global-insight":n.globalInsight},null,8,["can-use-zones","global-insight"])]))}}),Ine=()=>[{path:"/onboarding",redirect:{name:"onboarding-welcome-view"},component:()=>Be(()=>import("./OnboardingRootView-a34f25f4.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome-view",component:()=>Be(()=>import("./OnboardingWelcomeView-21d19a7f.js"),["./OnboardingPage-b708a949.css","./OnboardingWelcomeView-ba0c5c64.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types-view",component:()=>Be(()=>import("./OnboardingDeploymentTypesView-bd9b9179.js"),["./OnboardingPage-b708a949.css","./OnboardingDeploymentTypesView-2f052c8a.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types-view",component:()=>Be(()=>import("./OnboardingConfigurationTypesView-84e28663.js"),["./OnboardingPage-b708a949.css","./OnboardingConfigurationTypesView-7c8a5017.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone-view",component:()=>Be(()=>import("./OnboardingMultiZoneView-d3ba1b7b.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-b708a949.css","./OnboardingMultiZoneView-abcc5530.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh-view",component:()=>Be(()=>import("./OnboardingCreateMeshView-f8cb7e65.js"),["./OnboardingPage-b708a949.css","./OnboardingCreateMeshView-fb39b91f.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-new-services-view",component:()=>Be(()=>import("./OnboardingAddNewServicesView-c7f897f5.js"),["./OnboardingPage-b708a949.css","./OnboardingAddNewServicesView-23f21aef.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-new-services-code-view",component:()=>Be(()=>import("./OnboardingAddNewServicesCodeView-340845ed.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-b708a949.css","./CodeBlock-64fe627b.css","./OnboardingAddNewServicesCodeView-1aa9ca9a.css"],import.meta.url)},{path:"dataplanes-overview",name:"onboarding-dataplanes-view",component:()=>Be(()=>import("./OnboardingDataplanesView-110c28b1.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-b708a949.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./StatusBadge-8194fcb8.css","./OnboardingDataplanesView-a63b1ad7.css"],import.meta.url)},{path:"completed",name:"onboarding-completed-view",component:()=>Be(()=>import("./OnboardingCompletedView-1c8fcc0c.js"),["./OnboardingPage-b708a949.css","./OnboardingCompletedView-a7cfb1d4.css"],import.meta.url)}]}],ch=je("onboarding.components.ControlPlaneStatus"),Pne=e=>[[je("onboarding.routes"),{service:Ine,labels:[e.routes]}],[je("onboarding.components.ControlPlaneStatusWithOnboarding"),{service:t=>(Y7(ch,{service:t}),Vne),decorates:e.ControlPlaneStatus}]],[Nne]=Za(ch),Zne=e=>[[je("kuma.components.not-found"),{service:()=>[()=>Be(()=>import("./KumaNotFoundView-25d01ff5.js"),[],import.meta.url)],labels:[e.notFoundView]}]],Rne=()=>({"/me":async(e={},t)=>(t.close(),Promise.resolve({pageSize:50}))}),$ne={sources:je("me.sources")},zne=e=>[[$ne.sources,{service:Rne,arguments:[e.api],labels:[e.sources]}]],Fne=(e,t,r)=>[{path:"/meshes",name:"mesh-index-view",redirect:{name:"mesh-list-view"},component:()=>Be(()=>import("./MeshRootView-fd62c579.js"),[],import.meta.url),children:[{path:"",name:"mesh-list-view",component:()=>Be(()=>import("./MeshListView-77cc5c54.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./SummaryView-f125afe1.css","./MeshListView-04acf3fa.css"],import.meta.url),children:[{path:":mesh",name:"mesh-summary-view",component:()=>Be(()=>import("./MeshSummaryView-f805b5d7.js"),["./MeshSummaryView-fb53424c.css"],import.meta.url)}]},{path:":mesh",name:"mesh",redirect:{name:"mesh-detail-view"},children:[{path:"",name:"mesh-detail-tabs-view",redirect:{name:"mesh-detail-view"},component:()=>Be(()=>import("./MeshDetailTabsView-ecd87f19.js"),["./NavTabs-98023bcc.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css"],import.meta.url),children:[{path:"overview",meta:{module:"meshes"},name:"mesh-detail-view",component:()=>Be(()=>import("./MeshDetailView-6580d772.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./MeshDetailView-33fe715e.css"],import.meta.url)},{path:"config",name:"mesh-config-view",component:()=>Be(()=>import("./MeshConfigView-d102dc87.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},...e.items(),...t.items(),...r.items()]},...e.item(),...t.item(),...r.item()]}]}],dh={fromArray:e=>{const t=Array.isArray(e)?e:[],r=t.slice();r.sort((a,i)=>Date.parse(i.status.lastUpdateTime)-Date.parse(a.status.lastUpdateTime));const n=r.find(a=>typeof a.version<"u"),o=r.find(a=>!a.disconnectTime);return{subscriptions:t,connectedSubscription:o,version:n==null?void 0:n.version}}},fh={fromObject(e){const{inbound:t,outbound:r,...n}=e,o=Array.isArray(t)?t:[],a=Array.isArray(r)?r:[];return{...n,inbounds:o.map(i=>({...i,health:{ready:Q7(i.health)?i.health.ready:!0},service:i.tags["kuma.io/service"],protocol:i.tags["kuma.io/protocol"]??"tcp",addressPort:`${i.address??e.advertisedAddress??e.address}:${i.port}`,serviceAddressPort:`${i.serviceAddress??i.address??e.address}:${i.servicePort??i.port}`})),outbounds:a.map(i=>({...i,service:i.tags["kuma.io/service"],protocol:i.tags["kuma.io/protocol"]??"tcp"}))}}},Une={fromObject(e){return{...e,config:e,networking:fh.fromObject(e.networking)}}},jne={fromArray:e=>dh.fromArray(e)},Yne={fromObject(e){return{...e,...jne.fromArray(e==null?void 0:e.subscriptions)}}},di={fromObject(e,t){var d;const r=Yne.fromObject(e.dataplaneInsight),n=fh.fromObject(e.dataplane.networking),o=Jne(n),a=Wne(n),i=Xne(r,a,t),s=Qne(r),l=Q7(r.connectedSubscription)?"online":"offline",u=a.filter(f=>f.label==="kuma.io/service").map(({value:f})=>f),c=(d=a.find(f=>f.label==="kuma.io/zone"))==null?void 0:d.value;return{...e,dataplane:{networking:n},dataplaneInsight:r,dataplaneType:o,status:n.gateway?l:(()=>{const f=n.inbounds.filter(p=>!p.health.ready);switch(!0){case f.length===n.inbounds.length:return"offline";case f.length>0:return"partially_degraded";default:return l}})(),warnings:i,isCertExpired:s,services:u,zone:c}},fromCollection(e,t){return{...e,items:Array.isArray(e.items)?e.items.map(r=>di.fromObject(r,t)):[]}}},Gne={fromCollection(e){const t=Array.isArray(e.items)?e.items:[],r=eoe(t);return{...e,items:t,policyTypeEntries:r}}},Kne={fromCollection(e){const t=Array.isArray(e.rules)?e.rules:[],r=roe(t),n=noe(t),o=ooe(t);return{...e,rules:t,proxyRules:r,toRules:n,fromRuleInbounds:o}}},qne={fromObject(e){const t=aoe(e),r=Object.values(e.policies??{}).map(({mesh:n,name:o,type:a})=>({mesh:n,name:o,type:a}));return{...e,listenerEntries:t,routePolicies:r}}};function Wne({gateway:e,inbounds:t}){let r=[];const n="=";t.length>0&&(r=t.flatMap(a=>Object.entries(a.tags)).map(([a,i])=>`${a}${n}${i}`)),e&&(r=Object.entries(e.tags).map(([a,i])=>`${a}${n}${i}`));const o=Array.from(new Set(r));return o.sort((a,i)=>a.localeCompare(i)),o.map(a=>{const[i,s]=a.split(n);return{label:i,value:s}})}function Qne({mTLS:e}){return e?Date.now()>new Date(e.certificateExpirationTime).getTime():!1}function Xne({version:e},t,r){var o,a;if(!Q7(e))return[];const n=[];return e.kumaDp&&e.envoy&&((((o=e.kumaDp)==null?void 0:o.kumaCpCompatible)??!0)||n.push({kind:"INCOMPATIBLE_UNSUPPORTED_KUMA_DP",payload:{kumaDp:e.kumaDp.version}}),(((a=e.envoy)==null?void 0:a.kumaDpCompatible)??!0)||n.push({kind:"INCOMPATIBLE_UNSUPPORTED_ENVOY",payload:{envoy:e.envoy.version,kumaDp:e.kumaDp.version}})),r&&t.find(s=>s.label==="kuma.io/zone")&&typeof e.kumaDp.kumaCpCompatible=="boolean"&&!e.kumaDp.kumaCpCompatible&&n.push({kind:"INCOMPATIBLE_ZONE_CP_AND_KUMA_DP_VERSIONS",payload:{kumaDp:e.kumaDp.version}}),n}function Jne({gateway:e}){return e?e.type?e.type.toLowerCase():"delegated":"standard"}function eoe(e){const t=new Map;for(const n of e){const{type:o,service:a}=n,i=typeof a=="string"&&a!==""?[{label:"kuma.io/service",value:a}]:[],s=o==="inbound"||o==="outbound"?n.name:null;for(const[l,u]of Object.entries(n.matchedPolicies)){t.has(l)||t.set(l,{type:l,connections:[]});const c=t.get(l);for(const d of u){const f=toe(d,n,i,s);c.connections.push(...f)}}}const r=Array.from(t.values());return r.sort((n,o)=>n.type.localeCompare(o.type)),r}function toe(e,t,r,n){const o=e.conf&&Object.keys(e.conf).length>0?e.conf:void 0,a=[{name:e.name,mesh:e.mesh,type:e.type}],i=[];if(t.type==="inbound"&&Array.isArray(e.sources))for(const{match:s}of e.sources){const u={sourceTags:[{label:"kuma.io/service",value:s["kuma.io/service"]}],destinationTags:r,name:n,config:o,origins:a};i.push(u)}else{const l={sourceTags:[],destinationTags:r,name:n,config:o,origins:a};i.push(l)}return i}function roe(e){return e.map(t=>{const{type:r,proxyRule:n}=t;if(n===void 0)return null;const o=n.conf&&Object.keys(n.conf).length>0?n.conf:void 0,a=n.origin;return{type:r,rules:[{config:o,origins:a}]}}).filter(t=>t!==null)}function noe(e){const t=[];for(const r of e){const n=r.toRules??[];n.length>0&&t.push({type:r.type,rules:ph(n)})}return t.sort((r,n)=>r.type.localeCompare(n.type)),t}function ooe(e){const t=new Map;for(const n of e){const o=n.fromRules??[];if(o.length!==0)for(const a of o)t.has(a.inbound.port)||t.set(a.inbound.port,[]),t.get(a.inbound.port).push({type:n.type,rules:ph(a.rules)})}for(const[,n]of t)n.sort((o,a)=>o.type.localeCompare(a.type));const r=Array.from(t);return r.sort(([n],[o])=>o-n),r.map(([n,o])=>({port:n,ruleEntries:o}))}function ph(e){return e.map(({conf:t,matchers:r,origin:n})=>({config:t&&Object.keys(t).length>0?t:void 0,matchers:r,origins:n}))}function aoe(e){const t=[],r=e.listeners??[];for(const n of r)for(const o of n.hosts)for(const a of o.routes){const i=[];for(const s of a.destinations){const l=Object.values(s.policies??{}).map(({mesh:u,name:c,type:d})=>({mesh:u,name:c,type:d}));i.push({route:{mesh:e.gateway.mesh,name:a.route,type:"MeshGatewayRoute"},service:s.tags["kuma.io/service"],origins:l})}t.push({protocol:n.protocol,port:n.port,hostName:o.hostName,routeEntries:i})}return t}function Xa({total:e=0,online:t=0,partiallyDegraded:r=0,offline:n=0}){return{total:e,online:t,partiallyDegraded:r,offline:n}}function Q7(e){return e!==null&&typeof e<"u"}const ioe={fromObject(e){return{...e,config:e}}},k5={fromObject(e){const t=e.serviceType??"internal",r=e.status??"not_available";return{...e,serviceType:t,status:r}},fromCollection(e){return{...e,items:Array.isArray(e.items)?e.items.map(t=>k5.fromObject(t)):[]}}};function soe({total:e=0,internal:t=0,external:r=0}){return{total:e,internal:t,external:r}}const loe={fromObject(e){const t=P8(e.mtls),r=P8(e.metrics);return{...e,config:e,mtlsBackend:t,metricsBackend:r}}},x5={fromObject(e){const t=Xa(e.dataplanes),r={standard:Xa(e.dataplanesByType.standard),gateway:Xa(e.dataplanesByType.gateway),gatewayBuiltin:Xa(e.dataplanesByType.gatewayBuiltin),gatewayDelegated:Xa(e.dataplanesByType.gatewayDelegated)},n=soe(e.services),o=Object.values(e.policies??{}).reduce((a,i)=>a+i.total,0);return{...e,dataplanes:t,dataplanesByType:r,services:n,totalPolicyCount:o}},fromCollection(e){return{...e,items:Array.isArray(e.items)?e.items.map(t=>x5.fromObject(t)):[]}}};function P8(e){if(e!=null&&e.enabledBackend&&Array.isArray(e.backends))return e.backends.find(t=>t.name===e.enabledBackend)}const uoe=e=>({"/meshes/:name":async t=>{const{name:r}=t;return loe.fromObject(await e.getMesh({name:r}))},"/meshes/:name/as/kubernetes":t=>{const{name:r}=t;return e.getMesh({name:r},{format:"kubernetes"})},"/mesh-insights":async t=>{const{size:r}=t,n=t.size*(t.page-1);return x5.fromCollection(await e.getAllMeshInsights({size:r,offset:n}))},"/mesh-insights/:name":async t=>{const{name:r}=t;return x5.fromObject(await e.getMeshInsights({name:r}))}}),coe=e=>({}),doe=["protocol","service","zone"];function N8(e){const t=new Map;for(const[r,n]of e){const o=doe.includes(r),a=o?"tag":r;t.has(a)||t.set(a,[]);const i=t.get(a);let s;a==="tag"?s=(o?`kuma.io/${r}:${n}`:n).replace(/\s+/g,""):s=n,i.push(s.trim())}return t}const foe=e=>e.trim().split(` +`).filter(t=>["http.","tcp.","cluster."].some(r=>t.startsWith(r))).reduce((t,r)=>{const[n,...o]=r.trim().split(":"),a=(i=>{try{return JSON.parse(i)}catch{return i}})(o.join(":").trim());return n.split(".").reduce((i,s,l,u)=>{if(l===u.length-1)return i[s]=a,i;if(typeof i[s]>"u"){const c={};return i[s]=c,c}else return i[s]},t),t},{}),N0=(e,t)=>{const r=["http","tcp","cluster"],n={};return r.map(o=>Object.entries(e[o]||{}).filter(([a,i])=>t(a)).forEach(([a,i])=>{if(typeof n[a]>"u"&&(n[a]={name:a,port:a.split("_").at(-1)??"",protocol:o}),o==="cluster"){typeof i.grpc<"u"&&(n[a].protocol="grpc",n[a].grpc=i);return}n[a][o]=i})),Object.values(n)},Z0=(e,t)=>e.includes(t),poe=(e,t,r)=>Are({"/dataplanes/poll":n=>{const{size:o,page:a}=n,i=o*(a-1),s=r("use zones");return e(async()=>di.fromCollection(await t.getAllDataplaneOverviews({size:o,offset:i}),s),{interval:1e3})},"/meshes/:mesh/dataplanes/:name":async n=>Une.fromObject(await t.getDataplaneFromMesh(n)),"/meshes/:mesh/dataplanes/:name/as/kubernetes":async n=>t.getDataplaneFromMesh(n,{format:"kubernetes"}),"/meshes/:mesh/dataplanes/:name/traffic":async n=>{const{mesh:o,name:a}=n,i=await t.getDataplaneData({mesh:o,dppName:a,dataPath:"stats"}),s=foe(i),l=N0(s,d=>d.startsWith("localhost_")),u=N0(s,d=>!["_","admin","async-client","kuma_envoy_admin","probe_listener","localhost_","inbound_passthrough","outbound_passthrough","access_log_sink","ads_cluster","meshtrace_zipkin"].some(f=>d.startsWith(f)));return{passthrough:N0(s,d=>["outbound_passthrough_"].some(f=>d.startsWith(f))).reduce((d,f)=>({...d,...["http","tcp"].reduce((p,m)=>(p[m]=Object.entries(f[m]||{}).reduce((b,[C,g])=>({...b,[C]:g+(b[C]??0)}),p[m]||{}),p),d)}),{name:"outbound_passthrough"}),inbounds:l,outbounds:u,$raw:i,config:i}},"/meshes/:mesh/dataplanes/:name/data-path/:dataPath":async n=>{const{mesh:o,name:a}=n,i=Z0(["xds","clusters","stats"],n.dataPath)?n.dataPath:"xds";return t.getDataplaneData({mesh:o,dppName:a,dataPath:i})},"/meshes/:mesh/dataplanes/:name/sidecar-dataplane-policies":async n=>Gne.fromCollection(await t.getSidecarDataplanePolicies(n)),"/meshes/:mesh/dataplanes/:name/rules":async n=>Kne.fromCollection(await t.getDataplaneRules(n)),"/meshes/:mesh/dataplanes/:name/gateway-dataplane-policies":async n=>qne.fromObject(await t.getMeshGatewayDataplane(n)),"/meshes/:mesh/dataplane-overviews/:name":async n=>di.fromObject(await t.getDataplaneOverviewFromMesh(n),r("use zones")),"/meshes/:mesh/dataplanes/of/:type":async n=>{const{mesh:o,size:a}=n,i=a*(n.page-1),s=Object.fromEntries(N8(JSON.parse(n.search||"[]"))),l=n.type==="standard"?"false":n.type,u=Z0(["delegated","builtin","false"],l)?{gateway:l}:{};return di.fromCollection(await t.getAllDataplaneOverviewsFromMesh({mesh:o},{...s,...u,offset:i,size:a}),r("use zones"))},"/meshes/:mesh/dataplanes/for/:service/of/:type":async n=>{const{mesh:o,size:a}=n,i=a*(n.page-1),s=Object.fromEntries(N8(JSON.parse(n.search||"[]")));typeof s.tag>"u"&&(s.tag=[]),s.tag=s.tag.filter(c=>!c.startsWith("kuma.io/service:")),s.tag.push(`kuma.io/service:${n.service}`);const l=n.type==="standard"?"false":n.type,u=Z0(["delegated","builtin","false"],l)?{gateway:l}:{};return di.fromCollection(await t.getAllDataplaneOverviewsFromMesh({mesh:o},{...s,...u,offset:i,size:a}),r("use zones"))}}),hoe=()=>({items:()=>[{path:"data-planes",name:"data-plane-list-view",meta:{module:"data-planes"},component:()=>Be(()=>import("./DataPlaneListView-22a7e59f.js"),["./AppCollection-6359d3b1.css","./StatusBadge-8194fcb8.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./FilterBar-c6fa64d4.css","./ErrorBlock-bcc21522.css","./SummaryView-f125afe1.css","./DataPlaneListView-d3545dd9.css"],import.meta.url),children:[{path:":dataPlane",name:"data-plane-summary-view",component:()=>Be(()=>import("./DataPlaneSummaryView-94a129af.js"),["./StatusBadge-8194fcb8.css","./TagList-e2c71478.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./DataPlaneSummaryView-67703463.css"],import.meta.url)}]}],item:()=>[{path:"data-planes/:dataPlane",name:"data-plane-detail-tabs-view",component:()=>Be(()=>import("./DataPlaneDetailTabsView-c63500a6.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./NavTabs-98023bcc.css"],import.meta.url),children:[{path:"overview",name:"data-plane-detail-view",component:()=>Be(()=>import("./DataPlaneDetailView-cc4f0275.js"),["./StatusBadge-8194fcb8.css","./SummaryView-f125afe1.css","./TagList-e2c71478.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./AccordionList-8bab9627.css","./SubscriptionList-408b08ab.css","./DataPlaneDetailView-26ac12cd.css"],import.meta.url),children:[{path:"inbound/:service",name:"data-plane-inbound-summary-view",component:()=>Be(()=>import("./DataPlaneInboundSummaryView-5ec2596d.js"),["./NavTabs-98023bcc.css","./DataPlaneInboundSummaryView-01acf4b0.css"],import.meta.url),children:[{path:"overview",name:"data-plane-inbound-summary-overview-view",component:()=>Be(()=>import("./DataPlaneInboundSummaryOverviewView-51c4bcbc.js"),["./TagList-e2c71478.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css"],import.meta.url)},{path:"stats",name:"data-plane-inbound-summary-stats-view",component:()=>Be(()=>import("./DataPlaneInboundSummaryStatsView-fa690d9a.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"clusters",name:"data-plane-inbound-summary-clusters-view",component:()=>Be(()=>import("./DataPlaneInboundSummaryClustersView-ae8d3f0d.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]},{path:"outbound/:service",name:"data-plane-outbound-summary-view",component:()=>Be(()=>import("./DataPlaneOutboundSummaryView-56057c60.js"),["./NavTabs-98023bcc.css","./DataPlaneOutboundSummaryView-230eb0f0.css"],import.meta.url),children:[{path:"overview",name:"data-plane-outbound-summary-overview-view",component:()=>Be(()=>import("./DataPlaneOutboundSummaryOverviewView-aa4481ba.js"),[],import.meta.url)},{path:"stats",name:"data-plane-outbound-summary-stats-view",component:()=>Be(()=>import("./DataPlaneOutboundSummaryStatsView-7f99338e.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"clusters",name:"data-plane-outbound-summary-clusters-view",component:()=>Be(()=>import("./DataPlaneOutboundSummaryClustersView-3708a65b.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]}]},{path:"policies",name:"data-plane-policies-view",component:()=>Be(()=>import("./DataPlanePoliciesView-847493b6.js"),["./AccordionList-8bab9627.css","./CodeBlock-64fe627b.css","./PolicyTypeTag-f5c09fb0.css","./TagList-e2c71478.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./DataPlanePoliciesView-74699aa5.css"],import.meta.url)},{path:"xds-config",name:"data-plane-xds-config-view",component:()=>Be(()=>import("./DataPlaneXdsConfigView-08470936.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"stats",name:"data-plane-stats-view",component:()=>Be(()=>import("./DataPlaneStatsView-9a30550e.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"clusters",name:"data-plane-clusters-view",component:()=>Be(()=>import("./DataPlaneClustersView-47727f60.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"config",name:"data-plane-config-view",component:()=>Be(()=>import("./DataPlaneConfigView-3a37e475.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]}]}),voe=e=>[[je("data-planes.sources"),{service:poe,arguments:[e.source,e.api,e.can],labels:[e.sources]}],[je("data-planes.features"),{service:coe,arguments:[e.env],labels:[e.features]}]],hh={fromObject(e){return e},fromCollection(e){return{...e,items:Array.isArray(e.items)?e.items.map(t=>hh.fromObject(t)):[]}}},M5={fromObject(e){return{...e,config:e}},fromCollection(e){return{...e,items:Array.isArray(e.items)?e.items.map(t=>M5.fromObject(t)):[]}}},moe=e=>({"/*/policy-types":(t,r)=>(r.close(),e.getPolicyTypes()),"/meshes/:mesh/policy-path/:path":async(t,r)=>{r.close();const{mesh:n,path:o,size:a}=t,i=t.size*(t.page-1);return M5.fromCollection(await e.getAllPolicyEntitiesFromMesh({mesh:n,path:o},{offset:i,size:a}))},"/meshes/:mesh/policy-path/:path/policy/:name":async(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return M5.fromObject(await e.getSinglePolicyEntity({mesh:n,path:o,name:a}))},"/meshes/:mesh/policy-path/:path/policy/:name/dataplanes":async(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return hh.fromCollection(await e.getPolicyConnections({mesh:n,path:o,name:a}))},"/meshes/:mesh/policy-path/:path/policy/:name/as/kubernetes":(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return e.getSinglePolicyEntity({mesh:n,path:o,name:a},{format:"kubernetes"})}}),goe=()=>({items:()=>[{path:"policies",name:"policy-list-index-view",meta:{module:"policies"},redirect:t=>({...t,params:{...t.params,policyPath:"circuit-breakers"},name:"policy-list-view"}),children:[{path:":policyPath",name:"policy-list-view",component:()=>Be(()=>import("./PolicyListView-c7da73bc.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./PolicyTypeTag-f5c09fb0.css","./SummaryView-f125afe1.css","./PolicyListView-42e8014c.css"],import.meta.url),children:[{path:":policy",name:"policy-summary-view",component:()=>Be(()=>import("./PolicySummaryView-dd96a7bb.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./PolicySummaryView-9528804d.css"],import.meta.url)}]}]}],item:()=>[{path:"policies/:policyPath/:policy/overview",name:"policy-detail-view",component:()=>Be(()=>import("./PolicyDetailView-ebd8a6b3.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]}),Coe=e=>[[je("policies.sources"),{service:moe,arguments:[e.api],labels:[e.sources]}]],yoe=e=>({"/meshes/:mesh/service-insights":async(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1);return k5.fromCollection(await e.getAllServiceInsightsFromMesh({mesh:n},{size:o,offset:a}))},"/meshes/:mesh/service-insights/:name":async(t,r)=>{r.close();const{mesh:n,name:o}=t;return k5.fromObject(await e.getServiceInsight({mesh:n,name:o}))},"/meshes/:mesh/external-services/for/:service":async(t,r)=>{r.close();const{mesh:n,service:o}=t,{items:a}=await e.getAllExternalServicesFromMesh({mesh:n},{tag:[`kuma.io/service:${o}`]});return a.length>0?ioe.fromObject(a[0]):null},"/meshes/:mesh/external-service/:name/as/kubernetes":async t=>{const{mesh:r,name:n}=t;return e.getExternalService({mesh:r,name:n},{format:"kubernetes"})}}),boe=()=>({items:()=>[{path:"services",name:"service-list-view",meta:{module:"services"},component:()=>Be(()=>import("./ServiceListView-ee4e0336.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./StatusBadge-8194fcb8.css","./SummaryView-f125afe1.css","./ServiceListView-88682616.css"],import.meta.url)}],item:()=>[{path:"services/:service",name:"service-detail-tabs-view",component:()=>Be(()=>import("./ServiceDetailTabsView-9701dc4a.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./NavTabs-98023bcc.css"],import.meta.url),children:[{path:"overview",name:"service-detail-view",component:()=>Be(()=>import("./ServiceDetailView-559c67d9.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./TagList-e2c71478.css","./StatusBadge-8194fcb8.css"],import.meta.url)},{path:"config",name:"service-config-view",component:()=>Be(()=>import("./ServiceConfigView-43621842.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"data-plane-proxies",name:"service-data-plane-proxies-view",meta:{module:"service-data-planes"},component:()=>Be(()=>import("./ServiceDataPlaneProxiesView-506c8251.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./AppCollection-6359d3b1.css","./StatusBadge-8194fcb8.css","./FilterBar-c6fa64d4.css","./SummaryView-f125afe1.css","./ServiceDataPlaneProxiesView-3c8afa77.css"],import.meta.url),children:[{path:":dataPlane",name:"service-data-plane-summary-view",component:()=>Be(()=>import("./DataPlaneSummaryView-94a129af.js"),["./StatusBadge-8194fcb8.css","./TagList-e2c71478.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./DataPlaneSummaryView-67703463.css"],import.meta.url)}]}]}]}),woe=e=>[[je("service.sources"),{service:yoe,arguments:[e.api],labels:[e.sources]}]],Bo={dataplaneRoutes:je("kuma.dataplane.routes"),serviceRoutes:je("kuma.service.routes"),policyRoutes:je("kuma.policy.routes")},_oe=e=>[[je("meshes.routes"),{service:Fne,arguments:[Bo.serviceRoutes,Bo.dataplaneRoutes,Bo.policyRoutes],labels:[e.routes]}],[Bo.dataplaneRoutes,{service:hoe}],[Bo.serviceRoutes,{service:boe}],[Bo.policyRoutes,{service:goe}],[je("meshes.sources"),{service:uoe,arguments:[e.api],labels:[e.sources]}],...woe(e),...voe(e),...Coe(e)],koe=e=>({"use zones":()=>e("KUMA_MODE")==="global","create zones":t=>t("use zones")&&e("KUMA_ZONE_CREATION_FLOW")==="enabled"}),S2=(e="egresses")=>({items:()=>[{path:`${e}`,name:"zone-egress-list-view",meta:{module:"zone-egresses"},component:()=>Be(()=>import("./ZoneEgressListView-9172e46b.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./StatusBadge-8194fcb8.css","./SummaryView-f125afe1.css","./ZoneEgressListView-be180964.css"],import.meta.url),children:[{path:":zoneEgress",name:"zone-egress-summary-view",component:()=>Be(()=>import("./ZoneEgressSummaryView-023f0398.js"),["./StatusBadge-8194fcb8.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ZoneEgressSummaryView-95797250.css"],import.meta.url)}]}],item:()=>[{path:`${e}/:zoneEgress`,name:"zone-egress-detail-tabs-view",component:()=>Be(()=>import("./ZoneEgressDetailTabsView-96c42db1.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./NavTabs-98023bcc.css"],import.meta.url),redirect:{name:"zone-egress-detail-view"},children:[{path:"overview",name:"zone-egress-detail-view",component:()=>Be(()=>import("./ZoneEgressDetailView-e26a6e60.js"),["./StatusBadge-8194fcb8.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./AccordionList-8bab9627.css","./SubscriptionList-408b08ab.css"],import.meta.url)},{path:"xds-config",name:"zone-egress-xds-config-view",component:()=>Be(()=>import("./ZoneEgressXdsConfigView-deb6303d.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"stats",name:"zone-egress-stats-view",component:()=>Be(()=>import("./ZoneEgressStatsView-78bac372.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"clusters",name:"zone-egress-clusters-view",component:()=>Be(()=>import("./ZoneEgressClustersView-d384d294.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"config",name:"zone-egress-config-view",component:()=>Be(()=>import("./ZoneEgressConfigView-26e0d113.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]}]}),Z8=(e="ingresses")=>({items:()=>[{path:`${e}`,name:"zone-ingress-list-view",meta:{module:"zone-ingresses"},component:()=>Be(()=>import("./ZoneIngressListView-5874572b.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./StatusBadge-8194fcb8.css","./SummaryView-f125afe1.css","./ZoneIngressListView-b6d243fe.css"],import.meta.url),children:[{path:":zoneIngress",name:"zone-ingress-summary-view",component:()=>Be(()=>import("./ZoneIngressSummaryView-78823093.js"),["./StatusBadge-8194fcb8.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ZoneIngressSummaryView-48249baa.css"],import.meta.url)}]}],item:()=>[{path:`${e}/:zoneIngress`,name:"zone-ingress-detail-tabs-view",component:()=>Be(()=>import("./ZoneIngressDetailTabsView-48a9c68c.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./NavTabs-98023bcc.css"],import.meta.url),redirect:{name:"zone-ingress-detail-view"},children:[{path:"overview",name:"zone-ingress-detail-view",component:()=>Be(()=>import("./ZoneIngressDetailView-b8ec6bc0.js"),["./StatusBadge-8194fcb8.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./AccordionList-8bab9627.css","./SubscriptionList-408b08ab.css"],import.meta.url)},{path:"services",name:"zone-ingress-services-view",component:()=>Be(()=>import("./ZoneIngressServicesView-1dd33b0d.js"),["./AppCollection-6359d3b1.css"],import.meta.url)},{path:"xds-config",name:"zone-ingress-xds-config-view",component:()=>Be(()=>import("./ZoneIngressXdsConfigView-9a220cb5.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"stats",name:"zone-ingress-stats-view",component:()=>Be(()=>import("./ZoneIngressStatsView-4d73437a.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"clusters",name:"zone-ingress-clusters-view",component:()=>Be(()=>import("./ZoneIngressClustersView-a6bfe89f.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)},{path:"config",name:"zone-ingress-config-view",component:()=>Be(()=>import("./ZoneIngressConfigView-bea563e7.js"),["./CodeBlock-64fe627b.css","./CopyButton-82c0805c.css","./ResourceCodeBlock-dd906c25.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css"],import.meta.url)}]}]}),xoe=()=>[{path:"/zones/-create",name:"zone-create-view",meta:{isWizard:!0},component:()=>Be(()=>import("./ZoneCreateView-f17b0bf5.js"),["./CodeBlock-64fe627b.css","./ZoneCreateView-ee734ba7.css"],import.meta.url)}],Moe=(e,t)=>{const r="/zones";return[...e,...t("use zones")?[{path:`${r}`,name:"zone-index-view",redirect:{name:"zone-cp-list-view"},children:[{path:"",name:"zone-cp-list-view",meta:{module:"zone-cps"},component:()=>Be(()=>import("./ZoneListView-8bcc2238.js"),["./AppCollection-6359d3b1.css","./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./StatusBadge-8194fcb8.css","./SummaryView-f125afe1.css","./ZoneListView-890bbc0d.css"],import.meta.url)},{path:":zone",name:"zone-cp-detail-abstract-view",children:[{path:"",name:"zone-cp-detail-tabs-view",component:()=>Be(()=>import("./ZoneDetailTabsView-90c4967c.js"),["./CopyButton-82c0805c.css","./TextWithCopyButton-f7225b54.css","./ErrorBlock-bcc21522.css","./NavTabs-98023bcc.css"],import.meta.url),redirect:{name:"zone-cp-detail-view"},children:[{path:"overview",name:"zone-cp-detail-view",component:()=>Be(()=>import("./ZoneDetailView-c9fb9a38.js"),["./StatusBadge-8194fcb8.css","./AccordionList-8bab9627.css","./SubscriptionList-408b08ab.css"],import.meta.url)},{path:"config",name:"zone-cp-config-view",component:()=>Be(()=>import("./ZoneConfigView-26652f77.js"),["./CodeBlock-64fe627b.css"],import.meta.url)},...Z8().items(),...S2().items()]},...Z8().item(),...S2().item()]}]}]:[{path:`${r}`,redirect:{name:"zone-egress-list-view"},children:[...S2().items(),...S2().item()]}]]},Soe={fromObject:e=>({...e,enabled:e.enabled!==!1})},Eoe={fromArray:e=>{const t=dh.fromArray(e),r=(()=>{const n=t.subscriptions.find(a=>typeof a.config<"u"),o=Aoe(n==null?void 0:n.config)?n.config:"{}";try{return JSON.parse(o)}catch(a){console.error(a)}return{}})();return{...t,config:r}}},Loe={fromObject:e=>{const t=Eoe.fromArray(e==null?void 0:e.subscriptions);return{...e,...t,authenticationType:Ui(t.config,"dpServer.auth.type",""),environment:String(t.config.environment??""),store:Ui(t.config,"store.type","")}}},W2={fromObject:e=>{const t=Loe.fromObject(e.zoneInsight),r=Soe.fromObject(e.zone);return{...e,zoneInsight:t,zone:r,state:r.enabled?typeof(t==null?void 0:t.connectedSubscription)<"u"?"online":"offline":"disabled"}},fromCollection:e=>({...e,items:Array.isArray(e.items)?e.items.map(W2.fromObject):[]})};function Aoe(e){return e!==null&&typeof e<"u"}const Hoe={fromObject:e=>{var t,r;return{...e,socketAddress:(t=e.networking)!=null&&t.address&&((r=e.networking)!=null&&r.port)?`${e.networking.address}:${e.networking.port}`:""}}},Boe={fromObject:e=>{var t,r;return{...e,config:e,socketAddress:(t=e.networking)!=null&&t.address&&((r=e.networking)!=null&&r.port)?`${e.networking.address}:${e.networking.port}`:""}}},Toe={fromObject:e=>Doe(e)?(t=>{const r=Array.isArray(t.subscriptions)?t.subscriptions:[],n=r.slice(-1).find(o=>{var a;return((a=o.connectTime)==null?void 0:a.length)&&!o.disconnectTime});return{...t,subscriptions:r,connectedSubscription:n}})(e):void 0},Q2={fromObject:e=>{const t=Toe.fromObject(e.zoneEgressInsight),r=Hoe.fromObject(e.zoneEgress);return{...e,zoneEgressInsight:t,zoneEgress:r,state:typeof(t==null?void 0:t.connectedSubscription)<"u"?"online":"offline"}},fromCollection:e=>({...e,items:Array.isArray(e.items)?e.items.map(Q2.fromObject):[]})};function Doe(e){return e!==null&&typeof e<"u"}const Ooe=e=>({"/zone-cps/:name/egresses":async(t,r)=>{r.close();const{name:n,size:o,page:a}=t,i=o*(a-1),s=await e.getAllZoneEgressOverviews({size:o,offset:i});return n!=="*"&&(s.items=s.items.filter(l=>l.zoneEgress.zone===n),s.total=s.items.length),Q2.fromCollection(s)},"/zone-egresses/:name":async(t,r)=>{r.close();const{name:n}=t;return Boe.fromObject(await e.getZoneEgress({name:n}))},"/zone-egresses/:name/as/kubernetes":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneEgress({name:n},{format:"kubernetes"})},"/zone-egresses/:name/data-path/:dataPath":(t,r)=>{r.close();const{name:n,dataPath:o}=t;return e.getZoneEgressData({zoneEgressName:n,dataPath:o})},"/zone-egress-overviews":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return Q2.fromCollection(await e.getAllZoneEgressOverviews({size:n,offset:o}))},"/zone-egress-overviews/:name":async(t,r)=>{r.close();const{name:n}=t;return Q2.fromObject(await e.getZoneEgressOverview({name:n}))}}),Voe={fromObject:e=>{var t,r,n,o;return{...e,availableServices:Array.isArray(e.availableServices)?e.availableServices:[],socketAddress:(t=e.networking)!=null&&t.address&&((r=e.networking)!=null&&r.port)?`${e.networking.address}:${e.networking.port}`:"",advertisedSocketAddress:(n=e.networking)!=null&&n.advertisedAddress&&((o=e.networking)!=null&&o.advertisedPort)?`${e.networking.advertisedAddress}:${e.networking.advertisedPort}`:""}}},Ioe={fromObject:e=>{var t,r,n,o;return{...e,config:e,availableServices:Array.isArray(e.availableServices)?e.availableServices:[],socketAddress:(t=e.networking)!=null&&t.address&&((r=e.networking)!=null&&r.port)?`${e.networking.address}:${e.networking.port}`:"",advertisedSocketAddress:(n=e.networking)!=null&&n.advertisedAddress&&((o=e.networking)!=null&&o.advertisedPort)?`${e.networking.advertisedAddress}:${e.networking.advertisedPort}`:""}}},Poe={fromObject:e=>Noe(e)?(t=>{const r=Array.isArray(t.subscriptions)?t.subscriptions:[],n=r.slice(-1).find(o=>{var a;return((a=o.connectTime)==null?void 0:a.length)&&!o.disconnectTime});return{...t,subscriptions:r,connectedSubscription:n}})(e):void 0},X2={fromObject:e=>{const t=Poe.fromObject(e.zoneIngressInsight),r=Voe.fromObject(e.zoneIngress);return{...e,zoneIngressInsight:t,zoneIngress:r,state:typeof(t==null?void 0:t.connectedSubscription)<"u"?"online":"offline"}},fromCollection:e=>({...e,items:Array.isArray(e.items)?e.items.map(X2.fromObject):[]})};function Noe(e){return e!==null&&typeof e<"u"}const Zoe=e=>({"/zone-cps/:name/ingresses":async t=>{const{name:r,size:n,page:o}=t,a=n*(o-1),i=await e.getAllZoneIngressOverviews({size:n,offset:a});return i.items=i.items.filter(s=>s.zoneIngress.zone===r),X2.fromCollection(i)},"/zone-ingresses/:name":async t=>{const{name:r}=t;return Ioe.fromObject(await e.getZoneIngress({name:r}))},"/zone-ingresses/:name/data-path/:dataPath":t=>{const{name:r,dataPath:n}=t;return e.getZoneIngressData({zoneIngressName:r,dataPath:n})},"/zone-ingresses/:name/as/kubernetes":async t=>{const{name:r}=t;return await e.getZoneIngress({name:r},{format:"kubernetes"})},"/zone-ingress-overviews":async t=>{const{size:r}=t,n=t.size*(t.page-1);return X2.fromCollection(await e.getAllZoneIngressOverviews({size:r,offset:n}))},"/zone-ingress-overviews/:name":async t=>{const{name:r}=t;return X2.fromObject(await e.getZoneIngressOverview({name:r}))}}),Roe=(e,t)=>({...Zoe(t),...Ooe(t),"/zone-cps":async r=>{const{size:n}=r,o=n*(r.page-1);return W2.fromCollection(await t.getAllZoneOverviews({size:n,offset:o}))},"/zone-cps/:name":async r=>{const{name:n}=r;return W2.fromObject(await t.getZoneOverview({name:n}))},"/zone-cps/online/:name":r=>{const n=class extends Error{},{name:o}=r;return e(async()=>{const a=W2.fromObject(await t.getZoneOverview({name:o}));if(a.state==="online")return a;throw new n},{retry:a=>{if(a instanceof n)return new Promise(i=>setTimeout(i,2e3))}})}}),$oe=e=>[[je("zones.routes"),{service:t=>Moe(t("create zones")?xoe():[],t),arguments:[e.can],labels:[e.routes]}],[je("zone.sources"),{service:Roe,arguments:[e.source,e.api],labels:[e.sources]}],[je("zone.features"),{service:koe,arguments:[e.env],labels:[e.features]}]],zoe={common:{not_applicable:"N/A",formats:{integer:"{value, number, integer}",bytes:"{value, number, integer}"},product:{name:"Kuma",href:{docs:{index:"{KUMA_DOCS_URL}/"},feedback:"https://github.com/kumahq/kuma/issues/new/choose",install:"https://kuma.io/install/latest/?{KUMA_UTM_QUERY_PARAMS}"},environment:{universal:"Universal",kubernetes:"Kubernetes",unknown:"—"},mode:{standalone:"Standalone",global:"Multi-Zone",zone:"Zone"}},warnings:{CERT_EXPIRED:`'<'p>The certificate for this dataplane has expired'<'/p> `,ZONE_STORE_TYPE_MEMORY:`'<'p>This zone is using the '<'code>memory'<'/code> store type. '<'strong>Don't'<'/strong> use this store in production because the state isn't persisted. '<'a target="_blank" href="{KUMA_DOCS_URL}/documentation/configuration/#store">Read more about store types'<'/a>'<'/p> `,GLOBAL_STORE_TYPE_MEMORY:`'<'p>This control plane is using the '<'code>memory'<'/code> store type. '<'strong>Don't'<'/strong> use this store in production because the state isn't persisted. '<'a target="_blank" href="{KUMA_DOCS_URL}/documentation/configuration/#store">Read more about store types'<'/a>'<'/p> `,INCOMPATIBLE_UNSUPPORTED_ENVOY:`'<'p>Envoy ('<'strong>{ envoy }'<'/strong>) is unsupported by the current version of Kuma DP ('<'strong>{ kumaDp }'<'/strong>)'<'/p> @@ -624,4 +624,4 @@ egress: enabled: {zoneEgressEnabled} experimental: deltaKds: true -`,connectDescription:"Next, run the following command to connect the Zone.",connectCommand:"helm upgrade --install -n kuma-system -f values.yaml kuma kuma/kuma"}}},create:{generalError:{title:"Could not create the Zone"},invalidNameError:"The name must be a valid RFC 1035 DNS name, which means it must start with a letter, be less than 64 characters long, and only contain lowercase letters, numbers, and '-'.",status_error:{409:{title:"Error 409: A Zone with the name {name} already exists",description:"If you want to connect a Zone with this name, you can delete the existing one and create a new one."},500:{title:"Error 500: An error occurred while creating the Zone {name}",description:"You may retry this operation."}}}}},tae={...zoe,...Uoe,...Foe,...joe,...qoe,...Goe,...Koe,...Qoe,...Woe,...Yoe,...eae,...Joe,...Xoe};class rae{constructor(t,r){this.client=t,this.env=r}get baseUrl(){return this.client.baseUrl}}class nae extends rae{async getLatestVersion(){return this.client.get(this.env("KUMA_VERSION_URL"))}getConfig(){return this.client.get("/config")}getPolicyTypes(){return this.client.get("/policies")}getGlobalInsight(){return this.client.get("/global-insight")}getZones(t){return this.client.get("/zones",{params:t})}getZone({name:t},r){return this.client.get(`/zones/${t}`,{params:r})}createZone(t){return this.client.post("/provision-zone",t)}updateZone(t){return this.client.put(`/zones/${t.name}`,t)}deleteZone({name:t}){return this.client.delete(`/zones/${t}`)}getAllZoneOverviews(t){return this.client.get("/zones/_overview",{params:t})}getZoneOverview({name:t},r){return this.client.get(`/zones/${t}/_overview`,{params:r})}getZoneIngress({name:t},r){return this.client.get(`/zone-ingresses/${t}`,{params:r})}getZoneIngressData({zoneIngressName:t,dataPath:r},n){return this.client.get(`/zoneingresses/${t}/${r}`,{params:n})}getAllZoneIngressOverviews(t){return this.client.get("/zone-ingresses/_overview",{params:t})}getZoneIngressOverview({name:t},r){return this.client.get(`/zone-ingresses/${t}/_overview`,{params:r})}getZoneEgress({name:t},r){return this.client.get(`/zoneegresses/${t}`,{params:r})}getZoneEgressData({zoneEgressName:t,dataPath:r},n){return this.client.get(`/zoneegresses/${t}/${r}`,{params:n})}getAllZoneEgressOverviews(t){return this.client.get("/zoneegresses/_overview",{params:t})}getZoneEgressOverview({name:t},r){return this.client.get(`/zoneegresses/${t}/_overview`,{params:r})}getAllMeshes(t){return this.client.get("/meshes",{params:t})}getMesh({name:t},r){return this.client.get(`/meshes/${t}`,{params:r})}getAllMeshInsights(t){return this.client.get("/mesh-insights",{params:t})}getMeshInsights({name:t},r){return this.client.get(`/mesh-insights/${t}`,{params:r})}getAllDataplanes(t){return this.client.get("/dataplanes",{params:t})}getDataplaneFromMesh({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}`,{params:n})}getAllDataplaneOverviews(t){return this.client.get("/dataplanes/_overview",{params:t})}getAllDataplaneOverviewsFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/dataplanes/_overview`,{params:r})}getDataplaneOverviewFromMesh({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/_overview`,{params:n})}getSidecarDataplanePolicies({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/policies`,{params:n})}getMeshGatewayDataplane({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/policies`,{params:n})}getDataplaneRules({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/_rules`,{params:n})}getDataplaneData({mesh:t,dppName:r,dataPath:n},o){return this.client.get(`/meshes/${t}/dataplanes/${r}/${n}`,{params:o})}getAllServiceInsights(t){return this.client.get("/service-insights",{params:t})}getAllServiceInsightsFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/service-insights`,{params:r})}getServiceInsight({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/service-insights/${r}`,{params:n})}getAllExternalServices(t){return this.client.get("/external-services",{params:t})}getAllExternalServicesFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/external-services`,{params:r})}getExternalService({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/external-services/${r}`,{params:n})}getPolicyConnections({mesh:t,path:r,name:n},o){return this.client.get(`/meshes/${t}/${r}/${n}/_resources/dataplanes`,{params:o})}getAllPolicyEntitiesFromMesh({mesh:t,path:r},n){return this.client.get(`/meshes/${t}/${r}`,{params:n})}getSinglePolicyEntity({mesh:t,path:r,name:n},o){return this.client.get(`/meshes/${t}/${r}/${n}`,{params:o})}}class oae extends Error{constructor({status:r,type:n=null,title:o,detail:a=null,instance:i=null,invalidParameters:s=[]}){super(o);gt(this,"status");gt(this,"type");gt(this,"title");gt(this,"detail");gt(this,"instance");gt(this,"invalidParameters");this.name="ApiError",this.status=r,this.type=n,this.title=o,this.detail=a,this.instance=i,this.invalidParameters=s}toJSON(){return{status:this.status,type:this.type,title:this.title,detail:this.detail,instance:this.instance,invalidParameters:this.invalidParameters}}toString(){return`${this.status}: ${this.message}`}}async function aae(e,t={},r){var c;const n=t,o=n.method??"GET";n.headers=n.headers instanceof Headers?n.headers:new Headers(n.headers),!n.headers.has("content-type")&&["POST","PUT","PATCH"].includes(o)&&n.headers.set("content-type","application/json");let a=e;"params"in t&&t.params!==void 0&&o==="GET"&&(a+=`?${new URLSearchParams(t.params).toString()}`),r!==void 0&&((c=n.headers.get("content-type"))!=null&&c.startsWith("application/json")?n.body=JSON.stringify(r):n.body=r);let i;try{i=await fetch(a,n)}catch(d){throw iae(d)}const s=i.headers.get("content-type"),u=(s!==null?s.startsWith("application/json")||s.startsWith("application/problem+json"):!1)?await i.json():await i.text();if(i.ok)return{response:i,data:u};throw sae(i,u)}function iae(e){const t=e instanceof Error?e.message:"An unknown network error occurred.";return new Error(t)}function sae(e,t){const r=e.status;let n,o,a,i,s;return typeof t=="string"&&t.length>0?o=t:t!==null&&typeof t=="object"&&("type"in t&&typeof t.type=="string"&&(n=t.type),"title"in t&&typeof t.title=="string"&&(o=t.title),"detail"in t&&typeof t.detail=="string"&&(a=t.detail),"instance"in t&&typeof t.instance=="string"&&(i=t.instance),"invalid_parameters"in t&&Array.isArray(t.invalid_parameters)&&(s=t.invalid_parameters)),r===403&&(o="You currently don’t have access to this data."),o===void 0&&(o="An error has occurred while trying to load this data."),i&&(o+=` (trace: ${i})`),new oae({status:r,type:n,title:o,detail:a,instance:i,invalidParameters:s})}class lae{constructor(t){this.env=t}get baseUrl(){return this.env("KUMA_API_URL")}async get(t,r){const{data:n}=await this.raw(t,void 0,r,"GET");return n}async delete(t,r){await this.raw(t,void 0,r,"DELETE")}async post(t,r,n){const{data:o}=await this.raw(t,r,n,"POST");return o}async put(t,r,n){const{data:o}=await this.raw(t,r,n,"PUT");return o}async patch(t,r,n){const{data:o}=await this.raw(t,r,n,"PATCH");return o}async raw(t,r,n={},o="GET"){const a=R8(n);a.method=o;const i=new Headers;if("headers"in a){const l=a.headers instanceof Headers?a.headers:new Headers(a.headers);for(const[u,c]of l)i.set(u,c)}Object.keys(i).length>0&&(a.headers=i);const s=R8(a);return aae(`${t.startsWith("http")?"":this.baseUrl}${t}`,s,r)}}function R8(e){const t=e??{};if(t.params&&!Array.isArray(t.params)){const r=[];for(const[n,o]of Object.entries(t.params))if(o!==void 0)if(Array.isArray(o))for(const a of o)r.push([n,a]);else r.push([n,o]);t.params=r}return t}const uae={...Zp,...fne,...Lp},cae=e=>[[e.EnvVars,{constant:{KUMA_PRODUCT_NAME:"Kuma",KUMA_VERSION_URL:"https://kuma.io/latest_version",KUMA_DOCS_URL:"https://kuma.io/docs",KUMA_MOCK_API_ENABLED:{}.VITE_MOCK_API_ENABLED,KUMA_ZONE_CREATION_FLOW:{}.VITE_ZONE_CREATION_FLOW}}],[e.httpClient,{service:lae,arguments:[e.env]}],[e.api,{service:nae,arguments:[e.httpClient,e.env]}],[je("kong.plugins"),{service:()=>[[FX]],labels:[e.plugins]}],[je("kuma.i18n.en-us"),{constant:tae,labels:[e.enUs]}],...Uee(e),...dne({...e,routes:e.routesLabel}),...zne(e),...Zne(e),...$oe({...e,routes:e.routesLabel}),..._oe({...e,routes:e.routesLabel})],fn=uae;async function dae(){(await NJ(cae(fn),Mne({...fn,routes:fn.routesLabel}),Pne({...fn,ControlPlaneStatus:Sne.ControlPlaneStatus,routes:fn.routesLabel}),Lne({...fn,routes:fn.routesLabel}),[])(fn.app)((await Be(()=>import("./App-cc93623c.js"),["./App-59e26e0a.css"],import.meta.url)).default)).mount("#app")}dae();export{Sae as $,pae as A,at as B,rt as C,Cae as D,Zae as E,Se as F,Rae as G,_ as H,Iae as I,Nae as J,Pae as K,Vae as L,n1 as M,Rt as N,Jm as O,ut as P,Eae as Q,Wn as R,wae as S,hae as T,zee as U,$ae as V,k1 as W,j2 as X,Lae as Y,Mae as Z,Na as _,Ht as a,Tae as a0,Xc as a1,oae as a2,ti as a3,Ii as a4,Bae as a5,vae as a6,Le as a7,ze as a8,fQ as a9,Aae as aA,Lq as aB,vt as aC,Xm as aD,pa as aa,Dae as ab,_ae as ac,it as ad,Oae as ae,bJ as af,VE as ag,q8 as ah,Rh as ai,yQ as aj,Hae as ak,T9 as al,qt as am,kr as an,er as ao,mae as ap,xae as aq,aa as ar,jm as as,yae as at,bae as au,Ct as av,Qr as aw,kae as ax,gae as ay,Ui as az,J as b,x as c,te as d,$ as e,S as f,ao as g,po as h,pt as i,Be as j,on as k,D as l,v as m,ie as n,h as o,P as p,hne as q,W as r,Xe as s,N as t,pne as u,Je as v,B as w,zae as x,Fee as y,U as z}; +`,connectDescription:"Next, run the following command to connect the Zone.",connectCommand:"helm upgrade --install -n kuma-system -f values.yaml kuma kuma/kuma"}}},create:{generalError:{title:"Could not create the Zone"},invalidNameError:"The name must be a valid RFC 1035 DNS name, which means it must start with a letter, be less than 64 characters long, and only contain lowercase letters, numbers, and '-'.",status_error:{409:{title:"Error 409: A Zone with the name {name} already exists",description:"If you want to connect a Zone with this name, you can delete the existing one and create a new one."},500:{title:"Error 500: An error occurred while creating the Zone {name}",description:"You may retry this operation."}}}}},tae={...zoe,...Uoe,...Foe,...joe,...qoe,...Goe,...Koe,...Qoe,...Woe,...Yoe,...eae,...Joe,...Xoe};class rae{constructor(t,r){this.client=t,this.env=r}get baseUrl(){return this.client.baseUrl}}class nae extends rae{async getLatestVersion(){return this.client.get(this.env("KUMA_VERSION_URL"))}getConfig(){return this.client.get("/config")}getPolicyTypes(){return this.client.get("/policies")}getGlobalInsight(){return this.client.get("/global-insight")}getZones(t){return this.client.get("/zones",{params:t})}getZone({name:t},r){return this.client.get(`/zones/${t}`,{params:r})}createZone(t){return this.client.post("/provision-zone",t)}updateZone(t){return this.client.put(`/zones/${t.name}`,t)}deleteZone({name:t}){return this.client.delete(`/zones/${t}`)}getAllZoneOverviews(t){return this.client.get("/zones/_overview",{params:t})}getZoneOverview({name:t},r){return this.client.get(`/zones/${t}/_overview`,{params:r})}getZoneIngress({name:t},r){return this.client.get(`/zone-ingresses/${t}`,{params:r})}getZoneIngressData({zoneIngressName:t,dataPath:r},n){return this.client.get(`/zoneingresses/${t}/${r}`,{params:n})}getAllZoneIngressOverviews(t){return this.client.get("/zone-ingresses/_overview",{params:t})}getZoneIngressOverview({name:t},r){return this.client.get(`/zone-ingresses/${t}/_overview`,{params:r})}getZoneEgress({name:t},r){return this.client.get(`/zoneegresses/${t}`,{params:r})}getZoneEgressData({zoneEgressName:t,dataPath:r},n){return this.client.get(`/zoneegresses/${t}/${r}`,{params:n})}getAllZoneEgressOverviews(t){return this.client.get("/zoneegresses/_overview",{params:t})}getZoneEgressOverview({name:t},r){return this.client.get(`/zoneegresses/${t}/_overview`,{params:r})}getAllMeshes(t){return this.client.get("/meshes",{params:t})}getMesh({name:t},r){return this.client.get(`/meshes/${t}`,{params:r})}getAllMeshInsights(t){return this.client.get("/mesh-insights",{params:t})}getMeshInsights({name:t},r){return this.client.get(`/mesh-insights/${t}`,{params:r})}getAllDataplanes(t){return this.client.get("/dataplanes",{params:t})}getDataplaneFromMesh({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}`,{params:n})}getAllDataplaneOverviews(t){return this.client.get("/dataplanes/_overview",{params:t})}getAllDataplaneOverviewsFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/dataplanes/_overview`,{params:r})}getDataplaneOverviewFromMesh({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/_overview`,{params:n})}getSidecarDataplanePolicies({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/policies`,{params:n})}getMeshGatewayDataplane({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/policies`,{params:n})}getDataplaneRules({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/dataplanes/${r}/_rules`,{params:n})}getDataplaneData({mesh:t,dppName:r,dataPath:n},o){return this.client.get(`/meshes/${t}/dataplanes/${r}/${n}`,{params:o})}getAllServiceInsights(t){return this.client.get("/service-insights",{params:t})}getAllServiceInsightsFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/service-insights`,{params:r})}getServiceInsight({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/service-insights/${r}`,{params:n})}getAllExternalServices(t){return this.client.get("/external-services",{params:t})}getAllExternalServicesFromMesh({mesh:t},r){return this.client.get(`/meshes/${t}/external-services`,{params:r})}getExternalService({mesh:t,name:r},n){return this.client.get(`/meshes/${t}/external-services/${r}`,{params:n})}getPolicyConnections({mesh:t,path:r,name:n},o){return this.client.get(`/meshes/${t}/${r}/${n}/_resources/dataplanes`,{params:o})}getAllPolicyEntitiesFromMesh({mesh:t,path:r},n){return this.client.get(`/meshes/${t}/${r}`,{params:n})}getSinglePolicyEntity({mesh:t,path:r,name:n},o){return this.client.get(`/meshes/${t}/${r}/${n}`,{params:o})}}class oae extends Error{constructor({status:r,type:n=null,title:o,detail:a=null,instance:i=null,invalidParameters:s=[]}){super(o);gt(this,"status");gt(this,"type");gt(this,"title");gt(this,"detail");gt(this,"instance");gt(this,"invalidParameters");this.name="ApiError",this.status=r,this.type=n,this.title=o,this.detail=a,this.instance=i,this.invalidParameters=s}toJSON(){return{status:this.status,type:this.type,title:this.title,detail:this.detail,instance:this.instance,invalidParameters:this.invalidParameters}}toString(){return`${this.status}: ${this.message}`}}async function aae(e,t={},r){var c;const n=t,o=n.method??"GET";n.headers=n.headers instanceof Headers?n.headers:new Headers(n.headers),!n.headers.has("content-type")&&["POST","PUT","PATCH"].includes(o)&&n.headers.set("content-type","application/json");let a=e;"params"in t&&t.params!==void 0&&o==="GET"&&(a+=`?${new URLSearchParams(t.params).toString()}`),r!==void 0&&((c=n.headers.get("content-type"))!=null&&c.startsWith("application/json")?n.body=JSON.stringify(r):n.body=r);let i;try{i=await fetch(a,n)}catch(d){throw iae(d)}const s=i.headers.get("content-type"),u=(s!==null?s.startsWith("application/json")||s.startsWith("application/problem+json"):!1)?await i.json():await i.text();if(i.ok)return{response:i,data:u};throw sae(i,u)}function iae(e){const t=e instanceof Error?e.message:"An unknown network error occurred.";return new Error(t)}function sae(e,t){const r=e.status;let n,o,a,i,s;return typeof t=="string"&&t.length>0?o=t:t!==null&&typeof t=="object"&&("type"in t&&typeof t.type=="string"&&(n=t.type),"title"in t&&typeof t.title=="string"&&(o=t.title),"detail"in t&&typeof t.detail=="string"&&(a=t.detail),"instance"in t&&typeof t.instance=="string"&&(i=t.instance),"invalid_parameters"in t&&Array.isArray(t.invalid_parameters)&&(s=t.invalid_parameters)),r===403&&(o="You currently don’t have access to this data."),o===void 0&&(o="An error has occurred while trying to load this data."),i&&(o+=` (trace: ${i})`),new oae({status:r,type:n,title:o,detail:a,instance:i,invalidParameters:s})}class lae{constructor(t){this.env=t}get baseUrl(){return this.env("KUMA_API_URL")}async get(t,r){const{data:n}=await this.raw(t,void 0,r,"GET");return n}async delete(t,r){await this.raw(t,void 0,r,"DELETE")}async post(t,r,n){const{data:o}=await this.raw(t,r,n,"POST");return o}async put(t,r,n){const{data:o}=await this.raw(t,r,n,"PUT");return o}async patch(t,r,n){const{data:o}=await this.raw(t,r,n,"PATCH");return o}async raw(t,r,n={},o="GET"){const a=R8(n);a.method=o;const i=new Headers;if("headers"in a){const l=a.headers instanceof Headers?a.headers:new Headers(a.headers);for(const[u,c]of l)i.set(u,c)}Object.keys(i).length>0&&(a.headers=i);const s=R8(a);return aae(`${t.startsWith("http")?"":this.baseUrl}${t}`,s,r)}}function R8(e){const t=e??{};if(t.params&&!Array.isArray(t.params)){const r=[];for(const[n,o]of Object.entries(t.params))if(o!==void 0)if(Array.isArray(o))for(const a of o)r.push([n,a]);else r.push([n,o]);t.params=r}return t}const uae={...Zp,...fne,...Lp},cae=e=>[[e.EnvVars,{constant:{KUMA_PRODUCT_NAME:"Kuma",KUMA_VERSION_URL:"https://kuma.io/latest_version",KUMA_DOCS_URL:"https://kuma.io/docs",KUMA_MOCK_API_ENABLED:{}.VITE_MOCK_API_ENABLED,KUMA_ZONE_CREATION_FLOW:{}.VITE_ZONE_CREATION_FLOW}}],[e.httpClient,{service:lae,arguments:[e.env]}],[e.api,{service:nae,arguments:[e.httpClient,e.env]}],[je("kong.plugins"),{service:()=>[[FX]],labels:[e.plugins]}],[je("kuma.i18n.en-us"),{constant:tae,labels:[e.enUs]}],...Uee(e),...dne({...e,routes:e.routesLabel}),...zne(e),...Zne(e),...$oe({...e,routes:e.routesLabel}),..._oe({...e,routes:e.routesLabel})],fn=uae;async function dae(){(await NJ(cae(fn),Mne({...fn,routes:fn.routesLabel}),Pne({...fn,ControlPlaneStatus:Sne.ControlPlaneStatus,routes:fn.routesLabel}),Lne({...fn,routes:fn.routesLabel}),[])(fn.app)((await Be(()=>import("./App-d5f1b32e.js"),["./App-59e26e0a.css"],import.meta.url)).default)).mount("#app")}dae();export{Sae as $,pae as A,at as B,rt as C,Cae as D,Zae as E,Se as F,Rae as G,_ as H,Iae as I,Nae as J,Pae as K,Vae as L,n1 as M,Rt as N,Jm as O,ut as P,Eae as Q,Wn as R,wae as S,hae as T,zee as U,$ae as V,k1 as W,j2 as X,Lae as Y,Mae as Z,Na as _,Ht as a,Tae as a0,Xc as a1,oae as a2,ti as a3,Ii as a4,Bae as a5,vae as a6,Le as a7,ze as a8,fQ as a9,Aae as aA,Lq as aB,vt as aC,Xm as aD,pa as aa,Dae as ab,_ae as ac,it as ad,Oae as ae,bJ as af,VE as ag,q8 as ah,Rh as ai,yQ as aj,Hae as ak,T9 as al,qt as am,kr as an,er as ao,mae as ap,xae as aq,aa as ar,jm as as,yae as at,bae as au,Ct as av,Qr as aw,kae as ax,gae as ay,Ui as az,J as b,x as c,te as d,$ as e,S as f,ao as g,po as h,pt as i,Be as j,on as k,D as l,v as m,ie as n,h as o,P as p,hne as q,W as r,Xe as s,N as t,pne as u,Je as v,B as w,zae as x,Fee as y,U as z}; diff --git a/app/kuma-ui/pkg/resources/data/index.html b/app/kuma-ui/pkg/resources/data/index.html index f41bd71d6cbc..6d928303b935 100644 --- a/app/kuma-ui/pkg/resources/data/index.html +++ b/app/kuma-ui/pkg/resources/data/index.html @@ -1 +1 @@ -Manager
\ No newline at end of file +Manager
\ No newline at end of file