From f6329e5564f9ce2d7f15934e56ea819103535738 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 2 Nov 2023 15:31:20 +0000 Subject: [PATCH] chore(deps): bump kumahq/kuma-gui to a8515fcaa957fa4295113fbb29c419df2c6aa9c2 Bumps kumahq/kuma-gui to version [master@a8515fcaa957fa4295113fbb29c419df2c6aa9c2](https://github.com/kumahq/kuma-gui/tree/a8515fcaa957fa4295113fbb29c419df2c6aa9c2) Signed-off-by: GitHub --- ...{AccordionList-9da1a7d6.js => AccordionList-f11442ab.js} | 2 +- ...ddNewServices-8879ad37.js => AddNewServices-2a7d4b1b.js} | 2 +- ...vicesCode-c0e0fab6.js => AddNewServicesCode-755928f6.js} | 2 +- .../data/assets/{App-424cf69c.js => App-aface07a.js} | 2 +- ...{AppCollection-f3ad81ed.js => AppCollection-6aabd095.js} | 2 +- ...NotFoundView-ddd7ba27.js => AppNotFoundView-534e6206.js} | 2 +- .../{ClustersView-453545d0.js => ClustersView-6fdd8967.js} | 2 +- .../{ClustersView-479fb00d.js => ClustersView-fdcfd700.js} | 2 +- ...> CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js} | 2 +- ...{CompletedView-a4e971bf.js => CompletedView-4c54c244.js} | 2 +- .../{ConfigView-4c0ec9bd.js => ConfigView-28cc7b93.js} | 2 +- .../{ConfigView-d21f5e13.js => ConfigView-974c6db1.js} | 2 +- .../{ConfigView-39c1b3d5.js => ConfigView-a6428b6d.js} | 2 +- ...tionTypes-e624cf1f.js => ConfigurationTypes-57bf3e5e.js} | 2 +- .../{CreateMesh-54c89961.js => CreateMesh-c7c2b3e5.js} | 2 +- .../{CreateView-cec9986c.js => CreateView-c37fa2bc.js} | 2 +- ...rsView-40194a2c.js => DataPlaneClustersView-e89523a1.js} | 2 +- ...nfigView-2437abf4.js => DataPlaneConfigView-dd31f078.js} | 2 +- ...View-a745d63a.js => DataPlaneDetailTabsView-e235a490.js} | 2 +- ...tailView-9c54f759.js => DataPlaneDetailView-3d3cd2e0.js} | 2 +- ...neListView-1e3cb34a.js => DataPlaneListView-fd44260d.js} | 2 +- ...esView-1d5babda.js => DataPlanePoliciesView-2cacfe44.js} | 2 +- ...StatsView-983a158e.js => DataPlaneStatsView-b033a96e.js} | 2 +- ...aryView-a8da7b55.js => DataPlaneSummaryView-f5a3bcb5.js} | 2 +- ...gView-2bdfc51a.js => DataPlaneXdsConfigView-544cfe5f.js} | 2 +- ...sOverview-bdf51de6.js => DataplanesOverview-ce6ad3c6.js} | 2 +- ...ceModal.vue_vue_type_script_setup_true_lang-488e428a.js} | 2 +- ...loymentTypes-c654c995.js => DeploymentTypes-ee27380c.js} | 2 +- .../{DetailView-3d2d8bec.js => DetailView-77d6fdfb.js} | 2 +- .../{DetailView-154200fa.js => DetailView-a436e024.js} | 2 +- .../{DetailView-38a4670e.js => DetailView-de135d50.js} | 2 +- ...gnosticsView-30390fa8.js => DiagnosticsView-44ca6f1d.js} | 2 +- ...tyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js} | 2 +- .../assets/{EnvoyData-1bdac64d.js => EnvoyData-cf08b3ca.js} | 2 +- ...ewayListView-d540dfa2.js => GatewayListView-e4e4e63f.js} | 2 +- ...ciesView-a763ed04.js => GatewayPoliciesView-7f6f2d39.js} | 2 +- .../assets/{IndexView-628d6b4b.js => IndexView-2d3ed77b.js} | 2 +- .../assets/{IndexView-393bc2c9.js => IndexView-53efc4dd.js} | 2 +- .../assets/{IndexView-e29dee91.js => IndexView-55b5e6b7.js} | 2 +- .../assets/{IndexView-364ee0e7.js => IndexView-68716c48.js} | 2 +- .../assets/{IndexView-537f2c02.js => IndexView-6e4615b2.js} | 2 +- .../assets/{IndexView-cc9f304e.js => IndexView-b07d4964.js} | 2 +- .../{KFilterBar-a5930e82.js => KFilterBar-79182a3a.js} | 2 +- .../{LoadingBox-26578e33.js => LoadingBox-3735ed8e.js} | 2 +- ...verviewView-3e954cae.js => MainOverviewView-a55d048d.js} | 2 +- ...eshConfigView-ace73325.js => MeshConfigView-e834bc0b.js} | 2 +- .../pkg/resources/data/assets/MeshDetailView-2dc351d8.css | 1 - .../pkg/resources/data/assets/MeshDetailView-871d14fe.js | 1 - .../pkg/resources/data/assets/MeshDetailView-e5bc8037.js | 1 + .../pkg/resources/data/assets/MeshDetailView-f689dfe5.css | 1 + ...{MeshIndexView-dcfdd250.js => MeshIndexView-c00fc50e.js} | 2 +- .../{MeshListView-fe724045.js => MeshListView-7cbf699c.js} | 2 +- ...hSummaryView-6b756e3a.js => MeshSummaryView-2f76bb03.js} | 2 +- .../{MeshTabsView-40132b32.js => MeshTabsView-63e35a0f.js} | 2 +- ...{MultiZoneView-a0b56ce2.js => MultiZoneView-ab12923b.js} | 2 +- .../assets/{NavTabs-75f3a8fc.js => NavTabs-769a708e.js} | 2 +- ...nboardingPage-b3657084.js => OnboardingPage-7bcb094e.js} | 2 +- ...nboardingView-04e36203.js => OnboardingView-07fb10ec.js} | 2 +- ...yDetailView-f1295a7a.js => PolicyDetailView-d24d04a3.js} | 2 +- ...olicyListView-ec35a372.js => PolicyListView-8515306d.js} | 2 +- ...ummaryView-6af568ca.js => PolicySummaryView-200ebffc.js} | 2 +- ...{PolicyTypeTag-89594388.js => PolicyTypeTag-55b27c28.js} | 2 +- ...ceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js} | 2 +- ...ConfigView-2f9f93ff.js => ServiceConfigView-7a1ff5a2.js} | 2 +- ...-b2ab9115.js => ServiceDataPlaneProxiesView-f80b32ef.js} | 2 +- ...bsView-7dc5fb1d.js => ServiceDetailTabsView-aca21c75.js} | 2 +- ...DetailView-a623afcc.js => ServiceDetailView-f4afa5ce.js} | 2 +- ...viceListView-363dba40.js => ServiceListView-e99c5efb.js} | 2 +- ...mmaryView-18076106.js => ServiceSummaryView-e524679b.js} | 2 +- .../{ServicesView-8dee0d2f.js => ServicesView-0be6fb3f.js} | 2 +- ...icyList.vue_vue_type_script_setup_true_lang-865f3026.js} | 2 +- .../assets/{StatsView-95084413.js => StatsView-71d6c8cc.js} | 2 +- .../assets/{StatsView-47cfd271.js => StatsView-ee67b5d4.js} | 2 +- .../{StatusBadge-8d0ad2da.js => StatusBadge-07ca9e6a.js} | 2 +- ...ionList.vue_vue_type_script_setup_true_lang-1387dfab.js} | 2 +- .../{SummaryView-724c0996.js => SummaryView-227f39d3.js} | 2 +- .../assets/{TagList-d18d96c7.js => TagList-8ab14f5f.js} | 2 +- .../{WelcomeView-8935b36f.js => WelcomeView-2a19eace.js} | 2 +- ...{XdsConfigView-12da1e2f.js => XdsConfigView-dab3faef.js} | 2 +- ...{XdsConfigView-59a5aaaa.js => XdsConfigView-e7c5782a.js} | 2 +- ...ryView-467ce745.js => ZoneEgressSummaryView-cddf83e2.js} | 2 +- ...yView-6e882fcd.js => ZoneIngressSummaryView-07d432e0.js} | 2 +- ...eSummaryView-af150ff6.js => ZoneSummaryView-16aa987e.js} | 2 +- .../data/assets/{index-968489e2.js => index-c6bd05ee.js} | 6 +++--- app/kuma-ui/pkg/resources/data/index.html | 2 +- 85 files changed, 85 insertions(+), 85 deletions(-) rename app/kuma-ui/pkg/resources/data/assets/{AccordionList-9da1a7d6.js => AccordionList-f11442ab.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{AddNewServices-8879ad37.js => AddNewServices-2a7d4b1b.js} (94%) rename app/kuma-ui/pkg/resources/data/assets/{AddNewServicesCode-c0e0fab6.js => AddNewServicesCode-755928f6.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{App-424cf69c.js => App-aface07a.js} (95%) rename app/kuma-ui/pkg/resources/data/assets/{AppCollection-f3ad81ed.js => AppCollection-6aabd095.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{AppNotFoundView-ddd7ba27.js => AppNotFoundView-534e6206.js} (91%) rename app/kuma-ui/pkg/resources/data/assets/{ClustersView-453545d0.js => ClustersView-6fdd8967.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{ClustersView-479fb00d.js => ClustersView-fdcfd700.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js => CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js} (99%) rename app/kuma-ui/pkg/resources/data/assets/{CompletedView-a4e971bf.js => CompletedView-4c54c244.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{ConfigView-4c0ec9bd.js => ConfigView-28cc7b93.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{ConfigView-d21f5e13.js => ConfigView-974c6db1.js} (78%) rename app/kuma-ui/pkg/resources/data/assets/{ConfigView-39c1b3d5.js => ConfigView-a6428b6d.js} (78%) rename app/kuma-ui/pkg/resources/data/assets/{ConfigurationTypes-e624cf1f.js => ConfigurationTypes-57bf3e5e.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{CreateMesh-54c89961.js => CreateMesh-c7c2b3e5.js} (91%) rename app/kuma-ui/pkg/resources/data/assets/{CreateView-cec9986c.js => CreateView-c37fa2bc.js} (98%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneClustersView-40194a2c.js => DataPlaneClustersView-e89523a1.js} (76%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneConfigView-2437abf4.js => DataPlaneConfigView-dd31f078.js} (83%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneDetailTabsView-a745d63a.js => DataPlaneDetailTabsView-e235a490.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneDetailView-9c54f759.js => DataPlaneDetailView-3d3cd2e0.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneListView-1e3cb34a.js => DataPlaneListView-fd44260d.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlanePoliciesView-1d5babda.js => DataPlanePoliciesView-2cacfe44.js} (80%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneStatsView-983a158e.js => DataPlaneStatsView-b033a96e.js} (75%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneSummaryView-a8da7b55.js => DataPlaneSummaryView-f5a3bcb5.js} (95%) rename app/kuma-ui/pkg/resources/data/assets/{DataPlaneXdsConfigView-2bdfc51a.js => DataPlaneXdsConfigView-544cfe5f.js} (76%) rename app/kuma-ui/pkg/resources/data/assets/{DataplanesOverview-bdf51de6.js => DataplanesOverview-ce6ad3c6.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{DeleteResourceModal.vue_vue_type_script_setup_true_lang-d19d1558.js => DeleteResourceModal.vue_vue_type_script_setup_true_lang-488e428a.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{DeploymentTypes-c654c995.js => DeploymentTypes-ee27380c.js} (88%) rename app/kuma-ui/pkg/resources/data/assets/{DetailView-3d2d8bec.js => DetailView-77d6fdfb.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{DetailView-154200fa.js => DetailView-a436e024.js} (80%) rename app/kuma-ui/pkg/resources/data/assets/{DetailView-38a4670e.js => DetailView-de135d50.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{DiagnosticsView-30390fa8.js => DiagnosticsView-44ca6f1d.js} (81%) rename app/kuma-ui/pkg/resources/data/assets/{EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js => EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{EnvoyData-1bdac64d.js => EnvoyData-cf08b3ca.js} (82%) rename app/kuma-ui/pkg/resources/data/assets/{GatewayListView-d540dfa2.js => GatewayListView-e4e4e63f.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{GatewayPoliciesView-a763ed04.js => GatewayPoliciesView-7f6f2d39.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-628d6b4b.js => IndexView-2d3ed77b.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-393bc2c9.js => IndexView-53efc4dd.js} (93%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-e29dee91.js => IndexView-55b5e6b7.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-364ee0e7.js => IndexView-68716c48.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-537f2c02.js => IndexView-6e4615b2.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{IndexView-cc9f304e.js => IndexView-b07d4964.js} (94%) rename app/kuma-ui/pkg/resources/data/assets/{KFilterBar-a5930e82.js => KFilterBar-79182a3a.js} (98%) rename app/kuma-ui/pkg/resources/data/assets/{LoadingBox-26578e33.js => LoadingBox-3735ed8e.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{MainOverviewView-3e954cae.js => MainOverviewView-a55d048d.js} (94%) rename app/kuma-ui/pkg/resources/data/assets/{MeshConfigView-ace73325.js => MeshConfigView-e834bc0b.js} (77%) delete mode 100644 app/kuma-ui/pkg/resources/data/assets/MeshDetailView-2dc351d8.css delete mode 100644 app/kuma-ui/pkg/resources/data/assets/MeshDetailView-871d14fe.js create mode 100644 app/kuma-ui/pkg/resources/data/assets/MeshDetailView-e5bc8037.js create mode 100644 app/kuma-ui/pkg/resources/data/assets/MeshDetailView-f689dfe5.css rename app/kuma-ui/pkg/resources/data/assets/{MeshIndexView-dcfdd250.js => MeshIndexView-c00fc50e.js} (69%) rename app/kuma-ui/pkg/resources/data/assets/{MeshListView-fe724045.js => MeshListView-7cbf699c.js} (93%) rename app/kuma-ui/pkg/resources/data/assets/{MeshSummaryView-6b756e3a.js => MeshSummaryView-2f76bb03.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{MeshTabsView-40132b32.js => MeshTabsView-63e35a0f.js} (87%) rename app/kuma-ui/pkg/resources/data/assets/{MultiZoneView-a0b56ce2.js => MultiZoneView-ab12923b.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{NavTabs-75f3a8fc.js => NavTabs-769a708e.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingPage-b3657084.js => OnboardingPage-7bcb094e.js} (97%) rename app/kuma-ui/pkg/resources/data/assets/{OnboardingView-04e36203.js => OnboardingView-07fb10ec.js} (88%) rename app/kuma-ui/pkg/resources/data/assets/{PolicyDetailView-f1295a7a.js => PolicyDetailView-d24d04a3.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{PolicyListView-ec35a372.js => PolicyListView-8515306d.js} (95%) rename app/kuma-ui/pkg/resources/data/assets/{PolicySummaryView-6af568ca.js => PolicySummaryView-200ebffc.js} (89%) rename app/kuma-ui/pkg/resources/data/assets/{PolicyTypeTag-89594388.js => PolicyTypeTag-55b27c28.js} (99%) rename app/kuma-ui/pkg/resources/data/assets/{ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a86b5a6.js => ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceConfigView-2f9f93ff.js => ServiceConfigView-7a1ff5a2.js} (82%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceDataPlaneProxiesView-b2ab9115.js => ServiceDataPlaneProxiesView-f80b32ef.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceDetailTabsView-7dc5fb1d.js => ServiceDetailTabsView-aca21c75.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceDetailView-a623afcc.js => ServiceDetailView-f4afa5ce.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceListView-363dba40.js => ServiceListView-e99c5efb.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{ServiceSummaryView-18076106.js => ServiceSummaryView-e524679b.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{ServicesView-8dee0d2f.js => ServicesView-0be6fb3f.js} (90%) rename app/kuma-ui/pkg/resources/data/assets/{SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-7066168a.js => SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-865f3026.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{StatsView-95084413.js => StatsView-71d6c8cc.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{StatsView-47cfd271.js => StatsView-ee67b5d4.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{StatusBadge-8d0ad2da.js => StatusBadge-07ca9e6a.js} (85%) rename app/kuma-ui/pkg/resources/data/assets/{SubscriptionList.vue_vue_type_script_setup_true_lang-dc8319d2.js => SubscriptionList.vue_vue_type_script_setup_true_lang-1387dfab.js} (96%) rename app/kuma-ui/pkg/resources/data/assets/{SummaryView-724c0996.js => SummaryView-227f39d3.js} (86%) rename app/kuma-ui/pkg/resources/data/assets/{TagList-d18d96c7.js => TagList-8ab14f5f.js} (88%) rename app/kuma-ui/pkg/resources/data/assets/{WelcomeView-8935b36f.js => WelcomeView-2a19eace.js} (97%) rename app/kuma-ui/pkg/resources/data/assets/{XdsConfigView-12da1e2f.js => XdsConfigView-dab3faef.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{XdsConfigView-59a5aaaa.js => XdsConfigView-e7c5782a.js} (74%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneEgressSummaryView-467ce745.js => ZoneEgressSummaryView-cddf83e2.js} (91%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneIngressSummaryView-6e882fcd.js => ZoneIngressSummaryView-07d432e0.js} (92%) rename app/kuma-ui/pkg/resources/data/assets/{ZoneSummaryView-af150ff6.js => ZoneSummaryView-16aa987e.js} (91%) rename app/kuma-ui/pkg/resources/data/assets/{index-968489e2.js => index-c6bd05ee.js} (99%) diff --git a/app/kuma-ui/pkg/resources/data/assets/AccordionList-9da1a7d6.js b/app/kuma-ui/pkg/resources/data/assets/AccordionList-f11442ab.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/AccordionList-9da1a7d6.js rename to app/kuma-ui/pkg/resources/data/assets/AccordionList-f11442ab.js index 912fba68f45a..b4a0286b3e10 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AccordionList-9da1a7d6.js +++ b/app/kuma-ui/pkg/resources/data/assets/AccordionList-f11442ab.js @@ -1 +1 @@ -import{d as v,ao as m,y as i,h as y,o as c,l,p as A,S as s,n as h,j as b,w as x,m as O,T as I,B as L,t as p,ap as g}from"./index-968489e2.js";const B=["aria-expanded"],$={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,T)=>(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,B),h(),b(I,{name:"accordion",onEnter:d,onAfterEnter:f,onBeforeLeave:d},{default:x(()=>[n.value?(c(),l("div",$,[s(a.$slots,"accordion-content",{},void 0,!0)])):O("",!0)]),_:3})],2))}});const V=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 w=p(N,[["__scopeId","data-v-bdbadd5e"]]);export{V as A,w as a}; +import{d as v,ao as m,y as i,h as y,o as c,l,p as A,S as s,n as h,j as b,w as x,m as O,T as I,B as L,t as p,ap as g}from"./index-c6bd05ee.js";const B=["aria-expanded"],$={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,T)=>(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,B),h(),b(I,{name:"accordion",onEnter:d,onAfterEnter:f,onBeforeLeave:d},{default:x(()=>[n.value?(c(),l("div",$,[s(a.$slots,"accordion-content",{},void 0,!0)])):O("",!0)]),_:3})],2))}});const V=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 w=p(N,[["__scopeId","data-v-bdbadd5e"]]);export{V as A,w as a}; diff --git a/app/kuma-ui/pkg/resources/data/assets/AddNewServices-8879ad37.js b/app/kuma-ui/pkg/resources/data/assets/AddNewServices-2a7d4b1b.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/AddNewServices-8879ad37.js rename to app/kuma-ui/pkg/resources/data/assets/AddNewServices-2a7d4b1b.js index 90178b2a2ba8..c0258a996555 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AddNewServices-8879ad37.js +++ b/app/kuma-ui/pkg/resources/data/assets/AddNewServices-2a7d4b1b.js @@ -1,4 +1,4 @@ -import{O as y,a as S,b as h}from"./OnboardingPage-b3657084.js";import{d as m,o as v,l as B,S as k,B as C,t as u,r,i as A,w as t,j as s,n as a,p as e,D as N,G as V}from"./index-968489e2.js";const R=""+new URL("new-service-demo-bff0792e.svg",import.meta.url).href,I=""+new URL("new-service-manually-5bec5301.svg",import.meta.url).href,$=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(),B("div",{class:C(["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($,[["__scopeId","data-v-506b07cb"]]),g=o=>(N("data-v-c81d235d"),o=o(),V(),o),O={class:"service-mode-list"},T=g(()=>e("div",{class:"service-box-content"},[e("img",{src:R}),a(),e("p",{class:"service-mode-title"},` +import{O as y,a as S,b as h}from"./OnboardingPage-7bcb094e.js";import{d as m,o as v,l as B,S as k,B as C,t as u,r,i as A,w as t,j as s,n as a,p as e,D as N,G as V}from"./index-c6bd05ee.js";const R=""+new URL("new-service-demo-bff0792e.svg",import.meta.url).href,I=""+new URL("new-service-manually-5bec5301.svg",import.meta.url).href,$=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(),B("div",{class:C(["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($,[["__scopeId","data-v-506b07cb"]]),g=o=>(N("data-v-c81d235d"),o=o(),V(),o),O={class:"service-mode-list"},T=g(()=>e("div",{class:"service-box-content"},[e("img",{src:R}),a(),e("p",{class:"service-mode-title"},` Demo app `),a(),e("p",null,"Counter application")],-1)),z=g(()=>e("div",{class:"service-box-content"},[e("img",{src:I}),a(),e("p",{class:"service-mode-title"},` Manually diff --git a/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-c0e0fab6.js b/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-755928f6.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-c0e0fab6.js rename to app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-755928f6.js index eab57c0ed305..235558f7e1cc 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-c0e0fab6.js +++ b/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-755928f6.js @@ -1,4 +1,4 @@ -import{L as y}from"./LoadingBox-26578e33.js";import{O as A,a as N,b as R}from"./OnboardingPage-b3657084.js";import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import{d as T,Q as C,y as _,R as V,r as u,o as n,i as D,w as a,j as t,n as e,l as c,F as P,p as o,m as I,D as L,G as O,t as E}from"./index-968489e2.js";const b=d=>(L("data-v-7e9a50ed"),d=d(),O(),d),S=b(()=>o("p",{class:"mb-4 text-center"},` +import{L as y}from"./LoadingBox-3735ed8e.js";import{O as A,a as N,b as R}from"./OnboardingPage-7bcb094e.js";import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import{d as T,Q as C,y as _,R as V,r as u,o as n,i as D,w as a,j as t,n as e,l as c,F as P,p as o,m as I,D as L,G as O,t as E}from"./index-c6bd05ee.js";const b=d=>(L("data-v-7e9a50ed"),d=d(),O(),d),S=b(()=>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)),B=b(()=>o("p",null,"To run execute the following command:",-1)),G={key:1},q={class:"status-box mt-4"},F={key:0,class:"status--is-connected","data-testid":"dpps-connected"},H={key:1,class:"status--is-disconnected","data-testid":"dpps-disconnected"},K={key:0,class:"status-loading-box mt-4"},M=1e3,h="https://github.com/kumahq/kuma-counter-demo/",U="https://github.com/kumahq/kuma-counter-demo/blob/master/README.md",$="kubectl apply -f https://bit.ly/3Kh2Try",j=T({__name:"AddNewServicesCode",setup(d){const v=C(),s=_(!1),l=_(null);r(),V(function(){p()});async function r(){try{const{total:i}=await v.getAllDataplanes();s.value=i>0}catch(i){console.error(i)}finally{s.value||(p(),l.value=window.setTimeout(()=>r(),M))}}function p(){l.value!==null&&window.clearTimeout(l.value)}return(i,Q)=>{const g=u("RouteTitle"),f=u("AppView"),k=u("RouteView");return n(),D(k,{name:"onboarding-add-new-services"},{default:a(({can:w,t:x})=>[t(g,{title:x("onboarding.routes.add-services-code.title")},null,8,["title"]),e(),t(f,null,{default:a(()=>[t(A,null,{header:a(()=>[t(N,null,{title:a(()=>[e(` Add services diff --git a/app/kuma-ui/pkg/resources/data/assets/App-424cf69c.js b/app/kuma-ui/pkg/resources/data/assets/App-aface07a.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/App-424cf69c.js rename to app/kuma-ui/pkg/resources/data/assets/App-aface07a.js index f3b10f3bf997..59f8b6804ff7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/App-424cf69c.js +++ b/app/kuma-ui/pkg/resources/data/assets/App-aface07a.js @@ -1 +1 @@ -import{d as w,u as B,a as L,b as h,c as E,e as M,f as R,g as V,h as x,r as u,i as t,w as s,_ as C,o as e,j as n,k as a,l as c,m as r,n as o,A as N,p,T as H,q as S,F as Y,s as P,t as j}from"./index-968489e2.js";const q={key:1},z={key:2,class:"app-content-container"},F=["innerHTML"],G={class:"transition-root"},I=w({__name:"App",props:{data:{type:Object,required:!1,default:void 0}},setup(l){const m=l,[f,A,v,y]=[B(),L(),h(),E()],d=M(),g=R(),{t:k}=V(),i=x(()=>d.meta.isWizard===!0);return(K,W)=>{const _=u("RouterView"),O=u("KAlert");return e(),t(C,{name:"app"},{default:s(()=>[n(P,{src:"/control-plane/addresses"},{default:s(({data:T})=>[typeof T>"u"||a(d).name===void 0?(e(),t(a(v),{key:0})):(e(),c(Y,{key:1},[i.value?r("",!0):(e(),t(a(A),{key:0})),o(),a(d).meta.onboardingProcess?(e(),c("div",q,[n(_)])):(e(),c("div",z,[i.value?r("",!0):(e(),t(a(f),{key:0})),o(),n(N,null,{default:s(()=>[a(g)("use state")?r("",!0):(e(),t(O,{key:0,class:"mb-4",appearance:"warning"},{alertMessage:s(()=>[p("ul",null,[p("li",{"data-testid":"warning-GLOBAL_STORE_TYPE_MEMORY",innerHTML:a(k)("common.warnings.GLOBAL_STORE_TYPE_MEMORY")},null,8,F),o()])]),_:1})),o(),i.value?r("",!0):(e(),t(a(y),{key:1})),o(),n(_,null,{default:s(({Component:b})=>[n(H,{mode:"out-in",name:"fade"},{default:s(()=>[p("div",G,[(e(),t(S(b),{data:m.data},null,8,["data"]))])]),_:2},1024)]),_:1})]),_:1})]))],64))]),_:1})]),_:1})}}});const D=j(I,[["__scopeId","data-v-9097548d"]]);export{D as default}; +import{d as w,u as B,a as L,b as h,c as E,e as M,f as R,g as V,h as x,r as u,i as t,w as s,_ as C,o as e,j as n,k as a,l as c,m as r,n as o,A as N,p,T as H,q as S,F as Y,s as P,t as j}from"./index-c6bd05ee.js";const q={key:1},z={key:2,class:"app-content-container"},F=["innerHTML"],G={class:"transition-root"},I=w({__name:"App",props:{data:{type:Object,required:!1,default:void 0}},setup(l){const m=l,[f,A,v,y]=[B(),L(),h(),E()],d=M(),g=R(),{t:k}=V(),i=x(()=>d.meta.isWizard===!0);return(K,W)=>{const _=u("RouterView"),O=u("KAlert");return e(),t(C,{name:"app"},{default:s(()=>[n(P,{src:"/control-plane/addresses"},{default:s(({data:T})=>[typeof T>"u"||a(d).name===void 0?(e(),t(a(v),{key:0})):(e(),c(Y,{key:1},[i.value?r("",!0):(e(),t(a(A),{key:0})),o(),a(d).meta.onboardingProcess?(e(),c("div",q,[n(_)])):(e(),c("div",z,[i.value?r("",!0):(e(),t(a(f),{key:0})),o(),n(N,null,{default:s(()=>[a(g)("use state")?r("",!0):(e(),t(O,{key:0,class:"mb-4",appearance:"warning"},{alertMessage:s(()=>[p("ul",null,[p("li",{"data-testid":"warning-GLOBAL_STORE_TYPE_MEMORY",innerHTML:a(k)("common.warnings.GLOBAL_STORE_TYPE_MEMORY")},null,8,F),o()])]),_:1})),o(),i.value?r("",!0):(e(),t(a(y),{key:1})),o(),n(_,null,{default:s(({Component:b})=>[n(H,{mode:"out-in",name:"fade"},{default:s(()=>[p("div",G,[(e(),t(S(b),{data:m.data},null,8,["data"]))])]),_:2},1024)]),_:1})]),_:1})]))],64))]),_:1})]),_:1})}}});const D=j(I,[["__scopeId","data-v-9097548d"]]);export{D as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/AppCollection-f3ad81ed.js b/app/kuma-ui/pkg/resources/data/assets/AppCollection-6aabd095.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/AppCollection-f3ad81ed.js rename to app/kuma-ui/pkg/resources/data/assets/AppCollection-6aabd095.js index 5c2cc8ca26c8..610be1dd712f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AppCollection-f3ad81ed.js +++ b/app/kuma-ui/pkg/resources/data/assets/AppCollection-6aabd095.js @@ -1 +1 @@ -import{d as z,g as I,o as u,l as A,j as g,k as o,K as D,ag as B,n as c,p as K,S as v,H as p,t as L,V,y as r,h as q,ah as w,i as h,a6 as N,w as l,W as E,$ as P,I as W,ad as F,aa as H}from"./index-968489e2.js";import{_ as U}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const G=["href"],Z=z({__name:"DocumentationLink",props:{href:{}},setup(_){const{t:d}=I(),f=_;return(e,S)=>(u(),A("a",{class:"docs-link",href:f.href,target:"_blank"},[g(o(B),{size:o(D),title:o(d)("common.documentation")},null,8,["size","title"]),c(),K("span",null,[v(e.$slots,"default",{},()=>[c(p(o(d)("common.documentation")),1)],!0)])],8,G))}});const J=L(Z,[["__scopeId","data-v-1e7645ce"]]),Q={key:0,class:"app-collection-toolbar"},x=5,X=z({__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:d}){const{t:f}=I(),e=_,S=d,M=V(),k=r(e.items),C=r(0),b=r(0),y=r(e.pageNumber),$=r(e.pageSize),O=q(()=>{const t=e.headers.filter(a=>["details","warnings","actions"].includes(a.key));if(t.length>4)return"initial";const s=100-t.length*x,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 R(t){if(!t)return{};const s={};return e.isSelectedRow!==null&&e.isSelectedRow(t)&&(s.class="is-selected"),s}const j=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(H),{key:b.value,class:"app-collection",style:F(`--column-width: ${O.value}; --special-column-width: ${x}%;`),"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:T})=>{const m={};return y.value!==a&&(m.page=a),$.value!==i&&(m.size=i),y.value=a,$.value=i,Object.keys(m).length>0&&S("change",m),{data:k.value}},"cell-attrs":({headerKey:a})=>({class:`${a}-column`}),"row-attrs":R,"disable-sorting":"","hide-pagination-when-optional":"","onRow:click":j},N({_:2},[((n=e.items)==null?void 0:n.length)===0?{name:"empty-state",fn:l(()=>[g(U,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(J,{key:0,href:e.emptyStateCtaTo},{default:l(()=>[c(p(e.emptyStateCtaText),1)]),_:1},8,["href"])):(u(),h(o(E),{key:1,appearance:"primary",to:e.emptyStateCtaTo},{default:l(()=>[g(o(P),{size:o(D)},null,8,["size"]),c(" "+p(e.emptyStateCtaText),1)]),_:1},8,["to"]))]),key:"1"}:void 0]),1024)]),key:"0"}:void 0,W(Object.keys(o(M)),a=>({name:a,fn:l(({row:i,rowValue:T})=>[a==="toolbar"?(u(),A("div",Q,[v(t.$slots,"toolbar",{},void 0,!0)])):v(t.$slots,a,{key:1,row:i,rowValue:T},void 0,!0)])}))]),1032,["style","has-error","pagination-total-items","initial-fetcher-params","headers","fetcher-cache-key","fetcher","cell-attrs"])}}});const te=L(X,[["__scopeId","data-v-1dad27d2"]]);export{te as A,J as D}; +import{d as z,g as I,o as u,l as A,j as g,k as o,K as D,ag as B,n as c,p as K,S as v,H as p,t as L,V,y as r,h as q,ah as w,i as h,a6 as N,w as l,W as E,$ as P,I as W,ad as F,aa as H}from"./index-c6bd05ee.js";import{_ as U}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const G=["href"],Z=z({__name:"DocumentationLink",props:{href:{}},setup(_){const{t:d}=I(),f=_;return(e,S)=>(u(),A("a",{class:"docs-link",href:f.href,target:"_blank"},[g(o(B),{size:o(D),title:o(d)("common.documentation")},null,8,["size","title"]),c(),K("span",null,[v(e.$slots,"default",{},()=>[c(p(o(d)("common.documentation")),1)],!0)])],8,G))}});const J=L(Z,[["__scopeId","data-v-1e7645ce"]]),Q={key:0,class:"app-collection-toolbar"},x=5,X=z({__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:d}){const{t:f}=I(),e=_,S=d,M=V(),k=r(e.items),C=r(0),b=r(0),y=r(e.pageNumber),$=r(e.pageSize),O=q(()=>{const t=e.headers.filter(a=>["details","warnings","actions"].includes(a.key));if(t.length>4)return"initial";const s=100-t.length*x,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 R(t){if(!t)return{};const s={};return e.isSelectedRow!==null&&e.isSelectedRow(t)&&(s.class="is-selected"),s}const j=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(H),{key:b.value,class:"app-collection",style:F(`--column-width: ${O.value}; --special-column-width: ${x}%;`),"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:T})=>{const m={};return y.value!==a&&(m.page=a),$.value!==i&&(m.size=i),y.value=a,$.value=i,Object.keys(m).length>0&&S("change",m),{data:k.value}},"cell-attrs":({headerKey:a})=>({class:`${a}-column`}),"row-attrs":R,"disable-sorting":"","hide-pagination-when-optional":"","onRow:click":j},N({_:2},[((n=e.items)==null?void 0:n.length)===0?{name:"empty-state",fn:l(()=>[g(U,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(J,{key:0,href:e.emptyStateCtaTo},{default:l(()=>[c(p(e.emptyStateCtaText),1)]),_:1},8,["href"])):(u(),h(o(E),{key:1,appearance:"primary",to:e.emptyStateCtaTo},{default:l(()=>[g(o(P),{size:o(D)},null,8,["size"]),c(" "+p(e.emptyStateCtaText),1)]),_:1},8,["to"]))]),key:"1"}:void 0]),1024)]),key:"0"}:void 0,W(Object.keys(o(M)),a=>({name:a,fn:l(({row:i,rowValue:T})=>[a==="toolbar"?(u(),A("div",Q,[v(t.$slots,"toolbar",{},void 0,!0)])):v(t.$slots,a,{key:1,row:i,rowValue:T},void 0,!0)])}))]),1032,["style","has-error","pagination-total-items","initial-fetcher-params","headers","fetcher-cache-key","fetcher","cell-attrs"])}}});const te=L(X,[["__scopeId","data-v-1dad27d2"]]);export{te as A,J as D}; diff --git a/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-ddd7ba27.js b/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-534e6206.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-ddd7ba27.js rename to app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-534e6206.js index b6cac6d28811..b9300d2f9043 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-ddd7ba27.js +++ b/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-534e6206.js @@ -1,3 +1,3 @@ -import{d as r,r as t,o as l,i as u,w as e,j as o,p as n,v as m,n as a}from"./index-968489e2.js";const d={class:"overview"},f=n("p",null,"The page or entity you were looking for does not exist.",-1),x=r({__name:"AppNotFoundView",setup(w){return(V,h)=>{const s=t("RouteTitle"),p=t("KButton"),c=t("KEmptyState"),_=t("AppView"),i=t("RouteView");return l(),u(i,{name:"app-not-found-view"},{default:e(()=>[o(_,null,{default:e(()=>[n("div",d,[o(c,null,{title:e(()=>[o(m,{class:"mb-3"}),a(),n("h1",null,[o(s,{title:"Page Not Found",render:!0})])]),message:e(()=>[f]),cta:e(()=>[o(p,{appearance:"primary",to:{name:"home"}},{default:e(()=>[a(` +import{d as r,r as t,o as l,i as u,w as e,j as o,p as n,v as m,n as a}from"./index-c6bd05ee.js";const d={class:"overview"},f=n("p",null,"The page or entity you were looking for does not exist.",-1),x=r({__name:"AppNotFoundView",setup(w){return(V,h)=>{const s=t("RouteTitle"),p=t("KButton"),c=t("KEmptyState"),_=t("AppView"),i=t("RouteView");return l(),u(i,{name:"app-not-found-view"},{default:e(()=>[o(_,null,{default:e(()=>[n("div",d,[o(c,null,{title:e(()=>[o(m,{class:"mb-3"}),a(),n("h1",null,[o(s,{title:"Page Not Found",render:!0})])]),message:e(()=>[f]),cta:e(()=>[o(p,{appearance:"primary",to:{name:"home"}},{default:e(()=>[a(` Go Home `)]),_:1})]),_:1})])]),_:1})]),_:1})}}});export{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ClustersView-453545d0.js b/app/kuma-ui/pkg/resources/data/assets/ClustersView-6fdd8967.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/ClustersView-453545d0.js rename to app/kuma-ui/pkg/resources/data/assets/ClustersView-6fdd8967.js index 4e9bce3e834c..274de7c14a37 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ClustersView-453545d0.js +++ b/app/kuma-ui/pkg/resources/data/assets/ClustersView-6fdd8967.js @@ -1 +1 @@ -import{E as p}from"./EnvoyData-1bdac64d.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-968489e2.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const x=_({__name:"ClustersView",props:{data:{}},setup(o){const r=o;return(V,h)=>{const n=e("RouteTitle"),a=e("KCard"),u=e("AppView"),c=e("RouteView");return d(),g(c,{name:"zone-egress-clusters-view",params:{zoneEgress:""}},{default:t(({route:i,t:l})=>[s(u,null,{title:t(()=>[f("h2",null,[s(n,{title:l("zone-egresses.routes.item.navigation.zone-egress-clusters-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(a,null,{body:t(()=>[s(p,{status:z(m)(r.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${i.params.zoneEgress}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{x as default}; +import{E as p}from"./EnvoyData-cf08b3ca.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-c6bd05ee.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const x=_({__name:"ClustersView",props:{data:{}},setup(o){const r=o;return(V,h)=>{const n=e("RouteTitle"),a=e("KCard"),u=e("AppView"),c=e("RouteView");return d(),g(c,{name:"zone-egress-clusters-view",params:{zoneEgress:""}},{default:t(({route:i,t:l})=>[s(u,null,{title:t(()=>[f("h2",null,[s(n,{title:l("zone-egresses.routes.item.navigation.zone-egress-clusters-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(a,null,{body:t(()=>[s(p,{status:z(m)(r.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${i.params.zoneEgress}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ClustersView-479fb00d.js b/app/kuma-ui/pkg/resources/data/assets/ClustersView-fdcfd700.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/ClustersView-479fb00d.js rename to app/kuma-ui/pkg/resources/data/assets/ClustersView-fdcfd700.js index 2ced070d0512..3bfb92f4cb65 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ClustersView-479fb00d.js +++ b/app/kuma-ui/pkg/resources/data/assets/ClustersView-fdcfd700.js @@ -1 +1 @@ -import{E as p}from"./EnvoyData-1bdac64d.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-968489e2.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const x=_({__name:"ClustersView",props:{data:{}},setup(o){const n=o;return(V,h)=>{const r=e("RouteTitle"),a=e("KCard"),i=e("AppView"),u=e("RouteView");return d(),g(u,{name:"zone-ingress-clusters-view",params:{zoneIngress:""}},{default:t(({route:c,t:l})=>[s(i,null,{title:t(()=>[f("h2",null,[s(r,{title:l("zone-ingresses.routes.item.navigation.zone-ingress-clusters-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(a,null,{body:t(()=>[s(p,{status:z(m)(n.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{x as default}; +import{E as p}from"./EnvoyData-cf08b3ca.js";import{g as m}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-c6bd05ee.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const x=_({__name:"ClustersView",props:{data:{}},setup(o){const n=o;return(V,h)=>{const r=e("RouteTitle"),a=e("KCard"),i=e("AppView"),u=e("RouteView");return d(),g(u,{name:"zone-ingress-clusters-view",params:{zoneIngress:""}},{default:t(({route:c,t:l})=>[s(i,null,{title:t(()=>[f("h2",null,[s(r,{title:l("zone-ingresses.routes.item.navigation.zone-ingress-clusters-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(a,null,{body:t(()=>[s(p,{status:z(m)(n.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js b/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js rename to app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js index 459bfea2b89f..487c8eca4d8a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js +++ b/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js @@ -1,4 +1,4 @@ -var ae=Object.defineProperty;var ne=(g,c,a)=>c in g?ae(g,c,{enumerable:!0,configurable:!0,writable:!0,value:a}):g[c]=a;var Y=(g,c,a)=>(ne(g,typeof c!="symbol"?c+"":c,a),a);import{ab as W,ac as re,d as ie,y as se,o as oe,i as le,w as ue,S as ce,ad as de,k as Z,ae as ge}from"./index-968489e2.js";class pe{constructor(c){Y(this,"storageAdapter");this.storageAdapter=c}get(c){let a;try{a=this.storageAdapter.getItem(c)}catch{return null}if(a===null||!(a.startsWith("[")||a.startsWith("{")))return a;try{return JSON.parse(a)}catch{return a}}set(c,a){try{const u=typeof a=="string"?a:JSON.stringify(a);this.storageAdapter.setItem(c,u)}catch{}}has(c){try{return this.storageAdapter.getItem(c)!==null}catch{return!1}}remove(c){try{this.storageAdapter.removeItem(c)}catch{}}}const U=new pe(window.localStorage);var J={exports:{}};(function(g){var c=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +var ae=Object.defineProperty;var ne=(g,c,a)=>c in g?ae(g,c,{enumerable:!0,configurable:!0,writable:!0,value:a}):g[c]=a;var Y=(g,c,a)=>(ne(g,typeof c!="symbol"?c+"":c,a),a);import{ab as W,ac as re,d as ie,y as se,o as oe,i as le,w as ue,S as ce,ad as de,k as Z,ae as ge}from"./index-c6bd05ee.js";class pe{constructor(c){Y(this,"storageAdapter");this.storageAdapter=c}get(c){let a;try{a=this.storageAdapter.getItem(c)}catch{return null}if(a===null||!(a.startsWith("[")||a.startsWith("{")))return a;try{return JSON.parse(a)}catch{return a}}set(c,a){try{const u=typeof a=="string"?a:JSON.stringify(a);this.storageAdapter.setItem(c,u)}catch{}}has(c){try{return this.storageAdapter.getItem(c)!==null}catch{return!1}}remove(c){try{this.storageAdapter.removeItem(c)}catch{}}}const U=new pe(window.localStorage);var J={exports:{}};(function(g){var c=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/CompletedView-a4e971bf.js b/app/kuma-ui/pkg/resources/data/assets/CompletedView-4c54c244.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/CompletedView-a4e971bf.js rename to app/kuma-ui/pkg/resources/data/assets/CompletedView-4c54c244.js index 0816f0f15dfc..b907f34ef103 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CompletedView-a4e971bf.js +++ b/app/kuma-ui/pkg/resources/data/assets/CompletedView-4c54c244.js @@ -1,3 +1,3 @@ -import{O as d,a as l,b as r}from"./OnboardingPage-b3657084.js";import{d as m,r as a,o as u,i as g,w as e,j as t,n,D as f,G as w,p as s,t as b}from"./index-968489e2.js";const h=""+new URL("kuma_gui-ecebdf10.png",import.meta.url).href,V=o=>(f("data-v-dcfc3ebc"),o=o(),w(),o),v=V(()=>s("div",{class:"gui-preview-image"},[s("img",{src:h})],-1)),x=m({__name:"CompletedView",setup(o){return(C,R)=>{const c=a("RouteTitle"),i=a("AppView"),p=a("RouteView");return u(),g(p,{name:"onboarding-completed"},{default:e(({t:_})=>[t(c,{title:_("onboarding.routes.completed.title")},null,8,["title"]),n(),t(i,null,{default:e(()=>[t(d,null,{header:e(()=>[t(l,null,{title:e(()=>[n(` +import{O as d,a as l,b as r}from"./OnboardingPage-7bcb094e.js";import{d as m,r as a,o as u,i as g,w as e,j as t,n,D as f,G as w,p as s,t as b}from"./index-c6bd05ee.js";const h=""+new URL("kuma_gui-ecebdf10.png",import.meta.url).href,V=o=>(f("data-v-dcfc3ebc"),o=o(),w(),o),v=V(()=>s("div",{class:"gui-preview-image"},[s("img",{src:h})],-1)),x=m({__name:"CompletedView",setup(o){return(C,R)=>{const c=a("RouteTitle"),i=a("AppView"),p=a("RouteView");return u(),g(p,{name:"onboarding-completed"},{default:e(({t:_})=>[t(c,{title:_("onboarding.routes.completed.title")},null,8,["title"]),n(),t(i,null,{default:e(()=>[t(d,null,{header:e(()=>[t(l,null,{title:e(()=>[n(` Go to the dashboard `)]),_:1})]),content:e(()=>[v]),navigation:e(()=>[t(r,{"next-step":"home","next-step-title":"Complete","last-step":"","show-skip":!1})]),_:1})]),_:1})]),_:1})}}});const N=b(x,[["__scopeId","data-v-dcfc3ebc"]]);export{N as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ConfigView-4c0ec9bd.js b/app/kuma-ui/pkg/resources/data/assets/ConfigView-28cc7b93.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/ConfigView-4c0ec9bd.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigView-28cc7b93.js index 3f9ee0f78573..4ed57a803ac1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigView-4c0ec9bd.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigView-28cc7b93.js @@ -1 +1 @@ -import{_ as V}from"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import{d as C,r as o,o as n,i as p,w as t,j as d,a6 as v,p as m,n as c,l,F as _,I as g,H as N}from"./index-968489e2.js";const S=["data-testid","innerHTML"],A=C({__name:"ConfigView",props:{data:{},notifications:{default:()=>[]}},setup(k){const r=k;function y(f){var s;const i=((s=f.zoneInsight)==null?void 0:s.subscriptions)??[];if(i.length>0){const a=i[i.length-1];if(a.config)return JSON.stringify(JSON.parse(a.config),null,2)}return null}return(f,i)=>{const s=o("RouteTitle"),a=o("KAlert"),w=o("KCard"),h=o("AppView"),b=o("RouteView");return n(),p(b,{name:"zone-cp-config-view",params:{zone:""}},{default:t(({t:u})=>[d(h,null,v({title:t(()=>[m("h2",null,[d(s,{title:u("zone-cps.routes.item.navigation.zone-cp-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[c(),c(),d(w,null,{body:t(()=>[(n(!0),l(_,null,g([y(r.data)],(e,z)=>(n(),l(_,{key:z},[e!==null?(n(),p(V,{key:0,id:"code-block-zone-config",language:"json",code:e,"is-searchable":"","query-key":"zone-config"},null,8,["code"])):(n(),p(a,{key:1,class:"mt-4","data-testid":"warning-no-subscriptions",appearance:"warning"},{alertMessage:t(()=>[c(N(u("zone-cps.detail.no_subscriptions")),1)]),_:2},1024))],64))),128))]),_:2},1024)]),_:2},[r.notifications.length>0?{name:"notifications",fn:t(()=>[m("ul",null,[(n(!0),l(_,null,g(r.notifications,e=>(n(),l("li",{key:e.kind,"data-testid":`warning-${e.kind}`,innerHTML:u(`common.warnings.${e.kind}`,e.payload)},null,8,S))),128)),c()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{A as default}; +import{_ as V}from"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import{d as C,r as o,o as n,i as p,w as t,j as d,a6 as v,p as m,n as c,l,F as _,I as g,H as N}from"./index-c6bd05ee.js";const S=["data-testid","innerHTML"],A=C({__name:"ConfigView",props:{data:{},notifications:{default:()=>[]}},setup(k){const r=k;function y(f){var s;const i=((s=f.zoneInsight)==null?void 0:s.subscriptions)??[];if(i.length>0){const a=i[i.length-1];if(a.config)return JSON.stringify(JSON.parse(a.config),null,2)}return null}return(f,i)=>{const s=o("RouteTitle"),a=o("KAlert"),w=o("KCard"),h=o("AppView"),b=o("RouteView");return n(),p(b,{name:"zone-cp-config-view",params:{zone:""}},{default:t(({t:u})=>[d(h,null,v({title:t(()=>[m("h2",null,[d(s,{title:u("zone-cps.routes.item.navigation.zone-cp-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[c(),c(),d(w,null,{body:t(()=>[(n(!0),l(_,null,g([y(r.data)],(e,z)=>(n(),l(_,{key:z},[e!==null?(n(),p(V,{key:0,id:"code-block-zone-config",language:"json",code:e,"is-searchable":"","query-key":"zone-config"},null,8,["code"])):(n(),p(a,{key:1,class:"mt-4","data-testid":"warning-no-subscriptions",appearance:"warning"},{alertMessage:t(()=>[c(N(u("zone-cps.detail.no_subscriptions")),1)]),_:2},1024))],64))),128))]),_:2},1024)]),_:2},[r.notifications.length>0?{name:"notifications",fn:t(()=>[m("ul",null,[(n(!0),l(_,null,g(r.notifications,e=>(n(),l("li",{key:e.kind,"data-testid":`warning-${e.kind}`,innerHTML:u(`common.warnings.${e.kind}`,e.payload)},null,8,S))),128)),c()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{A as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ConfigView-d21f5e13.js b/app/kuma-ui/pkg/resources/data/assets/ConfigView-974c6db1.js similarity index 78% rename from app/kuma-ui/pkg/resources/data/assets/ConfigView-d21f5e13.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigView-974c6db1.js index 97e086b71f7c..631cdae26e3e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigView-d21f5e13.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigView-974c6db1.js @@ -1 +1 @@ -import{d as g,Q as k,r as e,o as s,i as n,w as o,j as r,p as w,n as z,E as V,x as h,k as v}from"./index-968489e2.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a86b5a6.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(E){const i=k();return(x,y)=>{const u=e("RouteTitle"),l=e("DataSource"),_=e("KCard"),p=e("AppView"),m=e("RouteView");return s(),n(m,{name:"zone-egress-config-view",params:{zoneEgress:""}},{default:o(({route:t,t:d})=>[r(p,null,{title:o(()=>[w("h2",null,[r(u,{title:d("zone-egresses.routes.item.navigation.zone-egress-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[z(),r(_,null,{body:o(()=>[r(l,{src:`/zone-egresses/${t.params.zoneEgress}`},{default:o(({data:a,error:c})=>[c!==void 0?(s(),n(V,{key:0,error:c},null,8,["error"])):a===void 0?(s(),n(h,{key:1})):(s(),n(C,{key:2,id:"code-block-zone-egress",resource:a,"resource-fetcher":f=>v(i).getZoneEgress({name:t.params.zoneEgress},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; +import{d as g,Q as k,r as e,o as s,i as n,w as o,j as r,p as w,n as z,E as V,x as h,k as v}from"./index-c6bd05ee.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(E){const i=k();return(x,y)=>{const u=e("RouteTitle"),l=e("DataSource"),_=e("KCard"),p=e("AppView"),m=e("RouteView");return s(),n(m,{name:"zone-egress-config-view",params:{zoneEgress:""}},{default:o(({route:t,t:d})=>[r(p,null,{title:o(()=>[w("h2",null,[r(u,{title:d("zone-egresses.routes.item.navigation.zone-egress-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[z(),r(_,null,{body:o(()=>[r(l,{src:`/zone-egresses/${t.params.zoneEgress}`},{default:o(({data:a,error:c})=>[c!==void 0?(s(),n(V,{key:0,error:c},null,8,["error"])):a===void 0?(s(),n(h,{key:1})):(s(),n(C,{key:2,id:"code-block-zone-egress",resource:a,"resource-fetcher":f=>v(i).getZoneEgress({name:t.params.zoneEgress},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ConfigView-39c1b3d5.js b/app/kuma-ui/pkg/resources/data/assets/ConfigView-a6428b6d.js similarity index 78% rename from app/kuma-ui/pkg/resources/data/assets/ConfigView-39c1b3d5.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigView-a6428b6d.js index 45ab97113594..34ed5ccd0a03 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigView-39c1b3d5.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigView-a6428b6d.js @@ -1 +1 @@ -import{d as g,Q as k,r as e,o as n,i as s,w as o,j as r,p as w,n as z,E as V,x as h,k as v}from"./index-968489e2.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a86b5a6.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(x){const i=k();return(y,A)=>{const u=e("RouteTitle"),l=e("DataSource"),_=e("KCard"),p=e("AppView"),m=e("RouteView");return n(),s(m,{name:"zone-ingress-config-view",params:{zoneIngress:""}},{default:o(({route:t,t:d})=>[r(p,null,{title:o(()=>[w("h2",null,[r(u,{title:d("zone-ingresses.routes.item.navigation.zone-ingress-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[z(),r(_,null,{body:o(()=>[r(l,{src:`/zone-ingresses/${t.params.zoneIngress}`},{default:o(({data:a,error:c})=>[c!==void 0?(n(),s(V,{key:0,error:c},null,8,["error"])):a===void 0?(n(),s(h,{key:1})):(n(),s(C,{key:2,id:"code-block-zone-ingress",resource:a,"resource-fetcher":f=>v(i).getZoneIngress({name:t.params.zoneIngress},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; +import{d as g,Q as k,r as e,o as n,i as s,w as o,j as r,p as w,n as z,E as V,x as h,k as v}from"./index-c6bd05ee.js";import{_ as C}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./toYaml-4e00099e.js";const K=g({__name:"ConfigView",setup(x){const i=k();return(y,A)=>{const u=e("RouteTitle"),l=e("DataSource"),_=e("KCard"),p=e("AppView"),m=e("RouteView");return n(),s(m,{name:"zone-ingress-config-view",params:{zoneIngress:""}},{default:o(({route:t,t:d})=>[r(p,null,{title:o(()=>[w("h2",null,[r(u,{title:d("zone-ingresses.routes.item.navigation.zone-ingress-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[z(),r(_,null,{body:o(()=>[r(l,{src:`/zone-ingresses/${t.params.zoneIngress}`},{default:o(({data:a,error:c})=>[c!==void 0?(n(),s(V,{key:0,error:c},null,8,["error"])):a===void 0?(n(),s(h,{key:1})):(n(),s(C,{key:2,id:"code-block-zone-ingress",resource:a,"resource-fetcher":f=>v(i).getZoneIngress({name:t.params.zoneIngress},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-e624cf1f.js b/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-57bf3e5e.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-e624cf1f.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-57bf3e5e.js index 1408bd85c1bb..af12455c3889 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-e624cf1f.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-57bf3e5e.js @@ -1,4 +1,4 @@ -import{O as h,a as x,b as C}from"./OnboardingPage-b3657084.js";import{d as G,M as T,N as w,O as P,P as R,y as K,h as M,r,o as u,i as d,w as e,j as o,n as t,p,q as O,t as N}from"./index-968489e2.js";const k={class:"graph-list mb-6"},U={class:"radio-button-group"},A=G({__name:"ConfigurationTypes",setup(B){const i=T(),m=w(),c=P(),_={postgres:R(),memory:c,kubernetes:m},n=K(i("KUMA_STORE_TYPE")),g=M(()=>_[n.value]);return(z,a)=>{const v=r("RouteTitle"),l=r("KRadio"),y=r("AppView"),f=r("RouteView");return u(),d(f,{name:"onboarding-configuration-types"},{default:e(({can:b,t:V})=>[o(v,{title:V("onboarding.routes.configuration-types.title")},null,8,["title"]),t(),o(y,null,{default:e(()=>[o(h,{"with-image":""},{header:e(()=>[o(x,null,{title:e(()=>[t(` +import{O as h,a as x,b as C}from"./OnboardingPage-7bcb094e.js";import{d as G,M as T,N as w,O as P,P as R,y as K,h as M,r,o as u,i as d,w as e,j as o,n as t,p,q as O,t as N}from"./index-c6bd05ee.js";const k={class:"graph-list mb-6"},U={class:"radio-button-group"},A=G({__name:"ConfigurationTypes",setup(B){const i=T(),m=w(),c=P(),_={postgres:R(),memory:c,kubernetes:m},n=K(i("KUMA_STORE_TYPE")),g=M(()=>_[n.value]);return(z,a)=>{const v=r("RouteTitle"),l=r("KRadio"),y=r("AppView"),f=r("RouteView");return u(),d(f,{name:"onboarding-configuration-types"},{default:e(({can:b,t:V})=>[o(v,{title:V("onboarding.routes.configuration-types.title")},null,8,["title"]),t(),o(y,null,{default:e(()=>[o(h,{"with-image":""},{header:e(()=>[o(x,null,{title:e(()=>[t(` Learn about configuration storage `)]),_:1})]),content:e(()=>[p("div",k,[(u(),d(O(g.value)))]),t(),p("div",U,[o(l,{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=s=>n.value=s),name:"deployment","selected-value":"kubernetes"},{default:e(()=>[t(` Kubernetes diff --git a/app/kuma-ui/pkg/resources/data/assets/CreateMesh-54c89961.js b/app/kuma-ui/pkg/resources/data/assets/CreateMesh-c7c2b3e5.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/CreateMesh-54c89961.js rename to app/kuma-ui/pkg/resources/data/assets/CreateMesh-c7c2b3e5.js index 2762f8635145..cf76e71a0eba 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CreateMesh-54c89961.js +++ b/app/kuma-ui/pkg/resources/data/assets/CreateMesh-c7c2b3e5.js @@ -1,4 +1,4 @@ -import{O as h,a as b,b as g}from"./OnboardingPage-b3657084.js";import{d as v,y as f,r as o,o as y,i as x,w as e,j as t,n as a,p as s,H as A,D as w,G as C,t as T}from"./index-968489e2.js";const c=n=>(w("data-v-11d1e65d"),n=n(),C(),n),V={class:"mb-4 text-center"},N=c(()=>s("i",null,"default",-1)),S=c(()=>s("p",{class:"mt-4 text-center"},` +import{O as h,a as b,b as g}from"./OnboardingPage-7bcb094e.js";import{d as v,y as f,r as o,o as y,i as x,w as e,j as t,n as a,p as s,H as A,D as w,G as C,t as T}from"./index-c6bd05ee.js";const c=n=>(w("data-v-11d1e65d"),n=n(),C(),n),V={class:"mb-4 text-center"},N=c(()=>s("i",null,"default",-1)),S=c(()=>s("p",{class:"mt-4 text-center"},` This mesh is empty. Next, you add services and their data plane proxies. `,-1)),k=v({__name:"CreateMesh",setup(n){const d=[{label:"Name",key:"name"},{label:"Services",key:"servicesAmount"},{label:"DPPs",key:"dppsAmount"}],r=f({total:1,data:[{name:"default",servicesAmount:0,dppsAmount:0}]});return(D,R)=>{const l=o("RouteTitle"),p=o("KTable"),_=o("AppView"),u=o("RouteView");return y(),x(u,{name:"onboarding-create-mesh"},{default:e(({can:m,t:i})=>[t(l,{title:i("onboarding.routes.create-mesh.title")},null,8,["title"]),a(),t(_,null,{default:e(()=>[t(h,null,{header:e(()=>[t(b,null,{title:e(()=>[a(` Create the mesh diff --git a/app/kuma-ui/pkg/resources/data/assets/CreateView-cec9986c.js b/app/kuma-ui/pkg/resources/data/assets/CreateView-c37fa2bc.js similarity index 98% rename from app/kuma-ui/pkg/resources/data/assets/CreateView-cec9986c.js rename to app/kuma-ui/pkg/resources/data/assets/CreateView-c37fa2bc.js index 69d9c131da06..bee6061b3915 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CreateView-cec9986c.js +++ b/app/kuma-ui/pkg/resources/data/assets/CreateView-c37fa2bc.js @@ -1,4 +1,4 @@ -import{d as q,g as x,e as H,h as E,o as a,l as i,p as t,n,H as s,k as e,j as r,Q as de,y as k,ay as A,r as m,i as C,w as l,F as h,m as b,I as ue,X as me,az as X,aA as F,aB as j,K as G,$ as _e,aC as pe,aD as fe,aE as ve,t as be}from"./index-968489e2.js";import{_ as g}from"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";const ze={class:"form-step-title"},ke=t("span",{class:"form-step-number"},"1",-1),he={class:"instruction-list"},ge={href:"https://helm.sh/docs/intro/install/"},ye={class:"form-step-title"},Ce=t("span",{class:"form-step-number"},"2",-1),Ee=t("p",null,"On your local machine, create a namespace in your Kubernetes cluster and pull down the kong Helm repo.",-1),Ke={class:"instruction-list"},$e={class:"form-step-title"},Ve=t("span",{class:"form-step-number"},"3",-1),Ie={class:"form-step-title"},we=t("span",{class:"form-step-number"},"4",-1),Te={class:"field-group-label mt-4"},Ne={class:"mt-4"},Se=q({__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(T){const o=x(),y=H(),_=T,$=E(()=>o.t("zones.form.kubernetes.secret.createSecretCommand",{token:_.base64EncodedToken}).trim()),v=E(()=>{const p={zoneName:_.zoneName,globalKdsAddress:_.globalKdsAddress,zoneIngressEnabled:String(_.zoneIngressEnabled),zoneEgressEnabled:String(_.zoneEgressEnabled)};return typeof y.params.virtualControlPlaneId=="string"&&(p.controlPlaneId=y.params.virtualControlPlaneId),o.t("zones.form.kubernetes.connectZone.config",p).trim()});return(p,V)=>(a(),i("div",null,[t("h3",ze,[ke,n(" "+s(e(o).t("zones.form.kubernetes.prerequisites.title")),1)]),n(),t("ul",he,[t("li",null,[t("b",null,s(e(o).t("zones.form.kubernetes.prerequisites.step1Label"))+s(_.zoneIngressEnabled?" "+e(o).t("zones.form.kubernetes.prerequisites.step1LabelAddendum"):""),1),n(`: +import{d as q,g as x,e as H,h as E,o as a,l as i,p as t,n,H as s,k as e,j as r,Q as de,y as k,ay as A,r as m,i as C,w as l,F as h,m as b,I as ue,X as me,az as X,aA as F,aB as j,K as G,$ as _e,aC as pe,aD as fe,aE as ve,t as be}from"./index-c6bd05ee.js";import{_ as g}from"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";const ze={class:"form-step-title"},ke=t("span",{class:"form-step-number"},"1",-1),he={class:"instruction-list"},ge={href:"https://helm.sh/docs/intro/install/"},ye={class:"form-step-title"},Ce=t("span",{class:"form-step-number"},"2",-1),Ee=t("p",null,"On your local machine, create a namespace in your Kubernetes cluster and pull down the kong Helm repo.",-1),Ke={class:"instruction-list"},$e={class:"form-step-title"},Ve=t("span",{class:"form-step-number"},"3",-1),Ie={class:"form-step-title"},we=t("span",{class:"form-step-number"},"4",-1),Te={class:"field-group-label mt-4"},Ne={class:"mt-4"},Se=q({__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(T){const o=x(),y=H(),_=T,$=E(()=>o.t("zones.form.kubernetes.secret.createSecretCommand",{token:_.base64EncodedToken}).trim()),v=E(()=>{const p={zoneName:_.zoneName,globalKdsAddress:_.globalKdsAddress,zoneIngressEnabled:String(_.zoneIngressEnabled),zoneEgressEnabled:String(_.zoneEgressEnabled)};return typeof y.params.virtualControlPlaneId=="string"&&(p.controlPlaneId=y.params.virtualControlPlaneId),o.t("zones.form.kubernetes.connectZone.config",p).trim()});return(p,V)=>(a(),i("div",null,[t("h3",ze,[ke,n(" "+s(e(o).t("zones.form.kubernetes.prerequisites.title")),1)]),n(),t("ul",he,[t("li",null,[t("b",null,s(e(o).t("zones.form.kubernetes.prerequisites.step1Label"))+s(_.zoneIngressEnabled?" "+e(o).t("zones.form.kubernetes.prerequisites.step1LabelAddendum"):""),1),n(`: `+s(e(o).t("zones.form.kubernetes.prerequisites.step1Description",{productName:e(o).t("common.product.name")})),1)]),n(),t("li",null,[t("b",null,s(e(o).t("zones.form.kubernetes.prerequisites.step2Label")),1),n(`: `+s(e(o).t("zones.form.kubernetes.prerequisites.step2Description")),1)]),n(),t("li",null,[t("a",ge,s(e(o).t("zones.form.kubernetes.prerequisites.step3LinkTitle")),1),n(" "+s(e(o).t("zones.form.kubernetes.prerequisites.step3Tail")),1)])]),n(),t("h3",ye,[Ce,n(" "+s(e(o).t("zones.form.kubernetes.helm.title")),1)]),n(),Ee,n(),t("ol",Ke,[t("li",null,[t("b",null,s(e(o).t("zones.form.kubernetes.helm.step1Description")),1),n(),r(g,{id:"zone-kubernetes-create-namespace",class:"mt-2",code:e(o).t("zones.form.kubernetes.helm.step1Command"),language:"bash"},null,8,["code"])]),n(),t("li",null,[t("b",null,s(e(o).t("zones.form.kubernetes.helm.step2Description")),1),n(),r(g,{id:"zone-kubernetes-add-charts-repo",class:"mt-2",code:e(o).t("zones.form.kubernetes.helm.step2Command"),language:"bash"},null,8,["code"])]),n(),t("li",null,[t("b",null,s(e(o).t("zones.form.kubernetes.helm.step3Description")),1),n(),r(g,{id:"zone-kubernetes-repo-update",class:"mt-2",code:e(o).t("zones.form.kubernetes.helm.step3Command"),language:"bash"},null,8,["code"])])]),n(),t("h3",$e,[Ve,n(" "+s(e(o).t("zones.form.kubernetes.secret.title")),1)]),n(),t("p",null,s(e(o).t("zones.form.kubernetes.secret.createSecretDescription")),1),n(),r(g,{id:"zone-kubernetes-create-secret",class:"mt-4",code:$.value,language:"bash"},null,8,["code"]),n(),t("h3",Ie,[we,n(" "+s(e(o).t("zones.form.kubernetes.connectZone.title")),1)]),n(),t("p",null,s(e(o).t("zones.form.kubernetes.connectZone.configDescription")),1),n(),t("span",Te,s(e(o).t("zones.form.kubernetes.connectZone.configFileName")),1),n(),r(g,{id:"zone-kubernetes-config-code-block","data-testid":"zone-kubernetes-config",code:v.value,language:"yaml"},null,8,["code"]),n(),t("p",Ne,s(e(o).t("zones.form.kubernetes.connectZone.connectDescription")),1),n(),r(g,{id:"zone-kubernetes-command-code-block",class:"mt-4",code:e(o).t("zones.form.kubernetes.connectZone.connectCommand").trim(),language:"bash"},null,8,["code"])]))}}),Le={class:"form-step-title"},De=t("span",{class:"form-step-number"},"1",-1),Ze={class:"form-step-title"},Ae=t("span",{class:"form-step-number"},"2",-1),qe={class:"field-group-label mt-4"},xe={class:"mt-4"},Be=q({__name:"ZoneCreateUniversalInstructions",props:{zoneName:{type:String,required:!0},globalKdsAddress:{type:String,required:!0},token:{type:String,required:!0}},setup(T){const o=x(),y=H(),_=T,$=E(()=>o.t("zones.form.universal.saveToken.saveTokenCommand",{token:_.token}).trim()),v=E(()=>{const p={zoneName:_.zoneName,globalKdsAddress:_.globalKdsAddress};return typeof y.params.virtualControlPlaneId=="string"&&(p.controlPlaneId=y.params.virtualControlPlaneId),o.t("zones.form.universal.connectZone.config",p).trim()});return(p,V)=>(a(),i("div",null,[t("h3",Le,[De,n(" "+s(e(o).t("zones.form.universal.saveToken.title")),1)]),n(),t("p",null,s(e(o).t("zones.form.universal.saveToken.saveTokenDescription")),1),n(),r(g,{id:"zone-kubernetes-token",class:"mt-4",code:$.value,language:"bash"},null,8,["code"]),n(),t("h3",Ze,[Ae,n(" "+s(e(o).t("zones.form.universal.connectZone.title")),1)]),n(),t("p",null,s(e(o).t("zones.form.universal.connectZone.configDescription")),1),n(),t("span",qe,s(e(o).t("zones.form.universal.connectZone.configFileName")),1),n(),r(g,{id:"zone-universal-config-code-block","data-testid":"zone-universal-config",class:"mt-4",code:v.value,language:"yaml"},null,8,["code"]),n(),t("p",xe,s(e(o).t("zones.form.universal.connectZone.connectDescription")),1),n(),r(g,{id:"zone-universal-connect-command-code-block",class:"mt-4",code:e(o).t("zones.form.universal.connectZone.connectCommand").trim(),language:"bash"},null,8,["code"])]))}}),Re={class:"form-wrapper"},Ue={key:1},Pe={key:2},Oe={class:"form"},Me={class:"form-header"},Xe={class:"form-title"},Fe={class:"text-gradient"},je={key:0},Ge={key:0},He={class:"fact-list"},Qe={class:"form-section"},We={class:"form-section__header"},Je={class:"form-section-title"},Ye={key:0},en={class:"form-section__content"},nn={class:"form-section","data-testid":"connect-zone-instructions"},on={class:"form-section__header"},tn={class:"form-section-title"},sn={key:0},an={class:"form-section__content"},rn={class:"field-group-list"},ln={class:"field-group"},cn={class:"field-group-label"},dn={class:"radio-button-group"},un={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"},hn={key:0},gn={class:"form-section__content"},yn={class:"form-section"},Cn={class:"form-section__header"},En={class:"form-section-title"},Kn={key:0},$n={class:"form-section__content"},Vn={key:0},In={class:"mt-2"},wn=q({__name:"CreateView",setup(T){const{t:o,tm:y}=x(),_=de(),$=/^(?![-0-9])[a-z0-9-]{1,63}$/,v=k(null),p=k(!1),V=k(!1),f=k(null),N=k(null),B=k(!1),u=k(""),K=k("kubernetes"),L=k(!0),D=k(!0),I=E(()=>v.value!==null&&v.value.token?v.value.token:""),Q=E(()=>I.value!==""?window.btoa(I.value):""),W=E(()=>u.value===""||p.value||v.value!==null),Z=E(()=>{if(N.value!==null)return N.value;if(f.value instanceof A){const z=f.value.invalidParameters.find(d=>d.field==="name");if(z!==void 0)return z.reason}return null});async function J(){p.value=!0,f.value=null;try{if(!R(u.value))return;v.value=await _.createZone({name:u.value})}catch(z){z instanceof Error?f.value=z:console.error(z)}finally{p.value=!1}}function R(z){const d=$.test(z);return d?N.value=null:N.value=o("zones.create.invalidNameError"),d}function U(){V.value=!V.value}function Y(){B.value=!0}return(z,d)=>{const ee=m("RouteTitle"),w=m("KButton"),ne=m("KAlert"),oe=m("KLabel"),te=m("KInput"),P=m("KRadio"),O=m("KInputSwitch"),M=m("DataSource"),se=m("KEmptyState"),ae=m("KCard"),re=m("KModal"),le=m("AppView"),ie=m("RouteView");return a(),C(ie,{name:"zone-create-view",attrs:{class:"is-fullscreen"}},{default:l(({route:ce})=>[r(le,{fullscreen:!0,breadcrumbs:[]},{title:l(()=>[t("h1",null,[r(ee,{title:e(o)("zones.routes.create.title"),render:!0},null,8,["title"])])]),actions:l(()=>[I.value===""||B.value?(a(),C(w,{key:0,appearance:"outline","data-testid":"exit-button",to:{name:"zone-cp-list-view"}},{default:l(()=>[n(s(e(o)("zones.form.exit")),1)]),_:1})):(a(),C(w,{key:1,appearance:"outline","data-testid":"exit-button",onClick:U},{default:l(()=>[n(s(e(o)("zones.form.exit")),1)]),_:1}))]),default:l(()=>[n(),n(),t("div",Re,[f.value!==null?(a(),C(ne,{key:0,appearance:"danger",class:"mb-4","dismiss-type":"icon","data-testid":"create-zone-error"},{alertMessage:l(()=>[f.value instanceof e(A)&&[409,500].includes(f.value.status)?(a(),i(h,{key:0},[t("p",null,s(e(o)(`zones.create.status_error.${f.value.status}.title`,{name:u.value})),1),n(),t("p",null,s(e(o)(`zones.create.status_error.${f.value.status}.description`)),1)],64)):f.value instanceof e(A)?(a(),i("p",Ue,s(e(o)("common.error_state.api_error",{status:f.value.status,title:f.value.detail})),1)):(a(),i("p",Pe,s(e(o)("common.error_state.default_error")),1))]),_:1})):b("",!0),n(),r(ae,{class:"form-card"},{body:l(()=>[t("div",Oe,[t("div",Me,[t("div",null,[t("h1",Xe,[t("span",Fe,s(e(o)("zones.form.title")),1)]),n(),e(o)("zones.form.description")!==" "?(a(),i("p",je,s(e(o)("zones.form.description")),1)):b("",!0)]),n(),e(y)("zones.form.facts").length>0?(a(),i("div",Ge,[t("ul",He,[(a(!0),i(h,null,ue(e(y)("zones.form.facts"),(c,S)=>(a(),i("li",{key:S,class:"fact-list__item"},[r(e(me),{color:e(X)},null,8,["color"]),n(" "+s(c),1)]))),128))])])):b("",!0)]),n(),t("div",Qe,[t("div",We,[t("h2",Je,s(e(o)("zones.form.section.name.title")),1),n(),e(o)("zones.form.section.name.description")!==" "?(a(),i("p",Ye,s(e(o)("zones.form.section.name.description")),1)):b("",!0)]),n(),t("div",en,[t("div",null,[r(oe,{for:"zone-name",required:"","tooltip-attributes":{placement:"right"}},{tooltip:l(()=>[n(s(e(o)("zones.form.name_tooltip")),1)]),default:l(()=>[n(s(e(o)("zones.form.nameLabel"))+" ",1)]),_:1}),n(),r(te,{id:"zone-name",modelValue:u.value,"onUpdate:modelValue":d[0]||(d[0]=c=>u.value=c),type:"text",name:"zone-name","data-testid":"name-input","data-test-error-type":Z.value!==null?"invalid-dns-name":void 0,"has-error":Z.value!==null,"error-message":Z.value??void 0,disabled:v.value!==null,onBlur:d[1]||(d[1]=c=>R(u.value))},null,8,["modelValue","data-test-error-type","has-error","error-message","disabled"])]),n(),r(w,{appearance:"primary",class:"mt-4",disabled:W.value,"data-testid":"create-zone-button",onClick:J},{default:l(()=>[p.value?(a(),C(e(F),{key:0,color:e(j),size:e(G)},null,8,["color","size"])):(a(),C(e(_e),{key:1,size:e(G)},null,8,["size"])),n(" "+s(e(o)("zones.form.createZoneButtonLabel")),1)]),_:1},8,["disabled"])])]),n(),v.value!==null?(a(),i(h,{key:0},[t("div",nn,[t("div",on,[t("h2",tn,s(e(o)("zones.form.section.configuration.title")),1),n(),e(o)("zones.form.section.configuration.description")!==" "?(a(),i("p",sn,s(e(o)("zones.form.section.configuration.description")),1)):b("",!0)]),n(),t("div",an,[t("div",rn,[t("div",ln,[t("span",cn,s(e(o)("zones.form.environmentLabel"))+` * `,1),n(),t("div",dn,[r(P,{id:"zone-environment-universal",modelValue:K.value,"onUpdate:modelValue":d[2]||(d[2]=c=>K.value=c),"selected-value":"universal",name:"zone-environment","data-testid":"environment-universal-radio-button"},{default:l(()=>[n(s(e(o)("zones.form.universalLabel")),1)]),_:1},8,["modelValue"]),n(),r(P,{id:"zone-environment-kubernetes",modelValue:K.value,"onUpdate:modelValue":d[3]||(d[3]=c=>K.value=c),"selected-value":"kubernetes",name:"zone-environment","data-testid":"environment-kubernetes-radio-button"},{default:l(()=>[n(s(e(o)("zones.form.kubernetesLabel")),1)]),_:1},8,["modelValue"])])]),n(),K.value==="kubernetes"?(a(),i(h,{key:0},[t("div",un,[t("span",mn,s(e(o)("zones.form.zoneIngressLabel"))+` * diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-40194a2c.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-e89523a1.js similarity index 76% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-40194a2c.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-e89523a1.js index 76499a4ea025..883552fe4509 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-40194a2c.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-e89523a1.js @@ -1 +1 @@ -import{E as d}from"./EnvoyData-1bdac64d.js";import{a as i}from"./dataplane-0a086c06.js";import{d as m,r as a,o as _,i as f,w as e,j as t,p as w,n as h,k as V}from"./index-968489e2.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const g=m({__name:"DataPlaneClustersView",props:{data:{}},setup(o){const s=o;return(v,y)=>{const r=a("RouteTitle"),l=a("KCard"),p=a("AppView"),u=a("RouteView");return _(),f(u,{name:"data-plane-clusters-view",params:{mesh:"",dataPlane:""}},{default:e(({route:n,t:c})=>[t(p,null,{title:e(()=>[w("h2",null,[t(r,{title:c("data-planes.routes.item.navigation.data-plane-clusters-view"),render:!0},null,8,["title"])])]),default:e(()=>[h(),t(l,null,{body:e(()=>[t(d,{status:V(i)(s.data.dataplane,s.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/data-path/clusters`,"query-key":"envoy-data-clusters-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{g as default}; +import{E as d}from"./EnvoyData-cf08b3ca.js";import{a as i}from"./dataplane-0a086c06.js";import{d as m,r as a,o as _,i as f,w as e,j as t,p as w,n as h,k as V}from"./index-c6bd05ee.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const g=m({__name:"DataPlaneClustersView",props:{data:{}},setup(o){const s=o;return(v,y)=>{const r=a("RouteTitle"),l=a("KCard"),p=a("AppView"),u=a("RouteView");return _(),f(u,{name:"data-plane-clusters-view",params:{mesh:"",dataPlane:""}},{default:e(({route:n,t:c})=>[t(p,null,{title:e(()=>[w("h2",null,[t(r,{title:c("data-planes.routes.item.navigation.data-plane-clusters-view"),render:!0},null,8,["title"])])]),default:e(()=>[h(),t(l,null,{body:e(()=>[t(d,{status:V(i)(s.data.dataplane,s.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/data-path/clusters`,"query-key":"envoy-data-clusters-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{g as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-2437abf4.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-dd31f078.js similarity index 83% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-2437abf4.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-dd31f078.js index 3cbdfa2a3e12..5c1dfdfd0495 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-2437abf4.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-dd31f078.js @@ -1 +1 @@ -import{d as h,Q as k,r as e,o,i as n,w as a,j as s,p as w,n as V,E as C,x as g,k as v}from"./index-968489e2.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a86b5a6.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./toYaml-4e00099e.js";const K=h({__name:"DataPlaneConfigView",setup(y){const l=k();return(A,B)=>{const i=e("RouteTitle"),m=e("DataSource"),p=e("KCard"),u=e("AppView"),_=e("RouteView");return o(),n(_,{name:"data-plane-config-view",params:{mesh:"",dataPlane:""}},{default:a(({route:r,t:d})=>[s(u,null,{title:a(()=>[w("h2",null,[s(i,{title:d("data-planes.routes.item.navigation.data-plane-config-view"),render:!0},null,8,["title"])])]),default:a(()=>[V(),s(p,null,{body:a(()=>[s(m,{src:`/meshes/${r.params.mesh}/dataplanes/${r.params.dataPlane}`},{default:a(({data:t,error:c})=>[c?(o(),n(C,{key:0,error:c},null,8,["error"])):t===void 0?(o(),n(g,{key:1})):(o(),n(x,{key:2,id:"code-block-data-plane",resource:t,"resource-fetcher":f=>v(l).getDataplaneFromMesh({mesh:t.mesh,name:t.name},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; +import{d as h,Q as k,r as e,o,i as n,w as a,j as s,p as w,n as V,E as C,x as g,k as v}from"./index-c6bd05ee.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./toYaml-4e00099e.js";const K=h({__name:"DataPlaneConfigView",setup(y){const l=k();return(A,B)=>{const i=e("RouteTitle"),m=e("DataSource"),p=e("KCard"),u=e("AppView"),_=e("RouteView");return o(),n(_,{name:"data-plane-config-view",params:{mesh:"",dataPlane:""}},{default:a(({route:r,t:d})=>[s(u,null,{title:a(()=>[w("h2",null,[s(i,{title:d("data-planes.routes.item.navigation.data-plane-config-view"),render:!0},null,8,["title"])])]),default:a(()=>[V(),s(p,null,{body:a(()=>[s(m,{src:`/meshes/${r.params.mesh}/dataplanes/${r.params.dataPlane}`},{default:a(({data:t,error:c})=>[c?(o(),n(C,{key:0,error:c},null,8,["error"])):t===void 0?(o(),n(g,{key:1})):(o(),n(x,{key:2,id:"code-block-data-plane",resource:t,"resource-fetcher":f=>v(l).getDataplaneFromMesh({mesh:t.mesh,name:t.name},f),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{K as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-a745d63a.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-e235a490.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-a745d63a.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-e235a490.js index 3510e27ad80d..0e346e53b8c8 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-a745d63a.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-e235a490.js @@ -1 +1 @@ -import{d as R,g as $,a3 as k,r as o,o as l,i as c,w as t,j as s,k as w,p as B,a4 as C,n as h,E as G,x as N,l as T,F as D,q as P}from"./index-968489e2.js";import{N as E}from"./NavTabs-75f3a8fc.js";const S=R({__name:"DataPlaneDetailTabsView",props:{isGatewayView:{type:Boolean,required:!1,default:!1}},setup(b){var _;const{t:p}=$(),v=k(),n=b,x=(((_=v.getRoutes().find(a=>a.name===`${n.isGatewayView?"gateway":"data-plane"}-detail-tabs-view`))==null?void 0:_.children)??[]).map(a=>{var i,m;const d=typeof a.name>"u"?(i=a.children)==null?void 0:i[0]:a,r=d.name,u=((m=d.meta)==null?void 0:m.module)??"";return{title:p(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.navigation.${r}`),routeName:r,module:u}});return(a,d)=>{const r=o("RouteTitle"),u=o("RouterView"),f=o("DataSource"),i=o("AppView"),m=o("RouteView");return l(),c(m,{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:`${n.isGatewayView?"gateway":"data-plane"}-list-view`,params:{mesh:e.params.mesh}},text:w(p)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.breadcrumbs`)}]},{title:t(()=>[B("h1",null,[s(C,{text:e.params.dataPlane},{default:t(()=>[s(r,{title:w(p)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.title`,{name:e.params.dataPlane}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[h(),s(f,{src:`/meshes/${e.params.mesh}/dataplane-overviews/${e.params.dataPlane}`},{default:t(({data:y,error:V})=>[V?(l(),c(G,{key:0,error:V},null,8,["error"])):y===void 0?(l(),c(N,{key:1})):(l(),T(D,{key:2},[s(E,{class:"route-data-plane-view-tabs",tabs:w(x)},null,8,["tabs"]),h(),s(u,null,{default:t(g=>[(l(),c(P(g.Component),{data:y},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{S as default}; +import{d as R,g as $,a3 as k,r as o,o as l,i as c,w as t,j as s,k as w,p as B,a4 as C,n as h,E as G,x as N,l as T,F as D,q as P}from"./index-c6bd05ee.js";import{N as E}from"./NavTabs-769a708e.js";const S=R({__name:"DataPlaneDetailTabsView",props:{isGatewayView:{type:Boolean,required:!1,default:!1}},setup(b){var _;const{t:p}=$(),v=k(),n=b,x=(((_=v.getRoutes().find(a=>a.name===`${n.isGatewayView?"gateway":"data-plane"}-detail-tabs-view`))==null?void 0:_.children)??[]).map(a=>{var i,m;const d=typeof a.name>"u"?(i=a.children)==null?void 0:i[0]:a,r=d.name,u=((m=d.meta)==null?void 0:m.module)??"";return{title:p(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.navigation.${r}`),routeName:r,module:u}});return(a,d)=>{const r=o("RouteTitle"),u=o("RouterView"),f=o("DataSource"),i=o("AppView"),m=o("RouteView");return l(),c(m,{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:`${n.isGatewayView?"gateway":"data-plane"}-list-view`,params:{mesh:e.params.mesh}},text:w(p)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.breadcrumbs`)}]},{title:t(()=>[B("h1",null,[s(C,{text:e.params.dataPlane},{default:t(()=>[s(r,{title:w(p)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.title`,{name:e.params.dataPlane}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[h(),s(f,{src:`/meshes/${e.params.mesh}/dataplane-overviews/${e.params.dataPlane}`},{default:t(({data:y,error:V})=>[V?(l(),c(G,{key:0,error:V},null,8,["error"])):y===void 0?(l(),c(N,{key:1})):(l(),T(D,{key:2},[s(E,{class:"route-data-plane-view-tabs",tabs:w(x)},null,8,["tabs"]),h(),s(u,null,{default:t(g=>[(l(),c(P(g.Component),{data:y},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{S as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-9c54f759.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-3d3cd2e0.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-9c54f759.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-3d3cd2e0.js index 5481244f0829..78bce7658b56 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-9c54f759.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-3d3cd2e0.js @@ -1 +1 @@ -import{d as O,g as z,f as L,h as C,r as y,o as s,i as k,w as e,j as i,a6 as S,n as t,p as d,a7 as _,H as n,k as D,a8 as H,K as F,m as R,l as r,F as m,I as T,t as $}from"./index-968489e2.js";import{S as j}from"./StatusBadge-8d0ad2da.js";import{_ as U}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-dc8319d2.js";import{T as B}from"./TagList-d18d96c7.js";import{a as W,d as K,b as Z,c as G,C as X,I as q}from"./dataplane-0a086c06.js";import"./AccordionList-9da1a7d6.js";const J=["data-testid","innerHTML"],Q={class:"stack","data-testid":"detail-view-details"},Y={class:"columns"},tt={class:"status-with-reason"},et={class:"columns"},at=["innerHTML"],nt={key:0},st=O({__name:"DataPlaneDetailView",props:{data:{}},setup(M){const{formatIsoDate:V}=z(),x=L(),o=M,w=C(()=>W(o.data.dataplane,o.data.dataplaneInsight)),E=C(()=>K(o.data.dataplane)),A=C(()=>Z(o.data.dataplaneInsight)),N=C(()=>{var v,b;const h=((v=o.data.dataplaneInsight)==null?void 0:v.subscriptions)??[];if(h.length===0)return[];const f=h[h.length-1];if(!("version"in f)||!f.version)return[];const u=f.version,p=[];if(u.kumaDp&&u.envoy){const a=G(u);a.kind!==X&&a.kind!==q&&p.push(a)}const g=(b=o.data.dataplaneInsight)==null?void 0:b.mTLS;return g&&Date.now()>new Date(g==null?void 0:g.certificateExpirationTime).getTime()&&p.push({kind:"CERT_EXPIRED",payload:{}}),x("use zones")&&K(o.data.dataplane).find(I=>I.label==="kuma.io/zone")&&typeof u.kumaDp.kumaCpCompatible=="boolean"&&!u.kumaDp.kumaCpCompatible&&p.push({kind:"INCOMPATIBLE_ZONE_CP_AND_KUMA_DP_VERSIONS",payload:{kumaDp:u.kumaDp.version}}),p});return(h,f)=>{const u=y("KTooltip"),p=y("KCard"),g=y("KAlert"),v=y("AppView"),b=y("RouteView");return s(),k(b,{name:"data-plane-detail-view"},{default:e(({t:a})=>[i(v,null,S({default:e(()=>{var c,I;return[t(),d("div",Q,[i(p,null,{body:e(()=>[d("div",Y,[i(_,null,{title:e(()=>[t(n(a("http.api.property.status")),1)]),body:e(()=>[d("div",tt,[i(j,{status:w.value.status},null,8,["status"]),t(),w.value.reason.length>0?(s(),k(u,{key:0,label:w.value.reason.join(", "),class:"reason-tooltip"},{default:e(()=>[i(D(H),{size:D(F),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):R("",!0)])]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("http.api.property.tags")),1)]),body:e(()=>[E.value.length>0?(s(),k(B,{key:0,tags:E.value},null,8,["tags"])):(s(),r(m,{key:1},[t(n(a("common.detail.none")),1)],64))]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("http.api.property.dependencies")),1)]),body:e(()=>[A.value!==null?(s(),k(B,{key:0,tags:A.value},null,8,["tags"])):(s(),r(m,{key:1},[t(n(a("common.detail.none")),1)],64))]),_:2},1024)])]),_:2},1024),t(),d("div",null,[d("h2",null,n(a("data-planes.routes.item.mtls.title")),1),t(),(c=o.data.dataplaneInsight)!=null&&c.mTLS?(s(!0),r(m,{key:0},T([o.data.dataplaneInsight.mTLS],l=>(s(),k(p,{key:l,class:"mt-4"},{body:e(()=>[d("div",et,[i(_,null,{title:e(()=>[t(n(a("data-planes.routes.item.mtls.expiration_time.title")),1)]),body:e(()=>[t(n(D(V)(l.certificateExpirationTime)),1)]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("data-planes.routes.item.mtls.generation_time.title")),1)]),body:e(()=>[t(n(D(V)(l.lastCertificateRegeneration)),1)]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("data-planes.routes.item.mtls.regenerations.title")),1)]),body:e(()=>[t(n(a("common.formats.integer",{value:l.certificateRegenerations})),1)]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("data-planes.routes.item.mtls.issued_backend.title")),1)]),body:e(()=>[t(n(l.issuedBackend),1)]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("data-planes.routes.item.mtls.supported_backends.title")),1)]),body:e(()=>[d("ul",null,[(s(!0),r(m,null,T(l.supportedBackends,P=>(s(),r("li",{key:P},n(P),1))),128))])]),_:2},1024)])]),_:2},1024))),128)):(s(),k(g,{key:1,class:"mt-4",appearance:"warning"},{alertMessage:e(()=>[d("div",{innerHTML:a("data-planes.routes.item.mtls.disabled")},null,8,at)]),_:2},1024))]),t(),(s(!0),r(m,null,T([((I=o.data.dataplaneInsight)==null?void 0:I.subscriptions)??[]],l=>(s(),r(m,{key:l},[l.length>0?(s(),r("div",nt,[d("h2",null,n(a("data-planes.routes.item.subscriptions.title")),1),t(),i(p,{class:"mt-4"},{body:e(()=>[i(U,{subscriptions:l},null,8,["subscriptions"])]),_:2},1024)])):R("",!0)],64))),128))])]}),_:2},[N.value.length>0?{name:"notifications",fn:e(()=>[d("ul",null,[(s(!0),r(m,null,T(N.value,c=>(s(),r("li",{key:c.kind,"data-testid":`warning-${c.kind}`,innerHTML:a(`common.warnings.${c.kind}`,c.payload)},null,8,J))),128)),t()])]),key:"0"}:void 0]),1024)]),_:1})}}});const pt=$(st,[["__scopeId","data-v-9c99a678"]]);export{pt as default}; +import{d as O,g as z,f as L,h as C,r as y,o as s,i as k,w as e,j as i,a6 as S,n as t,p as d,a7 as _,H as n,k as D,a8 as H,K as F,m as R,l as r,F as m,I as T,t as $}from"./index-c6bd05ee.js";import{S as j}from"./StatusBadge-07ca9e6a.js";import{_ as U}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-1387dfab.js";import{T as B}from"./TagList-8ab14f5f.js";import{a as W,d as K,b as Z,c as G,C as X,I as q}from"./dataplane-0a086c06.js";import"./AccordionList-f11442ab.js";const J=["data-testid","innerHTML"],Q={class:"stack","data-testid":"detail-view-details"},Y={class:"columns"},tt={class:"status-with-reason"},et={class:"columns"},at=["innerHTML"],nt={key:0},st=O({__name:"DataPlaneDetailView",props:{data:{}},setup(M){const{formatIsoDate:V}=z(),x=L(),o=M,w=C(()=>W(o.data.dataplane,o.data.dataplaneInsight)),E=C(()=>K(o.data.dataplane)),A=C(()=>Z(o.data.dataplaneInsight)),N=C(()=>{var v,b;const h=((v=o.data.dataplaneInsight)==null?void 0:v.subscriptions)??[];if(h.length===0)return[];const f=h[h.length-1];if(!("version"in f)||!f.version)return[];const u=f.version,p=[];if(u.kumaDp&&u.envoy){const a=G(u);a.kind!==X&&a.kind!==q&&p.push(a)}const g=(b=o.data.dataplaneInsight)==null?void 0:b.mTLS;return g&&Date.now()>new Date(g==null?void 0:g.certificateExpirationTime).getTime()&&p.push({kind:"CERT_EXPIRED",payload:{}}),x("use zones")&&K(o.data.dataplane).find(I=>I.label==="kuma.io/zone")&&typeof u.kumaDp.kumaCpCompatible=="boolean"&&!u.kumaDp.kumaCpCompatible&&p.push({kind:"INCOMPATIBLE_ZONE_CP_AND_KUMA_DP_VERSIONS",payload:{kumaDp:u.kumaDp.version}}),p});return(h,f)=>{const u=y("KTooltip"),p=y("KCard"),g=y("KAlert"),v=y("AppView"),b=y("RouteView");return s(),k(b,{name:"data-plane-detail-view"},{default:e(({t:a})=>[i(v,null,S({default:e(()=>{var c,I;return[t(),d("div",Q,[i(p,null,{body:e(()=>[d("div",Y,[i(_,null,{title:e(()=>[t(n(a("http.api.property.status")),1)]),body:e(()=>[d("div",tt,[i(j,{status:w.value.status},null,8,["status"]),t(),w.value.reason.length>0?(s(),k(u,{key:0,label:w.value.reason.join(", "),class:"reason-tooltip"},{default:e(()=>[i(D(H),{size:D(F),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):R("",!0)])]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("http.api.property.tags")),1)]),body:e(()=>[E.value.length>0?(s(),k(B,{key:0,tags:E.value},null,8,["tags"])):(s(),r(m,{key:1},[t(n(a("common.detail.none")),1)],64))]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("http.api.property.dependencies")),1)]),body:e(()=>[A.value!==null?(s(),k(B,{key:0,tags:A.value},null,8,["tags"])):(s(),r(m,{key:1},[t(n(a("common.detail.none")),1)],64))]),_:2},1024)])]),_:2},1024),t(),d("div",null,[d("h2",null,n(a("data-planes.routes.item.mtls.title")),1),t(),(c=o.data.dataplaneInsight)!=null&&c.mTLS?(s(!0),r(m,{key:0},T([o.data.dataplaneInsight.mTLS],l=>(s(),k(p,{key:l,class:"mt-4"},{body:e(()=>[d("div",et,[i(_,null,{title:e(()=>[t(n(a("data-planes.routes.item.mtls.expiration_time.title")),1)]),body:e(()=>[t(n(D(V)(l.certificateExpirationTime)),1)]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("data-planes.routes.item.mtls.generation_time.title")),1)]),body:e(()=>[t(n(D(V)(l.lastCertificateRegeneration)),1)]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("data-planes.routes.item.mtls.regenerations.title")),1)]),body:e(()=>[t(n(a("common.formats.integer",{value:l.certificateRegenerations})),1)]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("data-planes.routes.item.mtls.issued_backend.title")),1)]),body:e(()=>[t(n(l.issuedBackend),1)]),_:2},1024),t(),i(_,null,{title:e(()=>[t(n(a("data-planes.routes.item.mtls.supported_backends.title")),1)]),body:e(()=>[d("ul",null,[(s(!0),r(m,null,T(l.supportedBackends,P=>(s(),r("li",{key:P},n(P),1))),128))])]),_:2},1024)])]),_:2},1024))),128)):(s(),k(g,{key:1,class:"mt-4",appearance:"warning"},{alertMessage:e(()=>[d("div",{innerHTML:a("data-planes.routes.item.mtls.disabled")},null,8,at)]),_:2},1024))]),t(),(s(!0),r(m,null,T([((I=o.data.dataplaneInsight)==null?void 0:I.subscriptions)??[]],l=>(s(),r(m,{key:l},[l.length>0?(s(),r("div",nt,[d("h2",null,n(a("data-planes.routes.item.subscriptions.title")),1),t(),i(p,{class:"mt-4"},{body:e(()=>[i(U,{subscriptions:l},null,8,["subscriptions"])]),_:2},1024)])):R("",!0)],64))),128))])]}),_:2},[N.value.length>0?{name:"notifications",fn:e(()=>[d("ul",null,[(s(!0),r(m,null,T(N.value,c=>(s(),r("li",{key:c.kind,"data-testid":`warning-${c.kind}`,innerHTML:a(`common.warnings.${c.kind}`,c.payload)},null,8,J))),128)),t()])]),key:"0"}:void 0]),1024)]),_:1})}}});const pt=$(st,[["__scopeId","data-v-9c99a678"]]);export{pt as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-1e3cb34a.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-fd44260d.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-1e3cb34a.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-fd44260d.js index 5f6812bfd572..25182d19df23 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-1e3cb34a.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-fd44260d.js @@ -1 +1 @@ -import{D as v,K as C}from"./KFilterBar-a5930e82.js";import{d as V,r as n,o,i,w as s,j as l,p as k,n as c,E as z,q,m as d,t as P}from"./index-968489e2.js";import{S as b}from"./SummaryView-724c0996.js";import"./AppCollection-f3ad81ed.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";import"./StatusBadge-8d0ad2da.js";import"./dataplane-0a086c06.js";const D=V({__name:"DataPlaneListView",setup(x){return(R,B)=>{const _=n("RouteTitle"),u=n("KCard"),f=n("RouterView"),y=n("AppView"),p=n("DataSource"),g=n("RouteView");return o(),i(p,{src:"/me"},{default:s(({data:w})=>[w?(o(),i(g,{key:0,name:"data-plane-list-view",params:{page:1,size:50,query:"",s:"",mesh:"",dataPlane:""}},{default:s(({route:e,t:h})=>[l(p,{src:`/meshes/${e.params.mesh}/dataplanes?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:s(({data:a,error:r})=>[l(y,null,{title:s(()=>[k("h2",null,[l(_,{title:h("data-planes.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[c(),l(u,null,{body:s(()=>[r!==void 0?(o(),i(z,{key:0,error:r},null,8,["error"])):(o(),i(v,{key:1,"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:a==null?void 0:a.total,items:a==null?void 0:a.items,error:r,"is-selected-row":t=>t.name===e.params.dataPlane,"summary-route-name":"data-plane-summary-view",onChange:e.update},{toolbar:s(()=>[l(C,{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"},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:t=>e.update({query:t.query,s:t.query.length>0?JSON.stringify(t.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"])]),_:2},1032,["page-number","page-size","total","items","error","is-selected-row","onChange"]))]),_:2},1024),c(),e.params.dataPlane?(o(),i(f,{key:0},{default:s(t=>[l(b,{onClose:m=>e.replace({name:"data-plane-list-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:s(()=>[(o(),i(q(t.Component),{name:e.params.dataPlane,"dataplane-overview":a==null?void 0:a.items.find(m=>m.name===e.params.dataPlane)},null,8,["name","dataplane-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):d("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:1})):d("",!0)]),_:1})}}});const T=P(D,[["__scopeId","data-v-094df4e1"]]);export{T as default}; +import{D as v,K as C}from"./KFilterBar-79182a3a.js";import{d as V,r as n,o,i,w as s,j as l,p as k,n as c,E as z,q,m as d,t as P}from"./index-c6bd05ee.js";import{S as b}from"./SummaryView-227f39d3.js";import"./AppCollection-6aabd095.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";import"./StatusBadge-07ca9e6a.js";import"./dataplane-0a086c06.js";const D=V({__name:"DataPlaneListView",setup(x){return(R,B)=>{const _=n("RouteTitle"),u=n("KCard"),f=n("RouterView"),y=n("AppView"),p=n("DataSource"),g=n("RouteView");return o(),i(p,{src:"/me"},{default:s(({data:w})=>[w?(o(),i(g,{key:0,name:"data-plane-list-view",params:{page:1,size:50,query:"",s:"",mesh:"",dataPlane:""}},{default:s(({route:e,t:h})=>[l(p,{src:`/meshes/${e.params.mesh}/dataplanes?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:s(({data:a,error:r})=>[l(y,null,{title:s(()=>[k("h2",null,[l(_,{title:h("data-planes.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[c(),l(u,null,{body:s(()=>[r!==void 0?(o(),i(z,{key:0,error:r},null,8,["error"])):(o(),i(v,{key:1,"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:a==null?void 0:a.total,items:a==null?void 0:a.items,error:r,"is-selected-row":t=>t.name===e.params.dataPlane,"summary-route-name":"data-plane-summary-view",onChange:e.update},{toolbar:s(()=>[l(C,{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"},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:t=>e.update({query:t.query,s:t.query.length>0?JSON.stringify(t.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"])]),_:2},1032,["page-number","page-size","total","items","error","is-selected-row","onChange"]))]),_:2},1024),c(),e.params.dataPlane?(o(),i(f,{key:0},{default:s(t=>[l(b,{onClose:m=>e.replace({name:"data-plane-list-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:s(()=>[(o(),i(q(t.Component),{name:e.params.dataPlane,"dataplane-overview":a==null?void 0:a.items.find(m=>m.name===e.params.dataPlane)},null,8,["name","dataplane-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):d("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:1})):d("",!0)]),_:1})}}});const T=P(D,[["__scopeId","data-v-094df4e1"]]);export{T as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-1d5babda.js b/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-2cacfe44.js similarity index 80% rename from app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-1d5babda.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-2cacfe44.js index 964cffaee18c..cb3f5b8c68f4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-1d5babda.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-2cacfe44.js @@ -1 +1 @@ -import{_ as v}from"./SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-7066168a.js";import{d as $,r as o,o as a,i as t,w as e,j as s,p as x,n as C,E as l,x as P}from"./index-968489e2.js";import"./AccordionList-9da1a7d6.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./PolicyTypeTag-89594388.js";import"./TagList-d18d96c7.js";import"./toYaml-4e00099e.js";const O=$({__name:"DataPlanePoliciesView",setup(b){return(B,R)=>{const f=o("RouteTitle"),r=o("DataSource"),w=o("KCard"),h=o("AppView"),k=o("RouteView");return a(),t(k,{name:"data-plane-policies-view",params:{mesh:"",dataPlane:""}},{default:e(({route:n,t:y})=>[s(h,null,{title:e(()=>[x("h2",null,[s(f,{title:y("data-planes.routes.item.navigation.data-plane-policies-view"),render:!0},null,8,["title"])])]),default:e(()=>[C(),s(w,null,{body:e(()=>[s(r,{src:"/*/policy-types"},{default:e(({data:i,error:c})=>[s(r,{src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/sidecar-dataplanes-policies`},{default:e(({data:p,error:m})=>[s(r,{src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/rules`},{default:e(({data:d,error:_})=>[c?(a(),t(l,{key:0,error:c},null,8,["error"])):m?(a(),t(l,{key:1,error:m},null,8,["error"])):_?(a(),t(l,{key:2,error:_},null,8,["error"])):i===void 0||p===void 0||d===void 0?(a(),t(P,{key:3})):(a(),t(v,{key:4,"policy-types-by-name":i.policies.reduce((V,u)=>Object.assign(V,{[u.name]:u}),{}),"sidecar-dataplanes":p.items,rules:d.items},null,8,["policy-types-by-name","sidecar-dataplanes","rules"]))]),_:2},1032,["src"])]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:1})}}});export{O as default}; +import{_ as v}from"./SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-865f3026.js";import{d as $,r as o,o as a,i as t,w as e,j as s,p as x,n as C,E as l,x as P}from"./index-c6bd05ee.js";import"./AccordionList-f11442ab.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./PolicyTypeTag-55b27c28.js";import"./TagList-8ab14f5f.js";import"./toYaml-4e00099e.js";const O=$({__name:"DataPlanePoliciesView",setup(b){return(B,R)=>{const f=o("RouteTitle"),r=o("DataSource"),w=o("KCard"),h=o("AppView"),k=o("RouteView");return a(),t(k,{name:"data-plane-policies-view",params:{mesh:"",dataPlane:""}},{default:e(({route:n,t:y})=>[s(h,null,{title:e(()=>[x("h2",null,[s(f,{title:y("data-planes.routes.item.navigation.data-plane-policies-view"),render:!0},null,8,["title"])])]),default:e(()=>[C(),s(w,null,{body:e(()=>[s(r,{src:"/*/policy-types"},{default:e(({data:i,error:c})=>[s(r,{src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/sidecar-dataplanes-policies`},{default:e(({data:p,error:m})=>[s(r,{src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/rules`},{default:e(({data:d,error:_})=>[c?(a(),t(l,{key:0,error:c},null,8,["error"])):m?(a(),t(l,{key:1,error:m},null,8,["error"])):_?(a(),t(l,{key:2,error:_},null,8,["error"])):i===void 0||p===void 0||d===void 0?(a(),t(P,{key:3})):(a(),t(v,{key:4,"policy-types-by-name":i.policies.reduce((V,u)=>Object.assign(V,{[u.name]:u}),{}),"sidecar-dataplanes":p.items,rules:d.items},null,8,["policy-types-by-name","sidecar-dataplanes","rules"]))]),_:2},1032,["src"])]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:1})}}});export{O as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-983a158e.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-b033a96e.js similarity index 75% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-983a158e.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-b033a96e.js index 817bbbf777ad..d654ad975462 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-983a158e.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-b033a96e.js @@ -1 +1 @@ -import{E as m}from"./EnvoyData-1bdac64d.js";import{a as c}from"./dataplane-0a086c06.js";import{d as u,r as a,o as _,i as f,w as t,j as e,p as w,n as h,k as V}from"./index-968489e2.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const g=u({__name:"DataPlaneStatsView",props:{data:{}},setup(o){const s=o;return(v,y)=>{const r=a("RouteTitle"),p=a("KCard"),l=a("AppView"),d=a("RouteView");return _(),f(d,{name:"data-plane-stats-view",params:{mesh:"",dataPlane:""}},{default:t(({route:n,t:i})=>[e(l,null,{title:t(()=>[w("h2",null,[e(r,{title:i("data-planes.routes.item.navigation.data-plane-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[h(),e(p,null,{body:t(()=>[e(m,{status:V(c)(s.data.dataplane,s.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/data-path/stats`,"query-key":"envoy-data-stats-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{g as default}; +import{E as m}from"./EnvoyData-cf08b3ca.js";import{a as c}from"./dataplane-0a086c06.js";import{d as u,r as a,o as _,i as f,w as t,j as e,p as w,n as h,k as V}from"./index-c6bd05ee.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const g=u({__name:"DataPlaneStatsView",props:{data:{}},setup(o){const s=o;return(v,y)=>{const r=a("RouteTitle"),p=a("KCard"),l=a("AppView"),d=a("RouteView");return _(),f(d,{name:"data-plane-stats-view",params:{mesh:"",dataPlane:""}},{default:t(({route:n,t:i})=>[e(l,null,{title:t(()=>[w("h2",null,[e(r,{title:i("data-planes.routes.item.navigation.data-plane-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[h(),e(p,null,{body:t(()=>[e(m,{status:V(c)(s.data.dataplane,s.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${n.params.mesh}/dataplanes/${n.params.dataPlane}/data-path/stats`,"query-key":"envoy-data-stats-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{g as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-a8da7b55.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-f5a3bcb5.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-a8da7b55.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-f5a3bcb5.js index 470afb41eeed..2dcc6cb301ca 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-a8da7b55.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneSummaryView-f5a3bcb5.js @@ -1 +1 @@ -import{d as D,g as x,h as g,r as h,o as l,l as p,j as i,w as t,n as e,H as n,k as a,p as u,i as b,a8 as R,K as C,m as B,a7 as f,F as w,t as P,e as L,D as N,G as E,a9 as G}from"./index-968489e2.js";import{_ as K}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";import{S as $}from"./StatusBadge-8d0ad2da.js";import{T as V}from"./TagList-d18d96c7.js";import{a as A,d as U,b as j}from"./dataplane-0a086c06.js";const z={class:"stack"},F={class:"status-with-reason"},H=D({__name:"DataPlaneSummary",props:{dataplaneOverview:{}},setup(r){const{t:s,formatIsoDate:k}=x(),o=r,d=g(()=>A(o.dataplaneOverview.dataplane,o.dataplaneOverview.dataplaneInsight)),m=g(()=>U(o.dataplaneOverview.dataplane)),_=g(()=>j(o.dataplaneOverview.dataplaneInsight)),c=g(()=>{var y;const v=((y=o.dataplaneOverview.dataplaneInsight)==null?void 0:y.subscriptions)??[];if(v.length===0)return null;const S=v[v.length-1];return k(S.status.lastUpdateTime)});return(v,S)=>{const y=h("KTooltip");return l(),p("div",z,[i(f,null,{title:t(()=>[e(n(a(s)("http.api.property.status")),1)]),body:t(()=>[u("div",F,[i($,{status:d.value.status},null,8,["status"]),e(),d.value.reason.length>0?(l(),b(y,{key:0,label:d.value.reason.join(", "),class:"reason-tooltip"},{default:t(()=>[i(a(R),{size:a(C),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):B("",!0)])]),_:1}),e(),i(f,null,{title:t(()=>[e(n(a(s)("http.api.property.tags")),1)]),body:t(()=>[m.value.length>0?(l(),b(V,{key:0,tags:m.value},null,8,["tags"])):(l(),p(w,{key:1},[e(n(a(s)("common.detail.none")),1)],64))]),_:1}),e(),i(f,null,{title:t(()=>[e(n(a(s)("http.api.property.dependencies")),1)]),body:t(()=>[_.value!==null?(l(),b(V,{key:0,tags:_.value},null,8,["tags"])):(l(),p(w,{key:1},[e(n(a(s)("common.detail.none")),1)],64))]),_:1}),e(),i(f,null,{title:t(()=>[e(n(a(s)("data-planes.routes.item.last_updated")),1)]),body:t(()=>[c.value?(l(),p(w,{key:0},[e(n(c.value),1)],64)):(l(),p(w,{key:1},[e(n(a(s)("common.detail.none")),1)],64))]),_:1}),e(),i(f,null,{title:t(()=>[e(n(a(s)("data-planes.routes.item.certificate_info")),1)]),body:t(()=>{var T,I,O;return[(I=(T=o.dataplaneOverview.dataplaneInsight)==null?void 0:T.mTLS)!=null&&I.certificateExpirationTime?(l(),p(w,{key:0},[e(n(a(k)((O=o.dataplaneOverview.dataplaneInsight)==null?void 0:O.mTLS.certificateExpirationTime)),1)],64)):(l(),p(w,{key:1},[e(n(a(s)("data-planes.routes.item.no_certificate")),1)],64))]}),_:1})])}}});const W=P(H,[["__scopeId","data-v-7f165bbf"]]),Z=r=>(N("data-v-b90b45fd"),r=r(),E(),r),q={class:"summary-title-wrapper"},J=Z(()=>u("img",{"aria-hidden":"true",src:G},null,-1)),M={class:"summary-title"},Q={key:1,class:"stack"},X=D({__name:"DataPlaneSummaryView",props:{name:{},dataplaneOverview:{default:void 0}},setup(r){const{t:s}=x(),k=L(),o=r,d=g(()=>{var m,_,c;return((c=(_=(m=o.dataplaneOverview)==null?void 0:m.dataplane)==null?void 0:_.networking)==null?void 0:c.gateway)!==void 0});return(m,_)=>{const c=h("RouteTitle"),v=h("RouterLink"),S=h("AppView"),y=h("RouteView");return l(),b(y,{name:a(k).name},{default:t(()=>[i(S,null,{title:t(()=>[u("div",q,[J,e(),u("h2",M,[i(v,{to:{name:d.value?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:o.name}}},{default:t(()=>[i(c,{title:a(s)("data-planes.routes.item.title",{name:o.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:t(()=>[e(),o.dataplaneOverview===void 0?(l(),b(K,{key:0},{message:t(()=>[u("p",null,n(a(s)("common.collection.summary.empty_message",{type:d.value?"Gateway":"Dataplane"})),1)]),default:t(()=>[e(n(a(s)("common.collection.summary.empty_title",{type:d.value?"Gateway":"Dataplane"}))+" ",1)]),_:1})):(l(),p("div",Q,[u("div",null,[u("h3",null,n(a(s)("data-planes.routes.item.overview")),1),e(),i(W,{class:"mt-4","dataplane-overview":o.dataplaneOverview},null,8,["dataplane-overview"])])]))]),_:1})]),_:1},8,["name"])}}});const ne=P(X,[["__scopeId","data-v-b90b45fd"]]);export{ne as default}; +import{d as D,g as x,h as g,r as h,o as l,l as p,j as i,w as t,n as e,H as n,k as a,p as u,i as b,a8 as R,K as C,m as B,a7 as f,F as w,t as P,e as L,D as N,G as E,a9 as G}from"./index-c6bd05ee.js";import{_ as K}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";import{S as $}from"./StatusBadge-07ca9e6a.js";import{T as V}from"./TagList-8ab14f5f.js";import{a as A,d as U,b as j}from"./dataplane-0a086c06.js";const z={class:"stack"},F={class:"status-with-reason"},H=D({__name:"DataPlaneSummary",props:{dataplaneOverview:{}},setup(r){const{t:s,formatIsoDate:k}=x(),o=r,d=g(()=>A(o.dataplaneOverview.dataplane,o.dataplaneOverview.dataplaneInsight)),m=g(()=>U(o.dataplaneOverview.dataplane)),_=g(()=>j(o.dataplaneOverview.dataplaneInsight)),c=g(()=>{var y;const v=((y=o.dataplaneOverview.dataplaneInsight)==null?void 0:y.subscriptions)??[];if(v.length===0)return null;const S=v[v.length-1];return k(S.status.lastUpdateTime)});return(v,S)=>{const y=h("KTooltip");return l(),p("div",z,[i(f,null,{title:t(()=>[e(n(a(s)("http.api.property.status")),1)]),body:t(()=>[u("div",F,[i($,{status:d.value.status},null,8,["status"]),e(),d.value.reason.length>0?(l(),b(y,{key:0,label:d.value.reason.join(", "),class:"reason-tooltip"},{default:t(()=>[i(a(R),{size:a(C),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):B("",!0)])]),_:1}),e(),i(f,null,{title:t(()=>[e(n(a(s)("http.api.property.tags")),1)]),body:t(()=>[m.value.length>0?(l(),b(V,{key:0,tags:m.value},null,8,["tags"])):(l(),p(w,{key:1},[e(n(a(s)("common.detail.none")),1)],64))]),_:1}),e(),i(f,null,{title:t(()=>[e(n(a(s)("http.api.property.dependencies")),1)]),body:t(()=>[_.value!==null?(l(),b(V,{key:0,tags:_.value},null,8,["tags"])):(l(),p(w,{key:1},[e(n(a(s)("common.detail.none")),1)],64))]),_:1}),e(),i(f,null,{title:t(()=>[e(n(a(s)("data-planes.routes.item.last_updated")),1)]),body:t(()=>[c.value?(l(),p(w,{key:0},[e(n(c.value),1)],64)):(l(),p(w,{key:1},[e(n(a(s)("common.detail.none")),1)],64))]),_:1}),e(),i(f,null,{title:t(()=>[e(n(a(s)("data-planes.routes.item.certificate_info")),1)]),body:t(()=>{var T,I,O;return[(I=(T=o.dataplaneOverview.dataplaneInsight)==null?void 0:T.mTLS)!=null&&I.certificateExpirationTime?(l(),p(w,{key:0},[e(n(a(k)((O=o.dataplaneOverview.dataplaneInsight)==null?void 0:O.mTLS.certificateExpirationTime)),1)],64)):(l(),p(w,{key:1},[e(n(a(s)("data-planes.routes.item.no_certificate")),1)],64))]}),_:1})])}}});const W=P(H,[["__scopeId","data-v-7f165bbf"]]),Z=r=>(N("data-v-b90b45fd"),r=r(),E(),r),q={class:"summary-title-wrapper"},J=Z(()=>u("img",{"aria-hidden":"true",src:G},null,-1)),M={class:"summary-title"},Q={key:1,class:"stack"},X=D({__name:"DataPlaneSummaryView",props:{name:{},dataplaneOverview:{default:void 0}},setup(r){const{t:s}=x(),k=L(),o=r,d=g(()=>{var m,_,c;return((c=(_=(m=o.dataplaneOverview)==null?void 0:m.dataplane)==null?void 0:_.networking)==null?void 0:c.gateway)!==void 0});return(m,_)=>{const c=h("RouteTitle"),v=h("RouterLink"),S=h("AppView"),y=h("RouteView");return l(),b(y,{name:a(k).name},{default:t(()=>[i(S,null,{title:t(()=>[u("div",q,[J,e(),u("h2",M,[i(v,{to:{name:d.value?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:o.name}}},{default:t(()=>[i(c,{title:a(s)("data-planes.routes.item.title",{name:o.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:t(()=>[e(),o.dataplaneOverview===void 0?(l(),b(K,{key:0},{message:t(()=>[u("p",null,n(a(s)("common.collection.summary.empty_message",{type:d.value?"Gateway":"Dataplane"})),1)]),default:t(()=>[e(n(a(s)("common.collection.summary.empty_title",{type:d.value?"Gateway":"Dataplane"}))+" ",1)]),_:1})):(l(),p("div",Q,[u("div",null,[u("h3",null,n(a(s)("data-planes.routes.item.overview")),1),e(),i(W,{class:"mt-4","dataplane-overview":o.dataplaneOverview},null,8,["dataplane-overview"])])]))]),_:1})]),_:1},8,["name"])}}});const ne=P(X,[["__scopeId","data-v-b90b45fd"]]);export{ne as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-2bdfc51a.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-544cfe5f.js similarity index 76% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-2bdfc51a.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-544cfe5f.js index a8831ed0ad05..24a1d7c2d670 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-2bdfc51a.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-544cfe5f.js @@ -1 +1 @@ -import{E as c}from"./EnvoyData-1bdac64d.js";import{a as m}from"./dataplane-0a086c06.js";import{d as u,r as a,o as _,i as f,w as e,j as t,p as w,n as x,k as h}from"./index-968489e2.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const k=u({__name:"DataPlaneXdsConfigView",props:{data:{}},setup(s){const n=s;return(V,g)=>{const r=a("RouteTitle"),p=a("KCard"),d=a("AppView"),l=a("RouteView");return _(),f(l,{name:"data-plane-xds-config-view",params:{mesh:"",dataPlane:""}},{default:e(({route:o,t:i})=>[t(d,null,{title:e(()=>[w("h2",null,[t(r,{title:i("data-planes.routes.item.navigation.data-plane-xds-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[x(),t(p,null,{body:e(()=>[t(c,{status:h(m)(n.data.dataplane,n.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${o.params.mesh}/dataplanes/${o.params.dataPlane}/data-path/xds`,"query-key":"envoy-data-xds-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as c}from"./EnvoyData-cf08b3ca.js";import{a as m}from"./dataplane-0a086c06.js";import{d as u,r as a,o as _,i as f,w as e,j as t,p as w,n as x,k as h}from"./index-c6bd05ee.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const k=u({__name:"DataPlaneXdsConfigView",props:{data:{}},setup(s){const n=s;return(V,g)=>{const r=a("RouteTitle"),p=a("KCard"),d=a("AppView"),l=a("RouteView");return _(),f(l,{name:"data-plane-xds-config-view",params:{mesh:"",dataPlane:""}},{default:e(({route:o,t:i})=>[t(d,null,{title:e(()=>[w("h2",null,[t(r,{title:i("data-planes.routes.item.navigation.data-plane-xds-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[x(),t(p,null,{body:e(()=>[t(c,{status:h(m)(n.data.dataplane,n.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${o.params.mesh}/dataplanes/${o.params.dataPlane}/data-path/xds`,"query-key":"envoy-data-xds-data-plane"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-bdf51de6.js b/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-ce6ad3c6.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-bdf51de6.js rename to app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-ce6ad3c6.js index f60fd914c58e..9358df60835d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-bdf51de6.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-ce6ad3c6.js @@ -1,3 +1,3 @@ -import{L as D}from"./LoadingBox-26578e33.js";import{O,a as T,b as B}from"./OnboardingPage-b3657084.js";import{S as R}from"./StatusBadge-8d0ad2da.js";import{d as S,Q as V,y as k,U as F,r as d,o,i as g,w as t,j as s,n as c,l as p,I,H as h,p as f,F as x,t as N}from"./index-968489e2.js";import{g as P}from"./dataplane-0a086c06.js";const E={key:0,class:"status-loading-box mb-4"},L={key:1},C={class:"mb-4"},H=S({__name:"DataplanesOverview",setup(K){const b=V(),A=[{label:"Mesh",key:"mesh"},{label:"Name",key:"name"},{label:"Status",key:"status"}],a=k({total:0,data:[]}),_=k(null);F(function(){w()}),y();function w(){_.value!==null&&window.clearTimeout(_.value)}async function y(){let i=!1;const v=[];try{const{items:n}=await b.getAllDataplanes({size:10});if(Array.isArray(n)&&n.length>0)for(const m of n){const{name:r,mesh:u}=m,l=await b.getDataplaneOverviewFromMesh({mesh:u,name:r}),e=P(l.dataplaneInsight);e==="offline"&&(i=!0),v.push({status:e,name:r,mesh:u})}else i=!0}catch(n){console.error(n)}a.value.data=v,a.value.total=a.value.data.length,i&&(w(),_.value=window.setTimeout(y,1e3))}return(i,v)=>{const n=d("RouteTitle"),m=d("KTable"),r=d("AppView"),u=d("RouteView");return o(),g(u,{name:"onboarding-dataplanes-overview"},{default:t(({t:l})=>[s(n,{title:l("onboarding.routes.dataplanes-overview.title")},null,8,["title"]),c(),s(r,null,{default:t(()=>[s(O,null,{header:t(()=>[(o(!0),p(x,null,I([a.value.data.length>0?"success":"waiting"],e=>(o(),g(T,{key:e,"data-testid":`state-${e}`},{title:t(()=>[c(h(l(`onboarding.routes.dataplanes-overview.header.${e}.title`)),1)]),description:t(()=>[f("p",null,h(l(`onboarding.routes.dataplanes-overview.header.${e}.description`)),1)]),_:2},1032,["data-testid"]))),128))]),content:t(()=>[a.value.data.length===0?(o(),p("div",E,[s(D)])):(o(),p("div",L,[f("p",C,[f("b",null,"Found "+h(a.value.data.length)+" DPPs:",1)]),c(),s(m,{class:"mb-4",fetcher:()=>a.value,headers:A,"disable-pagination":""},{status:t(({rowValue:e})=>[e?(o(),g(R,{key:0,status:e},null,8,["status"])):(o(),p(x,{key:1},[c(` +import{L as D}from"./LoadingBox-3735ed8e.js";import{O,a as T,b as B}from"./OnboardingPage-7bcb094e.js";import{S as R}from"./StatusBadge-07ca9e6a.js";import{d as S,Q as V,y as k,U as F,r as d,o,i as g,w as t,j as s,n as c,l as p,I,H as h,p as f,F as x,t as N}from"./index-c6bd05ee.js";import{g as P}from"./dataplane-0a086c06.js";const E={key:0,class:"status-loading-box mb-4"},L={key:1},C={class:"mb-4"},H=S({__name:"DataplanesOverview",setup(K){const b=V(),A=[{label:"Mesh",key:"mesh"},{label:"Name",key:"name"},{label:"Status",key:"status"}],a=k({total:0,data:[]}),_=k(null);F(function(){w()}),y();function w(){_.value!==null&&window.clearTimeout(_.value)}async function y(){let i=!1;const v=[];try{const{items:n}=await b.getAllDataplanes({size:10});if(Array.isArray(n)&&n.length>0)for(const m of n){const{name:r,mesh:u}=m,l=await b.getDataplaneOverviewFromMesh({mesh:u,name:r}),e=P(l.dataplaneInsight);e==="offline"&&(i=!0),v.push({status:e,name:r,mesh:u})}else i=!0}catch(n){console.error(n)}a.value.data=v,a.value.total=a.value.data.length,i&&(w(),_.value=window.setTimeout(y,1e3))}return(i,v)=>{const n=d("RouteTitle"),m=d("KTable"),r=d("AppView"),u=d("RouteView");return o(),g(u,{name:"onboarding-dataplanes-overview"},{default:t(({t:l})=>[s(n,{title:l("onboarding.routes.dataplanes-overview.title")},null,8,["title"]),c(),s(r,null,{default:t(()=>[s(O,null,{header:t(()=>[(o(!0),p(x,null,I([a.value.data.length>0?"success":"waiting"],e=>(o(),g(T,{key:e,"data-testid":`state-${e}`},{title:t(()=>[c(h(l(`onboarding.routes.dataplanes-overview.header.${e}.title`)),1)]),description:t(()=>[f("p",null,h(l(`onboarding.routes.dataplanes-overview.header.${e}.description`)),1)]),_:2},1032,["data-testid"]))),128))]),content:t(()=>[a.value.data.length===0?(o(),p("div",E,[s(D)])):(o(),p("div",L,[f("p",C,[f("b",null,"Found "+h(a.value.data.length)+" DPPs:",1)]),c(),s(m,{class:"mb-4",fetcher:()=>a.value,headers:A,"disable-pagination":""},{status:t(({rowValue:e})=>[e?(o(),g(R,{key:0,status:e},null,8,["status"])):(o(),p(x,{key:1},[c(` — `)],64))]),_:1},8,["fetcher"])]))]),navigation:t(()=>[s(B,{"next-step":"onboarding-completed","previous-step":"onboarding-add-services-code","should-allow-next":a.value.data.length>0},null,8,["should-allow-next"])]),_:2},1024)]),_:2},1024)]),_:1})}}});const Q=N(H,[["__scopeId","data-v-b51ace23"]]);export{Q as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-d19d1558.js b/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-488e428a.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-d19d1558.js rename to app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-488e428a.js index b7cad6d1af58..92a37246ff6e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-d19d1558.js +++ b/app/kuma-ui/pkg/resources/data/assets/DeleteResourceModal.vue_vue_type_script_setup_true_lang-488e428a.js @@ -1 +1 @@ -import{d as k,g as B,y as S,o as t,i as p,w as f,S as q,n as l,k as n,am as F,ay as T,l as o,F as y,p as u,H as s,I as V,m as v,aG as h}from"./index-968489e2.js";const C=["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:x}){const{t:c}=B(),a=_,d=x,e=S(null);async function b(){e.value=null;try{await a.deleteFunction(),d("delete")}catch(r){r instanceof Error?e.value=r:console.error(r)}}return(r,m)=>(t(),p(n(h),{"action-button-text":a.actionButtonText,"confirmation-text":a.confirmationText,"is-visible":a.isVisible,title:a.title,type:"danger",onCanceled:m[0]||(m[0]=i=>d("cancel")),onProceed:b},{"body-content":f(()=>[q(r.$slots,"body-content"),l(),e.value!==null?(t(),p(n(F),{key:0,class:"mt-4",appearance:"danger","is-dismissible":""},{alertMessage:f(()=>[e.value instanceof n(T)?(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),l(),e.value.invalidParameters.length>0?(t(),o("ul",{key:0,"data-testid":`error-${e.value.status}`},[(t(!0),o(y,null,V(e.value.invalidParameters,(i,g)=>(t(),o("li",{key:g},[u("b",null,[u("code",null,s(i.field),1)]),l(": "+s(i.reason),1)]))),128))],8,C)):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,g as B,y as S,o as t,i as p,w as f,S as q,n as l,k as n,am as F,ay as T,l as o,F as y,p as u,H as s,I as V,m as v,aG as h}from"./index-c6bd05ee.js";const C=["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:x}){const{t:c}=B(),a=_,d=x,e=S(null);async function b(){e.value=null;try{await a.deleteFunction(),d("delete")}catch(r){r instanceof Error?e.value=r:console.error(r)}}return(r,m)=>(t(),p(n(h),{"action-button-text":a.actionButtonText,"confirmation-text":a.confirmationText,"is-visible":a.isVisible,title:a.title,type:"danger",onCanceled:m[0]||(m[0]=i=>d("cancel")),onProceed:b},{"body-content":f(()=>[q(r.$slots,"body-content"),l(),e.value!==null?(t(),p(n(F),{key:0,class:"mt-4",appearance:"danger","is-dismissible":""},{alertMessage:f(()=>[e.value instanceof n(T)?(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),l(),e.value.invalidParameters.length>0?(t(),o("ul",{key:0,"data-testid":`error-${e.value.status}`},[(t(!0),o(y,null,V(e.value.invalidParameters,(i,g)=>(t(),o("li",{key:g},[u("b",null,[u("code",null,s(i.field),1)]),l(": "+s(i.reason),1)]))),128))],8,C)):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/DeploymentTypes-c654c995.js b/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-ee27380c.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-c654c995.js rename to app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-ee27380c.js index 0b7c11da9a14..657d6f4c8ab1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-c654c995.js +++ b/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-ee27380c.js @@ -1,4 +1,4 @@ -import{O as f,a as V,b as h}from"./OnboardingPage-b3657084.js";import{d as z,J as w,L as x,f as C,y as G,h as R,r as s,o as u,i as r,w as e,j as o,n,p as d,H as T,q as D,t as S}from"./index-968489e2.js";const M={class:"graph-list mb-6"},N={class:"radio-button-group"},O=z({__name:"DeploymentTypes",setup(B){const m=w(),c={standalone:x(),"multi-zone":m},_=C(),t=G(_("use zones")?"multi-zone":"standalone"),y=R(()=>c[t.value]);return(A,a)=>{const g=s("RouteTitle"),i=s("KRadio"),b=s("AppView"),v=s("RouteView");return u(),r(v,{name:"onboarding-deployment-types"},{default:e(({t:p})=>[o(g,{title:p("onboarding.routes.deployment-types.title")},null,8,["title"]),n(),o(b,null,{default:e(()=>[o(f,{"with-image":""},{header:e(()=>[o(V,null,{title:e(()=>[n(` +import{O as f,a as V,b as h}from"./OnboardingPage-7bcb094e.js";import{d as z,J as w,L as x,f as C,y as G,h as R,r as s,o as u,i as r,w as e,j as o,n,p as d,H as T,q as D,t as S}from"./index-c6bd05ee.js";const M={class:"graph-list mb-6"},N={class:"radio-button-group"},O=z({__name:"DeploymentTypes",setup(B){const m=w(),c={standalone:x(),"multi-zone":m},_=C(),t=G(_("use zones")?"multi-zone":"standalone"),y=R(()=>c[t.value]);return(A,a)=>{const g=s("RouteTitle"),i=s("KRadio"),b=s("AppView"),v=s("RouteView");return u(),r(v,{name:"onboarding-deployment-types"},{default:e(({t:p})=>[o(g,{title:p("onboarding.routes.deployment-types.title")},null,8,["title"]),n(),o(b,null,{default:e(()=>[o(f,{"with-image":""},{header:e(()=>[o(V,null,{title:e(()=>[n(` Learn about deployments `)]),description:e(()=>[d("p",null,T(p("common.product.name"))+" can be deployed in standalone or multi-zone mode.",1)]),_:2},1024)]),content:e(()=>[d("div",M,[(u(),r(D(y.value)))]),n(),d("div",N,[o(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(()=>[n(` Standalone deployment diff --git a/app/kuma-ui/pkg/resources/data/assets/DetailView-3d2d8bec.js b/app/kuma-ui/pkg/resources/data/assets/DetailView-77d6fdfb.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/DetailView-3d2d8bec.js rename to app/kuma-ui/pkg/resources/data/assets/DetailView-77d6fdfb.js index d583dbf28566..9fa6d5256e5b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DetailView-3d2d8bec.js +++ b/app/kuma-ui/pkg/resources/data/assets/DetailView-77d6fdfb.js @@ -1 +1 @@ -import{d as b,h as u,aH as g,Y as S,aI as z,r as p,o as l,i as B,w as t,j as o,a6 as T,n as e,p as r,a7 as m,H as s,l as c,F as _,I as y,m as x}from"./index-968489e2.js";import{S as D}from"./StatusBadge-8d0ad2da.js";import{_ as H}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-dc8319d2.js";import"./AccordionList-9da1a7d6.js";const N=["data-testid","innerHTML"],$={"data-testid":"detail-view-details",class:"stack"},A={class:"columns"},I={key:0},P=b({__name:"DetailView",props:{data:{},notifications:{default:()=>[]}},setup(h){const i=h,v=u(()=>g(i.data)),k=u(()=>S(i.data)),w=u(()=>z(i.data));return(L,Z)=>{const f=p("KCard"),C=p("AppView"),V=p("RouteView");return l(),B(V,{name:"zone-cp-detail-view"},{default:t(({t:n})=>[o(C,null,T({default:t(()=>{var a;return[e(),r("div",$,[o(f,null,{body:t(()=>[r("div",A,[o(m,null,{title:t(()=>[e(s(n("http.api.property.status")),1)]),body:t(()=>[o(D,{status:k.value},null,8,["status"])]),_:2},1024),e(),o(m,null,{title:t(()=>[e(s(n("http.api.property.type")),1)]),body:t(()=>[e(s(n(`common.product.environment.${v.value||"unknown"}`)),1)]),_:2},1024),e(),o(m,null,{title:t(()=>[e(s(n("zone-cps.routes.item.authentication_type")),1)]),body:t(()=>[e(s(w.value||n("common.not_applicable")),1)]),_:2},1024)])]),_:2},1024),e(),(l(!0),c(_,null,y([((a=i.data.zoneInsight)==null?void 0:a.subscriptions)??[]],d=>(l(),c(_,{key:d},[d.length>0?(l(),c("div",I,[r("h2",null,s(n("zone-cps.detail.subscriptions")),1),e(),o(f,{class:"mt-4"},{body:t(()=>[o(H,{subscriptions:d},{default:t(()=>[r("p",null,s(n("zone-cps.routes.item.subscription_intro")),1)]),_:2},1032,["subscriptions"])]),_:2},1024)])):x("",!0)],64))),128))])]}),_:2},[i.notifications.length>0?{name:"notifications",fn:t(()=>[r("ul",null,[(l(!0),c(_,null,y(i.notifications,a=>(l(),c("li",{key:a.kind,"data-testid":`warning-${a.kind}`,innerHTML:n(`common.warnings.${a.kind}`,a.payload)},null,8,N))),128)),e()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{P as default}; +import{d as b,h as u,aH as g,Y as S,aI as z,r as p,o as l,i as B,w as t,j as o,a6 as T,n as e,p as r,a7 as m,H as s,l as c,F as _,I as y,m as x}from"./index-c6bd05ee.js";import{S as D}from"./StatusBadge-07ca9e6a.js";import{_ as H}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-1387dfab.js";import"./AccordionList-f11442ab.js";const N=["data-testid","innerHTML"],$={"data-testid":"detail-view-details",class:"stack"},A={class:"columns"},I={key:0},P=b({__name:"DetailView",props:{data:{},notifications:{default:()=>[]}},setup(h){const i=h,v=u(()=>g(i.data)),k=u(()=>S(i.data)),w=u(()=>z(i.data));return(L,Z)=>{const f=p("KCard"),C=p("AppView"),V=p("RouteView");return l(),B(V,{name:"zone-cp-detail-view"},{default:t(({t:n})=>[o(C,null,T({default:t(()=>{var a;return[e(),r("div",$,[o(f,null,{body:t(()=>[r("div",A,[o(m,null,{title:t(()=>[e(s(n("http.api.property.status")),1)]),body:t(()=>[o(D,{status:k.value},null,8,["status"])]),_:2},1024),e(),o(m,null,{title:t(()=>[e(s(n("http.api.property.type")),1)]),body:t(()=>[e(s(n(`common.product.environment.${v.value||"unknown"}`)),1)]),_:2},1024),e(),o(m,null,{title:t(()=>[e(s(n("zone-cps.routes.item.authentication_type")),1)]),body:t(()=>[e(s(w.value||n("common.not_applicable")),1)]),_:2},1024)])]),_:2},1024),e(),(l(!0),c(_,null,y([((a=i.data.zoneInsight)==null?void 0:a.subscriptions)??[]],d=>(l(),c(_,{key:d},[d.length>0?(l(),c("div",I,[r("h2",null,s(n("zone-cps.detail.subscriptions")),1),e(),o(f,{class:"mt-4"},{body:t(()=>[o(H,{subscriptions:d},{default:t(()=>[r("p",null,s(n("zone-cps.routes.item.subscription_intro")),1)]),_:2},1032,["subscriptions"])]),_:2},1024)])):x("",!0)],64))),128))])]}),_:2},[i.notifications.length>0?{name:"notifications",fn:t(()=>[r("ul",null,[(l(!0),c(_,null,y(i.notifications,a=>(l(),c("li",{key:a.kind,"data-testid":`warning-${a.kind}`,innerHTML:n(`common.warnings.${a.kind}`,a.payload)},null,8,N))),128)),e()])]),key:"0"}:void 0]),1024)]),_:1})}}});export{P as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DetailView-154200fa.js b/app/kuma-ui/pkg/resources/data/assets/DetailView-a436e024.js similarity index 80% rename from app/kuma-ui/pkg/resources/data/assets/DetailView-154200fa.js rename to app/kuma-ui/pkg/resources/data/assets/DetailView-a436e024.js index d3530a4b4433..1620757a0f1d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DetailView-154200fa.js +++ b/app/kuma-ui/pkg/resources/data/assets/DetailView-a436e024.js @@ -1 +1 @@ -import{d as y,r as l,o,i as g,w as e,j as t,p,a7 as h,n,H as i,k as V,a4 as z,l as d,F as c,I as C,m as x}from"./index-968489e2.js";import{S as E}from"./StatusBadge-8d0ad2da.js";import{_ as v}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-dc8319d2.js";import{g as B}from"./dataplane-0a086c06.js";import"./AccordionList-9da1a7d6.js";const b={class:"stack","data-testid":"detail-view-details"},I={class:"columns"},N={key:0},T=y({__name:"DetailView",props:{data:{}},setup(k){const s=k;return(S,D)=>{const m=l("KCard"),w=l("AppView"),f=l("RouteView");return o(),g(f,{name:"zone-egress-detail-view"},{default:e(({t:r})=>[t(w,null,{default:e(()=>{var u;return[p("div",b,[t(m,null,{body:e(()=>[p("div",I,[t(h,null,{title:e(()=>[n(i(r("http.api.property.status")),1)]),body:e(()=>[t(E,{status:V(B)(s.data.zoneEgressInsight)},null,8,["status"])]),_:2},1024),n(),t(h,null,{title:e(()=>[n(i(r("http.api.property.address")),1)]),body:e(()=>{var a,_;return[(a=s.data.zoneEgress.networking)!=null&&a.address&&((_=s.data.zoneEgress.networking)!=null&&_.port)?(o(),g(z,{key:0,text:`${s.data.zoneEgress.networking.address}:${s.data.zoneEgress.networking.port}`},null,8,["text"])):(o(),d(c,{key:1},[n(i(r("common.detail.none")),1)],64))]}),_:2},1024)])]),_:2},1024),n(),(o(!0),d(c,null,C([((u=s.data.zoneEgressInsight)==null?void 0:u.subscriptions)??[]],a=>(o(),d(c,{key:a},[a.length>0?(o(),d("div",N,[p("h2",null,i(r("zone-egresses.routes.item.subscriptions.title")),1),n(),t(m,{class:"mt-4"},{body:e(()=>[t(v,{subscriptions:a},null,8,["subscriptions"])]),_:2},1024)])):x("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{T as default}; +import{d as y,r as l,o,i as g,w as e,j as t,p,a7 as h,n,H as i,k as V,a4 as z,l as d,F as c,I as C,m as x}from"./index-c6bd05ee.js";import{S as E}from"./StatusBadge-07ca9e6a.js";import{_ as v}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-1387dfab.js";import{g as B}from"./dataplane-0a086c06.js";import"./AccordionList-f11442ab.js";const b={class:"stack","data-testid":"detail-view-details"},I={class:"columns"},N={key:0},T=y({__name:"DetailView",props:{data:{}},setup(k){const s=k;return(S,D)=>{const m=l("KCard"),w=l("AppView"),f=l("RouteView");return o(),g(f,{name:"zone-egress-detail-view"},{default:e(({t:r})=>[t(w,null,{default:e(()=>{var u;return[p("div",b,[t(m,null,{body:e(()=>[p("div",I,[t(h,null,{title:e(()=>[n(i(r("http.api.property.status")),1)]),body:e(()=>[t(E,{status:V(B)(s.data.zoneEgressInsight)},null,8,["status"])]),_:2},1024),n(),t(h,null,{title:e(()=>[n(i(r("http.api.property.address")),1)]),body:e(()=>{var a,_;return[(a=s.data.zoneEgress.networking)!=null&&a.address&&((_=s.data.zoneEgress.networking)!=null&&_.port)?(o(),g(z,{key:0,text:`${s.data.zoneEgress.networking.address}:${s.data.zoneEgress.networking.port}`},null,8,["text"])):(o(),d(c,{key:1},[n(i(r("common.detail.none")),1)],64))]}),_:2},1024)])]),_:2},1024),n(),(o(!0),d(c,null,C([((u=s.data.zoneEgressInsight)==null?void 0:u.subscriptions)??[]],a=>(o(),d(c,{key:a},[a.length>0?(o(),d("div",N,[p("h2",null,i(r("zone-egresses.routes.item.subscriptions.title")),1),n(),t(m,{class:"mt-4"},{body:e(()=>[t(v,{subscriptions:a},null,8,["subscriptions"])]),_:2},1024)])):x("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{T as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DetailView-38a4670e.js b/app/kuma-ui/pkg/resources/data/assets/DetailView-de135d50.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/DetailView-38a4670e.js rename to app/kuma-ui/pkg/resources/data/assets/DetailView-de135d50.js index 7cd6ab90aafd..255901ed0f69 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DetailView-38a4670e.js +++ b/app/kuma-ui/pkg/resources/data/assets/DetailView-de135d50.js @@ -1 +1 @@ -import{d as f,r as c,o as a,i as m,w as t,j as o,p as u,a7 as g,n,H as d,k as z,a4 as w,l,F as p,I as v,m as x}from"./index-968489e2.js";import{S as V}from"./StatusBadge-8d0ad2da.js";import{_ as C}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-dc8319d2.js";import{g as b}from"./dataplane-0a086c06.js";import"./AccordionList-9da1a7d6.js";const B={class:"stack","data-testid":"detail-view-details"},A={class:"columns"},$={key:0},T=f({__name:"DetailView",props:{data:{}},setup(y){const e=y;return(N,S)=>{const _=c("KCard"),I=c("AppView"),h=c("RouteView");return a(),m(h,{name:"zone-ingress-detail-view"},{default:t(({t:r})=>[o(I,null,{default:t(()=>{var k;return[u("div",B,[o(_,null,{body:t(()=>[u("div",A,[o(g,null,{title:t(()=>[n(d(r("http.api.property.status")),1)]),body:t(()=>[o(V,{status:z(b)(e.data.zoneIngressInsight)},null,8,["status"])]),_:2},1024),n(),o(g,null,{title:t(()=>[n(d(r("http.api.property.address")),1)]),body:t(()=>{var s,i;return[(s=e.data.zoneIngress.networking)!=null&&s.address&&((i=e.data.zoneIngress.networking)!=null&&i.port)?(a(),m(w,{key:0,text:`${e.data.zoneIngress.networking.address}:${e.data.zoneIngress.networking.port}`},null,8,["text"])):(a(),l(p,{key:1},[n(d(r("common.detail.none")),1)],64))]}),_:2},1024),n(),o(g,null,{title:t(()=>[n(d(r("http.api.property.advertisedAddress")),1)]),body:t(()=>{var s,i;return[(s=e.data.zoneIngress.networking)!=null&&s.advertisedAddress&&((i=e.data.zoneIngress.networking)!=null&&i.advertisedPort)?(a(),m(w,{key:0,text:`${e.data.zoneIngress.networking.advertisedAddress}:${e.data.zoneIngress.networking.advertisedPort}`},null,8,["text"])):(a(),l(p,{key:1},[n(d(r("common.detail.none")),1)],64))]}),_:2},1024)])]),_:2},1024),n(),(a(!0),l(p,null,v([((k=e.data.zoneIngressInsight)==null?void 0:k.subscriptions)??[]],s=>(a(),l(p,{key:s},[s.length>0?(a(),l("div",$,[u("h2",null,d(r("zone-ingresses.routes.item.subscriptions.title")),1),n(),o(_,{class:"mt-4"},{body:t(()=>[o(C,{subscriptions:s},null,8,["subscriptions"])]),_:2},1024)])):x("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{T as default}; +import{d as f,r as c,o as a,i as m,w as t,j as o,p as u,a7 as g,n,H as d,k as z,a4 as w,l,F as p,I as v,m as x}from"./index-c6bd05ee.js";import{S as V}from"./StatusBadge-07ca9e6a.js";import{_ as C}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-1387dfab.js";import{g as b}from"./dataplane-0a086c06.js";import"./AccordionList-f11442ab.js";const B={class:"stack","data-testid":"detail-view-details"},A={class:"columns"},$={key:0},T=f({__name:"DetailView",props:{data:{}},setup(y){const e=y;return(N,S)=>{const _=c("KCard"),I=c("AppView"),h=c("RouteView");return a(),m(h,{name:"zone-ingress-detail-view"},{default:t(({t:r})=>[o(I,null,{default:t(()=>{var k;return[u("div",B,[o(_,null,{body:t(()=>[u("div",A,[o(g,null,{title:t(()=>[n(d(r("http.api.property.status")),1)]),body:t(()=>[o(V,{status:z(b)(e.data.zoneIngressInsight)},null,8,["status"])]),_:2},1024),n(),o(g,null,{title:t(()=>[n(d(r("http.api.property.address")),1)]),body:t(()=>{var s,i;return[(s=e.data.zoneIngress.networking)!=null&&s.address&&((i=e.data.zoneIngress.networking)!=null&&i.port)?(a(),m(w,{key:0,text:`${e.data.zoneIngress.networking.address}:${e.data.zoneIngress.networking.port}`},null,8,["text"])):(a(),l(p,{key:1},[n(d(r("common.detail.none")),1)],64))]}),_:2},1024),n(),o(g,null,{title:t(()=>[n(d(r("http.api.property.advertisedAddress")),1)]),body:t(()=>{var s,i;return[(s=e.data.zoneIngress.networking)!=null&&s.advertisedAddress&&((i=e.data.zoneIngress.networking)!=null&&i.advertisedPort)?(a(),m(w,{key:0,text:`${e.data.zoneIngress.networking.advertisedAddress}:${e.data.zoneIngress.networking.advertisedPort}`},null,8,["text"])):(a(),l(p,{key:1},[n(d(r("common.detail.none")),1)],64))]}),_:2},1024)])]),_:2},1024),n(),(a(!0),l(p,null,v([((k=e.data.zoneIngressInsight)==null?void 0:k.subscriptions)??[]],s=>(a(),l(p,{key:s},[s.length>0?(a(),l("div",$,[u("h2",null,d(r("zone-ingresses.routes.item.subscriptions.title")),1),n(),o(_,{class:"mt-4"},{body:t(()=>[o(C,{subscriptions:s},null,8,["subscriptions"])]),_:2},1024)])):x("",!0)],64))),128))])]}),_:2},1024)]),_:1})}}});export{T as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-30390fa8.js b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-44ca6f1d.js similarity index 81% rename from app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-30390fa8.js rename to app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-44ca6f1d.js index a7586b183de4..26cb50674289 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-30390fa8.js +++ b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-44ca6f1d.js @@ -1 +1 @@ -import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import{d as p,r as e,o,i as s,w as t,j as n,p as f,n as g,E as b,x as k}from"./index-968489e2.js";const h=p({__name:"DiagnosticsView",setup(V){return(w,y)=>{const r=e("RouteTitle"),d=e("KCard"),l=e("AppView"),u=e("DataSource"),_=e("RouteView");return o(),s(_,{name:"diagnostics"},{default:t(({t:a})=>[n(u,{src:"/config"},{default:t(({data:c,error:i})=>[n(l,{breadcrumbs:[{to:{name:"diagnostics"},text:a("diagnostics.routes.item.breadcrumbs")}]},{title:t(()=>[f("h1",null,[n(r,{title:a("diagnostics.routes.item.title"),render:!0},null,8,["title"])])]),default:t(()=>[g(),n(d,null,{body:t(()=>[i?(o(),s(b,{key:0,error:i},null,8,["error"])):c===void 0?(o(),s(k,{key:1})):(o(),s(m,{key:2,id:"code-block-diagnostics","data-testid":"code-block-diagnostics",language:"json",code:JSON.stringify(c,null,2),"is-searchable":"","query-key":"diagnostics"},null,8,["code"]))]),_:2},1024)]),_:2},1032,["breadcrumbs"])]),_:2},1024)]),_:1})}}});export{h as default}; +import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import{d as p,r as e,o,i as s,w as t,j as n,p as f,n as g,E as b,x as k}from"./index-c6bd05ee.js";const h=p({__name:"DiagnosticsView",setup(V){return(w,y)=>{const r=e("RouteTitle"),d=e("KCard"),l=e("AppView"),u=e("DataSource"),_=e("RouteView");return o(),s(_,{name:"diagnostics"},{default:t(({t:a})=>[n(u,{src:"/config"},{default:t(({data:c,error:i})=>[n(l,{breadcrumbs:[{to:{name:"diagnostics"},text:a("diagnostics.routes.item.breadcrumbs")}]},{title:t(()=>[f("h1",null,[n(r,{title:a("diagnostics.routes.item.title"),render:!0},null,8,["title"])])]),default:t(()=>[g(),n(d,null,{body:t(()=>[i?(o(),s(b,{key:0,error:i},null,8,["error"])):c===void 0?(o(),s(k,{key:1})):(o(),s(m,{key:2,id:"code-block-diagnostics","data-testid":"code-block-diagnostics",language:"json",code:JSON.stringify(c,null,2),"is-searchable":"","query-key":"diagnostics"},null,8,["code"]))]),_:2},1024)]),_:2},1032,["breadcrumbs"])]),_:2},1024)]),_:1})}}});export{h as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js b/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js rename to app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js index 1d22d2b61e61..ca0c598fc5a1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js +++ b/app/kuma-ui/pkg/resources/data/assets/EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js @@ -1 +1 @@ -import{d as n,g as i,o as l,i as m,a6 as c,w as s,S as t,p as r,n as p,H as d,k as a,ai as f}from"./index-968489e2.js";const S=n({__name:"EmptyBlock",setup(u){const{t:o}=i();return(e,y)=>(l(),m(a(f),{"data-testid":"empty-state","cta-is-hidden":"",icon:a(o)("common.emptyState.icon"),"icon-size":"96"},c({title:s(()=>[t(e.$slots,"title",{},()=>[r("p",null,[t(e.$slots,"default",{},()=>[p(d(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{S as _}; +import{d as n,g as i,o as l,i as m,a6 as c,w as s,S as t,p as r,n as p,H as d,k as a,ai as f}from"./index-c6bd05ee.js";const S=n({__name:"EmptyBlock",setup(u){const{t:o}=i();return(e,y)=>(l(),m(a(f),{"data-testid":"empty-state","cta-is-hidden":"",icon:a(o)("common.emptyState.icon"),"icon-size":"96"},c({title:s(()=>[t(e.$slots,"title",{},()=>[r("p",null,[t(e.$slots,"default",{},()=>[p(d(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{S as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/EnvoyData-1bdac64d.js b/app/kuma-ui/pkg/resources/data/assets/EnvoyData-cf08b3ca.js similarity index 82% rename from app/kuma-ui/pkg/resources/data/assets/EnvoyData-1bdac64d.js rename to app/kuma-ui/pkg/resources/data/assets/EnvoyData-cf08b3ca.js index 57019bddeb9d..23cf725805bb 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EnvoyData-1bdac64d.js +++ b/app/kuma-ui/pkg/resources/data/assets/EnvoyData-cf08b3ca.js @@ -1,4 +1,4 @@ -import{d as p,g as f,o as e,l as i,i as s,w as n,p as _,H as m,k as r,am as k,E as g,x as v,F as q,j as o,W as x,ar as E,K as S,n as u,s as h,t as b}from"./index-968489e2.js";import{_ as B}from"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import{_ as C}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const I={class:"envoy-data-actions"},N=p({__name:"EnvoyData",props:{status:{type:String,required:!0},resource:{type:String,required:!0},src:{type:String,required:!0},queryKey:{type:String,required:!0}},setup(l){const{t:y}=f(),t=l;return(D,K)=>(e(),i("div",null,[t.status!=="online"?(e(),s(r(k),{key:0,appearance:"info"},{alertMessage:n(()=>[_("p",null,m(r(y)("common.detail.no_envoy_data",{resource:t.resource})),1)]),_:1})):(e(),s(h,{key:1,src:t.src},{default:n(({data:a,error:c,refresh:d})=>[c?(e(),s(g,{key:0,error:c},null,8,["error"])):a===void 0?(e(),s(v,{key:1})):a===""?(e(),s(C,{key:2})):(e(),i(q,{key:3},[_("div",I,[o(r(x),{appearance:"primary","data-testid":"envoy-data-refresh-button",onClick:d},{default:n(()=>[o(r(E),{size:r(S)},null,8,["size"]),u(` +import{d as p,g as f,o as e,l as i,i as s,w as n,p as _,H as m,k as r,am as k,E as g,x as v,F as q,j as o,W as x,ar as E,K as S,n as u,s as h,t as b}from"./index-c6bd05ee.js";import{_ as B}from"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import{_ as C}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const I={class:"envoy-data-actions"},N=p({__name:"EnvoyData",props:{status:{type:String,required:!0},resource:{type:String,required:!0},src:{type:String,required:!0},queryKey:{type:String,required:!0}},setup(l){const{t:y}=f(),t=l;return(D,K)=>(e(),i("div",null,[t.status!=="online"?(e(),s(r(k),{key:0,appearance:"info"},{alertMessage:n(()=>[_("p",null,m(r(y)("common.detail.no_envoy_data",{resource:t.resource})),1)]),_:1})):(e(),s(h,{key:1,src:t.src},{default:n(({data:a,error:c,refresh:d})=>[c?(e(),s(g,{key:0,error:c},null,8,["error"])):a===void 0?(e(),s(v,{key:1})):a===""?(e(),s(C,{key:2})):(e(),i(q,{key:3},[_("div",I,[o(r(x),{appearance:"primary","data-testid":"envoy-data-refresh-button",onClick:d},{default:n(()=>[o(r(E),{size:r(S)},null,8,["size"]),u(` Refresh `)]),_:2},1032,["onClick"])]),u(),o(B,{id:"code-block-envoy-data",language:"json",code:typeof a=="string"?a:JSON.stringify(a,null,2),"is-searchable":"","query-key":t.queryKey},null,8,["code","query-key"])],64))]),_:1},8,["src"]))]))}});const w=b(N,[["__scopeId","data-v-faac85b9"]]);export{w as E}; diff --git a/app/kuma-ui/pkg/resources/data/assets/GatewayListView-d540dfa2.js b/app/kuma-ui/pkg/resources/data/assets/GatewayListView-e4e4e63f.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/GatewayListView-d540dfa2.js rename to app/kuma-ui/pkg/resources/data/assets/GatewayListView-e4e4e63f.js index 48b8a2fdd276..bed8b3e637b7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/GatewayListView-d540dfa2.js +++ b/app/kuma-ui/pkg/resources/data/assets/GatewayListView-e4e4e63f.js @@ -1 +1 @@ -import{d as C,r as l,o as i,i as o,w as t,j as n,p as S,n as p,E as V,H as z,q as k,m as d,t as q}from"./index-968489e2.js";import{D as T,K as x}from"./KFilterBar-a5930e82.js";import{S as D}from"./SummaryView-724c0996.js";import"./AppCollection-f3ad81ed.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";import"./StatusBadge-8d0ad2da.js";import"./dataplane-0a086c06.js";const B=C({__name:"GatewayListView",setup(K){return(P,R)=>{const u=l("RouteTitle"),_=l("KSelect"),g=l("KCard"),w=l("RouterView"),f=l("AppView"),c=l("DataSource"),v=l("RouteView");return i(),o(c,{src:"/me"},{default:t(({data:y})=>[y?(i(),o(v,{key:0,name:"gateway-list-view",params:{page:1,size:y.pageSize,gatewayType:"all",query:"",s:"",mesh:"",dataPlane:""}},{default:t(({route:e,can:h,t:b})=>[n(c,{src:`/meshes/${e.params.mesh}/gateways/of/${e.params.gatewayType}?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:t(({data:s,error:m})=>[n(f,null,{title:t(()=>[S("h2",null,[n(u,{title:b("gateways.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[p(),n(g,null,{body:t(()=>[m!==void 0?(i(),o(V,{key:0,error:m},null,8,["error"])):(i(),o(T,{key:1,"data-testid":"gateway-collection",class:"gateway-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:m,gateways:!0,"is-selected-row":a=>a.name===e.params.dataPlane,"summary-route-name":"gateway-summary-view",onChange:({page:a,size:r})=>{e.update({page:String(a),size:String(r)})}},{toolbar:t(()=>[n(x,{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"},service:{description:"filter by “kuma.io/service” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},...h("use zones")?{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(_,{label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(a=>({...a,selected:a.value===e.params.gatewayType})),appearance:"select",onSelected:a=>e.update({gatewayType:String(a.value)})},{"item-template":t(({item:a})=>[p(z(a.label),1)]),_:2},1032,["items","onSelected"])]),_:2},1032,["page-number","page-size","total","items","error","is-selected-row","onChange"]))]),_:2},1024),p(),e.params.dataPlane?(i(),o(w,{key:0},{default:t(a=>[n(D,{onClose:r=>e.replace({name:"gateway-list-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:t(()=>[(i(),o(k(a.Component),{name:e.params.dataPlane,"dataplane-overview":s==null?void 0:s.items.find(r=>r.name===e.params.dataPlane)},null,8,["name","dataplane-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):d("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):d("",!0)]),_:1})}}});const E=q(B,[["__scopeId","data-v-d4a90c78"]]);export{E as default}; +import{d as C,r as l,o as i,i as o,w as t,j as n,p as S,n as p,E as V,H as z,q as k,m as d,t as q}from"./index-c6bd05ee.js";import{D as T,K as x}from"./KFilterBar-79182a3a.js";import{S as D}from"./SummaryView-227f39d3.js";import"./AppCollection-6aabd095.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";import"./StatusBadge-07ca9e6a.js";import"./dataplane-0a086c06.js";const B=C({__name:"GatewayListView",setup(K){return(P,R)=>{const u=l("RouteTitle"),_=l("KSelect"),g=l("KCard"),w=l("RouterView"),f=l("AppView"),c=l("DataSource"),v=l("RouteView");return i(),o(c,{src:"/me"},{default:t(({data:y})=>[y?(i(),o(v,{key:0,name:"gateway-list-view",params:{page:1,size:y.pageSize,gatewayType:"all",query:"",s:"",mesh:"",dataPlane:""}},{default:t(({route:e,can:h,t:b})=>[n(c,{src:`/meshes/${e.params.mesh}/gateways/of/${e.params.gatewayType}?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:t(({data:s,error:m})=>[n(f,null,{title:t(()=>[S("h2",null,[n(u,{title:b("gateways.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[p(),n(g,null,{body:t(()=>[m!==void 0?(i(),o(V,{key:0,error:m},null,8,["error"])):(i(),o(T,{key:1,"data-testid":"gateway-collection",class:"gateway-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:m,gateways:!0,"is-selected-row":a=>a.name===e.params.dataPlane,"summary-route-name":"gateway-summary-view",onChange:({page:a,size:r})=>{e.update({page:String(a),size:String(r)})}},{toolbar:t(()=>[n(x,{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"},service:{description:"filter by “kuma.io/service” value"},tag:{description:"filter by tags (e.g. “tag: version:2”)"},...h("use zones")?{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(_,{label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(a=>({...a,selected:a.value===e.params.gatewayType})),appearance:"select",onSelected:a=>e.update({gatewayType:String(a.value)})},{"item-template":t(({item:a})=>[p(z(a.label),1)]),_:2},1032,["items","onSelected"])]),_:2},1032,["page-number","page-size","total","items","error","is-selected-row","onChange"]))]),_:2},1024),p(),e.params.dataPlane?(i(),o(w,{key:0},{default:t(a=>[n(D,{onClose:r=>e.replace({name:"gateway-list-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:t(()=>[(i(),o(k(a.Component),{name:e.params.dataPlane,"dataplane-overview":s==null?void 0:s.items.find(r=>r.name===e.params.dataPlane)},null,8,["name","dataplane-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):d("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):d("",!0)]),_:1})}}});const E=q(B,[["__scopeId","data-v-d4a90c78"]]);export{E as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-a763ed04.js b/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-7f6f2d39.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-a763ed04.js rename to app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-7f6f2d39.js index 31b56315a223..78360a2c9077 100644 --- a/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-a763ed04.js +++ b/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-7f6f2d39.js @@ -1,4 +1,4 @@ -import{A as O,a as F}from"./AccordionList-9da1a7d6.js";import{d as j,h as A,r as g,o as e,l as u,p as a,n as t,F as k,I as B,H as _,j as m,w as s,m as S,i as l,a6 as H,D as M,G as T,t as U,E as G,x as D}from"./index-968489e2.js";import{_ as q}from"./SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-7066168a.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./PolicyTypeTag-89594388.js";import"./TagList-d18d96c7.js";import"./toYaml-4e00099e.js";const b=v=>(M("data-v-c7f30269"),v=v(),T(),v),z={class:"policies-list"},J={class:"mesh-gateway-policy-list"},Q=b(()=>a("h3",{class:"mb-2"},` +import{A as O,a as F}from"./AccordionList-f11442ab.js";import{d as j,h as A,r as g,o as e,l as u,p as a,n as t,F as k,I as B,H as _,j as m,w as s,m as S,i as l,a6 as H,D as M,G as T,t as U,E as G,x as D}from"./index-c6bd05ee.js";import{_ as q}from"./SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-865f3026.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./PolicyTypeTag-55b27c28.js";import"./TagList-8ab14f5f.js";import"./toYaml-4e00099e.js";const b=v=>(M("data-v-c7f30269"),v=v(),T(),v),z={class:"policies-list"},J={class:"mesh-gateway-policy-list"},Q=b(()=>a("h3",{class:"mb-2"},` Gateway policies `,-1)),W={key:0},X=b(()=>a("h3",{class:"mt-6 mb-2"},` Listeners diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-628d6b4b.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-2d3ed77b.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-628d6b4b.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-2d3ed77b.js index 4aa3198325d3..7f30f9bed884 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-628d6b4b.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-2d3ed77b.js @@ -1 +1 @@ -import{d as I,r as i,o,i as r,w as s,j as m,p as b,n as c,E as R,H as z,a4 as B,l as v,F as w,k as C,a0 as A,K as D,q as N,m as E,t as T}from"./index-968489e2.js";import{A as $}from"./AppCollection-f3ad81ed.js";import{S as K}from"./StatusBadge-8d0ad2da.js";import{S as q}from"./SummaryView-724c0996.js";import{g as F}from"./dataplane-0a086c06.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const L=I({__name:"IndexView",setup(P){function x(f){return f.map(p=>{const{name:d}=p,u={name:"zone-egress-detail-view",params:{zoneEgress:d}},{networking:t}=p.zoneEgress;let _;t!=null&&t.address&&(t!=null&&t.port)&&(_=`${t.address}:${t.port}`);const g=F(p.zoneEgressInsight??{});return{detailViewRoute:u,name:d,addressPort:_,status:g}})}return(f,p)=>{const d=i("RouteTitle"),u=i("RouterLink"),t=i("KCard"),_=i("RouterView"),g=i("DataSource"),V=i("AppView"),h=i("RouteView");return o(),r(g,{src:"/me"},{default:s(({data:S})=>[S?(o(),r(h,{key:0,name:"zone-egress-list-view",params:{zone:"",zoneEgress:""}},{default:s(({route:a,t:l})=>[m(V,null,{title:s(()=>[b("h2",null,[m(d,{title:l("zone-egresses.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[c(),m(g,{src:`/zone-cps/${a.params.zone||"*"}/egresses?page=1&size=100`},{default:s(({data:n,error:y})=>[m(t,null,{body:s(()=>[y!==void 0?(o(),r(R,{key:0,error:y},null,8,["error"])):(o(),r($,{key:1,class:"zone-egress-collection","data-testid":"zone-egress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"addressPort"},{label:"Status",key:"status"},{label:"Details",key:"details",hideLabel:!0}],"page-number":1,"page-size":100,total:n==null?void 0:n.total,items:n?x(n.items):void 0,error:y,"empty-state-message":l("common.emptyState.message",{type:"Zone Egresses"}),"empty-state-cta-to":l("zone-egresses.href.docs"),"empty-state-cta-text":l("common.documentation"),"is-selected-row":e=>e.name===a.params.zoneEgress,onChange:a.update},{name:s(({row:e})=>[m(u,{to:{name:"zone-egress-summary-view",params:{zone:a.params.zone,zoneEgress:e.name},query:{page:1,size:100}}},{default:s(()=>[c(z(e.name),1)]),_:2},1032,["to"])]),addressPort:s(({rowValue:e})=>[e?(o(),r(B,{key:0,text:e},null,8,["text"])):(o(),v(w,{key:1},[c(z(l("common.collection.none")),1)],64))]),status:s(({rowValue:e})=>[e?(o(),r(K,{key:0,status:e},null,8,["status"])):(o(),v(w,{key:1},[c(z(l("common.collection.none")),1)],64))]),details:s(({row:e})=>[m(u,{class:"details-link","data-testid":"details-link",to:{name:"zone-egress-detail-view",params:{zoneEgress:e.name}}},{default:s(()=>[c(z(l("common.collection.details_link"))+" ",1),m(C(A),{display:"inline-block",decorative:"",size:C(D)},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),c(),a.params.zoneEgress?(o(),r(_,{key:0},{default:s(e=>[m(q,{onClose:k=>a.replace({name:"zone-egress-list-view",params:{zone:a.params.zone},query:{page:1,size:100}})},{default:s(()=>[(o(),r(N(e.Component),{name:a.params.zoneEgress,"zone-egress-overview":n==null?void 0:n.items.find(k=>k.name===a.params.zoneEgress)},null,8,["name","zone-egress-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):E("",!0)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):E("",!0)]),_:1})}}});const G=T(L,[["__scopeId","data-v-d698c729"]]);export{G as default}; +import{d as I,r as i,o,i as r,w as s,j as m,p as b,n as c,E as R,H as z,a4 as B,l as v,F as w,k as C,a0 as A,K as D,q as N,m as E,t as T}from"./index-c6bd05ee.js";import{A as $}from"./AppCollection-6aabd095.js";import{S as K}from"./StatusBadge-07ca9e6a.js";import{S as q}from"./SummaryView-227f39d3.js";import{g as F}from"./dataplane-0a086c06.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const L=I({__name:"IndexView",setup(P){function x(f){return f.map(p=>{const{name:d}=p,u={name:"zone-egress-detail-view",params:{zoneEgress:d}},{networking:t}=p.zoneEgress;let _;t!=null&&t.address&&(t!=null&&t.port)&&(_=`${t.address}:${t.port}`);const g=F(p.zoneEgressInsight??{});return{detailViewRoute:u,name:d,addressPort:_,status:g}})}return(f,p)=>{const d=i("RouteTitle"),u=i("RouterLink"),t=i("KCard"),_=i("RouterView"),g=i("DataSource"),V=i("AppView"),h=i("RouteView");return o(),r(g,{src:"/me"},{default:s(({data:S})=>[S?(o(),r(h,{key:0,name:"zone-egress-list-view",params:{zone:"",zoneEgress:""}},{default:s(({route:a,t:l})=>[m(V,null,{title:s(()=>[b("h2",null,[m(d,{title:l("zone-egresses.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[c(),m(g,{src:`/zone-cps/${a.params.zone||"*"}/egresses?page=1&size=100`},{default:s(({data:n,error:y})=>[m(t,null,{body:s(()=>[y!==void 0?(o(),r(R,{key:0,error:y},null,8,["error"])):(o(),r($,{key:1,class:"zone-egress-collection","data-testid":"zone-egress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"addressPort"},{label:"Status",key:"status"},{label:"Details",key:"details",hideLabel:!0}],"page-number":1,"page-size":100,total:n==null?void 0:n.total,items:n?x(n.items):void 0,error:y,"empty-state-message":l("common.emptyState.message",{type:"Zone Egresses"}),"empty-state-cta-to":l("zone-egresses.href.docs"),"empty-state-cta-text":l("common.documentation"),"is-selected-row":e=>e.name===a.params.zoneEgress,onChange:a.update},{name:s(({row:e})=>[m(u,{to:{name:"zone-egress-summary-view",params:{zone:a.params.zone,zoneEgress:e.name},query:{page:1,size:100}}},{default:s(()=>[c(z(e.name),1)]),_:2},1032,["to"])]),addressPort:s(({rowValue:e})=>[e?(o(),r(B,{key:0,text:e},null,8,["text"])):(o(),v(w,{key:1},[c(z(l("common.collection.none")),1)],64))]),status:s(({rowValue:e})=>[e?(o(),r(K,{key:0,status:e},null,8,["status"])):(o(),v(w,{key:1},[c(z(l("common.collection.none")),1)],64))]),details:s(({row:e})=>[m(u,{class:"details-link","data-testid":"details-link",to:{name:"zone-egress-detail-view",params:{zoneEgress:e.name}}},{default:s(()=>[c(z(l("common.collection.details_link"))+" ",1),m(C(A),{display:"inline-block",decorative:"",size:C(D)},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),c(),a.params.zoneEgress?(o(),r(_,{key:0},{default:s(e=>[m(q,{onClose:k=>a.replace({name:"zone-egress-list-view",params:{zone:a.params.zone},query:{page:1,size:100}})},{default:s(()=>[(o(),r(N(e.Component),{name:a.params.zoneEgress,"zone-egress-overview":n==null?void 0:n.items.find(k=>k.name===a.params.zoneEgress)},null,8,["name","zone-egress-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):E("",!0)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):E("",!0)]),_:1})}}});const G=T(L,[["__scopeId","data-v-d698c729"]]);export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-393bc2c9.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-53efc4dd.js similarity index 93% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-393bc2c9.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-53efc4dd.js index 78e923db8933..9d2349555a3c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-393bc2c9.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-53efc4dd.js @@ -1 +1 @@ -import{d as S,r as m,o,i as a,w as t,j as l,p as R,n as d,E as P,H as p,a4 as C,l as f,F as I,k as b,a0 as $,K as B,q as D,m as A,t as N}from"./index-968489e2.js";import{A as T}from"./AppCollection-f3ad81ed.js";import{S as E}from"./StatusBadge-8d0ad2da.js";import{S as K}from"./SummaryView-724c0996.js";import{g as q}from"./dataplane-0a086c06.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const F=S({__name:"IndexView",setup(L){function V(k){return k.map(u=>{const{name:_}=u,g={name:"zone-ingress-detail-view",params:{zoneIngress:_}},{networking:e}=u.zoneIngress;let z;e!=null&&e.address&&(e!=null&&e.port)&&(z=`${e.address}:${e.port}`);let c;e!=null&&e.advertisedAddress&&(e!=null&&e.advertisedPort)&&(c=`${e.advertisedAddress}:${e.advertisedPort}`);const y=q(u.zoneIngressInsight??{});return{detailViewRoute:g,name:_,addressPort:z,advertisedAddressPort:c,status:y}})}return(k,u)=>{const _=m("RouteTitle"),g=m("RouterLink"),e=m("KCard"),z=m("RouterView"),c=m("DataSource"),y=m("AppView"),h=m("RouteView");return o(),a(c,{src:"/me"},{default:t(({data:w})=>[w?(o(),a(h,{key:0,name:"zone-ingress-list-view",params:{zone:"",zoneIngress:""}},{default:t(({route:n,t:r})=>[l(y,null,{title:t(()=>[R("h2",null,[l(_,{title:r("zone-ingresses.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[d(),l(c,{src:`/zone-cps/${n.params.zone}/ingresses?page=1&size=100`},{default:t(({data:i,error:v})=>[l(e,null,{body:t(()=>[v!==void 0?(o(),a(P,{key:0,error:v},null,8,["error"])):(o(),a(T,{key:1,class:"zone-ingress-collection","data-testid":"zone-ingress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"addressPort"},{label:"Advertised address",key:"advertisedAddressPort"},{label:"Status",key:"status"},{label:"Details",key:"details",hideLabel:!0}],"page-number":1,"page-size":100,total:i==null?void 0:i.total,items:i?V(i.items):void 0,error:v,"empty-state-message":r("common.emptyState.message",{type:"Zone Ingresses"}),"empty-state-cta-to":r("zone-ingresses.href.docs"),"empty-state-cta-text":r("common.documentation"),"is-selected-row":s=>s.name===n.params.zoneIngress,onChange:n.update},{name:t(({row:s})=>[l(g,{to:{name:"zone-ingress-summary-view",params:{zone:n.params.zone,zoneIngress:s.name},query:{page:1,size:100}}},{default:t(()=>[d(p(s.name),1)]),_:2},1032,["to"])]),addressPort:t(({rowValue:s})=>[s?(o(),a(C,{key:0,text:s},null,8,["text"])):(o(),f(I,{key:1},[d(p(r("common.collection.none")),1)],64))]),advertisedAddressPort:t(({rowValue:s})=>[s?(o(),a(C,{key:0,text:s},null,8,["text"])):(o(),f(I,{key:1},[d(p(r("common.collection.none")),1)],64))]),status:t(({rowValue:s})=>[s?(o(),a(E,{key:0,status:s},null,8,["status"])):(o(),f(I,{key:1},[d(p(r("common.collection.none")),1)],64))]),details:t(({row:s})=>[l(g,{class:"details-link","data-testid":"details-link",to:{name:"zone-ingress-detail-view",params:{zoneIngress:s.name}}},{default:t(()=>[d(p(r("common.collection.details_link"))+" ",1),l(b($),{display:"inline-block",decorative:"",size:b(B)},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),d(),n.params.zoneIngress?(o(),a(z,{key:0},{default:t(s=>[l(K,{onClose:x=>n.replace({name:"zone-ingress-list-view",params:{zone:n.params.zone},query:{page:1,size:100}})},{default:t(()=>[(o(),a(D(s.Component),{name:n.params.zoneIngress,"zone-ingress-overview":i==null?void 0:i.items.find(x=>x.name===n.params.zoneIngress)},null,8,["name","zone-ingress-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):A("",!0)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):A("",!0)]),_:1})}}});const G=N(F,[["__scopeId","data-v-208a808b"]]);export{G as default}; +import{d as S,r as m,o,i as a,w as t,j as l,p as R,n as d,E as P,H as p,a4 as C,l as f,F as I,k as b,a0 as $,K as B,q as D,m as A,t as N}from"./index-c6bd05ee.js";import{A as T}from"./AppCollection-6aabd095.js";import{S as E}from"./StatusBadge-07ca9e6a.js";import{S as K}from"./SummaryView-227f39d3.js";import{g as q}from"./dataplane-0a086c06.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const F=S({__name:"IndexView",setup(L){function V(k){return k.map(u=>{const{name:_}=u,g={name:"zone-ingress-detail-view",params:{zoneIngress:_}},{networking:e}=u.zoneIngress;let z;e!=null&&e.address&&(e!=null&&e.port)&&(z=`${e.address}:${e.port}`);let c;e!=null&&e.advertisedAddress&&(e!=null&&e.advertisedPort)&&(c=`${e.advertisedAddress}:${e.advertisedPort}`);const y=q(u.zoneIngressInsight??{});return{detailViewRoute:g,name:_,addressPort:z,advertisedAddressPort:c,status:y}})}return(k,u)=>{const _=m("RouteTitle"),g=m("RouterLink"),e=m("KCard"),z=m("RouterView"),c=m("DataSource"),y=m("AppView"),h=m("RouteView");return o(),a(c,{src:"/me"},{default:t(({data:w})=>[w?(o(),a(h,{key:0,name:"zone-ingress-list-view",params:{zone:"",zoneIngress:""}},{default:t(({route:n,t:r})=>[l(y,null,{title:t(()=>[R("h2",null,[l(_,{title:r("zone-ingresses.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[d(),l(c,{src:`/zone-cps/${n.params.zone}/ingresses?page=1&size=100`},{default:t(({data:i,error:v})=>[l(e,null,{body:t(()=>[v!==void 0?(o(),a(P,{key:0,error:v},null,8,["error"])):(o(),a(T,{key:1,class:"zone-ingress-collection","data-testid":"zone-ingress-collection",headers:[{label:"Name",key:"name"},{label:"Address",key:"addressPort"},{label:"Advertised address",key:"advertisedAddressPort"},{label:"Status",key:"status"},{label:"Details",key:"details",hideLabel:!0}],"page-number":1,"page-size":100,total:i==null?void 0:i.total,items:i?V(i.items):void 0,error:v,"empty-state-message":r("common.emptyState.message",{type:"Zone Ingresses"}),"empty-state-cta-to":r("zone-ingresses.href.docs"),"empty-state-cta-text":r("common.documentation"),"is-selected-row":s=>s.name===n.params.zoneIngress,onChange:n.update},{name:t(({row:s})=>[l(g,{to:{name:"zone-ingress-summary-view",params:{zone:n.params.zone,zoneIngress:s.name},query:{page:1,size:100}}},{default:t(()=>[d(p(s.name),1)]),_:2},1032,["to"])]),addressPort:t(({rowValue:s})=>[s?(o(),a(C,{key:0,text:s},null,8,["text"])):(o(),f(I,{key:1},[d(p(r("common.collection.none")),1)],64))]),advertisedAddressPort:t(({rowValue:s})=>[s?(o(),a(C,{key:0,text:s},null,8,["text"])):(o(),f(I,{key:1},[d(p(r("common.collection.none")),1)],64))]),status:t(({rowValue:s})=>[s?(o(),a(E,{key:0,status:s},null,8,["status"])):(o(),f(I,{key:1},[d(p(r("common.collection.none")),1)],64))]),details:t(({row:s})=>[l(g,{class:"details-link","data-testid":"details-link",to:{name:"zone-ingress-detail-view",params:{zoneIngress:s.name}}},{default:t(()=>[d(p(r("common.collection.details_link"))+" ",1),l(b($),{display:"inline-block",decorative:"",size:b(B)},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),d(),n.params.zoneIngress?(o(),a(z,{key:0},{default:t(s=>[l(K,{onClose:x=>n.replace({name:"zone-ingress-list-view",params:{zone:n.params.zone},query:{page:1,size:100}})},{default:t(()=>[(o(),a(D(s.Component),{name:n.params.zoneIngress,"zone-ingress-overview":i==null?void 0:i.items.find(x=>x.name===n.params.zoneIngress)},null,8,["name","zone-ingress-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):A("",!0)]),_:2},1032,["src"])]),_:2},1024)]),_:1},8,["params"])):A("",!0)]),_:1})}}});const G=N(F,[["__scopeId","data-v-208a808b"]]);export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-e29dee91.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-55b5e6b7.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-e29dee91.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-55b5e6b7.js index 9a9f704335b4..5316fe84ef87 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-e29dee91.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-55b5e6b7.js @@ -1 +1 @@ -import{d as x,g as V,a3 as R,r as n,o,i as u,w as t,j as s,k as l,p as k,a4 as h,n as w,E as y,x as B,l as C,F as I,q as N}from"./index-968489e2.js";import{N as T}from"./NavTabs-75f3a8fc.js";const S=x({__name:"IndexView",setup(D){var _;const{t:a}=V(),z=(((_=R().getRoutes().find(e=>e.name==="zone-ingress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var i,c;const m=typeof e.name>"u"?(i=e.children)==null?void 0:i[0]:e,r=m.name,p=((c=m.meta)==null?void 0:c.module)??"";return{title:a(`zone-ingresses.routes.item.navigation.${r}`),routeName:r,module:p}});return(e,m)=>{const r=n("RouteTitle"),p=n("RouterView"),f=n("DataSource"),i=n("AppView"),c=n("RouteView");return o(),u(c,{name:"zone-ingress-detail-tabs-view",params:{zoneIngress:""}},{default:t(({route:d})=>[s(i,{breadcrumbs:[{to:{name:"zone-cp-list-view"},text:l(a)("zone-cps.routes.item.breadcrumbs")},{to:{name:"zone-ingress-list-view"},text:l(a)("zone-ingresses.routes.item.breadcrumbs")}]},{title:t(()=>[k("h1",null,[s(h,{text:d.params.zoneIngress},{default:t(()=>[s(r,{title:l(a)("zone-ingresses.routes.item.title",{name:d.params.zoneIngress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[w(),s(f,{src:`/zone-ingress-overviews/${d.params.zoneIngress}`},{default:t(({data:g,error:b})=>[b!==void 0?(o(),u(y,{key:0,error:b},null,8,["error"])):g===void 0?(o(),u(B,{key:1})):(o(),C(I,{key:2},[s(T,{class:"route-zone-ingress-detail-view-tabs",tabs:l(z)},null,8,["tabs"]),w(),s(p,null,{default:t(v=>[(o(),u(N(v.Component),{data:g},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{S as default}; +import{d as x,g as V,a3 as R,r as n,o,i as u,w as t,j as s,k as l,p as k,a4 as h,n as w,E as y,x as B,l as C,F as I,q as N}from"./index-c6bd05ee.js";import{N as T}from"./NavTabs-769a708e.js";const S=x({__name:"IndexView",setup(D){var _;const{t:a}=V(),z=(((_=R().getRoutes().find(e=>e.name==="zone-ingress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var i,c;const m=typeof e.name>"u"?(i=e.children)==null?void 0:i[0]:e,r=m.name,p=((c=m.meta)==null?void 0:c.module)??"";return{title:a(`zone-ingresses.routes.item.navigation.${r}`),routeName:r,module:p}});return(e,m)=>{const r=n("RouteTitle"),p=n("RouterView"),f=n("DataSource"),i=n("AppView"),c=n("RouteView");return o(),u(c,{name:"zone-ingress-detail-tabs-view",params:{zoneIngress:""}},{default:t(({route:d})=>[s(i,{breadcrumbs:[{to:{name:"zone-cp-list-view"},text:l(a)("zone-cps.routes.item.breadcrumbs")},{to:{name:"zone-ingress-list-view"},text:l(a)("zone-ingresses.routes.item.breadcrumbs")}]},{title:t(()=>[k("h1",null,[s(h,{text:d.params.zoneIngress},{default:t(()=>[s(r,{title:l(a)("zone-ingresses.routes.item.title",{name:d.params.zoneIngress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[w(),s(f,{src:`/zone-ingress-overviews/${d.params.zoneIngress}`},{default:t(({data:g,error:b})=>[b!==void 0?(o(),u(y,{key:0,error:b},null,8,["error"])):g===void 0?(o(),u(B,{key:1})):(o(),C(I,{key:2},[s(T,{class:"route-zone-ingress-detail-view-tabs",tabs:l(z)},null,8,["tabs"]),w(),s(p,null,{default:t(v=>[(o(),u(N(v.Component),{data:g},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{S as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-364ee0e7.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-68716c48.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-364ee0e7.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-68716c48.js index 4c5750b6fa9c..fa546615b0c9 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-364ee0e7.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-68716c48.js @@ -1 +1 @@ -import{d as N,g as R,Q as T,a3 as E,y as A,o as r,l as B,j as c,w as n,k as e,aK as D,aL as M,n as _,H as C,aM as I,i as d,p as g,m as Z,r as b,E as L,x as $,a6 as j,a4 as P,q}from"./index-968489e2.js";import{_ as G}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-d19d1558.js";import{N as K}from"./NavTabs-75f3a8fc.js";const Y=N({__name:"ZoneActionMenu",props:{zoneOverview:{type:Object,required:!0},kpopAttributes:{type:Object,default:()=>({placement:"bottomEnd"})}},setup(h){const{t}=R(),x=T(),O=E(),l=h,u=A(!1);function v(){u.value=!u.value}async function w(){await x.deleteZone({name:l.zoneOverview.name})}function o(){O.push({name:"zone-cp-list-view"})}return(i,a)=>(r(),B("div",null,[c(e(I),{"button-appearance":"creation","kpop-attributes":l.kpopAttributes,label:e(t)("zones.action_menu.toggle_button"),"show-caret":"",width:"280"},{items:n(()=>[c(e(D),{"is-dangerous":"","data-testid":"delete-button",onClick:M(v,["prevent"])},{default:n(()=>[_(C(e(t)("zones.action_menu.delete_button")),1)]),_:1},8,["onClick"])]),_:1},8,["kpop-attributes","label"]),_(),u.value?(r(),d(G,{key:0,"confirmation-text":l.zoneOverview.name,"delete-function":w,"is-visible":"","action-button-text":e(t)("common.delete_modal.proceed_button"),title:e(t)("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:v,onDelete:o},{"body-content":n(()=>[g("p",null,C(e(t)("common.delete_modal.text1",{type:"Zone",name:l.zoneOverview.name})),1),_(),g("p",null,C(e(t)("common.delete_modal.text2")),1)]),_:1},8,["confirmation-text","action-button-text","title"])):Z("",!0)]))}}),W=N({__name:"IndexView",setup(h){var w;const{t}=R(),l=(((w=E().getRoutes().find(o=>o.name==="zone-cp-detail-tabs-view"))==null?void 0:w.children)??[]).map(o=>{var s,p;const i=typeof o.name>"u"?(s=o.children)==null?void 0:s[0]:o,a=i.name,m=((p=i.meta)==null?void 0:p.module)??"";return{title:t(`zone-cps.routes.item.navigation.${a}`),routeName:a,module:m}}),u=A([]),v=o=>{var m,f;const i=[],a=((m=o.zoneInsight)==null?void 0:m.subscriptions)??[];if(a.length>0){const s=a[a.length-1],p=s.version.kumaCp.version||"-",{kumaCpGlobalCompatible:z=!0}=s.version.kumaCp;s.config&&((f=JSON.parse(s.config))==null?void 0:f.store.type)==="memory"&&i.push({kind:"ZONE_STORE_TYPE_MEMORY",payload:{}}),z||i.push({kind:"INCOMPATIBLE_ZONE_AND_GLOBAL_CPS_VERSIONS",payload:{zoneCpVersion:p}})}u.value=i};return(o,i)=>{const a=b("RouteTitle"),m=b("RouterView"),f=b("AppView"),s=b("DataSource"),p=b("RouteView");return r(),d(p,{name:"zone-cp-detail-tabs-view",params:{zone:""}},{default:n(({can:z,route:k})=>[c(s,{src:`/zone-cps/${k.params.zone}`,onChange:v},{default:n(({data:y,error:V})=>[V!==void 0?(r(),d(L,{key:0,error:V},null,8,["error"])):y===void 0?(r(),d($,{key:1})):(r(),d(f,{key:2,breadcrumbs:[{to:{name:"zone-cp-list-view"},text:e(t)("zone-cps.routes.item.breadcrumbs")}]},j({title:n(()=>[g("h1",null,[c(P,{text:k.params.zone},{default:n(()=>[c(a,{title:e(t)("zone-cps.routes.item.title",{name:k.params.zone}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:n(()=>[_(),_(),c(K,{class:"route-zone-detail-view-tabs",tabs:e(l)},null,8,["tabs"]),_(),c(m,null,{default:n(S=>[(r(),d(q(S.Component),{data:y,notifications:u.value},null,8,["data","notifications"]))]),_:2},1024)]),_:2},[z("create zones")?{name:"actions",fn:n(()=>[c(Y,{"zone-overview":y},null,8,["zone-overview"])]),key:"0"}:void 0]),1032,["breadcrumbs"]))]),_:2},1032,["src"])]),_:1})}}});export{W as default}; +import{d as N,g as R,Q as T,a3 as E,y as A,o as r,l as B,j as c,w as n,k as e,aK as D,aL as M,n as _,H as C,aM as I,i as d,p as g,m as Z,r as b,E as L,x as $,a6 as j,a4 as P,q}from"./index-c6bd05ee.js";import{_ as G}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-488e428a.js";import{N as K}from"./NavTabs-769a708e.js";const Y=N({__name:"ZoneActionMenu",props:{zoneOverview:{type:Object,required:!0},kpopAttributes:{type:Object,default:()=>({placement:"bottomEnd"})}},setup(h){const{t}=R(),x=T(),O=E(),l=h,u=A(!1);function v(){u.value=!u.value}async function w(){await x.deleteZone({name:l.zoneOverview.name})}function o(){O.push({name:"zone-cp-list-view"})}return(i,a)=>(r(),B("div",null,[c(e(I),{"button-appearance":"creation","kpop-attributes":l.kpopAttributes,label:e(t)("zones.action_menu.toggle_button"),"show-caret":"",width:"280"},{items:n(()=>[c(e(D),{"is-dangerous":"","data-testid":"delete-button",onClick:M(v,["prevent"])},{default:n(()=>[_(C(e(t)("zones.action_menu.delete_button")),1)]),_:1},8,["onClick"])]),_:1},8,["kpop-attributes","label"]),_(),u.value?(r(),d(G,{key:0,"confirmation-text":l.zoneOverview.name,"delete-function":w,"is-visible":"","action-button-text":e(t)("common.delete_modal.proceed_button"),title:e(t)("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:v,onDelete:o},{"body-content":n(()=>[g("p",null,C(e(t)("common.delete_modal.text1",{type:"Zone",name:l.zoneOverview.name})),1),_(),g("p",null,C(e(t)("common.delete_modal.text2")),1)]),_:1},8,["confirmation-text","action-button-text","title"])):Z("",!0)]))}}),W=N({__name:"IndexView",setup(h){var w;const{t}=R(),l=(((w=E().getRoutes().find(o=>o.name==="zone-cp-detail-tabs-view"))==null?void 0:w.children)??[]).map(o=>{var s,p;const i=typeof o.name>"u"?(s=o.children)==null?void 0:s[0]:o,a=i.name,m=((p=i.meta)==null?void 0:p.module)??"";return{title:t(`zone-cps.routes.item.navigation.${a}`),routeName:a,module:m}}),u=A([]),v=o=>{var m,f;const i=[],a=((m=o.zoneInsight)==null?void 0:m.subscriptions)??[];if(a.length>0){const s=a[a.length-1],p=s.version.kumaCp.version||"-",{kumaCpGlobalCompatible:z=!0}=s.version.kumaCp;s.config&&((f=JSON.parse(s.config))==null?void 0:f.store.type)==="memory"&&i.push({kind:"ZONE_STORE_TYPE_MEMORY",payload:{}}),z||i.push({kind:"INCOMPATIBLE_ZONE_AND_GLOBAL_CPS_VERSIONS",payload:{zoneCpVersion:p}})}u.value=i};return(o,i)=>{const a=b("RouteTitle"),m=b("RouterView"),f=b("AppView"),s=b("DataSource"),p=b("RouteView");return r(),d(p,{name:"zone-cp-detail-tabs-view",params:{zone:""}},{default:n(({can:z,route:k})=>[c(s,{src:`/zone-cps/${k.params.zone}`,onChange:v},{default:n(({data:y,error:V})=>[V!==void 0?(r(),d(L,{key:0,error:V},null,8,["error"])):y===void 0?(r(),d($,{key:1})):(r(),d(f,{key:2,breadcrumbs:[{to:{name:"zone-cp-list-view"},text:e(t)("zone-cps.routes.item.breadcrumbs")}]},j({title:n(()=>[g("h1",null,[c(P,{text:k.params.zone},{default:n(()=>[c(a,{title:e(t)("zone-cps.routes.item.title",{name:k.params.zone}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:n(()=>[_(),_(),c(K,{class:"route-zone-detail-view-tabs",tabs:e(l)},null,8,["tabs"]),_(),c(m,null,{default:n(S=>[(r(),d(q(S.Component),{data:y,notifications:u.value},null,8,["data","notifications"]))]),_:2},1024)]),_:2},[z("create zones")?{name:"actions",fn:n(()=>[c(Y,{"zone-overview":y},null,8,["zone-overview"])]),key:"0"}:void 0]),1032,["breadcrumbs"]))]),_:2},1032,["src"])]),_:1})}}});export{W as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-537f2c02.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-6e4615b2.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-537f2c02.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-6e4615b2.js index 9c553ea92719..5beceafdbb05 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-537f2c02.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-6e4615b2.js @@ -1 +1 @@ -import{d as V,g as R,a3 as k,r as o,o as n,i as u,w as t,j as s,k as l,p as E,a4 as h,n as w,E as y,x as B,l as C,F as N,q as T}from"./index-968489e2.js";import{N as D}from"./NavTabs-75f3a8fc.js";const j=V({__name:"IndexView",setup($){var _;const{t:a}=R(),z=(((_=k().getRoutes().find(e=>e.name==="zone-egress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var c,i;const m=typeof e.name>"u"?(c=e.children)==null?void 0:c[0]:e,r=m.name,p=((i=m.meta)==null?void 0:i.module)??"";return{title:a(`zone-egresses.routes.item.navigation.${r}`),routeName:r,module:p}});return(e,m)=>{const r=o("RouteTitle"),p=o("RouterView"),f=o("DataSource"),c=o("AppView"),i=o("RouteView");return n(),u(i,{name:"zone-egress-detail-tabs-view",params:{zoneEgress:""}},{default:t(({route:d,can:v})=>[s(c,{breadcrumbs:[...v("use zones")?[{to:{name:"zone-cp-list-view"},text:l(a)("zone-cps.routes.item.breadcrumbs")}]:[],{to:{name:"zone-egress-list-view"},text:l(a)("zone-egresses.routes.item.breadcrumbs")}]},{title:t(()=>[E("h1",null,[s(h,{text:d.params.zoneEgress},{default:t(()=>[s(r,{title:l(a)("zone-egresses.routes.item.title",{name:d.params.zoneEgress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[w(),s(f,{src:`/zone-egress-overviews/${d.params.zoneEgress}`},{default:t(({data:g,error:b})=>[b!==void 0?(n(),u(y,{key:0,error:b},null,8,["error"])):g===void 0?(n(),u(B,{key:1})):(n(),C(N,{key:2},[s(D,{class:"route-zone-egress-detail-view-tabs",tabs:l(z)},null,8,["tabs"]),w(),s(p,null,{default:t(x=>[(n(),u(T(x.Component),{data:g},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{j as default}; +import{d as V,g as R,a3 as k,r as o,o as n,i as u,w as t,j as s,k as l,p as E,a4 as h,n as w,E as y,x as B,l as C,F as N,q as T}from"./index-c6bd05ee.js";import{N as D}from"./NavTabs-769a708e.js";const j=V({__name:"IndexView",setup($){var _;const{t:a}=R(),z=(((_=k().getRoutes().find(e=>e.name==="zone-egress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var c,i;const m=typeof e.name>"u"?(c=e.children)==null?void 0:c[0]:e,r=m.name,p=((i=m.meta)==null?void 0:i.module)??"";return{title:a(`zone-egresses.routes.item.navigation.${r}`),routeName:r,module:p}});return(e,m)=>{const r=o("RouteTitle"),p=o("RouterView"),f=o("DataSource"),c=o("AppView"),i=o("RouteView");return n(),u(i,{name:"zone-egress-detail-tabs-view",params:{zoneEgress:""}},{default:t(({route:d,can:v})=>[s(c,{breadcrumbs:[...v("use zones")?[{to:{name:"zone-cp-list-view"},text:l(a)("zone-cps.routes.item.breadcrumbs")}]:[],{to:{name:"zone-egress-list-view"},text:l(a)("zone-egresses.routes.item.breadcrumbs")}]},{title:t(()=>[E("h1",null,[s(h,{text:d.params.zoneEgress},{default:t(()=>[s(r,{title:l(a)("zone-egresses.routes.item.title",{name:d.params.zoneEgress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[w(),s(f,{src:`/zone-egress-overviews/${d.params.zoneEgress}`},{default:t(({data:g,error:b})=>[b!==void 0?(n(),u(y,{key:0,error:b},null,8,["error"])):g===void 0?(n(),u(B,{key:1})):(n(),C(N,{key:2},[s(D,{class:"route-zone-egress-detail-view-tabs",tabs:l(z)},null,8,["tabs"]),w(),s(p,null,{default:t(x=>[(n(),u(T(x.Component),{data:g},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{j as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/IndexView-cc9f304e.js b/app/kuma-ui/pkg/resources/data/assets/IndexView-b07d4964.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/IndexView-cc9f304e.js rename to app/kuma-ui/pkg/resources/data/assets/IndexView-b07d4964.js index c33172fa5128..6145bb793a46 100644 --- a/app/kuma-ui/pkg/resources/data/assets/IndexView-cc9f304e.js +++ b/app/kuma-ui/pkg/resources/data/assets/IndexView-b07d4964.js @@ -1 +1 @@ -import{d as X,Q as ee,y as I,r as f,o as t,i as y,w as e,j as l,a6 as j,p as D,n as o,E as ne,H as m,l as z,F as b,I as T,m as K,v as te,k as Z,K as P,a0 as oe,aF as se,q as ae,Y as ie,t as le}from"./index-968489e2.js";import{A as ce}from"./AppCollection-f3ad81ed.js";import{_ as re}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-d19d1558.js";import{S as me}from"./StatusBadge-8d0ad2da.js";import{S as pe}from"./SummaryView-724c0996.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const ue=["data-testid"],de=X({__name:"IndexView",setup(_e){const Q=ee(),B=I(!1),A=I(!1),S=I(""),L=I({}),M=I({}),q=a=>{let p="offline";return a.length>0&&(p="online",typeof a[a.length-1].disconnectTime<"u"&&(p="offline")),p},G=a=>{const p="zoneIngress";L.value=a.items.reduce((c,d)=>{var _,g;const s=(_=d[p])==null?void 0:_.zone;if(typeof s<"u"){typeof c[s]>"u"&&(c[s]={online:[],offline:[]});const v=((g=d[`${p}Insight`])==null?void 0:g.subscriptions)||[],C=q(v);c[s][C].push(d)}return c},{})},H=a=>{const p="zoneEgress";M.value=a.items.reduce((c,d)=>{var _,g;const s=(_=d[p])==null?void 0:_.zone;if(typeof s<"u"){typeof c[s]>"u"&&(c[s]={online:[],offline:[]});const v=((g=d[`${p}Insight`])==null?void 0:g.subscriptions)||[],C=q(v);c[s][C].push(d)}return c},{})};function J(a){return a.map(p=>{var x;const{name:c}=p,d={name:"zone-cp-detail-view",params:{zone:c}};let s="",_="kubernetes",g=!1,v=!0;(((x=p.zoneInsight)==null?void 0:x.subscriptions)??[]).forEach(k=>{if(k.version&&k.version.kumaCp){s=k.version.kumaCp.version;const{kumaCpGlobalCompatible:h=!0}=k.version.kumaCp;v=h}if(k.config){const h=JSON.parse(k.config);_=h.environment,g=h.store.type==="memory"}});const E=ie(p);return{detailViewRoute:d,name:c,status:E,zoneCpVersion:s,type:_,warnings:{version_mismatch:!v,store_memory:g}}})}async function O(){await Q.deleteZone({name:S.value})}function $(){B.value=!B.value}function U(a){$(),S.value=a}function W(a){A.value=(a==null?void 0:a.items.length)>0}return(a,p)=>{const c=f("RouteTitle"),d=f("KButton"),s=f("DataSource"),_=f("RouterLink"),g=f("KTooltip"),v=f("KDropdownItem"),C=f("KDropdownMenu"),E=f("KCard"),x=f("RouterView"),k=f("AppView"),h=f("RouteView");return t(),y(s,{src:"/me"},{default:e(({data:F})=>[F?(t(),y(h,{key:0,name:"zone-cp-list-view",params:{page:1,size:F.pageSize,zone:""}},{default:e(({route:u,t:i,can:V})=>[l(k,null,j({title:e(()=>[D("h1",null,[l(c,{title:i("zone-cps.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[o(),o(),l(s,{src:`/zone-cps?page=${u.params.page}&size=${u.params.size}`,onChange:W},{default:e(({data:w,error:N,refresh:Y})=>[l(s,{src:"/zone-ingress-overviews?page=1&size=100",onChange:G}),o(),l(s,{src:"/zone-egress-overviews?page=1&size=100",onChange:H}),o(),l(E,null,{body:e(()=>[N!==void 0?(t(),y(ne,{key:0,error:N},null,8,["error"])):(t(),y(ce,{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:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Details",key:"details",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":parseInt(u.params.page),"page-size":parseInt(u.params.size),total:w==null?void 0:w.total,items:w?J(w.items):void 0,error:N,"empty-state-title":V("create zones")?i("zone-cps.empty_state.title"):void 0,"empty-state-message":V("create zones")?i("zone-cps.empty_state.message"):void 0,"empty-state-cta-to":V("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":V("create zones")?i("zones.index.create"):void 0,"is-selected-row":n=>n.name===u.params.zone,onChange:u.update},j({name:e(({row:n})=>[l(_,{to:{name:"zone-cp-detail-view",params:{zone:n.name},query:{page:u.params.page,size:u.params.size}}},{default:e(()=>[o(m(n.name),1)]),_:2},1032,["to"])]),zoneCpVersion:e(({rowValue:n})=>[o(m(n||i("common.collection.none")),1)]),type:e(({rowValue:n})=>[o(m(n||i("common.collection.none")),1)]),ingress:e(({row:n})=>[(t(!0),z(b,null,T([L.value[n.name]||{online:[],offline:[]}],r=>(t(),z(b,null,[o(m(r.online.length)+" / "+m(r.online.length+r.offline.length),1)],64))),256))]),egress:e(({row:n})=>[(t(!0),z(b,null,T([M.value[n.name]||{online:[],offline:[]}],r=>(t(),z(b,null,[o(m(r.online.length)+" / "+m(r.online.length+r.offline.length),1)],64))),256))]),status:e(({rowValue:n})=>[n?(t(),y(me,{key:0,status:n},null,8,["status"])):(t(),z(b,{key:1},[o(m(i("common.collection.none")),1)],64))]),warnings:e(({row:n})=>[Object.values(n.warnings).some(r=>r)?(t(),y(g,{key:0},{content:e(()=>[D("ul",null,[(t(!0),z(b,null,T(n.warnings,(r,R)=>(t(),z(b,{key:R},[r?(t(),z("li",{key:0,"data-testid":`warning-${R}`},m(i(`zone-cps.list.${R}`)),9,ue)):K("",!0)],64))),128))])]),default:e(()=>[o(),l(te,{"data-testid":"warning",class:"mr-1",size:Z(P),"hide-title":""},null,8,["size"])]),_:2},1024)):(t(),z(b,{key:1},[o(m(i("common.collection.none")),1)],64))]),details:e(({row:n})=>[l(_,{class:"details-link","data-testid":"details-link",to:{name:"zone-cp-detail-view",params:{zone:n.name}}},{default:e(()=>[o(m(i("common.collection.details_link"))+" ",1),l(Z(oe),{display:"inline-block",decorative:"",size:Z(P)},null,8,["size"])]),_:2},1032,["to"])]),_:2},[V("create zones")?{name:"actions",fn:e(({row:n})=>[l(C,{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[l(d,{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[l(Z(se))]),_:1})]),items:e(()=>[l(v,{"has-divider":"","is-dangerous":"","data-testid":"dropdown-delete-item",onClick:r=>U(n.name)},{default:e(()=>[o(m(i("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),o(),u.params.zone?(t(),y(x,{key:0},{default:e(n=>[l(pe,{onClose:r=>u.replace({name:"zone-cp-list-view",query:{page:u.params.page,size:u.params.size}})},{default:e(()=>[(t(),y(ae(n.Component),{name:u.params.zone,"zone-overview":w==null?void 0:w.items.find(r=>r.name===u.params.zone)},null,8,["name","zone-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):K("",!0),o(),B.value?(t(),y(re,{key:1,"confirmation-text":S.value,"delete-function":O,"is-visible":"","action-button-text":i("common.delete_modal.proceed_button"),title:i("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:$,onDelete:()=>{$(),Y()}},{"body-content":e(()=>[D("p",null,m(i("common.delete_modal.text1",{type:"Zone",name:S.value})),1),o(),D("p",null,m(i("common.delete_modal.text2")),1)]),_:2},1032,["confirmation-text","action-button-text","title","onDelete"])):K("",!0)]),_:2},1032,["src"])]),_:2},[V("create zones")&&A.value?{name:"actions",fn:e(()=>[l(d,{appearance:"primary",icon:"plus",to:{name:"zone-create-view"},"data-testid":"create-zone-link"},{default:e(()=>[o(m(i("zones.index.create")),1)]),_:2},1024)]),key:"0"}:void 0]),1024)]),_:2},1032,["params"])):K("",!0)]),_:1})}}});const we=le(de,[["__scopeId","data-v-9d462982"]]);export{we as default}; +import{d as X,Q as ee,y as I,r as f,o as t,i as y,w as e,j as l,a6 as j,p as D,n as o,E as ne,H as m,l as z,F as b,I as T,m as K,v as te,k as Z,K as P,a0 as oe,aF as se,q as ae,Y as ie,t as le}from"./index-c6bd05ee.js";import{A as ce}from"./AppCollection-6aabd095.js";import{_ as re}from"./DeleteResourceModal.vue_vue_type_script_setup_true_lang-488e428a.js";import{S as me}from"./StatusBadge-07ca9e6a.js";import{S as pe}from"./SummaryView-227f39d3.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const ue=["data-testid"],de=X({__name:"IndexView",setup(_e){const Q=ee(),B=I(!1),A=I(!1),S=I(""),L=I({}),M=I({}),q=a=>{let p="offline";return a.length>0&&(p="online",typeof a[a.length-1].disconnectTime<"u"&&(p="offline")),p},G=a=>{const p="zoneIngress";L.value=a.items.reduce((c,d)=>{var _,g;const s=(_=d[p])==null?void 0:_.zone;if(typeof s<"u"){typeof c[s]>"u"&&(c[s]={online:[],offline:[]});const v=((g=d[`${p}Insight`])==null?void 0:g.subscriptions)||[],C=q(v);c[s][C].push(d)}return c},{})},H=a=>{const p="zoneEgress";M.value=a.items.reduce((c,d)=>{var _,g;const s=(_=d[p])==null?void 0:_.zone;if(typeof s<"u"){typeof c[s]>"u"&&(c[s]={online:[],offline:[]});const v=((g=d[`${p}Insight`])==null?void 0:g.subscriptions)||[],C=q(v);c[s][C].push(d)}return c},{})};function J(a){return a.map(p=>{var x;const{name:c}=p,d={name:"zone-cp-detail-view",params:{zone:c}};let s="",_="kubernetes",g=!1,v=!0;(((x=p.zoneInsight)==null?void 0:x.subscriptions)??[]).forEach(k=>{if(k.version&&k.version.kumaCp){s=k.version.kumaCp.version;const{kumaCpGlobalCompatible:h=!0}=k.version.kumaCp;v=h}if(k.config){const h=JSON.parse(k.config);_=h.environment,g=h.store.type==="memory"}});const E=ie(p);return{detailViewRoute:d,name:c,status:E,zoneCpVersion:s,type:_,warnings:{version_mismatch:!v,store_memory:g}}})}async function O(){await Q.deleteZone({name:S.value})}function $(){B.value=!B.value}function U(a){$(),S.value=a}function W(a){A.value=(a==null?void 0:a.items.length)>0}return(a,p)=>{const c=f("RouteTitle"),d=f("KButton"),s=f("DataSource"),_=f("RouterLink"),g=f("KTooltip"),v=f("KDropdownItem"),C=f("KDropdownMenu"),E=f("KCard"),x=f("RouterView"),k=f("AppView"),h=f("RouteView");return t(),y(s,{src:"/me"},{default:e(({data:F})=>[F?(t(),y(h,{key:0,name:"zone-cp-list-view",params:{page:1,size:F.pageSize,zone:""}},{default:e(({route:u,t:i,can:V})=>[l(k,null,j({title:e(()=>[D("h1",null,[l(c,{title:i("zone-cps.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[o(),o(),l(s,{src:`/zone-cps?page=${u.params.page}&size=${u.params.size}`,onChange:W},{default:e(({data:w,error:N,refresh:Y})=>[l(s,{src:"/zone-ingress-overviews?page=1&size=100",onChange:G}),o(),l(s,{src:"/zone-egress-overviews?page=1&size=100",onChange:H}),o(),l(E,null,{body:e(()=>[N!==void 0?(t(),y(ne,{key:0,error:N},null,8,["error"])):(t(),y(ce,{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:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Details",key:"details",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":parseInt(u.params.page),"page-size":parseInt(u.params.size),total:w==null?void 0:w.total,items:w?J(w.items):void 0,error:N,"empty-state-title":V("create zones")?i("zone-cps.empty_state.title"):void 0,"empty-state-message":V("create zones")?i("zone-cps.empty_state.message"):void 0,"empty-state-cta-to":V("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":V("create zones")?i("zones.index.create"):void 0,"is-selected-row":n=>n.name===u.params.zone,onChange:u.update},j({name:e(({row:n})=>[l(_,{to:{name:"zone-cp-detail-view",params:{zone:n.name},query:{page:u.params.page,size:u.params.size}}},{default:e(()=>[o(m(n.name),1)]),_:2},1032,["to"])]),zoneCpVersion:e(({rowValue:n})=>[o(m(n||i("common.collection.none")),1)]),type:e(({rowValue:n})=>[o(m(n||i("common.collection.none")),1)]),ingress:e(({row:n})=>[(t(!0),z(b,null,T([L.value[n.name]||{online:[],offline:[]}],r=>(t(),z(b,null,[o(m(r.online.length)+" / "+m(r.online.length+r.offline.length),1)],64))),256))]),egress:e(({row:n})=>[(t(!0),z(b,null,T([M.value[n.name]||{online:[],offline:[]}],r=>(t(),z(b,null,[o(m(r.online.length)+" / "+m(r.online.length+r.offline.length),1)],64))),256))]),status:e(({rowValue:n})=>[n?(t(),y(me,{key:0,status:n},null,8,["status"])):(t(),z(b,{key:1},[o(m(i("common.collection.none")),1)],64))]),warnings:e(({row:n})=>[Object.values(n.warnings).some(r=>r)?(t(),y(g,{key:0},{content:e(()=>[D("ul",null,[(t(!0),z(b,null,T(n.warnings,(r,R)=>(t(),z(b,{key:R},[r?(t(),z("li",{key:0,"data-testid":`warning-${R}`},m(i(`zone-cps.list.${R}`)),9,ue)):K("",!0)],64))),128))])]),default:e(()=>[o(),l(te,{"data-testid":"warning",class:"mr-1",size:Z(P),"hide-title":""},null,8,["size"])]),_:2},1024)):(t(),z(b,{key:1},[o(m(i("common.collection.none")),1)],64))]),details:e(({row:n})=>[l(_,{class:"details-link","data-testid":"details-link",to:{name:"zone-cp-detail-view",params:{zone:n.name}}},{default:e(()=>[o(m(i("common.collection.details_link"))+" ",1),l(Z(oe),{display:"inline-block",decorative:"",size:Z(P)},null,8,["size"])]),_:2},1032,["to"])]),_:2},[V("create zones")?{name:"actions",fn:e(({row:n})=>[l(C,{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[l(d,{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[l(Z(se))]),_:1})]),items:e(()=>[l(v,{"has-divider":"","is-dangerous":"","data-testid":"dropdown-delete-item",onClick:r=>U(n.name)},{default:e(()=>[o(m(i("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),o(),u.params.zone?(t(),y(x,{key:0},{default:e(n=>[l(pe,{onClose:r=>u.replace({name:"zone-cp-list-view",query:{page:u.params.page,size:u.params.size}})},{default:e(()=>[(t(),y(ae(n.Component),{name:u.params.zone,"zone-overview":w==null?void 0:w.items.find(r=>r.name===u.params.zone)},null,8,["name","zone-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):K("",!0),o(),B.value?(t(),y(re,{key:1,"confirmation-text":S.value,"delete-function":O,"is-visible":"","action-button-text":i("common.delete_modal.proceed_button"),title:i("common.delete_modal.title",{type:"Zone"}),"data-testid":"delete-zone-modal",onCancel:$,onDelete:()=>{$(),Y()}},{"body-content":e(()=>[D("p",null,m(i("common.delete_modal.text1",{type:"Zone",name:S.value})),1),o(),D("p",null,m(i("common.delete_modal.text2")),1)]),_:2},1032,["confirmation-text","action-button-text","title","onDelete"])):K("",!0)]),_:2},1032,["src"])]),_:2},[V("create zones")&&A.value?{name:"actions",fn:e(()=>[l(d,{appearance:"primary",icon:"plus",to:{name:"zone-create-view"},"data-testid":"create-zone-link"},{default:e(()=>[o(m(i("zones.index.create")),1)]),_:2},1024)]),key:"0"}:void 0]),1024)]),_:2},1032,["params"])):K("",!0)]),_:1})}}});const we=le(de,[["__scopeId","data-v-9d462982"]]);export{we as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/KFilterBar-a5930e82.js b/app/kuma-ui/pkg/resources/data/assets/KFilterBar-79182a3a.js similarity index 98% rename from app/kuma-ui/pkg/resources/data/assets/KFilterBar-a5930e82.js rename to app/kuma-ui/pkg/resources/data/assets/KFilterBar-79182a3a.js index bf66c65b161a..a1e701b6d8f4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/KFilterBar-a5930e82.js +++ b/app/kuma-ui/pkg/resources/data/assets/KFilterBar-79182a3a.js @@ -1,2 +1,2 @@ -var me=Object.defineProperty;var pe=(a,o,n)=>o in a?me(a,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[o]=n;var O=(a,o,n)=>(pe(a,typeof o!="symbol"?o+"":o,n),n);import{d as re,g as ge,f as ye,r as se,o as u,i as j,w as k,S as ue,j as N,n as d,H as g,l as y,F as A,k as f,p as _,I as ce,m as G,v as ve,K,a0 as he,t as de,y as L,h as V,ah as oe,as as be,at as ke,au as _e,B as ie,av as Se,aw as we,z as Ce,U as Te,D as xe,G as ze}from"./index-968489e2.js";import{A as Ie}from"./AppCollection-f3ad81ed.js";import{S as De}from"./StatusBadge-8d0ad2da.js";import{d as Le,a as Ae,c as Ne,C as Fe}from"./dataplane-0a086c06.js";const Be={key:0},Ee=re({__name:"DataPlaneList",props:{total:{default:0},pageNumber:{},pageSize:{},items:{},error:{},gateways:{type:Boolean,default:!1},isSelectedRow:{type:[Function,null],default:null},summaryRouteName:{}},emits:["load-data","change"],setup(a,{emit:o}){const{t:n,formatIsoDate:w}=ge(),v=ye(),e=a,i=o,S=v("use zones");function h(p){return p.map(r=>{var E,I,H,t,l,c,D,Y,X,ee,te,ne;const m=r.mesh,C=r.name,s=((E=r.dataplane.networking.gateway)==null?void 0:E.type)||"STANDARD",x=["kuma.io/protocol","kuma.io/service","kuma.io/zone"],T=Le(r.dataplane).filter(b=>x.includes(b.label)),M=(I=T.find(b=>b.label==="kuma.io/service"))==null?void 0:I.value,Z=(H=T.find(b=>b.label==="kuma.io/protocol"))==null?void 0:H.value,q=(t=T.find(b=>b.label==="kuma.io/zone"))==null?void 0:t.value;let $;M!==void 0&&($={name:"service-detail-view",params:{mesh:m,service:M}});let P;q!==void 0&&(P={name:"zone-cp-detail-view",params:{zone:q}});const{status:J}=Ae(r.dataplane,r.dataplaneInsight),R=((l=r.dataplaneInsight)==null?void 0:l.subscriptions)??[],W={dpVersion:null,version:null},z=R.reduce((b,U)=>{var ae;return{dpVersion:((ae=U.version)==null?void 0:ae.kumaDp.version)||b.dpVersion,version:U.version||b.version}},W);let F;(D=(c=r.dataplaneInsight)==null?void 0:c.mTLS)!=null&&D.certificateExpirationTime?F=w(r.dataplaneInsight.mTLS.certificateExpirationTime):F=n("data-planes.components.data-plane-list.certificate.none");const B={name:C,type:s,zone:{title:q??n("common.collection.none"),route:P},service:{title:M??n("common.collection.none"),route:$},protocol:Z??n("common.collection.none"),status:J,warnings:{version_mismatch:!1,cert_expired:!1},isGateway:((X=(Y=r.dataplane)==null?void 0:Y.networking)==null?void 0:X.gateway)!==void 0,certificate:F};if(z.version){const{kind:b}=Ne(z.version);b!==Fe&&(B.warnings.version_mismatch=!0)}S&&z.dpVersion&&T.find(U=>U.label==="kuma.io/zone")&&typeof((ee=z.version)==null?void 0:ee.kumaDp.kumaCpCompatible)=="boolean"&&!z.version.kumaDp.kumaCpCompatible&&(B.warnings.version_mismatch=!0);const Q=(ne=(te=r.dataplaneInsight)==null?void 0:te.mTLS)==null?void 0:ne.certificateExpirationTime;return Q&&Date.now()>new Date(Q).getTime()&&(B.warnings.cert_expired=!0),B})}return(p,r)=>{const m=se("RouterLink"),C=se("KTooltip");return u(),j(Ie,{"empty-state-message":f(n)("common.emptyState.message",{type:e.gateways?"Gateways":"Data Plane Proxies"}),"empty-state-cta-to":f(n)(`data-planes.href.docs.${e.gateways?"gateway":"data_plane_proxy"}`),"empty-state-cta-text":f(n)("common.documentation"),headers:[{label:"Name",key:"name"},...e.gateways?[{label:"Type",key:"type"}]:[],{label:"Service",key:"service"},...e.gateways?[]:[{label:"Protocol",key:"protocol"}],...f(S)?[{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":e.pageNumber,"page-size":e.pageSize,total:e.total,items:e.items?h(e.items):void 0,error:e.error,"is-selected-row":e.isSelectedRow,onChange:r[0]||(r[0]=s=>i("change",s))},{toolbar:k(()=>[ue(p.$slots,"toolbar",{},void 0,!0)]),name:k(({row:s})=>[N(m,{to:{name:e.summaryRouteName,params:{mesh:s.mesh,dataPlane:s.name},query:{page:e.pageNumber,size:e.pageSize}}},{default:k(()=>[d(g(s.name),1)]),_:2},1032,["to"])]),service:k(({rowValue:s})=>[s.route?(u(),j(m,{key:0,to:s.route},{default:k(()=>[d(g(s.title),1)]),_:2},1032,["to"])):(u(),y(A,{key:1},[d(g(s.title),1)],64))]),zone:k(({rowValue:s})=>[s.route?(u(),j(m,{key:0,to:s.route},{default:k(()=>[d(g(s.title),1)]),_:2},1032,["to"])):(u(),y(A,{key:1},[d(g(s.title),1)],64))]),status:k(({rowValue:s})=>[s?(u(),j(De,{key:0,status:s},null,8,["status"])):(u(),y(A,{key:1},[d(g(f(n)("common.collection.none")),1)],64))]),warnings:k(({row:s})=>[Object.values(s.warnings).some(x=>x)?(u(),j(C,{key:0},{content:k(()=>[_("ul",null,[(u(!0),y(A,null,ce(s.warnings,(x,T)=>(u(),y(A,{key:T},[x?(u(),y("li",Be,g(f(n)(`data-planes.components.data-plane-list.${T}`)),1)):G("",!0)],64))),128))])]),default:k(()=>[d(),N(ve,{class:"mr-1",size:f(K),"hide-title":""},null,8,["size"])]),_:2},1024)):(u(),y(A,{key:1},[d(g(f(n)("common.collection.none")),1)],64))]),details:k(({row:s})=>[N(m,{class:"details-link","data-testid":"details-link",to:{name:s.isGateway?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:s.name}}},{default:k(()=>[d(g(f(n)("common.collection.details_link"))+" ",1),N(f(he),{display:"inline-block",decorative:"",size:f(K)},null,8,["size"])]),_:2},1032,["to"])]),_:3},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error","is-selected-row"])}}});const lt=de(Ee,[["__scopeId","data-v-5214e37a"]]);function Me(a,o,n){return Math.max(o,Math.min(a,n))}const qe=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];class $e{constructor(o,n){O(this,"commands");O(this,"keyMap");O(this,"boundTriggerShortcuts");this.commands=n,this.keyMap=Object.fromEntries(Object.entries(o).map(([w,v])=>[w.toLowerCase(),v])),this.boundTriggerShortcuts=this.triggerShortcuts.bind(this)}registerListener(){document.addEventListener("keydown",this.boundTriggerShortcuts)}unRegisterListener(){document.removeEventListener("keydown",this.boundTriggerShortcuts)}triggerShortcuts(o){je(o,this.keyMap,this.commands)}}function je(a,o,n){const w=Ke(a.code),v=[a.ctrlKey?"ctrl":"",a.shiftKey?"shift":"",a.altKey?"alt":"",w].filter(S=>S!=="").join("+"),e=o[v];if(!e)return;const i=n[e];i.isAllowedContext&&!i.isAllowedContext(a)||(i.shouldPreventDefaultAction&&a.preventDefault(),!(i.isDisabled&&i.isDisabled())&&i.trigger(a))}function Ke(a){return qe.includes(a)?"":a.replace(/^Key/,"").toLowerCase()}function Pe(a,o){const n=" "+a,w=n.matchAll(/ ([-\s\w]+):\s*/g),v=[];for(const e of Array.from(w)){if(e.index===void 0)continue;const i=Re(e[1]);if(o.length>0&&!o.includes(i))throw new Error(`Unknown field “${i}”. Known fields: ${o.join(", ")}`);const S=e.index+e[0].length,h=n.substring(S);let p;if(/^\s*["']/.test(h)){const m=h.match(/['"](.*?)['"]/);if(m!==null)p=m[1];else throw new Error(`Quote mismatch for field “${i}”.`)}else{const m=h.indexOf(" "),C=m===-1?h.length:m;p=h.substring(0,C)}p!==""&&v.push([i,p])}return v}function Re(a){return a.trim().replace(/\s+/g,"-").replace(/-[a-z]/g,(o,n)=>n===0?o:o.substring(1).toUpperCase())}let le=0;const Qe=(a="unique")=>(le++,`${a}-${le}`),fe=a=>(xe("data-v-9e2bf5f8"),a=a(),ze(),a),He=fe(()=>_("span",{class:"visually-hidden"},"Focus filter",-1)),Ue={class:"k-filter-icon"},Oe=["for"],Ve=["id","placeholder"],Ge={key:0,class:"k-suggestion-box","data-testid":"k-filter-bar-suggestion-box"},Ze={class:"k-suggestion-list"},Je={key:0,class:"k-filter-bar-error"},We={key:0},Ye=["title","data-filter-field"],Xe={class:"visually-hidden"},et=fe(()=>_("span",{class:"visually-hidden"},"Clear query",-1)),tt=re({__name:"KFilterBar",props:{id:{type:String,required:!1,default:()=>Qe("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(a,{emit:o}){const n=a,w=o,v=L(null),e=L(null),i=L(n.query),S=L([]),h=L(null),p=L(!1),r=L(-1),m=V(()=>Object.keys(n.fields)),C=V(()=>Object.entries(n.fields).slice(0,5).map(([t,l])=>({fieldName:t,...l}))),s=V(()=>m.value.length>0?`Filter by ${m.value.join(", ")}`:"Filter"),x=V(()=>n.placeholder??s.value);oe(()=>S.value,function(t,l){H(t,l)||(h.value=null,w("fields-change",{fields:t,query:i.value}))}),oe(()=>i.value,function(){i.value===""&&(h.value=null),p.value=!0});const T={Enter:"submitQuery",Escape:"closeSuggestionBox",ArrowDown:"jumpToNextSuggestion",ArrowUp:"jumpToPreviousSuggestion"},M={submitQuery:{trigger:$,isAllowedContext(t){return e.value!==null&&t.composedPath().includes(e.value)},shouldPreventDefaultAction:!0},jumpToNextSuggestion:{trigger:P,isAllowedContext(t){return e.value!==null&&t.composedPath().includes(e.value)},shouldPreventDefaultAction:!0},jumpToPreviousSuggestion:{trigger:J,isAllowedContext(t){return e.value!==null&&t.composedPath().includes(e.value)},shouldPreventDefaultAction:!0},closeSuggestionBox:{trigger:E,isAllowedContext(t){return v.value!==null&&t.composedPath().includes(v.value)}}};function Z(){const t=new $e(T,M);Ce(function(){t.registerListener()}),Te(function(){t.unRegisterListener()}),I(i.value)}Z();function q(t){const l=t.target;I(l.value)}function $(){if(e.value instanceof HTMLInputElement)if(r.value===-1)I(e.value.value),p.value=!1;else{const t=C.value[r.value].fieldName;t&&F(e.value,t)}}function P(){R(1)}function J(){R(-1)}function R(t){r.value=Me(r.value+t,-1,C.value.length-1)}function W(){e.value instanceof HTMLInputElement&&e.value.focus()}function z(t){const c=t.currentTarget.getAttribute("data-filter-field");c&&e.value instanceof HTMLInputElement&&F(e.value,c)}function F(t,l){const c=i.value===""||i.value.endsWith(" ")?"":" ";i.value+=c+l+":",t.focus(),r.value=-1}function B(){i.value="",e.value instanceof HTMLInputElement&&(e.value.value="",e.value.focus(),I(""))}function Q(t){t.relatedTarget===null&&E(),v.value instanceof HTMLElement&&t.relatedTarget instanceof Node&&!v.value.contains(t.relatedTarget)&&E()}function E(){p.value=!1}function I(t){h.value=null;try{const l=Pe(t,m.value);l.sort((c,D)=>c[0].localeCompare(D[0])),S.value=l}catch(l){if(l instanceof Error)h.value=l,p.value=!0;else throw l}}function H(t,l){return JSON.stringify(t)===JSON.stringify(l)}return(t,l)=>(u(),y("div",{ref_key:"filterBar",ref:v,class:"k-filter-bar","data-testid":"k-filter-bar"},[_("button",{class:"k-focus-filter-input-button",title:"Focus filter",type:"button","data-testid":"k-filter-bar-focus-filter-input-button",onClick:W},[He,d(),_("span",Ue,[N(f(be),{decorative:"","data-testid":"k-filter-bar-filter-icon","hide-title":"",size:f(K)},null,8,["size"])])]),d(),_("label",{for:`${n.id}-filter-bar-input`,class:"visually-hidden"},[ue(t.$slots,"default",{},()=>[d(g(s.value),1)],!0)],8,Oe),d(),ke(_("input",{id:`${n.id}-filter-bar-input`,ref_key:"filterInput",ref:e,"onUpdate:modelValue":l[0]||(l[0]=c=>i.value=c),class:"k-filter-bar-input",type:"text",placeholder:x.value,"data-testid":"k-filter-bar-filter-input",onFocus:l[1]||(l[1]=c=>p.value=!0),onBlur:Q,onChange:q},null,40,Ve),[[_e,i.value]]),d(),p.value?(u(),y("div",Ge,[_("div",Ze,[h.value!==null?(u(),y("p",Je,g(h.value.message),1)):(u(),y("button",{key:1,class:ie(["k-submit-query-button",{"k-submit-query-button-is-selected":r.value===-1}]),title:"Submit query",type:"button","data-testid":"k-filter-bar-submit-query-button",onClick:$},` +var me=Object.defineProperty;var pe=(a,o,n)=>o in a?me(a,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[o]=n;var O=(a,o,n)=>(pe(a,typeof o!="symbol"?o+"":o,n),n);import{d as re,g as ge,f as ye,r as se,o as u,i as j,w as k,S as ue,j as N,n as d,H as g,l as y,F as A,k as f,p as _,I as ce,m as G,v as ve,K,a0 as he,t as de,y as L,h as V,ah as oe,as as be,at as ke,au as _e,B as ie,av as Se,aw as we,z as Ce,U as Te,D as xe,G as ze}from"./index-c6bd05ee.js";import{A as Ie}from"./AppCollection-6aabd095.js";import{S as De}from"./StatusBadge-07ca9e6a.js";import{d as Le,a as Ae,c as Ne,C as Fe}from"./dataplane-0a086c06.js";const Be={key:0},Ee=re({__name:"DataPlaneList",props:{total:{default:0},pageNumber:{},pageSize:{},items:{},error:{},gateways:{type:Boolean,default:!1},isSelectedRow:{type:[Function,null],default:null},summaryRouteName:{}},emits:["load-data","change"],setup(a,{emit:o}){const{t:n,formatIsoDate:w}=ge(),v=ye(),e=a,i=o,S=v("use zones");function h(p){return p.map(r=>{var E,I,H,t,l,c,D,Y,X,ee,te,ne;const m=r.mesh,C=r.name,s=((E=r.dataplane.networking.gateway)==null?void 0:E.type)||"STANDARD",x=["kuma.io/protocol","kuma.io/service","kuma.io/zone"],T=Le(r.dataplane).filter(b=>x.includes(b.label)),M=(I=T.find(b=>b.label==="kuma.io/service"))==null?void 0:I.value,Z=(H=T.find(b=>b.label==="kuma.io/protocol"))==null?void 0:H.value,q=(t=T.find(b=>b.label==="kuma.io/zone"))==null?void 0:t.value;let $;M!==void 0&&($={name:"service-detail-view",params:{mesh:m,service:M}});let P;q!==void 0&&(P={name:"zone-cp-detail-view",params:{zone:q}});const{status:J}=Ae(r.dataplane,r.dataplaneInsight),R=((l=r.dataplaneInsight)==null?void 0:l.subscriptions)??[],W={dpVersion:null,version:null},z=R.reduce((b,U)=>{var ae;return{dpVersion:((ae=U.version)==null?void 0:ae.kumaDp.version)||b.dpVersion,version:U.version||b.version}},W);let F;(D=(c=r.dataplaneInsight)==null?void 0:c.mTLS)!=null&&D.certificateExpirationTime?F=w(r.dataplaneInsight.mTLS.certificateExpirationTime):F=n("data-planes.components.data-plane-list.certificate.none");const B={name:C,type:s,zone:{title:q??n("common.collection.none"),route:P},service:{title:M??n("common.collection.none"),route:$},protocol:Z??n("common.collection.none"),status:J,warnings:{version_mismatch:!1,cert_expired:!1},isGateway:((X=(Y=r.dataplane)==null?void 0:Y.networking)==null?void 0:X.gateway)!==void 0,certificate:F};if(z.version){const{kind:b}=Ne(z.version);b!==Fe&&(B.warnings.version_mismatch=!0)}S&&z.dpVersion&&T.find(U=>U.label==="kuma.io/zone")&&typeof((ee=z.version)==null?void 0:ee.kumaDp.kumaCpCompatible)=="boolean"&&!z.version.kumaDp.kumaCpCompatible&&(B.warnings.version_mismatch=!0);const Q=(ne=(te=r.dataplaneInsight)==null?void 0:te.mTLS)==null?void 0:ne.certificateExpirationTime;return Q&&Date.now()>new Date(Q).getTime()&&(B.warnings.cert_expired=!0),B})}return(p,r)=>{const m=se("RouterLink"),C=se("KTooltip");return u(),j(Ie,{"empty-state-message":f(n)("common.emptyState.message",{type:e.gateways?"Gateways":"Data Plane Proxies"}),"empty-state-cta-to":f(n)(`data-planes.href.docs.${e.gateways?"gateway":"data_plane_proxy"}`),"empty-state-cta-text":f(n)("common.documentation"),headers:[{label:"Name",key:"name"},...e.gateways?[{label:"Type",key:"type"}]:[],{label:"Service",key:"service"},...e.gateways?[]:[{label:"Protocol",key:"protocol"}],...f(S)?[{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":e.pageNumber,"page-size":e.pageSize,total:e.total,items:e.items?h(e.items):void 0,error:e.error,"is-selected-row":e.isSelectedRow,onChange:r[0]||(r[0]=s=>i("change",s))},{toolbar:k(()=>[ue(p.$slots,"toolbar",{},void 0,!0)]),name:k(({row:s})=>[N(m,{to:{name:e.summaryRouteName,params:{mesh:s.mesh,dataPlane:s.name},query:{page:e.pageNumber,size:e.pageSize}}},{default:k(()=>[d(g(s.name),1)]),_:2},1032,["to"])]),service:k(({rowValue:s})=>[s.route?(u(),j(m,{key:0,to:s.route},{default:k(()=>[d(g(s.title),1)]),_:2},1032,["to"])):(u(),y(A,{key:1},[d(g(s.title),1)],64))]),zone:k(({rowValue:s})=>[s.route?(u(),j(m,{key:0,to:s.route},{default:k(()=>[d(g(s.title),1)]),_:2},1032,["to"])):(u(),y(A,{key:1},[d(g(s.title),1)],64))]),status:k(({rowValue:s})=>[s?(u(),j(De,{key:0,status:s},null,8,["status"])):(u(),y(A,{key:1},[d(g(f(n)("common.collection.none")),1)],64))]),warnings:k(({row:s})=>[Object.values(s.warnings).some(x=>x)?(u(),j(C,{key:0},{content:k(()=>[_("ul",null,[(u(!0),y(A,null,ce(s.warnings,(x,T)=>(u(),y(A,{key:T},[x?(u(),y("li",Be,g(f(n)(`data-planes.components.data-plane-list.${T}`)),1)):G("",!0)],64))),128))])]),default:k(()=>[d(),N(ve,{class:"mr-1",size:f(K),"hide-title":""},null,8,["size"])]),_:2},1024)):(u(),y(A,{key:1},[d(g(f(n)("common.collection.none")),1)],64))]),details:k(({row:s})=>[N(m,{class:"details-link","data-testid":"details-link",to:{name:s.isGateway?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:s.name}}},{default:k(()=>[d(g(f(n)("common.collection.details_link"))+" ",1),N(f(he),{display:"inline-block",decorative:"",size:f(K)},null,8,["size"])]),_:2},1032,["to"])]),_:3},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error","is-selected-row"])}}});const lt=de(Ee,[["__scopeId","data-v-5214e37a"]]);function Me(a,o,n){return Math.max(o,Math.min(a,n))}const qe=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];class $e{constructor(o,n){O(this,"commands");O(this,"keyMap");O(this,"boundTriggerShortcuts");this.commands=n,this.keyMap=Object.fromEntries(Object.entries(o).map(([w,v])=>[w.toLowerCase(),v])),this.boundTriggerShortcuts=this.triggerShortcuts.bind(this)}registerListener(){document.addEventListener("keydown",this.boundTriggerShortcuts)}unRegisterListener(){document.removeEventListener("keydown",this.boundTriggerShortcuts)}triggerShortcuts(o){je(o,this.keyMap,this.commands)}}function je(a,o,n){const w=Ke(a.code),v=[a.ctrlKey?"ctrl":"",a.shiftKey?"shift":"",a.altKey?"alt":"",w].filter(S=>S!=="").join("+"),e=o[v];if(!e)return;const i=n[e];i.isAllowedContext&&!i.isAllowedContext(a)||(i.shouldPreventDefaultAction&&a.preventDefault(),!(i.isDisabled&&i.isDisabled())&&i.trigger(a))}function Ke(a){return qe.includes(a)?"":a.replace(/^Key/,"").toLowerCase()}function Pe(a,o){const n=" "+a,w=n.matchAll(/ ([-\s\w]+):\s*/g),v=[];for(const e of Array.from(w)){if(e.index===void 0)continue;const i=Re(e[1]);if(o.length>0&&!o.includes(i))throw new Error(`Unknown field “${i}”. Known fields: ${o.join(", ")}`);const S=e.index+e[0].length,h=n.substring(S);let p;if(/^\s*["']/.test(h)){const m=h.match(/['"](.*?)['"]/);if(m!==null)p=m[1];else throw new Error(`Quote mismatch for field “${i}”.`)}else{const m=h.indexOf(" "),C=m===-1?h.length:m;p=h.substring(0,C)}p!==""&&v.push([i,p])}return v}function Re(a){return a.trim().replace(/\s+/g,"-").replace(/-[a-z]/g,(o,n)=>n===0?o:o.substring(1).toUpperCase())}let le=0;const Qe=(a="unique")=>(le++,`${a}-${le}`),fe=a=>(xe("data-v-9e2bf5f8"),a=a(),ze(),a),He=fe(()=>_("span",{class:"visually-hidden"},"Focus filter",-1)),Ue={class:"k-filter-icon"},Oe=["for"],Ve=["id","placeholder"],Ge={key:0,class:"k-suggestion-box","data-testid":"k-filter-bar-suggestion-box"},Ze={class:"k-suggestion-list"},Je={key:0,class:"k-filter-bar-error"},We={key:0},Ye=["title","data-filter-field"],Xe={class:"visually-hidden"},et=fe(()=>_("span",{class:"visually-hidden"},"Clear query",-1)),tt=re({__name:"KFilterBar",props:{id:{type:String,required:!1,default:()=>Qe("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(a,{emit:o}){const n=a,w=o,v=L(null),e=L(null),i=L(n.query),S=L([]),h=L(null),p=L(!1),r=L(-1),m=V(()=>Object.keys(n.fields)),C=V(()=>Object.entries(n.fields).slice(0,5).map(([t,l])=>({fieldName:t,...l}))),s=V(()=>m.value.length>0?`Filter by ${m.value.join(", ")}`:"Filter"),x=V(()=>n.placeholder??s.value);oe(()=>S.value,function(t,l){H(t,l)||(h.value=null,w("fields-change",{fields:t,query:i.value}))}),oe(()=>i.value,function(){i.value===""&&(h.value=null),p.value=!0});const T={Enter:"submitQuery",Escape:"closeSuggestionBox",ArrowDown:"jumpToNextSuggestion",ArrowUp:"jumpToPreviousSuggestion"},M={submitQuery:{trigger:$,isAllowedContext(t){return e.value!==null&&t.composedPath().includes(e.value)},shouldPreventDefaultAction:!0},jumpToNextSuggestion:{trigger:P,isAllowedContext(t){return e.value!==null&&t.composedPath().includes(e.value)},shouldPreventDefaultAction:!0},jumpToPreviousSuggestion:{trigger:J,isAllowedContext(t){return e.value!==null&&t.composedPath().includes(e.value)},shouldPreventDefaultAction:!0},closeSuggestionBox:{trigger:E,isAllowedContext(t){return v.value!==null&&t.composedPath().includes(v.value)}}};function Z(){const t=new $e(T,M);Ce(function(){t.registerListener()}),Te(function(){t.unRegisterListener()}),I(i.value)}Z();function q(t){const l=t.target;I(l.value)}function $(){if(e.value instanceof HTMLInputElement)if(r.value===-1)I(e.value.value),p.value=!1;else{const t=C.value[r.value].fieldName;t&&F(e.value,t)}}function P(){R(1)}function J(){R(-1)}function R(t){r.value=Me(r.value+t,-1,C.value.length-1)}function W(){e.value instanceof HTMLInputElement&&e.value.focus()}function z(t){const c=t.currentTarget.getAttribute("data-filter-field");c&&e.value instanceof HTMLInputElement&&F(e.value,c)}function F(t,l){const c=i.value===""||i.value.endsWith(" ")?"":" ";i.value+=c+l+":",t.focus(),r.value=-1}function B(){i.value="",e.value instanceof HTMLInputElement&&(e.value.value="",e.value.focus(),I(""))}function Q(t){t.relatedTarget===null&&E(),v.value instanceof HTMLElement&&t.relatedTarget instanceof Node&&!v.value.contains(t.relatedTarget)&&E()}function E(){p.value=!1}function I(t){h.value=null;try{const l=Pe(t,m.value);l.sort((c,D)=>c[0].localeCompare(D[0])),S.value=l}catch(l){if(l instanceof Error)h.value=l,p.value=!0;else throw l}}function H(t,l){return JSON.stringify(t)===JSON.stringify(l)}return(t,l)=>(u(),y("div",{ref_key:"filterBar",ref:v,class:"k-filter-bar","data-testid":"k-filter-bar"},[_("button",{class:"k-focus-filter-input-button",title:"Focus filter",type:"button","data-testid":"k-filter-bar-focus-filter-input-button",onClick:W},[He,d(),_("span",Ue,[N(f(be),{decorative:"","data-testid":"k-filter-bar-filter-icon","hide-title":"",size:f(K)},null,8,["size"])])]),d(),_("label",{for:`${n.id}-filter-bar-input`,class:"visually-hidden"},[ue(t.$slots,"default",{},()=>[d(g(s.value),1)],!0)],8,Oe),d(),ke(_("input",{id:`${n.id}-filter-bar-input`,ref_key:"filterInput",ref:e,"onUpdate:modelValue":l[0]||(l[0]=c=>i.value=c),class:"k-filter-bar-input",type:"text",placeholder:x.value,"data-testid":"k-filter-bar-filter-input",onFocus:l[1]||(l[1]=c=>p.value=!0),onBlur:Q,onChange:q},null,40,Ve),[[_e,i.value]]),d(),p.value?(u(),y("div",Ge,[_("div",Ze,[h.value!==null?(u(),y("p",Je,g(h.value.message),1)):(u(),y("button",{key:1,class:ie(["k-submit-query-button",{"k-submit-query-button-is-selected":r.value===-1}]),title:"Submit query",type:"button","data-testid":"k-filter-bar-submit-query-button",onClick:$},` Submit `+g(i.value),3)),d(),(u(!0),y(A,null,ce(C.value,(c,D)=>(u(),y("div",{key:`${n.id}-${D}`,class:ie(["k-suggestion-list-item",{"k-suggestion-list-item-is-selected":r.value===D}])},[_("b",null,g(c.fieldName),1),c.description!==""?(u(),y("span",We,": "+g(c.description),1)):G("",!0),d(),_("button",{class:"k-apply-suggestion-button",title:`Add ${c.fieldName}:`,type:"button","data-filter-field":c.fieldName,"data-testid":"k-filter-bar-apply-suggestion-button",onClick:z},[_("span",Xe,"Add "+g(c.fieldName)+":",1),d(),N(f(Se),{decorative:"","hide-title":"",size:f(K)},null,8,["size"])],8,Ye)],2))),128))])])):G("",!0),d(),i.value!==""?(u(),y("button",{key:1,class:"k-clear-query-button",title:"Clear query",type:"button","data-testid":"k-filter-bar-clear-query-button",onClick:B},[et,d(),N(f(we),{decorative:"","hide-title":"",size:f(K)},null,8,["size"])])):G("",!0)],512))}});const rt=de(tt,[["__scopeId","data-v-9e2bf5f8"]]);export{lt as D,rt as K}; diff --git a/app/kuma-ui/pkg/resources/data/assets/LoadingBox-26578e33.js b/app/kuma-ui/pkg/resources/data/assets/LoadingBox-3735ed8e.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/LoadingBox-26578e33.js rename to app/kuma-ui/pkg/resources/data/assets/LoadingBox-3735ed8e.js index 9aede2b706e6..677583f4e4ac 100644 --- a/app/kuma-ui/pkg/resources/data/assets/LoadingBox-26578e33.js +++ b/app/kuma-ui/pkg/resources/data/assets/LoadingBox-3735ed8e.js @@ -1 +1 @@ -import{t as d,o as n,l as _,n as s,D as l,G as c,p as o}from"./index-968489e2.js";const a={},e=t=>(l("data-v-67594d24"),t=t(),c(),t),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(t,f){return n(),_("div",i,[u,s(),p,s(),r,s(),v,s(),h])}const B=d(a,[["render",x],["__scopeId","data-v-67594d24"]]);export{B as L}; +import{t as d,o as n,l as _,n as s,D as l,G as c,p as o}from"./index-c6bd05ee.js";const a={},e=t=>(l("data-v-67594d24"),t=t(),c(),t),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(t,f){return n(),_("div",i,[u,s(),p,s(),r,s(),v,s(),h])}const B=d(a,[["render",x],["__scopeId","data-v-67594d24"]]);export{B as L}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-3e954cae.js b/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-a55d048d.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/MainOverviewView-3e954cae.js rename to app/kuma-ui/pkg/resources/data/assets/MainOverviewView-a55d048d.js index 80c2aa5cd3eb..ce0807cf8b22 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-3e954cae.js +++ b/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-a55d048d.js @@ -1 +1 @@ -import{d as C,g as L,r,o as i,i as _,w as s,j as o,n,H as l,k as e,f as K,l as v,F as z,I as M,Y as O,Z as N,p as m,E as R,$ as T,K as Z,m as b,t as A}from"./index-968489e2.js";import{A as S}from"./AppCollection-f3ad81ed.js";import{S as E}from"./StatusBadge-8d0ad2da.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const D=C({__name:"MeshInsightsList",props:{items:{}},setup(f){const{t}=L(),d=f;return(g,x)=>{var u;const y=r("RouterLink");return i(),_(S,{headers:[{label:e(t)("meshes.components.mesh-insights-list.name"),key:"name"},{label:e(t)("meshes.components.mesh-insights-list.services"),key:"services"},{label:e(t)("meshes.components.mesh-insights-list.dataplanes"),key:"dataplanes"}],items:d.items,total:(u=d.items)==null?void 0:u.length,"empty-state-message":e(t)("common.emptyState.message",{type:e(t)("meshes.common.type",{count:2})}),"empty-state-cta-to":e(t)("meshes.href.docs"),"empty-state-cta-text":e(t)("common.documentation")},{name:s(({row:a})=>[o(y,{to:{name:"mesh-detail-view",params:{mesh:a.name}}},{default:s(()=>[n(l(a.name),1)]),_:2},1032,["to"])]),services:s(({row:a})=>[n(l(a.services.internal??"0"),1)]),dataplanes:s(({row:a})=>[n(l(a.dataplanesByType.standard.online??"0")+" / "+l(a.dataplanesByType.standard.total??"0"),1)]),_:1},8,["headers","items","total","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),F=C({__name:"ZoneControlPlanesList",props:{items:{}},setup(f){const{t}=L(),d=K(),g=f;return(x,y)=>{var a;const u=r("RouterLink");return i(),_(S,{headers:[{label:e(t)("zone-cps.components.zone-control-planes-list.name"),key:"name"},{label:e(t)("zone-cps.components.zone-control-planes-list.status"),key:"status"}],items:g.items,total:(a=g.items)==null?void 0:a.length,"empty-state-title":e(t)("zone-cps.empty_state.title"),"empty-state-message":e(d)("create zones")?e(t)("zone-cps.empty_state.message"):e(t)("common.emptyState.message",{type:"Zones"}),"empty-state-cta-to":e(d)("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":e(t)("zones.index.create")},{name:s(({row:p})=>[o(u,{to:{name:"zone-cp-detail-view",params:{zone:p.name}}},{default:s(()=>[n(l(p.name),1)]),_:2},1032,["to"])]),status:s(({row:p})=>[(i(!0),v(z,null,M([e(O)(p)],w=>(i(),v(z,{key:w},[w?(i(),_(E,{key:0,status:w},null,8,["status"])):(i(),v(z,{key:1},[n(l(e(t)("common.collection.none")),1)],64))],64))),128))]),_:1},8,["headers","items","total","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),$={class:"stack","data-testid":"detail-view-details"},P={class:"columns"},j={class:"card-header"},H={class:"card-title"},U={key:0,class:"card-actions"},Y={class:"card-header"},q={class:"card-title"},G=C({__name:"MainOverviewView",setup(f){const t=N();return(d,g)=>{const x=r("RouteTitle"),y=r("RouterLink"),u=r("KButton"),a=r("DataSource"),p=r("KCard"),w=r("AppView"),I=r("RouteView");return i(),_(I,{name:"home"},{default:s(({can:V,t:h})=>[o(w,null,{title:s(()=>[m("h1",null,[o(x,{title:h("main-overview.routes.item.title"),render:!0},null,8,["title"])])]),default:s(()=>[n(),m("div",$,[o(e(t)),n(),m("div",P,[V("use zones")?(i(),_(p,{key:0},{body:s(()=>[o(a,{src:"/zone-cps?page=1&size=10"},{default:s(({data:c,error:k})=>{var B;return[k?(i(),_(R,{key:0,error:k},null,8,["error"])):(i(),v(z,{key:1},[m("div",j,[m("div",H,[m("h2",null,l(h("main-overview.detail.zone_control_planes.title")),1),n(),o(y,{to:{name:"zone-cp-list-view"}},{default:s(()=>[n(l(h("main-overview.detail.health.view_all")),1)]),_:2},1024)]),n(),V("create zones")&&(((B=c==null?void 0:c.items)==null?void 0:B.length)??0>0)?(i(),v("div",U,[o(u,{appearance:"primary",to:{name:"zone-create-view"}},{default:s(()=>[o(e(T),{size:e(Z)},null,8,["size"]),n(" "+l(h("zones.index.create")),1)]),_:2},1024)])):b("",!0)]),n(),o(F,{"data-testid":"zone-control-planes-details",items:c==null?void 0:c.items},null,8,["items"])],64))]}),_:2},1024)]),_:2},1024)):b("",!0),n(),o(p,null,{body:s(()=>[o(a,{src:"/meshes?page=1&size=10"},{default:s(({data:c,error:k})=>[k?(i(),_(R,{key:0,error:k},null,8,["error"])):(i(),v(z,{key:1},[m("div",Y,[m("div",q,[m("h2",null,l(h("main-overview.detail.meshes.title")),1),n(),o(y,{to:{name:"mesh-list-view"}},{default:s(()=>[n(l(h("main-overview.detail.health.view_all")),1)]),_:2},1024)])]),n(),o(D,{"data-testid":"meshes-details",items:c==null?void 0:c.items},null,8,["items"])],64))]),_:2},1024)]),_:2},1024)])])]),_:2},1024)]),_:1})}}});const ee=A(G,[["__scopeId","data-v-def7344b"]]);export{ee as default}; +import{d as C,g as L,r,o as i,i as _,w as s,j as o,n,H as l,k as e,f as K,l as v,F as z,I as M,Y as O,Z as N,p as m,E as R,$ as T,K as Z,m as b,t as A}from"./index-c6bd05ee.js";import{A as S}from"./AppCollection-6aabd095.js";import{S as E}from"./StatusBadge-07ca9e6a.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const D=C({__name:"MeshInsightsList",props:{items:{}},setup(f){const{t}=L(),d=f;return(g,x)=>{var u;const y=r("RouterLink");return i(),_(S,{headers:[{label:e(t)("meshes.components.mesh-insights-list.name"),key:"name"},{label:e(t)("meshes.components.mesh-insights-list.services"),key:"services"},{label:e(t)("meshes.components.mesh-insights-list.dataplanes"),key:"dataplanes"}],items:d.items,total:(u=d.items)==null?void 0:u.length,"empty-state-message":e(t)("common.emptyState.message",{type:e(t)("meshes.common.type",{count:2})}),"empty-state-cta-to":e(t)("meshes.href.docs"),"empty-state-cta-text":e(t)("common.documentation")},{name:s(({row:a})=>[o(y,{to:{name:"mesh-detail-view",params:{mesh:a.name}}},{default:s(()=>[n(l(a.name),1)]),_:2},1032,["to"])]),services:s(({row:a})=>[n(l(a.services.internal??"0"),1)]),dataplanes:s(({row:a})=>[n(l(a.dataplanesByType.standard.online??"0")+" / "+l(a.dataplanesByType.standard.total??"0"),1)]),_:1},8,["headers","items","total","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),F=C({__name:"ZoneControlPlanesList",props:{items:{}},setup(f){const{t}=L(),d=K(),g=f;return(x,y)=>{var a;const u=r("RouterLink");return i(),_(S,{headers:[{label:e(t)("zone-cps.components.zone-control-planes-list.name"),key:"name"},{label:e(t)("zone-cps.components.zone-control-planes-list.status"),key:"status"}],items:g.items,total:(a=g.items)==null?void 0:a.length,"empty-state-title":e(t)("zone-cps.empty_state.title"),"empty-state-message":e(d)("create zones")?e(t)("zone-cps.empty_state.message"):e(t)("common.emptyState.message",{type:"Zones"}),"empty-state-cta-to":e(d)("create zones")?{name:"zone-create-view"}:void 0,"empty-state-cta-text":e(t)("zones.index.create")},{name:s(({row:p})=>[o(u,{to:{name:"zone-cp-detail-view",params:{zone:p.name}}},{default:s(()=>[n(l(p.name),1)]),_:2},1032,["to"])]),status:s(({row:p})=>[(i(!0),v(z,null,M([e(O)(p)],w=>(i(),v(z,{key:w},[w?(i(),_(E,{key:0,status:w},null,8,["status"])):(i(),v(z,{key:1},[n(l(e(t)("common.collection.none")),1)],64))],64))),128))]),_:1},8,["headers","items","total","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),$={class:"stack","data-testid":"detail-view-details"},P={class:"columns"},j={class:"card-header"},H={class:"card-title"},U={key:0,class:"card-actions"},Y={class:"card-header"},q={class:"card-title"},G=C({__name:"MainOverviewView",setup(f){const t=N();return(d,g)=>{const x=r("RouteTitle"),y=r("RouterLink"),u=r("KButton"),a=r("DataSource"),p=r("KCard"),w=r("AppView"),I=r("RouteView");return i(),_(I,{name:"home"},{default:s(({can:V,t:h})=>[o(w,null,{title:s(()=>[m("h1",null,[o(x,{title:h("main-overview.routes.item.title"),render:!0},null,8,["title"])])]),default:s(()=>[n(),m("div",$,[o(e(t)),n(),m("div",P,[V("use zones")?(i(),_(p,{key:0},{body:s(()=>[o(a,{src:"/zone-cps?page=1&size=10"},{default:s(({data:c,error:k})=>{var B;return[k?(i(),_(R,{key:0,error:k},null,8,["error"])):(i(),v(z,{key:1},[m("div",j,[m("div",H,[m("h2",null,l(h("main-overview.detail.zone_control_planes.title")),1),n(),o(y,{to:{name:"zone-cp-list-view"}},{default:s(()=>[n(l(h("main-overview.detail.health.view_all")),1)]),_:2},1024)]),n(),V("create zones")&&(((B=c==null?void 0:c.items)==null?void 0:B.length)??0>0)?(i(),v("div",U,[o(u,{appearance:"primary",to:{name:"zone-create-view"}},{default:s(()=>[o(e(T),{size:e(Z)},null,8,["size"]),n(" "+l(h("zones.index.create")),1)]),_:2},1024)])):b("",!0)]),n(),o(F,{"data-testid":"zone-control-planes-details",items:c==null?void 0:c.items},null,8,["items"])],64))]}),_:2},1024)]),_:2},1024)):b("",!0),n(),o(p,null,{body:s(()=>[o(a,{src:"/meshes?page=1&size=10"},{default:s(({data:c,error:k})=>[k?(i(),_(R,{key:0,error:k},null,8,["error"])):(i(),v(z,{key:1},[m("div",Y,[m("div",q,[m("h2",null,l(h("main-overview.detail.meshes.title")),1),n(),o(y,{to:{name:"mesh-list-view"}},{default:s(()=>[n(l(h("main-overview.detail.health.view_all")),1)]),_:2},1024)])]),n(),o(D,{"data-testid":"meshes-details",items:c==null?void 0:c.items},null,8,["items"])],64))]),_:2},1024)]),_:2},1024)])])]),_:2},1024)]),_:1})}}});const ee=A(G,[["__scopeId","data-v-def7344b"]]);export{ee as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-ace73325.js b/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-e834bc0b.js similarity index 77% rename from app/kuma-ui/pkg/resources/data/assets/MeshConfigView-ace73325.js rename to app/kuma-ui/pkg/resources/data/assets/MeshConfigView-e834bc0b.js index c827e6cf9f0e..706fc0fbe5e1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-ace73325.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-e834bc0b.js @@ -1 +1 @@ -import{d as h,Q as w,r as e,o as t,i as s,w as o,j as a,p as k,n as V,E as v,x as g,k as C}from"./index-968489e2.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a86b5a6.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./toYaml-4e00099e.js";const $=h({__name:"MeshConfigView",setup(y){const i=w();return(A,B)=>{const m=e("RouteTitle"),u=e("DataSource"),_=e("KCard"),l=e("AppView"),p=e("RouteView");return t(),s(p,{name:"mesh-config-view","data-testid":"mesh-config-view",params:{mesh:""}},{default:o(({route:n,t:d})=>[a(l,null,{title:o(()=>[k("h2",null,[a(m,{title:d("meshes.routes.item.navigation.mesh-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[V(),a(_,null,{body:o(()=>[a(u,{src:`/meshes/${n.params.mesh}`},{default:o(({data:r,error:c})=>[c!==void 0?(t(),s(v,{key:0,error:c},null,8,["error"])):r===void 0?(t(),s(g,{key:1})):(t(),s(x,{key:2,id:"code-block-mesh",resource:r,"resource-fetcher":f=>C(i).getMesh({name:n.params.mesh},f)},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{$ as default}; +import{d as h,Q as w,r as e,o as t,i as s,w as o,j as a,p as k,n as V,E as v,x as g,k as C}from"./index-c6bd05ee.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./toYaml-4e00099e.js";const $=h({__name:"MeshConfigView",setup(y){const i=w();return(A,B)=>{const m=e("RouteTitle"),u=e("DataSource"),_=e("KCard"),l=e("AppView"),p=e("RouteView");return t(),s(p,{name:"mesh-config-view","data-testid":"mesh-config-view",params:{mesh:""}},{default:o(({route:n,t:d})=>[a(l,null,{title:o(()=>[k("h2",null,[a(m,{title:d("meshes.routes.item.navigation.mesh-config-view"),render:!0},null,8,["title"])])]),default:o(()=>[V(),a(_,null,{body:o(()=>[a(u,{src:`/meshes/${n.params.mesh}`},{default:o(({data:r,error:c})=>[c!==void 0?(t(),s(v,{key:0,error:c},null,8,["error"])):r===void 0?(t(),s(g,{key:1})):(t(),s(x,{key:2,id:"code-block-mesh",resource:r,"resource-fetcher":f=>C(i).getMesh({name:n.params.mesh},f)},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{$ as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-2dc351d8.css b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-2dc351d8.css deleted file mode 100644 index 995730e96461..000000000000 --- a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-2dc351d8.css +++ /dev/null @@ -1 +0,0 @@ -.date-status[data-v-fa366713]{display:inline-flex;align-items:flex-end;gap:12px;color:#6c7489}.date-status-wrapper[data-v-59704778]{display:flex;justify-content:flex-end} diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-871d14fe.js b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-871d14fe.js deleted file mode 100644 index 873bfd9bbd02..000000000000 --- a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-871d14fe.js +++ /dev/null @@ -1 +0,0 @@ -import{d as V,g,h as D,o as t,l as k,n as r,H as i,k as _,j as e,a0 as R,t as x,a5 as S,r as c,i as u,w as n,E as B,x as M,p as $}from"./index-968489e2.js";const I={class:"date-status"},A=V({__name:"ResourceDateStatus",props:{creationTime:{},modificationTime:{}},setup(p){const{t:a,formatIsoDate:m}=g(),d=p,l=D(()=>m(d.creationTime)),s=D(()=>m(d.modificationTime));return(f,h)=>(t(),k("span",I,[r(i(_(a)("common.detail.created"))+": "+i(l.value)+" ",1),e(_(R)),r(" "+i(_(a)("common.detail.modified"))+": "+i(s.value),1)]))}});const C=x(A,[["__scopeId","data-v-fa366713"]]),N={key:2,class:"stack","data-testid":"detail-view-details"},E={class:"date-status-wrapper"},j=V({__name:"MeshDetailView",setup(p){const a=S();return(m,d)=>{const l=c("RouteTitle"),s=c("DataSource"),f=c("AppView"),h=c("RouteView");return t(),u(h,{name:"mesh-overview-view",params:{mesh:""}},{default:n(({route:v,t:T})=>[e(l,{title:T("meshes.routes.overview.title")},null,8,["title"]),r(),e(f,null,{default:n(()=>[e(s,{src:`/meshes/${v.params.mesh}`},{default:n(({data:o,error:w})=>[e(s,{src:`/mesh-insights/${v.params.mesh}`},{default:n(({data:y})=>[w?(t(),u(B,{key:0,error:w},null,8,["error"])):o===void 0?(t(),u(M,{key:1})):(t(),k("div",N,[e(_(a),{mesh:o,"mesh-insight":y},null,8,["mesh","mesh-insight"]),r(),$("div",E,[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 b=x(j,[["__scopeId","data-v-59704778"]]);export{b as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-e5bc8037.js b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-e5bc8037.js new file mode 100644 index 000000000000..f10aa6330aa2 --- /dev/null +++ b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-e5bc8037.js @@ -0,0 +1 @@ +import{d as V,g,h as w,o as t,l as k,n as r,H as i,k as _,j as e,a0 as R,t as x,a5 as S,r as c,i as u,w as n,E as B,x as M,p as $}from"./index-c6bd05ee.js";const I={class:"date-status"},A=V({__name:"ResourceDateStatus",props:{creationTime:{},modificationTime:{}},setup(p){const{t:a,formatIsoDate:d}=g(),l=p,m=w(()=>d(l.creationTime)),s=w(()=>d(l.modificationTime));return(f,h)=>(t(),k("span",I,[r(i(_(a)("common.detail.created"))+": "+i(m.value)+" ",1),e(_(R)),r(" "+i(_(a)("common.detail.modified"))+": "+i(s.value),1)]))}});const C=x(A,[["__scopeId","data-v-fa366713"]]),N={key:2,class:"stack","data-testid":"detail-view-details"},b={class:"date-status-wrapper"},E=V({__name:"MeshDetailView",setup(p){const a=S();return(d,l)=>{const m=c("RouteTitle"),s=c("DataSource"),f=c("AppView"),h=c("RouteView");return t(),u(h,{name:"mesh-detail-view",params:{mesh:""}},{default:n(({route:v,t:T})=>[e(m,{title:T("meshes.routes.overview.title")},null,8,["title"]),r(),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(),u(B,{key:0,error:D},null,8,["error"])):o===void 0?(t(),u(M,{key:1})):(t(),k("div",N,[e(_(a),{mesh:o,"mesh-insight":y},null,8,["mesh","mesh-insight"]),r(),$("div",b,[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 H=x(E,[["__scopeId","data-v-fab0c2e7"]]);export{H as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-f689dfe5.css b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-f689dfe5.css new file mode 100644 index 000000000000..ab6a4c00ad6c --- /dev/null +++ b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-f689dfe5.css @@ -0,0 +1 @@ +.date-status[data-v-fa366713]{display:inline-flex;align-items:flex-end;gap:12px;color:#6c7489}.date-status-wrapper[data-v-fab0c2e7]{display:flex;justify-content:flex-end} diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-dcfdd250.js b/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-c00fc50e.js similarity index 69% rename from app/kuma-ui/pkg/resources/data/assets/MeshIndexView-dcfdd250.js rename to app/kuma-ui/pkg/resources/data/assets/MeshIndexView-c00fc50e.js index 2311acf4db82..93d921cef795 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-dcfdd250.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-c00fc50e.js @@ -1 +1 @@ -import{t as a,r as e,o as i,i as m,w as t,j as o}from"./index-968489e2.js";const _={};function u(p,d){const s=e("RouterView"),n=e("AppView"),r=e("RouteView");return i(),m(r,{name:"mesh-index-view"},{default:t(({t:c})=>[o(n,{breadcrumbs:[{to:{name:"mesh-list-view"},text:c("meshes.routes.item.breadcrumbs")}]},{default:t(()=>[o(s)]),_:2},1032,["breadcrumbs"])]),_:1})}const f=a(_,[["render",u]]);export{f as default}; +import{t as a,r as e,o as i,i as m,w as t,j as o}from"./index-c6bd05ee.js";const _={};function u(p,d){const s=e("RouterView"),n=e("AppView"),r=e("RouteView");return i(),m(r,{name:"mesh-index-view"},{default:t(({t:c})=>[o(n,{breadcrumbs:[{to:{name:"mesh-list-view"},text:c("meshes.routes.item.breadcrumbs")}]},{default:t(()=>[o(s)]),_:2},1032,["breadcrumbs"])]),_:1})}const f=a(_,[["render",u]]);export{f as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshListView-fe724045.js b/app/kuma-ui/pkg/resources/data/assets/MeshListView-7cbf699c.js similarity index 93% rename from app/kuma-ui/pkg/resources/data/assets/MeshListView-fe724045.js rename to app/kuma-ui/pkg/resources/data/assets/MeshListView-7cbf699c.js index 9e7533db1ed8..b3ab6a448910 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshListView-fe724045.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshListView-7cbf699c.js @@ -1 +1 @@ -import{d as z,r as m,o as i,i as l,w as s,j as o,p as y,n as p,E as b,H as r,k as g,a0 as x,K as R,q as S,m as w,t as B}from"./index-968489e2.js";import{A as I}from"./AppCollection-f3ad81ed.js";import{S as L}from"./SummaryView-724c0996.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const A={class:"stack"},D=z({__name:"MeshListView",setup(N){return(T,K)=>{const k=m("RouteTitle"),_=m("RouterLink"),f=m("KCard"),v=m("RouterView"),C=m("AppView"),d=m("DataSource"),V=m("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:n})=>[o(d,{src:`/meshes?page=${e.params.page}&size=${e.params.size}`},{default:s(({data:t,error:c})=>[o(C,null,{title:s(()=>[y("h1",null,[o(k,{title:n("meshes.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[p(),y("div",A,[o(f,null,{body:s(()=>[c!==void 0?(i(),l(b,{key:0,error:c},null,8,["error"])):(i(),l(I,{key:1,class:"mesh-collection","data-testid":"mesh-collection",headers:[{label:n("meshes.common.name"),key:"name"},{label:n("meshes.routes.items.collection.services"),key:"services"},{label:n("meshes.routes.items.collection.dataplanes"),key:"dataplanes"},{label:"Details",key:"details",hideLabel:!0}],"page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:t==null?void 0:t.total,items:t==null?void 0:t.items,error:c,"empty-state-message":n("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":n("meshes.href.docs"),"empty-state-cta-text":n("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??"0"),1)]),dataplanes:s(({row:a})=>[p(r(a.dataplanesByType.standard.online??"0")+" / "+r(a.dataplanesByType.standard.total??"0"),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(n("common.collection.details_link"))+" ",1),o(g(x),{display:"inline-block",decorative:"",size:g(R)},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(S(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)):w("",!0)])]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):w("",!0)]),_:1})}}});const j=B(D,[["__scopeId","data-v-924b1309"]]);export{j as default}; +import{d as z,r as m,o as i,i as l,w as s,j as o,p as y,n as p,E as b,H as r,k as g,a0 as x,K as R,q as S,m as w,t as B}from"./index-c6bd05ee.js";import{A as I}from"./AppCollection-6aabd095.js";import{S as L}from"./SummaryView-227f39d3.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const A={class:"stack"},D=z({__name:"MeshListView",setup(N){return(T,K)=>{const k=m("RouteTitle"),_=m("RouterLink"),f=m("KCard"),v=m("RouterView"),C=m("AppView"),d=m("DataSource"),V=m("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:n})=>[o(d,{src:`/meshes?page=${e.params.page}&size=${e.params.size}`},{default:s(({data:t,error:c})=>[o(C,null,{title:s(()=>[y("h1",null,[o(k,{title:n("meshes.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[p(),y("div",A,[o(f,null,{body:s(()=>[c!==void 0?(i(),l(b,{key:0,error:c},null,8,["error"])):(i(),l(I,{key:1,class:"mesh-collection","data-testid":"mesh-collection",headers:[{label:n("meshes.common.name"),key:"name"},{label:n("meshes.routes.items.collection.services"),key:"services"},{label:n("meshes.routes.items.collection.dataplanes"),key:"dataplanes"},{label:"Details",key:"details",hideLabel:!0}],"page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:t==null?void 0:t.total,items:t==null?void 0:t.items,error:c,"empty-state-message":n("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":n("meshes.href.docs"),"empty-state-cta-text":n("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??"0"),1)]),dataplanes:s(({row:a})=>[p(r(a.dataplanesByType.standard.online??"0")+" / "+r(a.dataplanesByType.standard.total??"0"),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(n("common.collection.details_link"))+" ",1),o(g(x),{display:"inline-block",decorative:"",size:g(R)},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(S(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)):w("",!0)])]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):w("",!0)]),_:1})}}});const j=B(D,[["__scopeId","data-v-924b1309"]]);export{j as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-6b756e3a.js b/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-2f76bb03.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-6b756e3a.js rename to app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-2f76bb03.js index 00a4eb0da2d8..60acb1dac54a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-6b756e3a.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshSummaryView-2f76bb03.js @@ -1 +1 @@ -import{d as v,g as w,r as c,o as _,i as r,w as e,j as l,p as s,n as t,k as n,H as m,l as f,a1 as d,D as g,G as k,a2 as I,t as V}from"./index-968489e2.js";import{_ as x}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const S=i=>(g("data-v-2caa54b3"),i=i(),k(),i),R={class:"summary-title-wrapper"},B=S(()=>s("img",{"aria-hidden":"true",src:I},null,-1)),M={class:"summary-title"},T={key:1,class:"stack"},b={class:"mt-4 stack"},C=v({__name:"MeshSummaryView",props:{name:{},meshInsight:{default:void 0}},setup(i){const{t:a}=w(),o=i;return(N,A)=>{const p=c("RouteTitle"),u=c("RouterLink"),h=c("AppView"),y=c("RouteView");return _(),r(y,{name:"mesh-summary-view"},{default:e(()=>[l(h,null,{title:e(()=>[s("div",R,[B,t(),s("h2",M,[l(u,{to:{name:"mesh-detail-view",params:{mesh:o.name}}},{default:e(()=>[l(p,{title:n(a)("meshes.routes.item.title",{name:o.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:e(()=>[t(),o.meshInsight===void 0?(_(),r(x,{key:0},{message:e(()=>[s("p",null,m(n(a)("common.collection.summary.empty_message",{type:"Mesh"})),1)]),default:e(()=>[t(m(n(a)("common.collection.summary.empty_title",{type:"Mesh"}))+" ",1)]),_:1})):(_(),f("div",T,[s("div",null,[s("h3",null,m(n(a)("meshes.routes.item.overview")),1),t(),s("div",b,[l(d,{total:o.meshInsight.services.total??0,"data-testid":"services-status"},{title:e(()=>[t(m(n(a)("meshes.detail.services")),1)]),_:1},8,["total"]),t(),l(d,{online:o.meshInsight.dataplanesByType.standard.online??0,total:o.meshInsight.dataplanesByType.standard.total??0,"data-testid":"data-plane-proxies-status"},{title:e(()=>[t(m(n(a)("meshes.detail.data_plane_proxies")),1)]),_:1},8,["online","total"])])])]))]),_:1})]),_:1})}}});const j=V(C,[["__scopeId","data-v-2caa54b3"]]);export{j as default}; +import{d as v,g as w,r as c,o as _,i as r,w as e,j as l,p as s,n as t,k as n,H as m,l as f,a1 as d,D as g,G as k,a2 as I,t as V}from"./index-c6bd05ee.js";import{_ as x}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const S=i=>(g("data-v-2caa54b3"),i=i(),k(),i),R={class:"summary-title-wrapper"},B=S(()=>s("img",{"aria-hidden":"true",src:I},null,-1)),M={class:"summary-title"},T={key:1,class:"stack"},b={class:"mt-4 stack"},C=v({__name:"MeshSummaryView",props:{name:{},meshInsight:{default:void 0}},setup(i){const{t:a}=w(),o=i;return(N,A)=>{const p=c("RouteTitle"),u=c("RouterLink"),h=c("AppView"),y=c("RouteView");return _(),r(y,{name:"mesh-summary-view"},{default:e(()=>[l(h,null,{title:e(()=>[s("div",R,[B,t(),s("h2",M,[l(u,{to:{name:"mesh-detail-view",params:{mesh:o.name}}},{default:e(()=>[l(p,{title:n(a)("meshes.routes.item.title",{name:o.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:e(()=>[t(),o.meshInsight===void 0?(_(),r(x,{key:0},{message:e(()=>[s("p",null,m(n(a)("common.collection.summary.empty_message",{type:"Mesh"})),1)]),default:e(()=>[t(m(n(a)("common.collection.summary.empty_title",{type:"Mesh"}))+" ",1)]),_:1})):(_(),f("div",T,[s("div",null,[s("h3",null,m(n(a)("meshes.routes.item.overview")),1),t(),s("div",b,[l(d,{total:o.meshInsight.services.total??0,"data-testid":"services-status"},{title:e(()=>[t(m(n(a)("meshes.detail.services")),1)]),_:1},8,["total"]),t(),l(d,{online:o.meshInsight.dataplanesByType.standard.online??0,total:o.meshInsight.dataplanesByType.standard.total??0,"data-testid":"data-plane-proxies-status"},{title:e(()=>[t(m(n(a)("meshes.detail.data_plane_proxies")),1)]),_:1},8,["online","total"])])])]))]),_:1})]),_:1})}}});const j=V(C,[["__scopeId","data-v-2caa54b3"]]);export{j as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-40132b32.js b/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-63e35a0f.js similarity index 87% rename from app/kuma-ui/pkg/resources/data/assets/MeshTabsView-40132b32.js rename to app/kuma-ui/pkg/resources/data/assets/MeshTabsView-63e35a0f.js index 65f74fd59f5b..005442f92ca2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-40132b32.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-63e35a0f.js @@ -1 +1 @@ -import{d as h,g as f,a3 as w,r as n,o as R,i as V,w as m,j as s,p as b,a4 as x,k as p,n as _}from"./index-968489e2.js";import{N as v}from"./NavTabs-75f3a8fc.js";const k=h({__name:"MeshTabsView",setup(N){var c;const{t:i}=f(),d=(((c=w().getRoutes().find(e=>e.name==="mesh-tabs-view"))==null?void 0:c.children)??[]).map(e=>{var a,t;const r=typeof e.name>"u"?(a=e.children)==null?void 0:a[0]:e,o=r.name,u=((t=r.meta)==null?void 0:t.module)??"";return{title:i(`meshes.routes.item.navigation.${o}`),routeName:o,module:u}});return(e,r)=>{const o=n("RouteTitle"),u=n("RouterView"),l=n("AppView"),a=n("RouteView");return R(),V(a,{name:"mesh-tabs-view",params:{mesh:""}},{default:m(({route:t})=>[s(l,null,{title:m(()=>[b("h1",null,[s(x,{text:t.params.mesh},{default:m(()=>[s(o,{title:p(i)("meshes.routes.item.title",{name:t.params.mesh}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:m(()=>[_(),s(v,{class:"route-mesh-view-tabs",tabs:p(d)},null,8,["tabs"]),_(),s(u)]),_:2},1024)]),_:1})}}});export{k as default}; +import{d as h,g as f,a3 as w,r as n,o as R,i as V,w as m,j as s,p as b,a4 as x,k as p,n as _}from"./index-c6bd05ee.js";import{N as v}from"./NavTabs-769a708e.js";const k=h({__name:"MeshTabsView",setup(N){var c;const{t:i}=f(),d=(((c=w().getRoutes().find(e=>e.name==="mesh-tabs-view"))==null?void 0:c.children)??[]).map(e=>{var a,t;const r=typeof e.name>"u"?(a=e.children)==null?void 0:a[0]:e,o=r.name,u=((t=r.meta)==null?void 0:t.module)??"";return{title:i(`meshes.routes.item.navigation.${o}`),routeName:o,module:u}});return(e,r)=>{const o=n("RouteTitle"),u=n("RouterView"),l=n("AppView"),a=n("RouteView");return R(),V(a,{name:"mesh-tabs-view",params:{mesh:""}},{default:m(({route:t})=>[s(l,null,{title:m(()=>[b("h1",null,[s(x,{text:t.params.mesh},{default:m(()=>[s(o,{title:p(i)("meshes.routes.item.title",{name:t.params.mesh}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:m(()=>[_(),s(v,{class:"route-mesh-view-tabs",tabs:p(d)},null,8,["tabs"]),_(),s(u)]),_:2},1024)]),_:1})}}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-a0b56ce2.js b/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-ab12923b.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/MultiZoneView-a0b56ce2.js rename to app/kuma-ui/pkg/resources/data/assets/MultiZoneView-ab12923b.js index e171b546d23f..7f42d8affa31 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-a0b56ce2.js +++ b/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-ab12923b.js @@ -1,4 +1,4 @@ -import{L as z}from"./LoadingBox-26578e33.js";import{O as T,a as V,b as I}from"./OnboardingPage-b3657084.js";import{d as k,Q as O,y as r,R as A,r as p,o as a,i as N,w as i,j as c,n as e,p as n,l,m as C,D as L,G as R,t as B}from"./index-968489e2.js";const S=u=>(L("data-v-052795d6"),u=u(),R(),u),D=S(()=>n("p",{class:"mb-4 text-center"},` +import{L as z}from"./LoadingBox-3735ed8e.js";import{O as T,a as V,b as I}from"./OnboardingPage-7bcb094e.js";import{d as k,Q as O,y as r,R as A,r as p,o as a,i as N,w as i,j as c,n as e,p as n,l,m as C,D as L,G as R,t as B}from"./index-c6bd05ee.js";const S=u=>(L("data-v-052795d6"),u=u(),R(),u),D=S(()=>n("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)),G={class:"mb-4 text-center"},M=["href"],E={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"},j={key:0,class:"status--is-connected","data-testid":"zone-ingress-connected"},q={key:1,class:"status--is-disconnected","data-testid":"zone-ingress-disconnected"},H={key:0,class:"status-loading-box mt-4"},b=1e3,Q=k({__name:"MultiZoneView",setup(u){const m=O(),o=r(!1),s=r(!1),d=r(null),_=r(null);A(function(){f(),h()}),g(),v();async function g(){try{const{total:t}=await m.getZones();o.value=t>0}catch(t){o.value=!1,console.error(t)}finally{o.value||(f(),d.value=window.setTimeout(g,b))}}async function v(){try{const{total:t}=await m.getAllZoneIngressOverviews();s.value=t>0}catch(t){s.value=!1,console.error(t)}finally{s.value||(h(),_.value=window.setTimeout(v,b))}}function f(){d.value!==null&&window.clearTimeout(d.value)}function h(){_.value!==null&&window.clearTimeout(_.value)}return(t,F)=>{const y=p("RouteTitle"),x=p("AppView"),Z=p("RouteView");return a(),N(Z,{name:"onboarding-multi-zone"},{default:i(({t:w})=>[c(y,{title:w("onboarding.routes.multizone.title")},null,8,["title"]),e(),c(x,null,{default:i(()=>[c(T,null,{header:i(()=>[c(V,null,{title:i(()=>[e(` Add zones diff --git a/app/kuma-ui/pkg/resources/data/assets/NavTabs-75f3a8fc.js b/app/kuma-ui/pkg/resources/data/assets/NavTabs-769a708e.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/NavTabs-75f3a8fc.js rename to app/kuma-ui/pkg/resources/data/assets/NavTabs-769a708e.js index 86d6feb5a4d6..5b2049cdf184 100644 --- a/app/kuma-ui/pkg/resources/data/assets/NavTabs-75f3a8fc.js +++ b/app/kuma-ui/pkg/resources/data/assets/NavTabs-769a708e.js @@ -1 +1 @@ -import{d as l,e as d,h as n,r as i,o as p,i as v,a6 as N,I as f,w as u,j as b,n as h,H as x,k as y,aj as k,t as T}from"./index-968489e2.js";const L=l({__name:"NavTabs",props:{tabs:{type:Array,required:!0}},setup(c){const o=d(),a=c,_=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(),v(y(k),{tabs:_.value,"model-value":m.value,"has-panels":!1,class:"nav-tabs","data-testid":"nav-tabs"},N({_:2},[f(a.tabs,e=>({name:`${e.routeName}-anchor`,fn:u(()=>[b(r,{"data-testid":`${e.routeName}-tab`,to:{name:e.routeName}},{default:u(()=>[h(x(e.title),1)]),_:2},1032,["data-testid","to"])])}))]),1032,["tabs","model-value"])}}});const C=T(L,[["__scopeId","data-v-efa5cb58"]]);export{C as N}; +import{d as l,e as d,h as n,r as i,o as p,i as v,a6 as N,I as f,w as u,j as b,n as h,H as x,k as y,aj as k,t as T}from"./index-c6bd05ee.js";const L=l({__name:"NavTabs",props:{tabs:{type:Array,required:!0}},setup(c){const o=d(),a=c,_=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(),v(y(k),{tabs:_.value,"model-value":m.value,"has-panels":!1,class:"nav-tabs","data-testid":"nav-tabs"},N({_:2},[f(a.tabs,e=>({name:`${e.routeName}-anchor`,fn:u(()=>[b(r,{"data-testid":`${e.routeName}-tab`,to:{name:e.routeName}},{default:u(()=>[h(x(e.title),1)]),_:2},1032,["data-testid","to"])])}))]),1032,["tabs","model-value"])}}});const C=T(L,[["__scopeId","data-v-efa5cb58"]]);export{C as N}; diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-b3657084.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-7bcb094e.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingPage-b3657084.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingPage-7bcb094e.js index 86271df9a193..d7fbf84d2253 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-b3657084.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-7bcb094e.js @@ -1,4 +1,4 @@ -import{d as p,V as v,o as s,l as r,p as o,S as i,n as t,k as d,m as l,t as u,i as b,w as c,W as _,j as h,H as f,B as m,D as S,G as y}from"./index-968489e2.js";const x={class:"onboarding-heading"},k={class:"onboarding-title","data-testid":"onboarding-header"},$={key:0,class:"onboarding-description"},w=p({__name:"OnboardingHeading",setup(a){const e=v();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 D=u(w,[["__scopeId","data-v-cd4747d1"]]),B={class:"onboarding-actions"},N={class:"button-list"},O=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",B,[e.previousStep?(s(),b(d(_),{key:0,appearance:"secondary",to:{name:e.previousStep},"data-testid":"onboarding-previous-button"},{default:c(()=>[t(` +import{d as p,V as v,o as s,l as r,p as o,S as i,n as t,k as d,m as l,t as u,i as b,w as c,W as _,j as h,H as f,B as m,D as S,G as y}from"./index-c6bd05ee.js";const x={class:"onboarding-heading"},k={class:"onboarding-title","data-testid":"onboarding-header"},$={key:0,class:"onboarding-description"},w=p({__name:"OnboardingHeading",setup(a){const e=v();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 D=u(w,[["__scopeId","data-v-cd4747d1"]]),B={class:"onboarding-actions"},N={class:"button-list"},O=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",B,[e.previousStep?(s(),b(d(_),{key:0,appearance:"secondary",to:{name:e.previousStep},"data-testid":"onboarding-previous-button"},{default:c(()=>[t(` Back `)]),_:1},8,["to"])):l("",!0),t(),o("div",N,[e.showSkip?(s(),b(d(_),{key:0,appearance:"outline","data-testid":"onboarding-skip-button",to:{name:"home"}},{default:c(()=>[t(` Skip setup diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingView-04e36203.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingView-07fb10ec.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingView-04e36203.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingView-07fb10ec.js index 343858666136..19a0b9c85be8 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingView-04e36203.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingView-07fb10ec.js @@ -1 +1 @@ -import{d as _,e as f,y as w,r as e,o,i as n,w as t,j as u,k as V,q as i}from"./index-968489e2.js";const g=_({__name:"OnboardingView",setup(k){const d=f(),a=w("demo");return(v,s)=>{const l=e("RouterView"),m=e("AppView"),c=e("RouteView");return o(),n(c,{name:"onboarding"},{default:t(()=>[u(m,null,{default:t(()=>[u(l,null,{default:t(({Component:r})=>[V(d).name==="onboarding-add-services"?(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{g as default}; +import{d as _,e as f,y as w,r as e,o,i as n,w as t,j as u,k as V,q as i}from"./index-c6bd05ee.js";const g=_({__name:"OnboardingView",setup(k){const d=f(),a=w("demo");return(v,s)=>{const l=e("RouterView"),m=e("AppView"),c=e("RouteView");return o(),n(c,{name:"onboarding"},{default:t(()=>[u(m,null,{default:t(()=>[u(l,null,{default:t(({Component:r})=>[V(d).name==="onboarding-add-services"?(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{g as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-f1295a7a.js b/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-d24d04a3.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-f1295a7a.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-d24d04a3.js index c17f83e65acc..143763514f3b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-f1295a7a.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-d24d04a3.js @@ -1 +1 @@ -import{d as P,g as C,y as S,r as l,o as a,l as r,j as t,k as y,ax as B,n as c,w as s,i as o,E as $,x as V,F as R,I as L,H as b,s as N,Q as q,p as v,a4 as A}from"./index-968489e2.js";import{_ as E}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";import{_ as T}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a86b5a6.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./toYaml-4e00099e.js";const I={key:3,"data-testid":"affected-data-plane-proxies"},K=P({__name:"PolicyConnections",props:{mesh:{type:String,required:!0},policyPath:{type:String,required:!0},policyName:{type:String,required:!0}},setup(f){const{t:h}=C(),n=f,m=S("");return(k,d)=>{const _=l("RouterLink");return a(),r("div",null,[t(y(B),{id:"dataplane-search",modelValue:m.value,"onUpdate:modelValue":d[0]||(d[0]=i=>m.value=i),type:"text",placeholder:y(h)("policies.detail.dataplane_input_placeholder"),required:"","data-testid":"dataplane-search-input"},null,8,["modelValue","placeholder"]),c(),t(N,{src:`/meshes/${n.mesh}/policy-path/${n.policyPath}/policy/${n.policyName}/dataplanes`},{default:s(({data:i,error:u})=>[u?(a(),o($,{key:0,error:u},null,8,["error"])):i===void 0?(a(),o(V,{key:1})):i.items.length===0?(a(),o(E,{key:2})):(a(),r("ul",I,[(a(!0),r(R,null,L(i.items.filter(e=>e.name.toLowerCase().includes(m.value.toLowerCase())),(e,p)=>(a(),r("li",{key:p,"data-testid":"dataplane-name"},[t(_,{to:{name:"data-plane-detail-view",params:{mesh:e.mesh,dataPlane:e.name}}},{default:s(()=>[c(b(e.name),1)]),_:2},1032,["to"])]))),128))]))]),_:1},8,["src"])])}}}),D={key:2,class:"stack","data-testid":"detail-view-details"},W=P({__name:"PolicyDetailView",setup(f){const h=q();return(n,m)=>{const k=l("RouteTitle"),d=l("KCard"),_=l("DataSource"),i=l("AppView"),u=l("RouteView");return a(),o(u,{name:"policy-detail-view",params:{mesh:"",policy:"",policyPath:""}},{default:s(({route:e,t:p})=>[t(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:p("policies.routes.item.breadcrumbs")}]},{title:s(()=>[v("h1",null,[t(A,{text:e.params.policy},{default:s(()=>[t(k,{title:p("policies.routes.item.title",{name:e.params.policy}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:s(()=>[c(),t(_,{src:`/meshes/${e.params.mesh}/policy-path/${e.params.policyPath}/policy/${e.params.policy}`},{default:s(({data:w,error:x})=>[x?(a(),o($,{key:0,error:x},null,8,["error"])):w===void 0?(a(),o(V,{key:1})):(a(),r("div",D,[t(d,null,{body:s(()=>[v("h2",null,b(p("policies.detail.affected_dpps")),1),c(),t(K,{class:"mt-4",mesh:e.params.mesh,"policy-name":e.params.policy,"policy-path":e.params.policyPath},null,8,["mesh","policy-name","policy-path"])]),_:2},1024),c(),t(T,{id:"code-block-policy",resource:w,"resource-fetcher":g=>y(h).getSinglePolicyEntity({name:e.params.policy,mesh:e.params.mesh,path:e.params.policyPath},g),"is-searchable":""},null,8,["resource","resource-fetcher"])]))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{W as default}; +import{d as P,g as C,y as S,r as l,o as a,l as r,j as t,k as y,ax as B,n as c,w as s,i as o,E as $,x as V,F as R,I as L,H as b,s as N,Q as q,p as v,a4 as A}from"./index-c6bd05ee.js";import{_ as E}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";import{_ as T}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./toYaml-4e00099e.js";const I={key:3,"data-testid":"affected-data-plane-proxies"},K=P({__name:"PolicyConnections",props:{mesh:{type:String,required:!0},policyPath:{type:String,required:!0},policyName:{type:String,required:!0}},setup(f){const{t:h}=C(),n=f,m=S("");return(k,d)=>{const _=l("RouterLink");return a(),r("div",null,[t(y(B),{id:"dataplane-search",modelValue:m.value,"onUpdate:modelValue":d[0]||(d[0]=i=>m.value=i),type:"text",placeholder:y(h)("policies.detail.dataplane_input_placeholder"),required:"","data-testid":"dataplane-search-input"},null,8,["modelValue","placeholder"]),c(),t(N,{src:`/meshes/${n.mesh}/policy-path/${n.policyPath}/policy/${n.policyName}/dataplanes`},{default:s(({data:i,error:u})=>[u?(a(),o($,{key:0,error:u},null,8,["error"])):i===void 0?(a(),o(V,{key:1})):i.items.length===0?(a(),o(E,{key:2})):(a(),r("ul",I,[(a(!0),r(R,null,L(i.items.filter(e=>e.name.toLowerCase().includes(m.value.toLowerCase())),(e,p)=>(a(),r("li",{key:p,"data-testid":"dataplane-name"},[t(_,{to:{name:"data-plane-detail-view",params:{mesh:e.mesh,dataPlane:e.name}}},{default:s(()=>[c(b(e.name),1)]),_:2},1032,["to"])]))),128))]))]),_:1},8,["src"])])}}}),D={key:2,class:"stack","data-testid":"detail-view-details"},W=P({__name:"PolicyDetailView",setup(f){const h=q();return(n,m)=>{const k=l("RouteTitle"),d=l("KCard"),_=l("DataSource"),i=l("AppView"),u=l("RouteView");return a(),o(u,{name:"policy-detail-view",params:{mesh:"",policy:"",policyPath:""}},{default:s(({route:e,t:p})=>[t(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:p("policies.routes.item.breadcrumbs")}]},{title:s(()=>[v("h1",null,[t(A,{text:e.params.policy},{default:s(()=>[t(k,{title:p("policies.routes.item.title",{name:e.params.policy}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:s(()=>[c(),t(_,{src:`/meshes/${e.params.mesh}/policy-path/${e.params.policyPath}/policy/${e.params.policy}`},{default:s(({data:w,error:x})=>[x?(a(),o($,{key:0,error:x},null,8,["error"])):w===void 0?(a(),o(V,{key:1})):(a(),r("div",D,[t(d,null,{body:s(()=>[v("h2",null,b(p("policies.detail.affected_dpps")),1),c(),t(K,{class:"mt-4",mesh:e.params.mesh,"policy-name":e.params.policy,"policy-path":e.params.policyPath},null,8,["mesh","policy-name","policy-path"])]),_:2},1024),c(),t(T,{id:"code-block-policy",resource:w,"resource-fetcher":g=>y(h).getSinglePolicyEntity({name:e.params.policy,mesh:e.params.mesh,path:e.params.policyPath},g),"is-searchable":""},null,8,["resource","resource-fetcher"])]))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{W as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-ec35a372.js b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-8515306d.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/PolicyListView-ec35a372.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyListView-8515306d.js index dbe9aacc5ec7..fcf6f443f99c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-ec35a372.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-8515306d.js @@ -1 +1 @@ -import{d as x,g as V,e as B,r as d,o as s,l as P,j as r,w as a,F as $,I as L,B as N,k as l,n as i,H as m,p as y,i as n,m as f,E as I,a0 as E,K,t as A,x as q,q as F}from"./index-968489e2.js";import{D,A as O}from"./AppCollection-f3ad81ed.js";import{P as j}from"./PolicyTypeTag-89594388.js";import{_ as H}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";import{S as M}from"./SummaryView-724c0996.js";const U={class:"policy-list-content"},Z={class:"policy-count"},G={class:"policy-list"},J={class:"stack"},Q={class:"description"},W={class:"description-content"},X={class:"description-actions"},Y={class:"visually-hidden"},ee={key:0},te=x({__name:"PolicyList",props:{pageNumber:{},pageSize:{},policyTypes:{},currentPolicyType:{},policyCollection:{},policyError:{},meshInsight:{},isSelectedRow:{type:[Function,null],default:null}},emits:["change"],setup(R,{emit:T}){const{t:p}=V(),b=B(),e=R,_=T;return(S,v)=>{const h=d("RouterLink"),t=d("KCard"),g=d("KBadge");return s(),P("div",U,[r(t,{class:"policy-type-list","data-testid":"policy-type-list"},{body:a(()=>[(s(!0),P($,null,L(e.policyTypes,(c,u)=>{var o,w,C;return s(),P("div",{key:u,class:N(["policy-type-link-wrapper",{"policy-type-link-wrapper--is-active":c.path===e.currentPolicyType.path}])},[r(h,{class:"policy-type-link",to:{name:"policy-list-view",params:{mesh:l(b).params.mesh,policyPath:c.path}},"data-testid":`policy-type-link-${c.name}`},{default:a(()=>[i(m(c.name),1)]),_:2},1032,["to","data-testid"]),i(),y("div",Z,m(((C=(w=(o=e.meshInsight)==null?void 0:o.policies)==null?void 0:w[c.name])==null?void 0:C.total)??0),1)],2)}),128))]),_:1}),i(),y("div",G,[y("div",J,[r(t,null,{body:a(()=>[y("div",Q,[y("div",W,[y("h3",null,[r(j,{"policy-type":e.currentPolicyType.name},{default:a(()=>[i(m(l(p)("policies.collection.title",{name:e.currentPolicyType.name})),1)]),_:1},8,["policy-type"])]),i(),y("p",null,m(l(p)(`policies.type.${e.currentPolicyType.name}.description`,void 0,{defaultMessage:l(p)("policies.collection.description")})),1)]),i(),y("div",X,[e.currentPolicyType.isExperimental?(s(),n(g,{key:0,appearance:"warning"},{default:a(()=>[i(m(l(p)("policies.collection.beta")),1)]),_:1})):f("",!0),i(),e.currentPolicyType.isInbound?(s(),n(g,{key:1,appearance:"neutral"},{default:a(()=>[i(m(l(p)("policies.collection.inbound")),1)]),_:1})):f("",!0),i(),e.currentPolicyType.isOutbound?(s(),n(g,{key:2,appearance:"neutral"},{default:a(()=>[i(m(l(p)("policies.collection.outbound")),1)]),_:1})):f("",!0),i(),r(D,{href:l(p)("policies.href.docs",{name:e.currentPolicyType.name}),"data-testid":"policy-documentation-link"},{default:a(()=>[y("span",Y,m(l(p)("common.documentation")),1)]),_:1},8,["href"])])])]),_:1}),i(),r(t,null,{body:a(()=>{var c,u;return[e.policyError!==void 0?(s(),n(I,{key:0,error:e.policyError},null,8,["error"])):(s(),n(O,{key:1,class:"policy-collection","data-testid":"policy-collection","empty-state-message":l(p)("common.emptyState.message",{type:`${e.currentPolicyType.name} policies`}),"empty-state-cta-to":l(p)("policies.href.docs",{name:e.currentPolicyType.name}),"empty-state-cta-text":l(p)("common.documentation"),headers:[{label:"Name",key:"name"},...e.currentPolicyType.isTargetRefBased?[{label:"Target ref",key:"targetRef"}]:[],{label:"Details",key:"details",hideLabel:!0}],"page-number":e.pageNumber,"page-size":e.pageSize,total:(c=e.policyCollection)==null?void 0:c.total,items:(u=e.policyCollection)==null?void 0:u.items,error:e.policyError,"is-selected-row":e.isSelectedRow,onChange:v[0]||(v[0]=o=>_("change",o))},{name:a(({rowValue:o})=>[r(h,{to:{name:"policy-summary-view",params:{mesh:l(b).params.mesh,policyPath:e.currentPolicyType.path,policy:o},query:{page:e.pageNumber,size:e.pageSize}}},{default:a(()=>[i(m(o),1)]),_:2},1032,["to"])]),targetRef:a(({row:o})=>[e.currentPolicyType.isTargetRefBased?(s(),n(g,{key:0,appearance:"neutral"},{default:a(()=>[i(m(o.spec.targetRef.kind),1),o.spec.targetRef.name?(s(),P("span",ee,[i(":"),y("b",null,m(o.spec.targetRef.name),1)])):f("",!0)]),_:2},1024)):(s(),P($,{key:1},[i(m(l(p)("common.detail.none")),1)],64))]),details:a(({row:o})=>[r(h,{class:"details-link","data-testid":"details-link",to:{name:"policy-detail-view",params:{mesh:o.mesh,policyPath:e.currentPolicyType.path,policy:o.name}}},{default:a(()=>[i(m(l(p)("common.collection.details_link"))+" ",1),r(l(E),{display:"inline-block",decorative:"",size:l(K)},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 ae=A(te,[["__scopeId","data-v-949a9abb"]]),ne=x({__name:"PolicyListView",setup(R){return(T,p)=>{const b=d("RouteTitle"),e=d("RouterView"),_=d("DataSource"),S=d("AppView"),v=d("RouteView");return s(),n(_,{src:"/me"},{default:a(({data:h})=>[h?(s(),n(v,{key:0,name:"policy-list-view",params:{page:1,size:h.pageSize,mesh:"",policyPath:"",policy:""}},{default:a(({route:t,t:g})=>[r(S,null,{title:a(()=>[y("h2",null,[r(b,{title:g("policies.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[i(),r(_,{src:"/*/policy-types"},{default:a(({data:c,error:u})=>[u?(s(),n(I,{key:0,error:u},null,8,["error"])):c===void 0?(s(),n(q,{key:1})):c.policies.length===0?(s(),n(H,{key:2})):(s(),n(_,{key:3,src:`/meshes/${t.params.mesh}/policy-path/${t.params.policyPath}?page=${t.params.page}&size=${t.params.size}`},{default:a(({data:o,error:w})=>[r(_,{src:`/mesh-insights/${t.params.mesh}`},{default:a(({data:C})=>[(s(),n(ae,{key:t.params.policyPath,"page-number":parseInt(t.params.page),"page-size":parseInt(t.params.size),"current-policy-type":c.policies.find(k=>k.path===t.params.policyPath)??c.policies[0],"policy-types":c.policies,"mesh-insight":C,"policy-collection":o,"policy-error":w,"is-selected-row":k=>k.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"])),i(),t.params.policy?(s(),n(e,{key:0},{default:a(k=>[r(M,{onClose:z=>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(F(k.Component),{name:t.params.policy,policy:o==null?void 0:o.items.find(z=>z.name===t.params.policy),"policy-type":c.policies.find(z=>z.path===t.params.policyPath)},null,8,["name","policy","policy-type"]))]),_:2},1032,["onClose"])]),_:2},1024)):f("",!0)]),_:2},1032,["src"])]),_:2},1032,["src"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["params"])):f("",!0)]),_:1})}}});export{ne as default}; +import{d as x,g as V,e as B,r as d,o as s,l as P,j as r,w as a,F as $,I as L,B as N,k as l,n as i,H as m,p as y,i as n,m as f,E as I,a0 as E,K,t as A,x as q,q as F}from"./index-c6bd05ee.js";import{D,A as O}from"./AppCollection-6aabd095.js";import{P as j}from"./PolicyTypeTag-55b27c28.js";import{_ as H}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";import{S as M}from"./SummaryView-227f39d3.js";const U={class:"policy-list-content"},Z={class:"policy-count"},G={class:"policy-list"},J={class:"stack"},Q={class:"description"},W={class:"description-content"},X={class:"description-actions"},Y={class:"visually-hidden"},ee={key:0},te=x({__name:"PolicyList",props:{pageNumber:{},pageSize:{},policyTypes:{},currentPolicyType:{},policyCollection:{},policyError:{},meshInsight:{},isSelectedRow:{type:[Function,null],default:null}},emits:["change"],setup(R,{emit:T}){const{t:p}=V(),b=B(),e=R,_=T;return(S,v)=>{const h=d("RouterLink"),t=d("KCard"),g=d("KBadge");return s(),P("div",U,[r(t,{class:"policy-type-list","data-testid":"policy-type-list"},{body:a(()=>[(s(!0),P($,null,L(e.policyTypes,(c,u)=>{var o,w,C;return s(),P("div",{key:u,class:N(["policy-type-link-wrapper",{"policy-type-link-wrapper--is-active":c.path===e.currentPolicyType.path}])},[r(h,{class:"policy-type-link",to:{name:"policy-list-view",params:{mesh:l(b).params.mesh,policyPath:c.path}},"data-testid":`policy-type-link-${c.name}`},{default:a(()=>[i(m(c.name),1)]),_:2},1032,["to","data-testid"]),i(),y("div",Z,m(((C=(w=(o=e.meshInsight)==null?void 0:o.policies)==null?void 0:w[c.name])==null?void 0:C.total)??0),1)],2)}),128))]),_:1}),i(),y("div",G,[y("div",J,[r(t,null,{body:a(()=>[y("div",Q,[y("div",W,[y("h3",null,[r(j,{"policy-type":e.currentPolicyType.name},{default:a(()=>[i(m(l(p)("policies.collection.title",{name:e.currentPolicyType.name})),1)]),_:1},8,["policy-type"])]),i(),y("p",null,m(l(p)(`policies.type.${e.currentPolicyType.name}.description`,void 0,{defaultMessage:l(p)("policies.collection.description")})),1)]),i(),y("div",X,[e.currentPolicyType.isExperimental?(s(),n(g,{key:0,appearance:"warning"},{default:a(()=>[i(m(l(p)("policies.collection.beta")),1)]),_:1})):f("",!0),i(),e.currentPolicyType.isInbound?(s(),n(g,{key:1,appearance:"neutral"},{default:a(()=>[i(m(l(p)("policies.collection.inbound")),1)]),_:1})):f("",!0),i(),e.currentPolicyType.isOutbound?(s(),n(g,{key:2,appearance:"neutral"},{default:a(()=>[i(m(l(p)("policies.collection.outbound")),1)]),_:1})):f("",!0),i(),r(D,{href:l(p)("policies.href.docs",{name:e.currentPolicyType.name}),"data-testid":"policy-documentation-link"},{default:a(()=>[y("span",Y,m(l(p)("common.documentation")),1)]),_:1},8,["href"])])])]),_:1}),i(),r(t,null,{body:a(()=>{var c,u;return[e.policyError!==void 0?(s(),n(I,{key:0,error:e.policyError},null,8,["error"])):(s(),n(O,{key:1,class:"policy-collection","data-testid":"policy-collection","empty-state-message":l(p)("common.emptyState.message",{type:`${e.currentPolicyType.name} policies`}),"empty-state-cta-to":l(p)("policies.href.docs",{name:e.currentPolicyType.name}),"empty-state-cta-text":l(p)("common.documentation"),headers:[{label:"Name",key:"name"},...e.currentPolicyType.isTargetRefBased?[{label:"Target ref",key:"targetRef"}]:[],{label:"Details",key:"details",hideLabel:!0}],"page-number":e.pageNumber,"page-size":e.pageSize,total:(c=e.policyCollection)==null?void 0:c.total,items:(u=e.policyCollection)==null?void 0:u.items,error:e.policyError,"is-selected-row":e.isSelectedRow,onChange:v[0]||(v[0]=o=>_("change",o))},{name:a(({rowValue:o})=>[r(h,{to:{name:"policy-summary-view",params:{mesh:l(b).params.mesh,policyPath:e.currentPolicyType.path,policy:o},query:{page:e.pageNumber,size:e.pageSize}}},{default:a(()=>[i(m(o),1)]),_:2},1032,["to"])]),targetRef:a(({row:o})=>[e.currentPolicyType.isTargetRefBased?(s(),n(g,{key:0,appearance:"neutral"},{default:a(()=>[i(m(o.spec.targetRef.kind),1),o.spec.targetRef.name?(s(),P("span",ee,[i(":"),y("b",null,m(o.spec.targetRef.name),1)])):f("",!0)]),_:2},1024)):(s(),P($,{key:1},[i(m(l(p)("common.detail.none")),1)],64))]),details:a(({row:o})=>[r(h,{class:"details-link","data-testid":"details-link",to:{name:"policy-detail-view",params:{mesh:o.mesh,policyPath:e.currentPolicyType.path,policy:o.name}}},{default:a(()=>[i(m(l(p)("common.collection.details_link"))+" ",1),r(l(E),{display:"inline-block",decorative:"",size:l(K)},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 ae=A(te,[["__scopeId","data-v-949a9abb"]]),ne=x({__name:"PolicyListView",setup(R){return(T,p)=>{const b=d("RouteTitle"),e=d("RouterView"),_=d("DataSource"),S=d("AppView"),v=d("RouteView");return s(),n(_,{src:"/me"},{default:a(({data:h})=>[h?(s(),n(v,{key:0,name:"policy-list-view",params:{page:1,size:h.pageSize,mesh:"",policyPath:"",policy:""}},{default:a(({route:t,t:g})=>[r(S,null,{title:a(()=>[y("h2",null,[r(b,{title:g("policies.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[i(),r(_,{src:"/*/policy-types"},{default:a(({data:c,error:u})=>[u?(s(),n(I,{key:0,error:u},null,8,["error"])):c===void 0?(s(),n(q,{key:1})):c.policies.length===0?(s(),n(H,{key:2})):(s(),n(_,{key:3,src:`/meshes/${t.params.mesh}/policy-path/${t.params.policyPath}?page=${t.params.page}&size=${t.params.size}`},{default:a(({data:o,error:w})=>[r(_,{src:`/mesh-insights/${t.params.mesh}`},{default:a(({data:C})=>[(s(),n(ae,{key:t.params.policyPath,"page-number":parseInt(t.params.page),"page-size":parseInt(t.params.size),"current-policy-type":c.policies.find(k=>k.path===t.params.policyPath)??c.policies[0],"policy-types":c.policies,"mesh-insight":C,"policy-collection":o,"policy-error":w,"is-selected-row":k=>k.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"])),i(),t.params.policy?(s(),n(e,{key:0},{default:a(k=>[r(M,{onClose:z=>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(F(k.Component),{name:t.params.policy,policy:o==null?void 0:o.items.find(z=>z.name===t.params.policy),"policy-type":c.policies.find(z=>z.path===t.params.policyPath)},null,8,["name","policy","policy-type"]))]),_:2},1032,["onClose"])]),_:2},1024)):f("",!0)]),_:2},1032,["src"])]),_:2},1032,["src"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["params"])):f("",!0)]),_:1})}}});export{ne as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-6af568ca.js b/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-200ebffc.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-6af568ca.js rename to app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-200ebffc.js index 326debffaac1..c00a1713ad1f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-6af568ca.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicySummaryView-200ebffc.js @@ -1 +1 @@ -import{d as V,g as S,Q as x,r as l,o as n,i as y,w as a,j as m,p as o,n as t,k as s,H as c,l as _,a7 as B,m as f,F as P,D as T,G as C,a2 as I,t as b}from"./index-968489e2.js";import{_ as A}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";import{_ as N}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a86b5a6.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./toYaml-4e00099e.js";const D=p=>(T("data-v-c61485c0"),p=p(),C(),p),K={class:"summary-title-wrapper"},E=D(()=>o("img",{"aria-hidden":"true",src:I},null,-1)),F={class:"summary-title"},L={key:1,class:"stack"},$={key:0},j={class:"mt-4 stack"},G={key:0},H={class:"mt-4"},Q=V({__name:"PolicySummaryView",props:{name:{},policy:{default:void 0},policyType:{}},setup(p){const{t:i}=S(),h=x(),e=p;return(q,z)=>{const g=l("RouteTitle"),k=l("RouterLink"),v=l("KBadge"),w=l("AppView"),R=l("RouteView");return n(),y(R,{name:"policy-summary-view",params:{mesh:"",policyPath:"",policy:""}},{default:a(({route:u})=>[m(w,null,{title:a(()=>[o("div",K,[E,t(),o("h2",F,[m(k,{to:{name:"policy-detail-view",params:{policy:e.name}}},{default:a(()=>[m(g,{title:s(i)("policies.routes.item.title",{name:e.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:a(()=>{var d;return[t(),e.policy===void 0?(n(),y(A,{key:0},{message:a(()=>[o("p",null,c(s(i)("common.collection.summary.empty_message",{type:e.policyType.name})),1)]),default:a(()=>[t(c(s(i)("common.collection.summary.empty_title",{type:e.policyType.name}))+" ",1)]),_:1})):(n(),_("div",L,[(d=e.policy.spec)!=null&&d.targetRef?(n(),_("div",$,[o("h3",null,c(s(i)("policies.routes.item.overview")),1),t(),o("div",j,[m(B,null,{title:a(()=>[t(c(s(i)("http.api.property.targetRef")),1)]),body:a(()=>{var r;return[(r=e.policy.spec)!=null&&r.targetRef?(n(),y(v,{key:0,appearance:"neutral"},{default:a(()=>[t(c(e.policy.spec.targetRef.kind),1),e.policy.spec.targetRef.name?(n(),_("span",G,[t(":"),o("b",null,c(e.policy.spec.targetRef.name),1)])):f("",!0)]),_:1})):(n(),_(P,{key:1},[t(c(s(i)("common.detail.none")),1)],64))]}),_:1})])])):f("",!0),t(),o("div",null,[o("h3",null,c(s(i)("policies.routes.item.config")),1),t(),o("div",H,[m(N,{id:"code-block-policy",resource:e.policy,"resource-fetcher":r=>s(h).getSinglePolicyEntity({name:u.params.policy,mesh:u.params.mesh,path:u.params.policyPath},r),"is-searchable":""},null,8,["resource","resource-fetcher"])])])]))]}),_:2},1024)]),_:1})}}});const X=b(Q,[["__scopeId","data-v-c61485c0"]]);export{X as default}; +import{d as V,g as S,Q as x,r as l,o as n,i as y,w as a,j as m,p as o,n as t,k as s,H as c,l as _,a7 as B,m as f,F as P,D as T,G as C,a2 as I,t as b}from"./index-c6bd05ee.js";import{_ as A}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";import{_ as N}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./toYaml-4e00099e.js";const D=p=>(T("data-v-c61485c0"),p=p(),C(),p),K={class:"summary-title-wrapper"},E=D(()=>o("img",{"aria-hidden":"true",src:I},null,-1)),F={class:"summary-title"},L={key:1,class:"stack"},$={key:0},j={class:"mt-4 stack"},G={key:0},H={class:"mt-4"},Q=V({__name:"PolicySummaryView",props:{name:{},policy:{default:void 0},policyType:{}},setup(p){const{t:i}=S(),h=x(),e=p;return(q,z)=>{const g=l("RouteTitle"),k=l("RouterLink"),v=l("KBadge"),w=l("AppView"),R=l("RouteView");return n(),y(R,{name:"policy-summary-view",params:{mesh:"",policyPath:"",policy:""}},{default:a(({route:u})=>[m(w,null,{title:a(()=>[o("div",K,[E,t(),o("h2",F,[m(k,{to:{name:"policy-detail-view",params:{policy:e.name}}},{default:a(()=>[m(g,{title:s(i)("policies.routes.item.title",{name:e.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:a(()=>{var d;return[t(),e.policy===void 0?(n(),y(A,{key:0},{message:a(()=>[o("p",null,c(s(i)("common.collection.summary.empty_message",{type:e.policyType.name})),1)]),default:a(()=>[t(c(s(i)("common.collection.summary.empty_title",{type:e.policyType.name}))+" ",1)]),_:1})):(n(),_("div",L,[(d=e.policy.spec)!=null&&d.targetRef?(n(),_("div",$,[o("h3",null,c(s(i)("policies.routes.item.overview")),1),t(),o("div",j,[m(B,null,{title:a(()=>[t(c(s(i)("http.api.property.targetRef")),1)]),body:a(()=>{var r;return[(r=e.policy.spec)!=null&&r.targetRef?(n(),y(v,{key:0,appearance:"neutral"},{default:a(()=>[t(c(e.policy.spec.targetRef.kind),1),e.policy.spec.targetRef.name?(n(),_("span",G,[t(":"),o("b",null,c(e.policy.spec.targetRef.name),1)])):f("",!0)]),_:1})):(n(),_(P,{key:1},[t(c(s(i)("common.detail.none")),1)],64))]}),_:1})])])):f("",!0),t(),o("div",null,[o("h3",null,c(s(i)("policies.routes.item.config")),1),t(),o("div",H,[m(N,{id:"code-block-policy",resource:e.policy,"resource-fetcher":r=>s(h).getSinglePolicyEntity({name:u.params.policy,mesh:u.params.mesh,path:u.params.policyPath},r),"is-searchable":""},null,8,["resource","resource-fetcher"])])])]))]}),_:2},1024)]),_:1})}}});const X=b(Q,[["__scopeId","data-v-c61485c0"]]);export{X as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-89594388.js b/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-55b27c28.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-89594388.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-55b27c28.js index 5cd870acbd1d..d633be815c21 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-89594388.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-55b27c28.js @@ -1 +1 @@ -import{d as Q,o as e,l as t,i as l,k as m,aq as p,n,S as d,H as z,t as w}from"./index-968489e2.js";const B="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",o="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=",f="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"],O=Q({__name:"PolicyTypeTag",props:{policyType:{type:String,required:!0}},setup(T){const s={CircuitBreaker:B,FaultInjection:a,HealthCheck:c,MeshAccessLog:D,MeshCircuitBreaker:B,MeshFaultInjection:a,MeshHealthCheck:c,MeshProxyPatch:r,MeshRateLimit:i,MeshRetry:g,MeshTimeout:C,MeshTrace:f,MeshTrafficPermission:o,ProxyTemplate:r,RateLimit:i,Retry:g,Timeout:C,TrafficLog:D,TrafficPermission:o,TrafficRoute:v,TrafficTrace:f,VirtualOutbound:Y},A=T;return(h,E)=>(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})),n(),d(h.$slots,"default",{},()=>[n(z(A.policyType),1)],!0)]))}});const x=w(O,[["__scopeId","data-v-9604a2cd"]]);export{x as P}; +import{d as Q,o as e,l as t,i as l,k as m,aq as p,n,S as d,H as z,t as w}from"./index-c6bd05ee.js";const B="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",o="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=",f="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"],O=Q({__name:"PolicyTypeTag",props:{policyType:{type:String,required:!0}},setup(T){const s={CircuitBreaker:B,FaultInjection:a,HealthCheck:c,MeshAccessLog:D,MeshCircuitBreaker:B,MeshFaultInjection:a,MeshHealthCheck:c,MeshProxyPatch:r,MeshRateLimit:i,MeshRetry:g,MeshTimeout:C,MeshTrace:f,MeshTrafficPermission:o,ProxyTemplate:r,RateLimit:i,Retry:g,Timeout:C,TrafficLog:D,TrafficPermission:o,TrafficRoute:v,TrafficTrace:f,VirtualOutbound:Y},A=T;return(h,E)=>(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})),n(),d(h.$slots,"default",{},()=>[n(z(A.policyType),1)],!0)]))}});const x=w(O,[["__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-6a86b5a6.js b/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a86b5a6.js rename to app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js index 911508ec6299..c35498bf3622 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a86b5a6.js +++ b/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js @@ -1 +1 @@ -import{d as m,g as p,h as y,o as h,i as b,w as a,j as n,k as o,af as f,ak as _,n as x,H as g}from"./index-968489e2.js";import{_ as k}from"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import{t as q}from"./toYaml-4e00099e.js";const K=m({__name:"ResourceCodeBlock",props:{id:{type:String,required:!0},resource:{type:Object,required:!0},resourceFetcher:{type:Function,required:!0},codeMaxHeight:{type:String,required:!1,default:null},isSearchable:{type:Boolean,required:!1,default:!1}},setup(s){const{t:r}=p(),e=s,i=y(()=>c(e.resource));async function u(){const t=await e.resourceFetcher({format:"kubernetes"});return c(t)}function c(t){const{creationTime:l,modificationTime:T,...d}=t;return q(d)}return(t,l)=>(h(),b(k,{id:s.id,language:"yaml",code:i.value,"is-searchable":e.isSearchable,"query-key":e.id,"code-max-height":e.codeMaxHeight},{"secondary-actions":a(()=>[n(o(f),{class:"kubernetes-copy-button-tooltip",label:o(r)("common.copyKubernetesText"),placement:"bottomEnd","max-width":"200"},{default:a(()=>[n(_,{class:"kubernetes-copy-button","get-text":u,"copy-text":o(r)("common.copyKubernetesText"),"has-border":"","hide-title":""},{default:a(()=>[x(g(o(r)("common.copyKubernetesShortText")),1)]),_:1},8,["copy-text"])]),_:1},8,["label"])]),_:1},8,["id","code","is-searchable","query-key","code-max-height"]))}});export{K as _}; +import{d as m,g as p,h as y,o as h,i as b,w as a,j as n,k as o,af as f,ak as _,n as x,H as g}from"./index-c6bd05ee.js";import{_ as k}from"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import{t as q}from"./toYaml-4e00099e.js";const K=m({__name:"ResourceCodeBlock",props:{id:{type:String,required:!0},resource:{type:Object,required:!0},resourceFetcher:{type:Function,required:!0},codeMaxHeight:{type:String,required:!1,default:null},isSearchable:{type:Boolean,required:!1,default:!1}},setup(s){const{t:r}=p(),e=s,i=y(()=>c(e.resource));async function u(){const t=await e.resourceFetcher({format:"kubernetes"});return c(t)}function c(t){const{creationTime:l,modificationTime:T,...d}=t;return q(d)}return(t,l)=>(h(),b(k,{id:s.id,language:"yaml",code:i.value,"is-searchable":e.isSearchable,"query-key":e.id,"code-max-height":e.codeMaxHeight},{"secondary-actions":a(()=>[n(o(f),{class:"kubernetes-copy-button-tooltip",label:o(r)("common.copyKubernetesText"),placement:"bottomEnd","max-width":"200"},{default:a(()=>[n(_,{class:"kubernetes-copy-button","get-text":u,"copy-text":o(r)("common.copyKubernetesText"),"has-border":"","hide-title":""},{default:a(()=>[x(g(o(r)("common.copyKubernetesShortText")),1)]),_:1},8,["copy-text"])]),_:1},8,["label"])]),_:1},8,["id","code","is-searchable","query-key","code-max-height"]))}});export{K as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-2f9f93ff.js b/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-7a1ff5a2.js similarity index 82% rename from app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-2f9f93ff.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-7a1ff5a2.js index 4d41ed0d631a..1ba6e0d25617 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-2f9f93ff.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-7a1ff5a2.js @@ -1 +1 @@ -import{_ as h}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";import{d as k,Q as w,r as o,o as t,i as a,w as e,j as r,p as c,n as g,E as V,x as y,H as C,k as $}from"./index-968489e2.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a86b5a6.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./toYaml-4e00099e.js";const E=k({__name:"ServiceConfigView",setup(A){const l=w();return(B,R)=>{const _=o("RouteTitle"),p=o("DataSource"),u=o("KCard"),d=o("AppView"),f=o("RouteView");return t(),a(f,{name:"service-config-view",params:{mesh:"",service:""}},{default:e(({route:n,t:i})=>[r(d,null,{title:e(()=>[c("h2",null,[r(_,{title:i("services.routes.item.navigation.service-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[g(),r(u,null,{body:e(()=>[c("div",null,[r(p,{src:`/meshes/${n.params.mesh}/external-services/for/${n.params.service}`},{default:e(({data:s,error:m})=>[m?(t(),a(V,{key:0,error:m},null,8,["error"])):s===void 0?(t(),a(y,{key:1})):s===null?(t(),a(h,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[c("p",null,C(i("services.detail.no_matching_external_service",{name:n.params.service})),1)]),_:2},1024)):(t(),a(x,{key:3,id:"code-block-service",resource:s,"resource-fetcher":v=>$(l).getExternalService({mesh:s.mesh,name:s.name},v),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{E as default}; +import{_ as h}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";import{d as k,Q as w,r as o,o as t,i as a,w as e,j as r,p as c,n as g,E as V,x as y,H as C,k as $}from"./index-c6bd05ee.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./toYaml-4e00099e.js";const E=k({__name:"ServiceConfigView",setup(A){const l=w();return(B,R)=>{const _=o("RouteTitle"),p=o("DataSource"),u=o("KCard"),d=o("AppView"),f=o("RouteView");return t(),a(f,{name:"service-config-view",params:{mesh:"",service:""}},{default:e(({route:n,t:i})=>[r(d,null,{title:e(()=>[c("h2",null,[r(_,{title:i("services.routes.item.navigation.service-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[g(),r(u,null,{body:e(()=>[c("div",null,[r(p,{src:`/meshes/${n.params.mesh}/external-services/for/${n.params.service}`},{default:e(({data:s,error:m})=>[m?(t(),a(V,{key:0,error:m},null,8,["error"])):s===void 0?(t(),a(y,{key:1})):s===null?(t(),a(h,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[c("p",null,C(i("services.detail.no_matching_external_service",{name:n.params.service})),1)]),_:2},1024)):(t(),a(x,{key:3,id:"code-block-service",resource:s,"resource-fetcher":v=>$(l).getExternalService({mesh:s.mesh,name:s.name},v),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{E as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-b2ab9115.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-f80b32ef.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-b2ab9115.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-f80b32ef.js index 34a88ccc83a9..1be12e8641f5 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-b2ab9115.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-f80b32ef.js @@ -1 +1 @@ -import{D as z,K as q}from"./KFilterBar-a5930e82.js";import{S as T}from"./SummaryView-724c0996.js";import{d as $,r as s,o,i as l,w as t,j as i,p as B,n,l as f,F as w,I as K,H as R,m as p,q as F,t as N}from"./index-968489e2.js";import"./AppCollection-f3ad81ed.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";import"./StatusBadge-8d0ad2da.js";import"./dataplane-0a086c06.js";const I=$({__name:"ServiceDataPlaneProxiesView",setup(A){return(L,j)=>{const h=s("RouteTitle"),b=s("KSelect"),S=s("KCard"),C=s("RouterView"),c=s("DataSource"),V=s("AppView"),x=s("RouteView");return o(),l(c,{src:"/me"},{default:t(({data:d})=>[d?(o(),l(x,{key:0,name:"service-data-plane-proxies-view",params:{page:1,size:d.pageSize,query:"",s:"",mesh:"",service:"",gatewayType:"",dataPlane:""}},{default:t(({route:e,t:P})=>[i(V,null,{title:t(()=>[B("h2",null,[i(h,{title:P("services.routes.item.navigation.service-data-plane-proxies-view"),render:!0},null,8,["title"])])]),default:t(()=>[n(),i(c,{src:`/meshes/${e.params.mesh}/dataplanes/for/${e.params.service}/of/all?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:t(({data:r,error:k})=>{var u,_,y,g;return[(o(!0),f(w,null,K([((g=(y=(_=(u=r==null?void 0:r.items)==null?void 0:u[0])==null?void 0:_.dataplane)==null?void 0:y.networking)==null?void 0:g.gateway)!==void 0],m=>(o(),f(w,{key:m},[i(S,null,{body:t(()=>[i(z,{"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:r==null?void 0:r.total,items:r==null?void 0:r.items,error:k,gateways:m,"is-selected-row":a=>a.name===e.params.dataPlane,"summary-route-name":"service-data-plane-summary-view",onChange:e.update},{toolbar:t(()=>[i(q,{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(),m?(o(),l(b,{key:0,label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(a=>({...a,selected:a.value===e.params.gatewayType})),appearance:"select",onSelected:a=>e.update({gatewayType:String(a.value)})},{"item-template":t(({item:a})=>[n(R(a.label),1)]),_:2},1032,["items","onSelected"])):p("",!0)]),_:2},1032,["page-number","page-size","total","items","error","gateways","is-selected-row","onChange"])]),_:2},1024),n(),e.params.dataPlane?(o(),l(C,{key:0},{default:t(a=>[i(T,{onClose:v=>e.replace({name:"service-data-plane-proxies-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:t(()=>[(o(),l(F(a.Component),{name:e.params.dataPlane,"dataplane-overview":r==null?void 0:r.items.find(v=>v.name===e.params.dataPlane)},null,8,["name","dataplane-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):p("",!0)],64))),128))]}),_:2},1032,["src"])]),_:2},1024)]),_:2},1032,["params"])):p("",!0)]),_:1})}}});const U=N(I,[["__scopeId","data-v-5c3346f3"]]);export{U as default}; +import{D as z,K as q}from"./KFilterBar-79182a3a.js";import{S as T}from"./SummaryView-227f39d3.js";import{d as $,r as s,o,i as l,w as t,j as i,p as B,n,l as f,F as w,I as K,H as R,m as p,q as F,t as N}from"./index-c6bd05ee.js";import"./AppCollection-6aabd095.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";import"./StatusBadge-07ca9e6a.js";import"./dataplane-0a086c06.js";const I=$({__name:"ServiceDataPlaneProxiesView",setup(A){return(L,j)=>{const h=s("RouteTitle"),b=s("KSelect"),S=s("KCard"),C=s("RouterView"),c=s("DataSource"),V=s("AppView"),x=s("RouteView");return o(),l(c,{src:"/me"},{default:t(({data:d})=>[d?(o(),l(x,{key:0,name:"service-data-plane-proxies-view",params:{page:1,size:d.pageSize,query:"",s:"",mesh:"",service:"",gatewayType:"",dataPlane:""}},{default:t(({route:e,t:P})=>[i(V,null,{title:t(()=>[B("h2",null,[i(h,{title:P("services.routes.item.navigation.service-data-plane-proxies-view"),render:!0},null,8,["title"])])]),default:t(()=>[n(),i(c,{src:`/meshes/${e.params.mesh}/dataplanes/for/${e.params.service}/of/all?page=${e.params.page}&size=${e.params.size}&search=${e.params.s}`},{default:t(({data:r,error:k})=>{var u,_,y,g;return[(o(!0),f(w,null,K([((g=(y=(_=(u=r==null?void 0:r.items)==null?void 0:u[0])==null?void 0:_.dataplane)==null?void 0:y.networking)==null?void 0:g.gateway)!==void 0],m=>(o(),f(w,{key:m},[i(S,null,{body:t(()=>[i(z,{"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":parseInt(e.params.page),"page-size":parseInt(e.params.size),total:r==null?void 0:r.total,items:r==null?void 0:r.items,error:k,gateways:m,"is-selected-row":a=>a.name===e.params.dataPlane,"summary-route-name":"service-data-plane-summary-view",onChange:e.update},{toolbar:t(()=>[i(q,{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(),m?(o(),l(b,{key:0,label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(a=>({...a,selected:a.value===e.params.gatewayType})),appearance:"select",onSelected:a=>e.update({gatewayType:String(a.value)})},{"item-template":t(({item:a})=>[n(R(a.label),1)]),_:2},1032,["items","onSelected"])):p("",!0)]),_:2},1032,["page-number","page-size","total","items","error","gateways","is-selected-row","onChange"])]),_:2},1024),n(),e.params.dataPlane?(o(),l(C,{key:0},{default:t(a=>[i(T,{onClose:v=>e.replace({name:"service-data-plane-proxies-view",params:{mesh:e.params.mesh},query:{page:e.params.page,size:e.params.size}})},{default:t(()=>[(o(),l(F(a.Component),{name:e.params.dataPlane,"dataplane-overview":r==null?void 0:r.items.find(v=>v.name===e.params.dataPlane)},null,8,["name","dataplane-overview"]))]),_:2},1032,["onClose"])]),_:2},1024)):p("",!0)],64))),128))]}),_:2},1032,["src"])]),_:2},1024)]),_:2},1032,["params"])):p("",!0)]),_:1})}}});const U=N(I,[["__scopeId","data-v-5c3346f3"]]);export{U as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-7dc5fb1d.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-aca21c75.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-7dc5fb1d.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-aca21c75.js index 1bfb759684bf..db42538ccd3e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-7dc5fb1d.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-aca21c75.js @@ -1 +1 @@ -import{d as V,g as R,a3 as T,r as o,o as i,i as u,w as a,j as r,k as _,p as k,a4 as y,n as f,E as N,x as g,l as B,F as C,q as D}from"./index-968489e2.js";import{N as $}from"./NavTabs-75f3a8fc.js";const F=V({__name:"ServiceDetailTabsView",setup(E){const{t:p}=R(),w=T();function h(v){var c;return(((c=w.getRoutes().find(e=>e.name==="service-detail-tabs-view"))==null?void 0:c.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,n;const m=typeof e.name>"u"?(s=e.children)==null?void 0:s[0]:e,l=m.name,d=((n=m.meta)==null?void 0:n.module)??"";return{title:p(`services.routes.item.navigation.${l}`),routeName:l,module:d}})}return(v,b)=>{const c=o("RouteTitle"),e=o("RouterView"),m=o("DataSource"),l=o("AppView"),d=o("RouteView");return i(),u(d,{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:_(p)("services.routes.item.breadcrumbs")}]},{title:a(()=>[k("h1",null,[r(y,{text:t.params.service},{default:a(()=>[r(c,{title:_(p)("services.routes.item.title",{name:t.params.service}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:a(()=>[f(),r(m,{src:`/meshes/${t.params.mesh}/service-insights/${t.params.service}`},{default:a(({data:s,error:n})=>[n?(i(),u(N,{key:0,error:n},null,8,["error"])):s===void 0?(i(),u(g,{key:1})):(i(),B(C,{key:2},[r($,{class:"route-service-detail-view-tabs",tabs:h(s)},null,8,["tabs"]),f(),r(e,null,{default:a(x=>[(i(),u(D(x.Component),{data:s},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{F as default}; +import{d as V,g as R,a3 as T,r as o,o as i,i as u,w as a,j as r,k as _,p as k,a4 as y,n as f,E as N,x as g,l as B,F as C,q as D}from"./index-c6bd05ee.js";import{N as $}from"./NavTabs-769a708e.js";const F=V({__name:"ServiceDetailTabsView",setup(E){const{t:p}=R(),w=T();function h(v){var c;return(((c=w.getRoutes().find(e=>e.name==="service-detail-tabs-view"))==null?void 0:c.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,n;const m=typeof e.name>"u"?(s=e.children)==null?void 0:s[0]:e,l=m.name,d=((n=m.meta)==null?void 0:n.module)??"";return{title:p(`services.routes.item.navigation.${l}`),routeName:l,module:d}})}return(v,b)=>{const c=o("RouteTitle"),e=o("RouterView"),m=o("DataSource"),l=o("AppView"),d=o("RouteView");return i(),u(d,{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:_(p)("services.routes.item.breadcrumbs")}]},{title:a(()=>[k("h1",null,[r(y,{text:t.params.service},{default:a(()=>[r(c,{title:_(p)("services.routes.item.title",{name:t.params.service}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:a(()=>[f(),r(m,{src:`/meshes/${t.params.mesh}/service-insights/${t.params.service}`},{default:a(({data:s,error:n})=>[n?(i(),u(N,{key:0,error:n},null,8,["error"])):s===void 0?(i(),u(g,{key:1})):(i(),B(C,{key:2},[r($,{class:"route-service-detail-view-tabs",tabs:h(s)},null,8,["tabs"]),f(),r(e,null,{default:a(x=>[(i(),u(D(x.Component),{data:s},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{F as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-a623afcc.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-f4afa5ce.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-a623afcc.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-f4afa5ce.js index ffcaeb5b698e..cd170965fc07 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-a623afcc.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-f4afa5ce.js @@ -1 +1 @@ -import{d as g,g as f,r as m,o as t,l as u,j as o,w as e,i,E as w,x as V,p as k,H as c,k as l,a7 as h,n as r,a4 as x,m as C,F as I,a1 as $}from"./index-968489e2.js";import{_ as B}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";import{T as D}from"./TagList-d18d96c7.js";import{S as b}from"./StatusBadge-8d0ad2da.js";const S={key:3,class:"columns"},T=g({__name:"ExternalServiceDetails",props:{mesh:{},service:{}},setup(_){const{t:a}=f(),s=_;return(y,v)=>{const p=m("DataSource");return t(),u("div",null,[o(p,{src:`/meshes/${s.mesh}/external-services/for/${s.service}`},{default:e(({data:n,error:d})=>[d?(t(),i(w,{key:0,error:d},null,8,["error"])):n===void 0?(t(),i(V,{key:1})):n===null?(t(),i(B,{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",S,[o(h,null,{title:e(()=>[r(c(l(a)("http.api.property.address")),1)]),body:e(()=>[o(x,{text:n.networking.address},null,8,["text"])]),_:2},1024),r(),n.tags!==null?(t(),i(h,{key:0},{title:e(()=>[r(c(l(a)("http.api.property.tags")),1)]),body:e(()=>[o(D,{tags:n.tags},null,8,["tags"])]),_:2},1024)):C("",!0)]))]),_:1},8,["src"])])}}}),E={class:"columns"},N=g({__name:"ServiceInsightDetails",props:{serviceInsight:{}},setup(_){const{t:a}=f(),s=_;return(y,v)=>{var p,n;return t(),u("div",E,[o(h,null,{title:e(()=>[r(c(l(a)("http.api.property.status")),1)]),body:e(()=>[o(b,{status:s.serviceInsight.status??"not_available"},null,8,["status"])]),_:1}),r(),o(h,null,{title:e(()=>[r(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(I,{key:1},[r(c(l(a)("common.detail.none")),1)],64))]),_:1}),r(),o($,{online:((p=s.serviceInsight.dataplanes)==null?void 0:p.online)??0,total:((n=s.serviceInsight.dataplanes)==null?void 0:n.total)??0},{title:e(()=>[r(c(l(a)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])])}}}),P={class:"stack"},j=g({__name:"ServiceDetailView",props:{data:{}},setup(_){const a=_;return(s,y)=>{const v=m("KCard"),p=m("AppView"),n=m("RouteView");return t(),i(n,{name:"service-detail-view",params:{mesh:"",service:""}},{default:e(({route:d})=>[o(p,null,{default:e(()=>[k("div",P,[o(v,null,{body:e(()=>[a.data.serviceType==="external"?(t(),i(T,{key:0,mesh:d.params.mesh,service:d.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{j as default}; +import{d as g,g as f,r as m,o as t,l as u,j as o,w as e,i,E as w,x as V,p as k,H as c,k as l,a7 as h,n as r,a4 as x,m as C,F as I,a1 as $}from"./index-c6bd05ee.js";import{_ as B}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";import{T as D}from"./TagList-8ab14f5f.js";import{S as b}from"./StatusBadge-07ca9e6a.js";const S={key:3,class:"columns"},T=g({__name:"ExternalServiceDetails",props:{mesh:{},service:{}},setup(_){const{t:a}=f(),s=_;return(y,v)=>{const p=m("DataSource");return t(),u("div",null,[o(p,{src:`/meshes/${s.mesh}/external-services/for/${s.service}`},{default:e(({data:n,error:d})=>[d?(t(),i(w,{key:0,error:d},null,8,["error"])):n===void 0?(t(),i(V,{key:1})):n===null?(t(),i(B,{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",S,[o(h,null,{title:e(()=>[r(c(l(a)("http.api.property.address")),1)]),body:e(()=>[o(x,{text:n.networking.address},null,8,["text"])]),_:2},1024),r(),n.tags!==null?(t(),i(h,{key:0},{title:e(()=>[r(c(l(a)("http.api.property.tags")),1)]),body:e(()=>[o(D,{tags:n.tags},null,8,["tags"])]),_:2},1024)):C("",!0)]))]),_:1},8,["src"])])}}}),E={class:"columns"},N=g({__name:"ServiceInsightDetails",props:{serviceInsight:{}},setup(_){const{t:a}=f(),s=_;return(y,v)=>{var p,n;return t(),u("div",E,[o(h,null,{title:e(()=>[r(c(l(a)("http.api.property.status")),1)]),body:e(()=>[o(b,{status:s.serviceInsight.status??"not_available"},null,8,["status"])]),_:1}),r(),o(h,null,{title:e(()=>[r(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(I,{key:1},[r(c(l(a)("common.detail.none")),1)],64))]),_:1}),r(),o($,{online:((p=s.serviceInsight.dataplanes)==null?void 0:p.online)??0,total:((n=s.serviceInsight.dataplanes)==null?void 0:n.total)??0},{title:e(()=>[r(c(l(a)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])])}}}),P={class:"stack"},j=g({__name:"ServiceDetailView",props:{data:{}},setup(_){const a=_;return(s,y)=>{const v=m("KCard"),p=m("AppView"),n=m("RouteView");return t(),i(n,{name:"service-detail-view",params:{mesh:"",service:""}},{default:e(({route:d})=>[o(p,null,{default:e(()=>[k("div",P,[o(v,null,{body:e(()=>[a.data.serviceType==="external"?(t(),i(T,{key:0,mesh:d.params.mesh,service:d.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{j as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceListView-363dba40.js b/app/kuma-ui/pkg/resources/data/assets/ServiceListView-e99c5efb.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/ServiceListView-363dba40.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceListView-e99c5efb.js index 898509646361..9a5469a06e13 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceListView-363dba40.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceListView-e99c5efb.js @@ -1 +1 @@ -import{d as V,r as l,o as t,i as r,w as a,j as i,p as b,n as o,E as x,H as m,a4 as R,l as _,F as d,k as g,a0 as B,K as T,q as A,m as f,t as D}from"./index-968489e2.js";import{A as I}from"./AppCollection-f3ad81ed.js";import{S as L}from"./StatusBadge-8d0ad2da.js";import{S as N}from"./SummaryView-724c0996.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const E=V({__name:"ServiceListView",setup(K){return($,q)=>{const h=l("RouteTitle"),u=l("RouterLink"),w=l("KCard"),C=l("RouterView"),S=l("AppView"),v=l("DataSource"),z=l("RouteView");return t(),r(v,{src:"/me"},{default:a(({data:y})=>[y?(t(),r(z,{key:0,name:"service-list-view",params:{page:1,size:y.pageSize,mesh:"",service:""}},{default:a(({route:s,t:c})=>[i(v,{src:`/meshes/${s.params.mesh}/service-insights?page=${s.params.page}&size=${s.params.size}`},{default:a(({data:n,error:p})=>[i(S,null,{title:a(()=>[b("h2",null,[i(h,{title:c("services.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[o(),i(w,null,{body:a(()=>[p!==void 0?(t(),r(x,{key:0,error:p},null,8,["error"])):(t(),r(I,{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":parseInt(s.params.page),"page-size":parseInt(s.params.size),total:n==null?void 0:n.total,items:n==null?void 0:n.items,error:p,"is-selected-row":e=>e.name===s.params.service,onChange:s.update},{name:a(({row:e})=>[i(u,{to:{name:"service-detail-view",params:{mesh:e.mesh,service:e.name},query:{page:s.params.page,size:s.params.size}}},{default:a(()=>[o(m(e.name),1)]),_:2},1032,["to"])]),serviceType:a(({rowValue:e})=>[o(m(e||"internal"),1)]),addressPort:a(({rowValue:e})=>[e?(t(),r(R,{key:0,text:e},null,8,["text"])):(t(),_(d,{key:1},[o(m(c("common.collection.none")),1)],64))]),online:a(({row:e})=>[e.dataplanes?(t(),_(d,{key:0},[o(m(e.dataplanes.online||0)+" / "+m(e.dataplanes.total||0),1)],64)):(t(),_(d,{key:1},[o(m(c("common.collection.none")),1)],64))]),status:a(({row:e})=>[i(L,{status:e.status||"not_available"},null,8,["status"])]),details:a(({row:e})=>[i(u,{class:"details-link","data-testid":"details-link",to:{name:"service-detail-view",params:{mesh:e.mesh,service:e.name}}},{default:a(()=>[o(m(c("common.collection.details_link"))+" ",1),i(g(B),{display:"inline-block",decorative:"",size:g(T)},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),o(),s.params.service?(t(),r(C,{key:0},{default:a(e=>[i(N,{onClose:k=>s.replace({name:"service-list-view",params:{mesh:s.params.mesh},query:{page:s.params.page,size:s.params.size}})},{default:a(()=>[(t(),r(A(e.Component),{name:s.params.service,service:n==null?void 0:n.items.find(k=>k.name===s.params.service)},null,8,["name","service"]))]),_:2},1032,["onClose"])]),_:2},1024)):f("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):f("",!0)]),_:1})}}});const U=D(E,[["__scopeId","data-v-78e23fed"]]);export{U as default}; +import{d as V,r as l,o as t,i as r,w as a,j as i,p as b,n as o,E as x,H as m,a4 as R,l as _,F as d,k as g,a0 as B,K as T,q as A,m as f,t as D}from"./index-c6bd05ee.js";import{A as I}from"./AppCollection-6aabd095.js";import{S as L}from"./StatusBadge-07ca9e6a.js";import{S as N}from"./SummaryView-227f39d3.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const E=V({__name:"ServiceListView",setup(K){return($,q)=>{const h=l("RouteTitle"),u=l("RouterLink"),w=l("KCard"),C=l("RouterView"),S=l("AppView"),v=l("DataSource"),z=l("RouteView");return t(),r(v,{src:"/me"},{default:a(({data:y})=>[y?(t(),r(z,{key:0,name:"service-list-view",params:{page:1,size:y.pageSize,mesh:"",service:""}},{default:a(({route:s,t:c})=>[i(v,{src:`/meshes/${s.params.mesh}/service-insights?page=${s.params.page}&size=${s.params.size}`},{default:a(({data:n,error:p})=>[i(S,null,{title:a(()=>[b("h2",null,[i(h,{title:c("services.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[o(),i(w,null,{body:a(()=>[p!==void 0?(t(),r(x,{key:0,error:p},null,8,["error"])):(t(),r(I,{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":parseInt(s.params.page),"page-size":parseInt(s.params.size),total:n==null?void 0:n.total,items:n==null?void 0:n.items,error:p,"is-selected-row":e=>e.name===s.params.service,onChange:s.update},{name:a(({row:e})=>[i(u,{to:{name:"service-detail-view",params:{mesh:e.mesh,service:e.name},query:{page:s.params.page,size:s.params.size}}},{default:a(()=>[o(m(e.name),1)]),_:2},1032,["to"])]),serviceType:a(({rowValue:e})=>[o(m(e||"internal"),1)]),addressPort:a(({rowValue:e})=>[e?(t(),r(R,{key:0,text:e},null,8,["text"])):(t(),_(d,{key:1},[o(m(c("common.collection.none")),1)],64))]),online:a(({row:e})=>[e.dataplanes?(t(),_(d,{key:0},[o(m(e.dataplanes.online||0)+" / "+m(e.dataplanes.total||0),1)],64)):(t(),_(d,{key:1},[o(m(c("common.collection.none")),1)],64))]),status:a(({row:e})=>[i(L,{status:e.status||"not_available"},null,8,["status"])]),details:a(({row:e})=>[i(u,{class:"details-link","data-testid":"details-link",to:{name:"service-detail-view",params:{mesh:e.mesh,service:e.name}}},{default:a(()=>[o(m(c("common.collection.details_link"))+" ",1),i(g(B),{display:"inline-block",decorative:"",size:g(T)},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),o(),s.params.service?(t(),r(C,{key:0},{default:a(e=>[i(N,{onClose:k=>s.replace({name:"service-list-view",params:{mesh:s.params.mesh},query:{page:s.params.page,size:s.params.size}})},{default:a(()=>[(t(),r(A(e.Component),{name:s.params.service,service:n==null?void 0:n.items.find(k=>k.name===s.params.service)},null,8,["name","service"]))]),_:2},1032,["onClose"])]),_:2},1024)):f("",!0)]),_:2},1024)]),_:2},1032,["src"])]),_:2},1032,["params"])):f("",!0)]),_:1})}}});const U=D(E,[["__scopeId","data-v-78e23fed"]]);export{U as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-18076106.js b/app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-e524679b.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-18076106.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-e524679b.js index 214c8a7cf6d1..ced20bb61752 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-18076106.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceSummaryView-e524679b.js @@ -1 +1 @@ -import{d as D,g as I,Q as A,r as v,o as t,i as l,w as e,j as i,p as m,n as s,k as a,H as r,l as d,E as w,x,a7 as y,a4 as V,m as S,F as N,a1 as P,D as E,G as L,a9 as F,t as j}from"./index-968489e2.js";import{_ as h}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";import{_ as G}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-6a86b5a6.js";import{S as H}from"./StatusBadge-8d0ad2da.js";import{T as K}from"./TagList-d18d96c7.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./toYaml-4e00099e.js";const Q=_=>(E("data-v-43e6f1df"),_=_(),L(),_),W={class:"summary-title-wrapper"},q=Q(()=>m("img",{"aria-hidden":"true",src:F},null,-1)),z={class:"summary-title"},J={key:1,class:"stack"},M={class:"mt-4"},O={key:0},U={key:3,class:"stack"},X={key:1,class:"stack"},Y={key:0},Z={class:"mt-4"},ee=D({__name:"ServiceSummaryView",props:{service:{default:void 0}},setup(_){const{t:o}=I(),T=A(),c=_;return(te,se)=>{const b=v("RouteTitle"),B=v("RouterLink"),f=v("DataSource"),R=v("AppView"),$=v("RouteView");return t(),l($,{name:"service-summary-view",params:{mesh:"",service:""}},{default:e(({route:p})=>[i(R,null,{title:e(()=>[m("div",W,[q,s(),m("h2",z,[i(B,{to:{name:"service-detail-view",params:{service:p.params.service}}},{default:e(()=>[i(b,{title:a(o)("services.routes.item.title",{name:p.params.service}),render:!0},null,8,["title"])]),_:2},1032,["to"])])])]),default:e(()=>{var k,g;return[s(),c.service===void 0?(t(),l(h,{key:0},{message:e(()=>[m("p",null,r(a(o)("common.collection.summary.empty_message",{type:"Service"})),1)]),default:e(()=>[s(r(a(o)("common.collection.summary.empty_title",{type:"Service"}))+" ",1)]),_:1})):(t(),d("div",J,[m("div",null,[m("h3",null,r(a(o)("services.routes.item.overview")),1),s(),m("div",M,[c.service.serviceType==="external"?(t(),d("div",O,[i(f,{src:`/meshes/${c.service.mesh}/external-services/for/${c.service.name}`},{default:e(({data:n,error:u})=>[u?(t(),l(w,{key:0,error:u},null,8,["error"])):n===void 0?(t(),l(x,{key:1})):n===null?(t(),l(h,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[m("p",null,r(a(o)("services.detail.no_matching_external_service",{name:c.service.name})),1)]),_:1})):(t(),d("div",U,[i(y,null,{title:e(()=>[s(r(a(o)("http.api.property.address")),1)]),body:e(()=>[i(V,{text:n.networking.address},null,8,["text"])]),_:2},1024),s(),n.tags!==null?(t(),l(y,{key:0},{title:e(()=>[s(r(a(o)("http.api.property.tags")),1)]),body:e(()=>[i(K,{tags:n.tags},null,8,["tags"])]),_:2},1024)):S("",!0)]))]),_:1},8,["src"])])):(t(),d("div",X,[i(y,null,{title:e(()=>[s(r(a(o)("http.api.property.status")),1)]),body:e(()=>[i(H,{status:c.service.status??"not_available"},null,8,["status"])]),_:1}),s(),i(y,null,{title:e(()=>[s(r(a(o)("http.api.property.address")),1)]),body:e(()=>[c.service.addressPort?(t(),l(V,{key:0,text:c.service.addressPort},null,8,["text"])):(t(),d(N,{key:1},[s(r(a(o)("common.detail.none")),1)],64))]),_:1}),s(),i(P,{online:((k=c.service.dataplanes)==null?void 0:k.online)??0,total:((g=c.service.dataplanes)==null?void 0:g.total)??0},{title:e(()=>[s(r(a(o)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])]))])]),s(),c.service.serviceType==="external"?(t(),d("div",Y,[m("h3",null,r(a(o)("services.routes.item.config")),1),s(),m("div",Z,[i(f,{src:`/meshes/${p.params.mesh}/external-services/for/${p.params.service}`},{default:e(({data:n,error:u})=>[u?(t(),l(w,{key:0,error:u},null,8,["error"])):n===void 0?(t(),l(x,{key:1})):n===null?(t(),l(h,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[m("p",null,r(a(o)("services.detail.no_matching_external_service",{name:p.params.service})),1)]),_:2},1024)):(t(),l(G,{key:3,id:"code-block-service",resource:n,"resource-fetcher":C=>a(T).getExternalService({mesh:n.mesh,name:n.name},C),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])])])):S("",!0)]))]}),_:2},1024)]),_:1})}}});const me=j(ee,[["__scopeId","data-v-43e6f1df"]]);export{me as default}; +import{d as D,g as I,Q as A,r as v,o as t,i as l,w as e,j as i,p as m,n as s,k as a,H as r,l as d,E as w,x,a7 as y,a4 as V,m as S,F as N,a1 as P,D as E,G as L,a9 as F,t as j}from"./index-c6bd05ee.js";import{_ as h}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";import{_ as G}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-2db43314.js";import{S as H}from"./StatusBadge-07ca9e6a.js";import{T as K}from"./TagList-8ab14f5f.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./toYaml-4e00099e.js";const Q=_=>(E("data-v-43e6f1df"),_=_(),L(),_),W={class:"summary-title-wrapper"},q=Q(()=>m("img",{"aria-hidden":"true",src:F},null,-1)),z={class:"summary-title"},J={key:1,class:"stack"},M={class:"mt-4"},O={key:0},U={key:3,class:"stack"},X={key:1,class:"stack"},Y={key:0},Z={class:"mt-4"},ee=D({__name:"ServiceSummaryView",props:{service:{default:void 0}},setup(_){const{t:o}=I(),T=A(),c=_;return(te,se)=>{const b=v("RouteTitle"),B=v("RouterLink"),f=v("DataSource"),R=v("AppView"),$=v("RouteView");return t(),l($,{name:"service-summary-view",params:{mesh:"",service:""}},{default:e(({route:p})=>[i(R,null,{title:e(()=>[m("div",W,[q,s(),m("h2",z,[i(B,{to:{name:"service-detail-view",params:{service:p.params.service}}},{default:e(()=>[i(b,{title:a(o)("services.routes.item.title",{name:p.params.service}),render:!0},null,8,["title"])]),_:2},1032,["to"])])])]),default:e(()=>{var k,g;return[s(),c.service===void 0?(t(),l(h,{key:0},{message:e(()=>[m("p",null,r(a(o)("common.collection.summary.empty_message",{type:"Service"})),1)]),default:e(()=>[s(r(a(o)("common.collection.summary.empty_title",{type:"Service"}))+" ",1)]),_:1})):(t(),d("div",J,[m("div",null,[m("h3",null,r(a(o)("services.routes.item.overview")),1),s(),m("div",M,[c.service.serviceType==="external"?(t(),d("div",O,[i(f,{src:`/meshes/${c.service.mesh}/external-services/for/${c.service.name}`},{default:e(({data:n,error:u})=>[u?(t(),l(w,{key:0,error:u},null,8,["error"])):n===void 0?(t(),l(x,{key:1})):n===null?(t(),l(h,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[m("p",null,r(a(o)("services.detail.no_matching_external_service",{name:c.service.name})),1)]),_:1})):(t(),d("div",U,[i(y,null,{title:e(()=>[s(r(a(o)("http.api.property.address")),1)]),body:e(()=>[i(V,{text:n.networking.address},null,8,["text"])]),_:2},1024),s(),n.tags!==null?(t(),l(y,{key:0},{title:e(()=>[s(r(a(o)("http.api.property.tags")),1)]),body:e(()=>[i(K,{tags:n.tags},null,8,["tags"])]),_:2},1024)):S("",!0)]))]),_:1},8,["src"])])):(t(),d("div",X,[i(y,null,{title:e(()=>[s(r(a(o)("http.api.property.status")),1)]),body:e(()=>[i(H,{status:c.service.status??"not_available"},null,8,["status"])]),_:1}),s(),i(y,null,{title:e(()=>[s(r(a(o)("http.api.property.address")),1)]),body:e(()=>[c.service.addressPort?(t(),l(V,{key:0,text:c.service.addressPort},null,8,["text"])):(t(),d(N,{key:1},[s(r(a(o)("common.detail.none")),1)],64))]),_:1}),s(),i(P,{online:((k=c.service.dataplanes)==null?void 0:k.online)??0,total:((g=c.service.dataplanes)==null?void 0:g.total)??0},{title:e(()=>[s(r(a(o)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])]))])]),s(),c.service.serviceType==="external"?(t(),d("div",Y,[m("h3",null,r(a(o)("services.routes.item.config")),1),s(),m("div",Z,[i(f,{src:`/meshes/${p.params.mesh}/external-services/for/${p.params.service}`},{default:e(({data:n,error:u})=>[u?(t(),l(w,{key:0,error:u},null,8,["error"])):n===void 0?(t(),l(x,{key:1})):n===null?(t(),l(h,{key:2,"data-testid":"no-matching-external-service"},{title:e(()=>[m("p",null,r(a(o)("services.detail.no_matching_external_service",{name:p.params.service})),1)]),_:2},1024)):(t(),l(G,{key:3,id:"code-block-service",resource:n,"resource-fetcher":C=>a(T).getExternalService({mesh:n.mesh,name:n.name},C),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])])])):S("",!0)]))]}),_:2},1024)]),_:1})}}});const me=j(ee,[["__scopeId","data-v-43e6f1df"]]);export{me as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServicesView-8dee0d2f.js b/app/kuma-ui/pkg/resources/data/assets/ServicesView-0be6fb3f.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ServicesView-8dee0d2f.js rename to app/kuma-ui/pkg/resources/data/assets/ServicesView-0be6fb3f.js index 84832e785148..13e223bfeac0 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServicesView-8dee0d2f.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServicesView-0be6fb3f.js @@ -1 +1 @@ -import{d as k,r as s,o as b,i as g,w as e,j as t,p as f,n as a,H as i,k as c,aF as y,K}from"./index-968489e2.js";import{A as C}from"./AppCollection-f3ad81ed.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const S=k({__name:"ServicesView",props:{data:{}},setup(l){const m=l;return(V,z)=>{const p=s("RouteTitle"),r=s("RouterLink"),u=s("KButton"),d=s("KDropdownItem"),_=s("KDropdownMenu"),v=s("KCard"),w=s("AppView"),h=s("RouteView");return b(),g(h,{name:"zone-ingress-services-view"},{default:e(({t:n})=>[t(w,null,{title:e(()=>[f("h2",null,[t(p,{title:n("zone-ingresses.routes.item.navigation.zone-ingress-services-view"),render:!0},null,8,["title"])])]),default:e(()=>[a(),t(v,null,{body:e(()=>[t(C,{"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:m.data.zoneIngress.availableServices},{name:e(({row:o})=>[t(r,{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(r,{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(_,{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[t(u,{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[t(c(y),{size:c(K)},null,8,["size"])]),_: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{S as default}; +import{d as k,r as s,o as b,i as g,w as e,j as t,p as f,n as a,H as i,k as c,aF as y,K}from"./index-c6bd05ee.js";import{A as C}from"./AppCollection-6aabd095.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const S=k({__name:"ServicesView",props:{data:{}},setup(l){const m=l;return(V,z)=>{const p=s("RouteTitle"),r=s("RouterLink"),u=s("KButton"),d=s("KDropdownItem"),_=s("KDropdownMenu"),v=s("KCard"),w=s("AppView"),h=s("RouteView");return b(),g(h,{name:"zone-ingress-services-view"},{default:e(({t:n})=>[t(w,null,{title:e(()=>[f("h2",null,[t(p,{title:n("zone-ingresses.routes.item.navigation.zone-ingress-services-view"),render:!0},null,8,["title"])])]),default:e(()=>[a(),t(v,null,{body:e(()=>[t(C,{"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:m.data.zoneIngress.availableServices},{name:e(({row:o})=>[t(r,{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(r,{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(_,{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[t(u,{class:"non-visual-button",appearance:"secondary",size:"small"},{default:e(()=>[t(c(y),{size:c(K)},null,8,["size"])]),_: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{S as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-7066168a.js b/app/kuma-ui/pkg/resources/data/assets/SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-865f3026.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-7066168a.js rename to app/kuma-ui/pkg/resources/data/assets/SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-865f3026.js index a89dd2352252..12adbdae6a0f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-7066168a.js +++ b/app/kuma-ui/pkg/resources/data/assets/SidecarDataplanePolicyList.vue_vue_type_script_setup_true_lang-865f3026.js @@ -1,4 +1,4 @@ -import{d as S,r as F,o as t,i as h,w as l,l as o,F as r,I as O,p as P,j as d,n as c,H as k,k as I,aa as H,t as M,m as R,h as D}from"./index-968489e2.js";import{A as Y,a as z}from"./AccordionList-9da1a7d6.js";import{_ as G}from"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import{P as J}from"./PolicyTypeTag-89594388.js";import{T as B}from"./TagList-d18d96c7.js";import{t as q}from"./toYaml-4e00099e.js";const K={class:"policy-type-heading"},Q={class:"policy-list"},U={key:0},W=S({__name:"PolicyTypeEntryList",props:{id:{type:String,required:!1,default:"entry-list"},policyTypeEntries:{type:Object,required:!0}},setup(L){const f=[{label:"From",key:"sourceTags"},{label:"To",key:"destinationTags"},{label:"On",key:"name"},{label:"Conf",key:"config"},{label:"Origin policies",key:"origins"}],T=L;function v({headerKey:b}){return{class:`cell-${b}`}}return(b,N)=>{const A=F("router-link");return t(),h(z,{"initially-open":[],"multiple-open":""},{default:l(()=>[(t(!0),o(r,null,O(T.policyTypeEntries,(p,s)=>(t(),h(Y,{key:s},{"accordion-header":l(()=>[P("h3",K,[d(J,{"policy-type":p.type},{default:l(()=>[c(k(p.type)+" ("+k(p.connections.length)+`) +import{d as S,r as F,o as t,i as h,w as l,l as o,F as r,I as O,p as P,j as d,n as c,H as k,k as I,aa as H,t as M,m as R,h as D}from"./index-c6bd05ee.js";import{A as Y,a as z}from"./AccordionList-f11442ab.js";import{_ as G}from"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import{P as J}from"./PolicyTypeTag-55b27c28.js";import{T as B}from"./TagList-8ab14f5f.js";import{t as q}from"./toYaml-4e00099e.js";const K={class:"policy-type-heading"},Q={class:"policy-list"},U={key:0},W=S({__name:"PolicyTypeEntryList",props:{id:{type:String,required:!1,default:"entry-list"},policyTypeEntries:{type:Object,required:!0}},setup(L){const f=[{label:"From",key:"sourceTags"},{label:"To",key:"destinationTags"},{label:"On",key:"name"},{label:"Conf",key:"config"},{label:"Origin policies",key:"origins"}],T=L;function v({headerKey:b}){return{class:`cell-${b}`}}return(b,N)=>{const A=F("router-link");return t(),h(z,{"initially-open":[],"multiple-open":""},{default:l(()=>[(t(!0),o(r,null,O(T.policyTypeEntries,(p,s)=>(t(),h(Y,{key:s},{"accordion-header":l(()=>[P("h3",K,[d(J,{"policy-type":p.type},{default:l(()=>[c(k(p.type)+" ("+k(p.connections.length)+`) `,1)]),_:2},1032,["policy-type"])])]),"accordion-content":l(()=>[P("div",Q,[d(I(H),{class:"policy-type-table",fetcher:()=>({data:p.connections,total:p.connections.length}),headers:f,"cell-attrs":v,"disable-pagination":"","is-clickable":""},{sourceTags:l(({rowValue:e})=>[e.length>0?(t(),h(B,{key:0,class:"tag-list",tags:e},null,8,["tags"])):(t(),o(r,{key:1},[c(` — `)],64))]),destinationTags:l(({rowValue:e})=>[e.length>0?(t(),h(B,{key:0,class:"tag-list",tags:e},null,8,["tags"])):(t(),o(r,{key:1},[c(` diff --git a/app/kuma-ui/pkg/resources/data/assets/StatsView-95084413.js b/app/kuma-ui/pkg/resources/data/assets/StatsView-71d6c8cc.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/StatsView-95084413.js rename to app/kuma-ui/pkg/resources/data/assets/StatsView-71d6c8cc.js index 5d7794e2fcec..a6196838393d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/StatsView-95084413.js +++ b/app/kuma-ui/pkg/resources/data/assets/StatsView-71d6c8cc.js @@ -1 +1 @@ -import{E as m}from"./EnvoyData-1bdac64d.js";import{g as l}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-968489e2.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const x=_({__name:"StatsView",props:{data:{}},setup(o){const a=o;return(V,h)=>{const n=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return d(),g(p,{name:"zone-egress-stats-view",params:{zoneEgress:""}},{default:t(({route:c,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(n,{title:u("zone-egresses.routes.item.navigation.zone-egress-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(m,{status:z(l)(a.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${c.params.zoneEgress}/data-path/stats`,"query-key":"envoy-data-stats-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{x as default}; +import{E as m}from"./EnvoyData-cf08b3ca.js";import{g as l}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-c6bd05ee.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const x=_({__name:"StatsView",props:{data:{}},setup(o){const a=o;return(V,h)=>{const n=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return d(),g(p,{name:"zone-egress-stats-view",params:{zoneEgress:""}},{default:t(({route:c,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(n,{title:u("zone-egresses.routes.item.navigation.zone-egress-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(m,{status:z(l)(a.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${c.params.zoneEgress}/data-path/stats`,"query-key":"envoy-data-stats-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/StatsView-47cfd271.js b/app/kuma-ui/pkg/resources/data/assets/StatsView-ee67b5d4.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/StatsView-47cfd271.js rename to app/kuma-ui/pkg/resources/data/assets/StatsView-ee67b5d4.js index 0ccaf9c675c2..9fb283b32bf7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/StatsView-47cfd271.js +++ b/app/kuma-ui/pkg/resources/data/assets/StatsView-ee67b5d4.js @@ -1 +1 @@ -import{E as m}from"./EnvoyData-1bdac64d.js";import{g as l}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-968489e2.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const x=_({__name:"StatsView",props:{data:{}},setup(o){const n=o;return(V,h)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return d(),g(p,{name:"zone-ingress-stats-view",params:{zoneIngress:""}},{default:t(({route:c,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(a,{title:u("zone-ingresses.routes.item.navigation.zone-ingress-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(m,{status:z(l)(n.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/stats`,"query-key":"envoy-data-stats-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{x as default}; +import{E as m}from"./EnvoyData-cf08b3ca.js";import{g as l}from"./dataplane-0a086c06.js";import{d as _,r as e,o as d,i as g,w as t,j as s,p as f,n as w,k as z}from"./index-c6bd05ee.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const x=_({__name:"StatsView",props:{data:{}},setup(o){const n=o;return(V,h)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return d(),g(p,{name:"zone-ingress-stats-view",params:{zoneIngress:""}},{default:t(({route:c,t:u})=>[s(i,null,{title:t(()=>[f("h2",null,[s(a,{title:u("zone-ingresses.routes.item.navigation.zone-ingress-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),s(r,null,{body:t(()=>[s(m,{status:z(l)(n.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/stats`,"query-key":"envoy-data-stats-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/StatusBadge-8d0ad2da.js b/app/kuma-ui/pkg/resources/data/assets/StatusBadge-07ca9e6a.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/StatusBadge-8d0ad2da.js rename to app/kuma-ui/pkg/resources/data/assets/StatusBadge-07ca9e6a.js index e7c1b74476df..5161dc1d91f6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/StatusBadge-8d0ad2da.js +++ b/app/kuma-ui/pkg/resources/data/assets/StatusBadge-07ca9e6a.js @@ -1 +1 @@ -import{t as r,S as l,d as u,g as p,r as i,o as f,i as g,a6 as m,w as s,n,H as c,k as o,j as b,q as v,af as B}from"./index-968489e2.js";const S={};function y(e,t){return l(e.$slots,"default")}const x=r(S,[["render",y]]),C=u({__name:"StatusBadge",props:{status:{}},setup(e){const{t}=p(),_={online:"success",offline:"danger",partially_degraded:"warning",not_available:"neutral",disabled:"neutral"},a=e;return(A,h)=>{const d=i("KBadge");return f(),g(v(a.status==="not_available"?o(B):x),null,m({default:s(()=>[b(d,{class:"status-badge",appearance:_[a.status],"data-testid":"status-badge"},{default:s(()=>[n(c(o(t)(`http.api.value.${a.status}`)),1)]),_:1},8,["appearance"]),n()]),_:2},[a.status==="not_available"?{name:"content",fn:s(()=>[n(c(o(t)("components.status-badge.tooltip.not_available")),1)]),key:"0"}:void 0]),1024)}}});const D=r(C,[["__scopeId","data-v-b7d5eecb"]]);export{D as S}; +import{t as r,S as l,d as u,g as p,r as i,o as f,i as g,a6 as m,w as s,n,H as c,k as o,j as b,q as v,af as B}from"./index-c6bd05ee.js";const S={};function y(e,t){return l(e.$slots,"default")}const x=r(S,[["render",y]]),C=u({__name:"StatusBadge",props:{status:{}},setup(e){const{t}=p(),_={online:"success",offline:"danger",partially_degraded:"warning",not_available:"neutral",disabled:"neutral"},a=e;return(A,h)=>{const d=i("KBadge");return f(),g(v(a.status==="not_available"?o(B):x),null,m({default:s(()=>[b(d,{class:"status-badge",appearance:_[a.status],"data-testid":"status-badge"},{default:s(()=>[n(c(o(t)(`http.api.value.${a.status}`)),1)]),_:1},8,["appearance"]),n()]),_:2},[a.status==="not_available"?{name:"content",fn:s(()=>[n(c(o(t)("components.status-badge.tooltip.not_available")),1)]),key:"0"}:void 0]),1024)}}});const D=r(C,[["__scopeId","data-v-b7d5eecb"]]);export{D as S}; diff --git a/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-dc8319d2.js b/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-1387dfab.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-dc8319d2.js rename to app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-1387dfab.js index bfaa16580596..46c6fc948b8b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-dc8319d2.js +++ b/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-1387dfab.js @@ -1,3 +1,3 @@ -import{A as x,a as B}from"./AccordionList-9da1a7d6.js";import{d as k,g as A,h as b,o,l,i as g,w as v,j as S,k as r,al as P,n as t,H as e,am as R,S as T,m as y,p as n,F as I,I as D,t as j,D as H,G as N}from"./index-968489e2.js";const U={class:"stack"},V={key:1},C={key:0,class:"intro"},O={class:"row"},q={class:"header"},F={class:"header"},E=["data-testid"],G={class:"type"},M=k({__name:"SubscriptionDetails",props:{subscription:{type:Object,required:!0},isDiscoverySubscription:{type:Boolean,default:!1}},setup(d){const{t:c}=A(),p=d,s=b(()=>{var u;let i;if("controlPlaneInstanceId"in p.subscription){const{lastUpdateTime:a,total:_,...m}=p.subscription.status;i=m}else i=((u=p.subscription.status)==null?void 0:u.stat)??{};return i?Object.entries(i).map(([a,_])=>{const{responsesSent:m="0",responsesAcknowledged:h="0",responsesRejected:f="0"}=_;return{type:a,responsesSent:m,responsesAcknowledged:h,responsesRejected:f}}):[]});return(i,u)=>(o(),l("div",U,[s.value.length===0?(o(),g(r(R),{key:0,appearance:"info"},{alertIcon:v(()=>[S(r(P))]),alertMessage:v(()=>[t(e(r(c)("common.detail.subscriptions.no_stats",{id:p.subscription.id})),1)]),_:1})):(o(),l("div",V,[i.$slots.default?(o(),l("div",C,[T(i.$slots,"default",{},void 0,!0)])):y("",!0),t(),n("div",O,[n("div",q,e(r(c)("common.detail.subscriptions.type")),1),t(),n("div",F,e(r(c)("common.detail.subscriptions.responses_sent_acknowledged")),1)]),t(),(o(!0),l(I,null,D(s.value,(a,_)=>(o(),l("div",{key:_,class:"row","data-testid":`subscription-status-${a.type}`},[n("div",G,e(r(c)(`http.api.property.${a.type}`)),1),t(),n("div",null,e(a.responsesSent)+"/"+e(a.responsesAcknowledged),1)],8,E))),128))]))]))}});const z=j(M,[["__scopeId","data-v-9167fa3c"]]),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=>(H("data-v-0cbdfb03"),d=d(),N(),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=k({__name:"SubscriptionHeader",props:{subscription:{type:Object,required:!0}},setup(d){const{t:c,formatIsoDate:p}=A(),s=d,i=b(()=>"globalInstanceId"in s.subscription?s.subscription.globalInstanceId:null),u=b(()=>"controlPlaneInstanceId"in s.subscription?s.subscription.controlPlaneInstanceId:null),a=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:f=0,responsesRejected:L=0}=((w=s.subscription.status)==null?void 0:w.total)??{};return{responsesSent:h,responsesAcknowledged:f,responsesRejected:L}});return(h,f)=>(o(),l("header",W,[n("span",X,[Y,t(),i.value?(o(),l(I,{key:0},[n("b",null,e(r(c)("http.api.property.globalInstanceId")),1),t(": "+e(i.value),1)],64)):u.value?(o(),l(I,{key:1},[n("b",null,e(r(c)("http.api.property.controlPlaneInstanceId")),1),t(": "+e(u.value),1)],64)):y("",!0)]),t(),n("span",null,[Z,t(),n("b",null,e(r(c)("common.detail.subscriptions.connect_time")),1),t(": "+e(a.value),1)]),t(),_.value?(o(),l("span",ss,[es,t(),n("b",null,e(r(c)("common.detail.subscriptions.disconnect_time")),1),t(": "+e(_.value),1)])):y("",!0),t(),n("span",ts,e(r(c)("common.detail.subscriptions.responses_sent_acknowledged"))+`: +import{A as x,a as B}from"./AccordionList-f11442ab.js";import{d as k,g as A,h as b,o,l,i as g,w as v,j as S,k as r,al as P,n as t,H as e,am as R,S as T,m as y,p as n,F as I,I as D,t as j,D as H,G as N}from"./index-c6bd05ee.js";const U={class:"stack"},V={key:1},C={key:0,class:"intro"},O={class:"row"},q={class:"header"},F={class:"header"},E=["data-testid"],G={class:"type"},M=k({__name:"SubscriptionDetails",props:{subscription:{type:Object,required:!0},isDiscoverySubscription:{type:Boolean,default:!1}},setup(d){const{t:c}=A(),p=d,s=b(()=>{var u;let i;if("controlPlaneInstanceId"in p.subscription){const{lastUpdateTime:a,total:_,...m}=p.subscription.status;i=m}else i=((u=p.subscription.status)==null?void 0:u.stat)??{};return i?Object.entries(i).map(([a,_])=>{const{responsesSent:m="0",responsesAcknowledged:h="0",responsesRejected:f="0"}=_;return{type:a,responsesSent:m,responsesAcknowledged:h,responsesRejected:f}}):[]});return(i,u)=>(o(),l("div",U,[s.value.length===0?(o(),g(r(R),{key:0,appearance:"info"},{alertIcon:v(()=>[S(r(P))]),alertMessage:v(()=>[t(e(r(c)("common.detail.subscriptions.no_stats",{id:p.subscription.id})),1)]),_:1})):(o(),l("div",V,[i.$slots.default?(o(),l("div",C,[T(i.$slots,"default",{},void 0,!0)])):y("",!0),t(),n("div",O,[n("div",q,e(r(c)("common.detail.subscriptions.type")),1),t(),n("div",F,e(r(c)("common.detail.subscriptions.responses_sent_acknowledged")),1)]),t(),(o(!0),l(I,null,D(s.value,(a,_)=>(o(),l("div",{key:_,class:"row","data-testid":`subscription-status-${a.type}`},[n("div",G,e(r(c)(`http.api.property.${a.type}`)),1),t(),n("div",null,e(a.responsesSent)+"/"+e(a.responsesAcknowledged),1)],8,E))),128))]))]))}});const z=j(M,[["__scopeId","data-v-9167fa3c"]]),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=>(H("data-v-0cbdfb03"),d=d(),N(),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=k({__name:"SubscriptionHeader",props:{subscription:{type:Object,required:!0}},setup(d){const{t:c,formatIsoDate:p}=A(),s=d,i=b(()=>"globalInstanceId"in s.subscription?s.subscription.globalInstanceId:null),u=b(()=>"controlPlaneInstanceId"in s.subscription?s.subscription.controlPlaneInstanceId:null),a=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:f=0,responsesRejected:L=0}=((w=s.subscription.status)==null?void 0:w.total)??{};return{responsesSent:h,responsesAcknowledged:f,responsesRejected:L}});return(h,f)=>(o(),l("header",W,[n("span",X,[Y,t(),i.value?(o(),l(I,{key:0},[n("b",null,e(r(c)("http.api.property.globalInstanceId")),1),t(": "+e(i.value),1)],64)):u.value?(o(),l(I,{key:1},[n("b",null,e(r(c)("http.api.property.controlPlaneInstanceId")),1),t(": "+e(u.value),1)],64)):y("",!0)]),t(),n("span",null,[Z,t(),n("b",null,e(r(c)("common.detail.subscriptions.connect_time")),1),t(": "+e(a.value),1)]),t(),_.value?(o(),l("span",ss,[es,t(),n("b",null,e(r(c)("common.detail.subscriptions.disconnect_time")),1),t(": "+e(_.value),1)])):y("",!0),t(),n("span",ts,e(r(c)("common.detail.subscriptions.responses_sent_acknowledged"))+`: `+e(m.value.responsesSent)+"/"+e(m.value.responsesAcknowledged),1)]))}});const os=j(ns,[["__scopeId","data-v-0cbdfb03"]]),as=k({__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(B,null,{default:v(()=>[(o(!0),l(I,null,D(p.value,(u,a)=>(o(),g(x,{key:a},{"accordion-header":v(()=>[S(os,{subscription:u},null,8,["subscription"])]),"accordion-content":v(()=>[S(z,{subscription:u},{default:v(()=>[s.$slots.default?T(s.$slots,"default",{key:0}):y("",!0)]),_:2},1032,["subscription"])]),_:2},1024))),128))]),_:3}))}});export{as as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/SummaryView-724c0996.js b/app/kuma-ui/pkg/resources/data/assets/SummaryView-227f39d3.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/SummaryView-724c0996.js rename to app/kuma-ui/pkg/resources/data/assets/SummaryView-227f39d3.js index 2f583bb4c7b3..1af84dc9a3f2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/SummaryView-724c0996.js +++ b/app/kuma-ui/pkg/resources/data/assets/SummaryView-227f39d3.js @@ -1 +1 @@ -import{d as n,r as i,o as l,i as m,w as r,S as _,t as u}from"./index-968489e2.js";const d=n({__name:"SummaryView",emits:["close"],setup(c,{emit:t}){const s=t;return(o,e)=>{const a=i("KSlideout");return l(),m(a,{class:"summary-slideout","close-button-alignment":"end","has-overlay":!1,"is-visible":"","data-testid":"summary",onClose:e[0]||(e[0]=p=>s("close"))},{default:r(()=>[_(o.$slots,"default",{},void 0,!0)]),_:3})}}});const y=u(d,[["__scopeId","data-v-ab733398"]]);export{y as S}; +import{d as n,r as i,o as l,i as m,w as r,S as _,t as u}from"./index-c6bd05ee.js";const d=n({__name:"SummaryView",emits:["close"],setup(c,{emit:t}){const s=t;return(o,e)=>{const a=i("KSlideout");return l(),m(a,{class:"summary-slideout","close-button-alignment":"end","has-overlay":!1,"is-visible":"","data-testid":"summary",onClose:e[0]||(e[0]=p=>s("close"))},{default:r(()=>[_(o.$slots,"default",{},void 0,!0)]),_:3})}}});const y=u(d,[["__scopeId","data-v-ab733398"]]);export{y as S}; diff --git a/app/kuma-ui/pkg/resources/data/assets/TagList-d18d96c7.js b/app/kuma-ui/pkg/resources/data/assets/TagList-8ab14f5f.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/TagList-d18d96c7.js rename to app/kuma-ui/pkg/resources/data/assets/TagList-8ab14f5f.js index 7776b041f40a..aec17a1285a8 100644 --- a/app/kuma-ui/pkg/resources/data/assets/TagList-d18d96c7.js +++ b/app/kuma-ui/pkg/resources/data/assets/TagList-8ab14f5f.js @@ -1 +1 @@ -import{d as f,e as b,a3 as g,h,o as r,l,F as y,I as k,i,w as p,q as x,n as L,H as d,p as w,k as T,an as B,t as z}from"./index-968489e2.js";function C(o){return Object.entries(o??{}).map(([s,a])=>({label:s,value:a}))}const R={class:"tag-list"},j=f({__name:"TagList",props:{tags:{type:Object,required:!0}},setup(o){const s=b(),a=g(),n=o,m=h(()=>(Array.isArray(n.tags)?n.tags:C(n.tags)).map(u=>{const{label:t,value:c}=u,v=_(u);return{label:t,value:c,route:v}}));function _(e){if(e.value!=="*")try{switch(e.label){case"kuma.io/zone":return a.resolve({name:"zone-cp-detail-view",params:{zone:e.value}});case"kuma.io/service":return"mesh"in s.params?a.resolve({name:"service-detail-view",params:{mesh:s.params.mesh,service:e.value}}):void 0;default:return}}catch{return}}return(e,u)=>(r(),l("span",R,[(r(!0),l(y,null,k(m.value,(t,c)=>(r(),i(T(B),{key:c,class:"tag-badge"},{default:p(()=>[(r(),i(x(t.route?"router-link":"span"),{to:t.route},{default:p(()=>[L(d(t.label)+":",1),w("b",null,d(t.value),1)]),_:2},1032,["to"]))]),_:2},1024))),128))]))}});const A=z(j,[["__scopeId","data-v-94e5d380"]]);export{A as T}; +import{d as f,e as b,a3 as g,h,o as r,l,F as y,I as k,i,w as p,q as x,n as L,H as d,p as w,k as T,an as B,t as z}from"./index-c6bd05ee.js";function C(o){return Object.entries(o??{}).map(([s,a])=>({label:s,value:a}))}const R={class:"tag-list"},j=f({__name:"TagList",props:{tags:{type:Object,required:!0}},setup(o){const s=b(),a=g(),n=o,m=h(()=>(Array.isArray(n.tags)?n.tags:C(n.tags)).map(u=>{const{label:t,value:c}=u,v=_(u);return{label:t,value:c,route:v}}));function _(e){if(e.value!=="*")try{switch(e.label){case"kuma.io/zone":return a.resolve({name:"zone-cp-detail-view",params:{zone:e.value}});case"kuma.io/service":return"mesh"in s.params?a.resolve({name:"service-detail-view",params:{mesh:s.params.mesh,service:e.value}}):void 0;default:return}}catch{return}}return(e,u)=>(r(),l("span",R,[(r(!0),l(y,null,k(m.value,(t,c)=>(r(),i(T(B),{key:c,class:"tag-badge"},{default:p(()=>[(r(),i(x(t.route?"router-link":"span"),{to:t.route},{default:p(()=>[L(d(t.label)+":",1),w("b",null,d(t.value),1)]),_:2},1032,["to"]))]),_:2},1024))),128))]))}});const A=z(j,[["__scopeId","data-v-94e5d380"]]);export{A as T}; diff --git a/app/kuma-ui/pkg/resources/data/assets/WelcomeView-8935b36f.js b/app/kuma-ui/pkg/resources/data/assets/WelcomeView-2a19eace.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/WelcomeView-8935b36f.js rename to app/kuma-ui/pkg/resources/data/assets/WelcomeView-2a19eace.js index 530503351d0f..a02e18700bad 100644 --- a/app/kuma-ui/pkg/resources/data/assets/WelcomeView-8935b36f.js +++ b/app/kuma-ui/pkg/resources/data/assets/WelcomeView-2a19eace.js @@ -1,4 +1,4 @@ -import{d as h,y as I,z as N,o as s,l as r,n as a,B as S,C as m,D as g,G as M,p as t,t as f,r as l,i as u,w as o,j as n,H as i,I as C,k as _,X as L,K as A,m as H,F as O}from"./index-968489e2.js";import{O as W,a as z,b as $}from"./OnboardingPage-b3657084.js";const B=e=>(g("data-v-b31b8343"),e=e(),M(),e),G=B(()=>t("defs",null,null,-1)),R=m(' ',1),T=m('
',1),j=h({__name:"WelcomeAnimationSvg",setup(e){const v=I(!1);return N(function(){window.setTimeout(()=>{v.value=!0},30)}),(y,c)=>(s(),r("svg",{class:S(["background svg",{active:v.value}]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1080"},[G,a(),R,a(),T],2))}});const E=f(j,[["__scopeId","data-v-b31b8343"]]),w=e=>(g("data-v-29a8fc74"),e=e(),M(),e),K=w(()=>t("strong",null,"few minutes",-1)),D={"data-testid":"kuma-environment"},F=w(()=>t("h2",{class:"text-center"},` +import{d as h,y as I,z as N,o as s,l as r,n as a,B as S,C as m,D as g,G as M,p as t,t as f,r as l,i as u,w as o,j as n,H as i,I as C,k as _,X as L,K as A,m as H,F as O}from"./index-c6bd05ee.js";import{O as W,a as z,b as $}from"./OnboardingPage-7bcb094e.js";const B=e=>(g("data-v-b31b8343"),e=e(),M(),e),G=B(()=>t("defs",null,null,-1)),R=m(' ',1),T=m('
',1),j=h({__name:"WelcomeAnimationSvg",setup(e){const v=I(!1);return N(function(){window.setTimeout(()=>{v.value=!0},30)}),(y,c)=>(s(),r("svg",{class:S(["background svg",{active:v.value}]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1080"},[G,a(),R,a(),T],2))}});const E=f(j,[["__scopeId","data-v-b31b8343"]]),w=e=>(g("data-v-29a8fc74"),e=e(),M(),e),K=w(()=>t("strong",null,"few minutes",-1)),D={"data-testid":"kuma-environment"},F=w(()=>t("h2",{class:"text-center"},` Let’s get started: `,-1)),U={class:"item-status-list-wrapper"},X={class:"item-status-list"},P={class:"circle mr-2"},Y=h({__name:"WelcomeView",setup(e){return(v,y)=>{const c=l("RouteTitle"),V=l("AppView"),k=l("RouteView");return s(),u(k,{name:"onboarding-welcome"},{default:o(({env:x,t:d,can:p})=>[n(c,{title:d("onboarding.routes.welcome.title",{name:d("common.product.name")})},null,8,["title"]),a(),n(V,null,{default:o(()=>[t("div",null,[n(W,null,{header:o(()=>[n(z,null,{title:o(()=>[a(` Welcome to `+i(d("common.product.name")),1)]),description:o(()=>[t("p",null,[a(` diff --git a/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-12da1e2f.js b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-dab3faef.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/XdsConfigView-12da1e2f.js rename to app/kuma-ui/pkg/resources/data/assets/XdsConfigView-dab3faef.js index 4767a8b90680..ea6c7c934f7e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-12da1e2f.js +++ b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-dab3faef.js @@ -1 +1 @@ -import{E as m}from"./EnvoyData-1bdac64d.js";import{g as d}from"./dataplane-0a086c06.js";import{d as l,r as e,o as _,i as g,w as t,j as o,p as f,n as w,k as x}from"./index-968489e2.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const k=l({__name:"XdsConfigView",props:{data:{}},setup(s){const n=s;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return _(),g(p,{name:"zone-ingress-xds-config-view",params:{zoneIngress:""}},{default:t(({route:c,t:u})=>[o(i,null,{title:t(()=>[f("h2",null,[o(a,{title:u("zone-ingresses.routes.item.navigation.zone-ingress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),o(r,null,{body:t(()=>[o(m,{status:x(d)(n.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/xds`,"query-key":"envoy-data-xds-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as m}from"./EnvoyData-cf08b3ca.js";import{g as d}from"./dataplane-0a086c06.js";import{d as l,r as e,o as _,i as g,w as t,j as o,p as f,n as w,k as x}from"./index-c6bd05ee.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const k=l({__name:"XdsConfigView",props:{data:{}},setup(s){const n=s;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return _(),g(p,{name:"zone-ingress-xds-config-view",params:{zoneIngress:""}},{default:t(({route:c,t:u})=>[o(i,null,{title:t(()=>[f("h2",null,[o(a,{title:u("zone-ingresses.routes.item.navigation.zone-ingress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),o(r,null,{body:t(()=>[o(m,{status:x(d)(n.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${c.params.zoneIngress}/data-path/xds`,"query-key":"envoy-data-xds-zone-ingress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-59a5aaaa.js b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-e7c5782a.js similarity index 74% rename from app/kuma-ui/pkg/resources/data/assets/XdsConfigView-59a5aaaa.js rename to app/kuma-ui/pkg/resources/data/assets/XdsConfigView-e7c5782a.js index d9ba8f2d8ca2..03bb50b7dfd4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-59a5aaaa.js +++ b/app/kuma-ui/pkg/resources/data/assets/XdsConfigView-e7c5782a.js @@ -1 +1 @@ -import{E as m}from"./EnvoyData-1bdac64d.js";import{g as d}from"./dataplane-0a086c06.js";import{d as l,r as e,o as _,i as g,w as t,j as o,p as f,n as w,k as x}from"./index-968489e2.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-bdaa0f8d.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const k=l({__name:"XdsConfigView",props:{data:{}},setup(s){const n=s;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return _(),g(p,{name:"zone-egress-xds-config-view",params:{zoneEgress:""}},{default:t(({route:c,t:u})=>[o(i,null,{title:t(()=>[f("h2",null,[o(a,{title:u("zone-egresses.routes.item.navigation.zone-egress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),o(r,null,{body:t(()=>[o(m,{status:x(d)(n.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${c.params.zoneEgress}/data-path/xds`,"query-key":"envoy-data-xds-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; +import{E as m}from"./EnvoyData-cf08b3ca.js";import{g as d}from"./dataplane-0a086c06.js";import{d as l,r as e,o as _,i as g,w as t,j as o,p as f,n as w,k as x}from"./index-c6bd05ee.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-6263869b.js";import"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const k=l({__name:"XdsConfigView",props:{data:{}},setup(s){const n=s;return(z,V)=>{const a=e("RouteTitle"),r=e("KCard"),i=e("AppView"),p=e("RouteView");return _(),g(p,{name:"zone-egress-xds-config-view",params:{zoneEgress:""}},{default:t(({route:c,t:u})=>[o(i,null,{title:t(()=>[f("h2",null,[o(a,{title:u("zone-egresses.routes.item.navigation.zone-egress-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[w(),o(r,null,{body:t(()=>[o(m,{status:x(d)(n.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${c.params.zoneEgress}/data-path/xds`,"query-key":"envoy-data-xds-zone-egress"},null,8,["status","src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-467ce745.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-cddf83e2.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-467ce745.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-cddf83e2.js index 55bf940e278d..fd56bd88a5ad 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-467ce745.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressSummaryView-cddf83e2.js @@ -1 +1 @@ -import{d as w,g as f,h as y,o as l,l as _,j as r,w as s,n as o,H as m,k as i,a7 as h,i as d,a4 as S,F as x,r as u,p as c,D as V,G as k,aJ as I,t as B}from"./index-968489e2.js";import{S as O}from"./StatusBadge-8d0ad2da.js";import{g as R}from"./dataplane-0a086c06.js";import{_ as Z}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const C={class:"stack"},$=w({__name:"ZoneEgressSummary",props:{zoneEgressOverview:{}},setup(a){const{t}=f(),n=a,v=y(()=>R(n.zoneEgressOverview.zoneEgressInsight)),p=y(()=>{const{networking:e}=n.zoneEgressOverview.zoneEgress;return e!=null&&e.address&&(e!=null&&e.port)?`${e.address}:${e.port}`:null});return(e,g)=>(l(),_("div",C,[r(h,null,{title:s(()=>[o(m(i(t)("http.api.property.status")),1)]),body:s(()=>[r(O,{status:v.value},null,8,["status"])]),_:1}),o(),r(h,null,{title:s(()=>[o(m(i(t)("http.api.property.address")),1)]),body:s(()=>[p.value?(l(),d(S,{key:0,text:p.value},null,8,["text"])):(l(),_(x,{key:1},[o(m(i(t)("common.detail.none")),1)],64))]),_:1})]))}}),T=a=>(V("data-v-045cd45c"),a=a(),k(),a),D={class:"summary-title-wrapper"},F=T(()=>c("img",{"aria-hidden":"true",src:I},null,-1)),N={class:"summary-title"},b={key:1,class:"stack"},A=w({__name:"ZoneEgressSummaryView",props:{name:{},zoneEgressOverview:{default:void 0}},setup(a){const{t}=f(),n=a;return(v,p)=>{const e=u("RouteTitle"),g=u("RouterLink"),z=u("AppView"),E=u("RouteView");return l(),d(E,{name:"zone-egress-summary-view"},{default:s(()=>[r(z,null,{title:s(()=>[c("div",D,[F,o(),c("h2",N,[r(g,{to:{name:"zone-egress-detail-view",params:{zone:n.name}}},{default:s(()=>[r(e,{title:i(t)("zone-egresses.routes.item.title",{name:n.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:s(()=>[o(),n.zoneEgressOverview===void 0?(l(),d(Z,{key:0},{message:s(()=>[c("p",null,m(i(t)("common.collection.summary.empty_message",{type:"ZoneEgress"})),1)]),default:s(()=>[o(m(i(t)("common.collection.summary.empty_title",{type:"ZoneEgress"}))+" ",1)]),_:1})):(l(),_("div",b,[c("div",null,[c("h3",null,m(i(t)("zone-egresses.routes.item.overview")),1),o(),r($,{class:"mt-4","zone-egress-overview":n.zoneEgressOverview},null,8,["zone-egress-overview"])])]))]),_:1})]),_:1})}}});const J=B(A,[["__scopeId","data-v-045cd45c"]]);export{J as default}; +import{d as w,g as f,h as y,o as l,l as _,j as r,w as s,n as o,H as m,k as i,a7 as h,i as d,a4 as S,F as x,r as u,p as c,D as V,G as k,aJ as I,t as B}from"./index-c6bd05ee.js";import{S as O}from"./StatusBadge-07ca9e6a.js";import{g as R}from"./dataplane-0a086c06.js";import{_ as Z}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const C={class:"stack"},$=w({__name:"ZoneEgressSummary",props:{zoneEgressOverview:{}},setup(a){const{t}=f(),n=a,v=y(()=>R(n.zoneEgressOverview.zoneEgressInsight)),p=y(()=>{const{networking:e}=n.zoneEgressOverview.zoneEgress;return e!=null&&e.address&&(e!=null&&e.port)?`${e.address}:${e.port}`:null});return(e,g)=>(l(),_("div",C,[r(h,null,{title:s(()=>[o(m(i(t)("http.api.property.status")),1)]),body:s(()=>[r(O,{status:v.value},null,8,["status"])]),_:1}),o(),r(h,null,{title:s(()=>[o(m(i(t)("http.api.property.address")),1)]),body:s(()=>[p.value?(l(),d(S,{key:0,text:p.value},null,8,["text"])):(l(),_(x,{key:1},[o(m(i(t)("common.detail.none")),1)],64))]),_:1})]))}}),T=a=>(V("data-v-045cd45c"),a=a(),k(),a),D={class:"summary-title-wrapper"},F=T(()=>c("img",{"aria-hidden":"true",src:I},null,-1)),N={class:"summary-title"},b={key:1,class:"stack"},A=w({__name:"ZoneEgressSummaryView",props:{name:{},zoneEgressOverview:{default:void 0}},setup(a){const{t}=f(),n=a;return(v,p)=>{const e=u("RouteTitle"),g=u("RouterLink"),z=u("AppView"),E=u("RouteView");return l(),d(E,{name:"zone-egress-summary-view"},{default:s(()=>[r(z,null,{title:s(()=>[c("div",D,[F,o(),c("h2",N,[r(g,{to:{name:"zone-egress-detail-view",params:{zone:n.name}}},{default:s(()=>[r(e,{title:i(t)("zone-egresses.routes.item.title",{name:n.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:s(()=>[o(),n.zoneEgressOverview===void 0?(l(),d(Z,{key:0},{message:s(()=>[c("p",null,m(i(t)("common.collection.summary.empty_message",{type:"ZoneEgress"})),1)]),default:s(()=>[o(m(i(t)("common.collection.summary.empty_title",{type:"ZoneEgress"}))+" ",1)]),_:1})):(l(),_("div",b,[c("div",null,[c("h3",null,m(i(t)("zone-egresses.routes.item.overview")),1),o(),r($,{class:"mt-4","zone-egress-overview":n.zoneEgressOverview},null,8,["zone-egress-overview"])])]))]),_:1})]),_:1})}}});const J=B(A,[["__scopeId","data-v-045cd45c"]]);export{J as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-6e882fcd.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-07d432e0.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-6e882fcd.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-07d432e0.js index 27b85f7b2804..0e19582eb3f3 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-6e882fcd.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressSummaryView-07d432e0.js @@ -1 +1 @@ -import{d as z,g as x,h as y,o as a,l as p,j as d,w as s,n as t,H as i,k as n,a7 as g,i as _,a4 as f,F as w,r as m,p as u,D as V,G as k,aJ as O,t as $}from"./index-968489e2.js";import{S as A}from"./StatusBadge-8d0ad2da.js";import{g as B}from"./dataplane-0a086c06.js";import{_ as R}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const Z={class:"stack"},C=z({__name:"ZoneIngressSummary",props:{zoneIngressOverview:{}},setup(l){const{t:o}=x(),r=l,I=y(()=>B(r.zoneIngressOverview.zoneIngressInsight)),v=y(()=>{const{networking:e}=r.zoneIngressOverview.zoneIngress;return e!=null&&e.address&&(e!=null&&e.port)?`${e.address}:${e.port}`:null}),c=y(()=>{const{networking:e}=r.zoneIngressOverview.zoneIngress;return e!=null&&e.advertisedAddress&&(e!=null&&e.advertisedPort)?`${e.advertisedAddress}:${e.advertisedPort}`:null});return(e,h)=>(a(),p("div",Z,[d(g,null,{title:s(()=>[t(i(n(o)("http.api.property.status")),1)]),body:s(()=>[d(A,{status:I.value},null,8,["status"])]),_:1}),t(),d(g,null,{title:s(()=>[t(i(n(o)("http.api.property.address")),1)]),body:s(()=>[v.value?(a(),_(f,{key:0,text:v.value},null,8,["text"])):(a(),p(w,{key:1},[t(i(n(o)("common.detail.none")),1)],64))]),_:1}),t(),d(g,null,{title:s(()=>[t(i(n(o)("http.api.property.advertisedAddress")),1)]),body:s(()=>[c.value?(a(),_(f,{key:0,text:c.value},null,8,["text"])):(a(),p(w,{key:1},[t(i(n(o)("common.detail.none")),1)],64))]),_:1})]))}}),T=l=>(V("data-v-d1ae0ed1"),l=l(),k(),l),b={class:"summary-title-wrapper"},D=T(()=>u("img",{"aria-hidden":"true",src:O},null,-1)),F={class:"summary-title"},N={key:1,class:"stack"},L=z({__name:"ZoneIngressSummaryView",props:{name:{},zoneIngressOverview:{default:void 0}},setup(l){const{t:o}=x(),r=l;return(I,v)=>{const c=m("RouteTitle"),e=m("RouterLink"),h=m("AppView"),S=m("RouteView");return a(),_(S,{name:"zone-ingress-summary-view"},{default:s(()=>[d(h,null,{title:s(()=>[u("div",b,[D,t(),u("h2",F,[d(e,{to:{name:"zone-ingress-detail-view",params:{zone:r.name}}},{default:s(()=>[d(c,{title:n(o)("zone-ingresses.routes.item.title",{name:r.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:s(()=>[t(),r.zoneIngressOverview===void 0?(a(),_(R,{key:0},{message:s(()=>[u("p",null,i(n(o)("common.collection.summary.empty_message",{type:"ZoneIngress"})),1)]),default:s(()=>[t(i(n(o)("common.collection.summary.empty_title",{type:"ZoneIngress"}))+" ",1)]),_:1})):(a(),p("div",N,[u("div",null,[u("h3",null,i(n(o)("zone-ingresses.routes.item.overview")),1),t(),d(C,{class:"mt-4","zone-ingress-overview":r.zoneIngressOverview},null,8,["zone-ingress-overview"])])]))]),_:1})]),_:1})}}});const H=$(L,[["__scopeId","data-v-d1ae0ed1"]]);export{H as default}; +import{d as z,g as x,h as y,o as a,l as p,j as d,w as s,n as t,H as i,k as n,a7 as g,i as _,a4 as f,F as w,r as m,p as u,D as V,G as k,aJ as O,t as $}from"./index-c6bd05ee.js";import{S as A}from"./StatusBadge-07ca9e6a.js";import{g as B}from"./dataplane-0a086c06.js";import{_ as R}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const Z={class:"stack"},C=z({__name:"ZoneIngressSummary",props:{zoneIngressOverview:{}},setup(l){const{t:o}=x(),r=l,I=y(()=>B(r.zoneIngressOverview.zoneIngressInsight)),v=y(()=>{const{networking:e}=r.zoneIngressOverview.zoneIngress;return e!=null&&e.address&&(e!=null&&e.port)?`${e.address}:${e.port}`:null}),c=y(()=>{const{networking:e}=r.zoneIngressOverview.zoneIngress;return e!=null&&e.advertisedAddress&&(e!=null&&e.advertisedPort)?`${e.advertisedAddress}:${e.advertisedPort}`:null});return(e,h)=>(a(),p("div",Z,[d(g,null,{title:s(()=>[t(i(n(o)("http.api.property.status")),1)]),body:s(()=>[d(A,{status:I.value},null,8,["status"])]),_:1}),t(),d(g,null,{title:s(()=>[t(i(n(o)("http.api.property.address")),1)]),body:s(()=>[v.value?(a(),_(f,{key:0,text:v.value},null,8,["text"])):(a(),p(w,{key:1},[t(i(n(o)("common.detail.none")),1)],64))]),_:1}),t(),d(g,null,{title:s(()=>[t(i(n(o)("http.api.property.advertisedAddress")),1)]),body:s(()=>[c.value?(a(),_(f,{key:0,text:c.value},null,8,["text"])):(a(),p(w,{key:1},[t(i(n(o)("common.detail.none")),1)],64))]),_:1})]))}}),T=l=>(V("data-v-d1ae0ed1"),l=l(),k(),l),b={class:"summary-title-wrapper"},D=T(()=>u("img",{"aria-hidden":"true",src:O},null,-1)),F={class:"summary-title"},N={key:1,class:"stack"},L=z({__name:"ZoneIngressSummaryView",props:{name:{},zoneIngressOverview:{default:void 0}},setup(l){const{t:o}=x(),r=l;return(I,v)=>{const c=m("RouteTitle"),e=m("RouterLink"),h=m("AppView"),S=m("RouteView");return a(),_(S,{name:"zone-ingress-summary-view"},{default:s(()=>[d(h,null,{title:s(()=>[u("div",b,[D,t(),u("h2",F,[d(e,{to:{name:"zone-ingress-detail-view",params:{zone:r.name}}},{default:s(()=>[d(c,{title:n(o)("zone-ingresses.routes.item.title",{name:r.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:s(()=>[t(),r.zoneIngressOverview===void 0?(a(),_(R,{key:0},{message:s(()=>[u("p",null,i(n(o)("common.collection.summary.empty_message",{type:"ZoneIngress"})),1)]),default:s(()=>[t(i(n(o)("common.collection.summary.empty_title",{type:"ZoneIngress"}))+" ",1)]),_:1})):(a(),p("div",N,[u("div",null,[u("h3",null,i(n(o)("zone-ingresses.routes.item.overview")),1),t(),d(C,{class:"mt-4","zone-ingress-overview":r.zoneIngressOverview},null,8,["zone-ingress-overview"])])]))]),_:1})]),_:1})}}});const H=$(L,[["__scopeId","data-v-d1ae0ed1"]]);export{H as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneSummaryView-af150ff6.js b/app/kuma-ui/pkg/resources/data/assets/ZoneSummaryView-16aa987e.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/ZoneSummaryView-af150ff6.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneSummaryView-16aa987e.js index ea63135bf414..b830a66926e8 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneSummaryView-af150ff6.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneSummaryView-16aa987e.js @@ -1 +1 @@ -import{d as f,g as z,h as u,Y as g,aH as V,aI as Z,o as p,l as S,j as i,w as e,n as t,H as a,k as n,a7 as _,r as l,i as h,p as c,D as b,G as x,aJ as O,t as C}from"./index-968489e2.js";import{S as I}from"./StatusBadge-8d0ad2da.js";import{_ as R}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-741f959e.js";const B={class:"stack"},T=f({__name:"ZoneSummary",props:{zoneOverview:{}},setup(r){const{t:o}=z(),s=r,d=u(()=>g(s.zoneOverview)),v=u(()=>V(s.zoneOverview)),m=u(()=>Z(s.zoneOverview));return(y,w)=>(p(),S("div",B,[i(_,null,{title:e(()=>[t(a(n(o)("http.api.property.status")),1)]),body:e(()=>[i(I,{status:d.value},null,8,["status"])]),_:1}),t(),i(_,null,{title:e(()=>[t(a(n(o)("http.api.property.type")),1)]),body:e(()=>[t(a(n(o)(`common.product.environment.${v.value||"unknown"}`)),1)]),_:1}),t(),i(_,null,{title:e(()=>[t(a(n(o)("zone-cps.routes.item.authentication_type")),1)]),body:e(()=>[t(a(m.value||n(o)("common.not_applicable")),1)]),_:1})]))}}),D=r=>(b("data-v-6806d3b4"),r=r(),x(),r),$={class:"summary-title-wrapper"},A=D(()=>c("img",{"aria-hidden":"true",src:O},null,-1)),N={class:"summary-title"},E={key:1,class:"stack"},H=f({__name:"ZoneSummaryView",props:{name:{},zoneOverview:{default:void 0}},setup(r){const{t:o}=z(),s=r;return(d,v)=>{const m=l("RouteTitle"),y=l("RouterLink"),w=l("AppView"),k=l("RouteView");return p(),h(k,{name:"zone-cp-summary-view"},{default:e(()=>[i(w,null,{title:e(()=>[c("div",$,[A,t(),c("h2",N,[i(y,{to:{name:"zone-cp-detail-view",params:{zone:s.name}}},{default:e(()=>[i(m,{title:n(o)("zone-cps.routes.item.title",{name:s.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:e(()=>[t(),s.zoneOverview===void 0?(p(),h(R,{key:0},{message:e(()=>[c("p",null,a(n(o)("common.collection.summary.empty_message",{type:"Zone"})),1)]),default:e(()=>[t(a(n(o)("common.collection.summary.empty_title",{type:"Zone"}))+" ",1)]),_:1})):(p(),S("div",E,[c("div",null,[c("h3",null,a(n(o)("zone-cps.routes.item.overview")),1),t(),i(T,{class:"mt-4","zone-overview":s.zoneOverview},null,8,["zone-overview"])])]))]),_:1})]),_:1})}}});const G=C(H,[["__scopeId","data-v-6806d3b4"]]);export{G as default}; +import{d as f,g as z,h as u,Y as g,aH as V,aI as Z,o as p,l as S,j as i,w as e,n as t,H as a,k as n,a7 as _,r as l,i as h,p as c,D as b,G as x,aJ as O,t as C}from"./index-c6bd05ee.js";import{S as I}from"./StatusBadge-07ca9e6a.js";import{_ as R}from"./EmptyBlock.vue_vue_type_script_setup_true_lang-fb6e10fa.js";const B={class:"stack"},T=f({__name:"ZoneSummary",props:{zoneOverview:{}},setup(r){const{t:o}=z(),s=r,d=u(()=>g(s.zoneOverview)),v=u(()=>V(s.zoneOverview)),m=u(()=>Z(s.zoneOverview));return(y,w)=>(p(),S("div",B,[i(_,null,{title:e(()=>[t(a(n(o)("http.api.property.status")),1)]),body:e(()=>[i(I,{status:d.value},null,8,["status"])]),_:1}),t(),i(_,null,{title:e(()=>[t(a(n(o)("http.api.property.type")),1)]),body:e(()=>[t(a(n(o)(`common.product.environment.${v.value||"unknown"}`)),1)]),_:1}),t(),i(_,null,{title:e(()=>[t(a(n(o)("zone-cps.routes.item.authentication_type")),1)]),body:e(()=>[t(a(m.value||n(o)("common.not_applicable")),1)]),_:1})]))}}),D=r=>(b("data-v-6806d3b4"),r=r(),x(),r),$={class:"summary-title-wrapper"},A=D(()=>c("img",{"aria-hidden":"true",src:O},null,-1)),N={class:"summary-title"},E={key:1,class:"stack"},H=f({__name:"ZoneSummaryView",props:{name:{},zoneOverview:{default:void 0}},setup(r){const{t:o}=z(),s=r;return(d,v)=>{const m=l("RouteTitle"),y=l("RouterLink"),w=l("AppView"),k=l("RouteView");return p(),h(k,{name:"zone-cp-summary-view"},{default:e(()=>[i(w,null,{title:e(()=>[c("div",$,[A,t(),c("h2",N,[i(y,{to:{name:"zone-cp-detail-view",params:{zone:s.name}}},{default:e(()=>[i(m,{title:n(o)("zone-cps.routes.item.title",{name:s.name}),render:!0},null,8,["title"])]),_:1},8,["to"])])])]),default:e(()=>[t(),s.zoneOverview===void 0?(p(),h(R,{key:0},{message:e(()=>[c("p",null,a(n(o)("common.collection.summary.empty_message",{type:"Zone"})),1)]),default:e(()=>[t(a(n(o)("common.collection.summary.empty_title",{type:"Zone"}))+" ",1)]),_:1})):(p(),S("div",E,[c("div",null,[c("h3",null,a(n(o)("zone-cps.routes.item.overview")),1),t(),i(T,{class:"mt-4","zone-overview":s.zoneOverview},null,8,["zone-overview"])])]))]),_:1})]),_:1})}}});const G=C(H,[["__scopeId","data-v-6806d3b4"]]);export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/index-968489e2.js b/app/kuma-ui/pkg/resources/data/assets/index-c6bd05ee.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/index-968489e2.js rename to app/kuma-ui/pkg/resources/data/assets/index-c6bd05ee.js index bba09bc4b613..a78ec72aa0db 100644 --- a/app/kuma-ui/pkg/resources/data/assets/index-968489e2.js +++ b/app/kuma-ui/pkg/resources/data/assets/index-c6bd05ee.js @@ -1,4 +1,4 @@ -var Eh=Object.defineProperty;var Ah=(e,t,r)=>t in e?Eh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ht=(e,t,r)=>(Ah(e,typeof t!="symbol"?t+"":t,r),r),b2=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var oe=(e,t,r)=>(b2(e,t,"read from private field"),r?r.call(e):t.get(e)),et=(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)},Yt=(e,t,r,n)=>(b2(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var ge=(e,t,r)=>(b2(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 Lh="modulepreload",Dh=function(e,t){return e[0]==="."?new URL(e,t).href:e},A5={},Ce=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Dh(a,n),a in A5)return;A5[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":Lh,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=>({"/control-plane/addresses":async(t,r)=>(r.close(),{http:e("KUMA_API_URL"),kds:"grpcs://:5685"})});var w2=new WeakMap,b8=new Map,Hh=new Map,to;(function(e){e[e.Constant=0]="Constant",e[e.Instance=1]="Instance",e[e.Factory=2]="Factory"})(to||(to={}));var Gr;(function(e){e[e.Container=0]="Container",e[e.Resolution=1]="Resolution",e[e.Singleton=2]="Singleton",e[e.Transient=3]="Transient"})(Gr||(Gr={}));var Th=class{constructor(e){this.impl=e,this.type=to.Constant}},Ih=class{constructor(e){this.impl=e,this.type=to.Factory}},Oh=e=>e.type===to.Factory,Bl=class{constructor(e){this.impl=e,this.type=to.Instance}},Vh=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Container,this.cache=new WeakMap}},Ph=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Resolution}},Nh=class extends Bl{constructor(e){super(e),this.impl=e,this.scope=Gr.Singleton}},$h=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Transient}},Zh=e=>e.type===to.Instance,Rh=e=>e.scope===Gr.Container,zh=e=>e.scope===Gr.Resolution,Fh=e=>e.scope===Gr.Singleton,Uh=e=>Symbol(e),De=e=>{const t=Symbol(e);return{__t:null,__d:e,__s:t,__o:!1,optional:{__t:null,__d:e,__s:t,__o:!0}}},Va=class{constructor(){this.parent=null,this.map=new Map}set(e,t,r=Va.notag){const n=this.map.get(t.__s);n?n.set(r,e):this.map.set(t.__s,new Map().set(r,e))}find(e,t,r){const n=this.map.get(e.__s);if(n!==void 0){if(r){const o=n.get(r);if(o)return o}if(t)for(let o=0,a=t.length;o{t.map.set(n,e(r))}),t}clone(){return this.from(e=>new Map(e))}},w8=Va;w8.notag=Uh("NO_TAG");var jh=class{constructor(e,t,r,n){this.vault=e,this.tokens=t,this.getVault=r,this.condition=n}from(e){const{tokens:t}=this;for(let r=0,n=t.length;rthis.resolveToken(o,r,n,t.split()))}resolveToken(e,t,r,n=new _8){const o=this.vault.get(e,n,t,r);if(o)return this.resolveBinding(o,n);if(!e.__o)throw new Error(`No matching bindings found for '${e.__d}' token.`)}resolveBinding(e,t){return Zh(e)?Fh(e)?this.resolveCache(e,t,()=>e.cache,r=>{e.cache=r}):Rh(e)?this.resolveCache(e,t,()=>e.cache.get(this.vault),r=>{e.cache.set(this.vault,r)}):zh(e)?this.resolveCache(e,t,()=>t.instances.get(e),r=>{t.instances.set(e,r)}):this.createInstance(e.impl,t):Oh(e)?(...r)=>{const n=this.createInstance(e.impl.creator,t);return n instanceof Promise?n.then(o=>ms.resolveInitialization(o,r,e.impl.initializer)):ms.resolveInitialization(n,r,e.impl.initializer)}:e.impl}resolveCache(e,t,r,n){const o=r();if(o!==void 0)return o;const a=this.createInstance(e.impl,t);return n(a),a}createInstance(e,t){const r=this.getParameters(e,t),n=w2.get(e);if(n!==void 0)return n?e(...r):new e(...r);try{const o=e(...r);return w2.set(e,!0),o}catch{const a=new e(...r);return w2.set(e,!1),a}}getParameters(e,t){const r=b8.get(e);if(r)return this.resolveTokens(r,t,Hh.get(e),e);if(e.length===0)return[];throw new Error(`Missing required 'injected' registration of '${e.name}'`)}static resolveInitialization(e,t,r){const n=r==null?void 0:r(e,...t);return n instanceof Promise?n.then(()=>e):e}},Wh=()=>new ms,Qh=(e,...t)=>(b8.set(e,t),e),ese=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jh=function(t){return ep(t)&&!tp(t)};function ep(e){return!!e&&typeof e=="object"}function tp(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||op(e)}var rp=typeof Symbol=="function"&&Symbol.for,np=rp?Symbol.for("react.element"):60103;function op(e){return e.$$typeof===np}function ap(e){return Array.isArray(e)?[]:{}}function di(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ko(ap(e),e,t):e}function ip(e,t,r){return e.concat(t).map(function(n){return di(n,r)})}function sp(e,t){if(!t.customMerge)return Ko;var r=t.customMerge(e);return typeof r=="function"?r:Ko}function lp(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function L5(e){return Object.keys(e).concat(lp(e))}function k8(e,t){try{return t in e}catch{return!1}}function up(e,t){return k8(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function cp(e,t,r){var n={};return r.isMergeableObject(e)&&L5(e).forEach(function(o){n[o]=di(e[o],r)}),L5(t).forEach(function(o){up(e,o)||(k8(e,o)&&r.isMergeableObject(t[o])?n[o]=sp(o,r)(e[o],t[o],r):n[o]=di(t[o],r))}),n}function Ko(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ip,r.isMergeableObject=r.isMergeableObject||Jh,r.cloneUnlessOtherwiseSpecified=di;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):cp(e,t,r):di(t,r)}Ko.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Ko(n,o,r)},{})};var dp=Ko,fp=dp;const hp=Xh(fp),c7=Wh(),pp=(...e)=>[...new Map([...e.flat()]).entries()],mp=e=>{const t=new Map(e);return e.forEach(([r,n])=>{if(typeof n.decorates<"u"){const o=n.decorates,a=t.get(o);if(typeof a<"u"){const{labels:i,...s}=a,l=De("inner"),u=De("inner.wrapper");t.set(l,{...s}),t.set(u,{service:()=>()=>Hl(l)}),t.set(o,{...n,arguments:[u],labels:i})}n.decorates=void 0}}),[...t.entries()]},Hl=e=>c7.get(e),vp=(...e)=>(mp(pp(...e)).forEach(r=>M8(...r)),Hl),Tl=(...e)=>e.map(t=>()=>Hl(t)),ji=new WeakMap,M8=(e,t)=>{const r=c7.bind(e);switch(!0){case"constant"in t:r.toConstant(t.constant);break;case"service"in t:{const n=r.toInstance(t.service);(typeof t.shared>"u"||t.shared===!0)&&n.inSingletonScope();break}}typeof t.labels<"u"&&t.labels.forEach(n=>{ji.has(n)||(ji.set(n,[]),M8(n,{service:()=>ji.get(n).reduce((a,i)=>{try{const s=Hl(i);return Array.isArray(s)?a.concat(s):s instanceof Object?hp(a,s):a}catch(s){throw console.error(s),s}},[])})),ji.get(n).push(e)}),typeof t.arguments<"u"&&typeof t.service<"u"&&(t.arguments.forEach((n,o)=>{if(typeof n>"u")throw new Error(`Unable to find token for argument[${o}]`)}),Qh(t.service,...t.arguments))},a1=(e,t)=>{const r=De(t.description);return c7.bind(r).toConstant(e),r},gp={sources:De("control-planes.sources")},Cp=e=>[[gp.sources,{service:Bh,arguments:[e.env],labels:[e.sources]}]],yp=()=>[{path:"/diagnostics",name:"diagnostics",component:()=>Ce(()=>import("./DiagnosticsView-30390fa8.js"),["./CodeBlock-aa591f34.css"],import.meta.url)}],bp=e=>({"/config":async(t,r)=>(r.close(),await e.getConfig())}),wp=e=>[[De("diagnostics.sources"),{service:bp,arguments:[e.api],labels:[e.sources]}],[De("diagnostics.routes"),{service:yp,labels:[e.routes]}]],_p=()=>[{path:"/onboarding",redirect:{name:"onboarding-welcome"},component:()=>Ce(()=>import("./OnboardingView-04e36203.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./WelcomeView-8935b36f.js"),["./OnboardingPage-88f67fb6.css","./WelcomeView-2c7783bc.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./DeploymentTypes-c654c995.js"),["./OnboardingPage-88f67fb6.css","./DeploymentTypes-caab5d22.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./ConfigurationTypes-e624cf1f.js"),["./OnboardingPage-88f67fb6.css","./ConfigurationTypes-f96b4d1a.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./MultiZoneView-a0b56ce2.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./MultiZoneView-81622d62.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./CreateMesh-54c89961.js"),["./OnboardingPage-88f67fb6.css","./CreateMesh-28969af3.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-services",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./AddNewServices-8879ad37.js"),["./OnboardingPage-88f67fb6.css","./AddNewServices-90574073.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-services-code",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./AddNewServicesCode-c0e0fab6.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./CodeBlock-aa591f34.css","./AddNewServicesCode-02eef6ad.css"],import.meta.url)},{path:"dataplanes-overview",name:"onboarding-dataplanes-overview",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./DataplanesOverview-bdf51de6.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./StatusBadge-307eb0a4.css","./DataplanesOverview-72db9fd9.css"],import.meta.url)},{path:"completed",name:"onboarding-completed",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./CompletedView-a4e971bf.js"),["./OnboardingPage-88f67fb6.css","./CompletedView-6392a0bc.css"],import.meta.url)}]}],kp=e=>[[De("onboarding.routes"),{service:_p,labels:[e.routes]}]];function d7(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o!!r[o.toLowerCase()]:o=>!!r[o]}const kt={},To=[],or=()=>{},Mp=()=>!1,xp=/^on[^a-z]/,Il=e=>xp.test(e),f7=e=>e.startsWith("onUpdate:"),Zt=Object.assign,h7=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Sp=Object.prototype.hasOwnProperty,ot=(e,t)=>Sp.call(e,t),Ve=Array.isArray,Io=e=>Vl(e)==="[object Map]",x8=e=>Vl(e)==="[object Set]",Qe=e=>typeof e=="function",Nt=e=>typeof e=="string",Ol=e=>typeof e=="symbol",Mt=e=>e!==null&&typeof e=="object",S8=e=>(Mt(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),E8=Object.prototype.toString,Vl=e=>E8.call(e),Ep=e=>Vl(e).slice(8,-1),A8=e=>Vl(e)==="[object Object]",p7=e=>Nt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vs=d7(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pl=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Ap=/-(\w)/g,Mr=Pl(e=>e.replace(Ap,(t,r)=>r?r.toUpperCase():"")),Lp=/\B([A-Z])/g,An=Pl(e=>e.replace(Lp,"-$1").toLowerCase()),Nl=Pl(e=>e.charAt(0).toUpperCase()+e.slice(1)),gs=Pl(e=>e?`on${Nl(e)}`:""),ro=(e,t)=>!Object.is(e,t),Cs=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},M0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Dp=e=>{const t=Nt(e)?Number(e):NaN;return isNaN(t)?e:t};let D5;const x0=()=>D5||(D5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ke(e){if(Ve(e)){const t={};for(let r=0;r{if(r){const n=r.split(Hp);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function J(e){let t="";if(Nt(e))t=e;else if(Ve(e))for(let r=0;rNt(e)?e:e==null?"":Ve(e)||Mt(e)&&(e.toString===E8||!Qe(e.toString))?JSON.stringify(e,D8,2):String(e),D8=(e,t)=>t&&t.__v_isRef?D8(e,t.value):Io(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o])=>(r[`${n} =>`]=o,r),{})}:x8(t)?{[`Set(${t.size})`]:[...t.values()]}:Mt(t)&&!Ve(t)&&!A8(t)?String(t):t;let B1;class Pp{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},H8=e=>(e.w&xn)>0,T8=e=>(e.n&xn)>0,Zp=({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"||!Ol(c)&&c>=l)&&s.push(u)})}else switch(r!==void 0&&s.push(i.get(r)),t){case"add":Ve(e)?p7(r)&&s.push(i.get("length")):(s.push(i.get(Jn)),Io(e)&&s.push(i.get(E0)));break;case"delete":Ve(e)||(s.push(i.get(Jn)),Io(e)&&s.push(i.get(E0)));break;case"set":Io(e)&&s.push(i.get(Jn));break}if(s.length===1)s[0]&&A0(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);A0(m7(l))}}function A0(e,t){const r=Ve(e)?e:[...e];for(const n of r)n.computed&&H5(n);for(const n of r)n.computed||H5(n)}function H5(e,t){(e!==tr||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function zp(e,t){var r;return(r=Ps.get(e))==null?void 0:r.get(t)}const Fp=d7("__proto__,__v_isRef,__isVue"),V8=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ol)),T5=Up();function Up(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=it(this);for(let a=0,i=this.length;a{e[t]=function(...r){la();const n=it(this)[t].apply(this,r);return ua(),n}}),e}function jp(e){const t=it(this);return x1(t,"has",e),t.hasOwnProperty(e)}class P8{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"&&n===(o?a?om:R8:a?Z8:$8).get(t))return t;const i=Ve(t);if(!o){if(i&&ot(T5,r))return Reflect.get(T5,r,n);if(r==="hasOwnProperty")return jp}const s=Reflect.get(t,r,n);return(Ol(r)?V8.has(r):Fp(r))||(o||x1(t,"get",r),a)?s:Jt(s)?i&&p7(r)?s:s.value:Mt(s)?o?F8(s):Ln(s):s}}class N8 extends P8{constructor(t=!1){super(!1,t)}set(t,r,n,o){let a=t[r];if(no(a)&&Jt(a)&&!Jt(n))return!1;if(!this._shallow&&(!Ns(n)&&!no(n)&&(a=it(a),n=it(n)),!Ve(t)&&Jt(a)&&!Jt(n)))return a.value=n,!0;const i=Ve(t)&&p7(r)?Number(r)e,$l=e=>Reflect.getPrototypeOf(e);function Yi(e,t,r=!1,n=!1){e=e.__v_raw;const o=it(e),a=it(t);r||(ro(t,a)&&x1(o,"get",t),x1(o,"get",a));const{has:i}=$l(o),s=n?g7:r?b7:fi;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 Gi(e,t=!1){const r=this.__v_raw,n=it(r),o=it(e);return t||(ro(e,o)&&x1(n,"has",e),x1(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function Ki(e,t=!1){return e=e.__v_raw,!t&&x1(it(e),"iterate",Jn),Reflect.get(e,"size",e)}function I5(e){e=it(e);const t=it(this);return $l(t).has.call(t,e)||(t.add(e),Ur(t,"add",e,e)),this}function O5(e,t){t=it(t);const r=it(this),{has:n,get:o}=$l(r);let a=n.call(r,e);a||(e=it(e),a=n.call(r,e));const i=o.call(r,e);return r.set(e,t),a?ro(t,i)&&Ur(r,"set",e,t):Ur(r,"add",e,t),this}function V5(e){const t=it(this),{has:r,get:n}=$l(t);let o=r.call(t,e);o||(e=it(e),o=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return o&&Ur(t,"delete",e,void 0),a}function P5(){const e=it(this),t=e.size!==0,r=e.clear();return t&&Ur(e,"clear",void 0,void 0),r}function qi(e,t){return function(n,o){const a=this,i=a.__v_raw,s=it(i),l=t?g7:e?b7:fi;return!e&&x1(s,"iterate",Jn),i.forEach((u,c)=>n.call(o,l(u),l(c),a))}}function Wi(e,t,r){return function(...n){const o=this.__v_raw,a=it(o),i=Io(a),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...n),c=r?g7:t?b7:fi;return!t&&x1(a,"iterate",l?E0:Jn),{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 tn(e){return function(...t){return e==="delete"?!1:this}}function Wp(){const e={get(a){return Yi(this,a)},get size(){return Ki(this)},has:Gi,add:I5,set:O5,delete:V5,clear:P5,forEach:qi(!1,!1)},t={get(a){return Yi(this,a,!1,!0)},get size(){return Ki(this)},has:Gi,add:I5,set:O5,delete:V5,clear:P5,forEach:qi(!1,!0)},r={get(a){return Yi(this,a,!0)},get size(){return Ki(this,!0)},has(a){return Gi.call(this,a,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:qi(!0,!1)},n={get(a){return Yi(this,a,!0,!0)},get size(){return Ki(this,!0)},has(a){return Gi.call(this,a,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:qi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Wi(a,!1,!1),r[a]=Wi(a,!0,!1),t[a]=Wi(a,!1,!0),n[a]=Wi(a,!0,!0)}),[e,r,t,n]}const[Qp,Xp,Jp,em]=Wp();function C7(e,t){const r=t?e?em:Jp:e?Xp:Qp;return(n,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(ot(r,o)&&o in n?r:n,o,a)}const tm={get:C7(!1,!1)},rm={get:C7(!1,!0)},nm={get:C7(!0,!1)},$8=new WeakMap,Z8=new WeakMap,R8=new WeakMap,om=new WeakMap;function am(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function im(e){return e.__v_skip||!Object.isExtensible(e)?0:am(Ep(e))}function Ln(e){return no(e)?e:y7(e,!1,Gp,tm,$8)}function z8(e){return y7(e,!1,qp,rm,Z8)}function F8(e){return y7(e,!0,Kp,nm,R8)}function y7(e,t,r,n,o){if(!Mt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=im(e);if(i===0)return e;const s=new Proxy(e,i===2?n:r);return o.set(e,s),s}function Oo(e){return no(e)?Oo(e.__v_raw):!!(e&&e.__v_isReactive)}function no(e){return!!(e&&e.__v_isReadonly)}function Ns(e){return!!(e&&e.__v_isShallow)}function U8(e){return Oo(e)||no(e)}function it(e){const t=e&&e.__v_raw;return t?it(t):e}function j8(e){return Vs(e,"__v_skip",!0),e}const fi=e=>Mt(e)?Ln(e):e,b7=e=>Mt(e)?F8(e):e;function Y8(e){wn&&tr&&(e=it(e),O8(e.dep||(e.dep=m7())))}function G8(e,t){e=it(e);const r=e.dep;r&&A0(r)}function Jt(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return K8(e,!1)}function sm(e){return K8(e,!0)}function K8(e,t){return Jt(e)?e:new lm(e,t)}class lm{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:it(t),this._value=r?t:fi(t)}get value(){return Y8(this),this._value}set value(t){const r=this.__v_isShallow||Ns(t)||no(t);t=r?t:it(t),ro(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:fi(t),G8(this))}}function H(e){return Jt(e)?e.value:e}const um={get:(e,t,r)=>H(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Jt(o)&&!Jt(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function q8(e){return Oo(e)?e:new Proxy(e,um)}function cm(e){const t=Ve(e)?new Array(e.length):{};for(const r in e)t[r]=fm(e,r);return t}class dm{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 zp(it(this._object),this._key)}}function fm(e,t,r){const n=e[t];return Jt(n)?n:new dm(e,t,r)}class hm{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 v7(t,()=>{this._dirty||(this._dirty=!0,G8(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=it(this);return Y8(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function pm(e,t,r=!1){let n,o;const a=Qe(e);return a?(n=e,o=or):(n=e.get,o=e.set),new hm(n,o,a||!o,r)}function _n(e,t,r,n){let o;try{o=n?e(...n):e()}catch(a){Zl(a,t,r)}return o}function j1(e,t,r,n){if(Qe(e)){const a=_n(e,t,r,n);return a&&S8(a)&&a.catch(i=>{Zl(i,t,r)}),a}const o=[];for(let a=0;a>>1,o=r1[n],a=pi(o);awr&&r1.splice(t,1)}function Cm(e){Ve(e)?Vo.push(...e):(!Pr||!Pr.includes(e,e.allowRecurse?Fn+1:Fn))&&Vo.push(e),Q8()}function N5(e,t=hi?wr+1:0){for(;tpi(r)-pi(n)),Fn=0;Fne.id==null?1/0:e.id,ym=(e,t)=>{const r=pi(e)-pi(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function J8(e){L0=!1,hi=!0,r1.sort(ym);const t=or;try{for(wr=0;wrNt(h)?h.trim():h)),d&&(o=r.map(M0))}let s,l=n[s=gs(t)]||n[s=gs(Mr(t))];!l&&a&&(l=n[s=gs(An(t))]),l&&j1(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,j1(u,e,6,o)}}function ec(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(!Qe(e)){const l=u=>{const c=ec(u,t,!0);c&&(s=!0,Zt(i,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(Mt(e)&&n.set(e,null),null):(Ve(a)?a.forEach(l=>i[l]=null):Zt(i,a),Mt(e)&&n.set(e,i),i)}function Rl(e,t){return!e||!Il(t)?!1:(t=t.slice(2).replace(/Once$/,""),ot(e,t[0].toLowerCase()+t.slice(1))||ot(e,An(t))||ot(e,t))}let e1=null,zl=null;function $s(e){const t=e1;return e1=e,zl=e&&e.type.__scopeId||null,t}function st(e){zl=e}function lt(){zl=null}function E(e,t=e1,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&W5(-1);const a=$s(t);let i;try{i=e(...o)}finally{$s(a),n._d&&W5(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function _2(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:h,ctx:g,inheritAttrs:_}=e;let C,b;const y=$s(e);try{if(r.shapeFlag&4){const k=o||n;C=yr(c.call(k,k,d,a,h,f,g)),b=l}else{const k=t;C=yr(k.length>1?k(a,{attrs:l,slots:s,emit:u}):k(a,null)),b=t.props?l:wm(l)}}catch(k){qa.length=0,Zl(k,e,1),C=N(I1)}let v=C;if(b&&_!==!1){const k=Object.keys(b),{shapeFlag:B}=v;k.length&&B&7&&(i&&k.some(f7)&&(b=_m(b,i)),v=Kr(v,b))}return r.dirs&&(v=Kr(v),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&(v.transition=r.transition),C=v,$s(y),C}const wm=e=>{let t;for(const r in e)(r==="class"||r==="style"||Il(r))&&((t||(t={}))[r]=e[r]);return t},_m=(e,t)=>{const r={};for(const n in e)(!f7(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function km(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?$5(n,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function Sm(e,t){t&&t.pendingBranch?Ve(e)?t.effects.push(...e):t.effects.push(e):Cm(e)}function tc(e,t){return Fl(e,null,t)}function Em(e,t){return Fl(e,null,{flush:"post"})}const Qi={};function Te(e,t,r){return Fl(e,t,r)}function Fl(e,t,{immediate:r,deep:n,flush:o,onTrack:a,onTrigger:i}=kt){var s;const l=B8()===((s=Kt)==null?void 0:s.scope)?Kt:null;let u,c=!1,d=!1;if(Jt(e)?(u=()=>e.value,c=Ns(e)):Oo(e)?(u=()=>e,n=!0):Ve(e)?(d=!0,c=e.some(k=>Oo(k)||Ns(k)),u=()=>e.map(k=>{if(Jt(k))return k.value;if(Oo(k))return Gn(k);if(Qe(k))return _n(k,l,2)})):Qe(e)?t?u=()=>_n(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return f&&f(),j1(e,l,3,[h])}:u=or,t&&n){const k=u;u=()=>Gn(k())}let f,h=k=>{f=y.onStop=()=>{_n(k,l,4)}},g;if(Ci)if(h=or,t?r&&j1(t,l,3,[u(),d?[]:void 0,h]):u(),o==="sync"){const k=vv();g=k.__watcherHandles||(k.__watcherHandles=[])}else return or;let _=d?new Array(e.length).fill(Qi):Qi;const C=()=>{if(y.active)if(t){const k=y.run();(n||c||(d?k.some((B,$)=>ro(B,_[$])):ro(k,_)))&&(f&&f(),j1(t,l,3,[k,_===Qi?void 0:d&&_[0]===Qi?[]:_,h]),_=k)}else y.run()};C.allowRecurse=!!t;let b;o==="sync"?b=C:o==="post"?b=()=>w1(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),b=()=>_7(C));const y=new v7(u,b);t?r?C():_=y.run():o==="post"?w1(y.run.bind(y),l&&l.suspense):y.run();const v=()=>{y.stop(),l&&l.scope&&h7(l.scope.effects,y)};return g&&g.push(v),v}function Am(e,t,r){const n=this.proxy,o=Nt(e)?e.includes(".")?rc(n,e):()=>n[e]:e.bind(n,n);let a;Qe(t)?a=t:(a=t.handler,r=t);const i=Kt;qo(this);const s=Fl(o,a.bind(n),r);return i?qo(i):eo(),s}function rc(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o{Gn(r,t)});else if(A8(e))for(const r in e)Gn(e[r],t);return e}function Zs(e,t){const r=e1;if(r===null)return e;const n=Kl(r)||r.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),lr(()=>{e.isUnmounting=!0}),e}const P1=[Function,Array],oc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:P1,onEnter:P1,onAfterEnter:P1,onEnterCancelled:P1,onBeforeLeave:P1,onLeave:P1,onAfterLeave:P1,onLeaveCancelled:P1,onBeforeAppear:P1,onAppear:P1,onAfterAppear:P1,onAppearCancelled:P1},Lm={name:"BaseTransition",props:oc,setup(e,{slots:t}){const r=Li(),n=nc();let o;return()=>{const a=t.default&&k7(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const _ of a)if(_.type!==I1){i=_;break}}const s=it(e),{mode:l}=s;if(n.isLeaving)return k2(i);const u=Z5(i);if(!u)return k2(i);const c=mi(u,s,n,r);vi(u,c);const d=r.subTree,f=d&&Z5(d);let h=!1;const{getTransitionKey:g}=u.type;if(g){const _=g();o===void 0?o=_:_!==o&&(o=_,h=!0)}if(f&&f.type!==I1&&(!Un(u,f)||h)){const _=mi(f,s,n,r);if(vi(f,_),l==="out-in")return n.isLeaving=!0,_.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},k2(i);l==="in-out"&&u.type!==I1&&(_.delayLeave=(C,b,y)=>{const v=ac(n,f);v[String(f.key)]=f,C[hn]=()=>{b(),C[hn]=void 0,delete c.delayedLeave},c.delayedLeave=y})}return i}}},Dm=Lm;function ac(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 mi(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:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:C,onAfterAppear:b,onAppearCancelled:y}=t,v=String(e.key),k=ac(r,e),B=(R,D)=>{R&&j1(R,n,9,D)},$=(R,D)=>{const S=D[1];B(R,D),Ve(R)?R.every(z=>z.length<=1)&&S():R.length<=1&&S()},P={mode:a,persisted:i,beforeEnter(R){let D=s;if(!r.isMounted)if(o)D=_||s;else return;R[hn]&&R[hn](!0);const S=k[v];S&&Un(e,S)&&S.el[hn]&&S.el[hn](),B(D,[R])},enter(R){let D=l,S=u,z=c;if(!r.isMounted)if(o)D=C||l,S=b||u,z=y||c;else return;let V=!1;const U=R[Xi]=ie=>{V||(V=!0,ie?B(z,[R]):B(S,[R]),P.delayedLeave&&P.delayedLeave(),R[Xi]=void 0)};D?$(D,[R,U]):U()},leave(R,D){const S=String(e.key);if(R[Xi]&&R[Xi](!0),r.isUnmounting)return D();B(d,[R]);let z=!1;const V=R[hn]=U=>{z||(z=!0,D(),U?B(g,[R]):B(h,[R]),R[hn]=void 0,k[S]===e&&delete k[S])};k[S]=e,f?$(f,[R,V]):V()},clone(R){return mi(R,t,r,n)}};return P}function k2(e){if(Ul(e))return e=Kr(e),e.children=null,e}function Z5(e){return Ul(e)?e.children?e.children[0]:void 0:e}function vi(e,t){e.shapeFlag&6&&e.component?vi(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 k7(e,t=!1,r){let n=[],o=0;for(let a=0;a1)for(let a=0;aZt({name:e.name},t,{setup:e}))():e}const Ya=e=>!!e.type.__asyncLoader,Ul=e=>e.type.__isKeepAlive;function Bm(e,t){ic(e,"a",t)}function Hm(e,t){ic(e,"da",t)}function ic(e,t,r=Kt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(jl(t,n,r),r){let o=r.parent;for(;o&&o.parent;)Ul(o.parent.vnode)&&Tm(n,t,r,o),o=o.parent}}function Tm(e,t,r,n){const o=jl(t,e,n,!0);ur(()=>{h7(n[t],o)},r)}function jl(e,t,r=Kt,n=!1){if(r){const o=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(r.isUnmounted)return;la(),qo(r);const s=j1(t,r,e,i);return eo(),ua(),s});return n?o.unshift(a):o.push(a),a}}const Wr=e=>(t,r=Kt)=>(!Ci||e==="sp")&&jl(e,(...n)=>t(...n),r),Im=Wr("bm"),Ct=Wr("m"),Om=Wr("bu"),sc=Wr("u"),lr=Wr("bum"),ur=Wr("um"),Vm=Wr("sp"),Pm=Wr("rtg"),Nm=Wr("rtc");function $m(e,t=Kt){jl("ec",e,t)}const M7="components";function m1(e,t){return uc(M7,e,!0,t)||e}const lc=Symbol.for("v-ndc");function vt(e){return Nt(e)?uc(M7,e,!1)||e:e||lc}function uc(e,t,r=!0,n=!1){const o=e1||Kt;if(o){const a=o.type;if(e===M7){const s=hv(a,!1);if(s&&(s===t||s===Mr(t)||s===Nl(Mr(t))))return a}const i=R5(o[e]||a[e],t)||R5(o.appContext[e],t);return!i&&n?a:i}}function R5(e,t){return e&&(e[t]||e[Mr(t)]||e[Nl(Mr(t))])}function rt(e,t,r,n){let o;const a=r&&r[n];if(Ve(e)||Nt(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 F(e,t,r={},n,o){if(e1.isCE||e1.parent&&Ya(e1.parent)&&e1.parent.isCE)return t!=="default"&&(r.name=t),N("slot",r,n&&n());let a=e[t];a&&a._c&&(a._d=!1),m();const i=a&&cc(a(r)),s=q(ke,{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 cc(e){return e.some(t=>Fs(t)?!(t.type===I1||t.type===ke&&!cc(t.children)):!0)?e:null}function D0(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:gs(n)]=e[n];return r}const B0=e=>e?_c(e)?Kl(e)||e.proxy:B0(e.parent):null,Ga=Zt(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=>B0(e.parent),$root:e=>B0(e.root),$emit:e=>e.emit,$options:e=>x7(e),$forceUpdate:e=>e.f||(e.f=()=>_7(e.update)),$nextTick:e=>e.n||(e.n=p1.bind(e.proxy)),$watch:e=>Am.bind(e)}),M2=(e,t)=>e!==kt&&!e.__isScriptSetup&&ot(e,t),Zm={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 h=i[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return a[t]}else{if(M2(n,t))return i[t]=1,n[t];if(o!==kt&&ot(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&ot(u,t))return i[t]=3,a[t];if(r!==kt&&ot(r,t))return i[t]=4,r[t];H0&&(i[t]=0)}}const c=Ga[t];let d,f;if(c)return t==="$attrs"&&x1(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(r!==kt&&ot(r,t))return i[t]=4,r[t];if(f=l.config.globalProperties,ot(f,t))return f[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:a}=e;return M2(o,t)?(o[t]=r,!0):n!==kt&&ot(n,t)?(n[t]=r,!0):ot(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!==kt&&ot(e,i)||M2(t,i)||(s=a[0])&&ot(s,i)||ot(n,i)||ot(Ga,i)||ot(o.config.globalProperties,i)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ot(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function It(){return dc().slots}function cr(){return dc().attrs}function dc(){const e=Li();return e.setupContext||(e.setupContext=Mc(e))}function z5(e){return Ve(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let H0=!0;function Rm(e){const t=x7(e),r=e.proxy,n=e.ctx;H0=!1,t.beforeCreate&&F5(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:h,updated:g,activated:_,deactivated:C,beforeDestroy:b,beforeUnmount:y,destroyed:v,unmounted:k,render:B,renderTracked:$,renderTriggered:P,errorCaptured:R,serverPrefetch:D,expose:S,inheritAttrs:z,components:V,directives:U,filters:ie}=t;if(u&&zm(u,n,null),i)for(const ne in i){const be=i[ne];Qe(be)&&(n[ne]=be.bind(r))}if(o){const ne=o.call(r,r);Mt(ne)&&(e.data=Ln(ne))}if(H0=!0,a)for(const ne in a){const be=a[ne],Ye=Qe(be)?be.bind(r,r):Qe(be.get)?be.get.bind(r,r):or,$e=!Qe(be)&&Qe(be.set)?be.set.bind(r):or,qe=A({get:Ye,set:$e});Object.defineProperty(n,ne,{enumerable:!0,configurable:!0,get:()=>qe.value,set:ze=>qe.value=ze})}if(s)for(const ne in s)fc(s[ne],n,r,ne);if(l){const ne=Qe(l)?l.call(r):l;Reflect.ownKeys(ne).forEach(be=>{Po(be,ne[be])})}c&&F5(c,e,"c");function ue(ne,be){Ve(be)?be.forEach(Ye=>ne(Ye.bind(r))):be&&ne(be.bind(r))}if(ue(Im,d),ue(Ct,f),ue(Om,h),ue(sc,g),ue(Bm,_),ue(Hm,C),ue($m,R),ue(Nm,$),ue(Pm,P),ue(lr,y),ue(ur,k),ue(Vm,D),Ve(S))if(S.length){const ne=e.exposed||(e.exposed={});S.forEach(be=>{Object.defineProperty(ne,be,{get:()=>r[be],set:Ye=>r[be]=Ye})})}else e.exposed||(e.exposed={});B&&e.render===or&&(e.render=B),z!=null&&(e.inheritAttrs=z),V&&(e.components=V),U&&(e.directives=U)}function zm(e,t,r=or){Ve(e)&&(e=T0(e));for(const n in e){const o=e[n];let a;Mt(o)?"default"in o?a=M1(o.from||n,o.default,!0):a=M1(o.from||n):a=M1(o),Jt(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[n]=a}}function F5(e,t,r){j1(Ve(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function fc(e,t,r,n){const o=n.includes(".")?rc(r,n):()=>r[n];if(Nt(e)){const a=t[e];Qe(a)&&Te(o,a)}else if(Qe(e))Te(o,e.bind(r));else if(Mt(e))if(Ve(e))e.forEach(a=>fc(a,t,r,n));else{const a=Qe(e.handler)?e.handler.bind(r):t[e.handler];Qe(a)&&Te(o,a,e)}}function x7(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=>Rs(l,u,i,!0)),Rs(l,t,i)),Mt(t)&&a.set(t,l),l}function Rs(e,t,r,n=!1){const{mixins:o,extends:a}=t;a&&Rs(e,a,r,!0),o&&o.forEach(i=>Rs(e,i,r,!0));for(const i in t)if(!(n&&i==="expose")){const s=Fm[i]||r&&r[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const Fm={data:U5,props:j5,emits:j5,methods:Na,computed:Na,beforeCreate:i1,created:i1,beforeMount:i1,mounted:i1,beforeUpdate:i1,updated:i1,beforeDestroy:i1,beforeUnmount:i1,destroyed:i1,unmounted:i1,activated:i1,deactivated:i1,errorCaptured:i1,serverPrefetch:i1,components:Na,directives:Na,watch:jm,provide:U5,inject:Um};function U5(e,t){return t?e?function(){return Zt(Qe(e)?e.call(this,this):e,Qe(t)?t.call(this,this):t)}:t:e}function Um(e,t){return Na(T0(e),T0(t))}function T0(e){if(Ve(e)){const t={};for(let r=0;r1)return r&&Qe(t)?t.call(n&&n.proxy):t}}function Km(e,t,r,n=!1){const o={},a={};Vs(a,Gl,1),e.propsDefaults=Object.create(null),pc(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);r?e.props=n?o:z8(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function qm(e,t,r,n){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=it(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,h]=mc(d,t,!0);Zt(i,f),h&&s.push(...h)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return Mt(e)&&n.set(e,To),To;if(Ve(a))for(let c=0;c-1,h[1]=_<0||g<_,(g>-1||ot(h,"default"))&&s.push(d)}}}const u=[i,s];return Mt(e)&&n.set(e,u),u}function Y5(e){return e[0]!=="$"}function G5(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function K5(e,t){return G5(e)===G5(t)}function q5(e,t){return Ve(t)?t.findIndex(r=>K5(r,e)):Qe(t)&&K5(t,e)?0:-1}const vc=e=>e[0]==="_"||e==="$stable",S7=e=>Ve(e)?e.map(yr):[yr(e)],Wm=(e,t,r)=>{if(t._n)return t;const n=E((...o)=>S7(t(...o)),r);return n._c=!1,n},gc=(e,t,r)=>{const n=e._ctx;for(const o in e){if(vc(o))continue;const a=e[o];if(Qe(a))t[o]=Wm(o,a,n);else if(a!=null){const i=S7(a);t[o]=()=>i}}},Cc=(e,t)=>{const r=S7(t);e.slots.default=()=>r},Qm=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=it(t),Vs(t,"_",r)):gc(t,e.slots={})}else e.slots={},t&&Cc(e,t);Vs(e.slots,Gl,1)},Xm=(e,t,r)=>{const{vnode:n,slots:o}=e;let a=!0,i=kt;if(n.shapeFlag&32){const s=t._;s?r&&s===1?a=!1:(Zt(o,t),!r&&s===1&&delete o._):(a=!t.$stable,gc(t,o)),i=t}else t&&(Cc(e,t),i={default:1});if(a)for(const s in o)!vc(s)&&i[s]==null&&delete o[s]};function O0(e,t,r,n,o=!1){if(Ve(e)){e.forEach((f,h)=>O0(f,t&&(Ve(t)?t[h]:t),r,n,o));return}if(Ya(n)&&!o)return;const a=n.shapeFlag&4?Kl(n.component)||n.component.proxy:n.el,i=o?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===kt?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Nt(u)?(c[u]=null,ot(d,u)&&(d[u]=null)):Jt(u)&&(u.value=null)),Qe(l))_n(l,s,12,[i,c]);else{const f=Nt(l),h=Jt(l);if(f||h){const g=()=>{if(e.f){const _=f?ot(d,l)?d[l]:c[l]:l.value;o?Ve(_)&&h7(_,a):Ve(_)?_.includes(a)||_.push(a):f?(c[l]=[a],ot(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else f?(c[l]=i,ot(d,l)&&(d[l]=i)):h&&(l.value=i,e.k&&(c[e.k]=i))};i?(g.id=-1,w1(g,r)):g()}}}const w1=Sm;function Jm(e){return ev(e)}function ev(e,t){const r=x0();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:h=or,insertStaticContent:g}=e,_=(x,L,I,Q=null,W=null,ee=null,he=!1,ce=null,de=!!L.dynamicChildren)=>{if(x===L)return;x&&!Un(x,L)&&(Q=G(x),ze(x,W,ee,!0),x=null),L.patchFlag===-2&&(de=!1,L.dynamicChildren=null);const{type:le,ref:Ae,shapeFlag:we}=L;switch(le){case Yl:C(x,L,I,Q);break;case I1:b(x,L,I,Q);break;case Ka:x==null&&y(L,I,Q,he);break;case ke:V(x,L,I,Q,W,ee,he,ce,de);break;default:we&1?B(x,L,I,Q,W,ee,he,ce,de):we&6?U(x,L,I,Q,W,ee,he,ce,de):(we&64||we&128)&&le.process(x,L,I,Q,W,ee,he,ce,de,Z)}Ae!=null&&W&&O0(Ae,x&&x.ref,ee,L||x,!L)},C=(x,L,I,Q)=>{if(x==null)n(L.el=s(L.children),I,Q);else{const W=L.el=x.el;L.children!==x.children&&u(W,L.children)}},b=(x,L,I,Q)=>{x==null?n(L.el=l(L.children||""),I,Q):L.el=x.el},y=(x,L,I,Q)=>{[x.el,x.anchor]=g(x.children,L,I,Q,x.el,x.anchor)},v=({el:x,anchor:L},I,Q)=>{let W;for(;x&&x!==L;)W=f(x),n(x,I,Q),x=W;n(L,I,Q)},k=({el:x,anchor:L})=>{let I;for(;x&&x!==L;)I=f(x),o(x),x=I;o(L)},B=(x,L,I,Q,W,ee,he,ce,de)=>{he=he||L.type==="svg",x==null?$(L,I,Q,W,ee,he,ce,de):D(x,L,W,ee,he,ce,de)},$=(x,L,I,Q,W,ee,he,ce)=>{let de,le;const{type:Ae,props:we,shapeFlag:Me,transition:Oe,dirs:re}=x;if(de=x.el=i(x.type,ee,we&&we.is,we),Me&8?c(de,x.children):Me&16&&R(x.children,de,null,Q,W,ee&&Ae!=="foreignObject",he,ce),re&&Tn(x,null,Q,"created"),P(de,x,x.scopeId,he,Q),we){for(const me in we)me!=="value"&&!vs(me)&&a(de,me,null,we[me],ee,x.children,Q,W,Ge);"value"in we&&a(de,"value",null,we.value),(le=we.onVnodeBeforeMount)&&fr(le,Q,x)}re&&Tn(x,null,Q,"beforeMount");const Le=tv(W,Oe);Le&&Oe.beforeEnter(de),n(de,L,I),((le=we&&we.onVnodeMounted)||Le||re)&&w1(()=>{le&&fr(le,Q,x),Le&&Oe.enter(de),re&&Tn(x,null,Q,"mounted")},W)},P=(x,L,I,Q,W)=>{if(I&&h(x,I),Q)for(let ee=0;ee{for(let le=de;le{const ce=L.el=x.el;let{patchFlag:de,dynamicChildren:le,dirs:Ae}=L;de|=x.patchFlag&16;const we=x.props||kt,Me=L.props||kt;let Oe;I&&In(I,!1),(Oe=Me.onVnodeBeforeUpdate)&&fr(Oe,I,L,x),Ae&&Tn(L,x,I,"beforeUpdate"),I&&In(I,!0);const re=W&&L.type!=="foreignObject";if(le?S(x.dynamicChildren,le,ce,I,Q,re,ee):he||be(x,L,ce,null,I,Q,re,ee,!1),de>0){if(de&16)z(ce,L,we,Me,I,Q,W);else if(de&2&&we.class!==Me.class&&a(ce,"class",null,Me.class,W),de&4&&a(ce,"style",we.style,Me.style,W),de&8){const Le=L.dynamicProps;for(let me=0;me{Oe&&fr(Oe,I,L,x),Ae&&Tn(L,x,I,"updated")},Q)},S=(x,L,I,Q,W,ee,he)=>{for(let ce=0;ce{if(I!==Q){if(I!==kt)for(const ce in I)!vs(ce)&&!(ce in Q)&&a(x,ce,I[ce],null,he,L.children,W,ee,Ge);for(const ce in Q){if(vs(ce))continue;const de=Q[ce],le=I[ce];de!==le&&ce!=="value"&&a(x,ce,le,de,he,L.children,W,ee,Ge)}"value"in Q&&a(x,"value",I.value,Q.value)}},V=(x,L,I,Q,W,ee,he,ce,de)=>{const le=L.el=x?x.el:s(""),Ae=L.anchor=x?x.anchor:s("");let{patchFlag:we,dynamicChildren:Me,slotScopeIds:Oe}=L;Oe&&(ce=ce?ce.concat(Oe):Oe),x==null?(n(le,I,Q),n(Ae,I,Q),R(L.children,I,Ae,W,ee,he,ce,de)):we>0&&we&64&&Me&&x.dynamicChildren?(S(x.dynamicChildren,Me,I,W,ee,he,ce),(L.key!=null||W&&L===W.subTree)&&yc(x,L,!0)):be(x,L,I,Ae,W,ee,he,ce,de)},U=(x,L,I,Q,W,ee,he,ce,de)=>{L.slotScopeIds=ce,x==null?L.shapeFlag&512?W.ctx.activate(L,I,Q,he,de):ie(L,I,Q,W,ee,he,de):se(x,L,de)},ie=(x,L,I,Q,W,ee,he)=>{const ce=x.component=uv(x,Q,W);if(Ul(x)&&(ce.ctx.renderer=Z),cv(ce),ce.asyncDep){if(W&&W.registerDep(ce,ue),!x.el){const de=ce.subTree=N(I1);b(null,de,L,I)}return}ue(ce,x,L,I,W,ee,he)},se=(x,L,I)=>{const Q=L.component=x.component;if(km(x,L,I))if(Q.asyncDep&&!Q.asyncResolved){ne(Q,L,I);return}else Q.next=L,gm(Q.update),Q.update();else L.el=x.el,Q.vnode=L},ue=(x,L,I,Q,W,ee,he)=>{const ce=()=>{if(x.isMounted){let{next:Ae,bu:we,u:Me,parent:Oe,vnode:re}=x,Le=Ae,me;In(x,!1),Ae?(Ae.el=re.el,ne(x,Ae,he)):Ae=re,we&&Cs(we),(me=Ae.props&&Ae.props.onVnodeBeforeUpdate)&&fr(me,Oe,Ae,re),In(x,!0);const Pe=_2(x),ft=x.subTree;x.subTree=Pe,_(ft,Pe,d(ft.el),G(ft),x,W,ee),Ae.el=Pe.el,Le===null&&Mm(x,Pe.el),Me&&w1(Me,W),(me=Ae.props&&Ae.props.onVnodeUpdated)&&w1(()=>fr(me,Oe,Ae,re),W)}else{let Ae;const{el:we,props:Me}=L,{bm:Oe,m:re,parent:Le}=x,me=Ya(L);if(In(x,!1),Oe&&Cs(Oe),!me&&(Ae=Me&&Me.onVnodeBeforeMount)&&fr(Ae,Le,L),In(x,!0),we&&ae){const Pe=()=>{x.subTree=_2(x),ae(we,x.subTree,x,W,null)};me?L.type.__asyncLoader().then(()=>!x.isUnmounted&&Pe()):Pe()}else{const Pe=x.subTree=_2(x);_(null,Pe,I,Q,x,W,ee),L.el=Pe.el}if(re&&w1(re,W),!me&&(Ae=Me&&Me.onVnodeMounted)){const Pe=L;w1(()=>fr(Ae,Le,Pe),W)}(L.shapeFlag&256||Le&&Ya(Le.vnode)&&Le.vnode.shapeFlag&256)&&x.a&&w1(x.a,W),x.isMounted=!0,L=I=Q=null}},de=x.effect=new v7(ce,()=>_7(le),x.scope),le=x.update=()=>de.run();le.id=x.uid,In(x,!0),le()},ne=(x,L,I)=>{L.component=x;const Q=x.vnode.props;x.vnode=L,x.next=null,qm(x,L.props,Q,I),Xm(x,L.children,I),la(),N5(),ua()},be=(x,L,I,Q,W,ee,he,ce,de=!1)=>{const le=x&&x.children,Ae=x?x.shapeFlag:0,we=L.children,{patchFlag:Me,shapeFlag:Oe}=L;if(Me>0){if(Me&128){$e(le,we,I,Q,W,ee,he,ce,de);return}else if(Me&256){Ye(le,we,I,Q,W,ee,he,ce,de);return}}Oe&8?(Ae&16&&Ge(le,W,ee),we!==le&&c(I,we)):Ae&16?Oe&16?$e(le,we,I,Q,W,ee,he,ce,de):Ge(le,W,ee,!0):(Ae&8&&c(I,""),Oe&16&&R(we,I,Q,W,ee,he,ce,de))},Ye=(x,L,I,Q,W,ee,he,ce,de)=>{x=x||To,L=L||To;const le=x.length,Ae=L.length,we=Math.min(le,Ae);let Me;for(Me=0;MeAe?Ge(x,W,ee,!0,!1,we):R(L,I,Q,W,ee,he,ce,de,we)},$e=(x,L,I,Q,W,ee,he,ce,de)=>{let le=0;const Ae=L.length;let we=x.length-1,Me=Ae-1;for(;le<=we&&le<=Me;){const Oe=x[le],re=L[le]=de?pn(L[le]):yr(L[le]);if(Un(Oe,re))_(Oe,re,I,null,W,ee,he,ce,de);else break;le++}for(;le<=we&&le<=Me;){const Oe=x[we],re=L[Me]=de?pn(L[Me]):yr(L[Me]);if(Un(Oe,re))_(Oe,re,I,null,W,ee,he,ce,de);else break;we--,Me--}if(le>we){if(le<=Me){const Oe=Me+1,re=OeMe)for(;le<=we;)ze(x[le],W,ee,!0),le++;else{const Oe=le,re=le,Le=new Map;for(le=re;le<=Me;le++){const ye=L[le]=de?pn(L[le]):yr(L[le]);ye.key!=null&&Le.set(ye.key,le)}let me,Pe=0;const ft=Me-re+1;let te=!1,ve=0;const xe=new Array(ft);for(le=0;le=ft){ze(ye,W,ee,!0);continue}let je;if(ye.key!=null)je=Le.get(ye.key);else for(me=re;me<=Me;me++)if(xe[me-re]===0&&Un(ye,L[me])){je=me;break}je===void 0?ze(ye,W,ee,!0):(xe[je-re]=le+1,je>=ve?ve=je:te=!0,_(ye,L[je],I,null,W,ee,he,ce,de),Pe++)}const Ue=te?rv(xe):To;for(me=Ue.length-1,le=ft-1;le>=0;le--){const ye=re+le,je=L[ye],Ot=ye+1{const{el:ee,type:he,transition:ce,children:de,shapeFlag:le}=x;if(le&6){qe(x.component.subTree,L,I,Q);return}if(le&128){x.suspense.move(L,I,Q);return}if(le&64){he.move(x,L,I,Z);return}if(he===ke){n(ee,L,I);for(let we=0;wece.enter(ee),W);else{const{leave:we,delayLeave:Me,afterLeave:Oe}=ce,re=()=>n(ee,L,I),Le=()=>{we(ee,()=>{re(),Oe&&Oe()})};Me?Me(ee,re,Le):Le()}else n(ee,L,I)},ze=(x,L,I,Q=!1,W=!1)=>{const{type:ee,props:he,ref:ce,children:de,dynamicChildren:le,shapeFlag:Ae,patchFlag:we,dirs:Me}=x;if(ce!=null&&O0(ce,null,I,x,!0),Ae&256){L.ctx.deactivate(x);return}const Oe=Ae&1&&Me,re=!Ya(x);let Le;if(re&&(Le=he&&he.onVnodeBeforeUnmount)&&fr(Le,L,x),Ae&6)Be(x.component,I,Q);else{if(Ae&128){x.suspense.unmount(I,Q);return}Oe&&Tn(x,null,L,"beforeUnmount"),Ae&64?x.type.remove(x,L,I,W,Z,Q):le&&(ee!==ke||we>0&&we&64)?Ge(le,L,I,!1,!0):(ee===ke&&we&384||!W&&Ae&16)&&Ge(de,L,I),Q&&fe(x)}(re&&(Le=he&&he.onVnodeUnmounted)||Oe)&&w1(()=>{Le&&fr(Le,L,x),Oe&&Tn(x,null,L,"unmounted")},I)},fe=x=>{const{type:L,el:I,anchor:Q,transition:W}=x;if(L===ke){Ne(I,Q);return}if(L===Ka){k(x);return}const ee=()=>{o(I),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(x.shapeFlag&1&&W&&!W.persisted){const{leave:he,delayLeave:ce}=W,de=()=>he(I,ee);ce?ce(x.el,ee,de):de()}else ee()},Ne=(x,L)=>{let I;for(;x!==L;)I=f(x),o(x),x=I;o(L)},Be=(x,L,I)=>{const{bum:Q,scope:W,update:ee,subTree:he,um:ce}=x;Q&&Cs(Q),W.stop(),ee&&(ee.active=!1,ze(he,x,L,I)),ce&&w1(ce,L),w1(()=>{x.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},Ge=(x,L,I,Q=!1,W=!1,ee=0)=>{for(let he=ee;hex.shapeFlag&6?G(x.component.subTree):x.shapeFlag&128?x.suspense.next():f(x.anchor||x.el),j=(x,L,I)=>{x==null?L._vnode&&ze(L._vnode,null,null,!0):_(L._vnode||null,x,L,null,null,null,I),N5(),X8(),L._vnode=x},Z={p:_,um:ze,m:qe,r:fe,mt:ie,mc:R,pc:be,pbc:S,n:G,o:e};let K,ae;return t&&([K,ae]=t(Z)),{render:j,hydrate:K,createApp:Gm(j,K)}}function In({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function tv(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function yc(e,t,r=!1){const n=e.children,o=t.children;if(Ve(n)&&Ve(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 nv=e=>e.__isTeleport,ke=Symbol.for("v-fgt"),Yl=Symbol.for("v-txt"),I1=Symbol.for("v-cmt"),Ka=Symbol.for("v-stc"),qa=[];let rr=null;function m(e=!1){qa.push(rr=e?null:[])}function ov(){qa.pop(),rr=qa[qa.length-1]||null}let gi=1;function W5(e){gi+=e}function bc(e){return e.dynamicChildren=gi>0?rr||To:null,ov(),gi>0&&rr&&rr.push(e),e}function M(e,t,r,n,o,a){return bc(p(e,t,r,n,o,a,!0))}function q(e,t,r,n,o){return bc(N(e,t,r,n,o,!0))}function Fs(e){return e?e.__v_isVNode===!0:!1}function Un(e,t){return e.type===t.type&&e.key===t.key}const Gl="__vInternal",wc=({key:e})=>e??null,ys=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Nt(e)||Jt(e)||Qe(e)?{i:e1,r:e,k:t,f:!!r}:e:null);function p(e,t=null,r=null,n=0,o=null,a=e===ke?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wc(t),ref:t&&ys(t),scopeId:zl,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:e1};return s?(E7(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=Nt(r)?8:16),gi>0&&!i&&rr&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&rr.push(l),l}const N=av;function av(e,t=null,r=null,n=0,o=null,a=!1){if((!e||e===lc)&&(e=I1),Fs(e)){const s=Kr(e,t,!0);return r&&E7(s,r),gi>0&&!a&&rr&&(s.shapeFlag&6?rr[rr.indexOf(e)]=s:rr.push(s)),s.patchFlag|=-2,s}if(pv(e)&&(e=e.__vccOpts),t){t=iv(t);let{class:s,style:l}=t;s&&!Nt(s)&&(t.class=J(s)),Mt(l)&&(U8(l)&&!Ve(l)&&(l=Zt({},l)),t.style=Ke(l))}const i=Nt(e)?1:xm(e)?128:nv(e)?64:Mt(e)?4:Qe(e)?2:0;return p(e,t,r,n,o,i,a,!0)}function iv(e){return e?U8(e)||Gl in e?Zt({},e):e:null}function Kr(e,t,r=!1){const{props:n,ref:o,patchFlag:a,children:i}=e,s=t?Xe(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&wc(s),ref:t&&t.ref?r&&o?Ve(o)?o.concat(ys(t)):[o,ys(t)]:ys(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!==ke?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&&Kr(e.ssContent),ssFallback:e.ssFallback&&Kr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function w(e=" ",t=0){return N(Yl,null,e,t)}function Ai(e,t){const r=N(Ka,null,e);return r.staticCount=t,r}function O(e="",t=!1){return t?(m(),q(I1,null,e)):N(I1,null,e)}function yr(e){return e==null||typeof e=="boolean"?N(I1):Ve(e)?N(ke,null,e.slice()):typeof e=="object"?pn(e):N(Yl,null,String(e))}function pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kr(e)}function E7(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ve(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),E7(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(Gl in t)?t._ctx=e1:o===3&&e1&&(e1.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Qe(t)?(t={default:t,_ctx:e1},r=32):(t=String(t),n&64?(r=16,t=[w(t)]):r=8);e.children=t,e.shapeFlag|=r}function Xe(...e){const t={};for(let r=0;rKt||e1;let A7,Co,Q5="__VUE_INSTANCE_SETTERS__";(Co=x0()[Q5])||(Co=x0()[Q5]=[]),Co.push(e=>Kt=e),A7=e=>{Co.length>1?Co.forEach(t=>t(e)):Co[0](e)};const qo=e=>{A7(e),e.scope.on()},eo=()=>{Kt&&Kt.scope.off(),A7(null)};function _c(e){return e.vnode.shapeFlag&4}let Ci=!1;function cv(e,t=!1){Ci=t;const{props:r,children:n}=e.vnode,o=_c(e);Km(e,r,o,t),Qm(e,n);const a=o?dv(e,t):void 0;return Ci=!1,a}function dv(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=j8(new Proxy(e.ctx,Zm));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?Mc(e):null;qo(e),la();const a=_n(n,e,0,[e.props,o]);if(ua(),eo(),S8(a)){if(a.then(eo,eo),t)return a.then(i=>{X5(e,i,t)}).catch(i=>{Zl(i,e,0)});e.asyncDep=a}else X5(e,a,t)}else kc(e,t)}function X5(e,t,r){Qe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Mt(t)&&(e.setupState=q8(t)),kc(e,r)}let J5;function kc(e,t,r){const n=e.type;if(!e.render){if(!t&&J5&&!n.render){const o=n.template||x7(e).template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,u=Zt(Zt({isCustomElement:a,delimiters:s},i),l);n.render=J5(o,u)}}e.render=n.render||or}{qo(e),la();try{Rm(e)}finally{ua(),eo()}}}function fv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return x1(e,"get","$attrs"),t[r]}}))}function Mc(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return fv(e)},slots:e.slots,emit:e.emit,expose:t}}function Kl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(q8(j8(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Ga)return Ga[r](e)},has(t,r){return r in t||r in Ga}}))}function hv(e,t=!0){return Qe(e)?e.displayName||e.name:e.name||t&&e.__name}function pv(e){return Qe(e)&&"__vccOpts"in e}const A=(e,t)=>pm(e,t,Ci);function Ee(e,t,r){const n=arguments.length;return n===2?Mt(t)&&!Ve(t)?Fs(t)?N(e,null,[t]):N(e,t):N(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Fs(r)&&(r=[r]),N(e,t,r))}const mv=Symbol.for("v-scx"),vv=()=>M1(mv),gv="3.3.7",Cv="http://www.w3.org/2000/svg",jn=typeof document<"u"?document:null,e3=jn&&jn.createElement("template"),yv={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?jn.createElementNS(Cv,e):jn.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>jn.createTextNode(e),createComment:e=>jn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jn.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{e3.innerHTML=n?`${e}`:e;const s=e3.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]}},rn="transition",Sa="animation",Wo=Symbol("_vtc"),oo=(e,{slots:t})=>Ee(Dm,Sc(e),t);oo.displayName="Transition";const xc={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},bv=oo.props=Zt({},oc,xc),On=(e,t=[])=>{Ve(e)?e.forEach(r=>r(...t)):e&&e(...t)},t3=e=>e?Ve(e)?e.some(t=>t.length>1):e.length>1:!1;function Sc(e){const t={};for(const V in e)V in xc||(t[V]=e[V]);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:h=`${r}-leave-to`}=e,g=wv(o),_=g&&g[0],C=g&&g[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:v,onLeave:k,onLeaveCancelled:B,onBeforeAppear:$=b,onAppear:P=y,onAppearCancelled:R=v}=t,D=(V,U,ie)=>{dn(V,U?c:s),dn(V,U?u:i),ie&&ie()},S=(V,U)=>{V._isLeaving=!1,dn(V,d),dn(V,h),dn(V,f),U&&U()},z=V=>(U,ie)=>{const se=V?P:y,ue=()=>D(U,V,ie);On(se,[U,ue]),r3(()=>{dn(U,V?l:a),Vr(U,V?c:s),t3(se)||n3(U,n,_,ue)})};return Zt(t,{onBeforeEnter(V){On(b,[V]),Vr(V,a),Vr(V,i)},onBeforeAppear(V){On($,[V]),Vr(V,l),Vr(V,u)},onEnter:z(!1),onAppear:z(!0),onLeave(V,U){V._isLeaving=!0;const ie=()=>S(V,U);Vr(V,d),Ac(),Vr(V,f),r3(()=>{V._isLeaving&&(dn(V,d),Vr(V,h),t3(k)||n3(V,n,C,ie))}),On(k,[V,ie])},onEnterCancelled(V){D(V,!1),On(v,[V])},onAppearCancelled(V){D(V,!0),On(R,[V])},onLeaveCancelled(V){S(V),On(B,[V])}})}function wv(e){if(e==null)return null;if(Mt(e))return[x2(e.enter),x2(e.leave)];{const t=x2(e);return[t,t]}}function x2(e){return Dp(e)}function Vr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[Wo]||(e[Wo]=new Set)).add(t)}function dn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[Wo];r&&(r.delete(t),r.size||(e[Wo]=void 0))}function r3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let _v=0;function n3(e,t,r,n){const o=e._endId=++_v,a=()=>{o===e._endId&&n()};if(r)return setTimeout(a,r);const{type:i,timeout:s,propCount:l}=Ec(e,t);if(!i)return n();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,f),a()},f=h=>{h.target===e&&++c>=l&&d()};setTimeout(()=>{c(r[g]||"").split(", "),o=n(`${rn}Delay`),a=n(`${rn}Duration`),i=o3(o,a),s=n(`${Sa}Delay`),l=n(`${Sa}Duration`),u=o3(s,l);let c=null,d=0,f=0;t===rn?i>0&&(c=rn,d=i,f=a.length):t===Sa?u>0&&(c=Sa,d=u,f=l.length):(d=Math.max(i,u),c=d>0?i>u?rn:Sa:null,f=c?c===rn?a.length:l.length:0);const h=c===rn&&/\b(transform|all)(,|$)/.test(n(`${rn}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:h}}function o3(e,t){for(;e.lengtha3(r)+a3(e[n])))}function a3(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ac(){return document.body.offsetHeight}function kv(e,t,r){const n=e[Wo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const L7=Symbol("_vod"),V0={beforeMount(e,{value:t},{transition:r}){e[L7]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Ea(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),Ea(e,!0),n.enter(e)):n.leave(e,()=>{Ea(e,!1)}):Ea(e,t))},beforeUnmount(e,{value:t}){Ea(e,t)}};function Ea(e,t){e.style.display=t?e[L7]:"none"}function Mv(e,t,r){const n=e.style,o=Nt(r);if(r&&!o){if(t&&!Nt(t))for(const a in t)r[a]==null&&P0(n,a,"");for(const a in r)P0(n,a,r[a])}else{const a=n.display;o?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),L7 in e&&(n.display=a)}}const i3=/\s*!important$/;function P0(e,t,r){if(Ve(r))r.forEach(n=>P0(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=xv(e,t);i3.test(r)?e.setProperty(An(n),r.replace(i3,""),"important"):e[n]=r}}const s3=["Webkit","Moz","ms"],S2={};function xv(e,t){const r=S2[t];if(r)return r;let n=Mr(t);if(n!=="filter"&&n in e)return S2[t]=n;n=Nl(n);for(let o=0;oE2||(Bv.then(()=>E2=0),E2=Date.now());function Tv(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;j1(Iv(n,r.value),t,5,[n])};return r.value=e,r.attached=Hv(),r}function Iv(e,t){if(Ve(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 d3=/^on[a-z]/,Ov=(e,t,r,n,o=!1,a,i,s,l)=>{t==="class"?kv(e,n,o):t==="style"?Mv(e,r,n):Il(t)?f7(t)||Lv(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vv(e,t,n,o))?Ev(e,t,n,a,i,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Sv(e,t,n,o))};function Vv(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&d3.test(t)&&Qe(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||d3.test(t)&&Nt(r)?!1:t in e}function ca(e){const t=Li();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>$0(a,o))},n=()=>{const o=e(t.proxy);N0(t.subTree,o),r(o)};Em(n),Ct(()=>{const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),ur(()=>o.disconnect())})}function N0(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{N0(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)$0(e.el,t);else if(e.type===ke)e.children.forEach(r=>N0(r,t));else if(e.type===Ka){let{el:r,anchor:n}=e;for(;r&&($0(r,t),r!==n);)r=r.nextSibling}}function $0(e,t){if(e.nodeType===1){const r=e.style;for(const n in t)r.setProperty(`--${n}`,t[n])}}const Lc=new WeakMap,Dc=new WeakMap,Us=Symbol("_moveCb"),f3=Symbol("_enterCb"),Bc={name:"TransitionGroup",props:Zt({},bv,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Li(),n=nc();let o,a;return sc(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!zv(o[0].el,r.vnode.el,i))return;o.forEach($v),o.forEach(Zv);const s=o.filter(Rv);Ac(),s.forEach(l=>{const u=l.el,c=u.style;Vr(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[Us]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u[Us]=null,dn(u,i))};u.addEventListener("transitionend",d)})}),()=>{const i=it(e),s=Sc(i);let l=i.tag||ke;o=a,a=t.default?k7(t.default()):[];for(let u=0;udelete e.mode;Bc.props;const Nv=Bc;function $v(e){const t=e.el;t[Us]&&t[Us](),t[f3]&&t[f3]()}function Zv(e){Dc.set(e,e.el.getBoundingClientRect())}function Rv(e){const t=Lc.get(e),r=Dc.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 zv(e,t,r){const n=e.cloneNode(),o=e[Wo];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}=Ec(n);return a.removeChild(n),i}const h3=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ve(t)?r=>Cs(t,r):t};function Fv(e){e.target.composing=!0}function p3(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const A2=Symbol("_assign"),Uv={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[A2]=h3(o);const a=n||o.props&&o.props.type==="number";Mo(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;r&&(s=s.trim()),a&&(s=M0(s)),e[A2](s)}),r&&Mo(e,"change",()=>{e.value=e.value.trim()}),t||(Mo(e,"compositionstart",Fv),Mo(e,"compositionend",p3),Mo(e,"change",p3))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},a){if(e[A2]=h3(a),e.composing||document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===t||(o||e.type==="number")&&M0(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},jv=["ctrl","shift","alt","meta"],Yv={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)=>jv.some(r=>e[`${r}Key`]&&!t.includes(r))},Et=(e,t)=>(r,...n)=>{for(let o=0;or=>{if(!("key"in r))return;const n=An(r.key);if(t.some(o=>o===n||Gv[o]===n))return e(r)},Kv=Zt({patchProp:Ov},yv);let m3;function qv(){return m3||(m3=Jm(Kv))}const Hc=(...e)=>{const t=qv().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=Wv(n);if(!o)return;const a=t._component;!Qe(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 Wv(e){return Nt(e)?document.querySelector(e):e}/*! +var Eh=Object.defineProperty;var Ah=(e,t,r)=>t in e?Eh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ht=(e,t,r)=>(Ah(e,typeof t!="symbol"?t+"":t,r),r),b2=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var oe=(e,t,r)=>(b2(e,t,"read from private field"),r?r.call(e):t.get(e)),et=(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)},Yt=(e,t,r,n)=>(b2(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var ge=(e,t,r)=>(b2(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 Lh="modulepreload",Dh=function(e,t){return e[0]==="."?new URL(e,t).href:e},A5={},Ce=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Dh(a,n),a in A5)return;A5[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":Lh,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=>({"/control-plane/addresses":async(t,r)=>(r.close(),{http:e("KUMA_API_URL"),kds:"grpcs://:5685"})});var w2=new WeakMap,b8=new Map,Hh=new Map,to;(function(e){e[e.Constant=0]="Constant",e[e.Instance=1]="Instance",e[e.Factory=2]="Factory"})(to||(to={}));var Gr;(function(e){e[e.Container=0]="Container",e[e.Resolution=1]="Resolution",e[e.Singleton=2]="Singleton",e[e.Transient=3]="Transient"})(Gr||(Gr={}));var Th=class{constructor(e){this.impl=e,this.type=to.Constant}},Ih=class{constructor(e){this.impl=e,this.type=to.Factory}},Oh=e=>e.type===to.Factory,Bl=class{constructor(e){this.impl=e,this.type=to.Instance}},Vh=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Container,this.cache=new WeakMap}},Ph=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Resolution}},Nh=class extends Bl{constructor(e){super(e),this.impl=e,this.scope=Gr.Singleton}},$h=class extends Bl{constructor(){super(...arguments),this.scope=Gr.Transient}},Zh=e=>e.type===to.Instance,Rh=e=>e.scope===Gr.Container,zh=e=>e.scope===Gr.Resolution,Fh=e=>e.scope===Gr.Singleton,Uh=e=>Symbol(e),De=e=>{const t=Symbol(e);return{__t:null,__d:e,__s:t,__o:!1,optional:{__t:null,__d:e,__s:t,__o:!0}}},Va=class{constructor(){this.parent=null,this.map=new Map}set(e,t,r=Va.notag){const n=this.map.get(t.__s);n?n.set(r,e):this.map.set(t.__s,new Map().set(r,e))}find(e,t,r){const n=this.map.get(e.__s);if(n!==void 0){if(r){const o=n.get(r);if(o)return o}if(t)for(let o=0,a=t.length;o{t.map.set(n,e(r))}),t}clone(){return this.from(e=>new Map(e))}},w8=Va;w8.notag=Uh("NO_TAG");var jh=class{constructor(e,t,r,n){this.vault=e,this.tokens=t,this.getVault=r,this.condition=n}from(e){const{tokens:t}=this;for(let r=0,n=t.length;rthis.resolveToken(o,r,n,t.split()))}resolveToken(e,t,r,n=new _8){const o=this.vault.get(e,n,t,r);if(o)return this.resolveBinding(o,n);if(!e.__o)throw new Error(`No matching bindings found for '${e.__d}' token.`)}resolveBinding(e,t){return Zh(e)?Fh(e)?this.resolveCache(e,t,()=>e.cache,r=>{e.cache=r}):Rh(e)?this.resolveCache(e,t,()=>e.cache.get(this.vault),r=>{e.cache.set(this.vault,r)}):zh(e)?this.resolveCache(e,t,()=>t.instances.get(e),r=>{t.instances.set(e,r)}):this.createInstance(e.impl,t):Oh(e)?(...r)=>{const n=this.createInstance(e.impl.creator,t);return n instanceof Promise?n.then(o=>ms.resolveInitialization(o,r,e.impl.initializer)):ms.resolveInitialization(n,r,e.impl.initializer)}:e.impl}resolveCache(e,t,r,n){const o=r();if(o!==void 0)return o;const a=this.createInstance(e.impl,t);return n(a),a}createInstance(e,t){const r=this.getParameters(e,t),n=w2.get(e);if(n!==void 0)return n?e(...r):new e(...r);try{const o=e(...r);return w2.set(e,!0),o}catch{const a=new e(...r);return w2.set(e,!1),a}}getParameters(e,t){const r=b8.get(e);if(r)return this.resolveTokens(r,t,Hh.get(e),e);if(e.length===0)return[];throw new Error(`Missing required 'injected' registration of '${e.name}'`)}static resolveInitialization(e,t,r){const n=r==null?void 0:r(e,...t);return n instanceof Promise?n.then(()=>e):e}},Wh=()=>new ms,Qh=(e,...t)=>(b8.set(e,t),e),ese=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jh=function(t){return ep(t)&&!tp(t)};function ep(e){return!!e&&typeof e=="object"}function tp(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||op(e)}var rp=typeof Symbol=="function"&&Symbol.for,np=rp?Symbol.for("react.element"):60103;function op(e){return e.$$typeof===np}function ap(e){return Array.isArray(e)?[]:{}}function di(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ko(ap(e),e,t):e}function ip(e,t,r){return e.concat(t).map(function(n){return di(n,r)})}function sp(e,t){if(!t.customMerge)return Ko;var r=t.customMerge(e);return typeof r=="function"?r:Ko}function lp(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function L5(e){return Object.keys(e).concat(lp(e))}function k8(e,t){try{return t in e}catch{return!1}}function up(e,t){return k8(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function cp(e,t,r){var n={};return r.isMergeableObject(e)&&L5(e).forEach(function(o){n[o]=di(e[o],r)}),L5(t).forEach(function(o){up(e,o)||(k8(e,o)&&r.isMergeableObject(t[o])?n[o]=sp(o,r)(e[o],t[o],r):n[o]=di(t[o],r))}),n}function Ko(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ip,r.isMergeableObject=r.isMergeableObject||Jh,r.cloneUnlessOtherwiseSpecified=di;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):cp(e,t,r):di(t,r)}Ko.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Ko(n,o,r)},{})};var dp=Ko,fp=dp;const hp=Xh(fp),c7=Wh(),pp=(...e)=>[...new Map([...e.flat()]).entries()],mp=e=>{const t=new Map(e);return e.forEach(([r,n])=>{if(typeof n.decorates<"u"){const o=n.decorates,a=t.get(o);if(typeof a<"u"){const{labels:i,...s}=a,l=De("inner"),u=De("inner.wrapper");t.set(l,{...s}),t.set(u,{service:()=>()=>Hl(l)}),t.set(o,{...n,arguments:[u],labels:i})}n.decorates=void 0}}),[...t.entries()]},Hl=e=>c7.get(e),vp=(...e)=>(mp(pp(...e)).forEach(r=>M8(...r)),Hl),Tl=(...e)=>e.map(t=>()=>Hl(t)),ji=new WeakMap,M8=(e,t)=>{const r=c7.bind(e);switch(!0){case"constant"in t:r.toConstant(t.constant);break;case"service"in t:{const n=r.toInstance(t.service);(typeof t.shared>"u"||t.shared===!0)&&n.inSingletonScope();break}}typeof t.labels<"u"&&t.labels.forEach(n=>{ji.has(n)||(ji.set(n,[]),M8(n,{service:()=>ji.get(n).reduce((a,i)=>{try{const s=Hl(i);return Array.isArray(s)?a.concat(s):s instanceof Object?hp(a,s):a}catch(s){throw console.error(s),s}},[])})),ji.get(n).push(e)}),typeof t.arguments<"u"&&typeof t.service<"u"&&(t.arguments.forEach((n,o)=>{if(typeof n>"u")throw new Error(`Unable to find token for argument[${o}]`)}),Qh(t.service,...t.arguments))},a1=(e,t)=>{const r=De(t.description);return c7.bind(r).toConstant(e),r},gp={sources:De("control-planes.sources")},Cp=e=>[[gp.sources,{service:Bh,arguments:[e.env],labels:[e.sources]}]],yp=()=>[{path:"/diagnostics",name:"diagnostics",component:()=>Ce(()=>import("./DiagnosticsView-44ca6f1d.js"),["./CodeBlock-aa591f34.css"],import.meta.url)}],bp=e=>({"/config":async(t,r)=>(r.close(),await e.getConfig())}),wp=e=>[[De("diagnostics.sources"),{service:bp,arguments:[e.api],labels:[e.sources]}],[De("diagnostics.routes"),{service:yp,labels:[e.routes]}]],_p=()=>[{path:"/onboarding",redirect:{name:"onboarding-welcome"},component:()=>Ce(()=>import("./OnboardingView-07fb10ec.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./WelcomeView-2a19eace.js"),["./OnboardingPage-88f67fb6.css","./WelcomeView-2c7783bc.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./DeploymentTypes-ee27380c.js"),["./OnboardingPage-88f67fb6.css","./DeploymentTypes-caab5d22.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./ConfigurationTypes-57bf3e5e.js"),["./OnboardingPage-88f67fb6.css","./ConfigurationTypes-f96b4d1a.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./MultiZoneView-ab12923b.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./MultiZoneView-81622d62.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./CreateMesh-c7c2b3e5.js"),["./OnboardingPage-88f67fb6.css","./CreateMesh-28969af3.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-services",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./AddNewServices-2a7d4b1b.js"),["./OnboardingPage-88f67fb6.css","./AddNewServices-90574073.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-services-code",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./AddNewServicesCode-755928f6.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./CodeBlock-aa591f34.css","./AddNewServicesCode-02eef6ad.css"],import.meta.url)},{path:"dataplanes-overview",name:"onboarding-dataplanes-overview",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./DataplanesOverview-ce6ad3c6.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-88f67fb6.css","./StatusBadge-307eb0a4.css","./DataplanesOverview-72db9fd9.css"],import.meta.url)},{path:"completed",name:"onboarding-completed",meta:{onboardingProcess:!0},component:()=>Ce(()=>import("./CompletedView-4c54c244.js"),["./OnboardingPage-88f67fb6.css","./CompletedView-6392a0bc.css"],import.meta.url)}]}],kp=e=>[[De("onboarding.routes"),{service:_p,labels:[e.routes]}]];function d7(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o!!r[o.toLowerCase()]:o=>!!r[o]}const kt={},To=[],or=()=>{},Mp=()=>!1,xp=/^on[^a-z]/,Il=e=>xp.test(e),f7=e=>e.startsWith("onUpdate:"),Zt=Object.assign,h7=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Sp=Object.prototype.hasOwnProperty,ot=(e,t)=>Sp.call(e,t),Ve=Array.isArray,Io=e=>Vl(e)==="[object Map]",x8=e=>Vl(e)==="[object Set]",Qe=e=>typeof e=="function",Nt=e=>typeof e=="string",Ol=e=>typeof e=="symbol",Mt=e=>e!==null&&typeof e=="object",S8=e=>(Mt(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),E8=Object.prototype.toString,Vl=e=>E8.call(e),Ep=e=>Vl(e).slice(8,-1),A8=e=>Vl(e)==="[object Object]",p7=e=>Nt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vs=d7(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pl=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Ap=/-(\w)/g,Mr=Pl(e=>e.replace(Ap,(t,r)=>r?r.toUpperCase():"")),Lp=/\B([A-Z])/g,An=Pl(e=>e.replace(Lp,"-$1").toLowerCase()),Nl=Pl(e=>e.charAt(0).toUpperCase()+e.slice(1)),gs=Pl(e=>e?`on${Nl(e)}`:""),ro=(e,t)=>!Object.is(e,t),Cs=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},M0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Dp=e=>{const t=Nt(e)?Number(e):NaN;return isNaN(t)?e:t};let D5;const x0=()=>D5||(D5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ke(e){if(Ve(e)){const t={};for(let r=0;r{if(r){const n=r.split(Hp);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function J(e){let t="";if(Nt(e))t=e;else if(Ve(e))for(let r=0;rNt(e)?e:e==null?"":Ve(e)||Mt(e)&&(e.toString===E8||!Qe(e.toString))?JSON.stringify(e,D8,2):String(e),D8=(e,t)=>t&&t.__v_isRef?D8(e,t.value):Io(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o])=>(r[`${n} =>`]=o,r),{})}:x8(t)?{[`Set(${t.size})`]:[...t.values()]}:Mt(t)&&!Ve(t)&&!A8(t)?String(t):t;let B1;class Pp{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},H8=e=>(e.w&xn)>0,T8=e=>(e.n&xn)>0,Zp=({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"||!Ol(c)&&c>=l)&&s.push(u)})}else switch(r!==void 0&&s.push(i.get(r)),t){case"add":Ve(e)?p7(r)&&s.push(i.get("length")):(s.push(i.get(Jn)),Io(e)&&s.push(i.get(E0)));break;case"delete":Ve(e)||(s.push(i.get(Jn)),Io(e)&&s.push(i.get(E0)));break;case"set":Io(e)&&s.push(i.get(Jn));break}if(s.length===1)s[0]&&A0(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);A0(m7(l))}}function A0(e,t){const r=Ve(e)?e:[...e];for(const n of r)n.computed&&H5(n);for(const n of r)n.computed||H5(n)}function H5(e,t){(e!==tr||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function zp(e,t){var r;return(r=Ps.get(e))==null?void 0:r.get(t)}const Fp=d7("__proto__,__v_isRef,__isVue"),V8=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ol)),T5=Up();function Up(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=it(this);for(let a=0,i=this.length;a{e[t]=function(...r){la();const n=it(this)[t].apply(this,r);return ua(),n}}),e}function jp(e){const t=it(this);return x1(t,"has",e),t.hasOwnProperty(e)}class P8{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"&&n===(o?a?om:R8:a?Z8:$8).get(t))return t;const i=Ve(t);if(!o){if(i&&ot(T5,r))return Reflect.get(T5,r,n);if(r==="hasOwnProperty")return jp}const s=Reflect.get(t,r,n);return(Ol(r)?V8.has(r):Fp(r))||(o||x1(t,"get",r),a)?s:Jt(s)?i&&p7(r)?s:s.value:Mt(s)?o?F8(s):Ln(s):s}}class N8 extends P8{constructor(t=!1){super(!1,t)}set(t,r,n,o){let a=t[r];if(no(a)&&Jt(a)&&!Jt(n))return!1;if(!this._shallow&&(!Ns(n)&&!no(n)&&(a=it(a),n=it(n)),!Ve(t)&&Jt(a)&&!Jt(n)))return a.value=n,!0;const i=Ve(t)&&p7(r)?Number(r)e,$l=e=>Reflect.getPrototypeOf(e);function Yi(e,t,r=!1,n=!1){e=e.__v_raw;const o=it(e),a=it(t);r||(ro(t,a)&&x1(o,"get",t),x1(o,"get",a));const{has:i}=$l(o),s=n?g7:r?b7:fi;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 Gi(e,t=!1){const r=this.__v_raw,n=it(r),o=it(e);return t||(ro(e,o)&&x1(n,"has",e),x1(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function Ki(e,t=!1){return e=e.__v_raw,!t&&x1(it(e),"iterate",Jn),Reflect.get(e,"size",e)}function I5(e){e=it(e);const t=it(this);return $l(t).has.call(t,e)||(t.add(e),Ur(t,"add",e,e)),this}function O5(e,t){t=it(t);const r=it(this),{has:n,get:o}=$l(r);let a=n.call(r,e);a||(e=it(e),a=n.call(r,e));const i=o.call(r,e);return r.set(e,t),a?ro(t,i)&&Ur(r,"set",e,t):Ur(r,"add",e,t),this}function V5(e){const t=it(this),{has:r,get:n}=$l(t);let o=r.call(t,e);o||(e=it(e),o=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return o&&Ur(t,"delete",e,void 0),a}function P5(){const e=it(this),t=e.size!==0,r=e.clear();return t&&Ur(e,"clear",void 0,void 0),r}function qi(e,t){return function(n,o){const a=this,i=a.__v_raw,s=it(i),l=t?g7:e?b7:fi;return!e&&x1(s,"iterate",Jn),i.forEach((u,c)=>n.call(o,l(u),l(c),a))}}function Wi(e,t,r){return function(...n){const o=this.__v_raw,a=it(o),i=Io(a),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...n),c=r?g7:t?b7:fi;return!t&&x1(a,"iterate",l?E0:Jn),{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 tn(e){return function(...t){return e==="delete"?!1:this}}function Wp(){const e={get(a){return Yi(this,a)},get size(){return Ki(this)},has:Gi,add:I5,set:O5,delete:V5,clear:P5,forEach:qi(!1,!1)},t={get(a){return Yi(this,a,!1,!0)},get size(){return Ki(this)},has:Gi,add:I5,set:O5,delete:V5,clear:P5,forEach:qi(!1,!0)},r={get(a){return Yi(this,a,!0)},get size(){return Ki(this,!0)},has(a){return Gi.call(this,a,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:qi(!0,!1)},n={get(a){return Yi(this,a,!0,!0)},get size(){return Ki(this,!0)},has(a){return Gi.call(this,a,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:qi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Wi(a,!1,!1),r[a]=Wi(a,!0,!1),t[a]=Wi(a,!1,!0),n[a]=Wi(a,!0,!0)}),[e,r,t,n]}const[Qp,Xp,Jp,em]=Wp();function C7(e,t){const r=t?e?em:Jp:e?Xp:Qp;return(n,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(ot(r,o)&&o in n?r:n,o,a)}const tm={get:C7(!1,!1)},rm={get:C7(!1,!0)},nm={get:C7(!0,!1)},$8=new WeakMap,Z8=new WeakMap,R8=new WeakMap,om=new WeakMap;function am(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function im(e){return e.__v_skip||!Object.isExtensible(e)?0:am(Ep(e))}function Ln(e){return no(e)?e:y7(e,!1,Gp,tm,$8)}function z8(e){return y7(e,!1,qp,rm,Z8)}function F8(e){return y7(e,!0,Kp,nm,R8)}function y7(e,t,r,n,o){if(!Mt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=im(e);if(i===0)return e;const s=new Proxy(e,i===2?n:r);return o.set(e,s),s}function Oo(e){return no(e)?Oo(e.__v_raw):!!(e&&e.__v_isReactive)}function no(e){return!!(e&&e.__v_isReadonly)}function Ns(e){return!!(e&&e.__v_isShallow)}function U8(e){return Oo(e)||no(e)}function it(e){const t=e&&e.__v_raw;return t?it(t):e}function j8(e){return Vs(e,"__v_skip",!0),e}const fi=e=>Mt(e)?Ln(e):e,b7=e=>Mt(e)?F8(e):e;function Y8(e){wn&&tr&&(e=it(e),O8(e.dep||(e.dep=m7())))}function G8(e,t){e=it(e);const r=e.dep;r&&A0(r)}function Jt(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return K8(e,!1)}function sm(e){return K8(e,!0)}function K8(e,t){return Jt(e)?e:new lm(e,t)}class lm{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:it(t),this._value=r?t:fi(t)}get value(){return Y8(this),this._value}set value(t){const r=this.__v_isShallow||Ns(t)||no(t);t=r?t:it(t),ro(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:fi(t),G8(this))}}function H(e){return Jt(e)?e.value:e}const um={get:(e,t,r)=>H(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Jt(o)&&!Jt(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function q8(e){return Oo(e)?e:new Proxy(e,um)}function cm(e){const t=Ve(e)?new Array(e.length):{};for(const r in e)t[r]=fm(e,r);return t}class dm{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 zp(it(this._object),this._key)}}function fm(e,t,r){const n=e[t];return Jt(n)?n:new dm(e,t,r)}class hm{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 v7(t,()=>{this._dirty||(this._dirty=!0,G8(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=it(this);return Y8(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function pm(e,t,r=!1){let n,o;const a=Qe(e);return a?(n=e,o=or):(n=e.get,o=e.set),new hm(n,o,a||!o,r)}function _n(e,t,r,n){let o;try{o=n?e(...n):e()}catch(a){Zl(a,t,r)}return o}function j1(e,t,r,n){if(Qe(e)){const a=_n(e,t,r,n);return a&&S8(a)&&a.catch(i=>{Zl(i,t,r)}),a}const o=[];for(let a=0;a>>1,o=r1[n],a=pi(o);awr&&r1.splice(t,1)}function Cm(e){Ve(e)?Vo.push(...e):(!Pr||!Pr.includes(e,e.allowRecurse?Fn+1:Fn))&&Vo.push(e),Q8()}function N5(e,t=hi?wr+1:0){for(;tpi(r)-pi(n)),Fn=0;Fne.id==null?1/0:e.id,ym=(e,t)=>{const r=pi(e)-pi(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function J8(e){L0=!1,hi=!0,r1.sort(ym);const t=or;try{for(wr=0;wrNt(h)?h.trim():h)),d&&(o=r.map(M0))}let s,l=n[s=gs(t)]||n[s=gs(Mr(t))];!l&&a&&(l=n[s=gs(An(t))]),l&&j1(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,j1(u,e,6,o)}}function ec(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(!Qe(e)){const l=u=>{const c=ec(u,t,!0);c&&(s=!0,Zt(i,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(Mt(e)&&n.set(e,null),null):(Ve(a)?a.forEach(l=>i[l]=null):Zt(i,a),Mt(e)&&n.set(e,i),i)}function Rl(e,t){return!e||!Il(t)?!1:(t=t.slice(2).replace(/Once$/,""),ot(e,t[0].toLowerCase()+t.slice(1))||ot(e,An(t))||ot(e,t))}let e1=null,zl=null;function $s(e){const t=e1;return e1=e,zl=e&&e.type.__scopeId||null,t}function st(e){zl=e}function lt(){zl=null}function E(e,t=e1,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&W5(-1);const a=$s(t);let i;try{i=e(...o)}finally{$s(a),n._d&&W5(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function _2(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:h,ctx:g,inheritAttrs:_}=e;let C,b;const y=$s(e);try{if(r.shapeFlag&4){const k=o||n;C=yr(c.call(k,k,d,a,h,f,g)),b=l}else{const k=t;C=yr(k.length>1?k(a,{attrs:l,slots:s,emit:u}):k(a,null)),b=t.props?l:wm(l)}}catch(k){qa.length=0,Zl(k,e,1),C=N(I1)}let v=C;if(b&&_!==!1){const k=Object.keys(b),{shapeFlag:B}=v;k.length&&B&7&&(i&&k.some(f7)&&(b=_m(b,i)),v=Kr(v,b))}return r.dirs&&(v=Kr(v),v.dirs=v.dirs?v.dirs.concat(r.dirs):r.dirs),r.transition&&(v.transition=r.transition),C=v,$s(y),C}const wm=e=>{let t;for(const r in e)(r==="class"||r==="style"||Il(r))&&((t||(t={}))[r]=e[r]);return t},_m=(e,t)=>{const r={};for(const n in e)(!f7(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function km(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?$5(n,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function Sm(e,t){t&&t.pendingBranch?Ve(e)?t.effects.push(...e):t.effects.push(e):Cm(e)}function tc(e,t){return Fl(e,null,t)}function Em(e,t){return Fl(e,null,{flush:"post"})}const Qi={};function Te(e,t,r){return Fl(e,t,r)}function Fl(e,t,{immediate:r,deep:n,flush:o,onTrack:a,onTrigger:i}=kt){var s;const l=B8()===((s=Kt)==null?void 0:s.scope)?Kt:null;let u,c=!1,d=!1;if(Jt(e)?(u=()=>e.value,c=Ns(e)):Oo(e)?(u=()=>e,n=!0):Ve(e)?(d=!0,c=e.some(k=>Oo(k)||Ns(k)),u=()=>e.map(k=>{if(Jt(k))return k.value;if(Oo(k))return Gn(k);if(Qe(k))return _n(k,l,2)})):Qe(e)?t?u=()=>_n(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return f&&f(),j1(e,l,3,[h])}:u=or,t&&n){const k=u;u=()=>Gn(k())}let f,h=k=>{f=y.onStop=()=>{_n(k,l,4)}},g;if(Ci)if(h=or,t?r&&j1(t,l,3,[u(),d?[]:void 0,h]):u(),o==="sync"){const k=vv();g=k.__watcherHandles||(k.__watcherHandles=[])}else return or;let _=d?new Array(e.length).fill(Qi):Qi;const C=()=>{if(y.active)if(t){const k=y.run();(n||c||(d?k.some((B,$)=>ro(B,_[$])):ro(k,_)))&&(f&&f(),j1(t,l,3,[k,_===Qi?void 0:d&&_[0]===Qi?[]:_,h]),_=k)}else y.run()};C.allowRecurse=!!t;let b;o==="sync"?b=C:o==="post"?b=()=>w1(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),b=()=>_7(C));const y=new v7(u,b);t?r?C():_=y.run():o==="post"?w1(y.run.bind(y),l&&l.suspense):y.run();const v=()=>{y.stop(),l&&l.scope&&h7(l.scope.effects,y)};return g&&g.push(v),v}function Am(e,t,r){const n=this.proxy,o=Nt(e)?e.includes(".")?rc(n,e):()=>n[e]:e.bind(n,n);let a;Qe(t)?a=t:(a=t.handler,r=t);const i=Kt;qo(this);const s=Fl(o,a.bind(n),r);return i?qo(i):eo(),s}function rc(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o{Gn(r,t)});else if(A8(e))for(const r in e)Gn(e[r],t);return e}function Zs(e,t){const r=e1;if(r===null)return e;const n=Kl(r)||r.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),lr(()=>{e.isUnmounting=!0}),e}const P1=[Function,Array],oc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:P1,onEnter:P1,onAfterEnter:P1,onEnterCancelled:P1,onBeforeLeave:P1,onLeave:P1,onAfterLeave:P1,onLeaveCancelled:P1,onBeforeAppear:P1,onAppear:P1,onAfterAppear:P1,onAppearCancelled:P1},Lm={name:"BaseTransition",props:oc,setup(e,{slots:t}){const r=Li(),n=nc();let o;return()=>{const a=t.default&&k7(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const _ of a)if(_.type!==I1){i=_;break}}const s=it(e),{mode:l}=s;if(n.isLeaving)return k2(i);const u=Z5(i);if(!u)return k2(i);const c=mi(u,s,n,r);vi(u,c);const d=r.subTree,f=d&&Z5(d);let h=!1;const{getTransitionKey:g}=u.type;if(g){const _=g();o===void 0?o=_:_!==o&&(o=_,h=!0)}if(f&&f.type!==I1&&(!Un(u,f)||h)){const _=mi(f,s,n,r);if(vi(f,_),l==="out-in")return n.isLeaving=!0,_.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},k2(i);l==="in-out"&&u.type!==I1&&(_.delayLeave=(C,b,y)=>{const v=ac(n,f);v[String(f.key)]=f,C[hn]=()=>{b(),C[hn]=void 0,delete c.delayedLeave},c.delayedLeave=y})}return i}}},Dm=Lm;function ac(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 mi(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:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:C,onAfterAppear:b,onAppearCancelled:y}=t,v=String(e.key),k=ac(r,e),B=(R,D)=>{R&&j1(R,n,9,D)},$=(R,D)=>{const S=D[1];B(R,D),Ve(R)?R.every(z=>z.length<=1)&&S():R.length<=1&&S()},P={mode:a,persisted:i,beforeEnter(R){let D=s;if(!r.isMounted)if(o)D=_||s;else return;R[hn]&&R[hn](!0);const S=k[v];S&&Un(e,S)&&S.el[hn]&&S.el[hn](),B(D,[R])},enter(R){let D=l,S=u,z=c;if(!r.isMounted)if(o)D=C||l,S=b||u,z=y||c;else return;let V=!1;const U=R[Xi]=ie=>{V||(V=!0,ie?B(z,[R]):B(S,[R]),P.delayedLeave&&P.delayedLeave(),R[Xi]=void 0)};D?$(D,[R,U]):U()},leave(R,D){const S=String(e.key);if(R[Xi]&&R[Xi](!0),r.isUnmounting)return D();B(d,[R]);let z=!1;const V=R[hn]=U=>{z||(z=!0,D(),U?B(g,[R]):B(h,[R]),R[hn]=void 0,k[S]===e&&delete k[S])};k[S]=e,f?$(f,[R,V]):V()},clone(R){return mi(R,t,r,n)}};return P}function k2(e){if(Ul(e))return e=Kr(e),e.children=null,e}function Z5(e){return Ul(e)?e.children?e.children[0]:void 0:e}function vi(e,t){e.shapeFlag&6&&e.component?vi(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 k7(e,t=!1,r){let n=[],o=0;for(let a=0;a1)for(let a=0;aZt({name:e.name},t,{setup:e}))():e}const Ya=e=>!!e.type.__asyncLoader,Ul=e=>e.type.__isKeepAlive;function Bm(e,t){ic(e,"a",t)}function Hm(e,t){ic(e,"da",t)}function ic(e,t,r=Kt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(jl(t,n,r),r){let o=r.parent;for(;o&&o.parent;)Ul(o.parent.vnode)&&Tm(n,t,r,o),o=o.parent}}function Tm(e,t,r,n){const o=jl(t,e,n,!0);ur(()=>{h7(n[t],o)},r)}function jl(e,t,r=Kt,n=!1){if(r){const o=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(r.isUnmounted)return;la(),qo(r);const s=j1(t,r,e,i);return eo(),ua(),s});return n?o.unshift(a):o.push(a),a}}const Wr=e=>(t,r=Kt)=>(!Ci||e==="sp")&&jl(e,(...n)=>t(...n),r),Im=Wr("bm"),Ct=Wr("m"),Om=Wr("bu"),sc=Wr("u"),lr=Wr("bum"),ur=Wr("um"),Vm=Wr("sp"),Pm=Wr("rtg"),Nm=Wr("rtc");function $m(e,t=Kt){jl("ec",e,t)}const M7="components";function m1(e,t){return uc(M7,e,!0,t)||e}const lc=Symbol.for("v-ndc");function vt(e){return Nt(e)?uc(M7,e,!1)||e:e||lc}function uc(e,t,r=!0,n=!1){const o=e1||Kt;if(o){const a=o.type;if(e===M7){const s=hv(a,!1);if(s&&(s===t||s===Mr(t)||s===Nl(Mr(t))))return a}const i=R5(o[e]||a[e],t)||R5(o.appContext[e],t);return!i&&n?a:i}}function R5(e,t){return e&&(e[t]||e[Mr(t)]||e[Nl(Mr(t))])}function rt(e,t,r,n){let o;const a=r&&r[n];if(Ve(e)||Nt(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 F(e,t,r={},n,o){if(e1.isCE||e1.parent&&Ya(e1.parent)&&e1.parent.isCE)return t!=="default"&&(r.name=t),N("slot",r,n&&n());let a=e[t];a&&a._c&&(a._d=!1),m();const i=a&&cc(a(r)),s=q(ke,{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 cc(e){return e.some(t=>Fs(t)?!(t.type===I1||t.type===ke&&!cc(t.children)):!0)?e:null}function D0(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:gs(n)]=e[n];return r}const B0=e=>e?_c(e)?Kl(e)||e.proxy:B0(e.parent):null,Ga=Zt(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=>B0(e.parent),$root:e=>B0(e.root),$emit:e=>e.emit,$options:e=>x7(e),$forceUpdate:e=>e.f||(e.f=()=>_7(e.update)),$nextTick:e=>e.n||(e.n=p1.bind(e.proxy)),$watch:e=>Am.bind(e)}),M2=(e,t)=>e!==kt&&!e.__isScriptSetup&&ot(e,t),Zm={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 h=i[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return a[t]}else{if(M2(n,t))return i[t]=1,n[t];if(o!==kt&&ot(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&ot(u,t))return i[t]=3,a[t];if(r!==kt&&ot(r,t))return i[t]=4,r[t];H0&&(i[t]=0)}}const c=Ga[t];let d,f;if(c)return t==="$attrs"&&x1(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(r!==kt&&ot(r,t))return i[t]=4,r[t];if(f=l.config.globalProperties,ot(f,t))return f[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:a}=e;return M2(o,t)?(o[t]=r,!0):n!==kt&&ot(n,t)?(n[t]=r,!0):ot(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!==kt&&ot(e,i)||M2(t,i)||(s=a[0])&&ot(s,i)||ot(n,i)||ot(Ga,i)||ot(o.config.globalProperties,i)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ot(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function It(){return dc().slots}function cr(){return dc().attrs}function dc(){const e=Li();return e.setupContext||(e.setupContext=Mc(e))}function z5(e){return Ve(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let H0=!0;function Rm(e){const t=x7(e),r=e.proxy,n=e.ctx;H0=!1,t.beforeCreate&&F5(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:h,updated:g,activated:_,deactivated:C,beforeDestroy:b,beforeUnmount:y,destroyed:v,unmounted:k,render:B,renderTracked:$,renderTriggered:P,errorCaptured:R,serverPrefetch:D,expose:S,inheritAttrs:z,components:V,directives:U,filters:ie}=t;if(u&&zm(u,n,null),i)for(const ne in i){const be=i[ne];Qe(be)&&(n[ne]=be.bind(r))}if(o){const ne=o.call(r,r);Mt(ne)&&(e.data=Ln(ne))}if(H0=!0,a)for(const ne in a){const be=a[ne],Ye=Qe(be)?be.bind(r,r):Qe(be.get)?be.get.bind(r,r):or,$e=!Qe(be)&&Qe(be.set)?be.set.bind(r):or,qe=A({get:Ye,set:$e});Object.defineProperty(n,ne,{enumerable:!0,configurable:!0,get:()=>qe.value,set:ze=>qe.value=ze})}if(s)for(const ne in s)fc(s[ne],n,r,ne);if(l){const ne=Qe(l)?l.call(r):l;Reflect.ownKeys(ne).forEach(be=>{Po(be,ne[be])})}c&&F5(c,e,"c");function ue(ne,be){Ve(be)?be.forEach(Ye=>ne(Ye.bind(r))):be&&ne(be.bind(r))}if(ue(Im,d),ue(Ct,f),ue(Om,h),ue(sc,g),ue(Bm,_),ue(Hm,C),ue($m,R),ue(Nm,$),ue(Pm,P),ue(lr,y),ue(ur,k),ue(Vm,D),Ve(S))if(S.length){const ne=e.exposed||(e.exposed={});S.forEach(be=>{Object.defineProperty(ne,be,{get:()=>r[be],set:Ye=>r[be]=Ye})})}else e.exposed||(e.exposed={});B&&e.render===or&&(e.render=B),z!=null&&(e.inheritAttrs=z),V&&(e.components=V),U&&(e.directives=U)}function zm(e,t,r=or){Ve(e)&&(e=T0(e));for(const n in e){const o=e[n];let a;Mt(o)?"default"in o?a=M1(o.from||n,o.default,!0):a=M1(o.from||n):a=M1(o),Jt(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[n]=a}}function F5(e,t,r){j1(Ve(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function fc(e,t,r,n){const o=n.includes(".")?rc(r,n):()=>r[n];if(Nt(e)){const a=t[e];Qe(a)&&Te(o,a)}else if(Qe(e))Te(o,e.bind(r));else if(Mt(e))if(Ve(e))e.forEach(a=>fc(a,t,r,n));else{const a=Qe(e.handler)?e.handler.bind(r):t[e.handler];Qe(a)&&Te(o,a,e)}}function x7(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=>Rs(l,u,i,!0)),Rs(l,t,i)),Mt(t)&&a.set(t,l),l}function Rs(e,t,r,n=!1){const{mixins:o,extends:a}=t;a&&Rs(e,a,r,!0),o&&o.forEach(i=>Rs(e,i,r,!0));for(const i in t)if(!(n&&i==="expose")){const s=Fm[i]||r&&r[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const Fm={data:U5,props:j5,emits:j5,methods:Na,computed:Na,beforeCreate:i1,created:i1,beforeMount:i1,mounted:i1,beforeUpdate:i1,updated:i1,beforeDestroy:i1,beforeUnmount:i1,destroyed:i1,unmounted:i1,activated:i1,deactivated:i1,errorCaptured:i1,serverPrefetch:i1,components:Na,directives:Na,watch:jm,provide:U5,inject:Um};function U5(e,t){return t?e?function(){return Zt(Qe(e)?e.call(this,this):e,Qe(t)?t.call(this,this):t)}:t:e}function Um(e,t){return Na(T0(e),T0(t))}function T0(e){if(Ve(e)){const t={};for(let r=0;r1)return r&&Qe(t)?t.call(n&&n.proxy):t}}function Km(e,t,r,n=!1){const o={},a={};Vs(a,Gl,1),e.propsDefaults=Object.create(null),pc(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);r?e.props=n?o:z8(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function qm(e,t,r,n){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=it(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,h]=mc(d,t,!0);Zt(i,f),h&&s.push(...h)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return Mt(e)&&n.set(e,To),To;if(Ve(a))for(let c=0;c-1,h[1]=_<0||g<_,(g>-1||ot(h,"default"))&&s.push(d)}}}const u=[i,s];return Mt(e)&&n.set(e,u),u}function Y5(e){return e[0]!=="$"}function G5(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function K5(e,t){return G5(e)===G5(t)}function q5(e,t){return Ve(t)?t.findIndex(r=>K5(r,e)):Qe(t)&&K5(t,e)?0:-1}const vc=e=>e[0]==="_"||e==="$stable",S7=e=>Ve(e)?e.map(yr):[yr(e)],Wm=(e,t,r)=>{if(t._n)return t;const n=E((...o)=>S7(t(...o)),r);return n._c=!1,n},gc=(e,t,r)=>{const n=e._ctx;for(const o in e){if(vc(o))continue;const a=e[o];if(Qe(a))t[o]=Wm(o,a,n);else if(a!=null){const i=S7(a);t[o]=()=>i}}},Cc=(e,t)=>{const r=S7(t);e.slots.default=()=>r},Qm=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=it(t),Vs(t,"_",r)):gc(t,e.slots={})}else e.slots={},t&&Cc(e,t);Vs(e.slots,Gl,1)},Xm=(e,t,r)=>{const{vnode:n,slots:o}=e;let a=!0,i=kt;if(n.shapeFlag&32){const s=t._;s?r&&s===1?a=!1:(Zt(o,t),!r&&s===1&&delete o._):(a=!t.$stable,gc(t,o)),i=t}else t&&(Cc(e,t),i={default:1});if(a)for(const s in o)!vc(s)&&i[s]==null&&delete o[s]};function O0(e,t,r,n,o=!1){if(Ve(e)){e.forEach((f,h)=>O0(f,t&&(Ve(t)?t[h]:t),r,n,o));return}if(Ya(n)&&!o)return;const a=n.shapeFlag&4?Kl(n.component)||n.component.proxy:n.el,i=o?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===kt?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Nt(u)?(c[u]=null,ot(d,u)&&(d[u]=null)):Jt(u)&&(u.value=null)),Qe(l))_n(l,s,12,[i,c]);else{const f=Nt(l),h=Jt(l);if(f||h){const g=()=>{if(e.f){const _=f?ot(d,l)?d[l]:c[l]:l.value;o?Ve(_)&&h7(_,a):Ve(_)?_.includes(a)||_.push(a):f?(c[l]=[a],ot(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else f?(c[l]=i,ot(d,l)&&(d[l]=i)):h&&(l.value=i,e.k&&(c[e.k]=i))};i?(g.id=-1,w1(g,r)):g()}}}const w1=Sm;function Jm(e){return ev(e)}function ev(e,t){const r=x0();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:h=or,insertStaticContent:g}=e,_=(x,L,I,Q=null,W=null,ee=null,he=!1,ce=null,de=!!L.dynamicChildren)=>{if(x===L)return;x&&!Un(x,L)&&(Q=G(x),ze(x,W,ee,!0),x=null),L.patchFlag===-2&&(de=!1,L.dynamicChildren=null);const{type:le,ref:Ae,shapeFlag:we}=L;switch(le){case Yl:C(x,L,I,Q);break;case I1:b(x,L,I,Q);break;case Ka:x==null&&y(L,I,Q,he);break;case ke:V(x,L,I,Q,W,ee,he,ce,de);break;default:we&1?B(x,L,I,Q,W,ee,he,ce,de):we&6?U(x,L,I,Q,W,ee,he,ce,de):(we&64||we&128)&&le.process(x,L,I,Q,W,ee,he,ce,de,Z)}Ae!=null&&W&&O0(Ae,x&&x.ref,ee,L||x,!L)},C=(x,L,I,Q)=>{if(x==null)n(L.el=s(L.children),I,Q);else{const W=L.el=x.el;L.children!==x.children&&u(W,L.children)}},b=(x,L,I,Q)=>{x==null?n(L.el=l(L.children||""),I,Q):L.el=x.el},y=(x,L,I,Q)=>{[x.el,x.anchor]=g(x.children,L,I,Q,x.el,x.anchor)},v=({el:x,anchor:L},I,Q)=>{let W;for(;x&&x!==L;)W=f(x),n(x,I,Q),x=W;n(L,I,Q)},k=({el:x,anchor:L})=>{let I;for(;x&&x!==L;)I=f(x),o(x),x=I;o(L)},B=(x,L,I,Q,W,ee,he,ce,de)=>{he=he||L.type==="svg",x==null?$(L,I,Q,W,ee,he,ce,de):D(x,L,W,ee,he,ce,de)},$=(x,L,I,Q,W,ee,he,ce)=>{let de,le;const{type:Ae,props:we,shapeFlag:Me,transition:Oe,dirs:re}=x;if(de=x.el=i(x.type,ee,we&&we.is,we),Me&8?c(de,x.children):Me&16&&R(x.children,de,null,Q,W,ee&&Ae!=="foreignObject",he,ce),re&&Tn(x,null,Q,"created"),P(de,x,x.scopeId,he,Q),we){for(const me in we)me!=="value"&&!vs(me)&&a(de,me,null,we[me],ee,x.children,Q,W,Ge);"value"in we&&a(de,"value",null,we.value),(le=we.onVnodeBeforeMount)&&fr(le,Q,x)}re&&Tn(x,null,Q,"beforeMount");const Le=tv(W,Oe);Le&&Oe.beforeEnter(de),n(de,L,I),((le=we&&we.onVnodeMounted)||Le||re)&&w1(()=>{le&&fr(le,Q,x),Le&&Oe.enter(de),re&&Tn(x,null,Q,"mounted")},W)},P=(x,L,I,Q,W)=>{if(I&&h(x,I),Q)for(let ee=0;ee{for(let le=de;le{const ce=L.el=x.el;let{patchFlag:de,dynamicChildren:le,dirs:Ae}=L;de|=x.patchFlag&16;const we=x.props||kt,Me=L.props||kt;let Oe;I&&In(I,!1),(Oe=Me.onVnodeBeforeUpdate)&&fr(Oe,I,L,x),Ae&&Tn(L,x,I,"beforeUpdate"),I&&In(I,!0);const re=W&&L.type!=="foreignObject";if(le?S(x.dynamicChildren,le,ce,I,Q,re,ee):he||be(x,L,ce,null,I,Q,re,ee,!1),de>0){if(de&16)z(ce,L,we,Me,I,Q,W);else if(de&2&&we.class!==Me.class&&a(ce,"class",null,Me.class,W),de&4&&a(ce,"style",we.style,Me.style,W),de&8){const Le=L.dynamicProps;for(let me=0;me{Oe&&fr(Oe,I,L,x),Ae&&Tn(L,x,I,"updated")},Q)},S=(x,L,I,Q,W,ee,he)=>{for(let ce=0;ce{if(I!==Q){if(I!==kt)for(const ce in I)!vs(ce)&&!(ce in Q)&&a(x,ce,I[ce],null,he,L.children,W,ee,Ge);for(const ce in Q){if(vs(ce))continue;const de=Q[ce],le=I[ce];de!==le&&ce!=="value"&&a(x,ce,le,de,he,L.children,W,ee,Ge)}"value"in Q&&a(x,"value",I.value,Q.value)}},V=(x,L,I,Q,W,ee,he,ce,de)=>{const le=L.el=x?x.el:s(""),Ae=L.anchor=x?x.anchor:s("");let{patchFlag:we,dynamicChildren:Me,slotScopeIds:Oe}=L;Oe&&(ce=ce?ce.concat(Oe):Oe),x==null?(n(le,I,Q),n(Ae,I,Q),R(L.children,I,Ae,W,ee,he,ce,de)):we>0&&we&64&&Me&&x.dynamicChildren?(S(x.dynamicChildren,Me,I,W,ee,he,ce),(L.key!=null||W&&L===W.subTree)&&yc(x,L,!0)):be(x,L,I,Ae,W,ee,he,ce,de)},U=(x,L,I,Q,W,ee,he,ce,de)=>{L.slotScopeIds=ce,x==null?L.shapeFlag&512?W.ctx.activate(L,I,Q,he,de):ie(L,I,Q,W,ee,he,de):se(x,L,de)},ie=(x,L,I,Q,W,ee,he)=>{const ce=x.component=uv(x,Q,W);if(Ul(x)&&(ce.ctx.renderer=Z),cv(ce),ce.asyncDep){if(W&&W.registerDep(ce,ue),!x.el){const de=ce.subTree=N(I1);b(null,de,L,I)}return}ue(ce,x,L,I,W,ee,he)},se=(x,L,I)=>{const Q=L.component=x.component;if(km(x,L,I))if(Q.asyncDep&&!Q.asyncResolved){ne(Q,L,I);return}else Q.next=L,gm(Q.update),Q.update();else L.el=x.el,Q.vnode=L},ue=(x,L,I,Q,W,ee,he)=>{const ce=()=>{if(x.isMounted){let{next:Ae,bu:we,u:Me,parent:Oe,vnode:re}=x,Le=Ae,me;In(x,!1),Ae?(Ae.el=re.el,ne(x,Ae,he)):Ae=re,we&&Cs(we),(me=Ae.props&&Ae.props.onVnodeBeforeUpdate)&&fr(me,Oe,Ae,re),In(x,!0);const Pe=_2(x),ft=x.subTree;x.subTree=Pe,_(ft,Pe,d(ft.el),G(ft),x,W,ee),Ae.el=Pe.el,Le===null&&Mm(x,Pe.el),Me&&w1(Me,W),(me=Ae.props&&Ae.props.onVnodeUpdated)&&w1(()=>fr(me,Oe,Ae,re),W)}else{let Ae;const{el:we,props:Me}=L,{bm:Oe,m:re,parent:Le}=x,me=Ya(L);if(In(x,!1),Oe&&Cs(Oe),!me&&(Ae=Me&&Me.onVnodeBeforeMount)&&fr(Ae,Le,L),In(x,!0),we&&ae){const Pe=()=>{x.subTree=_2(x),ae(we,x.subTree,x,W,null)};me?L.type.__asyncLoader().then(()=>!x.isUnmounted&&Pe()):Pe()}else{const Pe=x.subTree=_2(x);_(null,Pe,I,Q,x,W,ee),L.el=Pe.el}if(re&&w1(re,W),!me&&(Ae=Me&&Me.onVnodeMounted)){const Pe=L;w1(()=>fr(Ae,Le,Pe),W)}(L.shapeFlag&256||Le&&Ya(Le.vnode)&&Le.vnode.shapeFlag&256)&&x.a&&w1(x.a,W),x.isMounted=!0,L=I=Q=null}},de=x.effect=new v7(ce,()=>_7(le),x.scope),le=x.update=()=>de.run();le.id=x.uid,In(x,!0),le()},ne=(x,L,I)=>{L.component=x;const Q=x.vnode.props;x.vnode=L,x.next=null,qm(x,L.props,Q,I),Xm(x,L.children,I),la(),N5(),ua()},be=(x,L,I,Q,W,ee,he,ce,de=!1)=>{const le=x&&x.children,Ae=x?x.shapeFlag:0,we=L.children,{patchFlag:Me,shapeFlag:Oe}=L;if(Me>0){if(Me&128){$e(le,we,I,Q,W,ee,he,ce,de);return}else if(Me&256){Ye(le,we,I,Q,W,ee,he,ce,de);return}}Oe&8?(Ae&16&&Ge(le,W,ee),we!==le&&c(I,we)):Ae&16?Oe&16?$e(le,we,I,Q,W,ee,he,ce,de):Ge(le,W,ee,!0):(Ae&8&&c(I,""),Oe&16&&R(we,I,Q,W,ee,he,ce,de))},Ye=(x,L,I,Q,W,ee,he,ce,de)=>{x=x||To,L=L||To;const le=x.length,Ae=L.length,we=Math.min(le,Ae);let Me;for(Me=0;MeAe?Ge(x,W,ee,!0,!1,we):R(L,I,Q,W,ee,he,ce,de,we)},$e=(x,L,I,Q,W,ee,he,ce,de)=>{let le=0;const Ae=L.length;let we=x.length-1,Me=Ae-1;for(;le<=we&&le<=Me;){const Oe=x[le],re=L[le]=de?pn(L[le]):yr(L[le]);if(Un(Oe,re))_(Oe,re,I,null,W,ee,he,ce,de);else break;le++}for(;le<=we&&le<=Me;){const Oe=x[we],re=L[Me]=de?pn(L[Me]):yr(L[Me]);if(Un(Oe,re))_(Oe,re,I,null,W,ee,he,ce,de);else break;we--,Me--}if(le>we){if(le<=Me){const Oe=Me+1,re=OeMe)for(;le<=we;)ze(x[le],W,ee,!0),le++;else{const Oe=le,re=le,Le=new Map;for(le=re;le<=Me;le++){const ye=L[le]=de?pn(L[le]):yr(L[le]);ye.key!=null&&Le.set(ye.key,le)}let me,Pe=0;const ft=Me-re+1;let te=!1,ve=0;const xe=new Array(ft);for(le=0;le=ft){ze(ye,W,ee,!0);continue}let je;if(ye.key!=null)je=Le.get(ye.key);else for(me=re;me<=Me;me++)if(xe[me-re]===0&&Un(ye,L[me])){je=me;break}je===void 0?ze(ye,W,ee,!0):(xe[je-re]=le+1,je>=ve?ve=je:te=!0,_(ye,L[je],I,null,W,ee,he,ce,de),Pe++)}const Ue=te?rv(xe):To;for(me=Ue.length-1,le=ft-1;le>=0;le--){const ye=re+le,je=L[ye],Ot=ye+1{const{el:ee,type:he,transition:ce,children:de,shapeFlag:le}=x;if(le&6){qe(x.component.subTree,L,I,Q);return}if(le&128){x.suspense.move(L,I,Q);return}if(le&64){he.move(x,L,I,Z);return}if(he===ke){n(ee,L,I);for(let we=0;wece.enter(ee),W);else{const{leave:we,delayLeave:Me,afterLeave:Oe}=ce,re=()=>n(ee,L,I),Le=()=>{we(ee,()=>{re(),Oe&&Oe()})};Me?Me(ee,re,Le):Le()}else n(ee,L,I)},ze=(x,L,I,Q=!1,W=!1)=>{const{type:ee,props:he,ref:ce,children:de,dynamicChildren:le,shapeFlag:Ae,patchFlag:we,dirs:Me}=x;if(ce!=null&&O0(ce,null,I,x,!0),Ae&256){L.ctx.deactivate(x);return}const Oe=Ae&1&&Me,re=!Ya(x);let Le;if(re&&(Le=he&&he.onVnodeBeforeUnmount)&&fr(Le,L,x),Ae&6)Be(x.component,I,Q);else{if(Ae&128){x.suspense.unmount(I,Q);return}Oe&&Tn(x,null,L,"beforeUnmount"),Ae&64?x.type.remove(x,L,I,W,Z,Q):le&&(ee!==ke||we>0&&we&64)?Ge(le,L,I,!1,!0):(ee===ke&&we&384||!W&&Ae&16)&&Ge(de,L,I),Q&&fe(x)}(re&&(Le=he&&he.onVnodeUnmounted)||Oe)&&w1(()=>{Le&&fr(Le,L,x),Oe&&Tn(x,null,L,"unmounted")},I)},fe=x=>{const{type:L,el:I,anchor:Q,transition:W}=x;if(L===ke){Ne(I,Q);return}if(L===Ka){k(x);return}const ee=()=>{o(I),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(x.shapeFlag&1&&W&&!W.persisted){const{leave:he,delayLeave:ce}=W,de=()=>he(I,ee);ce?ce(x.el,ee,de):de()}else ee()},Ne=(x,L)=>{let I;for(;x!==L;)I=f(x),o(x),x=I;o(L)},Be=(x,L,I)=>{const{bum:Q,scope:W,update:ee,subTree:he,um:ce}=x;Q&&Cs(Q),W.stop(),ee&&(ee.active=!1,ze(he,x,L,I)),ce&&w1(ce,L),w1(()=>{x.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},Ge=(x,L,I,Q=!1,W=!1,ee=0)=>{for(let he=ee;hex.shapeFlag&6?G(x.component.subTree):x.shapeFlag&128?x.suspense.next():f(x.anchor||x.el),j=(x,L,I)=>{x==null?L._vnode&&ze(L._vnode,null,null,!0):_(L._vnode||null,x,L,null,null,null,I),N5(),X8(),L._vnode=x},Z={p:_,um:ze,m:qe,r:fe,mt:ie,mc:R,pc:be,pbc:S,n:G,o:e};let K,ae;return t&&([K,ae]=t(Z)),{render:j,hydrate:K,createApp:Gm(j,K)}}function In({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function tv(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function yc(e,t,r=!1){const n=e.children,o=t.children;if(Ve(n)&&Ve(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 nv=e=>e.__isTeleport,ke=Symbol.for("v-fgt"),Yl=Symbol.for("v-txt"),I1=Symbol.for("v-cmt"),Ka=Symbol.for("v-stc"),qa=[];let rr=null;function m(e=!1){qa.push(rr=e?null:[])}function ov(){qa.pop(),rr=qa[qa.length-1]||null}let gi=1;function W5(e){gi+=e}function bc(e){return e.dynamicChildren=gi>0?rr||To:null,ov(),gi>0&&rr&&rr.push(e),e}function M(e,t,r,n,o,a){return bc(p(e,t,r,n,o,a,!0))}function q(e,t,r,n,o){return bc(N(e,t,r,n,o,!0))}function Fs(e){return e?e.__v_isVNode===!0:!1}function Un(e,t){return e.type===t.type&&e.key===t.key}const Gl="__vInternal",wc=({key:e})=>e??null,ys=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Nt(e)||Jt(e)||Qe(e)?{i:e1,r:e,k:t,f:!!r}:e:null);function p(e,t=null,r=null,n=0,o=null,a=e===ke?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wc(t),ref:t&&ys(t),scopeId:zl,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:e1};return s?(E7(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=Nt(r)?8:16),gi>0&&!i&&rr&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&rr.push(l),l}const N=av;function av(e,t=null,r=null,n=0,o=null,a=!1){if((!e||e===lc)&&(e=I1),Fs(e)){const s=Kr(e,t,!0);return r&&E7(s,r),gi>0&&!a&&rr&&(s.shapeFlag&6?rr[rr.indexOf(e)]=s:rr.push(s)),s.patchFlag|=-2,s}if(pv(e)&&(e=e.__vccOpts),t){t=iv(t);let{class:s,style:l}=t;s&&!Nt(s)&&(t.class=J(s)),Mt(l)&&(U8(l)&&!Ve(l)&&(l=Zt({},l)),t.style=Ke(l))}const i=Nt(e)?1:xm(e)?128:nv(e)?64:Mt(e)?4:Qe(e)?2:0;return p(e,t,r,n,o,i,a,!0)}function iv(e){return e?U8(e)||Gl in e?Zt({},e):e:null}function Kr(e,t,r=!1){const{props:n,ref:o,patchFlag:a,children:i}=e,s=t?Xe(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&wc(s),ref:t&&t.ref?r&&o?Ve(o)?o.concat(ys(t)):[o,ys(t)]:ys(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!==ke?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&&Kr(e.ssContent),ssFallback:e.ssFallback&&Kr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function w(e=" ",t=0){return N(Yl,null,e,t)}function Ai(e,t){const r=N(Ka,null,e);return r.staticCount=t,r}function O(e="",t=!1){return t?(m(),q(I1,null,e)):N(I1,null,e)}function yr(e){return e==null||typeof e=="boolean"?N(I1):Ve(e)?N(ke,null,e.slice()):typeof e=="object"?pn(e):N(Yl,null,String(e))}function pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kr(e)}function E7(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ve(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),E7(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(Gl in t)?t._ctx=e1:o===3&&e1&&(e1.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Qe(t)?(t={default:t,_ctx:e1},r=32):(t=String(t),n&64?(r=16,t=[w(t)]):r=8);e.children=t,e.shapeFlag|=r}function Xe(...e){const t={};for(let r=0;rKt||e1;let A7,Co,Q5="__VUE_INSTANCE_SETTERS__";(Co=x0()[Q5])||(Co=x0()[Q5]=[]),Co.push(e=>Kt=e),A7=e=>{Co.length>1?Co.forEach(t=>t(e)):Co[0](e)};const qo=e=>{A7(e),e.scope.on()},eo=()=>{Kt&&Kt.scope.off(),A7(null)};function _c(e){return e.vnode.shapeFlag&4}let Ci=!1;function cv(e,t=!1){Ci=t;const{props:r,children:n}=e.vnode,o=_c(e);Km(e,r,o,t),Qm(e,n);const a=o?dv(e,t):void 0;return Ci=!1,a}function dv(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=j8(new Proxy(e.ctx,Zm));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?Mc(e):null;qo(e),la();const a=_n(n,e,0,[e.props,o]);if(ua(),eo(),S8(a)){if(a.then(eo,eo),t)return a.then(i=>{X5(e,i,t)}).catch(i=>{Zl(i,e,0)});e.asyncDep=a}else X5(e,a,t)}else kc(e,t)}function X5(e,t,r){Qe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Mt(t)&&(e.setupState=q8(t)),kc(e,r)}let J5;function kc(e,t,r){const n=e.type;if(!e.render){if(!t&&J5&&!n.render){const o=n.template||x7(e).template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,u=Zt(Zt({isCustomElement:a,delimiters:s},i),l);n.render=J5(o,u)}}e.render=n.render||or}{qo(e),la();try{Rm(e)}finally{ua(),eo()}}}function fv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return x1(e,"get","$attrs"),t[r]}}))}function Mc(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return fv(e)},slots:e.slots,emit:e.emit,expose:t}}function Kl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(q8(j8(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Ga)return Ga[r](e)},has(t,r){return r in t||r in Ga}}))}function hv(e,t=!0){return Qe(e)?e.displayName||e.name:e.name||t&&e.__name}function pv(e){return Qe(e)&&"__vccOpts"in e}const A=(e,t)=>pm(e,t,Ci);function Ee(e,t,r){const n=arguments.length;return n===2?Mt(t)&&!Ve(t)?Fs(t)?N(e,null,[t]):N(e,t):N(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Fs(r)&&(r=[r]),N(e,t,r))}const mv=Symbol.for("v-scx"),vv=()=>M1(mv),gv="3.3.7",Cv="http://www.w3.org/2000/svg",jn=typeof document<"u"?document:null,e3=jn&&jn.createElement("template"),yv={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?jn.createElementNS(Cv,e):jn.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>jn.createTextNode(e),createComment:e=>jn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jn.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{e3.innerHTML=n?`${e}`:e;const s=e3.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]}},rn="transition",Sa="animation",Wo=Symbol("_vtc"),oo=(e,{slots:t})=>Ee(Dm,Sc(e),t);oo.displayName="Transition";const xc={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},bv=oo.props=Zt({},oc,xc),On=(e,t=[])=>{Ve(e)?e.forEach(r=>r(...t)):e&&e(...t)},t3=e=>e?Ve(e)?e.some(t=>t.length>1):e.length>1:!1;function Sc(e){const t={};for(const V in e)V in xc||(t[V]=e[V]);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:h=`${r}-leave-to`}=e,g=wv(o),_=g&&g[0],C=g&&g[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:v,onLeave:k,onLeaveCancelled:B,onBeforeAppear:$=b,onAppear:P=y,onAppearCancelled:R=v}=t,D=(V,U,ie)=>{dn(V,U?c:s),dn(V,U?u:i),ie&&ie()},S=(V,U)=>{V._isLeaving=!1,dn(V,d),dn(V,h),dn(V,f),U&&U()},z=V=>(U,ie)=>{const se=V?P:y,ue=()=>D(U,V,ie);On(se,[U,ue]),r3(()=>{dn(U,V?l:a),Vr(U,V?c:s),t3(se)||n3(U,n,_,ue)})};return Zt(t,{onBeforeEnter(V){On(b,[V]),Vr(V,a),Vr(V,i)},onBeforeAppear(V){On($,[V]),Vr(V,l),Vr(V,u)},onEnter:z(!1),onAppear:z(!0),onLeave(V,U){V._isLeaving=!0;const ie=()=>S(V,U);Vr(V,d),Ac(),Vr(V,f),r3(()=>{V._isLeaving&&(dn(V,d),Vr(V,h),t3(k)||n3(V,n,C,ie))}),On(k,[V,ie])},onEnterCancelled(V){D(V,!1),On(v,[V])},onAppearCancelled(V){D(V,!0),On(R,[V])},onLeaveCancelled(V){S(V),On(B,[V])}})}function wv(e){if(e==null)return null;if(Mt(e))return[x2(e.enter),x2(e.leave)];{const t=x2(e);return[t,t]}}function x2(e){return Dp(e)}function Vr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[Wo]||(e[Wo]=new Set)).add(t)}function dn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[Wo];r&&(r.delete(t),r.size||(e[Wo]=void 0))}function r3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let _v=0;function n3(e,t,r,n){const o=e._endId=++_v,a=()=>{o===e._endId&&n()};if(r)return setTimeout(a,r);const{type:i,timeout:s,propCount:l}=Ec(e,t);if(!i)return n();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,f),a()},f=h=>{h.target===e&&++c>=l&&d()};setTimeout(()=>{c(r[g]||"").split(", "),o=n(`${rn}Delay`),a=n(`${rn}Duration`),i=o3(o,a),s=n(`${Sa}Delay`),l=n(`${Sa}Duration`),u=o3(s,l);let c=null,d=0,f=0;t===rn?i>0&&(c=rn,d=i,f=a.length):t===Sa?u>0&&(c=Sa,d=u,f=l.length):(d=Math.max(i,u),c=d>0?i>u?rn:Sa:null,f=c?c===rn?a.length:l.length:0);const h=c===rn&&/\b(transform|all)(,|$)/.test(n(`${rn}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:h}}function o3(e,t){for(;e.lengtha3(r)+a3(e[n])))}function a3(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ac(){return document.body.offsetHeight}function kv(e,t,r){const n=e[Wo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const L7=Symbol("_vod"),V0={beforeMount(e,{value:t},{transition:r}){e[L7]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Ea(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),Ea(e,!0),n.enter(e)):n.leave(e,()=>{Ea(e,!1)}):Ea(e,t))},beforeUnmount(e,{value:t}){Ea(e,t)}};function Ea(e,t){e.style.display=t?e[L7]:"none"}function Mv(e,t,r){const n=e.style,o=Nt(r);if(r&&!o){if(t&&!Nt(t))for(const a in t)r[a]==null&&P0(n,a,"");for(const a in r)P0(n,a,r[a])}else{const a=n.display;o?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),L7 in e&&(n.display=a)}}const i3=/\s*!important$/;function P0(e,t,r){if(Ve(r))r.forEach(n=>P0(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=xv(e,t);i3.test(r)?e.setProperty(An(n),r.replace(i3,""),"important"):e[n]=r}}const s3=["Webkit","Moz","ms"],S2={};function xv(e,t){const r=S2[t];if(r)return r;let n=Mr(t);if(n!=="filter"&&n in e)return S2[t]=n;n=Nl(n);for(let o=0;oE2||(Bv.then(()=>E2=0),E2=Date.now());function Tv(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;j1(Iv(n,r.value),t,5,[n])};return r.value=e,r.attached=Hv(),r}function Iv(e,t){if(Ve(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 d3=/^on[a-z]/,Ov=(e,t,r,n,o=!1,a,i,s,l)=>{t==="class"?kv(e,n,o):t==="style"?Mv(e,r,n):Il(t)?f7(t)||Lv(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vv(e,t,n,o))?Ev(e,t,n,a,i,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Sv(e,t,n,o))};function Vv(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&d3.test(t)&&Qe(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||d3.test(t)&&Nt(r)?!1:t in e}function ca(e){const t=Li();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>$0(a,o))},n=()=>{const o=e(t.proxy);N0(t.subTree,o),r(o)};Em(n),Ct(()=>{const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),ur(()=>o.disconnect())})}function N0(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{N0(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)$0(e.el,t);else if(e.type===ke)e.children.forEach(r=>N0(r,t));else if(e.type===Ka){let{el:r,anchor:n}=e;for(;r&&($0(r,t),r!==n);)r=r.nextSibling}}function $0(e,t){if(e.nodeType===1){const r=e.style;for(const n in t)r.setProperty(`--${n}`,t[n])}}const Lc=new WeakMap,Dc=new WeakMap,Us=Symbol("_moveCb"),f3=Symbol("_enterCb"),Bc={name:"TransitionGroup",props:Zt({},bv,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Li(),n=nc();let o,a;return sc(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!zv(o[0].el,r.vnode.el,i))return;o.forEach($v),o.forEach(Zv);const s=o.filter(Rv);Ac(),s.forEach(l=>{const u=l.el,c=u.style;Vr(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[Us]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u[Us]=null,dn(u,i))};u.addEventListener("transitionend",d)})}),()=>{const i=it(e),s=Sc(i);let l=i.tag||ke;o=a,a=t.default?k7(t.default()):[];for(let u=0;udelete e.mode;Bc.props;const Nv=Bc;function $v(e){const t=e.el;t[Us]&&t[Us](),t[f3]&&t[f3]()}function Zv(e){Dc.set(e,e.el.getBoundingClientRect())}function Rv(e){const t=Lc.get(e),r=Dc.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 zv(e,t,r){const n=e.cloneNode(),o=e[Wo];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}=Ec(n);return a.removeChild(n),i}const h3=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ve(t)?r=>Cs(t,r):t};function Fv(e){e.target.composing=!0}function p3(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const A2=Symbol("_assign"),Uv={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[A2]=h3(o);const a=n||o.props&&o.props.type==="number";Mo(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;r&&(s=s.trim()),a&&(s=M0(s)),e[A2](s)}),r&&Mo(e,"change",()=>{e.value=e.value.trim()}),t||(Mo(e,"compositionstart",Fv),Mo(e,"compositionend",p3),Mo(e,"change",p3))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},a){if(e[A2]=h3(a),e.composing||document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===t||(o||e.type==="number")&&M0(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},jv=["ctrl","shift","alt","meta"],Yv={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)=>jv.some(r=>e[`${r}Key`]&&!t.includes(r))},Et=(e,t)=>(r,...n)=>{for(let o=0;or=>{if(!("key"in r))return;const n=An(r.key);if(t.some(o=>o===n||Gv[o]===n))return e(r)},Kv=Zt({patchProp:Ov},yv);let m3;function qv(){return m3||(m3=Jm(Kv))}const Hc=(...e)=>{const t=qv().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=Wv(n);if(!o)return;const a=t._component;!Qe(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 Wv(e){return Nt(e)?document.querySelector(e):e}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT @@ -584,7 +584,7 @@ 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:E(()=>[Poe,w()]),_:1},8,["title"]),w(),N(H(Pt),{trigger:"hover",title:"Data Plane Proxy (DPP)","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:E(()=>[w(T(H(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:E(()=>[Noe,w()]),_:1}),w(),$oe,w(),Zoe,w(),Roe]))}}),b1={KumaLogo:a1(N1e,{description:"KumaLogo"}),GithubButton:a1(zte,{description:"GithubButton"}),MainOverview:a1(Mre,{description:"MainOverview"}),KubernetesGraph:a1(Qre,{description:"KubernetesGraph"}),PostgresGraph:a1(yoe,{description:"PostgresGraph"}),MemoryGraph:a1(fne,{description:"MemoryGraph"}),MultizoneGraph:a1(Wne,{description:"MultizoneGraph"}),StandaloneGraph:a1(zoe,{description:"StandaloneGraph"}),AppSidebar:a1(I1e,{description:"AppSidebar"}),AppHeader:a1(d1e,{description:"AppHeader"}),AppLoadingBar:a1(_1e,{description:"AppLoadingBar"}),AppOnboardingNotification:a1(E1e,{description:"AppOnboardingNotification"}),MainView:a1(p1e,{description:"MainView"}),MeshDetails:a1(Are,{description:"MeshDetails"})},[Foe,Uoe,gse,Cse,yse,bse,wse,_se,kse,Mse,xse,Sse,joe,Ese]=Tl(b1.KumaLogo,b1.GithubButton,b1.MainOverview,b1.KubernetesGraph,b1.PostgresGraph,b1.MemoryGraph,b1.MultizoneGraph,b1.StandaloneGraph,b1.AppSidebar,b1.AppHeader,b1.AppLoadingBar,b1.AppOnboardingNotification,b1.MainView,b1.MeshDetails),Yoe={key:0,"aria-label":"Breadcrumb"},Goe={key:0,class:"app-view-title-bar"},Koe={key:1,class:"actions"},qoe={key:1},Woe=X({__name:"AppView",props:{breadcrumbs:{default:null},fullscreen:{type:Boolean,default:!1}},setup(e){const t=joe(),r=e,n=new Map,o=Y([]),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)=>{typeof c<"u"&&(n.set(d,c),i(n))},removeBreadcrumbs:c=>{n.delete(c),i(n)}},l=M1("app-view-parent",void 0);l||Po("app-view-parent",s);const u=l||s;return Te(()=>r.breadcrumbs,c=>{c!==null&&u.addBreadcrumbs(c,a)},{immediate:!0}),lr(()=>{u.removeBreadcrumbs(a)}),(c,d)=>{const f=m1("KAlert");return m(),q(vt(H(l)?"div":H(t)),{class:J({"app-main-content":!H(l)})},{default:E(()=>[!H(l)&&o.value.length>0?(m(),M("nav",Yoe,[N(H(N7),{items:o.value},null,8,["items"])])):O("",!0),w(),p("section",{class:J({"is-fullscreen":r.fullscreen})},[c.$slots.title?(m(),M("header",Goe,[r.fullscreen?(m(),q(H(pte),{key:0})):O("",!0),w(),F(c.$slots,"title",{},void 0,!0),w(),c.$slots.actions?(m(),M("div",Koe,[F(c.$slots,"actions",{},void 0,!0)])):O("",!0)])):O("",!0),w(),c.$slots.notifications?(m(),M("aside",qoe,[N(f,{class:"mb-4",appearance:"warning"},{alertMessage:E(()=>[F(c.$slots,"notifications",{},void 0,!0)]),_:3})])):O("",!0),w(),F(c.$slots,"default",{},void 0,!0)],2)]),_:3},8,["class"])}}});const Qoe=C1(Woe,[["__scopeId","data-v-a22bdb0c"]]),a7=Symbol("route-view-parent"),Xoe=X({__name:"RouteTitle",props:{title:{type:String,required:!1,default:""},render:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,r=Symbol("route-title"),n=M1(a7);return typeof n<"u"&&(Te(()=>t.title,o=>{o.length>0&&n.addTitle(o,r)},{immediate:!0}),lr(()=>{n.removeTitle(r)})),(o,a)=>t.render?(m(),M(ke,{key:0},[w(T(t.title),1)],64)):O("",!0)}}),x5=function(e){let t;return(...r)=>{t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e.bind(e,...r))}},Joe=function(e){return(Array.isArray(e)?e[0]:e)??""},eae=(e=document)=>x5(t=>{e.title=t}),tae=(e=document.documentElement)=>{if(!e)return()=>{};const t=[...e.classList];return x5(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||[])})},d8=(e,t)=>{const r={...t},n=Object.entries(e).reduce((o,[a,i])=>(String(i).length>0?o[a]=encodeURIComponent(String(i)):o[a]=void 0,o),r);return{...r,...n}},rae=["data-testid"],nae={key:0,class:"route-view-title visually-hidden","aria-live":"assertive","aria-atomic":"true"},oae=X({__name:"RouteView",props:{name:{},attrs:{default:()=>({})},params:{default:()=>({})}},setup(e){const t=E5(),r=xh(),{t:n}=E1(),o=Ql(),a=eC(),i=Symbol("route-view"),s=e,l=A(()=>s.name),u=Y(""),c=new Map,d=new Map,f=eae(document),h=tae(document.documentElement),g=P=>P.reverse().concat(n("components.route-view.title",{name:n("common.product.name")})).join(" | "),_={addTitle:(P,R)=>{u.value=P,c.set(R,P),f(g([...c.values()]))},removeTitle:P=>{c.delete(P),f(g([...c.values()]))},addAttrs:(P,R)=>{d.set(R,P),h([...d.values()])},removeAttrs:P=>{d.delete(P),h([...d.values()])}},C=A(()=>Object.entries({...s.params,...o.query,...o.params}).reduce((R,[D,S])=>{if(typeof s.params[D]>"u")return R;let z=Joe(S);const V=s.params[D];switch(!0){case typeof V=="number":isNaN(Number(S))&&(z=String(V));break}return z.length===0&&(z=String(V)),R[D]=decodeURIComponent(z),R},{}));let b={};const y=x5(P=>{a.push({name:s.name,query:d8(P,o.query)}),b={}}),v=P=>{b={...b,...P},y(b)},k=(...P)=>{a.push(...P)};Te(()=>s.name,()=>{const P=Object.entries(C.value||{}).reduce((R,[D,S])=>(typeof o.params[D]>"u"&&(R[D]=S),R),{});Object.keys(P).length>0&&a.replace({query:d8(P,o.query)})},{immediate:!0});const B=M1(a7,void 0);B||(f(n("components.route-view.title",{name:n("common.product.name")})),Po(a7,_));const $=B||_;return Te(()=>s.attrs,P=>{Object.keys(P).length>0&&$.addAttrs(P,i)},{immediate:!0}),lr(()=>{$.removeAttrs(i)}),(P,R)=>(m(),M("div",{class:"route-view","data-testid":l.value},[H(B)?O("",!0):(m(),M("div",nae,T(H(n)("components.route-view.route-announcer",{title:u.value})),1)),w(),F(P.$slots,"default",{t:H(n),env:H(t),can:H(r),route:{update:v,replace:k,params:C.value}})],8,rae))}}),aae=e=>[{path:"/404",name:"not-found",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>e[e.length-1]()}],iae=e=>{const t=(r,n)=>typeof e[r]<"u"?e[r](t,n):!1;return t};function sae(e){const t=e.split(/([A-Z][a-z]+)/).join(" ").replace(/\s+/g," ").trim();return t.charAt(0).toUpperCase()+t.substring(1)}function wl(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 wl(e[n[0]],n.slice(1),r)}class f8 extends Error{get key(){return this.message}}const lae=(e,t)=>{const r=KJ("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 wl(e,a)>"u")throw a.startsWith("http.api.")?new f8(a):new Error(`Missing message: "${a}" for locale "en-us", using id as fallback`);return wl(e,a).length===0?"":(o[1]={...n,...o[1]},r.t(...o))}catch(s){switch(!0){case s instanceof f8:return sae(s.key.split(".").pop());default:if((i=o[2])!=null&&i.defaultMessage)return o[2].defaultMessage;throw s}}}}},uae=0,cae=1,ko=2;class th extends EventTarget{constructor(r,n){super();ht(this,"url","");ht(this,"withCredentials",!1);ht(this,"CONNECTING",uae);ht(this,"OPEN",cae);ht(this,"CLOSED",ko);ht(this,"onerror",null);ht(this,"onmessage",null);ht(this,"onopen",null);ht(this,"readyState",ko);this.source=r,this.configuration=n,this._open()}_open(){(async function(r){try{r.readyState=0;const n=r.source();for await(const o of n)if(r.dispatchEvent(new MessageEvent("message",{data:o})),r.readyState===ko)break;r.readyState=ko}catch(n){r.close(),r.dispatchEvent(new ErrorEvent("error",{error:n}))}})(this)}open(){this.readyState!==ko&&this._open()}close(){this.readyState=ko}}const rh=e=>(t,r={})=>{let n=0,o=0;return new th(async function*(){var i,s;const a=this;for(;;){a.readyState=1,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=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)},h8=rh(new class extends EventTarget{constructor(){super(...arguments);ht(this,"hidden",!1)}}),dae=(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")||"",...a.params};try{const s=a.route(i,{close:()=>{}});return s instanceof th?s:h8(()=>Promise.resolve(s))}catch(s){return h8(()=>Promise.reject(s))}},fae=(e,t)=>{t&&t.close()},hae={create:dae,destroy:fae};var ci=class{constructor(e,t,r,n,o,a){ht(this,"type",3);ht(this,"name","");ht(this,"prefix","");ht(this,"value","");ht(this,"suffix","");ht(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"}},pae=/[$_\p{ID_Start}]/u,mae=/[$_\u200C\u200D\p{ID_Continue}]/u,i7=".*";function vae(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function nh(e,t=!1){let r=[],n=0;for(;n{if(il("OTHER_MODIFIER")??l("ASTERISK"),c=y=>{let v=l(y);if(v!==void 0)return v;let{type:k,index:B}=r[i];throw new TypeError(`Unexpected ${k} at ${B}, expected ${y}`)},d=()=>{let y="",v;for(;v=l("CHAR")??l("ESCAPED_CHAR");)y+=v;return y},f=y=>y,h=t.encodePart||f,g="",_=y=>{g+=y},C=()=>{g.length&&(o.push(new ci(3,"","",h(g),"",3)),g="")},b=(y,v,k,B,$)=>{let P=3;switch($){case"?":P=1;break;case"*":P=0;break;case"+":P=2;break}if(!v&&!k&&P===3){_(y);return}if(C(),!v&&!k){if(!y)return;o.push(new ci(3,"","",h(y),"",P));return}let R;k?k==="*"?R=i7:R=k:R=n;let D=2;R===n?(D=1,R=""):R===i7&&(D=0,R="");let S;if(v?S=v:k&&(S=a++),s.has(S))throw new TypeError(`Duplicate name '${S}'.`);s.add(S),o.push(new ci(D,S,h(y),R,h(B),P))};for(;i-1)}return i||(n+=`(?=${a}|${o})`),new RegExp(n,p8(r))}var fn={delimiter:"",prefixes:"",sensitive:!0,strict:!0},Cae={delimiter:".",prefixes:"",sensitive:!0,strict:!0},yae={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function bae(e,t){return e.length?e[0]==="/"?!0:!t||e.length<2?!1:(e[0]=="\\"||e[0]=="{")&&e[1]=="/":!1}function ih(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function wae(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}function sh(e){return!e||e.length<2?!1:e[0]==="["||(e[0]==="\\"||e[0]==="{")&&e[1]==="["}var lh=["ftp","file","http","https","ws","wss"];function uh(e){if(!e)return!0;for(let t of lh)if(e.test(t))return!0;return!1}function _ae(e,t){if(e=ih(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 kae(e,t){if(e=ih(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 Mae(e,t){return t||e===""?e:sh(e)?fh(e):dh(e)}function xae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.password=e,r.password}function Sae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.username=e,r.username}function Eae(e,t,r){if(r||e==="")return e;if(t&&!lh.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 Aae(e,t,r){return ch(t)===e&&(e=""),r||e===""?e:hh(e)}function Lae(e,t){return e=wae(e,":"),t||e===""?e:S5(e)}function ch(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function S5(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function Dae(e){if(e==="")return e;let t=new URL("https://example.com");return t.username=e,t.username}function Bae(e){if(e==="")return e;let t=new URL("https://example.com");return t.password=e,t.password}function dh(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 fh(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function hh(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function Hae(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 Tae(e){return e===""?e:new URL(`data:${e}`).pathname}function Iae(e){if(e==="")return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function Oae(e){if(e==="")return e;let t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}var $o,l1,St,bt,Wn,Zo,zr,Ro,zo,Fo,Vt,zt,_l,ph,Si,s7,Qn,Ua,Uo,Ts,_1,Z1,Ei,l7,kl,mh,jo,Is,Ml,vh,xl,gh,Yo,Os,Cn,Do,Fr,zn,Sl,Ch,El,yh,Al,bh,Ll,wh,z1,hr,Dl,_h,C8,Vae=(C8=class{constructor(e){et(this,Vt);et(this,_l);et(this,Si);et(this,Qn);et(this,Uo);et(this,_1);et(this,Ei);et(this,kl);et(this,jo);et(this,Ml);et(this,xl);et(this,Yo);et(this,Cn);et(this,Fr);et(this,Sl);et(this,El);et(this,Al);et(this,Ll);et(this,z1);et(this,Dl);et(this,$o,void 0);et(this,l1,[]);et(this,St,{});et(this,bt,0);et(this,Wn,1);et(this,Zo,0);et(this,zr,0);et(this,Ro,0);et(this,zo,0);et(this,Fo,!1);Yt(this,$o,e)}get result(){return oe(this,St)}parse(){for(Yt(this,l1,nh(oe(this,$o),!0));oe(this,bt)0)if(ge(this,El,yh).call(this))Yt(this,Ro,oe(this,Ro)-1);else continue;if(ge(this,Sl,Ch).call(this)){Yt(this,Ro,oe(this,Ro)+1);continue}switch(oe(this,zr)){case 0:ge(this,Ei,l7).call(this)&&(oe(this,St).username="",oe(this,St).password="",oe(this,St).hostname="",oe(this,St).port="",oe(this,St).pathname="",oe(this,St).search="",oe(this,St).hash="",ge(this,Qn,Ua).call(this,1));break;case 1:if(ge(this,Ei,l7).call(this)){ge(this,Dl,_h).call(this);let e=7,t=1;oe(this,Fo)&&(oe(this,St).pathname="/"),ge(this,kl,mh).call(this)?(e=2,t=3):oe(this,Fo)&&(e=2),ge(this,Vt,zt).call(this,e,t)}break;case 2:ge(this,jo,Is).call(this)?ge(this,Qn,Ua).call(this,3):(ge(this,Yo,Os).call(this)||ge(this,Cn,Do).call(this)||ge(this,Fr,zn).call(this))&&ge(this,Qn,Ua).call(this,5);break;case 3:ge(this,Ml,vh).call(this)?ge(this,Vt,zt).call(this,4,1):ge(this,jo,Is).call(this)&&ge(this,Vt,zt).call(this,5,1);break;case 4:ge(this,jo,Is).call(this)&&ge(this,Vt,zt).call(this,5,1);break;case 5:ge(this,Al,bh).call(this)?Yt(this,zo,oe(this,zo)+1):ge(this,Ll,wh).call(this)&&Yt(this,zo,oe(this,zo)-1),ge(this,xl,gh).call(this)&&!oe(this,zo)?ge(this,Vt,zt).call(this,6,1):ge(this,Yo,Os).call(this)?ge(this,Vt,zt).call(this,7,0):ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 6:ge(this,Yo,Os).call(this)?ge(this,Vt,zt).call(this,7,0):ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 7:ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 8:ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break}}}},$o=new WeakMap,l1=new WeakMap,St=new WeakMap,bt=new WeakMap,Wn=new WeakMap,Zo=new WeakMap,zr=new WeakMap,Ro=new WeakMap,zo=new WeakMap,Fo=new WeakMap,Vt=new WeakSet,zt=function(e,t){switch(oe(this,zr)){case 0:break;case 1:oe(this,St).protocol=ge(this,z1,hr).call(this);break;case 2:break;case 3:oe(this,St).username=ge(this,z1,hr).call(this);break;case 4:oe(this,St).password=ge(this,z1,hr).call(this);break;case 5:oe(this,St).hostname=ge(this,z1,hr).call(this);break;case 6:oe(this,St).port=ge(this,z1,hr).call(this);break;case 7:oe(this,St).pathname=ge(this,z1,hr).call(this);break;case 8:oe(this,St).search=ge(this,z1,hr).call(this);break;case 9:oe(this,St).hash=ge(this,z1,hr).call(this);break}ge(this,_l,ph).call(this,e,t)},_l=new WeakSet,ph=function(e,t){Yt(this,zr,e),Yt(this,Zo,oe(this,bt)+t),Yt(this,bt,oe(this,bt)+t),Yt(this,Wn,0)},Si=new WeakSet,s7=function(){Yt(this,bt,oe(this,Zo)),Yt(this,Wn,0)},Qn=new WeakSet,Ua=function(e){ge(this,Si,s7).call(this),Yt(this,zr,e)},Uo=new WeakSet,Ts=function(e){return e<0&&(e=oe(this,l1).length-e),e=0&&(e.pathname=Or(n.pathname.substring(0,o+1),r)+e.pathname)}e.pathname=Eae(e.pathname,e.protocol,r)}return typeof t.search=="string"&&(e.search=kae(t.search,r)),typeof t.hash=="string"&&(e.hash=_ae(t.hash,r)),e}function ja(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function Pae(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function Nae(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=`[^${Pae(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+=ja(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+=ja(s.suffix),u&&(a+="}"),s.modifier!==3&&(a+=Ho(s.modifier))}return a}var gr,Xn,Go,Gt,Cr,y8,kh=(y8=class{constructor(e={},t,r){et(this,gr,void 0);et(this,Xn,{});et(this,Go,{});et(this,Gt,{});et(this,Cr,{});try{let n;if(typeof t=="string"?n=t:r=t,typeof e=="string"){let s=new Vae(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};Yt(this,gr,Oa({pathname:ln,protocol:ln,username:ln,password:ln,hostname:ln,port:ln,search:ln,hash:ln},e,!0)),ch(oe(this,gr).protocol)===oe(this,gr).port&&(oe(this,gr).port="");let i;for(i of _0){if(!(i in oe(this,gr)))continue;let s={},l=oe(this,gr)[i];switch(oe(this,Go)[i]=[],i){case"protocol":Object.assign(s,fn),s.encodePart=S5;break;case"username":Object.assign(s,fn),s.encodePart=Dae;break;case"password":Object.assign(s,fn),s.encodePart=Bae;break;case"hostname":Object.assign(s,Cae),sh(l)?s.encodePart=fh:s.encodePart=dh;break;case"port":Object.assign(s,fn),s.encodePart=hh;break;case"pathname":uh(oe(this,Xn).protocol)?(Object.assign(s,yae,o),s.encodePart=Hae):(Object.assign(s,fn,o),s.encodePart=Tae);break;case"search":Object.assign(s,fn,o),s.encodePart=Iae;break;case"hash":Object.assign(s,fn,o),s.encodePart=Oae;break}try{oe(this,Cr)[i]=oh(l,s),oe(this,Xn)[i]=ah(oe(this,Cr)[i],oe(this,Go)[i],s),oe(this,Gt)[i]=Nae(oe(this,Cr)[i],s)}catch{throw new TypeError(`invalid ${i} pattern '${oe(this,gr)[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=Oa(r,e,!1):r=Oa(r,m8(e,t),!1)}catch{return!1}let n;for(n of _0)if(!oe(this,Xn)[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=Oa(r,e,!1):r=Oa(r,m8(e,t),!1)}catch{return null}let n={};t?n.inputs=[e,t]:n.inputs=[e];let o;for(o of _0){let a=oe(this,Xn)[o].exec(r[o]);if(!a)return null;let i={};for(let[s,l]of oe(this,Go)[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 kh({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 Zae{constructor(t,r){ht(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 Rae{constructor(t,{create:r,destroy:n},o){ht(this,"cache",new Map);ht(this,"pool");ht(this,"getCacheKeyPrefix");const a=new $ae(t);this.pool=new Zae(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=>{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 zae{constructor(t){ht(this,"env");let r=t;const n=(s,l="")=>this.var(s,(r==null?void 0:r[s])??l),o=this.getConfig(),a=jae(n("KUMA_VERSION",o.version)),i=encodeURIComponent(n("KUMA_PRODUCT_NAME"));r={...r,KUMA_UTM_QUERY_PARAMS:`utm_source=${i}&utm_medium=${i}`},this.env={...r,KUMA_INSTALL_URL:`${n("KUMA_INSTALL_URL")}?${n("KUMA_UTM_QUERY_PARAMS")}`,KUMA_DOCS_URL:`${n("KUMA_DOCS_URL")}/${a.patch==="0.0.0"?"dev":a.patch.replace(/\.\d+$/,".x")}`,KUMA_VERSION:a.pre,KUMA_API_URL:n("KUMA_API_URL")||o.apiUrl,KUMA_BASE_PATH:n("KUMA_BASE_PATH")||o.baseGuiPath,KUMA_MODE:n("KUMA_MODE")||o.mode,KUMA_ENVIRONMENT:n("KUMA_ENVIRONMENT")||o.environment,KUMA_STORE_TYPE:n("KUMA_STORE_TYPE")||o.storeType}}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=Fae(),console.error("Unable to parse kuma config. Falling back to defaults")),r.apiUrl=Uae(r.apiUrl),r}}function Fae(e=""){return{baseGuiPath:"/gui",apiUrl:e,version:"2.4.0",product:"Kuma",mode:"global",environment:"universal",storeType:"postgres",apiReadOnly:!1}}function Mh(e){return e.endsWith("/")?Mh(e.slice(0,-1)):e}function Uae(e){return e=!e.includes("://")&&!e.startsWith("/")?`/${e}`:e,Mh(e)}function jae(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 Ft={Env:De("application.Env"),env:De("application.env"),EnvVars:De("EnvVars"),can:De("application.can"),features:De("application.can.features"),notFoundView:De("application.not-found"),applicationComponents:De("application.components"),source:De("data.source"),sources:De("data.sources"),dataSourcePool:De("data.DataSourcePool"),dataSourceLifecycle:De("data.DataSourceLifecycle"),getDataSourceCacheKeyPrefix:De("data.getDataSourceCacheKeyPrefix"),i18n:De("i18n"),enUs:De("i18n.locale.enUs")},Yae=e=>[[De("application.components"),{service:t=>[["AppView",Qoe],["DataSource",o7],["RouteView",oae],["RouteTitle",Xoe],["I18nT",qJ(t)]],arguments:[e.i18n],labels:[e.components]}],[De("application.routes"),{service:aae,arguments:[Ft.notFoundView],labels:[e.routes]}],[Ft.i18n,{service:lae,arguments:[Ft.enUs,e.env]}],[Ft.can,{service:iae,arguments:[Ft.features]}],[Ft.Env,{service:zae,arguments:[e.EnvVars]}],[Ft.env,{service:t=>(...r)=>t.var(...r),arguments:[Ft.Env]}],[Ft.dataSourceLifecycle,{constant:hae}],[Ft.source,{service:rh,arguments:[a1(document,{description:"dom.document"})]}],[Ft.getDataSourceCacheKeyPrefix,{service:()=>()=>"",arguments:[e.router]}],[Ft.dataSourcePool,{service:Rae,arguments:[e.sources,Ft.dataSourceLifecycle,Ft.getDataSourceCacheKeyPrefix]}]],Gae=Ft,[E5,xh,E1,Kae]=Tl(Ft.env,Ft.can,Ft.i18n,Ft.dataSourcePool);function qae(e){return[{name:"Home",routeName:"home"},...e?[{name:"Zones",routeName:"zone-cp-list-view",anchorRouteName:"zone-index-view"}]:[{name:"Zone Egresses",routeName:"zone-egress-list-view",anchorRouteName:"zone-index-view"}],{name:"Meshes",routeName:"mesh-list-view",anchorRouteName:"mesh-index-view"}]}const Wae=e=>({"use kubernetes":t=>e("KUMA_ENVIRONMENT")==="kubernetes","use state":t=>e("KUMA_STORE_TYPE")!=="memory"}),Qae=()=>[{path:"/",name:"home",component:()=>Ce(()=>import("./MainOverviewView-3e954cae.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./MainOverviewView-373c5392.css"],import.meta.url)}],Xae=e=>({"/global-insight":(t,r)=>(r.close(),e.getGlobalInsight())}),Jae=e=>[[De("control-planes.routes"),{service:Qae,labels:[e.routes]}],[De("control-planes.sources"),{service:Xae,arguments:[e.api],labels:[e.sources]}],[De("control-planes.features"),{service:Wae,arguments:[e.env],labels:[e.features]}]],eie=()=>({"/me":async(e={},t)=>(t.close(),Promise.resolve({pageSize:50}))}),tie={sources:De("me.sources")},rie=e=>[[tie.sources,{service:eie,arguments:[e.api],labels:[e.sources]}]],nie=(e,t,r,n)=>[{path:"/meshes",name:"mesh-index-view",redirect:{name:"mesh-list-view"},component:()=>Ce(()=>import("./MeshIndexView-dcfdd250.js"),[],import.meta.url),children:[{path:"",name:"mesh-list-view",component:()=>Ce(()=>import("./MeshListView-fe724045.js"),["./AppCollection-78207d85.css","./SummaryView-0a41607a.css","./MeshListView-11b42c37.css"],import.meta.url),children:[{path:":mesh",name:"mesh-summary-view",component:()=>Ce(()=>import("./MeshSummaryView-6b756e3a.js"),["./MeshSummaryView-9a77e477.css"],import.meta.url)}]},{path:":mesh",name:"mesh",redirect:{name:"mesh-detail-view"},children:[{path:"",name:"mesh-tabs-view",redirect:{name:"mesh-detail-view"},component:()=>Ce(()=>import("./MeshTabsView-40132b32.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",meta:{module:"meshes"},name:"mesh-detail-view",component:()=>Ce(()=>import("./MeshDetailView-871d14fe.js"),["./MeshDetailView-2dc351d8.css"],import.meta.url)},{path:"config",name:"mesh-config-view",component:()=>Ce(()=>import("./MeshConfigView-ace73325.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},...e.items(),...t.items(),...r.items(),...n.items()]},...e.item(),...t.item(),...r.item(),...n.item()]}]}],oie=e=>({"/meshes":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return e.getAllMeshInsights({size:n,offset:o})},"/meshes/:name":(t,r)=>{r.close();const{name:n}=t;return e.getMesh({name:n})},"/mesh-insights":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return e.getAllMeshInsights({size:n,offset:o})},"/mesh-insights/:name":async(t,r)=>{r.close();const{name:n}=t;return e.getMeshInsights({name:n})}}),aie=["protocol","service","zone"];function u7(e){const t=new Map;for(const[r,n]of e){const o=aie.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 iie=e=>({"/meshes/:mesh/dataplanes":async(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1),i="false",s=Object.fromEntries(u7(JSON.parse(t.search||"[]")));return e.getAllDataplaneOverviewsFromMesh({mesh:n},{...s,gateway:i,offset:a,size:o})},"/meshes/:mesh/dataplanes/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneFromMesh({mesh:n,name:o})},"/meshes/:mesh/dataplanes/:name/data-path/:dataPath":(t,r)=>{r.close();const{mesh:n,name:o,dataPath:a}=t;return e.getDataplaneData({mesh:n,dppName:o,dataPath:a})},"/meshes/:mesh/dataplanes/:name/sidecar-dataplanes-policies":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getSidecarDataplanePolicies({mesh:n,name:o})},"/meshes/:mesh/dataplanes/:name/rules":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneRules({mesh:n,name:o})},"/meshes/:mesh/dataplane-overviews/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneOverviewFromMesh({mesh:n,name:o})},"/meshes/:mesh/dataplanes/for/:service/of/:type":async(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1),i=Object.fromEntries(u7(JSON.parse(t.search||"[]")));typeof i.tag>"u"&&(i.tag=[]),i.tag=i.tag.filter(l=>!l.startsWith("kuma.io/service:")),i.tag.push(`kuma.io/service:${t.service}`);const s=t.type!=="all"?{gateway:t.type}:{};return e.getAllDataplaneOverviewsFromMesh({mesh:n},{...i,...s,offset:a,size:o})}}),sie=()=>({items:()=>[{path:"data-planes",name:"data-plane-list-view",meta:{module:"data-planes"},component:()=>Ce(()=>import("./DataPlaneListView-1e3cb34a.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-5b256e59.css","./SummaryView-0a41607a.css","./DataPlaneListView-55ed36f3.css"],import.meta.url),children:[{path:":dataPlane",name:"data-plane-summary-view",component:()=>Ce(()=>import("./DataPlaneSummaryView-a8da7b55.js"),["./StatusBadge-307eb0a4.css","./TagList-613e8329.css","./DataPlaneSummaryView-97ead746.css"],import.meta.url)}]}],item:()=>[{path:"data-planes/:dataPlane",name:"data-plane-detail-tabs-view",component:()=>Ce(()=>import("./DataPlaneDetailTabsView-a745d63a.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",name:"data-plane-detail-view",component:()=>Ce(()=>import("./DataPlaneDetailView-9c54f759.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-1d266456.css","./TagList-613e8329.css","./DataPlaneDetailView-4fe1d84b.css"],import.meta.url)},{path:"policies",name:"data-plane-policies-view",component:()=>Ce(()=>import("./DataPlanePoliciesView-1d5babda.js"),["./AccordionList-8bab9627.css","./CodeBlock-aa591f34.css","./PolicyTypeTag-f5c09fb0.css","./TagList-613e8329.css","./SidecarDataplanePolicyList-3172c9cb.css"],import.meta.url)},{path:"xds-config",name:"data-plane-xds-config-view",component:()=>Ce(()=>import("./DataPlaneXdsConfigView-2bdfc51a.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"data-plane-stats-view",component:()=>Ce(()=>import("./DataPlaneStatsView-983a158e.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"data-plane-clusters-view",component:()=>Ce(()=>import("./DataPlaneClustersView-40194a2c.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"data-plane-config-view",component:()=>Ce(()=>import("./DataPlaneConfigView-2437abf4.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),lie=e=>[[De("data-planes.sources"),{service:iie,arguments:[e.api],labels:[e.sources]}]],uie=e=>({"/meshes/:mesh/gateways":async(t,r)=>{r.close();const n=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{gateway:"true",offset:n,size:t.size})},"/meshes/:mesh/gateways/of/:type":async(t,r)=>{r.close();const n=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{...Object.fromEntries(u7(JSON.parse(t.search||"[]"))),gateway:t.type==="all"?"true":t.type,offset:n,size:t.size})},"/meshes/:mesh/gateways/:name/policies":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getMeshGatewayDataplane({mesh:n,name:o})}}),cie=()=>({items:()=>[{path:"gateways",name:"gateway-list-view",meta:{module:"gateways"},component:()=>Ce(()=>import("./GatewayListView-d540dfa2.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-5b256e59.css","./SummaryView-0a41607a.css","./GatewayListView-3a15d65f.css"],import.meta.url),children:[{path:":dataPlane",name:"gateway-summary-view",component:()=>Ce(()=>import("./DataPlaneSummaryView-a8da7b55.js"),["./StatusBadge-307eb0a4.css","./TagList-613e8329.css","./DataPlaneSummaryView-97ead746.css"],import.meta.url)}]}],item:()=>[{path:"gateways/:dataPlane",name:"gateway-detail-tabs-view",component:()=>Ce(()=>import("./DataPlaneDetailTabsView-a745d63a.js"),["./NavTabs-098c6540.css"],import.meta.url),props:{isGatewayView:!0},children:[{path:"overview",name:"gateway-detail-view",component:()=>Ce(()=>import("./DataPlaneDetailView-9c54f759.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-1d266456.css","./TagList-613e8329.css","./DataPlaneDetailView-4fe1d84b.css"],import.meta.url)},{path:"policies",name:"gateway-policies-view",component:()=>Ce(()=>import("./GatewayPoliciesView-a763ed04.js"),["./AccordionList-8bab9627.css","./CodeBlock-aa591f34.css","./PolicyTypeTag-f5c09fb0.css","./TagList-613e8329.css","./SidecarDataplanePolicyList-3172c9cb.css","./GatewayPoliciesView-15d674af.css"],import.meta.url)},{path:"xds-config",name:"gateway-xds-config-view",component:()=>Ce(()=>import("./DataPlaneXdsConfigView-2bdfc51a.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"gateway-stats-view",component:()=>Ce(()=>import("./DataPlaneStatsView-983a158e.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"gateway-clusters-view",component:()=>Ce(()=>import("./DataPlaneClustersView-40194a2c.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"gateway-config-view",component:()=>Ce(()=>import("./DataPlaneConfigView-2437abf4.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),die=e=>[[De("gateway.sources"),{service:uie,arguments:[e.api],labels:[e.sources]}]],fie=e=>({"/*/policy-types":(t,r)=>(r.close(),e.getPolicyTypes()),"/meshes/:mesh/policy-path/:path":(t,r)=>{r.close();const{mesh:n,path:o,size:a}=t,i=t.size*(t.page-1);return e.getAllPolicyEntitiesFromMesh({mesh:n,path:o},{offset:i,size:a})},"/meshes/:mesh/policy-path/:path/policy/:name":(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return e.getSinglePolicyEntity({mesh:n,path:o,name:a})},"/meshes/:mesh/policy-path/:path/policy/:name/dataplanes":(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return e.getPolicyConnections({mesh:n,path:o,name:a})}}),hie=()=>({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:()=>Ce(()=>import("./PolicyListView-ec35a372.js"),["./AppCollection-78207d85.css","./PolicyTypeTag-f5c09fb0.css","./SummaryView-0a41607a.css","./PolicyListView-bc46ef91.css"],import.meta.url),children:[{path:":policy",name:"policy-summary-view",component:()=>Ce(()=>import("./PolicySummaryView-6af568ca.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css","./PolicySummaryView-006fa439.css"],import.meta.url)}]}]}],item:()=>[{path:"policies/:policyPath/:policy/overview",name:"policy-detail-view",component:()=>Ce(()=>import("./PolicyDetailView-f1295a7a.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}),pie=e=>[[De("policies.sources"),{service:fie,arguments:[e.api],labels:[e.sources]}]],mie=e=>({"/meshes/:mesh/service-insights":(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1);return e.getAllServiceInsightsFromMesh({mesh:n},{size:o,offset:a})},"/meshes/:mesh/service-insights/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return 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?a[0]:null}}),vie=()=>({items:()=>[{path:"services",name:"service-list-view",meta:{module:"services"},component:()=>Ce(()=>import("./ServiceListView-363dba40.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./SummaryView-0a41607a.css","./ServiceListView-ed675c64.css"],import.meta.url),children:[{path:":service",name:"service-summary-view",component:()=>Ce(()=>import("./ServiceSummaryView-18076106.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css","./StatusBadge-307eb0a4.css","./TagList-613e8329.css","./ServiceSummaryView-1063ba1a.css"],import.meta.url)}]}],item:()=>[{path:"services/:service",name:"service-detail-tabs-view",component:()=>Ce(()=>import("./ServiceDetailTabsView-7dc5fb1d.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",name:"service-detail-view",component:()=>Ce(()=>import("./ServiceDetailView-a623afcc.js"),["./TagList-613e8329.css","./StatusBadge-307eb0a4.css"],import.meta.url)},{path:"config",name:"service-config-view",component:()=>Ce(()=>import("./ServiceConfigView-2f9f93ff.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},{path:"data-plane-proxies",name:"service-data-plane-proxies-view",meta:{module:"service-data-planes"},component:()=>Ce(()=>import("./ServiceDataPlaneProxiesView-b2ab9115.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-5b256e59.css","./SummaryView-0a41607a.css","./ServiceDataPlaneProxiesView-1aa0c94b.css"],import.meta.url),children:[{path:":dataPlane",name:"service-data-plane-summary-view",component:()=>Ce(()=>import("./DataPlaneSummaryView-a8da7b55.js"),["./StatusBadge-307eb0a4.css","./TagList-613e8329.css","./DataPlaneSummaryView-97ead746.css"],import.meta.url)}]}]}]}),gie=e=>[[De("service.sources"),{service:mie,arguments:[e.api],labels:[e.sources]}]],un={dataplaneRoutes:De("kuma.dataplane.routes"),gatewayRoutes:De("kuma.gateway.routes"),serviceRoutes:De("kuma.service.routes"),policyRoutes:De("kuma.policy.routes")},Cie=e=>[[De("meshes.routes"),{service:nie,arguments:[un.serviceRoutes,un.gatewayRoutes,un.dataplaneRoutes,un.policyRoutes],labels:[e.routes]}],[un.dataplaneRoutes,{service:sie}],[un.gatewayRoutes,{service:cie}],[un.serviceRoutes,{service:vie}],[un.policyRoutes,{service:hie}],[De("meshes.sources"),{service:oie,arguments:[e.api],labels:[e.sources]}],...gie(e),...lie(e),...die(e),...pie(e)],yie=e=>({"use zones":()=>e("KUMA_MODE")==="global","create zones":t=>t("use zones")&&e("KUMA_ZONE_CREATION_FLOW")==="enabled"}),ps=(e="egresses")=>({items:()=>[{path:`${e}`,name:"zone-egress-list-view",meta:{module:"zone-egresses"},component:()=>Ce(()=>import("./IndexView-628d6b4b.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./SummaryView-0a41607a.css","./IndexView-4b704a64.css"],import.meta.url),children:[{path:":zoneEgress",name:"zone-egress-summary-view",component:()=>Ce(()=>import("./ZoneEgressSummaryView-467ce745.js"),["./StatusBadge-307eb0a4.css","./ZoneEgressSummaryView-36956fe7.css"],import.meta.url)}]}],item:()=>[{path:`${e}/:zoneEgress`,name:"zone-egress-detail-tabs-view",component:()=>Ce(()=>import("./IndexView-537f2c02.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-egress-detail-view"},children:[{path:"overview",name:"zone-egress-detail-view",component:()=>Ce(()=>import("./DetailView-154200fa.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-1d266456.css"],import.meta.url)},{path:"xds-config",name:"zone-egress-xds-config-view",component:()=>Ce(()=>import("./XdsConfigView-59a5aaaa.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-egress-stats-view",component:()=>Ce(()=>import("./StatsView-95084413.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-egress-clusters-view",component:()=>Ce(()=>import("./ClustersView-453545d0.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-egress-config-view",component:()=>Ce(()=>import("./ConfigView-d21f5e13.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),v8=(e="ingresses")=>({items:()=>[{path:`${e}`,name:"zone-ingress-list-view",meta:{module:"zone-ingresses"},component:()=>Ce(()=>import("./IndexView-393bc2c9.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./SummaryView-0a41607a.css","./IndexView-59ebb553.css"],import.meta.url),children:[{path:":zoneIngress",name:"zone-ingress-summary-view",component:()=>Ce(()=>import("./ZoneIngressSummaryView-6e882fcd.js"),["./StatusBadge-307eb0a4.css","./ZoneIngressSummaryView-35410f15.css"],import.meta.url)}]}],item:()=>[{path:`${e}/:zoneIngress`,name:"zone-ingress-detail-tabs-view",component:()=>Ce(()=>import("./IndexView-e29dee91.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-ingress-detail-view"},children:[{path:"overview",name:"zone-ingress-detail-view",component:()=>Ce(()=>import("./DetailView-38a4670e.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-1d266456.css"],import.meta.url)},{path:"services",name:"zone-ingress-services-view",component:()=>Ce(()=>import("./ServicesView-8dee0d2f.js"),["./AppCollection-78207d85.css"],import.meta.url)},{path:"xds-config",name:"zone-ingress-xds-config-view",component:()=>Ce(()=>import("./XdsConfigView-12da1e2f.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-ingress-stats-view",component:()=>Ce(()=>import("./StatsView-47cfd271.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-ingress-clusters-view",component:()=>Ce(()=>import("./ClustersView-479fb00d.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-ingress-config-view",component:()=>Ce(()=>import("./ConfigView-39c1b3d5.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),bie=()=>[{path:"/zones/-create",name:"zone-create-view",meta:{isWizard:!0},component:()=>Ce(()=>import("./CreateView-cec9986c.js"),["./CodeBlock-aa591f34.css","./CreateView-02da7e9e.css"],import.meta.url)}],wie=(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:()=>Ce(()=>import("./IndexView-cc9f304e.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./SummaryView-0a41607a.css","./IndexView-bbf63ce3.css"],import.meta.url),children:[{path:":zone",name:"zone-cp-summary-view",component:()=>Ce(()=>import("./ZoneSummaryView-af150ff6.js"),["./StatusBadge-307eb0a4.css","./ZoneSummaryView-503cbff2.css"],import.meta.url)}]},{path:":zone",name:"zone-cp-detail-abstract-view",children:[{path:"",name:"zone-cp-detail-tabs-view",component:()=>Ce(()=>import("./IndexView-364ee0e7.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-cp-detail-view"},children:[{path:"overview",name:"zone-cp-detail-view",component:()=>Ce(()=>import("./DetailView-3d2d8bec.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-1d266456.css"],import.meta.url)},{path:"config",name:"zone-cp-config-view",component:()=>Ce(()=>import("./ConfigView-4c0ec9bd.js"),["./CodeBlock-aa591f34.css"],import.meta.url)},...v8().items(),...ps().items()]},...v8().item(),...ps().item()]}]}]:[{path:`${r}`,redirect:{name:"zone-egress-list-view"},children:[...ps().items(),...ps().item()]}]]};function Ase(e){var t;for(const r of((t=e.zoneInsight)==null?void 0:t.subscriptions)??[])if(r.config)return JSON.parse(r.config).environment;return""}function Lse(e){var r;const t=((r=e.zoneInsight)==null?void 0:r.subscriptions)??[];if(t.length>0){const n=t[t.length-1];if(n.config){const o=JSON.parse(n.config);return wl(o,"dpServer.auth.type","")}}return""}function _ie(e){var t;return e.zone.enabled===!1?"disabled":kie((t=e.zoneInsight)==null?void 0:t.subscriptions)}function kie(e=[]){return e.length>0&&[e[e.length-1]].every(r=>{var n;return((n=r.connectTime)==null?void 0:n.length)&&!r.disconnectTime})?"online":"offline"}const Mie=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),s},"/zone-egresses/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneEgress({name:n})},"/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 await e.getAllZoneEgressOverviews({size:n,offset:o})},"/zone-egress-overviews/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneEgressOverview({name:n})}}),xie={fromObject:e=>({...e,zoneIngress:{...e.zoneIngress,availableServices:Array.isArray(e.zoneIngress.availableServices)?e.zoneIngress.availableServices:[]}})},Sie=e=>({"/zone-cps/:name/ingresses":async(t,r)=>{r.close();const{name:n,size:o,page:a}=t,i=o*(a-1),s=await e.getAllZoneIngressOverviews({size:o,offset:i});return s.items=s.items.filter(l=>l.zoneIngress.zone===n),{...s,total:s.items.length,items:s.items.map(xie.fromObject)}},"/zone-ingresses/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneIngress({name:n})},"/zone-ingresses/:name/data-path/:dataPath":(t,r)=>{r.close();const{name:n,dataPath:o}=t;return e.getZoneIngressData({zoneIngressName:n,dataPath:o})},"/zone-ingress-overviews":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return await e.getAllZoneIngressOverviews({size:n,offset:o})},"/zone-ingress-overviews/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneIngressOverview({name:n})}}),Eie=(e,t)=>({...Sie(t),...Mie(t),"/zone-cps":async r=>{const{size:n}=r,o=n*(r.page-1);return t.getAllZoneOverviews({size:n,offset:o})},"/zone-cps/:name":async r=>{const{name:n}=r;return t.getZoneOverview({name:n})},"/zone-cps/online/:name":r=>{const{name:n}=r;return e(async()=>{const o=await t.getZoneOverview({name:n});if(_ie(o)==="online")return o;throw new ui({status:404,title:`The ${o.name} Zone is offline`})},{retry:o=>{if((i=>typeof i.status<"u")(o)){const i=o.status.toString();switch(!0){case i==="404":return new Promise(s=>setTimeout(s,2e3))}}}})}}),Aie=e=>[[De("zones.routes"),{service:t=>wie(t("create zones")?bie():[],t),arguments:[e.can],labels:[e.routes]}],[De("zone.sources"),{service:Eie,arguments:[e.source,e.api],labels:[e.sources]}],[De("zone.features"),{service:yie,arguments:[e.env],labels:[e.features]}]],Lie={common:{not_applicable:"N/A",formats:{integer:"{value, number, integer}"},product:{name:"Kuma",href:{docs:{index:"{KUMA_DOCS_URL}/"}},environment:{universal:"Universal",kubernetes:"Kubernetes",unknown:"—"},mode:{standalone:"Standalone",global:"Multi-Zone"}},warnings:{CERT_EXPIRED:`'<'p>The certificate for this dataplane has expired'<'/p> + `,1)]),default:E(()=>[Noe,w()]),_:1}),w(),$oe,w(),Zoe,w(),Roe]))}}),b1={KumaLogo:a1(N1e,{description:"KumaLogo"}),GithubButton:a1(zte,{description:"GithubButton"}),MainOverview:a1(Mre,{description:"MainOverview"}),KubernetesGraph:a1(Qre,{description:"KubernetesGraph"}),PostgresGraph:a1(yoe,{description:"PostgresGraph"}),MemoryGraph:a1(fne,{description:"MemoryGraph"}),MultizoneGraph:a1(Wne,{description:"MultizoneGraph"}),StandaloneGraph:a1(zoe,{description:"StandaloneGraph"}),AppSidebar:a1(I1e,{description:"AppSidebar"}),AppHeader:a1(d1e,{description:"AppHeader"}),AppLoadingBar:a1(_1e,{description:"AppLoadingBar"}),AppOnboardingNotification:a1(E1e,{description:"AppOnboardingNotification"}),MainView:a1(p1e,{description:"MainView"}),MeshDetails:a1(Are,{description:"MeshDetails"})},[Foe,Uoe,gse,Cse,yse,bse,wse,_se,kse,Mse,xse,Sse,joe,Ese]=Tl(b1.KumaLogo,b1.GithubButton,b1.MainOverview,b1.KubernetesGraph,b1.PostgresGraph,b1.MemoryGraph,b1.MultizoneGraph,b1.StandaloneGraph,b1.AppSidebar,b1.AppHeader,b1.AppLoadingBar,b1.AppOnboardingNotification,b1.MainView,b1.MeshDetails),Yoe={key:0,"aria-label":"Breadcrumb"},Goe={key:0,class:"app-view-title-bar"},Koe={key:1,class:"actions"},qoe={key:1},Woe=X({__name:"AppView",props:{breadcrumbs:{default:null},fullscreen:{type:Boolean,default:!1}},setup(e){const t=joe(),r=e,n=new Map,o=Y([]),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)=>{typeof c<"u"&&(n.set(d,c),i(n))},removeBreadcrumbs:c=>{n.delete(c),i(n)}},l=M1("app-view-parent",void 0);l||Po("app-view-parent",s);const u=l||s;return Te(()=>r.breadcrumbs,c=>{c!==null&&u.addBreadcrumbs(c,a)},{immediate:!0}),lr(()=>{u.removeBreadcrumbs(a)}),(c,d)=>{const f=m1("KAlert");return m(),q(vt(H(l)?"div":H(t)),{class:J({"app-main-content":!H(l)})},{default:E(()=>[!H(l)&&o.value.length>0?(m(),M("nav",Yoe,[N(H(N7),{items:o.value},null,8,["items"])])):O("",!0),w(),p("section",{class:J({"is-fullscreen":r.fullscreen})},[c.$slots.title?(m(),M("header",Goe,[r.fullscreen?(m(),q(H(pte),{key:0})):O("",!0),w(),F(c.$slots,"title",{},void 0,!0),w(),c.$slots.actions?(m(),M("div",Koe,[F(c.$slots,"actions",{},void 0,!0)])):O("",!0)])):O("",!0),w(),c.$slots.notifications?(m(),M("aside",qoe,[N(f,{class:"mb-4",appearance:"warning"},{alertMessage:E(()=>[F(c.$slots,"notifications",{},void 0,!0)]),_:3})])):O("",!0),w(),F(c.$slots,"default",{},void 0,!0)],2)]),_:3},8,["class"])}}});const Qoe=C1(Woe,[["__scopeId","data-v-a22bdb0c"]]),a7=Symbol("route-view-parent"),Xoe=X({__name:"RouteTitle",props:{title:{type:String,required:!1,default:""},render:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,r=Symbol("route-title"),n=M1(a7);return typeof n<"u"&&(Te(()=>t.title,o=>{o.length>0&&n.addTitle(o,r)},{immediate:!0}),lr(()=>{n.removeTitle(r)})),(o,a)=>t.render?(m(),M(ke,{key:0},[w(T(t.title),1)],64)):O("",!0)}}),x5=function(e){let t;return(...r)=>{t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e.bind(e,...r))}},Joe=function(e){return(Array.isArray(e)?e[0]:e)??""},eae=(e=document)=>x5(t=>{e.title=t}),tae=(e=document.documentElement)=>{if(!e)return()=>{};const t=[...e.classList];return x5(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||[])})},d8=(e,t)=>{const r={...t},n=Object.entries(e).reduce((o,[a,i])=>(String(i).length>0?o[a]=encodeURIComponent(String(i)):o[a]=void 0,o),r);return{...r,...n}},rae=["data-testid"],nae={key:0,class:"route-view-title visually-hidden","aria-live":"assertive","aria-atomic":"true"},oae=X({__name:"RouteView",props:{name:{},attrs:{default:()=>({})},params:{default:()=>({})}},setup(e){const t=E5(),r=xh(),{t:n}=E1(),o=Ql(),a=eC(),i=Symbol("route-view"),s=e,l=A(()=>s.name),u=Y(""),c=new Map,d=new Map,f=eae(document),h=tae(document.documentElement),g=P=>P.reverse().concat(n("components.route-view.title",{name:n("common.product.name")})).join(" | "),_={addTitle:(P,R)=>{u.value=P,c.set(R,P),f(g([...c.values()]))},removeTitle:P=>{c.delete(P),f(g([...c.values()]))},addAttrs:(P,R)=>{d.set(R,P),h([...d.values()])},removeAttrs:P=>{d.delete(P),h([...d.values()])}},C=A(()=>Object.entries({...s.params,...o.query,...o.params}).reduce((R,[D,S])=>{if(typeof s.params[D]>"u")return R;let z=Joe(S);const V=s.params[D];switch(!0){case typeof V=="number":isNaN(Number(S))&&(z=String(V));break}return z.length===0&&(z=String(V)),R[D]=decodeURIComponent(z),R},{}));let b={};const y=x5(P=>{a.push({name:s.name,query:d8(P,o.query)}),b={}}),v=P=>{b={...b,...P},y(b)},k=(...P)=>{a.push(...P)};Te(()=>s.name,()=>{const P=Object.entries(C.value||{}).reduce((R,[D,S])=>(typeof o.params[D]>"u"&&(R[D]=S),R),{});Object.keys(P).length>0&&a.replace({query:d8(P,o.query)})},{immediate:!0});const B=M1(a7,void 0);B||(f(n("components.route-view.title",{name:n("common.product.name")})),Po(a7,_));const $=B||_;return Te(()=>s.attrs,P=>{Object.keys(P).length>0&&$.addAttrs(P,i)},{immediate:!0}),lr(()=>{$.removeAttrs(i)}),(P,R)=>(m(),M("div",{class:"route-view","data-testid":l.value},[H(B)?O("",!0):(m(),M("div",nae,T(H(n)("components.route-view.route-announcer",{title:u.value})),1)),w(),F(P.$slots,"default",{t:H(n),env:H(t),can:H(r),route:{update:v,replace:k,params:C.value}})],8,rae))}}),aae=e=>[{path:"/404",name:"not-found",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>e[e.length-1]()}],iae=e=>{const t=(r,n)=>typeof e[r]<"u"?e[r](t,n):!1;return t};function sae(e){const t=e.split(/([A-Z][a-z]+)/).join(" ").replace(/\s+/g," ").trim();return t.charAt(0).toUpperCase()+t.substring(1)}function wl(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 wl(e[n[0]],n.slice(1),r)}class f8 extends Error{get key(){return this.message}}const lae=(e,t)=>{const r=KJ("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 wl(e,a)>"u")throw a.startsWith("http.api.")?new f8(a):new Error(`Missing message: "${a}" for locale "en-us", using id as fallback`);return wl(e,a).length===0?"":(o[1]={...n,...o[1]},r.t(...o))}catch(s){switch(!0){case s instanceof f8:return sae(s.key.split(".").pop());default:if((i=o[2])!=null&&i.defaultMessage)return o[2].defaultMessage;throw s}}}}},uae=0,cae=1,ko=2;class th extends EventTarget{constructor(r,n){super();ht(this,"url","");ht(this,"withCredentials",!1);ht(this,"CONNECTING",uae);ht(this,"OPEN",cae);ht(this,"CLOSED",ko);ht(this,"onerror",null);ht(this,"onmessage",null);ht(this,"onopen",null);ht(this,"readyState",ko);this.source=r,this.configuration=n,this._open()}_open(){(async function(r){try{r.readyState=0;const n=r.source();for await(const o of n)if(r.dispatchEvent(new MessageEvent("message",{data:o})),r.readyState===ko)break;r.readyState=ko}catch(n){r.close(),r.dispatchEvent(new ErrorEvent("error",{error:n}))}})(this)}open(){this.readyState!==ko&&this._open()}close(){this.readyState=ko}}const rh=e=>(t,r={})=>{let n=0,o=0;return new th(async function*(){var i,s;const a=this;for(;;){a.readyState=1,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=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)},h8=rh(new class extends EventTarget{constructor(){super(...arguments);ht(this,"hidden",!1)}}),dae=(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")||"",...a.params};try{const s=a.route(i,{close:()=>{}});return s instanceof th?s:h8(()=>Promise.resolve(s))}catch(s){return h8(()=>Promise.reject(s))}},fae=(e,t)=>{t&&t.close()},hae={create:dae,destroy:fae};var ci=class{constructor(e,t,r,n,o,a){ht(this,"type",3);ht(this,"name","");ht(this,"prefix","");ht(this,"value","");ht(this,"suffix","");ht(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"}},pae=/[$_\p{ID_Start}]/u,mae=/[$_\u200C\u200D\p{ID_Continue}]/u,i7=".*";function vae(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function nh(e,t=!1){let r=[],n=0;for(;n{if(il("OTHER_MODIFIER")??l("ASTERISK"),c=y=>{let v=l(y);if(v!==void 0)return v;let{type:k,index:B}=r[i];throw new TypeError(`Unexpected ${k} at ${B}, expected ${y}`)},d=()=>{let y="",v;for(;v=l("CHAR")??l("ESCAPED_CHAR");)y+=v;return y},f=y=>y,h=t.encodePart||f,g="",_=y=>{g+=y},C=()=>{g.length&&(o.push(new ci(3,"","",h(g),"",3)),g="")},b=(y,v,k,B,$)=>{let P=3;switch($){case"?":P=1;break;case"*":P=0;break;case"+":P=2;break}if(!v&&!k&&P===3){_(y);return}if(C(),!v&&!k){if(!y)return;o.push(new ci(3,"","",h(y),"",P));return}let R;k?k==="*"?R=i7:R=k:R=n;let D=2;R===n?(D=1,R=""):R===i7&&(D=0,R="");let S;if(v?S=v:k&&(S=a++),s.has(S))throw new TypeError(`Duplicate name '${S}'.`);s.add(S),o.push(new ci(D,S,h(y),R,h(B),P))};for(;i-1)}return i||(n+=`(?=${a}|${o})`),new RegExp(n,p8(r))}var fn={delimiter:"",prefixes:"",sensitive:!0,strict:!0},Cae={delimiter:".",prefixes:"",sensitive:!0,strict:!0},yae={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function bae(e,t){return e.length?e[0]==="/"?!0:!t||e.length<2?!1:(e[0]=="\\"||e[0]=="{")&&e[1]=="/":!1}function ih(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function wae(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}function sh(e){return!e||e.length<2?!1:e[0]==="["||(e[0]==="\\"||e[0]==="{")&&e[1]==="["}var lh=["ftp","file","http","https","ws","wss"];function uh(e){if(!e)return!0;for(let t of lh)if(e.test(t))return!0;return!1}function _ae(e,t){if(e=ih(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 kae(e,t){if(e=ih(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 Mae(e,t){return t||e===""?e:sh(e)?fh(e):dh(e)}function xae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.password=e,r.password}function Sae(e,t){if(t||e==="")return e;let r=new URL("https://example.com");return r.username=e,r.username}function Eae(e,t,r){if(r||e==="")return e;if(t&&!lh.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 Aae(e,t,r){return ch(t)===e&&(e=""),r||e===""?e:hh(e)}function Lae(e,t){return e=wae(e,":"),t||e===""?e:S5(e)}function ch(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function S5(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function Dae(e){if(e==="")return e;let t=new URL("https://example.com");return t.username=e,t.username}function Bae(e){if(e==="")return e;let t=new URL("https://example.com");return t.password=e,t.password}function dh(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 fh(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function hh(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function Hae(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 Tae(e){return e===""?e:new URL(`data:${e}`).pathname}function Iae(e){if(e==="")return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function Oae(e){if(e==="")return e;let t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}var $o,l1,St,bt,Wn,Zo,zr,Ro,zo,Fo,Vt,zt,_l,ph,Si,s7,Qn,Ua,Uo,Ts,_1,Z1,Ei,l7,kl,mh,jo,Is,Ml,vh,xl,gh,Yo,Os,Cn,Do,Fr,zn,Sl,Ch,El,yh,Al,bh,Ll,wh,z1,hr,Dl,_h,C8,Vae=(C8=class{constructor(e){et(this,Vt);et(this,_l);et(this,Si);et(this,Qn);et(this,Uo);et(this,_1);et(this,Ei);et(this,kl);et(this,jo);et(this,Ml);et(this,xl);et(this,Yo);et(this,Cn);et(this,Fr);et(this,Sl);et(this,El);et(this,Al);et(this,Ll);et(this,z1);et(this,Dl);et(this,$o,void 0);et(this,l1,[]);et(this,St,{});et(this,bt,0);et(this,Wn,1);et(this,Zo,0);et(this,zr,0);et(this,Ro,0);et(this,zo,0);et(this,Fo,!1);Yt(this,$o,e)}get result(){return oe(this,St)}parse(){for(Yt(this,l1,nh(oe(this,$o),!0));oe(this,bt)0)if(ge(this,El,yh).call(this))Yt(this,Ro,oe(this,Ro)-1);else continue;if(ge(this,Sl,Ch).call(this)){Yt(this,Ro,oe(this,Ro)+1);continue}switch(oe(this,zr)){case 0:ge(this,Ei,l7).call(this)&&(oe(this,St).username="",oe(this,St).password="",oe(this,St).hostname="",oe(this,St).port="",oe(this,St).pathname="",oe(this,St).search="",oe(this,St).hash="",ge(this,Qn,Ua).call(this,1));break;case 1:if(ge(this,Ei,l7).call(this)){ge(this,Dl,_h).call(this);let e=7,t=1;oe(this,Fo)&&(oe(this,St).pathname="/"),ge(this,kl,mh).call(this)?(e=2,t=3):oe(this,Fo)&&(e=2),ge(this,Vt,zt).call(this,e,t)}break;case 2:ge(this,jo,Is).call(this)?ge(this,Qn,Ua).call(this,3):(ge(this,Yo,Os).call(this)||ge(this,Cn,Do).call(this)||ge(this,Fr,zn).call(this))&&ge(this,Qn,Ua).call(this,5);break;case 3:ge(this,Ml,vh).call(this)?ge(this,Vt,zt).call(this,4,1):ge(this,jo,Is).call(this)&&ge(this,Vt,zt).call(this,5,1);break;case 4:ge(this,jo,Is).call(this)&&ge(this,Vt,zt).call(this,5,1);break;case 5:ge(this,Al,bh).call(this)?Yt(this,zo,oe(this,zo)+1):ge(this,Ll,wh).call(this)&&Yt(this,zo,oe(this,zo)-1),ge(this,xl,gh).call(this)&&!oe(this,zo)?ge(this,Vt,zt).call(this,6,1):ge(this,Yo,Os).call(this)?ge(this,Vt,zt).call(this,7,0):ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 6:ge(this,Yo,Os).call(this)?ge(this,Vt,zt).call(this,7,0):ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 7:ge(this,Cn,Do).call(this)?ge(this,Vt,zt).call(this,8,1):ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break;case 8:ge(this,Fr,zn).call(this)&&ge(this,Vt,zt).call(this,9,1);break}}}},$o=new WeakMap,l1=new WeakMap,St=new WeakMap,bt=new WeakMap,Wn=new WeakMap,Zo=new WeakMap,zr=new WeakMap,Ro=new WeakMap,zo=new WeakMap,Fo=new WeakMap,Vt=new WeakSet,zt=function(e,t){switch(oe(this,zr)){case 0:break;case 1:oe(this,St).protocol=ge(this,z1,hr).call(this);break;case 2:break;case 3:oe(this,St).username=ge(this,z1,hr).call(this);break;case 4:oe(this,St).password=ge(this,z1,hr).call(this);break;case 5:oe(this,St).hostname=ge(this,z1,hr).call(this);break;case 6:oe(this,St).port=ge(this,z1,hr).call(this);break;case 7:oe(this,St).pathname=ge(this,z1,hr).call(this);break;case 8:oe(this,St).search=ge(this,z1,hr).call(this);break;case 9:oe(this,St).hash=ge(this,z1,hr).call(this);break}ge(this,_l,ph).call(this,e,t)},_l=new WeakSet,ph=function(e,t){Yt(this,zr,e),Yt(this,Zo,oe(this,bt)+t),Yt(this,bt,oe(this,bt)+t),Yt(this,Wn,0)},Si=new WeakSet,s7=function(){Yt(this,bt,oe(this,Zo)),Yt(this,Wn,0)},Qn=new WeakSet,Ua=function(e){ge(this,Si,s7).call(this),Yt(this,zr,e)},Uo=new WeakSet,Ts=function(e){return e<0&&(e=oe(this,l1).length-e),e=0&&(e.pathname=Or(n.pathname.substring(0,o+1),r)+e.pathname)}e.pathname=Eae(e.pathname,e.protocol,r)}return typeof t.search=="string"&&(e.search=kae(t.search,r)),typeof t.hash=="string"&&(e.hash=_ae(t.hash,r)),e}function ja(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function Pae(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function Nae(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=`[^${Pae(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+=ja(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+=ja(s.suffix),u&&(a+="}"),s.modifier!==3&&(a+=Ho(s.modifier))}return a}var gr,Xn,Go,Gt,Cr,y8,kh=(y8=class{constructor(e={},t,r){et(this,gr,void 0);et(this,Xn,{});et(this,Go,{});et(this,Gt,{});et(this,Cr,{});try{let n;if(typeof t=="string"?n=t:r=t,typeof e=="string"){let s=new Vae(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};Yt(this,gr,Oa({pathname:ln,protocol:ln,username:ln,password:ln,hostname:ln,port:ln,search:ln,hash:ln},e,!0)),ch(oe(this,gr).protocol)===oe(this,gr).port&&(oe(this,gr).port="");let i;for(i of _0){if(!(i in oe(this,gr)))continue;let s={},l=oe(this,gr)[i];switch(oe(this,Go)[i]=[],i){case"protocol":Object.assign(s,fn),s.encodePart=S5;break;case"username":Object.assign(s,fn),s.encodePart=Dae;break;case"password":Object.assign(s,fn),s.encodePart=Bae;break;case"hostname":Object.assign(s,Cae),sh(l)?s.encodePart=fh:s.encodePart=dh;break;case"port":Object.assign(s,fn),s.encodePart=hh;break;case"pathname":uh(oe(this,Xn).protocol)?(Object.assign(s,yae,o),s.encodePart=Hae):(Object.assign(s,fn,o),s.encodePart=Tae);break;case"search":Object.assign(s,fn,o),s.encodePart=Iae;break;case"hash":Object.assign(s,fn,o),s.encodePart=Oae;break}try{oe(this,Cr)[i]=oh(l,s),oe(this,Xn)[i]=ah(oe(this,Cr)[i],oe(this,Go)[i],s),oe(this,Gt)[i]=Nae(oe(this,Cr)[i],s)}catch{throw new TypeError(`invalid ${i} pattern '${oe(this,gr)[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=Oa(r,e,!1):r=Oa(r,m8(e,t),!1)}catch{return!1}let n;for(n of _0)if(!oe(this,Xn)[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=Oa(r,e,!1):r=Oa(r,m8(e,t),!1)}catch{return null}let n={};t?n.inputs=[e,t]:n.inputs=[e];let o;for(o of _0){let a=oe(this,Xn)[o].exec(r[o]);if(!a)return null;let i={};for(let[s,l]of oe(this,Go)[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 kh({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 Zae{constructor(t,r){ht(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 Rae{constructor(t,{create:r,destroy:n},o){ht(this,"cache",new Map);ht(this,"pool");ht(this,"getCacheKeyPrefix");const a=new $ae(t);this.pool=new Zae(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=>{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 zae{constructor(t){ht(this,"env");let r=t;const n=(s,l="")=>this.var(s,(r==null?void 0:r[s])??l),o=this.getConfig(),a=jae(n("KUMA_VERSION",o.version)),i=encodeURIComponent(n("KUMA_PRODUCT_NAME"));r={...r,KUMA_UTM_QUERY_PARAMS:`utm_source=${i}&utm_medium=${i}`},this.env={...r,KUMA_INSTALL_URL:`${n("KUMA_INSTALL_URL")}?${n("KUMA_UTM_QUERY_PARAMS")}`,KUMA_DOCS_URL:`${n("KUMA_DOCS_URL")}/${a.patch==="0.0.0"?"dev":a.patch.replace(/\.\d+$/,".x")}`,KUMA_VERSION:a.pre,KUMA_API_URL:n("KUMA_API_URL")||o.apiUrl,KUMA_BASE_PATH:n("KUMA_BASE_PATH")||o.baseGuiPath,KUMA_MODE:n("KUMA_MODE")||o.mode,KUMA_ENVIRONMENT:n("KUMA_ENVIRONMENT")||o.environment,KUMA_STORE_TYPE:n("KUMA_STORE_TYPE")||o.storeType}}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=Fae(),console.error("Unable to parse kuma config. Falling back to defaults")),r.apiUrl=Uae(r.apiUrl),r}}function Fae(e=""){return{baseGuiPath:"/gui",apiUrl:e,version:"2.4.0",product:"Kuma",mode:"global",environment:"universal",storeType:"postgres",apiReadOnly:!1}}function Mh(e){return e.endsWith("/")?Mh(e.slice(0,-1)):e}function Uae(e){return e=!e.includes("://")&&!e.startsWith("/")?`/${e}`:e,Mh(e)}function jae(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 Ft={Env:De("application.Env"),env:De("application.env"),EnvVars:De("EnvVars"),can:De("application.can"),features:De("application.can.features"),notFoundView:De("application.not-found"),applicationComponents:De("application.components"),source:De("data.source"),sources:De("data.sources"),dataSourcePool:De("data.DataSourcePool"),dataSourceLifecycle:De("data.DataSourceLifecycle"),getDataSourceCacheKeyPrefix:De("data.getDataSourceCacheKeyPrefix"),i18n:De("i18n"),enUs:De("i18n.locale.enUs")},Yae=e=>[[De("application.components"),{service:t=>[["AppView",Qoe],["DataSource",o7],["RouteView",oae],["RouteTitle",Xoe],["I18nT",qJ(t)]],arguments:[e.i18n],labels:[e.components]}],[De("application.routes"),{service:aae,arguments:[Ft.notFoundView],labels:[e.routes]}],[Ft.i18n,{service:lae,arguments:[Ft.enUs,e.env]}],[Ft.can,{service:iae,arguments:[Ft.features]}],[Ft.Env,{service:zae,arguments:[e.EnvVars]}],[Ft.env,{service:t=>(...r)=>t.var(...r),arguments:[Ft.Env]}],[Ft.dataSourceLifecycle,{constant:hae}],[Ft.source,{service:rh,arguments:[a1(document,{description:"dom.document"})]}],[Ft.getDataSourceCacheKeyPrefix,{service:()=>()=>"",arguments:[e.router]}],[Ft.dataSourcePool,{service:Rae,arguments:[e.sources,Ft.dataSourceLifecycle,Ft.getDataSourceCacheKeyPrefix]}]],Gae=Ft,[E5,xh,E1,Kae]=Tl(Ft.env,Ft.can,Ft.i18n,Ft.dataSourcePool);function qae(e){return[{name:"Home",routeName:"home"},...e?[{name:"Zones",routeName:"zone-cp-list-view",anchorRouteName:"zone-index-view"}]:[{name:"Zone Egresses",routeName:"zone-egress-list-view",anchorRouteName:"zone-index-view"}],{name:"Meshes",routeName:"mesh-list-view",anchorRouteName:"mesh-index-view"}]}const Wae=e=>({"use kubernetes":t=>e("KUMA_ENVIRONMENT")==="kubernetes","use state":t=>e("KUMA_STORE_TYPE")!=="memory"}),Qae=()=>[{path:"/",name:"home",component:()=>Ce(()=>import("./MainOverviewView-a55d048d.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./MainOverviewView-373c5392.css"],import.meta.url)}],Xae=e=>({"/global-insight":(t,r)=>(r.close(),e.getGlobalInsight())}),Jae=e=>[[De("control-planes.routes"),{service:Qae,labels:[e.routes]}],[De("control-planes.sources"),{service:Xae,arguments:[e.api],labels:[e.sources]}],[De("control-planes.features"),{service:Wae,arguments:[e.env],labels:[e.features]}]],eie=()=>({"/me":async(e={},t)=>(t.close(),Promise.resolve({pageSize:50}))}),tie={sources:De("me.sources")},rie=e=>[[tie.sources,{service:eie,arguments:[e.api],labels:[e.sources]}]],nie=(e,t,r,n)=>[{path:"/meshes",name:"mesh-index-view",redirect:{name:"mesh-list-view"},component:()=>Ce(()=>import("./MeshIndexView-c00fc50e.js"),[],import.meta.url),children:[{path:"",name:"mesh-list-view",component:()=>Ce(()=>import("./MeshListView-7cbf699c.js"),["./AppCollection-78207d85.css","./SummaryView-0a41607a.css","./MeshListView-11b42c37.css"],import.meta.url),children:[{path:":mesh",name:"mesh-summary-view",component:()=>Ce(()=>import("./MeshSummaryView-2f76bb03.js"),["./MeshSummaryView-9a77e477.css"],import.meta.url)}]},{path:":mesh",name:"mesh",redirect:{name:"mesh-detail-view"},children:[{path:"",name:"mesh-tabs-view",redirect:{name:"mesh-detail-view"},component:()=>Ce(()=>import("./MeshTabsView-63e35a0f.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",meta:{module:"meshes"},name:"mesh-detail-view",component:()=>Ce(()=>import("./MeshDetailView-e5bc8037.js"),["./MeshDetailView-f689dfe5.css"],import.meta.url)},{path:"config",name:"mesh-config-view",component:()=>Ce(()=>import("./MeshConfigView-e834bc0b.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},...e.items(),...t.items(),...r.items(),...n.items()]},...e.item(),...t.item(),...r.item(),...n.item()]}]}],oie=e=>({"/meshes":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return e.getAllMeshInsights({size:n,offset:o})},"/meshes/:name":(t,r)=>{r.close();const{name:n}=t;return e.getMesh({name:n})},"/mesh-insights":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return e.getAllMeshInsights({size:n,offset:o})},"/mesh-insights/:name":async(t,r)=>{r.close();const{name:n}=t;return e.getMeshInsights({name:n})}}),aie=["protocol","service","zone"];function u7(e){const t=new Map;for(const[r,n]of e){const o=aie.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 iie=e=>({"/meshes/:mesh/dataplanes":async(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1),i="false",s=Object.fromEntries(u7(JSON.parse(t.search||"[]")));return e.getAllDataplaneOverviewsFromMesh({mesh:n},{...s,gateway:i,offset:a,size:o})},"/meshes/:mesh/dataplanes/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneFromMesh({mesh:n,name:o})},"/meshes/:mesh/dataplanes/:name/data-path/:dataPath":(t,r)=>{r.close();const{mesh:n,name:o,dataPath:a}=t;return e.getDataplaneData({mesh:n,dppName:o,dataPath:a})},"/meshes/:mesh/dataplanes/:name/sidecar-dataplanes-policies":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getSidecarDataplanePolicies({mesh:n,name:o})},"/meshes/:mesh/dataplanes/:name/rules":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneRules({mesh:n,name:o})},"/meshes/:mesh/dataplane-overviews/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getDataplaneOverviewFromMesh({mesh:n,name:o})},"/meshes/:mesh/dataplanes/for/:service/of/:type":async(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1),i=Object.fromEntries(u7(JSON.parse(t.search||"[]")));typeof i.tag>"u"&&(i.tag=[]),i.tag=i.tag.filter(l=>!l.startsWith("kuma.io/service:")),i.tag.push(`kuma.io/service:${t.service}`);const s=t.type!=="all"?{gateway:t.type}:{};return e.getAllDataplaneOverviewsFromMesh({mesh:n},{...i,...s,offset:a,size:o})}}),sie=()=>({items:()=>[{path:"data-planes",name:"data-plane-list-view",meta:{module:"data-planes"},component:()=>Ce(()=>import("./DataPlaneListView-fd44260d.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-5b256e59.css","./SummaryView-0a41607a.css","./DataPlaneListView-55ed36f3.css"],import.meta.url),children:[{path:":dataPlane",name:"data-plane-summary-view",component:()=>Ce(()=>import("./DataPlaneSummaryView-f5a3bcb5.js"),["./StatusBadge-307eb0a4.css","./TagList-613e8329.css","./DataPlaneSummaryView-97ead746.css"],import.meta.url)}]}],item:()=>[{path:"data-planes/:dataPlane",name:"data-plane-detail-tabs-view",component:()=>Ce(()=>import("./DataPlaneDetailTabsView-e235a490.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",name:"data-plane-detail-view",component:()=>Ce(()=>import("./DataPlaneDetailView-3d3cd2e0.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-1d266456.css","./TagList-613e8329.css","./DataPlaneDetailView-4fe1d84b.css"],import.meta.url)},{path:"policies",name:"data-plane-policies-view",component:()=>Ce(()=>import("./DataPlanePoliciesView-2cacfe44.js"),["./AccordionList-8bab9627.css","./CodeBlock-aa591f34.css","./PolicyTypeTag-f5c09fb0.css","./TagList-613e8329.css","./SidecarDataplanePolicyList-3172c9cb.css"],import.meta.url)},{path:"xds-config",name:"data-plane-xds-config-view",component:()=>Ce(()=>import("./DataPlaneXdsConfigView-544cfe5f.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"data-plane-stats-view",component:()=>Ce(()=>import("./DataPlaneStatsView-b033a96e.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"data-plane-clusters-view",component:()=>Ce(()=>import("./DataPlaneClustersView-e89523a1.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"data-plane-config-view",component:()=>Ce(()=>import("./DataPlaneConfigView-dd31f078.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),lie=e=>[[De("data-planes.sources"),{service:iie,arguments:[e.api],labels:[e.sources]}]],uie=e=>({"/meshes/:mesh/gateways":async(t,r)=>{r.close();const n=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{gateway:"true",offset:n,size:t.size})},"/meshes/:mesh/gateways/of/:type":async(t,r)=>{r.close();const n=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{...Object.fromEntries(u7(JSON.parse(t.search||"[]"))),gateway:t.type==="all"?"true":t.type,offset:n,size:t.size})},"/meshes/:mesh/gateways/:name/policies":(t,r)=>{r.close();const{mesh:n,name:o}=t;return e.getMeshGatewayDataplane({mesh:n,name:o})}}),cie=()=>({items:()=>[{path:"gateways",name:"gateway-list-view",meta:{module:"gateways"},component:()=>Ce(()=>import("./GatewayListView-e4e4e63f.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-5b256e59.css","./SummaryView-0a41607a.css","./GatewayListView-3a15d65f.css"],import.meta.url),children:[{path:":dataPlane",name:"gateway-summary-view",component:()=>Ce(()=>import("./DataPlaneSummaryView-f5a3bcb5.js"),["./StatusBadge-307eb0a4.css","./TagList-613e8329.css","./DataPlaneSummaryView-97ead746.css"],import.meta.url)}]}],item:()=>[{path:"gateways/:dataPlane",name:"gateway-detail-tabs-view",component:()=>Ce(()=>import("./DataPlaneDetailTabsView-e235a490.js"),["./NavTabs-098c6540.css"],import.meta.url),props:{isGatewayView:!0},children:[{path:"overview",name:"gateway-detail-view",component:()=>Ce(()=>import("./DataPlaneDetailView-3d3cd2e0.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-1d266456.css","./TagList-613e8329.css","./DataPlaneDetailView-4fe1d84b.css"],import.meta.url)},{path:"policies",name:"gateway-policies-view",component:()=>Ce(()=>import("./GatewayPoliciesView-7f6f2d39.js"),["./AccordionList-8bab9627.css","./CodeBlock-aa591f34.css","./PolicyTypeTag-f5c09fb0.css","./TagList-613e8329.css","./SidecarDataplanePolicyList-3172c9cb.css","./GatewayPoliciesView-15d674af.css"],import.meta.url)},{path:"xds-config",name:"gateway-xds-config-view",component:()=>Ce(()=>import("./DataPlaneXdsConfigView-544cfe5f.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"gateway-stats-view",component:()=>Ce(()=>import("./DataPlaneStatsView-b033a96e.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"gateway-clusters-view",component:()=>Ce(()=>import("./DataPlaneClustersView-e89523a1.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"gateway-config-view",component:()=>Ce(()=>import("./DataPlaneConfigView-dd31f078.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),die=e=>[[De("gateway.sources"),{service:uie,arguments:[e.api],labels:[e.sources]}]],fie=e=>({"/*/policy-types":(t,r)=>(r.close(),e.getPolicyTypes()),"/meshes/:mesh/policy-path/:path":(t,r)=>{r.close();const{mesh:n,path:o,size:a}=t,i=t.size*(t.page-1);return e.getAllPolicyEntitiesFromMesh({mesh:n,path:o},{offset:i,size:a})},"/meshes/:mesh/policy-path/:path/policy/:name":(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return e.getSinglePolicyEntity({mesh:n,path:o,name:a})},"/meshes/:mesh/policy-path/:path/policy/:name/dataplanes":(t,r)=>{r.close();const{mesh:n,path:o,name:a}=t;return e.getPolicyConnections({mesh:n,path:o,name:a})}}),hie=()=>({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:()=>Ce(()=>import("./PolicyListView-8515306d.js"),["./AppCollection-78207d85.css","./PolicyTypeTag-f5c09fb0.css","./SummaryView-0a41607a.css","./PolicyListView-bc46ef91.css"],import.meta.url),children:[{path:":policy",name:"policy-summary-view",component:()=>Ce(()=>import("./PolicySummaryView-200ebffc.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css","./PolicySummaryView-006fa439.css"],import.meta.url)}]}]}],item:()=>[{path:"policies/:policyPath/:policy/overview",name:"policy-detail-view",component:()=>Ce(()=>import("./PolicyDetailView-d24d04a3.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}),pie=e=>[[De("policies.sources"),{service:fie,arguments:[e.api],labels:[e.sources]}]],mie=e=>({"/meshes/:mesh/service-insights":(t,r)=>{r.close();const{mesh:n,size:o}=t,a=t.size*(t.page-1);return e.getAllServiceInsightsFromMesh({mesh:n},{size:o,offset:a})},"/meshes/:mesh/service-insights/:name":(t,r)=>{r.close();const{mesh:n,name:o}=t;return 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?a[0]:null}}),vie=()=>({items:()=>[{path:"services",name:"service-list-view",meta:{module:"services"},component:()=>Ce(()=>import("./ServiceListView-e99c5efb.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./SummaryView-0a41607a.css","./ServiceListView-ed675c64.css"],import.meta.url),children:[{path:":service",name:"service-summary-view",component:()=>Ce(()=>import("./ServiceSummaryView-e524679b.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css","./StatusBadge-307eb0a4.css","./TagList-613e8329.css","./ServiceSummaryView-1063ba1a.css"],import.meta.url)}]}],item:()=>[{path:"services/:service",name:"service-detail-tabs-view",component:()=>Ce(()=>import("./ServiceDetailTabsView-aca21c75.js"),["./NavTabs-098c6540.css"],import.meta.url),children:[{path:"overview",name:"service-detail-view",component:()=>Ce(()=>import("./ServiceDetailView-f4afa5ce.js"),["./TagList-613e8329.css","./StatusBadge-307eb0a4.css"],import.meta.url)},{path:"config",name:"service-config-view",component:()=>Ce(()=>import("./ServiceConfigView-7a1ff5a2.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},{path:"data-plane-proxies",name:"service-data-plane-proxies-view",meta:{module:"service-data-planes"},component:()=>Ce(()=>import("./ServiceDataPlaneProxiesView-f80b32ef.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./KFilterBar-5b256e59.css","./SummaryView-0a41607a.css","./ServiceDataPlaneProxiesView-1aa0c94b.css"],import.meta.url),children:[{path:":dataPlane",name:"service-data-plane-summary-view",component:()=>Ce(()=>import("./DataPlaneSummaryView-f5a3bcb5.js"),["./StatusBadge-307eb0a4.css","./TagList-613e8329.css","./DataPlaneSummaryView-97ead746.css"],import.meta.url)}]}]}]}),gie=e=>[[De("service.sources"),{service:mie,arguments:[e.api],labels:[e.sources]}]],un={dataplaneRoutes:De("kuma.dataplane.routes"),gatewayRoutes:De("kuma.gateway.routes"),serviceRoutes:De("kuma.service.routes"),policyRoutes:De("kuma.policy.routes")},Cie=e=>[[De("meshes.routes"),{service:nie,arguments:[un.serviceRoutes,un.gatewayRoutes,un.dataplaneRoutes,un.policyRoutes],labels:[e.routes]}],[un.dataplaneRoutes,{service:sie}],[un.gatewayRoutes,{service:cie}],[un.serviceRoutes,{service:vie}],[un.policyRoutes,{service:hie}],[De("meshes.sources"),{service:oie,arguments:[e.api],labels:[e.sources]}],...gie(e),...lie(e),...die(e),...pie(e)],yie=e=>({"use zones":()=>e("KUMA_MODE")==="global","create zones":t=>t("use zones")&&e("KUMA_ZONE_CREATION_FLOW")==="enabled"}),ps=(e="egresses")=>({items:()=>[{path:`${e}`,name:"zone-egress-list-view",meta:{module:"zone-egresses"},component:()=>Ce(()=>import("./IndexView-2d3ed77b.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./SummaryView-0a41607a.css","./IndexView-4b704a64.css"],import.meta.url),children:[{path:":zoneEgress",name:"zone-egress-summary-view",component:()=>Ce(()=>import("./ZoneEgressSummaryView-cddf83e2.js"),["./StatusBadge-307eb0a4.css","./ZoneEgressSummaryView-36956fe7.css"],import.meta.url)}]}],item:()=>[{path:`${e}/:zoneEgress`,name:"zone-egress-detail-tabs-view",component:()=>Ce(()=>import("./IndexView-6e4615b2.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-egress-detail-view"},children:[{path:"overview",name:"zone-egress-detail-view",component:()=>Ce(()=>import("./DetailView-a436e024.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-1d266456.css"],import.meta.url)},{path:"xds-config",name:"zone-egress-xds-config-view",component:()=>Ce(()=>import("./XdsConfigView-e7c5782a.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-egress-stats-view",component:()=>Ce(()=>import("./StatsView-71d6c8cc.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-egress-clusters-view",component:()=>Ce(()=>import("./ClustersView-6fdd8967.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-egress-config-view",component:()=>Ce(()=>import("./ConfigView-974c6db1.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),v8=(e="ingresses")=>({items:()=>[{path:`${e}`,name:"zone-ingress-list-view",meta:{module:"zone-ingresses"},component:()=>Ce(()=>import("./IndexView-53efc4dd.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./SummaryView-0a41607a.css","./IndexView-59ebb553.css"],import.meta.url),children:[{path:":zoneIngress",name:"zone-ingress-summary-view",component:()=>Ce(()=>import("./ZoneIngressSummaryView-07d432e0.js"),["./StatusBadge-307eb0a4.css","./ZoneIngressSummaryView-35410f15.css"],import.meta.url)}]}],item:()=>[{path:`${e}/:zoneIngress`,name:"zone-ingress-detail-tabs-view",component:()=>Ce(()=>import("./IndexView-55b5e6b7.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-ingress-detail-view"},children:[{path:"overview",name:"zone-ingress-detail-view",component:()=>Ce(()=>import("./DetailView-de135d50.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-1d266456.css"],import.meta.url)},{path:"services",name:"zone-ingress-services-view",component:()=>Ce(()=>import("./ServicesView-0be6fb3f.js"),["./AppCollection-78207d85.css"],import.meta.url)},{path:"xds-config",name:"zone-ingress-xds-config-view",component:()=>Ce(()=>import("./XdsConfigView-dab3faef.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"stats",name:"zone-ingress-stats-view",component:()=>Ce(()=>import("./StatsView-ee67b5d4.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"clusters",name:"zone-ingress-clusters-view",component:()=>Ce(()=>import("./ClustersView-fdcfd700.js"),["./CodeBlock-aa591f34.css","./EnvoyData-e27c4bdc.css"],import.meta.url)},{path:"config",name:"zone-ingress-config-view",component:()=>Ce(()=>import("./ConfigView-a6428b6d.js"),["./CodeBlock-aa591f34.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),bie=()=>[{path:"/zones/-create",name:"zone-create-view",meta:{isWizard:!0},component:()=>Ce(()=>import("./CreateView-c37fa2bc.js"),["./CodeBlock-aa591f34.css","./CreateView-02da7e9e.css"],import.meta.url)}],wie=(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:()=>Ce(()=>import("./IndexView-b07d4964.js"),["./AppCollection-78207d85.css","./StatusBadge-307eb0a4.css","./SummaryView-0a41607a.css","./IndexView-bbf63ce3.css"],import.meta.url),children:[{path:":zone",name:"zone-cp-summary-view",component:()=>Ce(()=>import("./ZoneSummaryView-16aa987e.js"),["./StatusBadge-307eb0a4.css","./ZoneSummaryView-503cbff2.css"],import.meta.url)}]},{path:":zone",name:"zone-cp-detail-abstract-view",children:[{path:"",name:"zone-cp-detail-tabs-view",component:()=>Ce(()=>import("./IndexView-68716c48.js"),["./NavTabs-098c6540.css"],import.meta.url),redirect:{name:"zone-cp-detail-view"},children:[{path:"overview",name:"zone-cp-detail-view",component:()=>Ce(()=>import("./DetailView-77d6fdfb.js"),["./StatusBadge-307eb0a4.css","./AccordionList-8bab9627.css","./SubscriptionList-1d266456.css"],import.meta.url)},{path:"config",name:"zone-cp-config-view",component:()=>Ce(()=>import("./ConfigView-28cc7b93.js"),["./CodeBlock-aa591f34.css"],import.meta.url)},...v8().items(),...ps().items()]},...v8().item(),...ps().item()]}]}]:[{path:`${r}`,redirect:{name:"zone-egress-list-view"},children:[...ps().items(),...ps().item()]}]]};function Ase(e){var t;for(const r of((t=e.zoneInsight)==null?void 0:t.subscriptions)??[])if(r.config)return JSON.parse(r.config).environment;return""}function Lse(e){var r;const t=((r=e.zoneInsight)==null?void 0:r.subscriptions)??[];if(t.length>0){const n=t[t.length-1];if(n.config){const o=JSON.parse(n.config);return wl(o,"dpServer.auth.type","")}}return""}function _ie(e){var t;return e.zone.enabled===!1?"disabled":kie((t=e.zoneInsight)==null?void 0:t.subscriptions)}function kie(e=[]){return e.length>0&&[e[e.length-1]].every(r=>{var n;return((n=r.connectTime)==null?void 0:n.length)&&!r.disconnectTime})?"online":"offline"}const Mie=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),s},"/zone-egresses/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneEgress({name:n})},"/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 await e.getAllZoneEgressOverviews({size:n,offset:o})},"/zone-egress-overviews/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneEgressOverview({name:n})}}),xie={fromObject:e=>({...e,zoneIngress:{...e.zoneIngress,availableServices:Array.isArray(e.zoneIngress.availableServices)?e.zoneIngress.availableServices:[]}})},Sie=e=>({"/zone-cps/:name/ingresses":async(t,r)=>{r.close();const{name:n,size:o,page:a}=t,i=o*(a-1),s=await e.getAllZoneIngressOverviews({size:o,offset:i});return s.items=s.items.filter(l=>l.zoneIngress.zone===n),{...s,total:s.items.length,items:s.items.map(xie.fromObject)}},"/zone-ingresses/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneIngress({name:n})},"/zone-ingresses/:name/data-path/:dataPath":(t,r)=>{r.close();const{name:n,dataPath:o}=t;return e.getZoneIngressData({zoneIngressName:n,dataPath:o})},"/zone-ingress-overviews":async(t,r)=>{r.close();const{size:n}=t,o=t.size*(t.page-1);return await e.getAllZoneIngressOverviews({size:n,offset:o})},"/zone-ingress-overviews/:name":async(t,r)=>{r.close();const{name:n}=t;return await e.getZoneIngressOverview({name:n})}}),Eie=(e,t)=>({...Sie(t),...Mie(t),"/zone-cps":async r=>{const{size:n}=r,o=n*(r.page-1);return t.getAllZoneOverviews({size:n,offset:o})},"/zone-cps/:name":async r=>{const{name:n}=r;return t.getZoneOverview({name:n})},"/zone-cps/online/:name":r=>{const{name:n}=r;return e(async()=>{const o=await t.getZoneOverview({name:n});if(_ie(o)==="online")return o;throw new ui({status:404,title:`The ${o.name} Zone is offline`})},{retry:o=>{if((i=>typeof i.status<"u")(o)){const i=o.status.toString();switch(!0){case i==="404":return new Promise(s=>setTimeout(s,2e3))}}}})}}),Aie=e=>[[De("zones.routes"),{service:t=>wie(t("create zones")?bie():[],t),arguments:[e.can],labels:[e.routes]}],[De("zone.sources"),{service:Eie,arguments:[e.source,e.api],labels:[e.sources]}],[De("zone.features"),{service:yie,arguments:[e.env],labels:[e.features]}]],Lie={common:{not_applicable:"N/A",formats:{integer:"{value, number, integer}"},product:{name:"Kuma",href:{docs:{index:"{KUMA_DOCS_URL}/"}},environment:{universal:"Universal",kubernetes:"Kubernetes",unknown:"—"},mode:{standalone:"Standalone",global:"Multi-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> @@ -641,4 +641,4 @@ egress: enabled: {zoneEgressEnabled} experimental: deltaKds: true -`,connectDescription:"Next, run the following command to connect the Zone.",connectCommand:"helm 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."}}}}},Fie={...Lie,...Bie,...Die,...Oie,...Pie,...Tie,...Vie,...$ie,...Nie,...Hie,...Iie,...zie,...Rie,...Zie};class Uie{constructor(t,r){this.client=t,this.env=r}get baseUrl(){return this.client.baseUrl}}class jie extends Uie{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})}}async function Yie(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 Gie(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 Kie(i,u)}function Gie(e){const t=e instanceof Error?e.message:"An unknown network error occurred.";return new Error(t)}function Kie(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 ui({status:r,type:n,title:o,detail:a,instance:i,invalidParameters:s})}class qie{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=g8(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=g8(a);return Yie(`${t.startsWith("http")?"":this.baseUrl}${t}`,s,r)}}function g8(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 Wie={...Xf,...Gae,...Ds},Qie=e=>[[e.EnvVars,{constant:{KUMA_PRODUCT_NAME:"Kuma",KUMA_FEEDBACK_URL:"https://github.com/kumahq/kuma/issues/new/choose",KUMA_CHAT_URL:"https://kuma-mesh.slack.com",KUMA_INSTALL_URL:"https://kuma.io/install/latest/",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:qie,arguments:[e.env]}],[e.api,{service:jie,arguments:[e.httpClient,e.env]}],[e.logger,{service:MX}],[De("kong.plugins"),{service:()=>[[wX]],labels:[e.plugins]}],[De("kuma.components.not-found"),{service:()=>[()=>Ce(()=>import("./AppNotFoundView-ddd7ba27.js"),[],import.meta.url)],labels:[e.notFoundView]}],[De("kuma.i18n.en-us"),{constant:Fie,labels:[e.enUs]}],[e.nav,{service:t=>qae(t("use zones")),arguments:[e.can]}],...Yte(e),...Yae({...e,routes:e.routesLabel}),...rie(e),...Jae({...e,routes:e.routesLabel}),...Aie({...e,routes:e.routesLabel}),...Cie({...e,routes:e.routesLabel})],cn=Wie;async function Xie(){(await vp(Qie(cn),Cp({...cn,routes:cn.routesLabel}),kp({...cn,routes:cn.routesLabel}),wp({...cn,routes:cn.routesLabel}),[])(cn.app)((await Ce(()=>import("./App-424cf69c.js"),["./App-0486976f.css"],import.meta.url)).default)).mount("#app")}Xie();export{tse as $,Qoe as A,J as B,Ai as C,st as D,ore as E,ke as F,lt as G,T as H,rt as I,wse as J,n7 as K,_se as L,E5 as M,Cse as N,bse as O,yse as P,Kte as Q,ur as R,F as S,oo as T,lr as U,It as V,Fe as W,ise as X,_ie as Y,gse as Z,oae as _,Mse as a,rse as a0,qn as a1,Z1e as a2,eC as a3,K1e as a4,Ese as a5,Dn as a6,Hs as a7,dse as a8,eh as a9,Dte as aA,Fte as aB,use as aC,mse as aD,ase as aE,fse as aF,kq as aG,Ase as aH,Lse as aI,$1e as aJ,cl as aK,Et as aL,Jd as aM,NW as aa,ese as ab,Xh as ac,Ke as ad,mx as ae,fa as af,nse as ag,Te as ah,ao as ai,UW as aj,U1e as ak,hse as al,t2 as am,nr as an,M1 as ao,Po as ap,ose as aq,pse as ar,cse as as,Zs as at,Uv as au,sse as av,lse as aw,Oi as ax,ui as ay,vse as az,xse as b,Sse as c,X as d,Ql as e,xh as f,E1 as g,A as h,q as i,N as j,H as k,M as l,O as m,w as n,m as o,p,vt as q,m1 as r,o7 as s,C1 as t,kse as u,q1e as v,E as w,ire as x,Y as y,Ct as z}; +`,connectDescription:"Next, run the following command to connect the Zone.",connectCommand:"helm 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."}}}}},Fie={...Lie,...Bie,...Die,...Oie,...Pie,...Tie,...Vie,...$ie,...Nie,...Hie,...Iie,...zie,...Rie,...Zie};class Uie{constructor(t,r){this.client=t,this.env=r}get baseUrl(){return this.client.baseUrl}}class jie extends Uie{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})}}async function Yie(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 Gie(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 Kie(i,u)}function Gie(e){const t=e instanceof Error?e.message:"An unknown network error occurred.";return new Error(t)}function Kie(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 ui({status:r,type:n,title:o,detail:a,instance:i,invalidParameters:s})}class qie{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=g8(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=g8(a);return Yie(`${t.startsWith("http")?"":this.baseUrl}${t}`,s,r)}}function g8(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 Wie={...Xf,...Gae,...Ds},Qie=e=>[[e.EnvVars,{constant:{KUMA_PRODUCT_NAME:"Kuma",KUMA_FEEDBACK_URL:"https://github.com/kumahq/kuma/issues/new/choose",KUMA_CHAT_URL:"https://kuma-mesh.slack.com",KUMA_INSTALL_URL:"https://kuma.io/install/latest/",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:qie,arguments:[e.env]}],[e.api,{service:jie,arguments:[e.httpClient,e.env]}],[e.logger,{service:MX}],[De("kong.plugins"),{service:()=>[[wX]],labels:[e.plugins]}],[De("kuma.components.not-found"),{service:()=>[()=>Ce(()=>import("./AppNotFoundView-534e6206.js"),[],import.meta.url)],labels:[e.notFoundView]}],[De("kuma.i18n.en-us"),{constant:Fie,labels:[e.enUs]}],[e.nav,{service:t=>qae(t("use zones")),arguments:[e.can]}],...Yte(e),...Yae({...e,routes:e.routesLabel}),...rie(e),...Jae({...e,routes:e.routesLabel}),...Aie({...e,routes:e.routesLabel}),...Cie({...e,routes:e.routesLabel})],cn=Wie;async function Xie(){(await vp(Qie(cn),Cp({...cn,routes:cn.routesLabel}),kp({...cn,routes:cn.routesLabel}),wp({...cn,routes:cn.routesLabel}),[])(cn.app)((await Ce(()=>import("./App-aface07a.js"),["./App-0486976f.css"],import.meta.url)).default)).mount("#app")}Xie();export{tse as $,Qoe as A,J as B,Ai as C,st as D,ore as E,ke as F,lt as G,T as H,rt as I,wse as J,n7 as K,_se as L,E5 as M,Cse as N,bse as O,yse as P,Kte as Q,ur as R,F as S,oo as T,lr as U,It as V,Fe as W,ise as X,_ie as Y,gse as Z,oae as _,Mse as a,rse as a0,qn as a1,Z1e as a2,eC as a3,K1e as a4,Ese as a5,Dn as a6,Hs as a7,dse as a8,eh as a9,Dte as aA,Fte as aB,use as aC,mse as aD,ase as aE,fse as aF,kq as aG,Ase as aH,Lse as aI,$1e as aJ,cl as aK,Et as aL,Jd as aM,NW as aa,ese as ab,Xh as ac,Ke as ad,mx as ae,fa as af,nse as ag,Te as ah,ao as ai,UW as aj,U1e as ak,hse as al,t2 as am,nr as an,M1 as ao,Po as ap,ose as aq,pse as ar,cse as as,Zs as at,Uv as au,sse as av,lse as aw,Oi as ax,ui as ay,vse as az,xse as b,Sse as c,X as d,Ql as e,xh as f,E1 as g,A as h,q as i,N as j,H as k,M as l,O as m,w as n,m as o,p,vt as q,m1 as r,o7 as s,C1 as t,kse as u,q1e as v,E as w,ire as x,Y as y,Ct as z}; diff --git a/app/kuma-ui/pkg/resources/data/index.html b/app/kuma-ui/pkg/resources/data/index.html index 9335d8b11cdc..5dc93e28a831 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