diff --git a/app/kuma-ui/pkg/resources/data/assets/AccordionList-2acfc916.js b/app/kuma-ui/pkg/resources/data/assets/AccordionList-6ce6736a.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/AccordionList-2acfc916.js rename to app/kuma-ui/pkg/resources/data/assets/AccordionList-6ce6736a.js index 7c95d584ba13..1dacc3d9246f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AccordionList-2acfc916.js +++ b/app/kuma-ui/pkg/resources/data/assets/AccordionList-6ce6736a.js @@ -1 +1 @@ -import{d as v,ar as m,t as i,f as y,o as c,j as l,m as A,U as s,l as h,h as x,w as b,k as O,T as I,x as L,q as p,as as g}from"./index-2bbe899f.js";const $=["aria-expanded"],k={key:0,class:"accordion-item-content","data-testid":"accordion-item-content"},B=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,N)=>(c(),l("li",{class:L(["accordion-item",{active:n.value}])},[A("button",{class:"accordion-item-header",type:"button","aria-expanded":n.value?"true":"false","data-testid":"accordion-item-button",onClick:o},[s(a.$slots,"accordion-header",{},void 0,!0)],8,$),h(),x(I,{name:"accordion",onEnter:d,onAfterEnter:f,onBeforeLeave:d},{default:b(()=>[n.value?(c(),l("div",k,[s(a.$slots,"accordion-content",{},void 0,!0)])):O("",!0)]),_:3})],2))}});const V=p(B,[["__scopeId","data-v-53a0b6ce"]]),C={class:"accordion-list"},E=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",C,[s(o.$slots,"default",{},void 0,!0)]))}});const q=p(E,[["__scopeId","data-v-bdbadd5e"]]);export{V as A,q as a}; +import{d as v,ar as m,t as i,f as y,o as c,j as l,m as A,U as s,l as h,h as x,w as b,k as O,T as I,x as L,q as p,as as g}from"./index-cf0727dc.js";const $=["aria-expanded"],k={key:0,class:"accordion-item-content","data-testid":"accordion-item-content"},B=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,N)=>(c(),l("li",{class:L(["accordion-item",{active:n.value}])},[A("button",{class:"accordion-item-header",type:"button","aria-expanded":n.value?"true":"false","data-testid":"accordion-item-button",onClick:o},[s(a.$slots,"accordion-header",{},void 0,!0)],8,$),h(),x(I,{name:"accordion",onEnter:d,onAfterEnter:f,onBeforeLeave:d},{default:b(()=>[n.value?(c(),l("div",k,[s(a.$slots,"accordion-content",{},void 0,!0)])):O("",!0)]),_:3})],2))}});const V=p(B,[["__scopeId","data-v-53a0b6ce"]]),C={class:"accordion-list"},E=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",C,[s(o.$slots,"default",{},void 0,!0)]))}});const q=p(E,[["__scopeId","data-v-bdbadd5e"]]);export{V as A,q as a}; diff --git a/app/kuma-ui/pkg/resources/data/assets/AddNewServices-b022625b.js b/app/kuma-ui/pkg/resources/data/assets/AddNewServices-fb834d87.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/AddNewServices-b022625b.js rename to app/kuma-ui/pkg/resources/data/assets/AddNewServices-fb834d87.js index 77eb1aea3e69..1ee67b3c4fa6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AddNewServices-b022625b.js +++ b/app/kuma-ui/pkg/resources/data/assets/AddNewServices-fb834d87.js @@ -1,4 +1,4 @@ -import{u as b,O as x,a as w,b as S}from"./OnboardingPage-9d65ace2.js";import{d as u,o as v,j as h,U as y,x as B,q as m,L as k,f as C,g as A,w as t,h as s,i as _,C as N,l as o,m as e,A as $,_ as I,z as O,B as V}from"./index-2bbe899f.js";const z=""+new URL("new-service-demo-bff0792e.svg",import.meta.url).href,L=""+new URL("new-service-manually-5bec5301.svg",import.meta.url).href,M=u({__name:"ServiceBox",props:{active:{type:Boolean,required:!1,default:!1}},emits:["clicked"],setup(a,{emit:n}){const c=a;return(r,i)=>(v(),h("div",{class:B(["box",{"box--active":c.active}]),"data-testid":"box",onClick:i[0]||(i[0]=l=>n("clicked"))},[y(r.$slots,"default",{},void 0,!0)],2))}});const p=m(M,[["__scopeId","data-v-9846ff30"]]),f=a=>(O("data-v-70850681"),a=a(),V(),a),U={class:"service-mode-list"},q=f(()=>e("div",{class:"service-box-content"},[e("img",{src:z}),o(),e("p",{class:"service-mode-title"},` +import{u as b,O as x,a as w,b as S}from"./OnboardingPage-46f5b350.js";import{d as u,o as v,j as h,U as y,x as B,q as m,L as k,f as C,g as A,w as t,h as s,i as _,C as N,l as o,m as e,A as $,_ as I,z as O,B as V}from"./index-cf0727dc.js";const z=""+new URL("new-service-demo-bff0792e.svg",import.meta.url).href,L=""+new URL("new-service-manually-5bec5301.svg",import.meta.url).href,M=u({__name:"ServiceBox",props:{active:{type:Boolean,required:!1,default:!1}},emits:["clicked"],setup(a,{emit:n}){const c=a;return(r,i)=>(v(),h("div",{class:B(["box",{"box--active":c.active}]),"data-testid":"box",onClick:i[0]||(i[0]=l=>n("clicked"))},[y(r.$slots,"default",{},void 0,!0)],2))}});const p=m(M,[["__scopeId","data-v-9846ff30"]]),f=a=>(O("data-v-70850681"),a=a(),V(),a),U={class:"service-mode-list"},q=f(()=>e("div",{class:"service-box-content"},[e("img",{src:z}),o(),e("p",{class:"service-mode-title"},` Demo app `),o(),e("p",null,"Counter application")],-1)),R=f(()=>e("div",{class:"service-box-content"},[e("img",{src:L}),o(),e("p",{class:"service-mode-title"},` Manually diff --git a/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-d20ee21f.js b/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-ac5a36a6.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-d20ee21f.js rename to app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-ac5a36a6.js index 783340335304..a1f962f04e44 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-d20ee21f.js +++ b/app/kuma-ui/pkg/resources/data/assets/AddNewServicesCode-ac5a36a6.js @@ -1,4 +1,4 @@ -import{L as v}from"./LoadingBox-3c590a8d.js";import{O as k,a as w,b as x}from"./OnboardingPage-9d65ace2.js";import{d as y,L as A,R as N,t as m,S as C,o as s,g as T,w as a,h as t,i as I,C as L,l as e,j as c,F as P,m as n,k as D,A as O,_ as R,z as S,B,q as E}from"./index-2bbe899f.js";import{_ as p}from"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const h=d=>(S("data-v-53d3620d"),d=d(),B(),d),V=h(()=>n("p",{class:"mb-4 text-center"},` +import{L as v}from"./LoadingBox-8e342684.js";import{O as k,a as w,b as x}from"./OnboardingPage-46f5b350.js";import{d as y,L as A,R as N,t as m,S as C,o as s,g as T,w as a,h as t,i as I,C as L,l as e,j as c,F as P,m as n,k as D,A as O,_ as R,z as S,B,q as E}from"./index-cf0727dc.js";import{_ as p}from"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const h=d=>(S("data-v-53d3620d"),d=d(),B(),d),V=h(()=>n("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)),$=h(()=>n("p",null,"To run execute the following command:",-1)),q={key:1},G={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,_="https://github.com/kumahq/kuma-counter-demo/",U="https://github.com/kumahq/kuma-counter-demo/blob/master/README.md",j="kubectl apply -f https://bit.ly/3Kh2Try",z=y({__name:"AddNewServicesCode",setup(d){const{t:b}=A(),f=N(),o=m(!1),l=m(null);u(),C(function(){r()});async function u(){try{const{total:i}=await f.getAllDataplanes();o.value=i>0}catch(i){console.error(i)}finally{o.value||(r(),l.value=window.setTimeout(()=>u(),M))}}function r(){l.value!==null&&window.clearTimeout(l.value)}return(i,J)=>(s(),T(R,null,{default:a(({can:g})=>[t(L,{title:I(b)("onboarding.routes.add-services-code.title")},null,8,["title"]),e(),t(O,null,{default:a(()=>[t(k,null,{header:a(()=>[t(w,null,{title:a(()=>[e(` Add services diff --git a/app/kuma-ui/pkg/resources/data/assets/App-164e8152.js b/app/kuma-ui/pkg/resources/data/assets/App-c7a418f8.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/App-164e8152.js rename to app/kuma-ui/pkg/resources/data/assets/App-c7a418f8.js index 3c64fb4a3b3e..718f8691020d 100644 --- a/app/kuma-ui/pkg/resources/data/assets/App-164e8152.js +++ b/app/kuma-ui/pkg/resources/data/assets/App-c7a418f8.js @@ -1 +1 @@ -import{d as k,u as g,a as b,b as V,c as h,e as x,f as B,r as N,g as a,w as s,_ as w,o as e,h as o,i as t,j as r,k as p,l as i,A as C,T as O,m as R,n as T,F as j,p as q,q as z}from"./index-2bbe899f.js";const F={key:1},H={key:2,class:"app-content-container"},L={class:"transition-root"},S=k({__name:"App",props:{data:{type:Object,required:!1,default:void 0}},setup(u){const _=u,[l,m,f,v]=[g(),b(),V(),h()],n=x(),d=B(()=>n.meta.isWizard===!0);return(W,$)=>{const c=N("RouterView");return e(),a(w,null,{default:s(()=>[o(q,{src:"/control-plane/addresses"},{default:s(({data:A})=>[typeof A>"u"||t(n).name===void 0?(e(),a(t(f),{key:0})):(e(),r(j,{key:1},[d.value?p("",!0):(e(),a(t(m),{key:0})),i(),t(n).meta.onboardingProcess?(e(),r("div",F,[o(c)])):(e(),r("div",H,[d.value?p("",!0):(e(),a(t(l),{key:0})),i(),o(C,null,{default:s(()=>[d.value?p("",!0):(e(),a(t(v),{key:0})),i(),o(c,null,{default:s(({Component:y})=>[o(O,{mode:"out-in",name:"fade"},{default:s(()=>[R("div",L,[(e(),a(T(y),{data:_.data},null,8,["data"]))])]),_:2},1024)]),_:1})]),_:1})]))],64))]),_:1})]),_:1})}}});const E=z(S,[["__scopeId","data-v-6935a551"]]);export{E as default}; +import{d as k,u as g,a as b,b as V,c as h,e as x,f as B,r as N,g as a,w as s,_ as w,o as e,h as o,i as t,j as r,k as p,l as i,A as C,T as O,m as R,n as T,F as j,p as q,q as z}from"./index-cf0727dc.js";const F={key:1},H={key:2,class:"app-content-container"},L={class:"transition-root"},S=k({__name:"App",props:{data:{type:Object,required:!1,default:void 0}},setup(u){const _=u,[l,m,f,v]=[g(),b(),V(),h()],n=x(),d=B(()=>n.meta.isWizard===!0);return(W,$)=>{const c=N("RouterView");return e(),a(w,null,{default:s(()=>[o(q,{src:"/control-plane/addresses"},{default:s(({data:A})=>[typeof A>"u"||t(n).name===void 0?(e(),a(t(f),{key:0})):(e(),r(j,{key:1},[d.value?p("",!0):(e(),a(t(m),{key:0})),i(),t(n).meta.onboardingProcess?(e(),r("div",F,[o(c)])):(e(),r("div",H,[d.value?p("",!0):(e(),a(t(l),{key:0})),i(),o(C,null,{default:s(()=>[d.value?p("",!0):(e(),a(t(v),{key:0})),i(),o(c,null,{default:s(({Component:y})=>[o(O,{mode:"out-in",name:"fade"},{default:s(()=>[R("div",L,[(e(),a(T(y),{data:_.data},null,8,["data"]))])]),_:2},1024)]),_:1})]),_:1})]))],64))]),_:1})]),_:1})}}});const E=z(S,[["__scopeId","data-v-6935a551"]]);export{E as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-eb9982c8.js b/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-1b5f0d25.js similarity index 88% rename from app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-eb9982c8.js rename to app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-1b5f0d25.js index 48f7bcd3a612..60c1b1c61958 100644 --- a/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-eb9982c8.js +++ b/app/kuma-ui/pkg/resources/data/assets/AppNotFoundView-1b5f0d25.js @@ -1,4 +1,4 @@ -import{d as s,o as n,j as r,h as a,w as e,a2 as c,l as o,i as t,a1 as i,a3 as _,m as l}from"./index-2bbe899f.js";const m={class:"overview"},p=l("p",null,"Page Not Found",-1),x=s({__name:"AppNotFoundView",setup(d){return(u,f)=>(n(),r("div",m,[a(t(_),null,{title:e(()=>[a(c,{class:"mb-3"}),o(),p]),message:e(()=>[o(` +import{d as s,o as n,j as r,h as a,w as e,a2 as c,l as o,i as t,a1 as i,a3 as _,m as l}from"./index-cf0727dc.js";const m={class:"overview"},p=l("p",null,"Page Not Found",-1),x=s({__name:"AppNotFoundView",setup(d){return(u,f)=>(n(),r("div",m,[a(t(_),null,{title:e(()=>[a(c,{class:"mb-3"}),o(),p]),message:e(()=>[o(` The page or entity you were looking for does not exist. `)]),cta:e(()=>[a(t(i),{appearance:"primary",to:{name:"home"}},{default:e(()=>[o(` Go Home diff --git a/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js b/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js rename to app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js index a079f4b3741a..ae5b4cabb8ed 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js +++ b/app/kuma-ui/pkg/resources/data/assets/CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js @@ -1,4 +1,4 @@ -import{ak as Y,al as te,d as ae,t as ne,am as U,o as re,g as ie,w as se,U as oe,an as le,i as Z,ao as ue}from"./index-2bbe899f.js";var W={exports:{}};(function(f){var b=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +import{ak as Y,al as te,d as ae,t as ne,am as U,o as re,g as ie,w as se,U as oe,an as le,i as Z,ao as ue}from"./index-cf0727dc.js";var W={exports:{}};(function(f){var b=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-0bde6695.js b/app/kuma-ui/pkg/resources/data/assets/CompletedView-52156695.js similarity index 78% rename from app/kuma-ui/pkg/resources/data/assets/CompletedView-0bde6695.js rename to app/kuma-ui/pkg/resources/data/assets/CompletedView-52156695.js index 1de2e20259a8..8f8593b4d210 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CompletedView-0bde6695.js +++ b/app/kuma-ui/pkg/resources/data/assets/CompletedView-52156695.js @@ -1,3 +1,3 @@ -import{O as i,a as _,b as p}from"./OnboardingPage-9d65ace2.js";import{d as l,L as d,o as c,g as r,w as e,h as t,i as m,C as u,l as s,A as f,_ as g,z as h,B as b,m as o,q as w}from"./index-2bbe899f.js";const v=""+new URL("kuma_gui-ecebdf10.png",import.meta.url).href,x=a=>(h("data-v-f50ef4b3"),a=a(),b(),a),C=x(()=>o("div",{class:"gui-preview-image"},[o("img",{src:v})],-1)),V=l({__name:"CompletedView",setup(a){const{t:n}=d();return(I,k)=>(c(),r(g,null,{default:e(()=>[t(u,{title:m(n)("onboarding.routes.completed.title")},null,8,["title"]),s(),t(f,null,{default:e(()=>[t(i,null,{header:e(()=>[t(_,null,{title:e(()=>[s(` +import{O as i,a as _,b as p}from"./OnboardingPage-46f5b350.js";import{d as l,L as d,o as c,g as r,w as e,h as t,i as m,C as u,l as s,A as f,_ as g,z as h,B as b,m as o,q as w}from"./index-cf0727dc.js";const v=""+new URL("kuma_gui-ecebdf10.png",import.meta.url).href,x=a=>(h("data-v-f50ef4b3"),a=a(),b(),a),C=x(()=>o("div",{class:"gui-preview-image"},[o("img",{src:v})],-1)),V=l({__name:"CompletedView",setup(a){const{t:n}=d();return(I,k)=>(c(),r(g,null,{default:e(()=>[t(u,{title:m(n)("onboarding.routes.completed.title")},null,8,["title"]),s(),t(f,null,{default:e(()=>[t(i,null,{header:e(()=>[t(_,null,{title:e(()=>[s(` Go to the dashboard `)]),_:1})]),content:e(()=>[C]),navigation:e(()=>[t(p,{"next-step":"home","next-step-title":"Complete","last-step":"","show-skip":!1})]),_:1})]),_:1})]),_:1}))}});const O=w(V,[["__scopeId","data-v-f50ef4b3"]]);export{O as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-b506f674.js b/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-29d69e6c.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-b506f674.js rename to app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-29d69e6c.js index 78c85475169d..da751ac62135 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-b506f674.js +++ b/app/kuma-ui/pkg/resources/data/assets/ConfigurationTypes-29d69e6c.js @@ -1,4 +1,4 @@ -import{d as V,O as h,P as C,Q as k,L as x,t as G,f as N,o as l,g as i,w as e,h as a,i as r,C as P,l as n,p as B,j as O,m as p,n as w,N as u,F as M,k as T,A as F,_ as K,q as U}from"./index-2bbe899f.js";import{O as $,a as z,b as A}from"./OnboardingPage-9d65ace2.js";const I={class:"graph-list mb-6"},L={class:"radio-button-group"},j=V({__name:"ConfigurationTypes",setup(q){const m=h(),c=C(),_={postgres:k(),memory:c,kubernetes:m},{t:g}=x(),t=G("kubernetes"),f=d=>{t.value=d.store.type},v=N(()=>_[t.value]);return(d,o)=>(l(),i(K,null,{default:e(({can:y})=>[a(P,{title:r(g)("onboarding.routes.configuration-types.title")},null,8,["title"]),n(),a(F,null,{default:e(()=>[a($,{"with-image":""},{header:e(()=>[a(z,null,{title:e(()=>[n(` +import{d as V,O as h,P as C,Q as k,L as x,t as G,f as N,o as l,g as i,w as e,h as a,i as r,C as P,l as n,p as B,j as O,m as p,n as w,N as u,F as M,k as T,A as F,_ as K,q as U}from"./index-cf0727dc.js";import{O as $,a as z,b as A}from"./OnboardingPage-46f5b350.js";const I={class:"graph-list mb-6"},L={class:"radio-button-group"},j=V({__name:"ConfigurationTypes",setup(q){const m=h(),c=C(),_={postgres:k(),memory:c,kubernetes:m},{t:g}=x(),t=G("kubernetes"),f=d=>{t.value=d.store.type},v=N(()=>_[t.value]);return(d,o)=>(l(),i(K,null,{default:e(({can:y})=>[a(P,{title:r(g)("onboarding.routes.configuration-types.title")},null,8,["title"]),n(),a(F,null,{default:e(()=>[a($,{"with-image":""},{header:e(()=>[a(z,null,{title:e(()=>[n(` Learn about configuration storage `)]),_:1})]),content:e(()=>[a(B,{src:"/config",onChange:f},{default:e(({data:b})=>[typeof b<"u"?(l(),O(M,{key:0},[p("div",I,[(l(),i(w(v.value)))]),n(),p("div",L,[a(r(u),{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=s=>t.value=s),name:"deployment","selected-value":"kubernetes"},{default:e(()=>[n(` Kubernetes diff --git a/app/kuma-ui/pkg/resources/data/assets/CreateMesh-4f26a4e0.js b/app/kuma-ui/pkg/resources/data/assets/CreateMesh-eff97ff1.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/CreateMesh-4f26a4e0.js rename to app/kuma-ui/pkg/resources/data/assets/CreateMesh-eff97ff1.js index f4100abe9100..2a5675545001 100644 --- a/app/kuma-ui/pkg/resources/data/assets/CreateMesh-4f26a4e0.js +++ b/app/kuma-ui/pkg/resources/data/assets/CreateMesh-eff97ff1.js @@ -1,4 +1,4 @@ -import{d as p,L as u,t as _,o as m,g as b,w as e,h as a,i as n,C as h,l as t,m as o,D as f,W as g,A as v,_ as y,z as x,B as A,q as C}from"./index-2bbe899f.js";import{O as N,a as S,b as k}from"./OnboardingPage-9d65ace2.js";const l=s=>(x("data-v-b1a7b6b7"),s=s(),A(),s),B={class:"mb-4 text-center"},D=l(()=>o("i",null,"default",-1)),I=l(()=>o("p",{class:"mt-4 text-center"},` +import{d as p,L as u,t as _,o as m,g as b,w as e,h as a,i as n,C as h,l as t,m as o,D as f,W as g,A as v,_ as y,z as x,B as A,q as C}from"./index-cf0727dc.js";import{O as N,a as S,b as k}from"./OnboardingPage-46f5b350.js";const l=s=>(x("data-v-b1a7b6b7"),s=s(),A(),s),B={class:"mb-4 text-center"},D=l(()=>o("i",null,"default",-1)),I=l(()=>o("p",{class:"mt-4 text-center"},` This mesh is empty. Next, you add services and their data plane proxies. `,-1)),w=p({__name:"CreateMesh",setup(s){const r=[{label:"Name",key:"name"},{label:"Services",key:"servicesAmount"},{label:"DPPs",key:"dppsAmount"}],{t:i}=u(),c=_({total:1,data:[{name:"default",servicesAmount:0,dppsAmount:0}]});return(O,V)=>(m(),b(y,null,{default:e(({can:d})=>[a(h,{title:n(i)("onboarding.routes.create-mesh.title")},null,8,["title"]),t(),a(v,null,{default:e(()=>[a(N,null,{header:e(()=>[a(S,null,{title:e(()=>[t(` Create the mesh diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-ce652d1f.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-9478a3a1.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-ce652d1f.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-9478a3a1.js index 16d5171959d1..10d357ea4184 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-ce652d1f.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneClustersView-9478a3a1.js @@ -1 +1 @@ -import{d as r,L as o,o as d,g as u,w as t,h as e,A as c,m as i,C as p,i as s,l as m,a5 as _,_ as f}from"./index-2bbe899f.js";import{E as h}from"./EnvoyData-f1262be0.js";import{a as w}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const $=r({__name:"DataPlaneClustersView",props:{data:{}},setup(n){const a=n,{t:l}=o();return(v,y)=>(d(),u(f,{name:"data-plane-clusters-view","data-testid":"data-plane-clusters-view"},{default:t(()=>[e(c,null,{title:t(()=>[i("h2",null,[e(p,{title:s(l)("data-planes.routes.item.navigation.data-plane-clusters-view"),render:!0},null,8,["title"])])]),default:t(()=>[m(),e(s(_),null,{body:t(()=>[e(h,{status:s(w)(a.data.dataplane,a.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${a.data.mesh}/dataplanes/${a.data.name}/data-path/clusters`,"query-key":"envoy-data-clusters-data-plane"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{$ as default}; +import{d as r,L as o,o as d,g as u,w as t,h as e,A as c,m as i,C as p,i as s,l as m,a5 as _,_ as f}from"./index-cf0727dc.js";import{E as h}from"./EnvoyData-67dddbed.js";import{a as w}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const $=r({__name:"DataPlaneClustersView",props:{data:{}},setup(n){const a=n,{t:l}=o();return(v,y)=>(d(),u(f,{name:"data-plane-clusters-view","data-testid":"data-plane-clusters-view"},{default:t(()=>[e(c,null,{title:t(()=>[i("h2",null,[e(p,{title:s(l)("data-planes.routes.item.navigation.data-plane-clusters-view"),render:!0},null,8,["title"])])]),default:t(()=>[m(),e(s(_),null,{body:t(()=>[e(h,{status:s(w)(a.data.dataplane,a.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${a.data.mesh}/dataplanes/${a.data.name}/data-path/clusters`,"query-key":"envoy-data-clusters-data-plane"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{$ as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-5e401de5.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-d308b28a.js similarity index 83% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-5e401de5.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-d308b28a.js index a137e20ba371..6f95b726f073 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-5e401de5.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneConfigView-d308b28a.js @@ -1 +1 @@ -import{d as p,L as _,R as u,o as s,g as t,w as e,h as n,A as d,m as f,C as h,i as r,l as k,a5 as g,p as w,E as $,s as v,_ as V}from"./index-2bbe899f.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-535bde0f.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";import"./toYaml-4e00099e.js";const E=p({__name:"DataPlaneConfigView",setup(y){const{t:l}=_(),c=u();return(A,B)=>(s(),t(V,{name:"data-plane-config-view","data-testid":"data-plane-config-view"},{default:e(({route:o})=>[n(d,null,{title:e(()=>[f("h2",null,[n(h,{title:r(l)("data-planes.routes.item.navigation.data-plane-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[k(),n(r(g),null,{body:e(()=>[n(w,{src:`/meshes/${o.params.mesh}/dataplanes/${o.params.dataPlane}`},{default:e(({data:a,error:i})=>[i?(s(),t($,{key:0,error:i},null,8,["error"])):a===void 0?(s(),t(v,{key:1})):(s(),t(x,{key:2,id:"code-block-data-plane",resource:a,"resource-fetcher":m=>r(c).getDataplaneFromMesh({mesh:a.mesh,name:a.name},m),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1}))}});export{E as default}; +import{d as p,L as _,R as u,o as s,g as t,w as e,h as n,A as d,m as f,C as h,i as r,l as k,a5 as g,p as w,E as $,s as v,_ as V}from"./index-cf0727dc.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-7180eb37.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";import"./toYaml-4e00099e.js";const E=p({__name:"DataPlaneConfigView",setup(y){const{t:l}=_(),c=u();return(A,B)=>(s(),t(V,{name:"data-plane-config-view","data-testid":"data-plane-config-view"},{default:e(({route:o})=>[n(d,null,{title:e(()=>[f("h2",null,[n(h,{title:r(l)("data-planes.routes.item.navigation.data-plane-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[k(),n(r(g),null,{body:e(()=>[n(w,{src:`/meshes/${o.params.mesh}/dataplanes/${o.params.dataPlane}`},{default:e(({data:a,error:i})=>[i?(s(),t($,{key:0,error:i},null,8,["error"])):a===void 0?(s(),t(v,{key:1})):(s(),t(x,{key:2,id:"code-block-data-plane",resource:a,"resource-fetcher":m=>r(c).getDataplaneFromMesh({mesh:a.mesh,name:a.name},m),"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/DataPlaneDetailTabsView-87e7932c.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-c9b531e6.js similarity index 93% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-87e7932c.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-c9b531e6.js index 3b0d149fd465..97a5f6f72968 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-87e7932c.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailTabsView-c9b531e6.js @@ -1 +1 @@ -import{d as b,L as h,aa as v,r as V,o as i,g as m,w as t,h as s,A as $,i as u,m as g,ab as x,C as k,l as f,p as B,E as C,s as G,j as N,F as R,n as P,_ as T}from"./index-2bbe899f.js";import{N as D}from"./NavTabs-d30389b8.js";const q=b({__name:"DataPlaneDetailTabsView",props:{isGatewayView:{type:Boolean,required:!1,default:!1}},setup(_){var w;const n=_,{t:d}=h(),y=(((w=v().getRoutes().find(e=>e.name===`${n.isGatewayView?"gateway":"data-plane"}-detail-tabs-view`))==null?void 0:w.children)??[]).map(e=>{var l,o;const c=typeof e.name>"u"?(l=e.children)==null?void 0:l[0]:e,r=c.name,a=((o=c.meta)==null?void 0:o.module)??"";return{title:d(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.navigation.${r}`),routeName:r,module:a}});return(e,c)=>{const r=V("RouterView");return i(),m(T,{name:"data-plane-detail-tabs-view","data-testid":"data-plane-detail-tabs-view"},{default:t(({route:a})=>[s($,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:a.params.mesh}},text:a.params.mesh},{to:{name:`${n.isGatewayView?"gateways":"data-planes"}-list-view`,params:{mesh:a.params.mesh}},text:u(d)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.breadcrumbs`)}]},{title:t(()=>[g("h1",null,[s(x,{text:a.params.dataPlane},{default:t(()=>[s(k,{title:u(d)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.title`,{name:a.params.dataPlane}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[f(),s(B,{src:`/meshes/${a.params.mesh}/dataplane-overviews/${a.params.dataPlane}`},{default:t(({data:p,error:l})=>[l?(i(),m(C,{key:0,error:l},null,8,["error"])):p===void 0?(i(),m(G,{key:1})):(i(),N(R,{key:2},[s(D,{class:"route-data-plane-view-tabs",tabs:u(y)},null,8,["tabs"]),f(),s(r,null,{default:t(o=>[(i(),m(P(o.Component),{data:p},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{q as default}; +import{d as b,L as h,aa as v,r as V,o as i,g as m,w as t,h as s,A as $,i as u,m as g,ab as x,C as k,l as f,p as B,E as C,s as G,j as N,F as R,n as P,_ as T}from"./index-cf0727dc.js";import{N as D}from"./NavTabs-048398ef.js";const q=b({__name:"DataPlaneDetailTabsView",props:{isGatewayView:{type:Boolean,required:!1,default:!1}},setup(_){var w;const n=_,{t:d}=h(),y=(((w=v().getRoutes().find(e=>e.name===`${n.isGatewayView?"gateway":"data-plane"}-detail-tabs-view`))==null?void 0:w.children)??[]).map(e=>{var l,o;const c=typeof e.name>"u"?(l=e.children)==null?void 0:l[0]:e,r=c.name,a=((o=c.meta)==null?void 0:o.module)??"";return{title:d(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.navigation.${r}`),routeName:r,module:a}});return(e,c)=>{const r=V("RouterView");return i(),m(T,{name:"data-plane-detail-tabs-view","data-testid":"data-plane-detail-tabs-view"},{default:t(({route:a})=>[s($,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:a.params.mesh}},text:a.params.mesh},{to:{name:`${n.isGatewayView?"gateways":"data-planes"}-list-view`,params:{mesh:a.params.mesh}},text:u(d)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.breadcrumbs`)}]},{title:t(()=>[g("h1",null,[s(x,{text:a.params.dataPlane},{default:t(()=>[s(k,{title:u(d)(`${n.isGatewayView?"gateways":"data-planes"}.routes.item.title`,{name:a.params.dataPlane}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[f(),s(B,{src:`/meshes/${a.params.mesh}/dataplane-overviews/${a.params.dataPlane}`},{default:t(({data:p,error:l})=>[l?(i(),m(C,{key:0,error:l},null,8,["error"])):p===void 0?(i(),m(G,{key:1})):(i(),N(R,{key:2},[s(D,{class:"route-data-plane-view-tabs",tabs:u(y)},null,8,["tabs"]),f(),s(r,null,{default:t(o=>[(i(),m(P(o.Component),{data:p},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{q as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-9298105f.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-69e51d9f.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-9298105f.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-69e51d9f.js index c4955a51d29b..65265b615355 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-9298105f.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneDetailView-69e51d9f.js @@ -1,2 +1,2 @@ -import{d as x,L as R,M as V,f as _,ad as B,o,j as h,g as d,k,l as a,h as l,w as t,m as p,ae as u,D as n,i as e,Y as S,af as L,H as z,K,F as N,a5 as w,ag as $,q as j,A as F,_ as U}from"./index-2bbe899f.js";import{_ as Z}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-30c5086e.js";import{T as A}from"./TagList-1860ca31.js";import{_ as q}from"./WarningsWidget.vue_vue_type_script_setup_true_lang-378e113d.js";import{a as G,d as P,b as W,p as H,c as J,C as Y,I as Q,e as X}from"./dataplane-30467516.js";import"./AccordionList-2acfc916.js";const aa={class:"stack"},ea={class:"columns",style:{"--columns":"3"}},ta={class:"status-with-reason"},sa=["href"],na={class:"columns",style:{"--columns":"3"}},la={key:1},ia=x({__name:"DataPlaneDetails",props:{dataplaneOverview:{type:Object,required:!0}},setup(y){const i=y,{t:s,formatIsoDate:D}=R(),E=V(),b=_(()=>G(i.dataplaneOverview.dataplane,i.dataplaneOverview.dataplaneInsight)),O=_(()=>P(i.dataplaneOverview.dataplane)),C=_(()=>W(i.dataplaneOverview.dataplaneInsight)),m=_(()=>H(i.dataplaneOverview,D)),I=_(()=>{var T;const v=((T=i.dataplaneOverview.dataplaneInsight)==null?void 0:T.subscriptions)??[];if(v.length===0)return[];const g=v[v.length-1];if(!("version"in g)||!g.version)return[];const c=[],r=g.version;if(r.kumaDp&&r.envoy){const f=J(r);f.kind!==Y&&f.kind!==Q&&c.push(f)}return E("use zones")&&P(i.dataplaneOverview.dataplane).find(M=>M.label===B)&&typeof r.kumaDp.kumaCpCompatible=="boolean"&&!r.kumaDp.kumaCpCompatible&&c.push({kind:X,payload:{kumaDp:r.kumaDp.version}}),c});return(v,g)=>{var c;return o(),h("div",aa,[I.value.length>0?(o(),d(q,{key:0,warnings:I.value,"data-testid":"data-plane-warnings"},null,8,["warnings"])):k("",!0),a(),l(e(w),null,{body:t(()=>[p("div",ea,[l(u,null,{title:t(()=>[a(n(e(s)("http.api.property.status")),1)]),body:t(()=>[p("div",ta,[l(S,{status:b.value.status},null,8,["status"]),a(),b.value.reason.length>0?(o(),d(e(L),{key:0,label:b.value.reason.join(", "),class:"reason-tooltip"},{default:t(()=>[l(e(z),{icon:"info",size:e(K),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):k("",!0)])]),_:1}),a(),l(u,null,{title:t(()=>[a(n(e(s)("http.api.property.tags")),1)]),body:t(()=>[O.value.length>0?(o(),d(A,{key:0,tags:O.value},null,8,["tags"])):(o(),h(N,{key:1},[a(n(e(s)("common.detail.none")),1)],64))]),_:1}),a(),l(u,null,{title:t(()=>[a(n(e(s)("http.api.property.dependencies")),1)]),body:t(()=>[C.value!==null?(o(),d(A,{key:0,tags:C.value},null,8,["tags"])):(o(),h(N,{key:1},[a(n(e(s)("common.detail.none")),1)],64))]),_:1})])]),_:1}),a(),p("div",null,[p("h2",null,n(e(s)("data-planes.detail.mtls")),1),a(),m.value===null?(o(),d(e($),{key:0,class:"mt-4",appearance:"warning"},{alertMessage:t(()=>[a(n(e(s)("data-planes.detail.no_mtls"))+` — +import{d as x,L as R,M as V,f as _,ad as B,o,j as h,g as d,k,l as a,h as l,w as t,m as p,ae as u,D as n,i as e,Y as S,af as L,H as z,K,F as N,a5 as w,ag as $,q as j,A as F,_ as U}from"./index-cf0727dc.js";import{_ as Z}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-bbc2cd69.js";import{T as A}from"./TagList-ae0077fe.js";import{_ as q}from"./WarningsWidget.vue_vue_type_script_setup_true_lang-fd55fc1c.js";import{a as G,d as P,b as W,p as H,c as J,C as Y,I as Q,e as X}from"./dataplane-30467516.js";import"./AccordionList-6ce6736a.js";const aa={class:"stack"},ea={class:"columns",style:{"--columns":"3"}},ta={class:"status-with-reason"},sa=["href"],na={class:"columns",style:{"--columns":"3"}},la={key:1},ia=x({__name:"DataPlaneDetails",props:{dataplaneOverview:{type:Object,required:!0}},setup(y){const i=y,{t:s,formatIsoDate:D}=R(),E=V(),b=_(()=>G(i.dataplaneOverview.dataplane,i.dataplaneOverview.dataplaneInsight)),O=_(()=>P(i.dataplaneOverview.dataplane)),C=_(()=>W(i.dataplaneOverview.dataplaneInsight)),m=_(()=>H(i.dataplaneOverview,D)),I=_(()=>{var T;const v=((T=i.dataplaneOverview.dataplaneInsight)==null?void 0:T.subscriptions)??[];if(v.length===0)return[];const g=v[v.length-1];if(!("version"in g)||!g.version)return[];const c=[],r=g.version;if(r.kumaDp&&r.envoy){const f=J(r);f.kind!==Y&&f.kind!==Q&&c.push(f)}return E("use zones")&&P(i.dataplaneOverview.dataplane).find(M=>M.label===B)&&typeof r.kumaDp.kumaCpCompatible=="boolean"&&!r.kumaDp.kumaCpCompatible&&c.push({kind:X,payload:{kumaDp:r.kumaDp.version}}),c});return(v,g)=>{var c;return o(),h("div",aa,[I.value.length>0?(o(),d(q,{key:0,warnings:I.value,"data-testid":"data-plane-warnings"},null,8,["warnings"])):k("",!0),a(),l(e(w),null,{body:t(()=>[p("div",ea,[l(u,null,{title:t(()=>[a(n(e(s)("http.api.property.status")),1)]),body:t(()=>[p("div",ta,[l(S,{status:b.value.status},null,8,["status"]),a(),b.value.reason.length>0?(o(),d(e(L),{key:0,label:b.value.reason.join(", "),class:"reason-tooltip"},{default:t(()=>[l(e(z),{icon:"info",size:e(K),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):k("",!0)])]),_:1}),a(),l(u,null,{title:t(()=>[a(n(e(s)("http.api.property.tags")),1)]),body:t(()=>[O.value.length>0?(o(),d(A,{key:0,tags:O.value},null,8,["tags"])):(o(),h(N,{key:1},[a(n(e(s)("common.detail.none")),1)],64))]),_:1}),a(),l(u,null,{title:t(()=>[a(n(e(s)("http.api.property.dependencies")),1)]),body:t(()=>[C.value!==null?(o(),d(A,{key:0,tags:C.value},null,8,["tags"])):(o(),h(N,{key:1},[a(n(e(s)("common.detail.none")),1)],64))]),_:1})])]),_:1}),a(),p("div",null,[p("h2",null,n(e(s)("data-planes.detail.mtls")),1),a(),m.value===null?(o(),d(e($),{key:0,class:"mt-4",appearance:"warning"},{alertMessage:t(()=>[a(n(e(s)("data-planes.detail.no_mtls"))+` — `,1),p("a",{href:e(s)("data-planes.href.docs.mutual-tls"),class:"external-link",target:"_blank"},n(e(s)("data-planes.detail.no_mtls_learn_more",{product:e(s)("common.product.name")})),9,sa)]),_:1})):(o(),d(e(w),{key:1,class:"mt-4"},{body:t(()=>[p("div",na,[l(u,null,{title:t(()=>[a(n(e(s)("http.api.property.certificateExpirationTime")),1)]),body:t(()=>[a(n(m.value.certificateExpirationTime),1)]),_:1}),a(),l(u,null,{title:t(()=>[a(n(e(s)("http.api.property.lastCertificateRegeneration")),1)]),body:t(()=>[a(n(m.value.lastCertificateRegeneration),1)]),_:1}),a(),l(u,null,{title:t(()=>[a(n(e(s)("http.api.property.certificateRegenerations")),1)]),body:t(()=>[a(n(m.value.certificateRegenerations),1)]),_:1})])]),_:1}))]),a(),(((c=i.dataplaneOverview.dataplaneInsight)==null?void 0:c.subscriptions)??[]).length>0?(o(),h("div",la,[p("h2",null,n(e(s)("data-planes.detail.subscriptions")),1),a(),l(e(w),{class:"mt-4"},{body:t(()=>{var r;return[l(Z,{subscriptions:((r=i.dataplaneOverview.dataplaneInsight)==null?void 0:r.subscriptions)??[]},null,8,["subscriptions"])]}),_:1})])):k("",!0)])}}});const oa=j(ia,[["__scopeId","data-v-e0adad19"]]),va=x({__name:"DataPlaneDetailView",props:{data:{}},setup(y){const i=y;return(s,D)=>(o(),d(U,{name:"data-plane-detail-view","data-testid":"data-plane-detail-view"},{default:t(()=>[l(F,null,{default:t(()=>[l(oa,{"dataplane-overview":i.data,"data-testid":"detail-view-details"},null,8,["dataplane-overview"])]),_:1})]),_:1}))}});export{va as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-31a5f3e1.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-414160e2.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-31a5f3e1.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-414160e2.js index b8b495a34065..46abf55ee716 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-31a5f3e1.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneListView-414160e2.js @@ -1 +1 @@ -import{d as m,L as g,o as n,g as r,w as s,h as i,p as f,A as h,m as y,C as z,i as p,l as b,a5 as k,E as q,_ as v,q as w}from"./index-2bbe899f.js";import{D as C,K as V}from"./KFilterBar-cf6a2e5a.js";import"./dataplane-30467516.js";const $=m({__name:"DataPlaneListView",props:{page:{},size:{},search:{},query:{},mesh:{}},setup(c){const e=c,{t:u}=g();return(d,x)=>(n(),r(v,{name:"data-planes-list-view"},{default:s(({route:o})=>[i(f,{src:`/meshes/${e.mesh}/dataplanes?page=${e.page}&size=${d.size}&search=${e.search}`},{default:s(({data:a,error:l})=>[i(h,null,{title:s(()=>[y("h2",null,[i(z,{title:p(u)("data-planes.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[b(),i(p(k),null,{body:s(()=>[l!==void 0?(n(),r(q,{key:0,error:l},null,8,["error"])):(n(),r(C,{key:1,"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":e.page,"page-size":e.size,total:a==null?void 0:a.total,items:a==null?void 0:a.items,error:l,onChange:({page:t,size:_})=>{o.update({page:String(t),size:String(_)})}},{toolbar:s(()=>[i(V,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:e.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=>o.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","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:1}))}});const N=w($,[["__scopeId","data-v-ed46ed4e"]]);export{N as default}; +import{d as m,L as g,o as n,g as r,w as s,h as i,p as f,A as h,m as y,C as z,i as p,l as b,a5 as k,E as q,_ as v,q as w}from"./index-cf0727dc.js";import{D as C,K as V}from"./KFilterBar-aaf33272.js";import"./dataplane-30467516.js";const $=m({__name:"DataPlaneListView",props:{page:{},size:{},search:{},query:{},mesh:{}},setup(c){const e=c,{t:u}=g();return(d,x)=>(n(),r(v,{name:"data-planes-list-view"},{default:s(({route:o})=>[i(f,{src:`/meshes/${e.mesh}/dataplanes?page=${e.page}&size=${d.size}&search=${e.search}`},{default:s(({data:a,error:l})=>[i(h,null,{title:s(()=>[y("h2",null,[i(z,{title:p(u)("data-planes.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[b(),i(p(k),null,{body:s(()=>[l!==void 0?(n(),r(q,{key:0,error:l},null,8,["error"])):(n(),r(C,{key:1,"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":e.page,"page-size":e.size,total:a==null?void 0:a.total,items:a==null?void 0:a.items,error:l,onChange:({page:t,size:_})=>{o.update({page:String(t),size:String(_)})}},{toolbar:s(()=>[i(V,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:e.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=>o.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","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:1}))}});const N=w($,[["__scopeId","data-v-ed46ed4e"]]);export{N as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-c516bd61.js b/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-1b0c4b6a.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-c516bd61.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-1b0c4b6a.js index f7ac863f940b..d12725f3a56e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-c516bd61.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlanePoliciesView-1b0c4b6a.js @@ -1,4 +1,4 @@ -import{d as x,r as M,o as t,g as d,w as i,j as a,F as y,G as B,m as $,h as u,l,D as v,i as N,W,q as w,k as q,f as I,L as K,A as Q,C as U,a5 as X,p as S,E as D,s as Z,_ as V}from"./index-2bbe899f.js";import{A as G,a as J}from"./AccordionList-2acfc916.js";import{_ as Y}from"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";import{P as z}from"./PolicyTypeTag-2f81a718.js";import{T as j}from"./TagList-1860ca31.js";import{t as H}from"./toYaml-4e00099e.js";const ee={class:"policy-type-heading"},te={class:"policy-list"},se={key:0},ne=x({__name:"PolicyTypeEntryList",props:{id:{type:String,required:!1,default:"entry-list"},policyTypeEntries:{type:Object,required:!0}},setup(E){const _=E,P=[{label:"From",key:"sourceTags"},{label:"To",key:"destinationTags"},{label:"On",key:"name"},{label:"Conf",key:"config"},{label:"Origin policies",key:"origins"}];function T({headerKey:m}){return{class:`cell-${m}`}}return(m,C)=>{const b=M("router-link");return t(),d(J,{"initially-open":[],"multiple-open":""},{default:i(()=>[(t(!0),a(y,null,B(_.policyTypeEntries,(r,n)=>(t(),d(G,{key:n},{"accordion-header":i(()=>[$("h3",ee,[u(z,{"policy-type":r.type},{default:i(()=>[l(v(r.type)+" ("+v(r.connections.length)+`) +import{d as x,r as M,o as t,g as d,w as i,j as a,F as y,G as B,m as $,h as u,l,D as v,i as N,W,q as w,k as q,f as I,L as K,A as Q,C as U,a5 as X,p as S,E as D,s as Z,_ as V}from"./index-cf0727dc.js";import{A as G,a as J}from"./AccordionList-6ce6736a.js";import{_ as Y}from"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";import{P as z}from"./PolicyTypeTag-b78066df.js";import{T as j}from"./TagList-ae0077fe.js";import{t as H}from"./toYaml-4e00099e.js";const ee={class:"policy-type-heading"},te={class:"policy-list"},se={key:0},ne=x({__name:"PolicyTypeEntryList",props:{id:{type:String,required:!1,default:"entry-list"},policyTypeEntries:{type:Object,required:!0}},setup(E){const _=E,P=[{label:"From",key:"sourceTags"},{label:"To",key:"destinationTags"},{label:"On",key:"name"},{label:"Conf",key:"config"},{label:"Origin policies",key:"origins"}];function T({headerKey:m}){return{class:`cell-${m}`}}return(m,C)=>{const b=M("router-link");return t(),d(J,{"initially-open":[],"multiple-open":""},{default:i(()=>[(t(!0),a(y,null,B(_.policyTypeEntries,(r,n)=>(t(),d(G,{key:n},{"accordion-header":i(()=>[$("h3",ee,[u(z,{"policy-type":r.type},{default:i(()=>[l(v(r.type)+" ("+v(r.connections.length)+`) `,1)]),_:2},1032,["policy-type"])])]),"accordion-content":i(()=>[$("div",te,[u(N(W),{class:"policy-type-table",fetcher:()=>({data:r.connections,total:r.connections.length}),headers:P,"cell-attrs":T,"disable-pagination":"","is-clickable":""},{sourceTags:i(({rowValue:e})=>[e.length>0?(t(),d(j,{key:0,class:"tag-list",tags:e},null,8,["tags"])):(t(),a(y,{key:1},[l(` — `)],64))]),destinationTags:i(({rowValue:e})=>[e.length>0?(t(),d(j,{key:0,class:"tag-list",tags:e},null,8,["tags"])):(t(),a(y,{key:1},[l(` diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-1caac936.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-644e0d60.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-1caac936.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-644e0d60.js index c3705fbcf416..19acd44bcaa4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-1caac936.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneStatsView-644e0d60.js @@ -1 +1 @@ -import{d as l,L as r,o as d,g as i,w as t,h as e,A as p,m as u,C as c,i as s,l as m,a5 as _,_ as f}from"./index-2bbe899f.js";import{E as h}from"./EnvoyData-f1262be0.js";import{a as w}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const k=l({__name:"DataPlaneStatsView",props:{data:{}},setup(n){const a=n,{t:o}=r();return(v,y)=>(d(),i(f,{name:"data-plane-stats-view","data-testid":"data-plane-stats-view"},{default:t(()=>[e(p,null,{title:t(()=>[u("h2",null,[e(c,{title:s(o)("data-planes.routes.item.navigation.data-plane-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[m(),e(s(_),null,{body:t(()=>[e(h,{status:s(w)(a.data.dataplane,a.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${a.data.mesh}/dataplanes/${a.data.name}/data-path/stats`,"query-key":"envoy-data-stats-data-plane"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{k as default}; +import{d as l,L as r,o as d,g as i,w as t,h as e,A as p,m as u,C as c,i as s,l as m,a5 as _,_ as f}from"./index-cf0727dc.js";import{E as h}from"./EnvoyData-67dddbed.js";import{a as w}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const k=l({__name:"DataPlaneStatsView",props:{data:{}},setup(n){const a=n,{t:o}=r();return(v,y)=>(d(),i(f,{name:"data-plane-stats-view","data-testid":"data-plane-stats-view"},{default:t(()=>[e(p,null,{title:t(()=>[u("h2",null,[e(c,{title:s(o)("data-planes.routes.item.navigation.data-plane-stats-view"),render:!0},null,8,["title"])])]),default:t(()=>[m(),e(s(_),null,{body:t(()=>[e(h,{status:s(w)(a.data.dataplane,a.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${a.data.mesh}/dataplanes/${a.data.name}/data-path/stats`,"query-key":"envoy-data-stats-data-plane"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{k as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-17755515.js b/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-5e5689d2.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-17755515.js rename to app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-5e5689d2.js index bd6f32464a18..4e40d32f4b97 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-17755515.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataPlaneXdsConfigView-5e5689d2.js @@ -1 +1 @@ -import{d as o,L as l,o as r,g as i,w as t,h as e,A as p,m as c,C as u,i as s,l as m,a5 as f,_}from"./index-2bbe899f.js";import{E as x}from"./EnvoyData-f1262be0.js";import{a as g}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const $=o({__name:"DataPlaneXdsConfigView",props:{data:{}},setup(n){const a=n,{t:d}=l();return(h,w)=>(r(),i(_,{name:"data-plane-xds-config-view","data-testid":"data-plane-xds-config-view"},{default:t(()=>[e(p,null,{title:t(()=>[c("h2",null,[e(u,{title:s(d)("data-planes.routes.item.navigation.data-plane-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[m(),e(s(f),null,{body:t(()=>[e(x,{status:s(g)(a.data.dataplane,a.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${a.data.mesh}/dataplanes/${a.data.name}/data-path/xds`,"query-key":"envoy-data-xds-data-plane"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{$ as default}; +import{d as o,L as l,o as r,g as i,w as t,h as e,A as p,m as c,C as u,i as s,l as m,a5 as f,_}from"./index-cf0727dc.js";import{E as x}from"./EnvoyData-67dddbed.js";import{a as g}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const $=o({__name:"DataPlaneXdsConfigView",props:{data:{}},setup(n){const a=n,{t:d}=l();return(h,w)=>(r(),i(_,{name:"data-plane-xds-config-view","data-testid":"data-plane-xds-config-view"},{default:t(()=>[e(p,null,{title:t(()=>[c("h2",null,[e(u,{title:s(d)("data-planes.routes.item.navigation.data-plane-xds-config-view"),render:!0},null,8,["title"])])]),default:t(()=>[m(),e(s(f),null,{body:t(()=>[e(x,{status:s(g)(a.data.dataplane,a.data.dataplaneInsight).status,resource:"Data Plane Proxy",src:`/meshes/${a.data.mesh}/dataplanes/${a.data.name}/data-path/xds`,"query-key":"envoy-data-xds-data-plane"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{$ as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-25d7632d.js b/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-1b43a989.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-25d7632d.js rename to app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-1b43a989.js index c822b739d044..2bb815eab3fc 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-25d7632d.js +++ b/app/kuma-ui/pkg/resources/data/assets/DataplanesOverview-1b43a989.js @@ -1,3 +1,3 @@ -import{d as B,R as S,L as N,t as b,f as w,V as T,o as n,g as y,w as a,h as s,i as D,C as F,l as r,X as I,m as l,D as c,j as d,W as E,Y as L,F as V,A as C,_ as R,q as W}from"./index-2bbe899f.js";import{L as H}from"./LoadingBox-3c590a8d.js";import{O as M,a as $,b as j}from"./OnboardingPage-9d65ace2.js";import{g as q}from"./dataplane-30467516.js";const z={key:0,class:"status-loading-box mb-4"},K={key:1},U={class:"mb-4"},X=B({__name:"DataplanesOverview",setup(Y){const p=S(),{t:k}=N(),x=[{label:"Mesh",key:"mesh"},{label:"Name",key:"name"},{label:"Status",key:"status"}],e=b({total:0,data:[]}),o=b(null),A=w(()=>e.value.data.length>0?"Success":"Waiting for DPPs"),m=w(()=>e.value.data.length>0?"The following data plane proxies (DPPs) are connected to the control plane:":null);T(function(){_()}),v();function _(){o.value!==null&&window.clearTimeout(o.value)}async function v(){let i=!1;const u=[];try{const{items:t}=await p.getAllDataplanes({size:10});if(Array.isArray(t))for(const O of t){const{name:f,mesh:g}=O,P=await p.getDataplaneOverviewFromMesh({mesh:g,name:f}),h=q(P.dataplaneInsight);h==="offline"&&(i=!0),u.push({status:h,name:f,mesh:g})}}catch(t){console.error(t)}e.value.data=u,e.value.total=e.value.data.length,i&&(_(),o.value=window.setTimeout(v,1e3))}return(i,u)=>(n(),y(R,null,{default:a(()=>[s(F,{title:D(k)("onboarding.routes.dataplanes-overview.title")},null,8,["title"]),r(),s(C,null,{default:a(()=>[s(M,null,{header:a(()=>[s($,null,I({title:a(()=>[l("p",null,c(A.value),1)]),_:2},[m.value!==null?{name:"description",fn:a(()=>[l("p",null,c(m.value),1)]),key:"0"}:void 0]),1024)]),content:a(()=>[e.value.data.length===0?(n(),d("div",z,[s(H)])):(n(),d("div",K,[l("p",U,[l("b",null,"Found "+c(e.value.data.length)+" DPPs:",1)]),r(),s(D(E),{class:"mb-4",fetcher:()=>e.value,headers:x,"disable-pagination":""},{status:a(({rowValue:t})=>[t?(n(),y(L,{key:0,status:t},null,8,["status"])):(n(),d(V,{key:1},[r(` +import{d as B,R as S,L as N,t as b,f as w,V as T,o as n,g as y,w as a,h as s,i as D,C as F,l as r,X as I,m as l,D as c,j as d,W as E,Y as L,F as V,A as C,_ as R,q as W}from"./index-cf0727dc.js";import{L as H}from"./LoadingBox-8e342684.js";import{O as M,a as $,b as j}from"./OnboardingPage-46f5b350.js";import{g as q}from"./dataplane-30467516.js";const z={key:0,class:"status-loading-box mb-4"},K={key:1},U={class:"mb-4"},X=B({__name:"DataplanesOverview",setup(Y){const p=S(),{t:k}=N(),x=[{label:"Mesh",key:"mesh"},{label:"Name",key:"name"},{label:"Status",key:"status"}],e=b({total:0,data:[]}),o=b(null),A=w(()=>e.value.data.length>0?"Success":"Waiting for DPPs"),m=w(()=>e.value.data.length>0?"The following data plane proxies (DPPs) are connected to the control plane:":null);T(function(){_()}),v();function _(){o.value!==null&&window.clearTimeout(o.value)}async function v(){let i=!1;const u=[];try{const{items:t}=await p.getAllDataplanes({size:10});if(Array.isArray(t))for(const O of t){const{name:f,mesh:g}=O,P=await p.getDataplaneOverviewFromMesh({mesh:g,name:f}),h=q(P.dataplaneInsight);h==="offline"&&(i=!0),u.push({status:h,name:f,mesh:g})}}catch(t){console.error(t)}e.value.data=u,e.value.total=e.value.data.length,i&&(_(),o.value=window.setTimeout(v,1e3))}return(i,u)=>(n(),y(R,null,{default:a(()=>[s(F,{title:D(k)("onboarding.routes.dataplanes-overview.title")},null,8,["title"]),r(),s(C,null,{default:a(()=>[s(M,null,{header:a(()=>[s($,null,I({title:a(()=>[l("p",null,c(A.value),1)]),_:2},[m.value!==null?{name:"description",fn:a(()=>[l("p",null,c(m.value),1)]),key:"0"}:void 0]),1024)]),content:a(()=>[e.value.data.length===0?(n(),d("div",z,[s(H)])):(n(),d("div",K,[l("p",U,[l("b",null,"Found "+c(e.value.data.length)+" DPPs:",1)]),r(),s(D(E),{class:"mb-4",fetcher:()=>e.value,headers:x,"disable-pagination":""},{status:a(({rowValue:t})=>[t?(n(),y(L,{key:0,status:t},null,8,["status"])):(n(),d(V,{key:1},[r(` — `)],64))]),_:1},8,["fetcher"])]))]),navigation:a(()=>[s(j,{"next-step":"onboarding-completed","previous-step":"onboarding-add-services-code","should-allow-next":e.value.data.length>0},null,8,["should-allow-next"])]),_:1})]),_:1})]),_:1}))}});const ee=W(X,[["__scopeId","data-v-4588fbe4"]]);export{ee as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-e80620d8.js b/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-7fbcd872.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-e80620d8.js rename to app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-7fbcd872.js index b2f97869ac47..128dd1365b88 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-e80620d8.js +++ b/app/kuma-ui/pkg/resources/data/assets/DeploymentTypes-7fbcd872.js @@ -1,4 +1,4 @@ -import{d as g,I as v,J as y,L as f,M as h,t as V,f as z,o as u,g as p,w as e,h as n,i as s,C as x,l as a,m as d,D as C,n as D,N as r,A as G,_ as w,q as M}from"./index-2bbe899f.js";import{O as N,a as S,b as B}from"./OnboardingPage-9d65ace2.js";const O={class:"graph-list mb-6"},T={class:"radio-button-group"},I=g({__name:"DeploymentTypes",setup(k){const m=v(),c={standalone:y(),"multi-zone":m},{t:i}=f(),_=h(),o=V(_("use zones")?"multi-zone":"standalone"),b=z(()=>c[o.value]);return(L,t)=>(u(),p(w,null,{default:e(()=>[n(x,{title:s(i)("onboarding.routes.deployment-types.title")},null,8,["title"]),a(),n(G,null,{default:e(()=>[n(N,{"with-image":""},{header:e(()=>[n(S,null,{title:e(()=>[a(` +import{d as g,I as v,J as y,L as f,M as h,t as V,f as z,o as u,g as p,w as e,h as n,i as s,C as x,l as a,m as d,D as C,n as D,N as r,A as G,_ as w,q as M}from"./index-cf0727dc.js";import{O as N,a as S,b as B}from"./OnboardingPage-46f5b350.js";const O={class:"graph-list mb-6"},T={class:"radio-button-group"},I=g({__name:"DeploymentTypes",setup(k){const m=v(),c={standalone:y(),"multi-zone":m},{t:i}=f(),_=h(),o=V(_("use zones")?"multi-zone":"standalone"),b=z(()=>c[o.value]);return(L,t)=>(u(),p(w,null,{default:e(()=>[n(x,{title:s(i)("onboarding.routes.deployment-types.title")},null,8,["title"]),a(),n(G,null,{default:e(()=>[n(N,{"with-image":""},{header:e(()=>[n(S,null,{title:e(()=>[a(` Learn about deployments `)]),description:e(()=>[d("p",null,C(s(i)("common.product.name"))+" can be deployed in standalone or multi-zone mode.",1)]),_:1})]),content:e(()=>[d("div",O,[(u(),p(D(b.value)))]),a(),d("div",T,[n(s(r),{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=l=>o.value=l),name:"mode","selected-value":"standalone","data-testid":"onboarding-standalone-radio-button"},{default:e(()=>[a(` Standalone deployment diff --git a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-69df70ce.js b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-12b69980.js similarity index 81% rename from app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-69df70ce.js rename to app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-12b69980.js index 718988c3cc42..c7f1690caf96 100644 --- a/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-69df70ce.js +++ b/app/kuma-ui/pkg/resources/data/assets/DiagnosticsView-12b69980.js @@ -1 +1 @@ -import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";import{d as p,r as e,o,g as s,w as t,h as a,m as g,l as f,E as b,s as k}from"./index-2bbe899f.js";const C=p({__name:"DiagnosticsView",setup(V){return(w,y)=>{const r=e("RouteTitle"),l=e("KCard"),d=e("AppView"),u=e("DataSource"),_=e("RouteView");return o(),s(_,{name:"diagnostics"},{default:t(({t:n})=>[a(u,{src:"/config"},{default:t(({data:c,error:i})=>[a(d,{breadcrumbs:[{to:{name:"diagnostics"},text:n("diagnostics.routes.item.breadcrumbs")}]},{title:t(()=>[g("h1",null,[a(r,{title:n("diagnostics.routes.item.title"),render:!0},null,8,["title"])])]),default:t(()=>[f(),a(l,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{C as default}; +import{_ as m}from"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";import{d as p,r as e,o,g as s,w as t,h as a,m as g,l as f,E as b,s as k}from"./index-cf0727dc.js";const C=p({__name:"DiagnosticsView",setup(V){return(w,y)=>{const r=e("RouteTitle"),l=e("KCard"),d=e("AppView"),u=e("DataSource"),_=e("RouteView");return o(),s(_,{name:"diagnostics"},{default:t(({t:n})=>[a(u,{src:"/config"},{default:t(({data:c,error:i})=>[a(d,{breadcrumbs:[{to:{name:"diagnostics"},text:n("diagnostics.routes.item.breadcrumbs")}]},{title:t(()=>[g("h1",null,[a(r,{title:n("diagnostics.routes.item.title"),render:!0},null,8,["title"])])]),default:t(()=>[f(),a(l,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{C as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/EnvoyData-f1262be0.js b/app/kuma-ui/pkg/resources/data/assets/EnvoyData-67dddbed.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/EnvoyData-f1262be0.js rename to app/kuma-ui/pkg/resources/data/assets/EnvoyData-67dddbed.js index 266c1240ca60..6f5eddd5d8d3 100644 --- a/app/kuma-ui/pkg/resources/data/assets/EnvoyData-f1262be0.js +++ b/app/kuma-ui/pkg/resources/data/assets/EnvoyData-67dddbed.js @@ -1,3 +1,3 @@ -import{d as p,L as f,o as e,j as c,g as s,w as t,m as i,D as m,i as n,ag as k,E as g,s as v,au as q,F as h,h as _,a1 as x,l as u,p as E,q as S}from"./index-2bbe899f.js";import{_ as b}from"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const B={class:"envoy-data-actions"},D=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(y){const r=y,{t:l}=f();return(C,N)=>(e(),c("div",null,[r.status!=="online"?(e(),s(n(k),{key:0,appearance:"info"},{alertMessage:t(()=>[i("p",null,m(n(l)("common.detail.no_envoy_data",{resource:r.resource})),1)]),_:1})):(e(),s(E,{key:1,src:r.src},{default:t(({data:a,error:o,refresh:d})=>[o?(e(),s(g,{key:0,error:o},null,8,["error"])):a===void 0?(e(),s(v,{key:1})):a===""?(e(),s(q,{key:2})):(e(),c(h,{key:3},[i("div",B,[_(n(x),{appearance:"primary",icon:"redo","data-testid":"envoy-data-refresh-button",onClick:d},{default:t(()=>[u(` +import{d as p,L as f,o as e,j as c,g as s,w as t,m as i,D as m,i as n,ag as k,E as g,s as v,au as q,F as h,h as _,a1 as x,l as u,p as E,q as S}from"./index-cf0727dc.js";import{_ as b}from"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const B={class:"envoy-data-actions"},D=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(y){const r=y,{t:l}=f();return(C,N)=>(e(),c("div",null,[r.status!=="online"?(e(),s(n(k),{key:0,appearance:"info"},{alertMessage:t(()=>[i("p",null,m(n(l)("common.detail.no_envoy_data",{resource:r.resource})),1)]),_:1})):(e(),s(E,{key:1,src:r.src},{default:t(({data:a,error:o,refresh:d})=>[o?(e(),s(g,{key:0,error:o},null,8,["error"])):a===void 0?(e(),s(v,{key:1})):a===""?(e(),s(q,{key:2})):(e(),c(h,{key:3},[i("div",B,[_(n(x),{appearance:"primary",icon:"redo","data-testid":"envoy-data-refresh-button",onClick:d},{default:t(()=>[u(` Refresh `)]),_:2},1032,["onClick"])]),u(),_(b,{id:"code-block-envoy-data",language:"json",code:typeof a=="string"?a:JSON.stringify(a,null,2),"is-searchable":"","query-key":r.queryKey},null,8,["code","query-key"])],64))]),_:1},8,["src"]))]))}});const j=S(D,[["__scopeId","data-v-c1f432b0"]]);export{j as E}; diff --git a/app/kuma-ui/pkg/resources/data/assets/GatewayListView-f73c3f81.js b/app/kuma-ui/pkg/resources/data/assets/GatewayListView-094a3064.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/GatewayListView-f73c3f81.js rename to app/kuma-ui/pkg/resources/data/assets/GatewayListView-094a3064.js index 9f4ee2cdea5f..5fc55118b044 100644 --- a/app/kuma-ui/pkg/resources/data/assets/GatewayListView-f73c3f81.js +++ b/app/kuma-ui/pkg/resources/data/assets/GatewayListView-094a3064.js @@ -1 +1 @@ -import{d as _,L as f,o as n,g as o,w as t,h as l,p as w,A as h,m as b,C as v,i as p,l as c,a5 as z,E as k,ah as q,D as $,_ as C,q as S}from"./index-2bbe899f.js";import{D as V,K as x}from"./KFilterBar-cf6a2e5a.js";import"./dataplane-30467516.js";const B=_({__name:"GatewayListView",props:{page:{},size:{},search:{},query:{},mesh:{},gatewayType:{}},setup(u){const a=u,{t:g}=f();return(y,T)=>(n(),o(C,{name:"gateways-list-view"},{default:t(({route:i,can:d})=>[l(w,{src:`/meshes/${i.params.mesh}/gateways/of/${a.gatewayType}?page=${a.page}&size=${y.size}&search=${a.search}`},{default:t(({data:s,error:r})=>[l(h,null,{title:t(()=>[b("h2",null,[l(v,{title:p(g)("gateways.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[c(),l(p(z),null,{body:t(()=>[r!==void 0?(n(),o(k,{key:0,error:r},null,8,["error"])):(n(),o(V,{key:1,"data-testid":"gateway-collection",class:"gateway-collection","page-number":a.page,"page-size":a.size,total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:r,gateways:!0,onChange:({page:e,size:m})=>{i.update({page:String(e),size:String(m)})}},{toolbar:t(()=>[l(x,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:a.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”)"},...d("use zones")?{zone:{description:"filter by “kuma.io/zone” value"}}:{}},onFieldsChange:e=>i.update({query:e.query,s:e.query.length>0?JSON.stringify(e.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),c(),l(p(q),{label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(e=>({...e,selected:e.value===a.gatewayType})),appearance:"select",onSelected:e=>i.update({gatewayType:String(e.value)})},{"item-template":t(({item:e})=>[c($(e.label),1)]),_:2},1032,["items","onSelected"])]),_:2},1032,["page-number","page-size","total","items","error","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:1}))}});const A=S(B,[["__scopeId","data-v-a6ddecf9"]]);export{A as default}; +import{d as _,L as f,o as n,g as o,w as t,h as l,p as w,A as h,m as b,C as v,i as p,l as c,a5 as z,E as k,ah as q,D as $,_ as C,q as S}from"./index-cf0727dc.js";import{D as V,K as x}from"./KFilterBar-aaf33272.js";import"./dataplane-30467516.js";const B=_({__name:"GatewayListView",props:{page:{},size:{},search:{},query:{},mesh:{},gatewayType:{}},setup(u){const a=u,{t:g}=f();return(y,T)=>(n(),o(C,{name:"gateways-list-view"},{default:t(({route:i,can:d})=>[l(w,{src:`/meshes/${i.params.mesh}/gateways/of/${a.gatewayType}?page=${a.page}&size=${y.size}&search=${a.search}`},{default:t(({data:s,error:r})=>[l(h,null,{title:t(()=>[b("h2",null,[l(v,{title:p(g)("gateways.routes.items.title"),render:!0},null,8,["title"])])]),default:t(()=>[c(),l(p(z),null,{body:t(()=>[r!==void 0?(n(),o(k,{key:0,error:r},null,8,["error"])):(n(),o(V,{key:1,"data-testid":"gateway-collection",class:"gateway-collection","page-number":a.page,"page-size":a.size,total:s==null?void 0:s.total,items:s==null?void 0:s.items,error:r,gateways:!0,onChange:({page:e,size:m})=>{i.update({page:String(e),size:String(m)})}},{toolbar:t(()=>[l(x,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:a.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”)"},...d("use zones")?{zone:{description:"filter by “kuma.io/zone” value"}}:{}},onFieldsChange:e=>i.update({query:e.query,s:e.query.length>0?JSON.stringify(e.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),c(),l(p(q),{label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(e=>({...e,selected:e.value===a.gatewayType})),appearance:"select",onSelected:e=>i.update({gatewayType:String(e.value)})},{"item-template":t(({item:e})=>[c($(e.label),1)]),_:2},1032,["items","onSelected"])]),_:2},1032,["page-number","page-size","total","items","error","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:1}))}});const A=S(B,[["__scopeId","data-v-a6ddecf9"]]);export{A as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-fb4bdea7.js b/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-90f44d56.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-fb4bdea7.js rename to app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-90f44d56.js index 77d81fee4f1d..6709a7691bd3 100644 --- a/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-fb4bdea7.js +++ b/app/kuma-ui/pkg/resources/data/assets/GatewayPoliciesView-90f44d56.js @@ -1,4 +1,4 @@ -import{d as V,f as P,r as D,o as e,j as i,m as s,l as t,F as f,G as b,D as c,h as d,w as n,k as B,g as y,X as A,z as C,B as R,q as j,L as F,A as K,C as O,i as x,a5 as q,p as I,E as S,s as z,_ as H}from"./index-2bbe899f.js";import{A as J,a as M}from"./AccordionList-2acfc916.js";const v=h=>(C("data-v-c7f30269"),h=h(),R(),h),T={class:"policies-list"},X={class:"mesh-gateway-policy-list"},Q=v(()=>s("h3",{class:"mb-2"},` +import{d as V,f as P,r as D,o as e,j as i,m as s,l as t,F as f,G as b,D as c,h as d,w as n,k as B,g as y,X as A,z as C,B as R,q as j,L as F,A as K,C as O,i as x,a5 as q,p as I,E as S,s as z,_ as H}from"./index-cf0727dc.js";import{A as J,a as M}from"./AccordionList-6ce6736a.js";const v=h=>(C("data-v-c7f30269"),h=h(),R(),h),T={class:"policies-list"},X={class:"mesh-gateway-policy-list"},Q=v(()=>s("h3",{class:"mb-2"},` Gateway policies `,-1)),U={key:0},W=v(()=>s("h3",{class:"mt-6 mb-2"},` Listeners diff --git a/app/kuma-ui/pkg/resources/data/assets/KFilterBar-cf6a2e5a.js b/app/kuma-ui/pkg/resources/data/assets/KFilterBar-aaf33272.js similarity index 98% rename from app/kuma-ui/pkg/resources/data/assets/KFilterBar-cf6a2e5a.js rename to app/kuma-ui/pkg/resources/data/assets/KFilterBar-aaf33272.js index 1c279abe3dc8..19dcbb017a5c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/KFilterBar-cf6a2e5a.js +++ b/app/kuma-ui/pkg/resources/data/assets/KFilterBar-aaf33272.js @@ -1,4 +1,4 @@ -var le=Object.defineProperty;var re=(o,i,a)=>i in o?le(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a;var K=(o,i,a)=>(re(o,typeof i!="symbol"?i+"":i,a),a);import{d as ne,L as ue,M as ce,r as de,o as f,g as z,w as h,U as oe,h as w,l as m,D as k,j as _,F as E,Y as pe,i as c,af as me,a2 as fe,K as R,a7 as ge,a1 as ve,H as $,a8 as ye,a9 as he,a6 as be,ad as _e,q as se,t as A,f as q,av as ee,m as S,aw as ke,ax as Te,ay as Se,x as te,G as we,k as W,v as Ce,V as xe,z as Ae,B as Ue}from"./index-2bbe899f.js";import{d as De,a as Ie,c as Ne,C as Le,e as ze}from"./dataplane-30467516.js";const Ee=ne({__name:"DataPlaneList",props:{total:{default:0},pageNumber:{},pageSize:{},items:{},error:{},gateways:{type:Boolean,default:!1}},emits:["load-data","change"],setup(o,{emit:i}){const a=o,{t:r,formatIsoDate:s}=ue(),p=ce()("use zones");function b(g){return g.map(u=>{var B,I,x,j,t,l;const T=u.mesh,n=u.name,C=((B=u.dataplane.networking.gateway)==null?void 0:B.type)||"STANDARD",O={name:C==="STANDARD"?"data-plane-detail-view":"gateway-detail-view",params:{mesh:T,dataPlane:n}},V=["kuma.io/protocol","kuma.io/service","kuma.io/zone"],U=De(u.dataplane).filter(e=>V.includes(e.label)),N=(I=U.find(e=>e.label==="kuma.io/service"))==null?void 0:I.value,Q=(x=U.find(e=>e.label==="kuma.io/protocol"))==null?void 0:x.value,D=(j=U.find(e=>e.label==="kuma.io/zone"))==null?void 0:j.value;let M;N!==void 0&&(M={name:"service-detail-view",params:{mesh:T,service:N}});let F;D!==void 0&&(F={name:"zone-cp-detail-view",params:{zone:D}});const{status:P}=Ie(u.dataplane,u.dataplaneInsight),H=((t=u.dataplaneInsight)==null?void 0:t.subscriptions)??[],Z={totalUpdates:0,totalRejectedUpdates:0,dpVersion:null,envoyVersion:null,selectedTime:NaN,selectedUpdateTime:NaN,version:null},v=H.reduce((e,y)=>{var J,X;if(y.connectTime){const Y=Date.parse(y.connectTime);(!e.selectedTime||Y>e.selectedTime)&&(e.selectedTime=Y)}const G=Date.parse(y.status.lastUpdateTime);return G&&(!e.selectedUpdateTime||G>e.selectedUpdateTime)&&(e.selectedUpdateTime=G),{totalUpdates:e.totalUpdates+parseInt(y.status.total.responsesSent??"0",10),totalRejectedUpdates:e.totalRejectedUpdates+parseInt(y.status.total.responsesRejected??"0",10),dpVersion:((J=y.version)==null?void 0:J.kumaDp.version)||e.dpVersion,envoyVersion:((X=y.version)==null?void 0:X.envoy.version)||e.envoyVersion,selectedTime:e.selectedTime,selectedUpdateTime:e.selectedUpdateTime,version:y.version||e.version}},Z),L={name:n,detailViewRoute:O,type:C,zone:{title:D??r("common.collection.none"),route:F},service:{title:N??r("common.collection.none"),route:M},protocol:Q??r("common.collection.none"),status:P,totalUpdates:v.totalUpdates,totalRejectedUpdates:v.totalRejectedUpdates,envoyVersion:v.envoyVersion??r("common.collection.none"),warnings:[],lastUpdated:v.selectedUpdateTime?s(new Date(v.selectedUpdateTime).toUTCString()):r("common.collection.none"),lastConnected:v.selectedTime?s(new Date(v.selectedTime).toUTCString()):r("common.collection.none"),overview:u};if(v.version){const{kind:e}=Ne(v.version);e!==Le&&L.warnings.push(e)}return p&&v.dpVersion&&U.find(y=>y.label===_e)&&typeof((l=v.version)==null?void 0:l.kumaDp.kumaCpCompatible)=="boolean"&&!v.version.kumaDp.kumaCpCompatible&&L.warnings.push(ze),L})}return(g,u)=>{const T=de("RouterLink");return f(),z(be,{"empty-state-message":c(r)("common.emptyState.message",{type:a.gateways?"Gateways":"Data Plane Proxies"}),"empty-state-cta-to":c(r)(`data-planes.href.docs.${a.gateways?"gateway":"data_plane_proxy"}`),"empty-state-cta-text":c(r)("common.documentation"),headers:[{label:"Name",key:"name"},...a.gateways?[{label:"Type",key:"type"}]:[],{label:"Service",key:"service"},...a.gateways?[]:[{label:"Protocol",key:"protocol"}],...c(p)?[{label:"Zone",key:"zone"}]:[],{label:"Last Updated",key:"lastUpdated"},{label:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":a.pageNumber,"page-size":a.pageSize,total:a.total,items:a.items?b(a.items):void 0,error:a.error,onChange:u[0]||(u[0]=n=>i("change",n))},{toolbar:h(()=>[oe(g.$slots,"toolbar",{},void 0,!0)]),name:h(({row:n})=>[w(T,{to:{name:a.gateways?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:n.name}},"data-testid":"detail-view-link"},{default:h(()=>[m(k(n.name),1)]),_:2},1032,["to"])]),service:h(({rowValue:n})=>[n.route?(f(),z(T,{key:0,to:n.route},{default:h(()=>[m(k(n.title),1)]),_:2},1032,["to"])):(f(),_(E,{key:1},[m(k(n.title),1)],64))]),zone:h(({rowValue:n})=>[n.route?(f(),z(T,{key:0,to:n.route},{default:h(()=>[m(k(n.title),1)]),_:2},1032,["to"])):(f(),_(E,{key:1},[m(k(n.title),1)],64))]),status:h(({rowValue:n})=>[n?(f(),z(pe,{key:0,status:n},null,8,["status"])):(f(),_(E,{key:1},[m(k(c(r)("common.collection.none")),1)],64))]),warnings:h(({rowValue:n})=>[n.length>0?(f(),z(c(me),{key:0,label:c(r)("data-planes.list.version_mismatch")},{default:h(()=>[w(fe,{class:"mr-1",size:c(R),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):(f(),_(E,{key:1},[m(` +var le=Object.defineProperty;var re=(o,i,a)=>i in o?le(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a;var K=(o,i,a)=>(re(o,typeof i!="symbol"?i+"":i,a),a);import{d as ne,L as ue,M as ce,r as de,o as f,g as z,w as h,U as oe,h as w,l as m,D as k,j as _,F as E,Y as pe,i as c,af as me,a2 as fe,K as R,a7 as ge,a1 as ve,H as $,a8 as ye,a9 as he,a6 as be,ad as _e,q as se,t as A,f as q,av as ee,m as S,aw as ke,ax as Te,ay as Se,x as te,G as we,k as W,v as Ce,V as xe,z as Ae,B as Ue}from"./index-cf0727dc.js";import{d as De,a as Ie,c as Ne,C as Le,e as ze}from"./dataplane-30467516.js";const Ee=ne({__name:"DataPlaneList",props:{total:{default:0},pageNumber:{},pageSize:{},items:{},error:{},gateways:{type:Boolean,default:!1}},emits:["load-data","change"],setup(o,{emit:i}){const a=o,{t:r,formatIsoDate:s}=ue(),p=ce()("use zones");function b(g){return g.map(u=>{var B,I,x,j,t,l;const T=u.mesh,n=u.name,C=((B=u.dataplane.networking.gateway)==null?void 0:B.type)||"STANDARD",O={name:C==="STANDARD"?"data-plane-detail-view":"gateway-detail-view",params:{mesh:T,dataPlane:n}},V=["kuma.io/protocol","kuma.io/service","kuma.io/zone"],U=De(u.dataplane).filter(e=>V.includes(e.label)),N=(I=U.find(e=>e.label==="kuma.io/service"))==null?void 0:I.value,Q=(x=U.find(e=>e.label==="kuma.io/protocol"))==null?void 0:x.value,D=(j=U.find(e=>e.label==="kuma.io/zone"))==null?void 0:j.value;let M;N!==void 0&&(M={name:"service-detail-view",params:{mesh:T,service:N}});let F;D!==void 0&&(F={name:"zone-cp-detail-view",params:{zone:D}});const{status:P}=Ie(u.dataplane,u.dataplaneInsight),H=((t=u.dataplaneInsight)==null?void 0:t.subscriptions)??[],Z={totalUpdates:0,totalRejectedUpdates:0,dpVersion:null,envoyVersion:null,selectedTime:NaN,selectedUpdateTime:NaN,version:null},v=H.reduce((e,y)=>{var J,X;if(y.connectTime){const Y=Date.parse(y.connectTime);(!e.selectedTime||Y>e.selectedTime)&&(e.selectedTime=Y)}const G=Date.parse(y.status.lastUpdateTime);return G&&(!e.selectedUpdateTime||G>e.selectedUpdateTime)&&(e.selectedUpdateTime=G),{totalUpdates:e.totalUpdates+parseInt(y.status.total.responsesSent??"0",10),totalRejectedUpdates:e.totalRejectedUpdates+parseInt(y.status.total.responsesRejected??"0",10),dpVersion:((J=y.version)==null?void 0:J.kumaDp.version)||e.dpVersion,envoyVersion:((X=y.version)==null?void 0:X.envoy.version)||e.envoyVersion,selectedTime:e.selectedTime,selectedUpdateTime:e.selectedUpdateTime,version:y.version||e.version}},Z),L={name:n,detailViewRoute:O,type:C,zone:{title:D??r("common.collection.none"),route:F},service:{title:N??r("common.collection.none"),route:M},protocol:Q??r("common.collection.none"),status:P,totalUpdates:v.totalUpdates,totalRejectedUpdates:v.totalRejectedUpdates,envoyVersion:v.envoyVersion??r("common.collection.none"),warnings:[],lastUpdated:v.selectedUpdateTime?s(new Date(v.selectedUpdateTime).toUTCString()):r("common.collection.none"),lastConnected:v.selectedTime?s(new Date(v.selectedTime).toUTCString()):r("common.collection.none"),overview:u};if(v.version){const{kind:e}=Ne(v.version);e!==Le&&L.warnings.push(e)}return p&&v.dpVersion&&U.find(y=>y.label===_e)&&typeof((l=v.version)==null?void 0:l.kumaDp.kumaCpCompatible)=="boolean"&&!v.version.kumaDp.kumaCpCompatible&&L.warnings.push(ze),L})}return(g,u)=>{const T=de("RouterLink");return f(),z(be,{"empty-state-message":c(r)("common.emptyState.message",{type:a.gateways?"Gateways":"Data Plane Proxies"}),"empty-state-cta-to":c(r)(`data-planes.href.docs.${a.gateways?"gateway":"data_plane_proxy"}`),"empty-state-cta-text":c(r)("common.documentation"),headers:[{label:"Name",key:"name"},...a.gateways?[{label:"Type",key:"type"}]:[],{label:"Service",key:"service"},...a.gateways?[]:[{label:"Protocol",key:"protocol"}],...c(p)?[{label:"Zone",key:"zone"}]:[],{label:"Last Updated",key:"lastUpdated"},{label:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":a.pageNumber,"page-size":a.pageSize,total:a.total,items:a.items?b(a.items):void 0,error:a.error,onChange:u[0]||(u[0]=n=>i("change",n))},{toolbar:h(()=>[oe(g.$slots,"toolbar",{},void 0,!0)]),name:h(({row:n})=>[w(T,{to:{name:a.gateways?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:n.name}},"data-testid":"detail-view-link"},{default:h(()=>[m(k(n.name),1)]),_:2},1032,["to"])]),service:h(({rowValue:n})=>[n.route?(f(),z(T,{key:0,to:n.route},{default:h(()=>[m(k(n.title),1)]),_:2},1032,["to"])):(f(),_(E,{key:1},[m(k(n.title),1)],64))]),zone:h(({rowValue:n})=>[n.route?(f(),z(T,{key:0,to:n.route},{default:h(()=>[m(k(n.title),1)]),_:2},1032,["to"])):(f(),_(E,{key:1},[m(k(n.title),1)],64))]),status:h(({rowValue:n})=>[n?(f(),z(pe,{key:0,status:n},null,8,["status"])):(f(),_(E,{key:1},[m(k(c(r)("common.collection.none")),1)],64))]),warnings:h(({rowValue:n})=>[n.length>0?(f(),z(c(me),{key:0,label:c(r)("data-planes.list.version_mismatch")},{default:h(()=>[w(fe,{class:"mr-1",size:c(R),"hide-title":""},null,8,["size"])]),_:1},8,["label"])):(f(),_(E,{key:1},[m(`   `)],64))]),actions:h(({row:n})=>[w(c(ge),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:h(()=>[w(c(ve),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:h(()=>[w(c($),{color:c(ye),icon:"more",size:c(R)},null,8,["color","size"])]),_:1})]),items:h(()=>[w(c(he),{item:{to:{name:a.gateways?"gateway-detail-view":"data-plane-detail-view",params:{dataPlane:n.name}},label:c(r)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:3},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error"])}}});const nt=se(Ee,[["__scopeId","data-v-4236407e"]]);function Re(o,i,a){return Math.max(i,Math.min(o,a))}const Me=["ControlLeft","ControlRight","ShiftLeft","ShiftRight","AltLeft"];class Fe{constructor(i,a){K(this,"commands");K(this,"keyMap");K(this,"boundTriggerShortcuts");this.commands=a,this.keyMap=Object.fromEntries(Object.entries(i).map(([r,s])=>[r.toLowerCase(),s])),this.boundTriggerShortcuts=this.triggerShortcuts.bind(this)}registerListener(){document.addEventListener("keydown",this.boundTriggerShortcuts)}unRegisterListener(){document.removeEventListener("keydown",this.boundTriggerShortcuts)}triggerShortcuts(i){Pe(i,this.keyMap,this.commands)}}function Pe(o,i,a){const r=Be(o.code),s=[o.ctrlKey?"ctrl":"",o.shiftKey?"shift":"",o.altKey?"alt":"",r].filter(b=>b!=="").join("+"),d=i[s];if(!d)return;const p=a[d];p.isAllowedContext&&!p.isAllowedContext(o)||(p.shouldPreventDefaultAction&&o.preventDefault(),!(p.isDisabled&&p.isDisabled())&&p.trigger(o))}function Be(o){return Me.includes(o)?"":o.replace(/^Key/,"").toLowerCase()}function je(o,i){const a=" "+o,r=a.matchAll(/ ([-\s\w]+):\s*/g),s=[];for(const d of Array.from(r)){if(d.index===void 0)continue;const p=Ke(d[1]);if(i.length>0&&!i.includes(p))throw new Error(`Unknown field “${p}”. Known fields: ${i.join(", ")}`);const b=d.index+d[0].length,g=a.substring(b);let u;if(/^\s*["']/.test(g)){const n=g.match(/['"](.*?)['"]/);if(n!==null)u=n[1];else throw new Error(`Quote mismatch for field “${p}”.`)}else{const n=g.indexOf(" "),C=n===-1?g.length:n;u=g.substring(0,C)}u!==""&&s.push([p,u])}return s}function Ke(o){return o.trim().replace(/\s+/g,"-").replace(/-[a-z]/g,(i,a)=>a===0?i:i.substring(1).toUpperCase())}let ae=0;const qe=(o="unique")=>(ae++,`${o}-${ae}`),ie=o=>(Ae("data-v-e5b88bf8"),o=o(),Ue(),o),$e=ie(()=>S("span",{class:"visually-hidden"},"Focus filter",-1)),Oe=["for"],Ve=["id","placeholder"],Qe={key:0,class:"k-suggestion-box","data-testid":"k-filter-bar-suggestion-box"},He={class:"k-suggestion-list"},Ze={key:0,class:"k-filter-bar-error"},Ge={key:0},We=["title","data-filter-field"],Je={class:"visually-hidden"},Xe=ie(()=>S("span",{class:"visually-hidden"},"Clear query",-1)),Ye=ne({__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(o,{emit:i}){const a=o,r=A(null),s=A(null),d=A(a.query),p=A([]),b=A(null),g=A(!1),u=A(-1),T=q(()=>Object.keys(a.fields)),n=q(()=>Object.entries(a.fields).slice(0,5).map(([t,l])=>({fieldName:t,...l}))),C=q(()=>T.value.length>0?`Filter by ${T.value.join(", ")}`:"Filter"),O=q(()=>a.placeholder??C.value);ee(()=>p.value,function(t,l){j(t,l)||(b.value=null,i("fields-change",{fields:t,query:d.value}))}),ee(()=>d.value,function(){d.value===""&&(b.value=null),g.value=!0});const V={Enter:"submitQuery",Escape:"closeSuggestionBox",ArrowDown:"jumpToNextSuggestion",ArrowUp:"jumpToPreviousSuggestion"},U={submitQuery:{trigger:D,isAllowedContext(t){return s.value!==null&&t.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},jumpToNextSuggestion:{trigger:M,isAllowedContext(t){return s.value!==null&&t.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},jumpToPreviousSuggestion:{trigger:F,isAllowedContext(t){return s.value!==null&&t.composedPath().includes(s.value)},shouldPreventDefaultAction:!0},closeSuggestionBox:{trigger:I,isAllowedContext(t){return r.value!==null&&t.composedPath().includes(r.value)}}};function N(){const t=new Fe(V,U);Ce(function(){t.registerListener()}),xe(function(){t.unRegisterListener()}),x(d.value)}N();function Q(t){const l=t.target;x(l.value)}function D(){if(s.value instanceof HTMLInputElement)if(u.value===-1)x(s.value.value),g.value=!1;else{const t=n.value[u.value].fieldName;t&&v(s.value,t)}}function M(){P(1)}function F(){P(-1)}function P(t){u.value=Re(u.value+t,-1,n.value.length-1)}function H(){s.value instanceof HTMLInputElement&&s.value.focus()}function Z(t){const e=t.currentTarget.getAttribute("data-filter-field");e&&s.value instanceof HTMLInputElement&&v(s.value,e)}function v(t,l){const e=d.value===""||d.value.endsWith(" ")?"":" ";d.value+=e+l+":",t.focus(),u.value=-1}function L(){d.value="",s.value instanceof HTMLInputElement&&(s.value.value="",s.value.focus(),x(""))}function B(t){t.relatedTarget===null&&I(),r.value instanceof HTMLElement&&t.relatedTarget instanceof Node&&!r.value.contains(t.relatedTarget)&&I()}function I(){g.value=!1}function x(t){b.value=null;try{const l=je(t,T.value);l.sort((e,y)=>e[0].localeCompare(y[0])),p.value=l}catch(l){if(l instanceof Error)b.value=l,g.value=!0;else throw l}}function j(t,l){return JSON.stringify(t)===JSON.stringify(l)}return(t,l)=>(f(),_("div",{ref_key:"filterBar",ref:r,class:"k-filter-bar","data-testid":"k-filter-bar"},[S("button",{class:"k-focus-filter-input-button",title:"Focus filter",type:"button","data-testid":"k-filter-bar-focus-filter-input-button",onClick:H},[$e,m(),w(c($),{"aria-hidden":"true",class:"k-filter-icon",color:c(ke),"data-testid":"k-filter-bar-filter-icon","hide-title":"",icon:"filter",size:c(R)},null,8,["color","size"])]),m(),S("label",{for:`${a.id}-filter-bar-input`,class:"visually-hidden"},[oe(t.$slots,"default",{},()=>[m(k(C.value),1)],!0)],8,Oe),m(),Te(S("input",{id:`${a.id}-filter-bar-input`,ref_key:"filterInput",ref:s,"onUpdate:modelValue":l[0]||(l[0]=e=>d.value=e),class:"k-filter-bar-input",type:"text",placeholder:O.value,"data-testid":"k-filter-bar-filter-input",onFocus:l[1]||(l[1]=e=>g.value=!0),onBlur:B,onChange:Q},null,40,Ve),[[Se,d.value]]),m(),g.value?(f(),_("div",Qe,[S("div",He,[b.value!==null?(f(),_("p",Ze,k(b.value.message),1)):(f(),_("button",{key:1,class:te(["k-submit-query-button",{"k-submit-query-button-is-selected":u.value===-1}]),title:"Submit query",type:"button","data-testid":"k-filter-bar-submit-query-button",onClick:D},` Submit `+k(d.value),3)),m(),(f(!0),_(E,null,we(n.value,(e,y)=>(f(),_("div",{key:`${a.id}-${y}`,class:te(["k-suggestion-list-item",{"k-suggestion-list-item-is-selected":u.value===y}])},[S("b",null,k(e.fieldName),1),e.description!==""?(f(),_("span",Ge,": "+k(e.description),1)):W("",!0),m(),S("button",{class:"k-apply-suggestion-button",title:`Add ${e.fieldName}:`,type:"button","data-filter-field":e.fieldName,"data-testid":"k-filter-bar-apply-suggestion-button",onClick:Z},[S("span",Je,"Add "+k(e.fieldName)+":",1),m(),w(c($),{"aria-hidden":"true",color:"currentColor","hide-title":"",icon:"chevronRight",size:c(R)},null,8,["size"])],8,We)],2))),128))])])):W("",!0),m(),d.value!==""?(f(),_("button",{key:1,class:"k-clear-query-button",title:"Clear query",type:"button","data-testid":"k-filter-bar-clear-query-button",onClick:L},[Xe,m(),w(c($),{"aria-hidden":"true",color:"currentColor",icon:"clear","hide-title":"",size:c(R)},null,8,["size"])])):W("",!0)],512))}});const ot=se(Ye,[["__scopeId","data-v-e5b88bf8"]]);export{nt as D,ot as K}; diff --git a/app/kuma-ui/pkg/resources/data/assets/LoadingBox-3c590a8d.js b/app/kuma-ui/pkg/resources/data/assets/LoadingBox-8e342684.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/LoadingBox-3c590a8d.js rename to app/kuma-ui/pkg/resources/data/assets/LoadingBox-8e342684.js index d42323f2803f..93291383cc41 100644 --- a/app/kuma-ui/pkg/resources/data/assets/LoadingBox-3c590a8d.js +++ b/app/kuma-ui/pkg/resources/data/assets/LoadingBox-8e342684.js @@ -1 +1 @@ -import{q as d,o as n,j as _,l as t,z as l,B as c,m as o}from"./index-2bbe899f.js";const a={},e=s=>(l("data-v-67594d24"),s=s(),c(),s),i={class:"loading","data-testid":"loading"},u=e(()=>o("div",null,null,-1)),p=e(()=>o("div",null,null,-1)),r=e(()=>o("div",null,null,-1)),v=e(()=>o("div",null,null,-1)),h=e(()=>o("div",null,null,-1));function x(s,B){return n(),_("div",i,[u,t(),p,t(),r,t(),v,t(),h])}const g=d(a,[["render",x],["__scopeId","data-v-67594d24"]]);export{g as L}; +import{q as d,o as n,j as _,l as t,z as l,B as c,m as o}from"./index-cf0727dc.js";const a={},e=s=>(l("data-v-67594d24"),s=s(),c(),s),i={class:"loading","data-testid":"loading"},u=e(()=>o("div",null,null,-1)),p=e(()=>o("div",null,null,-1)),r=e(()=>o("div",null,null,-1)),v=e(()=>o("div",null,null,-1)),h=e(()=>o("div",null,null,-1));function x(s,B){return n(),_("div",i,[u,t(),p,t(),r,t(),v,t(),h])}const g=d(a,[["render",x],["__scopeId","data-v-67594d24"]]);export{g as L}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-a261fefb.js b/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-65a81058.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/MainOverviewView-a261fefb.js rename to app/kuma-ui/pkg/resources/data/assets/MainOverviewView-65a81058.js index 914567e63e5c..9ea88c751135 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-a261fefb.js +++ b/app/kuma-ui/pkg/resources/data/assets/MainOverviewView-65a81058.js @@ -1 +1 @@ -import{d as i,a4 as r,L as o,o as l,g as c,w as e,h as a,m as _,C as u,i as t,l as m,A as d,_ as f}from"./index-2bbe899f.js";const V=i({__name:"MainOverviewView",setup(p){const s=r(),{t:n}=o();return(v,w)=>(l(),c(f,{name:"home"},{default:e(()=>[a(d,null,{title:e(()=>[_("h1",null,[a(u,{title:t(n)("main-overview.routes.item.title"),render:!0},null,8,["title"])])]),default:e(()=>[m(),a(t(s))]),_:1})]),_:1}))}});export{V as default}; +import{d as i,a4 as r,L as o,o as l,g as c,w as e,h as a,m as _,C as u,i as t,l as m,A as d,_ as f}from"./index-cf0727dc.js";const V=i({__name:"MainOverviewView",setup(p){const s=r(),{t:n}=o();return(v,w)=>(l(),c(f,{name:"home"},{default:e(()=>[a(d,null,{title:e(()=>[_("h1",null,[a(u,{title:t(n)("main-overview.routes.item.title"),render:!0},null,8,["title"])])]),default:e(()=>[m(),a(t(s))]),_:1})]),_:1}))}});export{V as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-cd34ae1c.js b/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-c77120ac.js similarity index 82% rename from app/kuma-ui/pkg/resources/data/assets/MeshConfigView-cd34ae1c.js rename to app/kuma-ui/pkg/resources/data/assets/MeshConfigView-c77120ac.js index 3ead48bfebe8..ededc6f37520 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-cd34ae1c.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshConfigView-c77120ac.js @@ -1 +1 @@ -import{d as l,L as u,R as f,o as s,g as a,w as e,h as t,A as p,m as d,C as h,i as r,l as k,a5 as g,p as w,E as v,s as $,_ as V}from"./index-2bbe899f.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-535bde0f.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";import"./toYaml-4e00099e.js";const M=l({__name:"MeshConfigView",setup(y){const{t:n}=u(),m=f();return(A,B)=>(s(),a(V,{name:"mesh-config-view","data-testid":"mesh-config-view"},{default:e(({route:o})=>[t(p,null,{title:e(()=>[d("h2",null,[t(h,{title:r(n)("meshes.routes.item.navigation.mesh-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[k(),t(r(g),{class:"mt-4"},{body:e(()=>[t(w,{src:`/meshes/${o.params.mesh}`},{default:e(({data:i,error:c})=>[c!==void 0?(s(),a(v,{key:0,error:c},null,8,["error"])):i===void 0?(s(),a($,{key:1})):(s(),a(x,{key:2,id:"code-block-mesh",resource:i,"resource-fetcher":_=>r(m).getMesh({name:o.params.mesh},_)},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1}))}});export{M as default}; +import{d as l,L as u,R as f,o as s,g as a,w as e,h as t,A as p,m as d,C as h,i as r,l as k,a5 as g,p as w,E as v,s as $,_ as V}from"./index-cf0727dc.js";import{_ as x}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-7180eb37.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";import"./toYaml-4e00099e.js";const M=l({__name:"MeshConfigView",setup(y){const{t:n}=u(),m=f();return(A,B)=>(s(),a(V,{name:"mesh-config-view","data-testid":"mesh-config-view"},{default:e(({route:o})=>[t(p,null,{title:e(()=>[d("h2",null,[t(h,{title:r(n)("meshes.routes.item.navigation.mesh-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[k(),t(r(g),{class:"mt-4"},{body:e(()=>[t(w,{src:`/meshes/${o.params.mesh}`},{default:e(({data:i,error:c})=>[c!==void 0?(s(),a(v,{key:0,error:c},null,8,["error"])):i===void 0?(s(),a($,{key:1})):(s(),a(x,{key:2,id:"code-block-mesh",resource:i,"resource-fetcher":_=>r(m).getMesh({name:o.params.mesh},_)},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1}))}});export{M as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-0927735a.css b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-0927735a.css new file mode 100644 index 000000000000..919d0f3cf531 --- /dev/null +++ b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-0927735a.css @@ -0,0 +1 @@ +.date-status[data-v-5d50f5d4]{display:inline-flex;align-items:flex-end;gap:12px;color:#6c7489}.date-status-wrapper[data-v-5343c620]{display:flex;justify-content:flex-end} diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-1ba4c3a0.css b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-1ba4c3a0.css deleted file mode 100644 index 95e22270f0fe..000000000000 --- a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-1ba4c3a0.css +++ /dev/null @@ -1 +0,0 @@ -.date-status[data-v-5d50f5d4]{display:inline-flex;align-items:flex-end;gap:12px;color:#6c7489}.date-status-wrapper[data-v-bc87e9d1]{display:flex;justify-content:flex-end} diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-1eee9c73.js b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-1eee9c73.js deleted file mode 100644 index 58993176f891..000000000000 --- a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-1eee9c73.js +++ /dev/null @@ -1 +0,0 @@ -import{d as k,L as y,f as h,o as t,j as x,l as d,D as n,i as s,h as e,H as T,q as $,ac as V,g as r,w as _,C as g,A as B,p as D,E as w,s as M,m as R,_ as S}from"./index-2bbe899f.js";const C={class:"date-status"},N=k({__name:"ResourceDateStatus",props:{creationTime:{},modificationTime:{}},setup(u){const i=u,{t:o,formatIsoDate:l}=y(),p=h(()=>l(i.creationTime)),c=h(()=>l(i.modificationTime));return(a,m)=>(t(),x("span",C,[d(n(s(o)("common.detail.created"))+": "+n(p.value)+" ",1),e(s(T),{icon:"arrowRight"}),d(" "+n(s(o)("common.detail.modified"))+": "+n(c.value),1)]))}});const b=$(N,[["__scopeId","data-v-5d50f5d4"]]),A={key:3,class:"stack","data-testid":"detail-view-details"},I={class:"date-status-wrapper"},j=k({__name:"MeshDetailView",setup(u){const{t:i}=y(),o=V();return(l,p)=>(t(),r(S,{name:"mesh-overview-view"},{default:_(({route:c})=>[e(g,{title:s(i)("meshes.routes.overview.title")},null,8,["title"]),d(),e(B,null,{default:_(()=>[e(D,{src:`/meshes/${c.params.mesh}`},{default:_(({data:a,error:m})=>[e(D,{src:`/mesh-insights/${c.params.mesh}`},{default:_(({data:f,error:v})=>[m?(t(),r(w,{key:0,error:m},null,8,["error"])):v?(t(),r(w,{key:1,error:v},null,8,["error"])):a===void 0||f===void 0?(t(),r(M,{key:2})):(t(),x("div",A,[e(s(o),{mesh:a,"mesh-insight":f},null,8,["mesh","mesh-insight"]),d(),R("div",I,[e(b,{"creation-time":a.creationTime,"modification-time":a.modificationTime},null,8,["creation-time","modification-time"])])]))]),_:2},1032,["src"])]),_:2},1032,["src"])]),_:2},1024)]),_:1}))}});const E=$(j,[["__scopeId","data-v-bc87e9d1"]]);export{E as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-c594e115.js b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-c594e115.js new file mode 100644 index 000000000000..fba8ed3badc2 --- /dev/null +++ b/app/kuma-ui/pkg/resources/data/assets/MeshDetailView-c594e115.js @@ -0,0 +1 @@ +import{d as v,L as D,f,o as s,j as w,l as r,D as n,i as a,h as e,H as x,q as g,ac as y,g as l,w as _,C as $,A as T,p as h,E as V,s as B,m as M,_ as I}from"./index-cf0727dc.js";const R={class:"date-status"},S=v({__name:"ResourceDateStatus",props:{creationTime:{},modificationTime:{}},setup(u){const i=u,{t:o,formatIsoDate:d}=D(),p=f(()=>d(i.creationTime)),c=f(()=>d(i.modificationTime));return(t,m)=>(s(),w("span",R,[r(n(a(o)("common.detail.created"))+": "+n(p.value)+" ",1),e(a(x),{icon:"arrowRight"}),r(" "+n(a(o)("common.detail.modified"))+": "+n(c.value),1)]))}});const C=g(S,[["__scopeId","data-v-5d50f5d4"]]),N={key:2,class:"stack","data-testid":"detail-view-details"},A={class:"date-status-wrapper"},E=v({__name:"MeshDetailView",setup(u){const{t:i}=D(),o=y();return(d,p)=>(s(),l(I,{name:"mesh-overview-view"},{default:_(({route:c})=>[e($,{title:a(i)("meshes.routes.overview.title")},null,8,["title"]),r(),e(T,null,{default:_(()=>[e(h,{src:`/meshes/${c.params.mesh}`},{default:_(({data:t,error:m})=>[e(h,{src:`/mesh-insights/${c.params.mesh}`},{default:_(({data:k})=>[m?(s(),l(V,{key:0,error:m},null,8,["error"])):t===void 0?(s(),l(B,{key:1})):(s(),w("div",N,[e(a(o),{mesh:t,"mesh-insight":k},null,8,["mesh","mesh-insight"]),r(),M("div",A,[e(C,{"creation-time":t.creationTime,"modification-time":t.modificationTime},null,8,["creation-time","modification-time"])])]))]),_:2},1032,["src"])]),_:2},1032,["src"])]),_:2},1024)]),_:1}))}});const q=g(E,[["__scopeId","data-v-5343c620"]]);export{q as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-8dc41b36.js b/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-33671142.js similarity index 84% rename from app/kuma-ui/pkg/resources/data/assets/MeshIndexView-8dc41b36.js rename to app/kuma-ui/pkg/resources/data/assets/MeshIndexView-33671142.js index cbd5f3c4fae6..76ec6c5a182f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-8dc41b36.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshIndexView-33671142.js @@ -1 +1 @@ -import{d as o,L as r,r as n,o as c,g as m,w as e,h as s,A as u,i as _,_ as i}from"./index-2bbe899f.js";const w=o({__name:"MeshIndexView",setup(p){const{t}=r();return(d,l)=>{const a=n("RouterView");return c(),m(i,null,{default:e(()=>[s(u,{breadcrumbs:[{to:{name:"mesh-list-view"},text:_(t)("meshes.routes.item.breadcrumbs")}]},{default:e(()=>[s(a)]),_:1},8,["breadcrumbs"])]),_:1})}}});export{w as default}; +import{d as o,L as r,r as n,o as c,g as m,w as e,h as s,A as u,i as _,_ as i}from"./index-cf0727dc.js";const w=o({__name:"MeshIndexView",setup(p){const{t}=r();return(d,l)=>{const a=n("RouterView");return c(),m(i,null,{default:e(()=>[s(u,{breadcrumbs:[{to:{name:"mesh-list-view"},text:_(t)("meshes.routes.item.breadcrumbs")}]},{default:e(()=>[s(a)]),_:1},8,["breadcrumbs"])]),_:1})}}});export{w as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshListView-d43a4b72.js b/app/kuma-ui/pkg/resources/data/assets/MeshListView-98391708.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/MeshListView-d43a4b72.js rename to app/kuma-ui/pkg/resources/data/assets/MeshListView-98391708.js index d8d808b08950..04d0943935b4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshListView-d43a4b72.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshListView-98391708.js @@ -1 +1 @@ -import{d as h,L as g,r as y,o as m,g as c,w as s,h as t,p as f,A as w,m as p,C as v,i as e,l as r,a5 as k,E as b,a6 as C,D as x,a7 as z,a1 as L,H as E,a8 as I,K as N,a9 as V,_ as R,q as A}from"./index-2bbe899f.js";const T={class:"stack"},$=h({__name:"MeshListView",props:{page:{},size:{}},setup(_){const n=_,{t:o}=g();return(B,M)=>{const u=y("RouterLink");return m(),c(R,{name:"mesh-list-view"},{default:s(({route:d})=>[t(f,{src:`/meshes?page=${n.page}&size=${n.size}`},{default:s(({data:a,error:l})=>[t(w,null,{title:s(()=>[p("h1",null,[t(v,{title:e(o)("meshes.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[r(),p("div",T,[t(e(k),null,{body:s(()=>[l!==void 0?(m(),c(b,{key:0,error:l},null,8,["error"])):(m(),c(C,{key:1,class:"mesh-collection","data-testid":"mesh-collection",headers:[{label:"Name",key:"name"},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":n.page,"page-size":n.size,total:a==null?void 0:a.total,items:a==null?void 0:a.items,error:l,"empty-state-message":e(o)("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":e(o)("meshes.href.docs"),"empty-state-cta-text":e(o)("common.documentation"),onChange:d.update},{name:s(({row:i})=>[t(u,{to:{name:"mesh-detail-view",params:{mesh:i.name}}},{default:s(()=>[r(x(i.name),1)]),_:2},1032,["to"])]),actions:s(({row:i})=>[t(e(z),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:s(()=>[t(e(L),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:s(()=>[t(e(E),{color:e(I),icon:"more",size:e(N)},null,8,["color","size"])]),_:1})]),items:s(()=>[t(e(V),{item:{to:{name:"mesh-detail-view",params:{mesh:i.name}},label:e(o)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)])]),_:2},1024)]),_:2},1032,["src"])]),_:1})}}});const S=A($,[["__scopeId","data-v-403a1a96"]]);export{S as default}; +import{d as h,L as g,r as y,o as m,g as c,w as s,h as t,p as f,A as w,m as p,C as v,i as e,l as r,a5 as k,E as b,a6 as C,D as x,a7 as z,a1 as L,H as E,a8 as I,K as N,a9 as V,_ as R,q as A}from"./index-cf0727dc.js";const T={class:"stack"},$=h({__name:"MeshListView",props:{page:{},size:{}},setup(_){const n=_,{t:o}=g();return(B,M)=>{const u=y("RouterLink");return m(),c(R,{name:"mesh-list-view"},{default:s(({route:d})=>[t(f,{src:`/meshes?page=${n.page}&size=${n.size}`},{default:s(({data:a,error:l})=>[t(w,null,{title:s(()=>[p("h1",null,[t(v,{title:e(o)("meshes.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[r(),p("div",T,[t(e(k),null,{body:s(()=>[l!==void 0?(m(),c(b,{key:0,error:l},null,8,["error"])):(m(),c(C,{key:1,class:"mesh-collection","data-testid":"mesh-collection",headers:[{label:"Name",key:"name"},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":n.page,"page-size":n.size,total:a==null?void 0:a.total,items:a==null?void 0:a.items,error:l,"empty-state-message":e(o)("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":e(o)("meshes.href.docs"),"empty-state-cta-text":e(o)("common.documentation"),onChange:d.update},{name:s(({row:i})=>[t(u,{to:{name:"mesh-detail-view",params:{mesh:i.name}}},{default:s(()=>[r(x(i.name),1)]),_:2},1032,["to"])]),actions:s(({row:i})=>[t(e(z),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:s(()=>[t(e(L),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:s(()=>[t(e(E),{color:e(I),icon:"more",size:e(N)},null,8,["color","size"])]),_:1})]),items:s(()=>[t(e(V),{item:{to:{name:"mesh-detail-view",params:{mesh:i.name}},label:e(o)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)])]),_:2},1024)]),_:2},1032,["src"])]),_:1})}}});const S=A($,[["__scopeId","data-v-403a1a96"]]);export{S as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-be91824d.js b/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-f7c14f67.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/MeshTabsView-be91824d.js rename to app/kuma-ui/pkg/resources/data/assets/MeshTabsView-f7c14f67.js index 5affcddb804a..46a5073036b5 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-be91824d.js +++ b/app/kuma-ui/pkg/resources/data/assets/MeshTabsView-f7c14f67.js @@ -1 +1 @@ -import{d,L as p,aa as h,r as f,o as b,g as w,w as n,h as t,A as x,m as R,ab as V,C as N,i as l,l as c,_ as v}from"./index-2bbe899f.js";import{N as C}from"./NavTabs-d30389b8.js";const A=d({__name:"MeshTabsView",setup(B){var m;const{t:r}=p(),_=(((m=h().getRoutes().find(e=>e.name==="mesh-tabs-view"))==null?void 0:m.children)??[]).map(e=>{var u,i;const o=typeof e.name>"u"?(u=e.children)==null?void 0:u[0]:e,s=o.name,a=((i=o.meta)==null?void 0:i.module)??"";return{title:r(`meshes.routes.item.navigation.${s}`),routeName:s,module:a}});return(e,o)=>{const s=f("RouterView");return b(),w(v,null,{default:n(({route:a})=>[t(x,null,{title:n(()=>[R("h1",null,[t(V,{text:a.params.mesh},{default:n(()=>[t(N,{title:l(r)("meshes.routes.item.title",{name:a.params.mesh}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:n(()=>[c(),t(C,{class:"route-mesh-view-tabs",tabs:l(_)},null,8,["tabs"]),c(),t(s)]),_:2},1024)]),_:1})}}});export{A as default}; +import{d,L as p,aa as h,r as f,o as b,g as w,w as n,h as t,A as x,m as R,ab as V,C as N,i as l,l as c,_ as v}from"./index-cf0727dc.js";import{N as C}from"./NavTabs-048398ef.js";const A=d({__name:"MeshTabsView",setup(B){var m;const{t:r}=p(),_=(((m=h().getRoutes().find(e=>e.name==="mesh-tabs-view"))==null?void 0:m.children)??[]).map(e=>{var u,i;const o=typeof e.name>"u"?(u=e.children)==null?void 0:u[0]:e,s=o.name,a=((i=o.meta)==null?void 0:i.module)??"";return{title:r(`meshes.routes.item.navigation.${s}`),routeName:s,module:a}});return(e,o)=>{const s=f("RouterView");return b(),w(v,null,{default:n(({route:a})=>[t(x,null,{title:n(()=>[R("h1",null,[t(V,{text:a.params.mesh},{default:n(()=>[t(N,{title:l(r)("meshes.routes.item.title",{name:a.params.mesh}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:n(()=>[c(),t(C,{class:"route-mesh-view-tabs",tabs:l(_)},null,8,["tabs"]),c(),t(s)]),_:2},1024)]),_:1})}}});export{A as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-a6db5cfe.js b/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-737f58ac.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/MultiZoneView-a6db5cfe.js rename to app/kuma-ui/pkg/resources/data/assets/MultiZoneView-737f58ac.js index 8bb94e4549fc..e3225f0bf32a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-a6db5cfe.js +++ b/app/kuma-ui/pkg/resources/data/assets/MultiZoneView-737f58ac.js @@ -1,4 +1,4 @@ -import{L as y}from"./LoadingBox-3c590a8d.js";import{O as x,a as Z,b as z}from"./OnboardingPage-9d65ace2.js";import{d as I,R as k,L as T,t as d,S as O,o as a,g as V,w as i,h as c,i as w,C as A,l as e,m as n,j as l,k as N,A as L,_ as B,z as C,B as S,q as M}from"./index-2bbe899f.js";const q=u=>(C("data-v-5d5ad5e8"),u=u(),S(),u),D=q(()=>n("p",{class:"mb-4 text-center"},` +import{L as y}from"./LoadingBox-8e342684.js";import{O as x,a as Z,b as z}from"./OnboardingPage-46f5b350.js";import{d as I,R as k,L as T,t as d,S as O,o as a,g as V,w as i,h as c,i as w,C as A,l as e,m as n,j as l,k as N,A as L,_ as B,z as C,B as S,q as M}from"./index-cf0727dc.js";const q=u=>(C("data-v-5d5ad5e8"),u=u(),S(),u),D=q(()=>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)),E={class:"mb-4 text-center"},G=["href"],K={class:"status-box mt-4"},P={key:0,class:"status--is-connected","data-testid":"zone-connected"},R={key:1,class:"status--is-disconnected","data-testid":"zone-disconnected"},U={class:"status-box mt-4"},$={key:0,class:"status--is-connected","data-testid":"zone-ingress-connected"},j={key:1,class:"status--is-disconnected","data-testid":"zone-ingress-disconnected"},H={key:0,class:"status-loading-box mt-4"},b=1e3,F=I({__name:"MultiZoneView",setup(u){const m=k(),{t:p}=T(),s=d(!1),o=d(!1),r=d(null),_=d(null);O(function(){h(),v()}),f(),g();async function f(){try{const{total:t}=await m.getZones();s.value=t>0}catch(t){s.value=!1,console.error(t)}finally{s.value||(h(),r.value=window.setTimeout(f,b))}}async function g(){try{const{total:t}=await m.getAllZoneIngressOverviews();o.value=t>0}catch(t){o.value=!1,console.error(t)}finally{o.value||(v(),_.value=window.setTimeout(g,b))}}function h(){r.value!==null&&window.clearTimeout(r.value)}function v(){_.value!==null&&window.clearTimeout(_.value)}return(t,J)=>(a(),V(B,null,{default:i(()=>[c(A,{title:w(p)("onboarding.routes.multizone.title")},null,8,["title"]),e(),c(L,null,{default:i(()=>[c(x,null,{header:i(()=>[c(Z,null,{title:i(()=>[e(` Add zones diff --git a/app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.vue_vue_type_script_setup_true_lang-e63d90ab.js b/app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.vue_vue_type_script_setup_true_lang-dd8cd244.js similarity index 86% rename from app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.vue_vue_type_script_setup_true_lang-e63d90ab.js rename to app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.vue_vue_type_script_setup_true_lang-dd8cd244.js index 28dea9cb2e2c..6902b8327498 100644 --- a/app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.vue_vue_type_script_setup_true_lang-e63d90ab.js +++ b/app/kuma-ui/pkg/resources/data/assets/MultizoneInfo.vue_vue_type_script_setup_true_lang-dd8cd244.js @@ -1,4 +1,4 @@ -import{d as r,L as c,o as i,g as l,w as n,h as o,i as e,H as u,at as _,l as a,m as s,D as m,a1 as p,a3 as d}from"./index-2bbe899f.js";const g=s("p",null,[a(` +import{d as r,L as c,o as i,g as l,w as n,h as o,i as e,H as u,at as _,l as a,m as s,D as m,a1 as p,a3 as d}from"./index-cf0727dc.js";const g=s("p",null,[a(` To access this page, you must be running in `),s("strong",null,"Multi-Zone"),a(` mode. `)],-1),z=r({__name:"MultizoneInfo",setup(f){const{t}=c();return(h,x)=>(i(),l(e(d),null,{title:n(()=>[o(e(u),{class:"mb-3",icon:"dangerCircleOutline",size:e(_)},null,8,["size"]),a(),s("p",null,m(e(t)("common.product.name"))+" is running in Standalone mode.",1)]),message:n(()=>[g]),cta:n(()=>[o(e(p),{to:e(t)("zones.href.docs.cta"),target:"_blank",appearance:"primary"},{default:n(()=>[a(` Learn More diff --git a/app/kuma-ui/pkg/resources/data/assets/NavTabs-d30389b8.js b/app/kuma-ui/pkg/resources/data/assets/NavTabs-048398ef.js similarity index 85% rename from app/kuma-ui/pkg/resources/data/assets/NavTabs-d30389b8.js rename to app/kuma-ui/pkg/resources/data/assets/NavTabs-048398ef.js index 4d2a501cea6f..ffff3db525d1 100644 --- a/app/kuma-ui/pkg/resources/data/assets/NavTabs-d30389b8.js +++ b/app/kuma-ui/pkg/resources/data/assets/NavTabs-048398ef.js @@ -1 +1 @@ -import{d,e as _,f as n,r as p,o as i,g as N,X as f,G as v,w as u,h as b,l as h,D as x,i as k,ap as y,q as T}from"./index-2bbe899f.js";const g=d({__name:"NavTabs",props:{tabs:{type:Array,required:!0}},setup(c){const a=c,r=_(),l=n(()=>a.tabs.map(t=>({title:t.title,hash:"#"+t.routeName}))),m=n(()=>{const t=r.matched.map(e=>e.meta.module??"").filter(e=>e!=="");t.reverse();const s=a.tabs.find(e=>!!(e.routeName===r.name||t.includes(e.module)));return"#"+((s==null?void 0:s.routeName)??a.tabs[0].routeName)});return(t,s)=>{const o=p("router-link");return i(),N(k(y),{tabs:l.value,"model-value":m.value,"has-panels":!1,class:"nav-tabs","data-testid":"nav-tabs"},f({_:2},[v(a.tabs,e=>({name:`${e.routeName}-anchor`,fn:u(()=>[b(o,{to:{name:e.routeName}},{default:u(()=>[h(x(e.title),1)]),_:2},1032,["to"])])}))]),1032,["tabs","model-value"])}}});const q=T(g,[["__scopeId","data-v-1c3c46ad"]]);export{q as N}; +import{d,e as _,f as n,r as p,o as i,g as N,X as f,G as v,w as u,h as b,l as h,D as x,i as k,ap as y,q as T}from"./index-cf0727dc.js";const g=d({__name:"NavTabs",props:{tabs:{type:Array,required:!0}},setup(c){const a=c,r=_(),l=n(()=>a.tabs.map(t=>({title:t.title,hash:"#"+t.routeName}))),m=n(()=>{const t=r.matched.map(e=>e.meta.module??"").filter(e=>e!=="");t.reverse();const s=a.tabs.find(e=>!!(e.routeName===r.name||t.includes(e.module)));return"#"+((s==null?void 0:s.routeName)??a.tabs[0].routeName)});return(t,s)=>{const o=p("router-link");return i(),N(k(y),{tabs:l.value,"model-value":m.value,"has-panels":!1,class:"nav-tabs","data-testid":"nav-tabs"},f({_:2},[v(a.tabs,e=>({name:`${e.routeName}-anchor`,fn:u(()=>[b(o,{to:{name:e.routeName}},{default:u(()=>[h(x(e.title),1)]),_:2},1032,["to"])])}))]),1032,["tabs","model-value"])}}});const q=T(g,[["__scopeId","data-v-1c3c46ad"]]);export{q as N}; diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-9d65ace2.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-46f5b350.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingPage-9d65ace2.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingPage-46f5b350.js index 677f0b677095..9c482e825f65 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-9d65ace2.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingPage-46f5b350.js @@ -1,4 +1,4 @@ -import{d as g,Z as m,o as s,j as p,m as a,U as i,l as n,i as c,k as u,q as b,$ as y,a0 as k,g as h,w as l,a1 as _,h as x,D as $,x as O,z as N,B as w}from"./index-2bbe899f.js";const B={class:"onboarding-heading"},q={class:"onboarding-title"},I={key:0,class:"onboarding-description"},C=g({__name:"OnboardingHeading",setup(o){const e=m();return(t,d)=>(s(),p("div",B,[a("h1",q,[i(t.$slots,"title",{},void 0,!0)]),n(),c(e).description?(s(),p("div",I,[i(t.$slots,"description",{},void 0,!0)])):u("",!0)]))}});const F=b(C,[["__scopeId","data-v-c37786ff"]]);function T(){return y(k.store)}const V={class:"onboarding-actions"},H={class:"button-list"},P=g({__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(o){const e=o,t=T();function d(){t.dispatch("onboarding/completeOnboarding")}function v(f){t.dispatch("onboarding/changeStep",f)}return(f,r)=>(s(),p("div",V,[e.previousStep?(s(),h(c(_),{key:0,appearance:"secondary",to:{name:e.previousStep},"data-testid":"onboarding-previous-button",onClick:r[0]||(r[0]=S=>v(e.previousStep))},{default:l(()=>[n(` +import{d as g,Z as m,o as s,j as p,m as a,U as i,l as n,i as c,k as u,q as b,$ as y,a0 as k,g as h,w as l,a1 as _,h as x,D as $,x as O,z as N,B as w}from"./index-cf0727dc.js";const B={class:"onboarding-heading"},q={class:"onboarding-title"},I={key:0,class:"onboarding-description"},C=g({__name:"OnboardingHeading",setup(o){const e=m();return(t,d)=>(s(),p("div",B,[a("h1",q,[i(t.$slots,"title",{},void 0,!0)]),n(),c(e).description?(s(),p("div",I,[i(t.$slots,"description",{},void 0,!0)])):u("",!0)]))}});const F=b(C,[["__scopeId","data-v-c37786ff"]]);function T(){return y(k.store)}const V={class:"onboarding-actions"},H={class:"button-list"},P=g({__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(o){const e=o,t=T();function d(){t.dispatch("onboarding/completeOnboarding")}function v(f){t.dispatch("onboarding/changeStep",f)}return(f,r)=>(s(),p("div",V,[e.previousStep?(s(),h(c(_),{key:0,appearance:"secondary",to:{name:e.previousStep},"data-testid":"onboarding-previous-button",onClick:r[0]||(r[0]=S=>v(e.previousStep))},{default:l(()=>[n(` Back `)]),_:1},8,["to"])):u("",!0),n(),a("div",H,[e.showSkip?(s(),h(c(_),{key:0,appearance:"outline","data-testid":"onboarding-skip-button",to:{name:"home"},onClick:d},{default:l(()=>[n(` Skip setup diff --git a/app/kuma-ui/pkg/resources/data/assets/OnboardingView-0fdf0602.js b/app/kuma-ui/pkg/resources/data/assets/OnboardingView-9b18497e.js similarity index 81% rename from app/kuma-ui/pkg/resources/data/assets/OnboardingView-0fdf0602.js rename to app/kuma-ui/pkg/resources/data/assets/OnboardingView-9b18497e.js index fd7d040112a8..f5047a1f077f 100644 --- a/app/kuma-ui/pkg/resources/data/assets/OnboardingView-0fdf0602.js +++ b/app/kuma-ui/pkg/resources/data/assets/OnboardingView-9b18497e.js @@ -1 +1 @@ -import{d as s,r as _,o as n,g as o,w as e,h as a,n as l,A as c,_ as p}from"./index-2bbe899f.js";const f=s({__name:"OnboardingView",setup(u){return(i,m)=>{const t=_("router-view");return n(),o(p,null,{default:e(()=>[a(c,null,{default:e(()=>[a(t,null,{default:e(({Component:r})=>[(n(),o(l(r)))]),_:1})]),_:1})]),_:1})}}});export{f as default}; +import{d as s,r as _,o as n,g as o,w as e,h as a,n as l,A as c,_ as p}from"./index-cf0727dc.js";const f=s({__name:"OnboardingView",setup(u){return(i,m)=>{const t=_("router-view");return n(),o(p,null,{default:e(()=>[a(c,null,{default:e(()=>[a(t,null,{default:e(({Component:r})=>[(n(),o(l(r)))]),_:1})]),_:1})]),_:1})}}});export{f as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-588bac1d.js b/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-5d90e188.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-588bac1d.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-5d90e188.js index 3abf4d220762..a96f09880362 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-588bac1d.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyDetailView-5d90e188.js @@ -1 +1 @@ -import{d as $,t as q,r as B,o as e,j as m,ax as L,ay as S,m as w,l as u,h as r,w as l,g as s,E as f,s as k,au as b,F as v,G as g,D as C,p as x,L as P,R as V,i as d,a5 as N,A,ab as E,C as F,_ as R}from"./index-2bbe899f.js";import{_ as j}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-535bde0f.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";import"./toYaml-4e00099e.js";const I={key:3,"data-testid":"affected-data-plane-proxies"},G=$({__name:"PolicyConnections",props:{mesh:{type:String,required:!0},policyPath:{type:String,required:!0},policyName:{type:String,required:!0}},setup(h){const a=h,c=q("");return(y,t)=>{const o=B("RouterLink");return e(),m(v,null,[L(w("input",{id:"dataplane-search","onUpdate:modelValue":t[0]||(t[0]=i=>c.value=i),type:"text",class:"k-input mt-4",placeholder:"Filter by name",required:"","data-testid":"dataplane-search-input"},null,512),[[S,c.value]]),u(),r(x,{src:`/meshes/${a.mesh}/policy-path/${a.policyPath}/policy/${a.policyName}/dataplanes`},{default:l(({data:i,error:n})=>[n?(e(),s(f,{key:0,error:n},null,8,["error"])):i===void 0?(e(),s(k,{key:1})):i.items.length===0?(e(),s(b,{key:2})):(e(),m("ul",I,[(e(!0),m(v,null,g(i.items.filter(p=>p.dataplane.name.toLowerCase().includes(c.value.toLowerCase())),(p,_)=>(e(),m("li",{key:_,"data-testid":"dataplane-name"},[r(o,{to:{name:"data-plane-detail-view",params:{mesh:p.dataplane.mesh,dataPlane:p.dataplane.name}}},{default:l(()=>[u(C(p.dataplane.name),1)]),_:2},1032,["to"])]))),128))]))]),_:1},8,["src"])],64)}}}),J={class:"stack"},K=$({__name:"PolicyDetails",props:{policy:{type:Object,required:!0},path:{type:String,required:!0}},setup(h){const a=h,{t:c}=P(),y=V();return(t,o)=>(e(),m("div",J,[r(d(N),null,{body:l(()=>[w("h2",null,C(d(c)("policies.detail.affected_dpps")),1),u(),r(G,{mesh:a.policy.mesh,"policy-name":a.policy.name,"policy-path":a.path},null,8,["mesh","policy-name","policy-path"])]),_:1}),u(),r(j,{id:"code-block-policy",resource:a.policy,"resource-fetcher":i=>d(y).getSinglePolicyEntity({name:a.policy.name,mesh:a.policy.mesh,path:a.path},i),"is-searchable":""},null,8,["resource","resource-fetcher"])]))}}),z=$({__name:"PolicyDetailView",setup(h){const{t:a}=P();return(c,y)=>(e(),s(R,{name:"policy-detail-view","data-testid":"policy-detail-view"},{default:l(({route:t})=>[r(x,{src:"/*/policy-types"},{default:l(({data:o,error:i})=>[i?(e(),s(f,{key:0,error:i},null,8,["error"])):o===void 0?(e(),s(k,{key:1})):o.policies.length===0?(e(),s(b,{key:2})):(e(!0),m(v,{key:3},g([o.policies.find(n=>n.path===t.params.policyPath)??o.policies[0]],n=>(e(),s(A,{key:n.name,breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:t.params.mesh}},text:t.params.mesh},{to:{name:"policies-list-view",params:{mesh:t.params.mesh,policyPath:t.params.policyPath}},text:d(a)("policies.routes.item.breadcrumbs")}]},{title:l(()=>[w("h1",null,[r(E,{text:t.params.policy},{default:l(()=>[r(F,{title:d(a)("policies.routes.item.title",{name:t.params.policy}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:l(()=>[u(),r(x,{src:`/meshes/${t.params.mesh}/policy-path/${n.path}/policy/${t.params.policy}`},{default:l(({data:p,error:_})=>[_?(e(),s(f,{key:0,error:_},null,8,["error"])):p===void 0?(e(),s(k,{key:1})):(e(),s(K,{key:2,policy:p,path:n.path,"data-testid":"detail-view-details"},null,8,["policy","path"]))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"]))),128))]),_:2},1024)]),_:1}))}});export{z as default}; +import{d as $,t as q,r as B,o as e,j as m,ax as L,ay as S,m as w,l as u,h as r,w as l,g as s,E as f,s as k,au as b,F as v,G as g,D as C,p as x,L as P,R as V,i as d,a5 as N,A,ab as E,C as F,_ as R}from"./index-cf0727dc.js";import{_ as j}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-7180eb37.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";import"./toYaml-4e00099e.js";const I={key:3,"data-testid":"affected-data-plane-proxies"},G=$({__name:"PolicyConnections",props:{mesh:{type:String,required:!0},policyPath:{type:String,required:!0},policyName:{type:String,required:!0}},setup(h){const a=h,c=q("");return(y,t)=>{const o=B("RouterLink");return e(),m(v,null,[L(w("input",{id:"dataplane-search","onUpdate:modelValue":t[0]||(t[0]=i=>c.value=i),type:"text",class:"k-input mt-4",placeholder:"Filter by name",required:"","data-testid":"dataplane-search-input"},null,512),[[S,c.value]]),u(),r(x,{src:`/meshes/${a.mesh}/policy-path/${a.policyPath}/policy/${a.policyName}/dataplanes`},{default:l(({data:i,error:n})=>[n?(e(),s(f,{key:0,error:n},null,8,["error"])):i===void 0?(e(),s(k,{key:1})):i.items.length===0?(e(),s(b,{key:2})):(e(),m("ul",I,[(e(!0),m(v,null,g(i.items.filter(p=>p.dataplane.name.toLowerCase().includes(c.value.toLowerCase())),(p,_)=>(e(),m("li",{key:_,"data-testid":"dataplane-name"},[r(o,{to:{name:"data-plane-detail-view",params:{mesh:p.dataplane.mesh,dataPlane:p.dataplane.name}}},{default:l(()=>[u(C(p.dataplane.name),1)]),_:2},1032,["to"])]))),128))]))]),_:1},8,["src"])],64)}}}),J={class:"stack"},K=$({__name:"PolicyDetails",props:{policy:{type:Object,required:!0},path:{type:String,required:!0}},setup(h){const a=h,{t:c}=P(),y=V();return(t,o)=>(e(),m("div",J,[r(d(N),null,{body:l(()=>[w("h2",null,C(d(c)("policies.detail.affected_dpps")),1),u(),r(G,{mesh:a.policy.mesh,"policy-name":a.policy.name,"policy-path":a.path},null,8,["mesh","policy-name","policy-path"])]),_:1}),u(),r(j,{id:"code-block-policy",resource:a.policy,"resource-fetcher":i=>d(y).getSinglePolicyEntity({name:a.policy.name,mesh:a.policy.mesh,path:a.path},i),"is-searchable":""},null,8,["resource","resource-fetcher"])]))}}),z=$({__name:"PolicyDetailView",setup(h){const{t:a}=P();return(c,y)=>(e(),s(R,{name:"policy-detail-view","data-testid":"policy-detail-view"},{default:l(({route:t})=>[r(x,{src:"/*/policy-types"},{default:l(({data:o,error:i})=>[i?(e(),s(f,{key:0,error:i},null,8,["error"])):o===void 0?(e(),s(k,{key:1})):o.policies.length===0?(e(),s(b,{key:2})):(e(!0),m(v,{key:3},g([o.policies.find(n=>n.path===t.params.policyPath)??o.policies[0]],n=>(e(),s(A,{key:n.name,breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:t.params.mesh}},text:t.params.mesh},{to:{name:"policies-list-view",params:{mesh:t.params.mesh,policyPath:t.params.policyPath}},text:d(a)("policies.routes.item.breadcrumbs")}]},{title:l(()=>[w("h1",null,[r(E,{text:t.params.policy},{default:l(()=>[r(F,{title:d(a)("policies.routes.item.title",{name:t.params.policy}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:l(()=>[u(),r(x,{src:`/meshes/${t.params.mesh}/policy-path/${n.path}/policy/${t.params.policy}`},{default:l(({data:p,error:_})=>[_?(e(),s(f,{key:0,error:_},null,8,["error"])):p===void 0?(e(),s(k,{key:1})):(e(),s(K,{key:2,policy:p,path:n.path,"data-testid":"detail-view-details"},null,8,["policy","path"]))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"]))),128))]),_:2},1024)]),_:1}))}});export{z as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-5dab4e6d.js b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-5aab37ec.js similarity index 98% rename from app/kuma-ui/pkg/resources/data/assets/PolicyListView-5dab4e6d.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyListView-5aab37ec.js index ef195fee2e75..edccd47575b7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyListView-5dab4e6d.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyListView-5aab37ec.js @@ -1 +1 @@ -import{d as $,L as x,e as L,r as w,o,j as g,h as c,w as a,F as R,G as I,x as N,i as e,l as s,D as n,m as r,a5 as T,g as p,aj as P,k as v,az as B,E,a6 as S,a7 as A,a1 as O,H as V,a8 as K,K as U,a9 as j,q as F,A as G,C as q,p as z,s as H,au as J,_ as X}from"./index-2bbe899f.js";import{P as Z}from"./PolicyTypeTag-2f81a718.js";const M={class:"policy-list-content"},Q={class:"policy-count"},W={class:"policy-list"},Y={class:"stack"},D={class:"description"},ee={class:"description-content"},te={class:"description-actions"},ae={class:"visually-hidden"},se={key:0},oe=$({__name:"PolicyList",props:{pageNumber:{},pageSize:{},policyTypes:{},currentPolicyType:{},policyCollection:{},policyError:{},meshInsight:{}},emits:["change"],setup(b,{emit:u}){const t=b,{t:l}=x(),f=L();return(d,y)=>{const h=w("RouterLink");return o(),g("div",M,[c(e(T),{class:"policy-type-list","data-testid":"policy-type-list"},{body:a(()=>[(o(!0),g(R,null,I(t.policyTypes,(m,_)=>{var i,k,C;return o(),g("div",{key:_,class:N(["policy-type-link-wrapper",{"policy-type-link-wrapper--is-active":m.path===t.currentPolicyType.path}])},[c(h,{class:"policy-type-link",to:{name:"policies-list-view",params:{mesh:e(f).params.mesh,policyPath:m.path}},"data-testid":`policy-type-link-${m.name}`},{default:a(()=>[s(n(m.name),1)]),_:2},1032,["to","data-testid"]),s(),r("div",Q,n(((C=(k=(i=t.meshInsight)==null?void 0:i.policies)==null?void 0:k[m.name])==null?void 0:C.total)??0),1)],2)}),128))]),_:1}),s(),r("div",W,[r("div",Y,[c(e(T),null,{body:a(()=>[r("div",D,[r("div",ee,[r("h3",null,[c(Z,{"policy-type":t.currentPolicyType.name},{default:a(()=>[s(n(e(l)("policies.collection.title",{name:t.currentPolicyType.name})),1)]),_:1},8,["policy-type"])]),s(),r("p",null,n(e(l)("policies.collection.description")),1)]),s(),r("div",te,[t.currentPolicyType.isExperimental?(o(),p(e(P),{key:0,appearance:"warning"},{default:a(()=>[s(n(e(l)("policies.collection.beta")),1)]),_:1})):v("",!0),s(),t.currentPolicyType.isInbound?(o(),p(e(P),{key:1,appearance:"neutral"},{default:a(()=>[s(n(e(l)("policies.collection.inbound")),1)]),_:1})):v("",!0),s(),t.currentPolicyType.isOutbound?(o(),p(e(P),{key:2,appearance:"neutral"},{default:a(()=>[s(n(e(l)("policies.collection.outbound")),1)]),_:1})):v("",!0),s(),c(B,{href:e(l)("policies.href.docs",{name:t.currentPolicyType.name}),"data-testid":"policy-documentation-link"},{default:a(()=>[r("span",ae,n(e(l)("common.documentation")),1)]),_:1},8,["href"])])])]),_:1}),s(),c(e(T),null,{body:a(()=>{var m,_;return[t.policyError!==void 0?(o(),p(E,{key:0,error:t.policyError},null,8,["error"])):(o(),p(S,{key:1,class:"policy-collection","data-testid":"policy-collection","empty-state-message":e(l)("common.emptyState.message",{type:`${t.currentPolicyType.name} policies`}),"empty-state-cta-to":e(l)("policies.href.docs",{name:t.currentPolicyType.name}),"empty-state-cta-text":e(l)("common.documentation"),headers:[{label:"Name",key:"name"},...t.currentPolicyType.isTargetRefBased?[{label:"Target ref",key:"targetRef"}]:[],{label:"Actions",key:"actions",hideLabel:!0}],"page-number":t.pageNumber,"page-size":t.pageSize,total:(m=t.policyCollection)==null?void 0:m.total,items:(_=t.policyCollection)==null?void 0:_.items,error:t.policyError,onChange:y[0]||(y[0]=i=>u("change",i))},{name:a(({rowValue:i})=>[c(h,{to:{name:"policy-detail-view",params:{mesh:e(f).params.mesh,policyPath:t.currentPolicyType.path,policy:i}}},{default:a(()=>[s(n(i),1)]),_:2},1032,["to"])]),targetRef:a(({row:i})=>[t.currentPolicyType.isTargetRefBased?(o(),p(e(P),{key:0,appearance:"neutral"},{default:a(()=>[s(n(i.spec.targetRef.kind),1),i.spec.targetRef.name?(o(),g("span",se,[s(":"),r("b",null,n(i.spec.targetRef.name),1)])):v("",!0)]),_:2},1024)):(o(),g(R,{key:1},[s(n(e(l)("common.detail.none")),1)],64))]),actions:a(({row:i})=>[c(e(A),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:a(()=>[c(e(O),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:a(()=>[c(e(V),{color:e(K),icon:"more",size:e(U)},null,8,["color","size"])]),_:1})]),items:a(()=>[c(e(j),{item:{to:{name:"policy-detail-view",params:{mesh:e(f).params.mesh,policyPath:t.currentPolicyType.path,policy:i.name}},label:e(l)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:1},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error"]))]}),_:1})])])])}}});const ie=F(oe,[["__scopeId","data-v-0706742e"]]),ne=$({__name:"PolicyListView",props:{page:{},size:{}},setup(b){const u=b,{t}=x();return(l,f)=>(o(),p(X,{name:"policies-list-view"},{default:a(({route:d})=>[c(G,null,{title:a(()=>[r("h2",null,[c(q,{title:e(t)("policies.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[s(),c(z,{src:"/*/policy-types"},{default:a(({data:y,error:h})=>[h?(o(),p(E,{key:0,error:h},null,8,["error"])):y===void 0?(o(),p(H,{key:1})):y.policies.length===0?(o(),p(J,{key:2})):(o(),p(z,{key:3,src:`/meshes/${d.params.mesh}/policy-path/${d.params.policyPath}?page=${u.page}&size=${u.size}`},{default:a(({data:m,error:_})=>[c(z,{src:`/mesh-insights/${d.params.mesh}`},{default:a(({data:i})=>[(o(),p(ie,{key:d.params.policyPath,"page-number":u.page,"page-size":u.size,"current-policy-type":y.policies.find(k=>k.path===d.params.policyPath)??y.policies[0],"policy-types":y.policies,"mesh-insight":i,"policy-collection":m,"policy-error":_,onChange:d.update},null,8,["page-number","page-size","current-policy-type","policy-types","mesh-insight","policy-collection","policy-error","onChange"]))]),_:2},1032,["src"])]),_:2},1032,["src"]))]),_:2},1024)]),_:2},1024)]),_:1}))}});export{ne as default}; +import{d as $,L as x,e as L,r as w,o,j as g,h as c,w as a,F as R,G as I,x as N,i as e,l as s,D as n,m as r,a5 as T,g as p,aj as P,k as v,az as B,E,a6 as S,a7 as A,a1 as O,H as V,a8 as K,K as U,a9 as j,q as F,A as G,C as q,p as z,s as H,au as J,_ as X}from"./index-cf0727dc.js";import{P as Z}from"./PolicyTypeTag-b78066df.js";const M={class:"policy-list-content"},Q={class:"policy-count"},W={class:"policy-list"},Y={class:"stack"},D={class:"description"},ee={class:"description-content"},te={class:"description-actions"},ae={class:"visually-hidden"},se={key:0},oe=$({__name:"PolicyList",props:{pageNumber:{},pageSize:{},policyTypes:{},currentPolicyType:{},policyCollection:{},policyError:{},meshInsight:{}},emits:["change"],setup(b,{emit:u}){const t=b,{t:l}=x(),f=L();return(d,y)=>{const h=w("RouterLink");return o(),g("div",M,[c(e(T),{class:"policy-type-list","data-testid":"policy-type-list"},{body:a(()=>[(o(!0),g(R,null,I(t.policyTypes,(m,_)=>{var i,k,C;return o(),g("div",{key:_,class:N(["policy-type-link-wrapper",{"policy-type-link-wrapper--is-active":m.path===t.currentPolicyType.path}])},[c(h,{class:"policy-type-link",to:{name:"policies-list-view",params:{mesh:e(f).params.mesh,policyPath:m.path}},"data-testid":`policy-type-link-${m.name}`},{default:a(()=>[s(n(m.name),1)]),_:2},1032,["to","data-testid"]),s(),r("div",Q,n(((C=(k=(i=t.meshInsight)==null?void 0:i.policies)==null?void 0:k[m.name])==null?void 0:C.total)??0),1)],2)}),128))]),_:1}),s(),r("div",W,[r("div",Y,[c(e(T),null,{body:a(()=>[r("div",D,[r("div",ee,[r("h3",null,[c(Z,{"policy-type":t.currentPolicyType.name},{default:a(()=>[s(n(e(l)("policies.collection.title",{name:t.currentPolicyType.name})),1)]),_:1},8,["policy-type"])]),s(),r("p",null,n(e(l)("policies.collection.description")),1)]),s(),r("div",te,[t.currentPolicyType.isExperimental?(o(),p(e(P),{key:0,appearance:"warning"},{default:a(()=>[s(n(e(l)("policies.collection.beta")),1)]),_:1})):v("",!0),s(),t.currentPolicyType.isInbound?(o(),p(e(P),{key:1,appearance:"neutral"},{default:a(()=>[s(n(e(l)("policies.collection.inbound")),1)]),_:1})):v("",!0),s(),t.currentPolicyType.isOutbound?(o(),p(e(P),{key:2,appearance:"neutral"},{default:a(()=>[s(n(e(l)("policies.collection.outbound")),1)]),_:1})):v("",!0),s(),c(B,{href:e(l)("policies.href.docs",{name:t.currentPolicyType.name}),"data-testid":"policy-documentation-link"},{default:a(()=>[r("span",ae,n(e(l)("common.documentation")),1)]),_:1},8,["href"])])])]),_:1}),s(),c(e(T),null,{body:a(()=>{var m,_;return[t.policyError!==void 0?(o(),p(E,{key:0,error:t.policyError},null,8,["error"])):(o(),p(S,{key:1,class:"policy-collection","data-testid":"policy-collection","empty-state-message":e(l)("common.emptyState.message",{type:`${t.currentPolicyType.name} policies`}),"empty-state-cta-to":e(l)("policies.href.docs",{name:t.currentPolicyType.name}),"empty-state-cta-text":e(l)("common.documentation"),headers:[{label:"Name",key:"name"},...t.currentPolicyType.isTargetRefBased?[{label:"Target ref",key:"targetRef"}]:[],{label:"Actions",key:"actions",hideLabel:!0}],"page-number":t.pageNumber,"page-size":t.pageSize,total:(m=t.policyCollection)==null?void 0:m.total,items:(_=t.policyCollection)==null?void 0:_.items,error:t.policyError,onChange:y[0]||(y[0]=i=>u("change",i))},{name:a(({rowValue:i})=>[c(h,{to:{name:"policy-detail-view",params:{mesh:e(f).params.mesh,policyPath:t.currentPolicyType.path,policy:i}}},{default:a(()=>[s(n(i),1)]),_:2},1032,["to"])]),targetRef:a(({row:i})=>[t.currentPolicyType.isTargetRefBased?(o(),p(e(P),{key:0,appearance:"neutral"},{default:a(()=>[s(n(i.spec.targetRef.kind),1),i.spec.targetRef.name?(o(),g("span",se,[s(":"),r("b",null,n(i.spec.targetRef.name),1)])):v("",!0)]),_:2},1024)):(o(),g(R,{key:1},[s(n(e(l)("common.detail.none")),1)],64))]),actions:a(({row:i})=>[c(e(A),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:a(()=>[c(e(O),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:a(()=>[c(e(V),{color:e(K),icon:"more",size:e(U)},null,8,["color","size"])]),_:1})]),items:a(()=>[c(e(j),{item:{to:{name:"policy-detail-view",params:{mesh:e(f).params.mesh,policyPath:t.currentPolicyType.path,policy:i.name}},label:e(l)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:1},8,["empty-state-message","empty-state-cta-to","empty-state-cta-text","headers","page-number","page-size","total","items","error"]))]}),_:1})])])])}}});const ie=F(oe,[["__scopeId","data-v-0706742e"]]),ne=$({__name:"PolicyListView",props:{page:{},size:{}},setup(b){const u=b,{t}=x();return(l,f)=>(o(),p(X,{name:"policies-list-view"},{default:a(({route:d})=>[c(G,null,{title:a(()=>[r("h2",null,[c(q,{title:e(t)("policies.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[s(),c(z,{src:"/*/policy-types"},{default:a(({data:y,error:h})=>[h?(o(),p(E,{key:0,error:h},null,8,["error"])):y===void 0?(o(),p(H,{key:1})):y.policies.length===0?(o(),p(J,{key:2})):(o(),p(z,{key:3,src:`/meshes/${d.params.mesh}/policy-path/${d.params.policyPath}?page=${u.page}&size=${u.size}`},{default:a(({data:m,error:_})=>[c(z,{src:`/mesh-insights/${d.params.mesh}`},{default:a(({data:i})=>[(o(),p(ie,{key:d.params.policyPath,"page-number":u.page,"page-size":u.size,"current-policy-type":y.policies.find(k=>k.path===d.params.policyPath)??y.policies[0],"policy-types":y.policies,"mesh-insight":i,"policy-collection":m,"policy-error":_,onChange:d.update},null,8,["page-number","page-size","current-policy-type","policy-types","mesh-insight","policy-collection","policy-error","onChange"]))]),_:2},1032,["src"])]),_:2},1032,["src"]))]),_:2},1024)]),_:2},1024)]),_:1}))}});export{ne as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-2f81a718.js b/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-b78066df.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-2f81a718.js rename to app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-b78066df.js index c5d774962842..6ae3d7eacbf2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-2f81a718.js +++ b/app/kuma-ui/pkg/resources/data/assets/PolicyTypeTag-b78066df.js @@ -1 +1 @@ -import{d as l,o as e,j as t,g as m,i as n,at as z,H as p,l as B,U as w,D as d,q as v}from"./index-2bbe899f.js";const a="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",c="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=",r="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",i="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=",g="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",C=""+new URL("Retry-8b2ec896.png",import.meta.url).href,D=""+new URL("Timeout-dcabf0f7.jpg",import.meta.url).href,f="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==",u="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=",T="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,G={class:"policy-type-tag"},E=["src"],O=l({__name:"PolicyTypeTag",props:{policyType:{type:String,required:!0}},setup(h){const A=h,s={CircuitBreaker:a,FaultInjection:c,HealthCheck:r,MeshAccessLog:f,MeshCircuitBreaker:a,MeshFaultInjection:c,MeshHealthCheck:r,MeshProxyPatch:i,MeshRateLimit:g,MeshRetry:C,MeshTimeout:D,MeshTrace:T,MeshTrafficPermission:o,ProxyTemplate:i,RateLimit:g,Retry:C,Timeout:D,TrafficLog:f,TrafficPermission:o,TrafficRoute:u,TrafficTrace:T,VirtualOutbound:Y};return(Q,I)=>(e(),t("span",G,[s[A.policyType]?(e(),t("img",{key:0,class:"policy-type-tag-icon",src:s[A.policyType],alt:""},null,8,E)):(e(),m(n(p),{key:1,icon:"brain",size:n(z)},null,8,["size"])),B(),w(Q.$slots,"default",{},()=>[B(d(A.policyType),1)],!0)]))}});const x=v(O,[["__scopeId","data-v-ea49933f"]]);export{x as P}; +import{d as l,o as e,j as t,g as m,i as n,at as z,H as p,l as B,U as w,D as d,q as v}from"./index-cf0727dc.js";const a="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",c="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=",r="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",i="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=",g="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",C=""+new URL("Retry-8b2ec896.png",import.meta.url).href,D=""+new URL("Timeout-dcabf0f7.jpg",import.meta.url).href,f="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==",u="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=",T="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,G={class:"policy-type-tag"},E=["src"],O=l({__name:"PolicyTypeTag",props:{policyType:{type:String,required:!0}},setup(h){const A=h,s={CircuitBreaker:a,FaultInjection:c,HealthCheck:r,MeshAccessLog:f,MeshCircuitBreaker:a,MeshFaultInjection:c,MeshHealthCheck:r,MeshProxyPatch:i,MeshRateLimit:g,MeshRetry:C,MeshTimeout:D,MeshTrace:T,MeshTrafficPermission:o,ProxyTemplate:i,RateLimit:g,Retry:C,Timeout:D,TrafficLog:f,TrafficPermission:o,TrafficRoute:u,TrafficTrace:T,VirtualOutbound:Y};return(Q,I)=>(e(),t("span",G,[s[A.policyType]?(e(),t("img",{key:0,class:"policy-type-tag-icon",src:s[A.policyType],alt:""},null,8,E)):(e(),m(n(p),{key:1,icon:"brain",size:n(z)},null,8,["size"])),B(),w(Q.$slots,"default",{},()=>[B(d(A.policyType),1)],!0)]))}});const x=v(O,[["__scopeId","data-v-ea49933f"]]);export{x as P}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-535bde0f.js b/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-7180eb37.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-535bde0f.js rename to app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-7180eb37.js index eea2a3ea135d..d663d7473c56 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-535bde0f.js +++ b/app/kuma-ui/pkg/resources/data/assets/ResourceCodeBlock.vue_vue_type_style_index_0_lang-7180eb37.js @@ -1 +1 @@ -import{d as m,L as p,f as y,o as f,g as h,w as a,h as n,i as o,af as b,aq as _,l as x,D as g}from"./index-2bbe899f.js";import{_ as k}from"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.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 e=s,{t:r}=p(),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)=>(f(),h(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(b),{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,L as p,f as y,o as f,g as h,w as a,h as n,i as o,af as b,aq as _,l as x,D as g}from"./index-cf0727dc.js";import{_ as k}from"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.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 e=s,{t:r}=p(),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)=>(f(),h(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(b),{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-7dad6aff.js b/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-4bb7e12c.js similarity index 83% rename from app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-7dad6aff.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-4bb7e12c.js index 05d0489d8003..d41c8f884415 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-7dad6aff.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceConfigView-4bb7e12c.js @@ -1 +1 @@ -import{d as u,L as f,R as d,r as p,o as a,g as r,w as e,h as o,A as h,m as v,C as k,i,l as g,p as w,E as C,s as $,_ as V}from"./index-2bbe899f.js";import{_ as y}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-535bde0f.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";import"./toYaml-4e00099e.js";const I=u({__name:"ServiceConfigView",setup(A){const{t:n}=f(),m=d();return(B,b)=>{const _=p("KCard");return a(),r(V,{name:"service-config-view","data-testid":"service-config-view"},{default:e(({route:t})=>[o(h,null,{title:e(()=>[v("h2",null,[o(k,{title:i(n)("services.routes.item.navigation.service-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[g(),o(_,null,{body:e(()=>[o(w,{src:`/meshes/${t.params.mesh}/external-services/${t.params.service}`},{default:e(({data:s,error:c})=>[c?(a(),r(C,{key:0,error:c},null,8,["error"])):s===void 0?(a(),r($,{key:1})):(a(),r(y,{key:2,id:"code-block-service",resource:s,"resource-fetcher":l=>i(m).getExternalService({mesh:s.mesh,name:s.name},l),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{I as default}; +import{d as u,L as f,R as d,r as p,o as a,g as r,w as e,h as o,A as h,m as v,C as k,i,l as g,p as w,E as C,s as $,_ as V}from"./index-cf0727dc.js";import{_ as y}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-7180eb37.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";import"./toYaml-4e00099e.js";const I=u({__name:"ServiceConfigView",setup(A){const{t:n}=f(),m=d();return(B,b)=>{const _=p("KCard");return a(),r(V,{name:"service-config-view","data-testid":"service-config-view"},{default:e(({route:t})=>[o(h,null,{title:e(()=>[v("h2",null,[o(k,{title:i(n)("services.routes.item.navigation.service-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[g(),o(_,null,{body:e(()=>[o(w,{src:`/meshes/${t.params.mesh}/external-services/${t.params.service}`},{default:e(({data:s,error:c})=>[c?(a(),r(C,{key:0,error:c},null,8,["error"])):s===void 0?(a(),r($,{key:1})):(a(),r(y,{key:2,id:"code-block-service",resource:s,"resource-fetcher":l=>i(m).getExternalService({mesh:s.mesh,name:s.name},l),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1})}}});export{I as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-1609bf62.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-f00b491b.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-1609bf62.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-f00b491b.js index 63dfc34b45ee..fd2de81ba25a 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-1609bf62.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDataPlaneProxiesView-f00b491b.js @@ -1 +1 @@ -import{d as h,L as b,o as l,g as n,w as a,h as s,A as w,m as x,C as k,i as c,l as p,p as S,j as z,F as $,G as q,a5 as C,ah as P,D as V,k as B,_ as T,q as F}from"./index-2bbe899f.js";import{D as N,K as A}from"./KFilterBar-cf6a2e5a.js";import"./dataplane-30467516.js";const L=h({__name:"ServiceDataPlaneProxiesView",props:{page:{},size:{},search:{},query:{},gatewayType:{}},setup(_){const r=_,{t:y}=b();return(I,J)=>(l(),n(T,{name:"service-data-plane-proxies-view","data-testid":"service-data-plane-proxies-view"},{default:a(({route:i})=>[s(w,null,{title:a(()=>[x("h2",null,[s(k,{title:c(y)("services.routes.item.navigation.service-data-plane-proxies-view"),render:!0},null,8,["title"])])]),default:a(()=>[p(),s(S,{src:`/meshes/${i.params.mesh}/dataplanes/for/${i.params.service}/of/${r.gatewayType}?page=${r.page}&size=${r.size}&search=${r.search}`},{default:a(({data:t,error:f})=>{var u,d,m,g;return[(l(!0),z($,null,q([typeof((g=(m=(d=(u=t==null?void 0:t.items)==null?void 0:u[0])==null?void 0:d.dataplane)==null?void 0:m.networking)==null?void 0:g.gateway)>"u"],o=>(l(),n(c(C),{key:o},{body:a(()=>[s(N,{"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":r.page,"page-size":r.size,total:t==null?void 0:t.total,items:t==null?void 0:t.items,error:f,gateways:o,onChange:({page:e,size:v})=>{i.update({page:String(e),size:String(v)})}},{toolbar:a(()=>[s(A,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:r.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:e=>i.update({query:e.query,s:e.query.length>0?JSON.stringify(e.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),p(),o?(l(),n(c(P),{key:0,label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(e=>({...e,selected:e.value===r.gatewayType})),appearance:"select",onSelected:e=>i.update({gatewayType:String(e.value)})},{"item-template":a(({item:e})=>[p(V(e.label),1)]),_:2},1032,["items","onSelected"])):B("",!0)]),_:2},1032,["page-number","page-size","total","items","error","gateways","onChange"])]),_:2},1024))),128))]}),_:2},1032,["src"])]),_:2},1024)]),_:1}))}});const G=F(L,[["__scopeId","data-v-2791905d"]]);export{G as default}; +import{d as h,L as b,o as l,g as n,w as a,h as s,A as w,m as x,C as k,i as c,l as p,p as S,j as z,F as $,G as q,a5 as C,ah as P,D as V,k as B,_ as T,q as F}from"./index-cf0727dc.js";import{D as N,K as A}from"./KFilterBar-aaf33272.js";import"./dataplane-30467516.js";const L=h({__name:"ServiceDataPlaneProxiesView",props:{page:{},size:{},search:{},query:{},gatewayType:{}},setup(_){const r=_,{t:y}=b();return(I,J)=>(l(),n(T,{name:"service-data-plane-proxies-view","data-testid":"service-data-plane-proxies-view"},{default:a(({route:i})=>[s(w,null,{title:a(()=>[x("h2",null,[s(k,{title:c(y)("services.routes.item.navigation.service-data-plane-proxies-view"),render:!0},null,8,["title"])])]),default:a(()=>[p(),s(S,{src:`/meshes/${i.params.mesh}/dataplanes/for/${i.params.service}/of/${r.gatewayType}?page=${r.page}&size=${r.size}&search=${r.search}`},{default:a(({data:t,error:f})=>{var u,d,m,g;return[(l(!0),z($,null,q([typeof((g=(m=(d=(u=t==null?void 0:t.items)==null?void 0:u[0])==null?void 0:d.dataplane)==null?void 0:m.networking)==null?void 0:g.gateway)>"u"],o=>(l(),n(c(C),{key:o},{body:a(()=>[s(N,{"data-testid":"data-plane-collection",class:"data-plane-collection","page-number":r.page,"page-size":r.size,total:t==null?void 0:t.total,items:t==null?void 0:t.items,error:f,gateways:o,onChange:({page:e,size:v})=>{i.update({page:String(e),size:String(v)})}},{toolbar:a(()=>[s(A,{class:"data-plane-proxy-filter",placeholder:"tag: 'kuma.io/protocol: http'",query:r.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:e=>i.update({query:e.query,s:e.query.length>0?JSON.stringify(e.fields):""})},null,8,["placeholder","query","fields","onFieldsChange"]),p(),o?(l(),n(c(P),{key:0,label:"Type","overlay-label":!0,items:[{label:"All",value:"all"},{label:"Builtin",value:"builtin"},{label:"Delegated",value:"delegated"}].map(e=>({...e,selected:e.value===r.gatewayType})),appearance:"select",onSelected:e=>i.update({gatewayType:String(e.value)})},{"item-template":a(({item:e})=>[p(V(e.label),1)]),_:2},1032,["items","onSelected"])):B("",!0)]),_:2},1032,["page-number","page-size","total","items","error","gateways","onChange"])]),_:2},1024))),128))]}),_:2},1032,["src"])]),_:2},1024)]),_:1}))}});const G=F(L,[["__scopeId","data-v-2791905d"]]);export{G as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-df9470ef.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-303cd731.js similarity index 92% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-df9470ef.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-303cd731.js index 93168cbcabdf..136c2e60402e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-df9470ef.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailTabsView-303cd731.js @@ -1 +1 @@ -import{d as h,L as w,aa as x,r as y,o as i,g as c,w as a,h as t,A as T,i as d,m as k,ab as C,C as N,l as v,p as V,E as $,s as B,j as g,F as R,n as E,_ as A}from"./index-2bbe899f.js";import{N as D}from"./NavTabs-d30389b8.js";const W=h({__name:"ServiceDetailTabsView",setup(F){const{t:o}=w(),f=x();function _(n){var m;return(((m=f.getRoutes().find(e=>e.name==="service-detail-tabs-view"))==null?void 0:m.children)??[]).filter(e=>!((n.serviceType===void 0||n.serviceType==="internal")&&e.name==="service-config-view"||n.serviceType==="external"&&e.name==="service-data-plane-proxies-view")).map(e=>{var u,p;const s=typeof e.name>"u"?(u=e.children)==null?void 0:u[0]:e,r=s.name,l=((p=s.meta)==null?void 0:p.module)??"";return{title:o(`services.routes.item.navigation.${r}`),routeName:r,module:l}})}return(n,b)=>{const m=y("RouterView");return i(),c(A,{name:"service-detail-tabs-view","data-testid":"service-detail-tabs-view"},{default:a(({route:e})=>[t(T,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:e.params.mesh}},text:e.params.mesh},{to:{name:"services-list-view",params:{mesh:e.params.mesh}},text:d(o)("services.routes.item.breadcrumbs")}]},{title:a(()=>[k("h1",null,[t(C,{text:e.params.service},{default:a(()=>[t(N,{title:d(o)("services.routes.item.title",{name:e.params.service}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:a(()=>[v(),t(V,{src:`/meshes/${e.params.mesh}/service-insights/${e.params.service}`},{default:a(({data:s,error:r})=>[r?(i(),c($,{key:0,error:r},null,8,["error"])):s===void 0?(i(),c(B,{key:1})):(i(),g(R,{key:2},[t(D,{class:"route-service-detail-view-tabs",tabs:_(s)},null,8,["tabs"]),v(),t(m,null,{default:a(l=>[(i(),c(E(l.Component),{data:s},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{W as default}; +import{d as h,L as w,aa as x,r as y,o as i,g as c,w as a,h as t,A as T,i as d,m as k,ab as C,C as N,l as v,p as V,E as $,s as B,j as g,F as R,n as E,_ as A}from"./index-cf0727dc.js";import{N as D}from"./NavTabs-048398ef.js";const W=h({__name:"ServiceDetailTabsView",setup(F){const{t:o}=w(),f=x();function _(n){var m;return(((m=f.getRoutes().find(e=>e.name==="service-detail-tabs-view"))==null?void 0:m.children)??[]).filter(e=>!((n.serviceType===void 0||n.serviceType==="internal")&&e.name==="service-config-view"||n.serviceType==="external"&&e.name==="service-data-plane-proxies-view")).map(e=>{var u,p;const s=typeof e.name>"u"?(u=e.children)==null?void 0:u[0]:e,r=s.name,l=((p=s.meta)==null?void 0:p.module)??"";return{title:o(`services.routes.item.navigation.${r}`),routeName:r,module:l}})}return(n,b)=>{const m=y("RouterView");return i(),c(A,{name:"service-detail-tabs-view","data-testid":"service-detail-tabs-view"},{default:a(({route:e})=>[t(T,{breadcrumbs:[{to:{name:"mesh-detail-view",params:{mesh:e.params.mesh}},text:e.params.mesh},{to:{name:"services-list-view",params:{mesh:e.params.mesh}},text:d(o)("services.routes.item.breadcrumbs")}]},{title:a(()=>[k("h1",null,[t(C,{text:e.params.service},{default:a(()=>[t(N,{title:d(o)("services.routes.item.title",{name:e.params.service}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:a(()=>[v(),t(V,{src:`/meshes/${e.params.mesh}/service-insights/${e.params.service}`},{default:a(({data:s,error:r})=>[r?(i(),c($,{key:0,error:r},null,8,["error"])):s===void 0?(i(),c(B,{key:1})):(i(),g(R,{key:2},[t(D,{class:"route-service-detail-view-tabs",tabs:_(s)},null,8,["tabs"]),v(),t(m,null,{default:a(l=>[(i(),c(E(l.Component),{data:s},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{W as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-4da9cb0f.js b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-41e42da7.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-4da9cb0f.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-41e42da7.js index 4485593d0a98..85ac8e53fd2e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-4da9cb0f.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceDetailView-41e42da7.js @@ -1 +1 @@ -import{d as v,L as y,o as s,j as m,h as r,w as e,m as g,ae as u,l as a,D as o,i as l,g as i,k,a5 as x,Y as f,ab as S,F as $,ai as b,A as I,p as w,E as B,s as D,_ as V}from"./index-2bbe899f.js";import{T as C}from"./TagList-1860ca31.js";const T={class:"stack"},E={class:"columns",style:{"--columns":"2"}},N=v({__name:"ExternalServiceDetails",props:{externalService:{}},setup(c){const t=c,{t:n}=y();return(h,_)=>(s(),m("div",T,[r(l(x),null,{body:e(()=>[g("div",E,[r(u,null,{title:e(()=>[a(o(l(n)("http.api.property.address")),1)]),body:e(()=>[a(o(t.externalService.networking.address),1)]),_:1}),a(),t.externalService.tags!==null?(s(),i(u,{key:0},{title:e(()=>[a(o(l(n)("http.api.property.tags")),1)]),body:e(()=>[r(C,{tags:t.externalService.tags},null,8,["tags"])]),_:1})):k("",!0)])]),_:1})]))}}),P={class:"stack"},A={class:"columns",style:{"--columns":"3"}},F=v({__name:"ServiceInsightDetails",props:{serviceInsight:{}},setup(c){const t=c,{t:n}=y();return(h,_)=>(s(),m("div",P,[r(l(x),null,{body:e(()=>{var p,d;return[g("div",A,[r(u,null,{title:e(()=>[a(o(l(n)("http.api.property.status")),1)]),body:e(()=>[r(f,{status:t.serviceInsight.status??"not_available"},null,8,["status"])]),_:1}),a(),r(u,null,{title:e(()=>[a(o(l(n)("http.api.property.address")),1)]),body:e(()=>[t.serviceInsight.addressPort?(s(),i(S,{key:0,text:t.serviceInsight.addressPort},null,8,["text"])):(s(),m($,{key:1},[a(o(l(n)("common.detail.none")),1)],64))]),_:1}),a(),r(b,{online:((p=t.serviceInsight.dataplanes)==null?void 0:p.online)??0,total:((d=t.serviceInsight.dataplanes)==null?void 0:d.total)??0},{title:e(()=>[a(o(l(n)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])])]}),_:1})]))}}),J=v({__name:"ServiceDetailView",props:{data:{}},setup(c){const t=c;return(n,h)=>(s(),i(V,{name:"service-detail-view","data-testid":"service-detail-view"},{default:e(({route:_})=>[r(I,null,{default:e(()=>[t.data.serviceType==="external"?(s(),i(w,{key:0,src:`/meshes/${_.params.mesh}/external-services/${_.params.service}`},{default:e(({data:p,error:d})=>[d?(s(),i(B,{key:0,error:d},null,8,["error"])):p===void 0?(s(),i(D,{key:1})):(s(),i(N,{key:2,"external-service":p},null,8,["external-service"]))]),_:2},1032,["src"])):(s(),i(F,{key:1,"service-insight":n.data},null,8,["service-insight"]))]),_:2},1024)]),_:1}))}});export{J as default}; +import{d as v,L as y,o as s,j as m,h as r,w as e,m as g,ae as u,l as a,D as o,i as l,g as i,k,a5 as x,Y as f,ab as S,F as $,ai as b,A as I,p as w,E as B,s as D,_ as V}from"./index-cf0727dc.js";import{T as C}from"./TagList-ae0077fe.js";const T={class:"stack"},E={class:"columns",style:{"--columns":"2"}},N=v({__name:"ExternalServiceDetails",props:{externalService:{}},setup(c){const t=c,{t:n}=y();return(h,_)=>(s(),m("div",T,[r(l(x),null,{body:e(()=>[g("div",E,[r(u,null,{title:e(()=>[a(o(l(n)("http.api.property.address")),1)]),body:e(()=>[a(o(t.externalService.networking.address),1)]),_:1}),a(),t.externalService.tags!==null?(s(),i(u,{key:0},{title:e(()=>[a(o(l(n)("http.api.property.tags")),1)]),body:e(()=>[r(C,{tags:t.externalService.tags},null,8,["tags"])]),_:1})):k("",!0)])]),_:1})]))}}),P={class:"stack"},A={class:"columns",style:{"--columns":"3"}},F=v({__name:"ServiceInsightDetails",props:{serviceInsight:{}},setup(c){const t=c,{t:n}=y();return(h,_)=>(s(),m("div",P,[r(l(x),null,{body:e(()=>{var p,d;return[g("div",A,[r(u,null,{title:e(()=>[a(o(l(n)("http.api.property.status")),1)]),body:e(()=>[r(f,{status:t.serviceInsight.status??"not_available"},null,8,["status"])]),_:1}),a(),r(u,null,{title:e(()=>[a(o(l(n)("http.api.property.address")),1)]),body:e(()=>[t.serviceInsight.addressPort?(s(),i(S,{key:0,text:t.serviceInsight.addressPort},null,8,["text"])):(s(),m($,{key:1},[a(o(l(n)("common.detail.none")),1)],64))]),_:1}),a(),r(b,{online:((p=t.serviceInsight.dataplanes)==null?void 0:p.online)??0,total:((d=t.serviceInsight.dataplanes)==null?void 0:d.total)??0},{title:e(()=>[a(o(l(n)("http.api.property.dataPlaneProxies")),1)]),_:1},8,["online","total"])])]}),_:1})]))}}),J=v({__name:"ServiceDetailView",props:{data:{}},setup(c){const t=c;return(n,h)=>(s(),i(V,{name:"service-detail-view","data-testid":"service-detail-view"},{default:e(({route:_})=>[r(I,null,{default:e(()=>[t.data.serviceType==="external"?(s(),i(w,{key:0,src:`/meshes/${_.params.mesh}/external-services/${_.params.service}`},{default:e(({data:p,error:d})=>[d?(s(),i(B,{key:0,error:d},null,8,["error"])):p===void 0?(s(),i(D,{key:1})):(s(),i(N,{key:2,"external-service":p},null,8,["external-service"]))]),_:2},1032,["src"])):(s(),i(F,{key:1,"service-insight":n.data},null,8,["service-insight"]))]),_:2},1024)]),_:1}))}});export{J as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ServiceListView-072d3644.js b/app/kuma-ui/pkg/resources/data/assets/ServiceListView-a0323091.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/ServiceListView-072d3644.js rename to app/kuma-ui/pkg/resources/data/assets/ServiceListView-a0323091.js index ed79504d7606..0690363638d5 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ServiceListView-072d3644.js +++ b/app/kuma-ui/pkg/resources/data/assets/ServiceListView-a0323091.js @@ -1 +1 @@ -import{d as g,L as k,r as b,o,g as p,w as s,h as t,p as f,A as h,m as w,C as x,i as a,l,a5 as C,E as S,a6 as z,D as i,ab as L,j as _,F as u,Y as T,a7 as E,a1 as B,H as I,a8 as N,K as A,a9 as R,_ as V,q as $}from"./index-2bbe899f.js";const O=g({__name:"ServiceListView",props:{page:{},size:{},mesh:{}},setup(d){const c=d,{t:r}=k();return(D,K)=>{const v=b("RouterLink");return o(),p(V,{name:"services-list-view"},{default:s(({route:y})=>[t(f,{src:`/meshes/${c.mesh}/service-insights?page=${c.page}&size=${c.size}`},{default:s(({data:n,error:m})=>[t(h,null,{title:s(()=>[w("h2",null,[t(x,{title:a(r)("services.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[l(),t(a(C),null,{body:s(()=>[m!==void 0?(o(),p(S,{key:0,error:m},null,8,["error"])):(o(),p(z,{key:1,class:"service-collection","data-testid":"service-collection","empty-state-message":a(r)("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:"Actions",key:"actions",hideLabel:!0}],"page-number":c.page,"page-size":c.size,total:n==null?void 0:n.total,items:n==null?void 0:n.items,error:m,onChange:y.update},{name:s(({row:e})=>[t(v,{to:{name:"service-detail-view",params:{service:e.name}}},{default:s(()=>[l(i(e.name),1)]),_:2},1032,["to"])]),serviceType:s(({rowValue:e})=>[l(i(e||"internal"),1)]),addressPort:s(({rowValue:e})=>[e?(o(),p(L,{key:0,text:e},null,8,["text"])):(o(),_(u,{key:1},[l(i(a(r)("common.collection.none")),1)],64))]),online:s(({row:e})=>[e.dataplanes?(o(),_(u,{key:0},[l(i(e.dataplanes.online||0)+" / "+i(e.dataplanes.total||0),1)],64)):(o(),_(u,{key:1},[l(i(a(r)("common.collection.none")),1)],64))]),status:s(({row:e})=>[t(T,{status:e.status||"not_available"},null,8,["status"])]),actions:s(({row:e})=>[t(a(E),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:s(()=>[t(a(B),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:s(()=>[t(a(I),{color:a(N),icon:"more",size:a(A)},null,8,["color","size"])]),_:1})]),items:s(()=>[t(a(R),{item:{to:{name:"service-detail-view",params:{service:e.name}},label:a(r)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["empty-state-message","headers","page-number","page-size","total","items","error","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:1})}}});const U=$(O,[["__scopeId","data-v-8b46a6c8"]]);export{U as default}; +import{d as g,L as k,r as b,o,g as p,w as s,h as t,p as f,A as h,m as w,C as x,i as a,l,a5 as C,E as S,a6 as z,D as i,ab as L,j as _,F as u,Y as T,a7 as E,a1 as B,H as I,a8 as N,K as A,a9 as R,_ as V,q as $}from"./index-cf0727dc.js";const O=g({__name:"ServiceListView",props:{page:{},size:{},mesh:{}},setup(d){const c=d,{t:r}=k();return(D,K)=>{const v=b("RouterLink");return o(),p(V,{name:"services-list-view"},{default:s(({route:y})=>[t(f,{src:`/meshes/${c.mesh}/service-insights?page=${c.page}&size=${c.size}`},{default:s(({data:n,error:m})=>[t(h,null,{title:s(()=>[w("h2",null,[t(x,{title:a(r)("services.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[l(),t(a(C),null,{body:s(()=>[m!==void 0?(o(),p(S,{key:0,error:m},null,8,["error"])):(o(),p(z,{key:1,class:"service-collection","data-testid":"service-collection","empty-state-message":a(r)("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:"Actions",key:"actions",hideLabel:!0}],"page-number":c.page,"page-size":c.size,total:n==null?void 0:n.total,items:n==null?void 0:n.items,error:m,onChange:y.update},{name:s(({row:e})=>[t(v,{to:{name:"service-detail-view",params:{service:e.name}}},{default:s(()=>[l(i(e.name),1)]),_:2},1032,["to"])]),serviceType:s(({rowValue:e})=>[l(i(e||"internal"),1)]),addressPort:s(({rowValue:e})=>[e?(o(),p(L,{key:0,text:e},null,8,["text"])):(o(),_(u,{key:1},[l(i(a(r)("common.collection.none")),1)],64))]),online:s(({row:e})=>[e.dataplanes?(o(),_(u,{key:0},[l(i(e.dataplanes.online||0)+" / "+i(e.dataplanes.total||0),1)],64)):(o(),_(u,{key:1},[l(i(a(r)("common.collection.none")),1)],64))]),status:s(({row:e})=>[t(T,{status:e.status||"not_available"},null,8,["status"])]),actions:s(({row:e})=>[t(a(E),{class:"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:s(()=>[t(a(B),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:s(()=>[t(a(I),{color:a(N),icon:"more",size:a(A)},null,8,["color","size"])]),_:1})]),items:s(()=>[t(a(R),{item:{to:{name:"service-detail-view",params:{service:e.name}},label:a(r)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["empty-state-message","headers","page-number","page-size","total","items","error","onChange"]))]),_:2},1024)]),_:2},1024)]),_:2},1032,["src"])]),_:1})}}});const U=$(O,[["__scopeId","data-v-8b46a6c8"]]);export{U as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-30c5086e.js b/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-bbc2cd69.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-30c5086e.js rename to app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-bbc2cd69.js index 72b4616a442a..aae838c044e0 100644 --- a/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-30c5086e.js +++ b/app/kuma-ui/pkg/resources/data/assets/SubscriptionList.vue_vue_type_script_setup_true_lang-bbc2cd69.js @@ -1,3 +1,3 @@ -import{A as L,a as j}from"./AccordionList-2acfc916.js";import{d as S,L as x,f as b,o as c,j as u,g,w as v,h as f,i as a,H as B,l as n,D as s,ag as P,m as t,F as y,G as A,q as T,k as $,z as R,B as H}from"./index-2bbe899f.js";const N={class:"stack"},U={key:1},V={class:"row"},q={class:"header"},C={class:"header"},O=["data-testid"],F={class:"type"},z=S({__name:"SubscriptionDetails",props:{subscription:{type:Object,required:!0},isDiscoverySubscription:{type:Boolean,default:!1}},setup(r){const e=r,{t:o}=x(),p=b(()=>{var d;let l;if("controlPlaneInstanceId"in e.subscription){const{lastUpdateTime:i,total:_,...m}=e.subscription.status;l=m}else l=((d=e.subscription.status)==null?void 0:d.stat)??{};return l?Object.entries(l).map(([i,_])=>{const{responsesSent:m="0",responsesAcknowledged:h="0",responsesRejected:I="0"}=_;return{type:i,responsesSent:m,responsesAcknowledged:h,responsesRejected:I}}):[]});return(l,d)=>(c(),u("div",N,[p.value.length===0?(c(),g(a(P),{key:0,appearance:"info"},{alertIcon:v(()=>[f(a(B),{icon:"portal"})]),alertMessage:v(()=>[n(s(a(o)("common.detail.subscriptions.no_stats",{id:e.subscription.id})),1)]),_:1})):(c(),u("div",U,[t("div",V,[t("div",q,s(a(o)("common.detail.subscriptions.type")),1),n(),t("div",C,s(a(o)("common.detail.subscriptions.responses_sent_acknowledged")),1)]),n(),(c(!0),u(y,null,A(p.value,(i,_)=>(c(),u("div",{key:_,class:"row","data-testid":`subscription-status-${i.type}`},[t("div",F,s(a(o)(`http.api.property.${i.type}`)),1),n(),t("div",null,s(i.responsesSent)+"/"+s(i.responsesAcknowledged),1)],8,O))),128))]))]))}});const E=T(z,[["__scopeId","data-v-ae4644aa"]]),G=""+new URL("icon-deployed-code-e3c999ba.svg",import.meta.url).href,M=""+new URL("icon-connected-037e001a.svg",import.meta.url).href,J=""+new URL("icon-disconnected-ba3c2624.svg",import.meta.url).href,k=r=>(R("data-v-0cbdfb03"),r=r(),H(),r),K={class:"subscription-header"},Q={class:"instance-id"},W=k(()=>t("img",{src:G},null,-1)),X=k(()=>t("img",{src:M},null,-1)),Y={key:0},Z=k(()=>t("img",{src:J},null,-1)),ss={class:"responses-sent-acknowledged"},es=S({__name:"SubscriptionHeader",props:{subscription:{type:Object,required:!0}},setup(r){const e=r,{t:o,formatIsoDate:p}=x(),l=b(()=>"globalInstanceId"in e.subscription?e.subscription.globalInstanceId:null),d=b(()=>"controlPlaneInstanceId"in e.subscription?e.subscription.controlPlaneInstanceId:null),i=b(()=>e.subscription.connectTime?p(e.subscription.connectTime):null),_=b(()=>e.subscription.disconnectTime?p(e.subscription.disconnectTime):null),m=b(()=>{var w;const{responsesSent:h=0,responsesAcknowledged:I=0,responsesRejected:D=0}=((w=e.subscription.status)==null?void 0:w.total)??{};return{responsesSent:h,responsesAcknowledged:I,responsesRejected:D}});return(h,I)=>(c(),u("header",K,[t("span",Q,[W,n(),l.value?(c(),u(y,{key:0},[t("b",null,s(a(o)("http.api.property.globalInstanceId")),1),n(": "+s(l.value),1)],64)):d.value?(c(),u(y,{key:1},[t("b",null,s(a(o)("http.api.property.controlPlaneInstanceId")),1),n(": "+s(d.value),1)],64)):$("",!0)]),n(),t("span",null,[X,n(),t("b",null,s(a(o)("common.detail.subscriptions.connect_time")),1),n(": "+s(i.value),1)]),n(),_.value?(c(),u("span",Y,[Z,n(),t("b",null,s(a(o)("common.detail.subscriptions.disconnect_time")),1),n(": "+s(_.value),1)])):$("",!0),n(),t("span",ss,s(a(o)("common.detail.subscriptions.responses_sent_acknowledged"))+`: +import{A as L,a as j}from"./AccordionList-6ce6736a.js";import{d as S,L as x,f as b,o as c,j as u,g,w as v,h as f,i as a,H as B,l as n,D as s,ag as P,m as t,F as y,G as A,q as T,k as $,z as R,B as H}from"./index-cf0727dc.js";const N={class:"stack"},U={key:1},V={class:"row"},q={class:"header"},C={class:"header"},O=["data-testid"],F={class:"type"},z=S({__name:"SubscriptionDetails",props:{subscription:{type:Object,required:!0},isDiscoverySubscription:{type:Boolean,default:!1}},setup(r){const e=r,{t:o}=x(),p=b(()=>{var d;let l;if("controlPlaneInstanceId"in e.subscription){const{lastUpdateTime:i,total:_,...m}=e.subscription.status;l=m}else l=((d=e.subscription.status)==null?void 0:d.stat)??{};return l?Object.entries(l).map(([i,_])=>{const{responsesSent:m="0",responsesAcknowledged:h="0",responsesRejected:I="0"}=_;return{type:i,responsesSent:m,responsesAcknowledged:h,responsesRejected:I}}):[]});return(l,d)=>(c(),u("div",N,[p.value.length===0?(c(),g(a(P),{key:0,appearance:"info"},{alertIcon:v(()=>[f(a(B),{icon:"portal"})]),alertMessage:v(()=>[n(s(a(o)("common.detail.subscriptions.no_stats",{id:e.subscription.id})),1)]),_:1})):(c(),u("div",U,[t("div",V,[t("div",q,s(a(o)("common.detail.subscriptions.type")),1),n(),t("div",C,s(a(o)("common.detail.subscriptions.responses_sent_acknowledged")),1)]),n(),(c(!0),u(y,null,A(p.value,(i,_)=>(c(),u("div",{key:_,class:"row","data-testid":`subscription-status-${i.type}`},[t("div",F,s(a(o)(`http.api.property.${i.type}`)),1),n(),t("div",null,s(i.responsesSent)+"/"+s(i.responsesAcknowledged),1)],8,O))),128))]))]))}});const E=T(z,[["__scopeId","data-v-ae4644aa"]]),G=""+new URL("icon-deployed-code-e3c999ba.svg",import.meta.url).href,M=""+new URL("icon-connected-037e001a.svg",import.meta.url).href,J=""+new URL("icon-disconnected-ba3c2624.svg",import.meta.url).href,k=r=>(R("data-v-0cbdfb03"),r=r(),H(),r),K={class:"subscription-header"},Q={class:"instance-id"},W=k(()=>t("img",{src:G},null,-1)),X=k(()=>t("img",{src:M},null,-1)),Y={key:0},Z=k(()=>t("img",{src:J},null,-1)),ss={class:"responses-sent-acknowledged"},es=S({__name:"SubscriptionHeader",props:{subscription:{type:Object,required:!0}},setup(r){const e=r,{t:o,formatIsoDate:p}=x(),l=b(()=>"globalInstanceId"in e.subscription?e.subscription.globalInstanceId:null),d=b(()=>"controlPlaneInstanceId"in e.subscription?e.subscription.controlPlaneInstanceId:null),i=b(()=>e.subscription.connectTime?p(e.subscription.connectTime):null),_=b(()=>e.subscription.disconnectTime?p(e.subscription.disconnectTime):null),m=b(()=>{var w;const{responsesSent:h=0,responsesAcknowledged:I=0,responsesRejected:D=0}=((w=e.subscription.status)==null?void 0:w.total)??{};return{responsesSent:h,responsesAcknowledged:I,responsesRejected:D}});return(h,I)=>(c(),u("header",K,[t("span",Q,[W,n(),l.value?(c(),u(y,{key:0},[t("b",null,s(a(o)("http.api.property.globalInstanceId")),1),n(": "+s(l.value),1)],64)):d.value?(c(),u(y,{key:1},[t("b",null,s(a(o)("http.api.property.controlPlaneInstanceId")),1),n(": "+s(d.value),1)],64)):$("",!0)]),n(),t("span",null,[X,n(),t("b",null,s(a(o)("common.detail.subscriptions.connect_time")),1),n(": "+s(i.value),1)]),n(),_.value?(c(),u("span",Y,[Z,n(),t("b",null,s(a(o)("common.detail.subscriptions.disconnect_time")),1),n(": "+s(_.value),1)])):$("",!0),n(),t("span",ss,s(a(o)("common.detail.subscriptions.responses_sent_acknowledged"))+`: `+s(m.value.responsesSent)+"/"+s(m.value.responsesAcknowledged),1)]))}});const ts=T(es,[["__scopeId","data-v-0cbdfb03"]]),cs=S({__name:"SubscriptionList",props:{subscriptions:{}},setup(r){const e=r,o=b(()=>{const p=Array.from(e.subscriptions);return p.reverse(),p});return(p,l)=>(c(),g(j,null,{default:v(()=>[(c(!0),u(y,null,A(o.value,(d,i)=>(c(),g(L,{key:i},{"accordion-header":v(()=>[f(ts,{subscription:d},null,8,["subscription"])]),"accordion-content":v(()=>[f(E,{subscription:d},null,8,["subscription"])]),_:2},1024))),128))]),_:1}))}});export{cs as _}; diff --git a/app/kuma-ui/pkg/resources/data/assets/TagList-1860ca31.js b/app/kuma-ui/pkg/resources/data/assets/TagList-ae0077fe.js similarity index 94% rename from app/kuma-ui/pkg/resources/data/assets/TagList-1860ca31.js rename to app/kuma-ui/pkg/resources/data/assets/TagList-ae0077fe.js index a6a569f69a97..d6aaae1c8ded 100644 --- a/app/kuma-ui/pkg/resources/data/assets/TagList-1860ca31.js +++ b/app/kuma-ui/pkg/resources/data/assets/TagList-ae0077fe.js @@ -1 +1 @@ -import{d as f,e as b,aa as g,f as y,o as r,j as l,F as h,G as k,g as i,w as p,n as x,l as L,D as d,m as w,i as T,aj as j,q as z}from"./index-2bbe899f.js";function B(o){return Object.entries(o??{}).map(([a,s])=>({label:a,value:s}))}const C={class:"tag-list"},D=f({__name:"TagList",props:{tags:{type:Object,required:!0}},setup(o){const a=o,s=b(),c=g(),m=y(()=>(Array.isArray(a.tags)?a.tags:B(a.tags)).map(n=>{const{label:t,value:u}=n,v=_(n);return{label:t,value:u,route:v}}));function _(e){if(e.value!=="*")try{switch(e.label){case"kuma.io/zone":return c.resolve({name:"zone-cp-detail-view",params:{zone:e.value}});case"kuma.io/service":return"mesh"in s.params?c.resolve({name:"service-detail-view",params:{mesh:s.params.mesh,service:e.value}}):void 0;default:return}}catch{return}}return(e,n)=>(r(),l("span",C,[(r(!0),l(h,null,k(m.value,(t,u)=>(r(),i(T(j),{key:u,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 q=z(D,[["__scopeId","data-v-94e5d380"]]);export{q as T}; +import{d as f,e as b,aa as g,f as y,o as r,j as l,F as h,G as k,g as i,w as p,n as x,l as L,D as d,m as w,i as T,aj as j,q as z}from"./index-cf0727dc.js";function B(o){return Object.entries(o??{}).map(([a,s])=>({label:a,value:s}))}const C={class:"tag-list"},D=f({__name:"TagList",props:{tags:{type:Object,required:!0}},setup(o){const a=o,s=b(),c=g(),m=y(()=>(Array.isArray(a.tags)?a.tags:B(a.tags)).map(n=>{const{label:t,value:u}=n,v=_(n);return{label:t,value:u,route:v}}));function _(e){if(e.value!=="*")try{switch(e.label){case"kuma.io/zone":return c.resolve({name:"zone-cp-detail-view",params:{zone:e.value}});case"kuma.io/service":return"mesh"in s.params?c.resolve({name:"service-detail-view",params:{mesh:s.params.mesh,service:e.value}}):void 0;default:return}}catch{return}}return(e,n)=>(r(),l("span",C,[(r(!0),l(h,null,k(m.value,(t,u)=>(r(),i(T(j),{key:u,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 q=z(D,[["__scopeId","data-v-94e5d380"]]);export{q as T}; diff --git a/app/kuma-ui/pkg/resources/data/assets/WarningsWidget.vue_vue_type_script_setup_true_lang-378e113d.js b/app/kuma-ui/pkg/resources/data/assets/WarningsWidget.vue_vue_type_script_setup_true_lang-fd55fc1c.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/WarningsWidget.vue_vue_type_script_setup_true_lang-378e113d.js rename to app/kuma-ui/pkg/resources/data/assets/WarningsWidget.vue_vue_type_script_setup_true_lang-fd55fc1c.js index ba87b7bf36cf..52c5d95456a5 100644 --- a/app/kuma-ui/pkg/resources/data/assets/WarningsWidget.vue_vue_type_script_setup_true_lang-378e113d.js +++ b/app/kuma-ui/pkg/resources/data/assets/WarningsWidget.vue_vue_type_script_setup_true_lang-fd55fc1c.js @@ -1,4 +1,4 @@ -import{d as u,o as a,j as r,D as t,l as n,m as s,F as _,G as d,h as m,w as y,g,n as P,i as f,ag as h}from"./index-2bbe899f.js";import{f as D,e as O,h as C,i as N}from"./dataplane-30467516.js";const b=u({__name:"WarningDefault",props:{payload:{type:[String,Object],required:!0}},setup(e){return(o,l)=>(a(),r("span",null,t(e.payload),1))}}),E=u({__name:"WarningEnvoyIncompatible",props:{payload:{type:Object,required:!0}},setup(e){return(o,l)=>(a(),r("span",null,[n(` +import{d as u,o as a,j as r,D as t,l as n,m as s,F as _,G as d,h as m,w as y,g,n as P,i as f,ag as h}from"./index-cf0727dc.js";import{f as D,e as O,h as C,i as N}from"./dataplane-30467516.js";const b=u({__name:"WarningDefault",props:{payload:{type:[String,Object],required:!0}},setup(e){return(o,l)=>(a(),r("span",null,t(e.payload),1))}}),E=u({__name:"WarningEnvoyIncompatible",props:{payload:{type:Object,required:!0}},setup(e){return(o,l)=>(a(),r("span",null,[n(` Envoy (`),s("strong",null,t(e.payload.envoy),1),n(") is unsupported by the current version of Kuma DP ("),s("strong",null,t(e.payload.kumaDp),1),n(") [Requirements: "),s("strong",null,t(e.payload.requirements),1),n(`]. `)]))}}),I=u({__name:"WarningUnsupportedKumaDPVersion",props:{payload:{type:Object,required:!0}},setup(e){return(o,l)=>(a(),r("span",null,[n(` Unsupported version of Kuma DP (`),s("strong",null,t(e.payload.kumaDp),1),n(`) diff --git a/app/kuma-ui/pkg/resources/data/assets/WelcomeView-a9ea44d3.js b/app/kuma-ui/pkg/resources/data/assets/WelcomeView-1a6f1991.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/WelcomeView-a9ea44d3.js rename to app/kuma-ui/pkg/resources/data/assets/WelcomeView-1a6f1991.js index c6725183b40f..4bf784f40a1b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/WelcomeView-a9ea44d3.js +++ b/app/kuma-ui/pkg/resources/data/assets/WelcomeView-1a6f1991.js @@ -1,4 +1,4 @@ -import{d as h,t as w,v as k,o as s,j as c,l as a,x as V,y as _,z as m,B as g,m as t,q as M,g as p,w as d,h as n,C as x,D as i,G as I,i as u,H as N,K as S,k as C,F as L,A as $,_ as A}from"./index-2bbe899f.js";import{O as H,a as O,b as W}from"./OnboardingPage-9d65ace2.js";const z=e=>(m("data-v-b31b8343"),e=e(),g(),e),B=z(()=>t("defs",null,null,-1)),G=_(' ',1),j=_('
',1),E=h({__name:"WelcomeAnimationSvg",setup(e){const v=w(!1);return k(function(){window.setTimeout(()=>{v.value=!0},30)}),(y,r)=>(s(),c("svg",{class:V(["background svg",{active:v.value}]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1080"},[B,a(),G,a(),j],2))}});const K=M(E,[["__scopeId","data-v-b31b8343"]]),f=e=>(m("data-v-663c1c2c"),e=e(),g(),e),T=f(()=>t("strong",null,"few minutes",-1)),D={"data-testid":"kuma-environment"},F=f(()=>t("h2",{class:"text-center"},` +import{d as h,t as w,v as k,o as s,j as c,l as a,x as V,y as _,z as m,B as g,m as t,q as M,g as p,w as d,h as n,C as x,D as i,G as I,i as u,H as N,K as S,k as C,F as L,A as $,_ as A}from"./index-cf0727dc.js";import{O as H,a as O,b as W}from"./OnboardingPage-46f5b350.js";const z=e=>(m("data-v-b31b8343"),e=e(),g(),e),B=z(()=>t("defs",null,null,-1)),G=_(' ',1),j=_('
',1),E=h({__name:"WelcomeAnimationSvg",setup(e){const v=w(!1);return k(function(){window.setTimeout(()=>{v.value=!0},30)}),(y,r)=>(s(),c("svg",{class:V(["background svg",{active:v.value}]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1080"},[B,a(),G,a(),j],2))}});const K=M(E,[["__scopeId","data-v-b31b8343"]]),f=e=>(m("data-v-663c1c2c"),e=e(),g(),e),T=f(()=>t("strong",null,"few minutes",-1)),D={"data-testid":"kuma-environment"},F=f(()=>t("h2",{class:"text-center"},` Let’s get started: `,-1)),R={class:"item-status-list-wrapper"},U={class:"item-status-list"},q={class:"circle mr-2"},P=h({__name:"WelcomeView",setup(e){return(v,y)=>(s(),p(A,null,{default:d(({env:r,t:o,can:l})=>[n(x,{title:o("onboarding.routes.welcome.title",{name:o("common.product.name")})},null,8,["title"]),a(),n($,null,{default:d(()=>[t("div",null,[n(H,null,{header:d(()=>[n(O,null,{title:d(()=>[a(` Welcome to `+i(o("common.product.name")),1)]),description:d(()=>[t("p",null,[a(` diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-d4d631ea.js b/app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-c9c2add5.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-d4d631ea.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-c9c2add5.js index 2b00b757f16c..20758269b5c5 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-d4d631ea.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneConfigView-c9c2add5.js @@ -1 +1 @@ -import{d as k,L as y,o as e,g as a,w as n,h as i,A as z,m as w,C as b,i as c,l as f,a5 as h,p as v,E as $,s as B,j as _,F as d,G as C,ag as N,D as V,_ as x}from"./index-2bbe899f.js";import{_ as S}from"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const A=k({__name:"ZoneConfigView",setup(E){const{t:r}=y();function g(l){var o;const t=((o=l.zoneInsight)==null?void 0:o.subscriptions)??[];if(t.length>0){const s=t[t.length-1];if(s.config)return JSON.stringify(JSON.parse(s.config),null,2)}return null}return(l,t)=>(e(),a(x,{name:"zone-cp-config-view","data-testid":"zone-cp-config-view"},{default:n(({route:o})=>[i(z,null,{title:n(()=>[w("h2",null,[i(b,{title:c(r)("zone-cps.routes.item.navigation.zone-cp-config-view"),render:!0},null,8,["title"])])]),default:n(()=>[f(),i(c(h),{class:"mt-4"},{body:n(()=>[i(v,{src:`/zone-cps/${o.params.zone}`},{default:n(({data:s,error:u})=>[u!==void 0?(e(),a($,{key:0,error:u},null,8,["error"])):s===void 0?(e(),a(B,{key:1})):(e(!0),_(d,{key:2},C([g(s)],(p,m)=>(e(),_(d,{key:m},[p!==null?(e(),a(S,{key:0,id:"code-block-zone-config",language:"json",code:p,"is-searchable":"","query-key":"zone-config"},null,8,["code"])):(e(),a(c(N),{key:1,class:"mt-4","data-testid":"warning-no-subscriptions",appearance:"warning"},{alertMessage:n(()=>[f(V(c(r)("zone-cps.detail.no_subscriptions")),1)]),_:1}))],64))),128))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1}))}});export{A as default}; +import{d as k,L as y,o as e,g as a,w as n,h as i,A as z,m as w,C as b,i as c,l as f,a5 as h,p as v,E as $,s as B,j as _,F as d,G as C,ag as N,D as V,_ as x}from"./index-cf0727dc.js";import{_ as S}from"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const A=k({__name:"ZoneConfigView",setup(E){const{t:r}=y();function g(l){var o;const t=((o=l.zoneInsight)==null?void 0:o.subscriptions)??[];if(t.length>0){const s=t[t.length-1];if(s.config)return JSON.stringify(JSON.parse(s.config),null,2)}return null}return(l,t)=>(e(),a(x,{name:"zone-cp-config-view","data-testid":"zone-cp-config-view"},{default:n(({route:o})=>[i(z,null,{title:n(()=>[w("h2",null,[i(b,{title:c(r)("zone-cps.routes.item.navigation.zone-cp-config-view"),render:!0},null,8,["title"])])]),default:n(()=>[f(),i(c(h),{class:"mt-4"},{body:n(()=>[i(v,{src:`/zone-cps/${o.params.zone}`},{default:n(({data:s,error:u})=>[u!==void 0?(e(),a($,{key:0,error:u},null,8,["error"])):s===void 0?(e(),a(B,{key:1})):(e(!0),_(d,{key:2},C([g(s)],(p,m)=>(e(),_(d,{key:m},[p!==null?(e(),a(S,{key:0,id:"code-block-zone-config",language:"json",code:p,"is-searchable":"","query-key":"zone-config"},null,8,["code"])):(e(),a(c(N),{key:1,class:"mt-4","data-testid":"warning-no-subscriptions",appearance:"warning"},{alertMessage:n(()=>[f(V(c(r)("zone-cps.detail.no_subscriptions")),1)]),_:1}))],64))),128))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1}))}});export{A as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-84db27d8.js b/app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-7b1463d2.js similarity index 99% rename from app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-84db27d8.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-7b1463d2.js index 3d20dbb21b3d..e6fef6a4beb4 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-84db27d8.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneCreateView-7b1463d2.js @@ -1,4 +1,4 @@ -import{d as T,t as v,v as ae,V as re,o as f,j as $,m as t,h as i,w as r,g as h,i as e,H as U,aw as le,at as F,aA as ie,aB as ce,l as n,U as w,a3 as ue,L as O,e as H,f as E,D as o,z as j,B as W,q as J,R as de,aa as me,aC as q,r as X,A as pe,C as ve,a1 as Z,aD as fe,aE as _e,E as be,X as ze,k as A,F as x,N as M,aF as G,aG as ge,_ as ke}from"./index-2bbe899f.js";import{_ as y}from"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";import{g as he}from"./dataplane-30467516.js";const ye=["data-test-state"],Ee={class:"scanner-content"},Ce={class:"mr-1"},Ie=T({__name:"EntityScanner",props:{interval:{type:Number,required:!1,default:1e3},retries:{type:Number,required:!1,default:3600},hasError:{type:Boolean,default:!1},loaderFunction:{type:Function,required:!0},canComplete:{type:Boolean,default:!1}},emits:["hide-siblings"],setup(u,{emit:s}){const a=u,k=v(0),z=v(!1),_=v(!1),d=v(null);ae(function(){C()}),re(function(){m()});function C(){z.value=!0,_.value=!1,m(),d.value=window.setInterval(async()=>{k.value++,await a.loaderFunction(),(k.value===a.retries||a.canComplete===!0)&&(m(),z.value=!1,_.value=!0,s("hide-siblings",!0))},a.interval)}function m(){d.value!==null&&window.clearInterval(d.value)}return(g,S)=>(f(),$("div",{class:"scanner","data-test-state":z.value?"waiting":u.hasError?"error":"success"},[t("div",Ee,[i(e(ue),{"cta-is-hidden":""},{title:r(()=>[t("span",Ce,[z.value?(f(),h(e(U),{key:0,icon:"spinner",color:e(le),size:e(F)},null,8,["color","size"])):u.hasError?(f(),h(e(U),{key:1,icon:"errorFilled",color:e(ie),size:e(F)},null,8,["color","size"])):(f(),h(e(U),{key:2,icon:"circleCheck",color:e(ce),size:e(F)},null,8,["color","size"]))]),n(),z.value?w(g.$slots,"loading-title",{key:0}):u.hasError?w(g.$slots,"error-title",{key:1}):w(g.$slots,"complete-title",{key:2})]),message:r(()=>[z.value?w(g.$slots,"loading-content",{key:0}):u.hasError?w(g.$slots,"error-content",{key:1}):w(g.$slots,"complete-content",{key:2})]),_:3})])],8,ye))}}),V=u=>(j("data-v-c508bc46"),u=u(),W(),u),we=V(()=>t("span",{class:"step-number"},"1",-1)),$e={href:"https://helm.sh/docs/intro/install/"},Se=V(()=>t("span",{class:"step-number"},"2",-1)),Ne=V(()=>t("p",null,"On your local machine, create a namespace in your Kubernetes cluster and pull down the kong Helm repo.",-1)),Ze=V(()=>t("span",{class:"step-number"},"3",-1)),Ve=V(()=>t("span",{class:"step-number"},"4",-1)),qe={class:"k-input-label mt-4"},Ae={class:"mt-4"},Te=T({__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(u){const s=u,a=O(),k=H(),z=E(()=>a.t("zones.form.kubernetes.secret.createSecretCommand",{token:s.base64EncodedToken}).trim()),_=E(()=>{const d={zoneName:s.zoneName,globalKdsAddress:s.globalKdsAddress,zoneIngressEnabled:String(s.zoneIngressEnabled),zoneEgressEnabled:String(s.zoneEgressEnabled)};return typeof k.params.virtualControlPlaneId=="string"&&(d.controlPlaneId=k.params.virtualControlPlaneId),a.t("zones.form.kubernetes.connectZone.config",d).trim()});return(d,C)=>(f(),$("div",null,[t("h3",null,[we,n(" "+o(e(a).t("zones.form.kubernetes.prerequisites.title")),1)]),n(),t("ul",null,[t("li",null,[t("b",null,o(e(a).t("zones.form.kubernetes.prerequisites.step1Label"))+o(s.zoneIngressEnabled?" "+e(a).t("zones.form.kubernetes.prerequisites.step1LabelAddendum"):""),1),n(`: +import{d as T,t as v,v as ae,V as re,o as f,j as $,m as t,h as i,w as r,g as h,i as e,H as U,aw as le,at as F,aA as ie,aB as ce,l as n,U as w,a3 as ue,L as O,e as H,f as E,D as o,z as j,B as W,q as J,R as de,aa as me,aC as q,r as X,A as pe,C as ve,a1 as Z,aD as fe,aE as _e,E as be,X as ze,k as A,F as x,N as M,aF as G,aG as ge,_ as ke}from"./index-cf0727dc.js";import{_ as y}from"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";import{g as he}from"./dataplane-30467516.js";const ye=["data-test-state"],Ee={class:"scanner-content"},Ce={class:"mr-1"},Ie=T({__name:"EntityScanner",props:{interval:{type:Number,required:!1,default:1e3},retries:{type:Number,required:!1,default:3600},hasError:{type:Boolean,default:!1},loaderFunction:{type:Function,required:!0},canComplete:{type:Boolean,default:!1}},emits:["hide-siblings"],setup(u,{emit:s}){const a=u,k=v(0),z=v(!1),_=v(!1),d=v(null);ae(function(){C()}),re(function(){m()});function C(){z.value=!0,_.value=!1,m(),d.value=window.setInterval(async()=>{k.value++,await a.loaderFunction(),(k.value===a.retries||a.canComplete===!0)&&(m(),z.value=!1,_.value=!0,s("hide-siblings",!0))},a.interval)}function m(){d.value!==null&&window.clearInterval(d.value)}return(g,S)=>(f(),$("div",{class:"scanner","data-test-state":z.value?"waiting":u.hasError?"error":"success"},[t("div",Ee,[i(e(ue),{"cta-is-hidden":""},{title:r(()=>[t("span",Ce,[z.value?(f(),h(e(U),{key:0,icon:"spinner",color:e(le),size:e(F)},null,8,["color","size"])):u.hasError?(f(),h(e(U),{key:1,icon:"errorFilled",color:e(ie),size:e(F)},null,8,["color","size"])):(f(),h(e(U),{key:2,icon:"circleCheck",color:e(ce),size:e(F)},null,8,["color","size"]))]),n(),z.value?w(g.$slots,"loading-title",{key:0}):u.hasError?w(g.$slots,"error-title",{key:1}):w(g.$slots,"complete-title",{key:2})]),message:r(()=>[z.value?w(g.$slots,"loading-content",{key:0}):u.hasError?w(g.$slots,"error-content",{key:1}):w(g.$slots,"complete-content",{key:2})]),_:3})])],8,ye))}}),V=u=>(j("data-v-c508bc46"),u=u(),W(),u),we=V(()=>t("span",{class:"step-number"},"1",-1)),$e={href:"https://helm.sh/docs/intro/install/"},Se=V(()=>t("span",{class:"step-number"},"2",-1)),Ne=V(()=>t("p",null,"On your local machine, create a namespace in your Kubernetes cluster and pull down the kong Helm repo.",-1)),Ze=V(()=>t("span",{class:"step-number"},"3",-1)),Ve=V(()=>t("span",{class:"step-number"},"4",-1)),qe={class:"k-input-label mt-4"},Ae={class:"mt-4"},Te=T({__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(u){const s=u,a=O(),k=H(),z=E(()=>a.t("zones.form.kubernetes.secret.createSecretCommand",{token:s.base64EncodedToken}).trim()),_=E(()=>{const d={zoneName:s.zoneName,globalKdsAddress:s.globalKdsAddress,zoneIngressEnabled:String(s.zoneIngressEnabled),zoneEgressEnabled:String(s.zoneEgressEnabled)};return typeof k.params.virtualControlPlaneId=="string"&&(d.controlPlaneId=k.params.virtualControlPlaneId),a.t("zones.form.kubernetes.connectZone.config",d).trim()});return(d,C)=>(f(),$("div",null,[t("h3",null,[we,n(" "+o(e(a).t("zones.form.kubernetes.prerequisites.title")),1)]),n(),t("ul",null,[t("li",null,[t("b",null,o(e(a).t("zones.form.kubernetes.prerequisites.step1Label"))+o(s.zoneIngressEnabled?" "+e(a).t("zones.form.kubernetes.prerequisites.step1LabelAddendum"):""),1),n(`: `+o(e(a).t("zones.form.kubernetes.prerequisites.step1Description",{productName:e(a).t("common.product.name")})),1)]),n(),t("li",null,[t("b",null,o(e(a).t("zones.form.kubernetes.prerequisites.step2Label")),1),n(`: `+o(e(a).t("zones.form.kubernetes.prerequisites.step2Description")),1)]),n(),t("li",null,[t("a",$e,o(e(a).t("zones.form.kubernetes.prerequisites.step3LinkTitle")),1),n(" "+o(e(a).t("zones.form.kubernetes.prerequisites.step3Tail")),1)])]),n(),t("h3",null,[Se,n(" "+o(e(a).t("zones.form.kubernetes.helm.title")),1)]),n(),Ne,n(),t("ol",null,[t("li",null,[n(o(e(a).t("zones.form.kubernetes.helm.step1Description"))+" ",1),i(y,{id:"zone-kubernetes-create-namespace",class:"mt-4",code:e(a).t("zones.form.kubernetes.helm.step1Command"),language:"bash"},null,8,["code"])]),n(),t("li",null,[n(o(e(a).t("zones.form.kubernetes.helm.step2Description"))+" ",1),i(y,{id:"zone-kubernetes-add-charts-repo",class:"mt-4",code:e(a).t("zones.form.kubernetes.helm.step2Command"),language:"bash"},null,8,["code"])]),n(),t("li",null,[n(o(e(a).t("zones.form.kubernetes.helm.step3Description"))+" ",1),i(y,{id:"zone-kubernetes-repo-update",class:"mt-4",code:e(a).t("zones.form.kubernetes.helm.step3Command"),language:"bash"},null,8,["code"])])]),n(),t("h3",null,[Ze,n(" "+o(e(a).t("zones.form.kubernetes.secret.title")),1)]),n(),t("p",null,o(e(a).t("zones.form.kubernetes.secret.createSecretDescription")),1),n(),i(y,{id:"zone-kubernetes-create-secret",class:"mt-4",code:z.value,language:"bash"},null,8,["code"]),n(),t("h3",null,[Ve,n(" "+o(e(a).t("zones.form.kubernetes.connectZone.title")),1)]),n(),t("p",null,o(e(a).t("zones.form.kubernetes.connectZone.configDescription")),1),n(),t("span",qe,o(e(a).t("zones.form.kubernetes.connectZone.configFileName")),1),n(),i(y,{id:"zone-kubernetes-config-code-block","data-testid":"zone-kubernetes-config",code:_.value,language:"yaml"},null,8,["code"]),n(),t("p",Ae,o(e(a).t("zones.form.kubernetes.connectZone.connectDescription")),1),n(),i(y,{id:"zone-kubernetes-command-code-block",class:"mt-4",code:e(a).t("zones.form.kubernetes.connectZone.connectCommand").trim(),language:"bash"},null,8,["code"])]))}});const De=J(Te,[["__scopeId","data-v-c508bc46"]]),Q=u=>(j("data-v-7b3b73f1"),u=u(),W(),u),Le=Q(()=>t("span",{class:"step-number"},"1",-1)),Ke=Q(()=>t("span",{class:"step-number"},"2",-1)),Be={class:"k-input-label mt-4"},Ue={class:"mt-4"},Fe=T({__name:"ZoneCreateUniversalInstructions",props:{zoneName:{type:String,required:!0},globalKdsAddress:{type:String,required:!0},token:{type:String,required:!0}},setup(u){const s=u,a=O(),k=H(),z=E(()=>a.t("zones.form.universal.saveToken.saveTokenCommand",{token:s.token}).trim()),_=E(()=>{const d={zoneName:s.zoneName,globalKdsAddress:s.globalKdsAddress};return typeof k.params.virtualControlPlaneId=="string"&&(d.controlPlaneId=k.params.virtualControlPlaneId),a.t("zones.form.universal.connectZone.config",d).trim()});return(d,C)=>(f(),$("div",null,[t("h3",null,[Le,n(" "+o(e(a).t("zones.form.universal.saveToken.title")),1)]),n(),t("p",null,o(e(a).t("zones.form.universal.saveToken.saveTokenDescription")),1),n(),i(y,{id:"zone-kubernetes-token",class:"mt-4",code:z.value,language:"bash"},null,8,["code"]),n(),t("h3",null,[Ke,n(" "+o(e(a).t("zones.form.universal.connectZone.title")),1)]),n(),t("p",null,o(e(a).t("zones.form.universal.connectZone.configDescription")),1),n(),t("span",Be,o(e(a).t("zones.form.universal.connectZone.configFileName")),1),n(),i(y,{id:"zone-universal-config-code-block","data-testid":"zone-universal-config",class:"mt-4",code:_.value,language:"yaml"},null,8,["code"]),n(),t("p",Ue,o(e(a).t("zones.form.universal.connectZone.connectDescription")),1),n(),i(y,{id:"zone-universal-connect-command-code-block",class:"mt-4",code:e(a).t("zones.form.universal.connectZone.connectCommand").trim(),language:"bash"},null,8,["code"])]))}});const xe=J(Fe,[["__scopeId","data-v-7b3b73f1"]]),Oe={class:"form-wrapper"},Re={class:"form"},Pe={class:"form-title"},Xe={class:"form-section"},Me={class:"form-section__header"},Ge={class:"form-section-title"},He={class:"form-section__content"},je={class:"form-section","data-testid":"connect-zone-instructions"},We={class:"form-section__header"},Je={class:"form-section-title"},Qe={class:"form-section__content"},Ye={class:"k-input-label"},en={class:"radio-button-group"},nn={class:"mt-4"},tn={class:"k-input-label"},on={class:"radio-button-group"},sn={class:"mt-4"},an={class:"k-input-label"},rn={class:"radio-button-group"},ln={class:"form-section"},cn={class:"form-section__header"},un={class:"form-section-title"},dn={class:"form-section__content"},mn={class:"form-section"},pn={class:"form-section__header"},vn={class:"form-section-title"},fn={class:"form-section__content"},_n={class:"mt-2"},kn=T({__name:"ZoneCreateView",setup(u){const{t:s}=O(),a=de(),k=me(),z=/^(?![-0-9])[a-z0-9-]{1,63}$/,_=v(null),d=v(!1),C=v(!1),m=v({error:null,title:null,icon:"warning",badgeAppearance:"warning"}),g=v(null),S=v(!1),D=v(null),b=v(""),I=v("kubernetes"),L=v(!0),K=v(!0),N=E(()=>_.value!==null&&_.value.token?_.value.token:""),Y=E(()=>N.value!==""?window.btoa(N.value):""),ee=E(()=>b.value===""||d.value||_.value!==null),B=E(()=>{if(g.value!==null)return g.value;if(m.value.error instanceof q){const l=m.value.error.invalidParameters.find(c=>c.field==="name");if(l!==void 0)return l.reason}return null});async function ne(){d.value=!0,m.value={error:null,title:null,icon:"warning",badgeAppearance:"warning"};try{if(!R(b.value))return;_.value=await a.createZone({name:b.value})}catch(l){l instanceof q&&[409,500].includes(l.status)?m.value={error:l,title:s(`zones.create.statusError.${l.status}.title`,{zoneName:b.value}),description:s(`zones.create.statusError.${l.status}.description`).trim(),icon:l.status===500?"warning":"errorFilled",badgeAppearance:l.status===500?"warning":"danger"}:l instanceof Error?m.value={error:l,title:l instanceof q?l.title:s("zones.create.generalError.title"),description:l instanceof q&&l.detail?l.detail:void 0,icon:"errorFilled",badgeAppearance:"danger"}:console.error(l)}finally{d.value=!1}}function R(l){const c=z.test(l);return c?g.value=null:g.value=s("zones.create.invalidNameError"),c}async function te(){S.value=!1,D.value=null;try{const l=await a.getZoneOverview({name:b.value}),c=he(l.zoneInsight);S.value=c==="online"}catch(l){l instanceof Error?D.value=l:console.error(l)}}function P(){C.value=!C.value}return(l,c)=>{const oe=X("DataSource"),se=X("KCard");return f(),h(ke,{attrs:{class:"is-fullscreen"}},{default:r(()=>[i(pe,{fullscreen:!0,breadcrumbs:[]},{title:r(()=>[t("h1",null,[i(ve,{title:e(s)("zones.routes.create.title"),render:!0},null,8,["title"])])]),actions:r(()=>[N.value===""||S.value?(f(),h(e(Z),{key:0,appearance:"outline","data-testid":"exit-button",to:{name:"zone-cp-list-view"}},{default:r(()=>[n(o(e(s)("zones.form.exit")),1)]),_:1})):(f(),h(e(Z),{key:1,appearance:"outline","data-testid":"exit-button",onClick:P},{default:r(()=>[n(o(e(s)("zones.form.exit")),1)]),_:1}))]),default:r(()=>[n(),n(),t("div",Oe,[i(se,null,{body:r(()=>[t("div",Re,[t("div",null,[t("h1",Pe,o(e(s)("zones.routes.create.title")),1)]),n(),t("div",Xe,[t("div",Me,[t("h2",Ge,o(e(s)("zones.form.section.name.title")),1)]),n(),t("div",He,[t("div",null,[i(e(fe),{for:"zone-name",required:"","tooltip-attributes":{placement:"right"}},{tooltip:r(()=>[n(o(e(s)("zones.form.name_tooltip")),1)]),default:r(()=>[n(o(e(s)("zones.form.nameLabel"))+" ",1)]),_:1}),n(),i(e(_e),{id:"zone-name",modelValue:b.value,"onUpdate:modelValue":c[0]||(c[0]=p=>b.value=p),type:"text",name:"zone-name","data-testid":"name-input","data-test-error-type":B.value!==null?"invalid-dns-name":void 0,"has-error":B.value!==null,"error-message":B.value??void 0,disabled:_.value!==null,onBlur:c[1]||(c[1]=p=>R(b.value))},null,8,["modelValue","data-test-error-type","has-error","error-message","disabled"])]),n(),i(e(Z),{appearance:"primary",class:"mt-4",icon:d.value?"spinner":"plus",disabled:ee.value,"data-testid":"create-zone-button",onClick:ne},{default:r(()=>[n(o(e(s)("zones.form.createZoneButtonLabel")),1)]),_:1},8,["icon","disabled"]),n(),m.value.error!==null?(f(),h(be,{key:0,class:"mt-4",error:m.value.error,"badge-appearance":m.value.badgeAppearance,icon:m.value.icon,"data-testid":"create-zone-error"},ze({default:r(()=>[t("p",null,o(m.value.title),1),n()]),_:2},[m.value.description?{name:"message",fn:r(()=>[t("p",null,o(m.value.description),1)]),key:"0"}:void 0]),1032,["error","badge-appearance","icon"])):A("",!0)])]),n(),_.value!==null?(f(),$(x,{key:0},[t("div",je,[t("div",We,[t("h2",Je,o(e(s)("zones.form.section.configuration.title")),1)]),n(),t("div",Qe,[t("div",null,[t("span",Ye,o(e(s)("zones.form.environmentLabel"))+` * `,1),n(),t("div",en,[i(e(M),{id:"zone-environment-universal",modelValue:I.value,"onUpdate:modelValue":c[2]||(c[2]=p=>I.value=p),"selected-value":"universal",name:"zone-environment","data-testid":"environment-universal-radio-button"},{default:r(()=>[n(o(e(s)("zones.form.universalLabel")),1)]),_:1},8,["modelValue"]),n(),i(e(M),{id:"zone-environment-kubernetes",modelValue:I.value,"onUpdate:modelValue":c[3]||(c[3]=p=>I.value=p),"selected-value":"kubernetes",name:"zone-environment","data-testid":"environment-kubernetes-radio-button"},{default:r(()=>[n(o(e(s)("zones.form.kubernetesLabel")),1)]),_:1},8,["modelValue"])])]),n(),I.value==="kubernetes"?(f(),$(x,{key:0},[t("div",nn,[t("span",tn,o(e(s)("zones.form.zoneIngressLabel"))+` * diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-aa7f5f25.js b/app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-d1041d2c.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-aa7f5f25.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-d1041d2c.js index c3a97e62f789..972fa2a069a2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-aa7f5f25.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneDetailTabsView-d1041d2c.js @@ -1 +1 @@ -import{d as b,L as z,aa as v,r as w,o,g as i,w as t,h as a,A as x,i as d,m as h,ab as k,C,l as _,p as V,E as y,s as B,j as N,F as $,n as R,_ as g}from"./index-2bbe899f.js";import{N as T}from"./NavTabs-d30389b8.js";const I=b({__name:"ZoneDetailTabsView",setup(E){var p;const{t:l}=z(),f=(((p=v().getRoutes().find(e=>e.name==="zone-cp-detail-tabs-view"))==null?void 0:p.children)??[]).map(e=>{var n,c;const m=typeof e.name>"u"?(n=e.children)==null?void 0:n[0]:e,r=m.name,s=((c=m.meta)==null?void 0:c.module)??"";return{title:l(`zone-cps.routes.item.navigation.${r}`),routeName:r,module:s}});return(e,m)=>{const r=w("RouterView");return o(),i(g,{name:"zone-cp-detail-tabs-view","data-testid":"zone-cp-detail-tabs-view"},{default:t(({route:s})=>[a(x,{breadcrumbs:[{to:{name:"zone-cp-list-view"},text:d(l)("zone-cps.routes.item.breadcrumbs")}]},{title:t(()=>[h("h1",null,[a(k,{text:s.params.zone},{default:t(()=>[a(C,{title:d(l)("zone-cps.routes.item.title",{name:s.params.zone}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[_(),a(V,{src:`/zone-cps/${s.params.zone}`},{default:t(({data:u,error:n})=>[n!==void 0?(o(),i(y,{key:0,error:n},null,8,["error"])):u===void 0?(o(),i(B,{key:1})):(o(),N($,{key:2},[a(T,{class:"route-zone-detail-view-tabs",tabs:d(f)},null,8,["tabs"]),_(),a(r,null,{default:t(c=>[(o(),i(R(c.Component),{data:u},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{I as default}; +import{d as b,L as z,aa as v,r as w,o,g as i,w as t,h as a,A as x,i as d,m as h,ab as k,C,l as _,p as V,E as y,s as B,j as N,F as $,n as R,_ as g}from"./index-cf0727dc.js";import{N as T}from"./NavTabs-048398ef.js";const I=b({__name:"ZoneDetailTabsView",setup(E){var p;const{t:l}=z(),f=(((p=v().getRoutes().find(e=>e.name==="zone-cp-detail-tabs-view"))==null?void 0:p.children)??[]).map(e=>{var n,c;const m=typeof e.name>"u"?(n=e.children)==null?void 0:n[0]:e,r=m.name,s=((c=m.meta)==null?void 0:c.module)??"";return{title:l(`zone-cps.routes.item.navigation.${r}`),routeName:r,module:s}});return(e,m)=>{const r=w("RouterView");return o(),i(g,{name:"zone-cp-detail-tabs-view","data-testid":"zone-cp-detail-tabs-view"},{default:t(({route:s})=>[a(x,{breadcrumbs:[{to:{name:"zone-cp-list-view"},text:d(l)("zone-cps.routes.item.breadcrumbs")}]},{title:t(()=>[h("h1",null,[a(k,{text:s.params.zone},{default:t(()=>[a(C,{title:d(l)("zone-cps.routes.item.title",{name:s.params.zone}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[_(),a(V,{src:`/zone-cps/${s.params.zone}`},{default:t(({data:u,error:n})=>[n!==void 0?(o(),i(y,{key:0,error:n},null,8,["error"])):u===void 0?(o(),i(B,{key:1})):(o(),N($,{key:2},[a(T,{class:"route-zone-detail-view-tabs",tabs:d(f)},null,8,["tabs"]),_(),a(r,null,{default:t(c=>[(o(),i(R(c.Component),{data:u},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{I as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-ff2da6e3.js b/app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-29bb195b.js similarity index 89% rename from app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-ff2da6e3.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-29bb195b.js index 7077e8806d9b..44f65ca2c075 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-ff2da6e3.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneDetailView-29bb195b.js @@ -1 +1 @@ -import{d as y,L as N,aJ as S,f as u,aI as A,aK as B,o as _,j as h,g as z,k as b,l as e,h as s,w as t,m as g,ae as v,D as i,i as r,Y as D,a5 as w,A as E,_ as x}from"./index-2bbe899f.js";import{_ as T}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-30c5086e.js";import{_ as Z}from"./WarningsWidget.vue_vue_type_script_setup_true_lang-378e113d.js";import{f as L}from"./dataplane-30467516.js";import"./AccordionList-2acfc916.js";const $={class:"stack"},J={class:"columns",style:{"--columns":"3"}},P={key:1},j=y({__name:"ZoneDetails",props:{zoneOverview:{type:Object,required:!0}},setup(d){const n=d,{t:c}=N(),m=S(),C=u(()=>{var a;for(const o of((a=n.zoneOverview.zoneInsight)==null?void 0:a.subscriptions)??[])if(o.config)return JSON.parse(o.config).environment;return"kubernetes"}),O=u(()=>A(n.zoneOverview)),k=u(()=>B(n.zoneOverview)),f=u(()=>{var p;const a=[],o=((p=n.zoneOverview.zoneInsight)==null?void 0:p.subscriptions)??[];if(o.length>0){const l=o[o.length-1],V=l.version.kumaCp.version||"-",{kumaCpGlobalCompatible:I=!0}=l.version.kumaCp;I||a.push({kind:L,payload:{zoneCpVersion:V,globalCpVersion:m("KUMA_VERSION")}})}return a});return(a,o)=>{var p;return _(),h("div",$,[f.value.length>0?(_(),z(Z,{key:0,warnings:f.value},null,8,["warnings"])):b("",!0),e(),s(r(w),null,{body:t(()=>[g("div",J,[s(v,null,{title:t(()=>[e(i(r(c)("http.api.property.status")),1)]),body:t(()=>[s(D,{status:O.value},null,8,["status"])]),_:1}),e(),s(v,null,{title:t(()=>[e(i(r(c)("http.api.property.type")),1)]),body:t(()=>[e(i(C.value),1)]),_:1}),e(),s(v,null,{title:t(()=>[e(i(r(c)("http.api.property.authenticationType")),1)]),body:t(()=>[e(i(k.value),1)]),_:1})])]),_:1}),e(),(((p=n.zoneOverview.zoneInsight)==null?void 0:p.subscriptions)??[]).length>0?(_(),h("div",P,[g("h2",null,i(r(c)("zone-cps.detail.subscriptions")),1),e(),s(r(w),{class:"mt-4"},{body:t(()=>{var l;return[s(T,{subscriptions:((l=n.zoneOverview.zoneInsight)==null?void 0:l.subscriptions)??[]},null,8,["subscriptions"])]}),_:1})])):b("",!0)])}}}),U=y({__name:"ZoneDetailView",props:{data:{}},setup(d){const n=d;return(c,m)=>(_(),z(x,{name:"zone-cp-detail-view","data-testid":"zone-cp-detail-view"},{default:t(()=>[s(E,null,{default:t(()=>[s(j,{"zone-overview":n.data,"data-testid":"detail-view-details"},null,8,["zone-overview"])]),_:1})]),_:1}))}});export{U as default}; +import{d as y,L as N,aJ as S,f as u,aI as A,aK as B,o as _,j as h,g as z,k as b,l as e,h as s,w as t,m as g,ae as v,D as i,i as r,Y as D,a5 as w,A as E,_ as x}from"./index-cf0727dc.js";import{_ as T}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-bbc2cd69.js";import{_ as Z}from"./WarningsWidget.vue_vue_type_script_setup_true_lang-fd55fc1c.js";import{f as L}from"./dataplane-30467516.js";import"./AccordionList-6ce6736a.js";const $={class:"stack"},J={class:"columns",style:{"--columns":"3"}},P={key:1},j=y({__name:"ZoneDetails",props:{zoneOverview:{type:Object,required:!0}},setup(d){const n=d,{t:c}=N(),m=S(),C=u(()=>{var a;for(const o of((a=n.zoneOverview.zoneInsight)==null?void 0:a.subscriptions)??[])if(o.config)return JSON.parse(o.config).environment;return"kubernetes"}),O=u(()=>A(n.zoneOverview)),k=u(()=>B(n.zoneOverview)),f=u(()=>{var p;const a=[],o=((p=n.zoneOverview.zoneInsight)==null?void 0:p.subscriptions)??[];if(o.length>0){const l=o[o.length-1],V=l.version.kumaCp.version||"-",{kumaCpGlobalCompatible:I=!0}=l.version.kumaCp;I||a.push({kind:L,payload:{zoneCpVersion:V,globalCpVersion:m("KUMA_VERSION")}})}return a});return(a,o)=>{var p;return _(),h("div",$,[f.value.length>0?(_(),z(Z,{key:0,warnings:f.value},null,8,["warnings"])):b("",!0),e(),s(r(w),null,{body:t(()=>[g("div",J,[s(v,null,{title:t(()=>[e(i(r(c)("http.api.property.status")),1)]),body:t(()=>[s(D,{status:O.value},null,8,["status"])]),_:1}),e(),s(v,null,{title:t(()=>[e(i(r(c)("http.api.property.type")),1)]),body:t(()=>[e(i(C.value),1)]),_:1}),e(),s(v,null,{title:t(()=>[e(i(r(c)("http.api.property.authenticationType")),1)]),body:t(()=>[e(i(k.value),1)]),_:1})])]),_:1}),e(),(((p=n.zoneOverview.zoneInsight)==null?void 0:p.subscriptions)??[]).length>0?(_(),h("div",P,[g("h2",null,i(r(c)("zone-cps.detail.subscriptions")),1),e(),s(r(w),{class:"mt-4"},{body:t(()=>{var l;return[s(T,{subscriptions:((l=n.zoneOverview.zoneInsight)==null?void 0:l.subscriptions)??[]},null,8,["subscriptions"])]}),_:1})])):b("",!0)])}}}),U=y({__name:"ZoneDetailView",props:{data:{}},setup(d){const n=d;return(c,m)=>(_(),z(x,{name:"zone-cp-detail-view","data-testid":"zone-cp-detail-view"},{default:t(()=>[s(E,null,{default:t(()=>[s(j,{"zone-overview":n.data,"data-testid":"detail-view-details"},null,8,["zone-overview"])]),_:1})]),_:1}))}});export{U as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-2ee6a831.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-3d8d2942.js similarity index 71% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-2ee6a831.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-3d8d2942.js index eee42abf4283..cc4063a3fcae 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-2ee6a831.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressClustersView-3d8d2942.js @@ -1 +1 @@ -import{d as o,L as u,o as l,g as i,w as e,h as s,A as c,m,C as d,i as t,l as p,a5 as g,_}from"./index-2bbe899f.js";import{E as f}from"./EnvoyData-f1262be0.js";import{g as h}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const C=o({__name:"ZoneEgressClustersView",props:{data:{}},setup(r){const a=r,{t:n}=u();return(w,z)=>(l(),i(_,{name:"zone-egress-clusters-view","data-testid":"zone-egress-clusters-view"},{default:e(()=>[s(c,null,{title:e(()=>[m("h2",null,[s(d,{title:t(n)("zone-egresses.routes.item.navigation.zone-egress-clusters-view"),render:!0},null,8,["title"])])]),default:e(()=>[p(),s(t(g),null,{body:e(()=>[s(f,{status:t(h)(a.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${a.data.name}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-egress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{C as default}; +import{d as o,L as u,o as l,g as i,w as e,h as s,A as c,m,C as d,i as t,l as p,a5 as g,_}from"./index-cf0727dc.js";import{E as f}from"./EnvoyData-67dddbed.js";import{g as h}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const C=o({__name:"ZoneEgressClustersView",props:{data:{}},setup(r){const a=r,{t:n}=u();return(w,z)=>(l(),i(_,{name:"zone-egress-clusters-view","data-testid":"zone-egress-clusters-view"},{default:e(()=>[s(c,null,{title:e(()=>[m("h2",null,[s(d,{title:t(n)("zone-egresses.routes.item.navigation.zone-egress-clusters-view"),render:!0},null,8,["title"])])]),default:e(()=>[p(),s(t(g),null,{body:e(()=>[s(f,{status:t(h)(a.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${a.data.name}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-egress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{C as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-90b68de1.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-8de54c86.js similarity index 83% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-90b68de1.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-8de54c86.js index 45f31365227e..9a330df3ad77 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-90b68de1.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressConfigView-8de54c86.js @@ -1 +1 @@ -import{d as m,L as u,R as f,o as s,g as a,w as e,h as r,A as g,m as p,C as d,i as o,l as k,a5 as z,p as h,E as w,s as v,_ as E}from"./index-2bbe899f.js";import{_ as $}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-535bde0f.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";import"./toYaml-4e00099e.js";const N=m({__name:"ZoneEgressConfigView",setup(V){const{t:c}=u(),l=f();return(x,y)=>(s(),a(E,{name:"zone-egress-config-view","data-testid":"zone-egress-config-view"},{default:e(({route:n})=>[r(g,null,{title:e(()=>[p("h2",null,[r(d,{title:o(c)("zone-egresses.routes.item.navigation.zone-egress-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[k(),r(o(z),{class:"mt-4"},{body:e(()=>[r(h,{src:`/zone-egresses/${n.params.zoneEgress}`},{default:e(({data:t,error:i})=>[i!==void 0?(s(),a(w,{key:0,error:i},null,8,["error"])):t===void 0?(s(),a(v,{key:1})):(s(),a($,{key:2,id:"code-block-zone-egress",resource:t,"resource-fetcher":_=>o(l).getZoneEgress({name:n.params.zoneEgress},_),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1}))}});export{N as default}; +import{d as m,L as u,R as f,o as s,g as a,w as e,h as r,A as g,m as p,C as d,i as o,l as k,a5 as z,p as h,E as w,s as v,_ as E}from"./index-cf0727dc.js";import{_ as $}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-7180eb37.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";import"./toYaml-4e00099e.js";const N=m({__name:"ZoneEgressConfigView",setup(V){const{t:c}=u(),l=f();return(x,y)=>(s(),a(E,{name:"zone-egress-config-view","data-testid":"zone-egress-config-view"},{default:e(({route:n})=>[r(g,null,{title:e(()=>[p("h2",null,[r(d,{title:o(c)("zone-egresses.routes.item.navigation.zone-egress-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[k(),r(o(z),{class:"mt-4"},{body:e(()=>[r(h,{src:`/zone-egresses/${n.params.zoneEgress}`},{default:e(({data:t,error:i})=>[i!==void 0?(s(),a(w,{key:0,error:i},null,8,["error"])):t===void 0?(s(),a(v,{key:1})):(s(),a($,{key:2,id:"code-block-zone-egress",resource:t,"resource-fetcher":_=>o(l).getZoneEgress({name:n.params.zoneEgress},_),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1}))}});export{N as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-f81c7144.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-d9387de0.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-f81c7144.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-d9387de0.js index 4796276ca97b..b31d443da9b7 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-f81c7144.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailTabsView-d9387de0.js @@ -1 +1 @@ -import{d as g,L as b,aa as v,r as w,o,g as l,w as s,h as t,A as z,i as d,m as x,ab as h,C as k,l as p,p as C,E,s as V,j as y,F as B,n as N,_ as $}from"./index-2bbe899f.js";import{N as R}from"./NavTabs-d30389b8.js";const I=g({__name:"ZoneEgressDetailTabsView",setup(T){var _;const{t:m}=b(),f=(((_=v().getRoutes().find(e=>e.name==="zone-egress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var n,i;const c=typeof e.name>"u"?(n=e.children)==null?void 0:n[0]:e,r=c.name,a=((i=c.meta)==null?void 0:i.module)??"";return{title:m(`zone-egresses.routes.item.navigation.${r}`),routeName:r,module:a}});return(e,c)=>{const r=w("RouterView");return o(),l($,{name:"zone-egress-detail-tabs-view","data-testid":"zone-egress-detail-tabs-view"},{default:s(({route:a})=>[t(z,{breadcrumbs:[{to:{name:"zone-egress-list-view"},text:d(m)("zone-egresses.routes.item.breadcrumbs")}]},{title:s(()=>[x("h1",null,[t(h,{text:a.params.zoneEgress},{default:s(()=>[t(k,{title:d(m)("zone-egresses.routes.item.title",{name:a.params.zoneEgress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:s(()=>[p(),t(C,{src:`/zone-egress-overviews/${a.params.zoneEgress}`},{default:s(({data:u,error:n})=>[n!==void 0?(o(),l(E,{key:0,error:n},null,8,["error"])):u===void 0?(o(),l(V,{key:1})):(o(),y(B,{key:2},[t(R,{class:"route-zone-egress-detail-view-tabs",tabs:d(f)},null,8,["tabs"]),p(),t(r,null,{default:s(i=>[(o(),l(N(i.Component),{data:u},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{I as default}; +import{d as g,L as b,aa as v,r as w,o,g as l,w as s,h as t,A as z,i as d,m as x,ab as h,C as k,l as p,p as C,E,s as V,j as y,F as B,n as N,_ as $}from"./index-cf0727dc.js";import{N as R}from"./NavTabs-048398ef.js";const I=g({__name:"ZoneEgressDetailTabsView",setup(T){var _;const{t:m}=b(),f=(((_=v().getRoutes().find(e=>e.name==="zone-egress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var n,i;const c=typeof e.name>"u"?(n=e.children)==null?void 0:n[0]:e,r=c.name,a=((i=c.meta)==null?void 0:i.module)??"";return{title:m(`zone-egresses.routes.item.navigation.${r}`),routeName:r,module:a}});return(e,c)=>{const r=w("RouterView");return o(),l($,{name:"zone-egress-detail-tabs-view","data-testid":"zone-egress-detail-tabs-view"},{default:s(({route:a})=>[t(z,{breadcrumbs:[{to:{name:"zone-egress-list-view"},text:d(m)("zone-egresses.routes.item.breadcrumbs")}]},{title:s(()=>[x("h1",null,[t(h,{text:a.params.zoneEgress},{default:s(()=>[t(k,{title:d(m)("zone-egresses.routes.item.title",{name:a.params.zoneEgress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:s(()=>[p(),t(C,{src:`/zone-egress-overviews/${a.params.zoneEgress}`},{default:s(({data:u,error:n})=>[n!==void 0?(o(),l(E,{key:0,error:n},null,8,["error"])):u===void 0?(o(),l(V,{key:1})):(o(),y(B,{key:2},[t(R,{class:"route-zone-egress-detail-view-tabs",tabs:d(f)},null,8,["tabs"]),p(),t(r,null,{default:s(i=>[(o(),l(N(i.Component),{data:u},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{I as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-316a608d.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-ab89d3e6.js similarity index 84% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-316a608d.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-ab89d3e6.js index 22649e875a6d..1c593451b6dc 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-316a608d.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressDetailView-ab89d3e6.js @@ -1 +1 @@ -import{d as k,L as y,r as w,o as i,g,w as e,h as s,A as b,m as l,ae as _,l as t,D as d,i as n,Y as z,ab as E,j as h,F as C,k as v,_ as B}from"./index-2bbe899f.js";import{_ as I}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-30c5086e.js";import{g as V}from"./dataplane-30467516.js";import"./AccordionList-2acfc916.js";const x={class:"stack","data-testid":"detail-view-details"},D={class:"columns",style:{"--columns":"2"}},N={key:0},T=k({__name:"ZoneEgressDetailView",props:{data:{}},setup(f){const a=f,{t:r}=y();return(c,$)=>{const p=w("KCard");return i(),g(B,{name:"zone-egress-detail-view","data-testid":"zone-egress-detail-view"},{default:e(()=>[s(b,null,{default:e(()=>{var u;return[l("div",x,[s(p,null,{body:e(()=>[l("div",D,[s(_,null,{title:e(()=>[t(d(n(r)("http.api.property.status")),1)]),body:e(()=>[s(z,{status:n(V)(a.data.zoneEgressInsight)},null,8,["status"])]),_:1}),t(),s(_,null,{title:e(()=>[t(d(n(r)("http.api.property.address")),1)]),body:e(()=>{var o,m;return[(o=a.data.zoneEgress.networking)!=null&&o.address&&((m=a.data.zoneEgress.networking)!=null&&m.port)?(i(),g(E,{key:0,text:`${a.data.zoneEgress.networking.address}:${a.data.zoneEgress.networking.port}`},null,8,["text"])):(i(),h(C,{key:1},[t(d(n(r)("common.detail.none")),1)],64))]}),_:1})])]),_:1}),t(),(((u=c.data.zoneEgressInsight)==null?void 0:u.subscriptions)??[]).length>0?(i(),h("div",N,[l("h2",null,d(n(r)("zone-egresses.detail.subscriptions")),1),t(),s(p,{class:"mt-4"},{body:e(()=>{var o;return[s(I,{subscriptions:((o=c.data.zoneEgressInsight)==null?void 0:o.subscriptions)??[]},null,8,["subscriptions"])]}),_:1})])):v("",!0)])]}),_:1})]),_:1})}}});export{T as default}; +import{d as k,L as y,r as w,o as i,g,w as e,h as s,A as b,m as l,ae as _,l as t,D as d,i as n,Y as z,ab as E,j as h,F as C,k as v,_ as B}from"./index-cf0727dc.js";import{_ as I}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-bbc2cd69.js";import{g as V}from"./dataplane-30467516.js";import"./AccordionList-6ce6736a.js";const x={class:"stack","data-testid":"detail-view-details"},D={class:"columns",style:{"--columns":"2"}},N={key:0},T=k({__name:"ZoneEgressDetailView",props:{data:{}},setup(f){const a=f,{t:r}=y();return(c,$)=>{const p=w("KCard");return i(),g(B,{name:"zone-egress-detail-view","data-testid":"zone-egress-detail-view"},{default:e(()=>[s(b,null,{default:e(()=>{var u;return[l("div",x,[s(p,null,{body:e(()=>[l("div",D,[s(_,null,{title:e(()=>[t(d(n(r)("http.api.property.status")),1)]),body:e(()=>[s(z,{status:n(V)(a.data.zoneEgressInsight)},null,8,["status"])]),_:1}),t(),s(_,null,{title:e(()=>[t(d(n(r)("http.api.property.address")),1)]),body:e(()=>{var o,m;return[(o=a.data.zoneEgress.networking)!=null&&o.address&&((m=a.data.zoneEgress.networking)!=null&&m.port)?(i(),g(E,{key:0,text:`${a.data.zoneEgress.networking.address}:${a.data.zoneEgress.networking.port}`},null,8,["text"])):(i(),h(C,{key:1},[t(d(n(r)("common.detail.none")),1)],64))]}),_:1})])]),_:1}),t(),(((u=c.data.zoneEgressInsight)==null?void 0:u.subscriptions)??[]).length>0?(i(),h("div",N,[l("h2",null,d(n(r)("zone-egresses.detail.subscriptions")),1),t(),s(p,{class:"mt-4"},{body:e(()=>{var o;return[s(I,{subscriptions:((o=c.data.zoneEgressInsight)==null?void 0:o.subscriptions)??[]},null,8,["subscriptions"])]}),_:1})])):v("",!0)])]}),_:1})]),_:1})}}});export{T as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-5b269cc4.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-04d62a11.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-5b269cc4.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-04d62a11.js index 88b0cd167da4..1bf6174ca045 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-5b269cc4.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressListView-04d62a11.js @@ -1 +1 @@ -import{d as v,L as E,r as h,o as r,g as l,w as s,h as o,A as w,m as x,C,i as t,l as u,p as I,a5 as L,E as N,a6 as R,D as _,ab as T,j as y,F as f,Y as V,a7 as B,a1 as S,H as $,a8 as A,K as Z,a9 as O,_ as q,q as D}from"./index-2bbe899f.js";import{g as F}from"./dataplane-30467516.js";const K=v({__name:"ZoneEgressListView",props:{page:{type:Number,required:!0},size:{type:Number,required:!0}},setup(z){const c=z,{t:n}=E();function b(g){return g.map(m=>{const{name:p}=m,d={name:"zone-egress-detail-view",params:{zoneEgress:p}},{networking:e}=m.zoneEgress;let i;e!=null&&e.address&&(e!=null&&e.port)&&(i=`${e.address}:${e.port}`);const a=F(m.zoneEgressInsight??{});return{detailViewRoute:d,name:p,addressPort:i,status:a}})}return(g,m)=>{const p=h("RouterLink");return r(),l(q,{name:"zone-egress-list-view"},{default:s(({route:d})=>[o(w,null,{title:s(()=>[x("h1",null,[o(C,{title:t(n)("zone-egresses.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[u(),o(I,{src:`/zone-egress-overviews?size=${c.size}&page=${c.page}`},{default:s(({data:e,error:i})=>[o(t(L),null,{body:s(()=>[i!==void 0?(r(),l(N,{key:0,error:i},null,8,["error"])):(r(),l(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:"Actions",key:"actions",hideLabel:!0}],"page-number":c.page,"page-size":c.size,total:e==null?void 0:e.total,items:e?b(e.items):void 0,error:i,"empty-state-message":t(n)("common.emptyState.message",{type:"Zone Egresses"}),"empty-state-cta-to":t(n)("zone-egresses.href.docs"),"empty-state-cta-text":t(n)("common.documentation"),onChange:d.update},{name:s(({row:a,rowValue:k})=>[o(p,{to:a.detailViewRoute,"data-testid":"detail-view-link"},{default:s(()=>[u(_(k),1)]),_:2},1032,["to"])]),addressPort:s(({rowValue:a})=>[a?(r(),l(T,{key:0,text:a},null,8,["text"])):(r(),y(f,{key:1},[u(_(t(n)("common.collection.none")),1)],64))]),status:s(({rowValue:a})=>[a?(r(),l(V,{key:0,status:a},null,8,["status"])):(r(),y(f,{key:1},[u(_(t(n)("common.collection.none")),1)],64))]),actions:s(({row:a})=>[o(t(B),{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:s(()=>[o(t(S),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:s(()=>[o(t($),{color:t(A),icon:"more",size:t(Z)},null,8,["color","size"])]),_:1})]),items:s(()=>[o(t(O),{item:{to:a.detailViewRoute,label:t(n)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)]),_:2},1032,["src"])]),_:2},1024)]),_:1})}}});const j=D(K,[["__scopeId","data-v-2c3bc02a"]]);export{j as default}; +import{d as v,L as E,r as h,o as r,g as l,w as s,h as o,A as w,m as x,C,i as t,l as u,p as I,a5 as L,E as N,a6 as R,D as _,ab as T,j as y,F as f,Y as V,a7 as B,a1 as S,H as $,a8 as A,K as Z,a9 as O,_ as q,q as D}from"./index-cf0727dc.js";import{g as F}from"./dataplane-30467516.js";const K=v({__name:"ZoneEgressListView",props:{page:{type:Number,required:!0},size:{type:Number,required:!0}},setup(z){const c=z,{t:n}=E();function b(g){return g.map(m=>{const{name:p}=m,d={name:"zone-egress-detail-view",params:{zoneEgress:p}},{networking:e}=m.zoneEgress;let i;e!=null&&e.address&&(e!=null&&e.port)&&(i=`${e.address}:${e.port}`);const a=F(m.zoneEgressInsight??{});return{detailViewRoute:d,name:p,addressPort:i,status:a}})}return(g,m)=>{const p=h("RouterLink");return r(),l(q,{name:"zone-egress-list-view"},{default:s(({route:d})=>[o(w,null,{title:s(()=>[x("h1",null,[o(C,{title:t(n)("zone-egresses.routes.items.title"),render:!0},null,8,["title"])])]),default:s(()=>[u(),o(I,{src:`/zone-egress-overviews?size=${c.size}&page=${c.page}`},{default:s(({data:e,error:i})=>[o(t(L),null,{body:s(()=>[i!==void 0?(r(),l(N,{key:0,error:i},null,8,["error"])):(r(),l(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:"Actions",key:"actions",hideLabel:!0}],"page-number":c.page,"page-size":c.size,total:e==null?void 0:e.total,items:e?b(e.items):void 0,error:i,"empty-state-message":t(n)("common.emptyState.message",{type:"Zone Egresses"}),"empty-state-cta-to":t(n)("zone-egresses.href.docs"),"empty-state-cta-text":t(n)("common.documentation"),onChange:d.update},{name:s(({row:a,rowValue:k})=>[o(p,{to:a.detailViewRoute,"data-testid":"detail-view-link"},{default:s(()=>[u(_(k),1)]),_:2},1032,["to"])]),addressPort:s(({rowValue:a})=>[a?(r(),l(T,{key:0,text:a},null,8,["text"])):(r(),y(f,{key:1},[u(_(t(n)("common.collection.none")),1)],64))]),status:s(({rowValue:a})=>[a?(r(),l(V,{key:0,status:a},null,8,["status"])):(r(),y(f,{key:1},[u(_(t(n)("common.collection.none")),1)],64))]),actions:s(({row:a})=>[o(t(B),{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:s(()=>[o(t(S),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:s(()=>[o(t($),{color:t(A),icon:"more",size:t(Z)},null,8,["color","size"])]),_:1})]),items:s(()=>[o(t(O),{item:{to:a.detailViewRoute,label:t(n)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)]),_:2},1032,["src"])]),_:2},1024)]),_:1})}}});const j=D(K,[["__scopeId","data-v-2c3bc02a"]]);export{j as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-51e5c48a.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-f35dfa20.js similarity index 71% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-51e5c48a.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-f35dfa20.js index 6cacf38b8da2..dd6c3d27ebc0 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-51e5c48a.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressStatsView-f35dfa20.js @@ -1 +1 @@ -import{d as r,L as i,o as u,g as l,w as e,h as s,A as c,m,C as d,i as t,l as p,a5 as g,_}from"./index-2bbe899f.js";import{E as f}from"./EnvoyData-f1262be0.js";import{g as h}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const E=r({__name:"ZoneEgressStatsView",props:{data:{}},setup(n){const a=n,{t:o}=i();return(w,z)=>(u(),l(_,{name:"zone-egress-stats-view","data-testid":"zone-egress-stats-view"},{default:e(()=>[s(c,null,{title:e(()=>[m("h2",null,[s(d,{title:t(o)("zone-egresses.routes.item.navigation.zone-egress-stats-view"),render:!0},null,8,["title"])])]),default:e(()=>[p(),s(t(g),null,{body:e(()=>[s(f,{status:t(h)(a.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${a.data.name}/data-path/stats`,"query-key":"envoy-data-stats-zone-egress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{E as default}; +import{d as r,L as i,o as u,g as l,w as e,h as s,A as c,m,C as d,i as t,l as p,a5 as g,_}from"./index-cf0727dc.js";import{E as f}from"./EnvoyData-67dddbed.js";import{g as h}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const E=r({__name:"ZoneEgressStatsView",props:{data:{}},setup(n){const a=n,{t:o}=i();return(w,z)=>(u(),l(_,{name:"zone-egress-stats-view","data-testid":"zone-egress-stats-view"},{default:e(()=>[s(c,null,{title:e(()=>[m("h2",null,[s(d,{title:t(o)("zone-egresses.routes.item.navigation.zone-egress-stats-view"),render:!0},null,8,["title"])])]),default:e(()=>[p(),s(t(g),null,{body:e(()=>[s(f,{status:t(h)(a.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${a.data.name}/data-path/stats`,"query-key":"envoy-data-stats-zone-egress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{E as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-8cf6c5f2.js b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-bd527276.js similarity index 78% rename from app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-8cf6c5f2.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-bd527276.js index fbea5459a1b2..d9143258ba54 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-8cf6c5f2.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneEgressXdsConfigView-bd527276.js @@ -1 +1 @@ -import{d as r,L as i,o as d,g as c,w as e,h as s,A as u,m as l,C as g,i as t,l as m,a5 as f,_ as p}from"./index-2bbe899f.js";import{E as _}from"./EnvoyData-f1262be0.js";import{g as x}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const C=r({__name:"ZoneEgressXdsConfigView",props:{data:{}},setup(n){const a=n,{t:o}=i();return(h,w)=>(d(),c(p,{name:"zone-egress-xds-config-view","data-testid":"zone-egress-xds-config-view"},{default:e(()=>[s(u,null,{title:e(()=>[l("h2",null,[s(g,{title:t(o)("zone-egresses.routes.item.navigation.zone-egress-xds-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[m(),s(t(f),null,{body:e(()=>[s(_,{status:t(x)(a.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${a.data.name}/data-path/xds`,"query-key":"envoy-data-xds-zone-egress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{C as default}; +import{d as r,L as i,o as d,g as c,w as e,h as s,A as u,m as l,C as g,i as t,l as m,a5 as f,_ as p}from"./index-cf0727dc.js";import{E as _}from"./EnvoyData-67dddbed.js";import{g as x}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const C=r({__name:"ZoneEgressXdsConfigView",props:{data:{}},setup(n){const a=n,{t:o}=i();return(h,w)=>(d(),c(p,{name:"zone-egress-xds-config-view","data-testid":"zone-egress-xds-config-view"},{default:e(()=>[s(u,null,{title:e(()=>[l("h2",null,[s(g,{title:t(o)("zone-egresses.routes.item.navigation.zone-egress-xds-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[m(),s(t(f),null,{body:e(()=>[s(_,{status:t(x)(a.data.zoneEgressInsight),resource:"Zone",src:`/zone-egresses/${a.data.name}/data-path/xds`,"query-key":"envoy-data-xds-zone-egress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{C as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-2bd601a9.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-f219c7da.js similarity index 71% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-2bd601a9.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-f219c7da.js index a7ffaf20660a..261f795d733e 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-2bd601a9.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressClustersView-f219c7da.js @@ -1 +1 @@ -import{d as o,L as i,o as u,g as l,w as e,h as s,A as c,m,C as d,i as t,l as p,a5 as g,_}from"./index-2bbe899f.js";import{E as f}from"./EnvoyData-f1262be0.js";import{g as h}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const x=o({__name:"ZoneIngressClustersView",props:{data:{}},setup(n){const a=n,{t:r}=i();return(w,z)=>(u(),l(_,{name:"zone-ingress-clusters-view","data-testid":"zone-ingress-clusters-view"},{default:e(()=>[s(c,null,{title:e(()=>[m("h2",null,[s(d,{title:t(r)("zone-ingresses.routes.item.navigation.zone-ingress-clusters-view"),render:!0},null,8,["title"])])]),default:e(()=>[p(),s(t(g),null,{body:e(()=>[s(f,{status:t(h)(a.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${a.data.name}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-ingress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{x as default}; +import{d as o,L as i,o as u,g as l,w as e,h as s,A as c,m,C as d,i as t,l as p,a5 as g,_}from"./index-cf0727dc.js";import{E as f}from"./EnvoyData-67dddbed.js";import{g as h}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const x=o({__name:"ZoneIngressClustersView",props:{data:{}},setup(n){const a=n,{t:r}=i();return(w,z)=>(u(),l(_,{name:"zone-ingress-clusters-view","data-testid":"zone-ingress-clusters-view"},{default:e(()=>[s(c,null,{title:e(()=>[m("h2",null,[s(d,{title:t(r)("zone-ingresses.routes.item.navigation.zone-ingress-clusters-view"),render:!0},null,8,["title"])])]),default:e(()=>[p(),s(t(g),null,{body:e(()=>[s(f,{status:t(h)(a.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${a.data.name}/data-path/clusters`,"query-key":"envoy-data-clusters-zone-ingress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-b9c58969.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-1c469f98.js similarity index 83% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-b9c58969.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-1c469f98.js index 8189f17d8bdc..866004a074d3 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-b9c58969.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressConfigView-1c469f98.js @@ -1 +1 @@ -import{d as m,L as u,R as f,o as s,g as n,w as e,h as a,A as g,m as p,C as d,i as r,l as k,a5 as z,p as h,E as w,s as v,_ as $}from"./index-2bbe899f.js";import{_ as I}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-535bde0f.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";import"./toYaml-4e00099e.js";const N=m({__name:"ZoneIngressConfigView",setup(V){const{t:c}=u(),l=f();return(x,y)=>(s(),n($,{name:"zone-ingress-config-view","data-testid":"zone-ingress-config-view"},{default:e(({route:o})=>[a(g,null,{title:e(()=>[p("h2",null,[a(d,{title:r(c)("zone-ingresses.routes.item.navigation.zone-ingress-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[k(),a(r(z),{class:"mt-4"},{body:e(()=>[a(h,{src:`/zone-ingresses/${o.params.zoneIngress}`},{default:e(({data:i,error:t})=>[t!==void 0?(s(),n(w,{key:0,error:t},null,8,["error"])):i===void 0?(s(),n(v,{key:1})):(s(),n(I,{key:2,id:"code-block-zone-ingress",resource:i,"resource-fetcher":_=>r(l).getZoneIngress({name:o.params.zoneIngress},_),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1}))}});export{N as default}; +import{d as m,L as u,R as f,o as s,g as n,w as e,h as a,A as g,m as p,C as d,i as r,l as k,a5 as z,p as h,E as w,s as v,_ as $}from"./index-cf0727dc.js";import{_ as I}from"./ResourceCodeBlock.vue_vue_type_style_index_0_lang-7180eb37.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";import"./toYaml-4e00099e.js";const N=m({__name:"ZoneIngressConfigView",setup(V){const{t:c}=u(),l=f();return(x,y)=>(s(),n($,{name:"zone-ingress-config-view","data-testid":"zone-ingress-config-view"},{default:e(({route:o})=>[a(g,null,{title:e(()=>[p("h2",null,[a(d,{title:r(c)("zone-ingresses.routes.item.navigation.zone-ingress-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[k(),a(r(z),{class:"mt-4"},{body:e(()=>[a(h,{src:`/zone-ingresses/${o.params.zoneIngress}`},{default:e(({data:i,error:t})=>[t!==void 0?(s(),n(w,{key:0,error:t},null,8,["error"])):i===void 0?(s(),n(v,{key:1})):(s(),n(I,{key:2,id:"code-block-zone-ingress",resource:i,"resource-fetcher":_=>r(l).getZoneIngress({name:o.params.zoneIngress},_),"is-searchable":""},null,8,["resource","resource-fetcher"]))]),_:2},1032,["src"])]),_:2},1024)]),_:2},1024)]),_:1}))}});export{N as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-6c72596e.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-601f43eb.js similarity index 91% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-6c72596e.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-601f43eb.js index 4c32ab7724e4..f555ba5ef038 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-6c72596e.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailTabsView-601f43eb.js @@ -1 +1 @@ -import{d as g,L as b,aa as v,r as w,o,g as l,w as s,h as t,A as z,i as d,m as x,ab as h,C as k,l as p,p as C,E as V,s as y,j as B,F as N,n as $,_ as I}from"./index-2bbe899f.js";import{N as R}from"./NavTabs-d30389b8.js";const j=g({__name:"ZoneIngressDetailTabsView",setup(T){var _;const{t:m}=b(),f=(((_=v().getRoutes().find(e=>e.name==="zone-ingress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var n,i;const c=typeof e.name>"u"?(n=e.children)==null?void 0:n[0]:e,r=c.name,a=((i=c.meta)==null?void 0:i.module)??"";return{title:m(`zone-ingresses.routes.item.navigation.${r}`),routeName:r,module:a}});return(e,c)=>{const r=w("RouterView");return o(),l(I,{name:"zone-ingress-detail-tabs-view","data-testid":"zone-ingress-detail-tabs-view"},{default:s(({route:a})=>[t(z,{breadcrumbs:[{to:{name:"zone-ingress-list-view"},text:d(m)("zone-ingresses.routes.item.breadcrumbs")}]},{title:s(()=>[x("h1",null,[t(h,{text:a.params.zoneIngress},{default:s(()=>[t(k,{title:d(m)("zone-ingresses.routes.item.title",{name:a.params.zoneIngress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:s(()=>[p(),t(C,{src:`/zone-ingress-overviews/${a.params.zoneIngress}`},{default:s(({data:u,error:n})=>[n!==void 0?(o(),l(V,{key:0,error:n},null,8,["error"])):u===void 0?(o(),l(y,{key:1})):(o(),B(N,{key:2},[t(R,{class:"route-zone-ingress-detail-view-tabs",tabs:d(f)},null,8,["tabs"]),p(),t(r,null,{default:s(i=>[(o(),l($(i.Component),{data:u},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{j as default}; +import{d as g,L as b,aa as v,r as w,o,g as l,w as s,h as t,A as z,i as d,m as x,ab as h,C as k,l as p,p as C,E as V,s as y,j as B,F as N,n as $,_ as I}from"./index-cf0727dc.js";import{N as R}from"./NavTabs-048398ef.js";const j=g({__name:"ZoneIngressDetailTabsView",setup(T){var _;const{t:m}=b(),f=(((_=v().getRoutes().find(e=>e.name==="zone-ingress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var n,i;const c=typeof e.name>"u"?(n=e.children)==null?void 0:n[0]:e,r=c.name,a=((i=c.meta)==null?void 0:i.module)??"";return{title:m(`zone-ingresses.routes.item.navigation.${r}`),routeName:r,module:a}});return(e,c)=>{const r=w("RouterView");return o(),l(I,{name:"zone-ingress-detail-tabs-view","data-testid":"zone-ingress-detail-tabs-view"},{default:s(({route:a})=>[t(z,{breadcrumbs:[{to:{name:"zone-ingress-list-view"},text:d(m)("zone-ingresses.routes.item.breadcrumbs")}]},{title:s(()=>[x("h1",null,[t(h,{text:a.params.zoneIngress},{default:s(()=>[t(k,{title:d(m)("zone-ingresses.routes.item.title",{name:a.params.zoneIngress}),render:!0},null,8,["title"])]),_:2},1032,["text"])])]),default:s(()=>[p(),t(C,{src:`/zone-ingress-overviews/${a.params.zoneIngress}`},{default:s(({data:u,error:n})=>[n!==void 0?(o(),l(V,{key:0,error:n},null,8,["error"])):u===void 0?(o(),l(y,{key:1})):(o(),B(N,{key:2},[t(R,{class:"route-zone-ingress-detail-view-tabs",tabs:d(f)},null,8,["tabs"]),p(),t(r,null,{default:s(i=>[(o(),l($(i.Component),{data:u},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/ZoneIngressDetailView-897c27ff.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailView-94c6db67.js similarity index 90% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailView-897c27ff.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailView-94c6db67.js index 2f2d734e9f7c..33049e7c36a8 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailView-897c27ff.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressDetailView-94c6db67.js @@ -1 +1 @@ -import{d as w,L as z,r as f,o as i,g as p,w as e,h as a,A as v,m as c,ae as g,l as s,D as d,i as o,Y as b,ab as I,j as u,F as h,k as C,_ as x}from"./index-2bbe899f.js";import{_ as B}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-30c5086e.js";import{g as V}from"./dataplane-30467516.js";import"./AccordionList-2acfc916.js";const $={class:"stack","data-testid":"detail-view-details"},A={class:"columns",style:{"--columns":"3"}},D={key:0},T=w({__name:"ZoneIngressDetailView",props:{data:{}},setup(y){const t=y,{t:r}=z();return(m,N)=>{const _=f("KCard");return i(),p(x,{name:"zone-ingress-detail-view","data-testid":"zone-ingress-detail-view"},{default:e(()=>[a(v,null,{default:e(()=>{var k;return[c("div",$,[a(_,null,{body:e(()=>[c("div",A,[a(g,null,{title:e(()=>[s(d(o(r)("http.api.property.status")),1)]),body:e(()=>[a(b,{status:o(V)(t.data.zoneIngressInsight)},null,8,["status"])]),_:1}),s(),a(g,null,{title:e(()=>[s(d(o(r)("http.api.property.address")),1)]),body:e(()=>{var n,l;return[(n=t.data.zoneIngress.networking)!=null&&n.address&&((l=t.data.zoneIngress.networking)!=null&&l.port)?(i(),p(I,{key:0,text:`${t.data.zoneIngress.networking.address}:${t.data.zoneIngress.networking.port}`},null,8,["text"])):(i(),u(h,{key:1},[s(d(o(r)("common.detail.none")),1)],64))]}),_:1}),s(),a(g,null,{title:e(()=>[s(d(o(r)("http.api.property.advertisedAddress")),1)]),body:e(()=>{var n,l;return[(n=t.data.zoneIngress.networking)!=null&&n.advertisedAddress&&((l=t.data.zoneIngress.networking)!=null&&l.advertisedPort)?(i(),p(I,{key:0,text:`${t.data.zoneIngress.networking.advertisedAddress}:${t.data.zoneIngress.networking.advertisedPort}`},null,8,["text"])):(i(),u(h,{key:1},[s(d(o(r)("common.detail.none")),1)],64))]}),_:1})])]),_:1}),s(),(((k=m.data.zoneIngressInsight)==null?void 0:k.subscriptions)??[]).length>0?(i(),u("div",D,[c("h2",null,d(o(r)("zone-ingresses.detail.subscriptions")),1),s(),a(_,{class:"mt-4"},{body:e(()=>{var n;return[a(B,{subscriptions:((n=m.data.zoneIngressInsight)==null?void 0:n.subscriptions)??[]},null,8,["subscriptions"])]}),_:1})])):C("",!0)])]}),_:1})]),_:1})}}});export{T as default}; +import{d as w,L as z,r as f,o as i,g as p,w as e,h as a,A as v,m as c,ae as g,l as s,D as d,i as o,Y as b,ab as I,j as u,F as h,k as C,_ as x}from"./index-cf0727dc.js";import{_ as B}from"./SubscriptionList.vue_vue_type_script_setup_true_lang-bbc2cd69.js";import{g as V}from"./dataplane-30467516.js";import"./AccordionList-6ce6736a.js";const $={class:"stack","data-testid":"detail-view-details"},A={class:"columns",style:{"--columns":"3"}},D={key:0},T=w({__name:"ZoneIngressDetailView",props:{data:{}},setup(y){const t=y,{t:r}=z();return(m,N)=>{const _=f("KCard");return i(),p(x,{name:"zone-ingress-detail-view","data-testid":"zone-ingress-detail-view"},{default:e(()=>[a(v,null,{default:e(()=>{var k;return[c("div",$,[a(_,null,{body:e(()=>[c("div",A,[a(g,null,{title:e(()=>[s(d(o(r)("http.api.property.status")),1)]),body:e(()=>[a(b,{status:o(V)(t.data.zoneIngressInsight)},null,8,["status"])]),_:1}),s(),a(g,null,{title:e(()=>[s(d(o(r)("http.api.property.address")),1)]),body:e(()=>{var n,l;return[(n=t.data.zoneIngress.networking)!=null&&n.address&&((l=t.data.zoneIngress.networking)!=null&&l.port)?(i(),p(I,{key:0,text:`${t.data.zoneIngress.networking.address}:${t.data.zoneIngress.networking.port}`},null,8,["text"])):(i(),u(h,{key:1},[s(d(o(r)("common.detail.none")),1)],64))]}),_:1}),s(),a(g,null,{title:e(()=>[s(d(o(r)("http.api.property.advertisedAddress")),1)]),body:e(()=>{var n,l;return[(n=t.data.zoneIngress.networking)!=null&&n.advertisedAddress&&((l=t.data.zoneIngress.networking)!=null&&l.advertisedPort)?(i(),p(I,{key:0,text:`${t.data.zoneIngress.networking.advertisedAddress}:${t.data.zoneIngress.networking.advertisedPort}`},null,8,["text"])):(i(),u(h,{key:1},[s(d(o(r)("common.detail.none")),1)],64))]}),_:1})])]),_:1}),s(),(((k=m.data.zoneIngressInsight)==null?void 0:k.subscriptions)??[]).length>0?(i(),u("div",D,[c("h2",null,d(o(r)("zone-ingresses.detail.subscriptions")),1),s(),a(_,{class:"mt-4"},{body:e(()=>{var n;return[a(B,{subscriptions:((n=m.data.zoneIngressInsight)==null?void 0:n.subscriptions)??[]},null,8,["subscriptions"])]}),_:1})])):C("",!0)])]}),_:1})]),_:1})}}});export{T as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-081cf988.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-9f358e96.js similarity index 96% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-081cf988.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-9f358e96.js index 3321a473ccf6..1b6651d484a2 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-081cf988.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressListView-9f358e96.js @@ -1 +1 @@ -import{d as x,L as h,r as A,o,g as i,w as a,h as l,A as C,m as $,C as L,i as s,l as c,p as N,a5 as R,E,a6 as P,D as _,ab as z,j as y,F as f,Y as T,a7 as w,a1 as B,H as S,a8 as V,K as Z,a9 as O,_ as q,q as D}from"./index-2bbe899f.js";import{_ as F}from"./MultizoneInfo.vue_vue_type_script_setup_true_lang-e63d90ab.js";import{g as K}from"./dataplane-30467516.js";const U=x({__name:"ZoneIngressListView",props:{page:{type:Number,required:!0},size:{type:Number,required:!0}},setup(b){const m=b,{t:n}=h();function I(v){return v.map(p=>{const{name:u}=p,g={name:"zone-ingress-detail-view",params:{zoneIngress:u}},{networking:e}=p.zoneIngress;let r;e!=null&&e.address&&(e!=null&&e.port)&&(r=`${e.address}:${e.port}`);let d;e!=null&&e.advertisedAddress&&(e!=null&&e.advertisedPort)&&(d=`${e.advertisedAddress}:${e.advertisedPort}`);const t=K(p.zoneIngressInsight??{});return{detailViewRoute:g,name:u,addressPort:r,advertisedAddressPort:d,status:t}})}return(v,p)=>{const u=A("RouterLink");return o(),i(q,{name:"zone-ingress-list-view"},{default:a(({route:g,can:e})=>[l(C,null,{title:a(()=>[$("h1",null,[l(L,{title:s(n)("zone-ingresses.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[c(),e("use zones")?(o(),i(N,{key:1,src:`/zone-ingress-overviews?size=${m.size}&page=${m.page}`},{default:a(({data:r,error:d})=>[l(s(R),null,{body:a(()=>[d!==void 0?(o(),i(E,{key:0,error:d},null,8,["error"])):(o(),i(P,{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:"Actions",key:"actions",hideLabel:!0}],"page-number":m.page,"page-size":m.size,total:r==null?void 0:r.total,items:r?I(r.items):void 0,error:d,"empty-state-message":s(n)("common.emptyState.message",{type:"Zone Ingresses"}),"empty-state-cta-to":s(n)("zone-ingresses.href.docs"),"empty-state-cta-text":s(n)("common.documentation"),onChange:g.update},{name:a(({row:t,rowValue:k})=>[l(u,{to:t.detailViewRoute,"data-testid":"detail-view-link"},{default:a(()=>[c(_(k),1)]),_:2},1032,["to"])]),addressPort:a(({rowValue:t})=>[t?(o(),i(z,{key:0,text:t},null,8,["text"])):(o(),y(f,{key:1},[c(_(s(n)("common.collection.none")),1)],64))]),advertisedAddressPort:a(({rowValue:t})=>[t?(o(),i(z,{key:0,text:t},null,8,["text"])):(o(),y(f,{key:1},[c(_(s(n)("common.collection.none")),1)],64))]),status:a(({rowValue:t})=>[t?(o(),i(T,{key:0,status:t},null,8,["status"])):(o(),y(f,{key:1},[c(_(s(n)("common.collection.none")),1)],64))]),actions:a(({row:t})=>[l(s(w),{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:a(()=>[l(s(B),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:a(()=>[l(s(S),{color:s(V),icon:"more",size:s(Z)},null,8,["color","size"])]),_:1})]),items:a(()=>[l(s(O),{item:{to:t.detailViewRoute,label:s(n)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)]),_:2},1032,["src"])):(o(),i(F,{key:0}))]),_:2},1024)]),_:1})}}});const J=D(U,[["__scopeId","data-v-ef64d957"]]);export{J as default}; +import{d as x,L as h,r as A,o,g as i,w as a,h as l,A as C,m as $,C as L,i as s,l as c,p as N,a5 as R,E,a6 as P,D as _,ab as z,j as y,F as f,Y as T,a7 as w,a1 as B,H as S,a8 as V,K as Z,a9 as O,_ as q,q as D}from"./index-cf0727dc.js";import{_ as F}from"./MultizoneInfo.vue_vue_type_script_setup_true_lang-dd8cd244.js";import{g as K}from"./dataplane-30467516.js";const U=x({__name:"ZoneIngressListView",props:{page:{type:Number,required:!0},size:{type:Number,required:!0}},setup(b){const m=b,{t:n}=h();function I(v){return v.map(p=>{const{name:u}=p,g={name:"zone-ingress-detail-view",params:{zoneIngress:u}},{networking:e}=p.zoneIngress;let r;e!=null&&e.address&&(e!=null&&e.port)&&(r=`${e.address}:${e.port}`);let d;e!=null&&e.advertisedAddress&&(e!=null&&e.advertisedPort)&&(d=`${e.advertisedAddress}:${e.advertisedPort}`);const t=K(p.zoneIngressInsight??{});return{detailViewRoute:g,name:u,addressPort:r,advertisedAddressPort:d,status:t}})}return(v,p)=>{const u=A("RouterLink");return o(),i(q,{name:"zone-ingress-list-view"},{default:a(({route:g,can:e})=>[l(C,null,{title:a(()=>[$("h1",null,[l(L,{title:s(n)("zone-ingresses.routes.items.title"),render:!0},null,8,["title"])])]),default:a(()=>[c(),e("use zones")?(o(),i(N,{key:1,src:`/zone-ingress-overviews?size=${m.size}&page=${m.page}`},{default:a(({data:r,error:d})=>[l(s(R),null,{body:a(()=>[d!==void 0?(o(),i(E,{key:0,error:d},null,8,["error"])):(o(),i(P,{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:"Actions",key:"actions",hideLabel:!0}],"page-number":m.page,"page-size":m.size,total:r==null?void 0:r.total,items:r?I(r.items):void 0,error:d,"empty-state-message":s(n)("common.emptyState.message",{type:"Zone Ingresses"}),"empty-state-cta-to":s(n)("zone-ingresses.href.docs"),"empty-state-cta-text":s(n)("common.documentation"),onChange:g.update},{name:a(({row:t,rowValue:k})=>[l(u,{to:t.detailViewRoute,"data-testid":"detail-view-link"},{default:a(()=>[c(_(k),1)]),_:2},1032,["to"])]),addressPort:a(({rowValue:t})=>[t?(o(),i(z,{key:0,text:t},null,8,["text"])):(o(),y(f,{key:1},[c(_(s(n)("common.collection.none")),1)],64))]),advertisedAddressPort:a(({rowValue:t})=>[t?(o(),i(z,{key:0,text:t},null,8,["text"])):(o(),y(f,{key:1},[c(_(s(n)("common.collection.none")),1)],64))]),status:a(({rowValue:t})=>[t?(o(),i(T,{key:0,status:t},null,8,["status"])):(o(),y(f,{key:1},[c(_(s(n)("common.collection.none")),1)],64))]),actions:a(({row:t})=>[l(s(w),{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:a(()=>[l(s(B),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:a(()=>[l(s(S),{color:s(V),icon:"more",size:s(Z)},null,8,["color","size"])]),_:1})]),items:a(()=>[l(s(O),{item:{to:t.detailViewRoute,label:s(n)("common.collection.actions.view")}},null,8,["item"])]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024)]),_:2},1032,["src"])):(o(),i(F,{key:0}))]),_:2},1024)]),_:1})}}});const J=D(U,[["__scopeId","data-v-ef64d957"]]);export{J as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-4436ef0d.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-9912283b.js similarity index 71% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-4436ef0d.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-9912283b.js index 923f90ba3ef0..9d96c4f3525c 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-4436ef0d.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressStatsView-9912283b.js @@ -1 +1 @@ -import{d as r,L as i,o as u,g as l,w as e,h as s,A as c,m,C as d,i as t,l as p,a5 as g,_}from"./index-2bbe899f.js";import{E as f}from"./EnvoyData-f1262be0.js";import{g as h}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const x=r({__name:"ZoneIngressStatsView",props:{data:{}},setup(n){const a=n,{t:o}=i();return(w,z)=>(u(),l(_,{name:"zone-ingress-stats-view","data-testid":"zone-ingress-stats-view"},{default:e(()=>[s(c,null,{title:e(()=>[m("h2",null,[s(d,{title:t(o)("zone-ingresses.routes.item.navigation.zone-ingress-stats-view"),render:!0},null,8,["title"])])]),default:e(()=>[p(),s(t(g),null,{body:e(()=>[s(f,{status:t(h)(a.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${a.data.name}/data-path/stats`,"query-key":"envoy-data-stats-zone-ingress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{x as default}; +import{d as r,L as i,o as u,g as l,w as e,h as s,A as c,m,C as d,i as t,l as p,a5 as g,_}from"./index-cf0727dc.js";import{E as f}from"./EnvoyData-67dddbed.js";import{g as h}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const x=r({__name:"ZoneIngressStatsView",props:{data:{}},setup(n){const a=n,{t:o}=i();return(w,z)=>(u(),l(_,{name:"zone-ingress-stats-view","data-testid":"zone-ingress-stats-view"},{default:e(()=>[s(c,null,{title:e(()=>[m("h2",null,[s(d,{title:t(o)("zone-ingresses.routes.item.navigation.zone-ingress-stats-view"),render:!0},null,8,["title"])])]),default:e(()=>[p(),s(t(g),null,{body:e(()=>[s(f,{status:t(h)(a.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${a.data.name}/data-path/stats`,"query-key":"envoy-data-stats-zone-ingress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{x as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-96c5d184.js b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-b7d716fb.js similarity index 79% rename from app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-96c5d184.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-b7d716fb.js index f96301476f5f..508849b0a18b 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-96c5d184.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneIngressXdsConfigView-b7d716fb.js @@ -1 +1 @@ -import{d as r,L as i,o as d,g as c,w as e,h as s,A as u,m as l,C as g,i as t,l as m,a5 as f,_ as p}from"./index-2bbe899f.js";import{E as _}from"./EnvoyData-f1262be0.js";import{g as x}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-9282fff3.js";const V=r({__name:"ZoneIngressXdsConfigView",props:{data:{}},setup(n){const a=n,{t:o}=i();return(h,w)=>(d(),c(p,{name:"zone-ingress-xds-config-view","data-testid":"zone-ingress-xds-config-view"},{default:e(()=>[s(u,null,{title:e(()=>[l("h2",null,[s(g,{title:t(o)("zone-ingresses.routes.item.navigation.zone-ingress-xds-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[m(),s(t(f),null,{body:e(()=>[s(_,{status:t(x)(a.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${a.data.name}/data-path/xds`,"query-key":"envoy-data-xds-zone-ingress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{V as default}; +import{d as r,L as i,o as d,g as c,w as e,h as s,A as u,m as l,C as g,i as t,l as m,a5 as f,_ as p}from"./index-cf0727dc.js";import{E as _}from"./EnvoyData-67dddbed.js";import{g as x}from"./dataplane-30467516.js";import"./CodeBlock.vue_vue_type_style_index_0_lang-ca4abdee.js";const V=r({__name:"ZoneIngressXdsConfigView",props:{data:{}},setup(n){const a=n,{t:o}=i();return(h,w)=>(d(),c(p,{name:"zone-ingress-xds-config-view","data-testid":"zone-ingress-xds-config-view"},{default:e(()=>[s(u,null,{title:e(()=>[l("h2",null,[s(g,{title:t(o)("zone-ingresses.routes.item.navigation.zone-ingress-xds-config-view"),render:!0},null,8,["title"])])]),default:e(()=>[m(),s(t(f),null,{body:e(()=>[s(_,{status:t(x)(a.data.zoneIngressInsight),resource:"Zone",src:`/zone-ingresses/${a.data.name}/data-path/xds`,"query-key":"envoy-data-xds-zone-ingress"},null,8,["status","src"])]),_:1})]),_:1})]),_:1}))}});export{V as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneListView-2c4af29e.js b/app/kuma-ui/pkg/resources/data/assets/ZoneListView-ca55b683.js similarity index 97% rename from app/kuma-ui/pkg/resources/data/assets/ZoneListView-2c4af29e.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneListView-ca55b683.js index 5fe85094545d..97efc43010fa 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneListView-2c4af29e.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneListView-ca55b683.js @@ -1 +1 @@ -import{d as S,t as N,o as a,g as i,w as e,U as R,l as n,i as s,ag as D,k as T,aH as q,R as F,r as K,h as l,A as U,X as W,m as E,C as P,p as G,a5 as H,E as J,a6 as X,D as r,Y,j as Z,F as A,af as j,a2 as Q,K as I,a7 as ee,a1 as L,H as te,a8 as oe,a9 as M,_ as ne,aI as ae,q as se}from"./index-2bbe899f.js";import{_ as ie}from"./MultizoneInfo.vue_vue_type_script_setup_true_lang-e63d90ab.js";const le=S({__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},modalId:{type:String,required:!0},title:{type:String,required:!1,default:"Delete"}},emits:["cancel","delete"],setup(w,{emit:p}){const c=w,d=N(!1);async function g(){d.value=!1;try{await c.deleteFunction(),p("delete")}catch{d.value=!0}}return(u,v)=>(a(),i(s(q),{"action-button-text":c.actionButtonText,"confirmation-text":c.confirmationText,"is-visible":c.isVisible,"modal-id":c.modalId,title:c.title,type:"danger","data-testid":"delete-resource-modal",onCanceled:v[0]||(v[0]=O=>p("cancel")),onProceed:g},{"body-content":e(()=>[R(u.$slots,"body-content"),n(),d.value?(a(),i(s(D),{key:0,class:"mt-4",appearance:"danger","is-dismissible":""},{alertMessage:e(()=>[R(u.$slots,"error")]),_:3})):T("",!0)]),_:3},8,["action-button-text","confirmation-text","is-visible","modal-id","title"]))}}),re=S({__name:"ZoneListView",props:{page:{type:Number,required:!0},size:{type:Number,required:!0}},setup(w){const p=w,c=F(),d=N(!1),g=N(!1),u=N("");function v(m){return m.map(z=>{var C;const{name:k}=z,h={name:"zone-cp-detail-view",params:{zone:k}};let t="",f="kubernetes",_=!0;(((C=z.zoneInsight)==null?void 0:C.subscriptions)??[]).forEach(o=>{if(o.version&&o.version.kumaCp){t=o.version.kumaCp.version;const{kumaCpGlobalCompatible:x=!0}=o.version.kumaCp;_=x}o.config&&(f=JSON.parse(o.config).environment)});const b=ae(z);return{detailViewRoute:h,name:k,status:b,zoneCpVersion:t,type:f,warnings:!_}})}async function O(){await c.deleteZone({name:u.value})}function V(){d.value=!d.value}function B(m){V(),u.value=m}function $(m){g.value=(m==null?void 0:m.items.length)>0}return(m,z)=>{const k=K("RouterLink");return a(),i(ne,{name:"zone-cp-list-view"},{default:e(({route:h,t,can:f,env:_})=>[l(U,null,W({title:e(()=>[E("h1",null,[l(P,{title:t("zone-cps.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[n(),n(),f("use zones")?(a(),i(G,{key:1,src:`/zone-cps?size=${p.size}&page=${p.page}`,onChange:$},{default:e(({data:y,error:b,refresh:C})=>[l(s(H),null,{body:e(()=>[b!==void 0?(a(),i(J,{key:0,error:b},null,8,["error"])):(a(),i(X,{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:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":p.page,"page-size":p.size,total:y==null?void 0:y.total,items:y?v(y.items):void 0,error:b,"empty-state-title":_("KUMA_ZONE_CREATION_FLOW")==="enabled"?t("zone-cps.empty_state.title"):void 0,"empty-state-message":_("KUMA_ZONE_CREATION_FLOW")==="enabled"?t("zone-cps.empty_state.message"):void 0,"empty-state-cta-to":_("KUMA_ZONE_CREATION_FLOW")==="enabled"?{name:"zone-create-view"}:void 0,"empty-state-cta-text":_("KUMA_ZONE_CREATION_FLOW")==="enabled"?t("zones.index.create"):void 0,onChange:h.update},{name:e(({row:o,rowValue:x})=>[l(k,{to:o.detailViewRoute,"data-testid":"detail-view-link"},{default:e(()=>[n(r(x),1)]),_:2},1032,["to"])]),zoneCpVersion:e(({rowValue:o})=>[n(r(o||t("common.collection.none")),1)]),type:e(({rowValue:o})=>[n(r(o||t("common.collection.none")),1)]),status:e(({rowValue:o})=>[o?(a(),i(Y,{key:0,status:o},null,8,["status"])):(a(),Z(A,{key:1},[n(r(t("common.collection.none")),1)],64))]),warnings:e(({rowValue:o})=>[o?(a(),i(s(j),{key:0,label:t("zone-cps.list.version_mismatch")},{default:e(()=>[l(Q,{class:"mr-1",size:s(I),"hide-title":""},null,8,["size"])]),_:2},1032,["label"])):(a(),Z(A,{key:1},[n(r(t("common.collection.none")),1)],64))]),actions:e(({row:o})=>[l(s(ee),{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[l(s(L),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:e(()=>[l(s(te),{color:s(oe),icon:"more",size:s(I)},null,8,["color","size"])]),_:1})]),items:e(()=>[l(s(M),{item:{to:o.detailViewRoute,label:t("common.collection.actions.view")}},null,8,["item"]),n(),f("create zones")?(a(),i(s(M),{key:0,"has-divider":"","is-dangerous":"","data-testid":"dropdown-delete-item",onClick:x=>B(o.name)},{default:e(()=>[n(r(t("common.collection.actions.delete")),1)]),_:2},1032,["onClick"])):T("",!0)]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024),n(),d.value?(a(),i(le,{key:0,"confirmation-text":u.value,"delete-function":O,"is-visible":d.value,"modal-id":"delete-zone-modal","action-button-text":t("zones.delete.confirmModal.proceedText"),title:t("zones.delete.confirmModal.title"),onCancel:V,onDelete:()=>{V(),C()}},{"body-content":e(()=>[E("p",null,r(t("zones.delete.confirmModal.text1",{zoneName:u.value})),1),n(),E("p",null,r(t("zones.delete.confirmModal.text2")),1)]),error:e(()=>[n(r(t("zones.delete.confirmModal.errorText")),1)]),_:2},1032,["confirmation-text","is-visible","action-button-text","title","onDelete"])):T("",!0)]),_:2},1032,["src"])):(a(),i(ie,{key:0}))]),_:2},[f("create zones")&&g.value?{name:"actions",fn:e(()=>[l(s(L),{appearance:"primary",icon:"plus",to:{name:"zone-create-view"},"data-testid":"create-zone-link"},{default:e(()=>[n(r(t("zones.index.create")),1)]),_:2},1024)]),key:"0"}:void 0]),1024)]),_:1})}}});const ue=se(re,[["__scopeId","data-v-d0cdd1d2"]]);export{ue as default}; +import{d as S,t as N,o as a,g as i,w as e,U as R,l as n,i as s,ag as D,k as T,aH as q,R as F,r as K,h as l,A as U,X as W,m as E,C as P,p as G,a5 as H,E as J,a6 as X,D as r,Y,j as Z,F as A,af as j,a2 as Q,K as I,a7 as ee,a1 as L,H as te,a8 as oe,a9 as M,_ as ne,aI as ae,q as se}from"./index-cf0727dc.js";import{_ as ie}from"./MultizoneInfo.vue_vue_type_script_setup_true_lang-dd8cd244.js";const le=S({__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},modalId:{type:String,required:!0},title:{type:String,required:!1,default:"Delete"}},emits:["cancel","delete"],setup(w,{emit:p}){const c=w,d=N(!1);async function g(){d.value=!1;try{await c.deleteFunction(),p("delete")}catch{d.value=!0}}return(u,v)=>(a(),i(s(q),{"action-button-text":c.actionButtonText,"confirmation-text":c.confirmationText,"is-visible":c.isVisible,"modal-id":c.modalId,title:c.title,type:"danger","data-testid":"delete-resource-modal",onCanceled:v[0]||(v[0]=O=>p("cancel")),onProceed:g},{"body-content":e(()=>[R(u.$slots,"body-content"),n(),d.value?(a(),i(s(D),{key:0,class:"mt-4",appearance:"danger","is-dismissible":""},{alertMessage:e(()=>[R(u.$slots,"error")]),_:3})):T("",!0)]),_:3},8,["action-button-text","confirmation-text","is-visible","modal-id","title"]))}}),re=S({__name:"ZoneListView",props:{page:{type:Number,required:!0},size:{type:Number,required:!0}},setup(w){const p=w,c=F(),d=N(!1),g=N(!1),u=N("");function v(m){return m.map(z=>{var C;const{name:k}=z,h={name:"zone-cp-detail-view",params:{zone:k}};let t="",f="kubernetes",_=!0;(((C=z.zoneInsight)==null?void 0:C.subscriptions)??[]).forEach(o=>{if(o.version&&o.version.kumaCp){t=o.version.kumaCp.version;const{kumaCpGlobalCompatible:x=!0}=o.version.kumaCp;_=x}o.config&&(f=JSON.parse(o.config).environment)});const b=ae(z);return{detailViewRoute:h,name:k,status:b,zoneCpVersion:t,type:f,warnings:!_}})}async function O(){await c.deleteZone({name:u.value})}function V(){d.value=!d.value}function B(m){V(),u.value=m}function $(m){g.value=(m==null?void 0:m.items.length)>0}return(m,z)=>{const k=K("RouterLink");return a(),i(ne,{name:"zone-cp-list-view"},{default:e(({route:h,t,can:f,env:_})=>[l(U,null,W({title:e(()=>[E("h1",null,[l(P,{title:t("zone-cps.routes.items.title"),render:!0},null,8,["title"])])]),default:e(()=>[n(),n(),f("use zones")?(a(),i(G,{key:1,src:`/zone-cps?size=${p.size}&page=${p.page}`,onChange:$},{default:e(({data:y,error:b,refresh:C})=>[l(s(H),null,{body:e(()=>[b!==void 0?(a(),i(J,{key:0,error:b},null,8,["error"])):(a(),i(X,{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:"Status",key:"status"},{label:"Warnings",key:"warnings",hideLabel:!0},{label:"Actions",key:"actions",hideLabel:!0}],"page-number":p.page,"page-size":p.size,total:y==null?void 0:y.total,items:y?v(y.items):void 0,error:b,"empty-state-title":_("KUMA_ZONE_CREATION_FLOW")==="enabled"?t("zone-cps.empty_state.title"):void 0,"empty-state-message":_("KUMA_ZONE_CREATION_FLOW")==="enabled"?t("zone-cps.empty_state.message"):void 0,"empty-state-cta-to":_("KUMA_ZONE_CREATION_FLOW")==="enabled"?{name:"zone-create-view"}:void 0,"empty-state-cta-text":_("KUMA_ZONE_CREATION_FLOW")==="enabled"?t("zones.index.create"):void 0,onChange:h.update},{name:e(({row:o,rowValue:x})=>[l(k,{to:o.detailViewRoute,"data-testid":"detail-view-link"},{default:e(()=>[n(r(x),1)]),_:2},1032,["to"])]),zoneCpVersion:e(({rowValue:o})=>[n(r(o||t("common.collection.none")),1)]),type:e(({rowValue:o})=>[n(r(o||t("common.collection.none")),1)]),status:e(({rowValue:o})=>[o?(a(),i(Y,{key:0,status:o},null,8,["status"])):(a(),Z(A,{key:1},[n(r(t("common.collection.none")),1)],64))]),warnings:e(({rowValue:o})=>[o?(a(),i(s(j),{key:0,label:t("zone-cps.list.version_mismatch")},{default:e(()=>[l(Q,{class:"mr-1",size:s(I),"hide-title":""},null,8,["size"])]),_:2},1032,["label"])):(a(),Z(A,{key:1},[n(r(t("common.collection.none")),1)],64))]),actions:e(({row:o})=>[l(s(ee),{class:"actions-dropdown","data-testid":"actions-dropdown","kpop-attributes":{placement:"bottomEnd",popoverClasses:"mt-5 more-actions-popover"},width:"150"},{default:e(()=>[l(s(L),{class:"non-visual-button",appearance:"secondary",size:"small"},{icon:e(()=>[l(s(te),{color:s(oe),icon:"more",size:s(I)},null,8,["color","size"])]),_:1})]),items:e(()=>[l(s(M),{item:{to:o.detailViewRoute,label:t("common.collection.actions.view")}},null,8,["item"]),n(),f("create zones")?(a(),i(s(M),{key:0,"has-divider":"","is-dangerous":"","data-testid":"dropdown-delete-item",onClick:x=>B(o.name)},{default:e(()=>[n(r(t("common.collection.actions.delete")),1)]),_:2},1032,["onClick"])):T("",!0)]),_:2},1024)]),_:2},1032,["page-number","page-size","total","items","error","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text","onChange"]))]),_:2},1024),n(),d.value?(a(),i(le,{key:0,"confirmation-text":u.value,"delete-function":O,"is-visible":d.value,"modal-id":"delete-zone-modal","action-button-text":t("zones.delete.confirmModal.proceedText"),title:t("zones.delete.confirmModal.title"),onCancel:V,onDelete:()=>{V(),C()}},{"body-content":e(()=>[E("p",null,r(t("zones.delete.confirmModal.text1",{zoneName:u.value})),1),n(),E("p",null,r(t("zones.delete.confirmModal.text2")),1)]),error:e(()=>[n(r(t("zones.delete.confirmModal.errorText")),1)]),_:2},1032,["confirmation-text","is-visible","action-button-text","title","onDelete"])):T("",!0)]),_:2},1032,["src"])):(a(),i(ie,{key:0}))]),_:2},[f("create zones")&&g.value?{name:"actions",fn:e(()=>[l(s(L),{appearance:"primary",icon:"plus",to:{name:"zone-create-view"},"data-testid":"create-zone-link"},{default:e(()=>[n(r(t("zones.index.create")),1)]),_:2},1024)]),key:"0"}:void 0]),1024)]),_:1})}}});const ue=se(re,[["__scopeId","data-v-d0cdd1d2"]]);export{ue as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/ZoneTabsView-dbb8efbf.js b/app/kuma-ui/pkg/resources/data/assets/ZoneTabsView-296d0b26.js similarity index 83% rename from app/kuma-ui/pkg/resources/data/assets/ZoneTabsView-dbb8efbf.js rename to app/kuma-ui/pkg/resources/data/assets/ZoneTabsView-296d0b26.js index e174d4d0b5bc..33d61b8556d6 100644 --- a/app/kuma-ui/pkg/resources/data/assets/ZoneTabsView-dbb8efbf.js +++ b/app/kuma-ui/pkg/resources/data/assets/ZoneTabsView-296d0b26.js @@ -1 +1 @@ -import{d as r,r as l,o as s,g as o,w as t,h as n,A as u,k as m,l as c,_ as p}from"./index-2bbe899f.js";import{N as _}from"./NavTabs-d30389b8.js";const f=r({__name:"ZoneTabsView",setup(z){return(w,d)=>{const a=l("RouterView");return s(),o(p,null,{default:t(({t:e,can:i})=>[n(u,null,{default:t(()=>[i("use zones")?(s(),o(_,{key:0,tabs:[{title:e("zones.routes.items.navigation.zone-cp-list-view"),routeName:"zone-cp-list-view",module:"zone-cps"},{title:e("zones.routes.items.navigation.zone-ingress-list-view"),routeName:"zone-ingress-list-view",module:"zone-ingresses"},{title:e("zones.routes.items.navigation.zone-egress-list-view"),routeName:"zone-egress-list-view",module:"zone-egresses"}]},null,8,["tabs"])):m("",!0),c(),n(a)]),_:2},1024)]),_:1})}}});export{f as default}; +import{d as r,r as l,o as s,g as o,w as t,h as n,A as u,k as m,l as c,_ as p}from"./index-cf0727dc.js";import{N as _}from"./NavTabs-048398ef.js";const f=r({__name:"ZoneTabsView",setup(z){return(w,d)=>{const a=l("RouterView");return s(),o(p,null,{default:t(({t:e,can:i})=>[n(u,null,{default:t(()=>[i("use zones")?(s(),o(_,{key:0,tabs:[{title:e("zones.routes.items.navigation.zone-cp-list-view"),routeName:"zone-cp-list-view",module:"zone-cps"},{title:e("zones.routes.items.navigation.zone-ingress-list-view"),routeName:"zone-ingress-list-view",module:"zone-ingresses"},{title:e("zones.routes.items.navigation.zone-egress-list-view"),routeName:"zone-egress-list-view",module:"zone-egresses"}]},null,8,["tabs"])):m("",!0),c(),n(a)]),_:2},1024)]),_:1})}}});export{f as default}; diff --git a/app/kuma-ui/pkg/resources/data/assets/index-2bbe899f.js b/app/kuma-ui/pkg/resources/data/assets/index-cf0727dc.js similarity index 95% rename from app/kuma-ui/pkg/resources/data/assets/index-2bbe899f.js rename to app/kuma-ui/pkg/resources/data/assets/index-cf0727dc.js index dadcf0dc9934..dbd6860bd981 100644 --- a/app/kuma-ui/pkg/resources/data/assets/index-2bbe899f.js +++ b/app/kuma-ui/pkg/resources/data/assets/index-cf0727dc.js @@ -1,4 +1,4 @@ -var ep=Object.defineProperty;var tp=(e,t,n)=>t in e?ep(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var lt=(e,t,n)=>(tp(e,typeof t!="symbol"?t+"":t,n),n),w2=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var oe=(e,t,n)=>(w2(e,t,"read from private field"),n?n.call(e):t.get(e)),Qe=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},$t=(e,t,n,r)=>(w2(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var ge=(e,t,n)=>(w2(e,t,"access private method"),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(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"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(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 r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();const np="modulepreload",rp=function(e,t){return e[0]==="."?new URL(e,t).href:e},P3={},be=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=rp(a,r),a in P3)return;P3[a]=!0;const i=a.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const d=o[u];if(d.href===a&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":np,i||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),i)return new Promise((u,d)=>{c.addEventListener("load",u),c.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})},op=e=>({"/control-plane/addresses":async(t,n)=>(n.close(),{http:e("KUMA_API_URL"),kds:"grpcs://:5685"})});var _2=new WeakMap,Iu=new Map,ap=new Map,ra;(function(e){e[e.Constant=0]="Constant",e[e.Instance=1]="Instance",e[e.Factory=2]="Factory"})(ra||(ra={}));var Yr;(function(e){e[e.Container=0]="Container",e[e.Resolution=1]="Resolution",e[e.Singleton=2]="Singleton",e[e.Transient=3]="Transient"})(Yr||(Yr={}));var ip=class{constructor(e){this.impl=e,this.type=ra.Constant}},sp=class{constructor(e){this.impl=e,this.type=ra.Factory}},lp=e=>e.type===ra.Factory,Hl=class{constructor(e){this.impl=e,this.type=ra.Instance}},cp=class extends Hl{constructor(){super(...arguments),this.scope=Yr.Container,this.cache=new WeakMap}},up=class extends Hl{constructor(){super(...arguments),this.scope=Yr.Resolution}},dp=class extends Hl{constructor(e){super(e),this.impl=e,this.scope=Yr.Singleton}},hp=class extends Hl{constructor(){super(...arguments),this.scope=Yr.Transient}},fp=e=>e.type===ra.Instance,pp=e=>e.scope===Yr.Container,mp=e=>e.scope===Yr.Resolution,vp=e=>e.scope===Yr.Singleton,gp=e=>Symbol(e),$e=e=>{const t=Symbol(e);return{__t:null,__d:e,__s:t,__o:!1,optional:{__t:null,__d:e,__s:t,__o:!0}}},P1=class{constructor(){this.parent=null,this.map=new Map}set(e,t,n=P1.notag){const r=this.map.get(t.__s);r?r.set(n,e):this.map.set(t.__s,new Map().set(n,e))}find(e,t,n){const r=this.map.get(e.__s);if(r!==void 0){if(n){const o=r.get(n);if(o)return o}if(t)for(let o=0,a=t.length;o{t.map.set(r,e(n))}),t}clone(){return this.from(e=>new Map(e))}},Vu=P1;Vu.notag=gp("NO_TAG");var Cp=class{constructor(e,t,n,r){this.vault=e,this.tokens=t,this.getVault=n,this.condition=r}from(e){const{tokens:t}=this;for(let n=0,r=t.length;nthis.resolveToken(o,n,r,t.split()))}resolveToken(e,t,n,r=new Pu){const o=this.vault.get(e,r,t,n);if(o)return this.resolveBinding(o,r);if(!e.__o)throw new Error(`No matching bindings found for '${e.__d}' token.`)}resolveBinding(e,t){return fp(e)?vp(e)?this.resolveCache(e,t,()=>e.cache,n=>{e.cache=n}):pp(e)?this.resolveCache(e,t,()=>e.cache.get(this.vault),n=>{e.cache.set(this.vault,n)}):mp(e)?this.resolveCache(e,t,()=>t.instances.get(e),n=>{t.instances.set(e,n)}):this.createInstance(e.impl,t):lp(e)?(...n)=>{const r=this.createInstance(e.impl.creator,t);return r instanceof Promise?r.then(o=>Cs.resolveInitialization(o,n,e.impl.initializer)):Cs.resolveInitialization(r,n,e.impl.initializer)}:e.impl}resolveCache(e,t,n,r){const o=n();if(o!==void 0)return o;const a=this.createInstance(e.impl,t);return r(a),a}createInstance(e,t){const n=this.getParameters(e,t),r=_2.get(e);if(r!==void 0)return r?e(...n):new e(...n);try{const o=e(...n);return _2.set(e,!0),o}catch{const a=new e(...n);return _2.set(e,!1),a}}getParameters(e,t){const n=Iu.get(e);if(n)return this.resolveTokens(n,t,ap.get(e),e);if(e.length===0)return[];throw new Error(`Missing required 'injected' registration of '${e.name}'`)}static resolveInitialization(e,t,n){const r=n==null?void 0:n(e,...t);return r instanceof Promise?r.then(()=>e):e}},kp=()=>new Cs,Mp=(e,...t)=>(Iu.set(e,t),e),Lie=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sp=function(t){return Ep(t)&&!Ap(t)};function Ep(e){return!!e&&typeof e=="object"}function Ap(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Tp(e)}var Lp=typeof Symbol=="function"&&Symbol.for,Dp=Lp?Symbol.for("react.element"):60103;function Tp(e){return e.$$typeof===Dp}function Bp(e){return Array.isArray(e)?[]:{}}function fi(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Wa(Bp(e),e,t):e}function Hp(e,t,n){return e.concat(t).map(function(r){return fi(r,n)})}function Op(e,t){if(!t.customMerge)return Wa;var n=t.customMerge(e);return typeof n=="function"?n:Wa}function Ip(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function N3(e){return Object.keys(e).concat(Ip(e))}function Nu(e,t){try{return t in e}catch{return!1}}function Vp(e,t){return Nu(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Pp(e,t,n){var r={};return n.isMergeableObject(e)&&N3(e).forEach(function(o){r[o]=fi(e[o],n)}),N3(t).forEach(function(o){Vp(e,o)||(Nu(e,o)&&n.isMergeableObject(t[o])?r[o]=Op(o,n)(e[o],t[o],n):r[o]=fi(t[o],n))}),r}function Wa(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||Hp,n.isMergeableObject=n.isMergeableObject||Sp,n.cloneUnlessOtherwiseSpecified=fi;var r=Array.isArray(t),o=Array.isArray(e),a=r===o;return a?r?n.arrayMerge(e,t,n):Pp(e,t,n):fi(t,n)}Wa.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,o){return Wa(r,o,n)},{})};var Np=Wa,Zp=Np;const $p=xp(Zp),f7=kp(),Rp=(...e)=>[...new Map([...e.flat()]).entries()],Fp=e=>{const t=new Map(e);return e.forEach(([n,r])=>{if(typeof r.decorates<"u"){const o=r.decorates,a=t.get(o);if(typeof a<"u"){const{labels:i,...s}=a,l=$e("inner"),c=$e("inner.wrapper");t.set(l,{...s}),t.set(c,{service:()=>()=>Hi(l)}),t.set(o,{...r,arguments:[c],labels:i})}r.decorates=void 0}}),[...t.entries()]},Hi=e=>f7.get(e),zp=(...e)=>(Fp(Rp(...e)).forEach(n=>Zu(...n)),Hi),p7=(...e)=>e.map(t=>()=>Hi(t)),qi=new WeakMap,Zu=(e,t)=>{const n=f7.bind(e);switch(!0){case"constant"in t:n.toConstant(t.constant);break;case"service"in t:{const r=n.toInstance(t.service);(typeof t.shared>"u"||t.shared===!0)&&r.inSingletonScope();break}}typeof t.labels<"u"&&t.labels.forEach(r=>{qi.has(r)||(qi.set(r,[]),Zu(r,{service:()=>qi.get(r).reduce((a,i)=>{const s=Hi(i);return Array.isArray(s)?a.concat(s):s instanceof Object?$p(a,s):a},[])})),qi.get(r).push(e)}),typeof t.arguments<"u"&&typeof t.service<"u"&&(t.arguments.forEach((r,o)=>{if(typeof r>"u")throw new Error(`Unable to find token for argument[${o}]`)}),Mp(t.service,...t.arguments))},nn=(e,t)=>{const n=$e(t.description);return f7.bind(n).toConstant(e),n},Up={sources:$e("control-planes.sources")},jp=e=>[[Up.sources,{service:op,arguments:[e.env],labels:[e.sources]}]],Gp=()=>[{path:"/diagnostics",name:"diagnostics",component:()=>be(()=>import("./DiagnosticsView-69df70ce.js"),["./CodeBlock-7d9027b4.css"],import.meta.url)}],Yp=e=>({"/config":async(t,n)=>(n.close(),await e.getConfig())}),Z3={sources:$e("diagnostics.sources"),routes:$e("diagnostics.routes")},Kp=e=>[[Z3.sources,{service:Yp,arguments:[e.api],labels:[e.sources]}],[Z3.routes,{service:Gp,labels:[e.routes]}]],Wp=()=>[{path:"/onboarding",redirect:{name:"onboarding-welcome"},component:()=>be(()=>import("./OnboardingView-0fdf0602.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome",meta:{onboardingProcess:!0},component:()=>be(()=>import("./WelcomeView-a9ea44d3.js"),["./OnboardingPage-aadedf2d.css","./WelcomeView-f4477083.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types",meta:{onboardingProcess:!0},component:()=>be(()=>import("./DeploymentTypes-e80620d8.js"),["./OnboardingPage-aadedf2d.css","./DeploymentTypes-2b5f2b6d.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types",meta:{onboardingProcess:!0},component:()=>be(()=>import("./ConfigurationTypes-b506f674.js"),["./OnboardingPage-aadedf2d.css","./ConfigurationTypes-e6e1e836.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone",meta:{onboardingProcess:!0},component:()=>be(()=>import("./MultiZoneView-a6db5cfe.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-aadedf2d.css","./MultiZoneView-d34220a6.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh",meta:{onboardingProcess:!0},component:()=>be(()=>import("./CreateMesh-4f26a4e0.js"),["./OnboardingPage-aadedf2d.css","./CreateMesh-a99ab9f3.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-services",meta:{onboardingProcess:!0},component:()=>be(()=>import("./AddNewServices-b022625b.js"),["./OnboardingPage-aadedf2d.css","./AddNewServices-28d481d8.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-services-code",meta:{onboardingProcess:!0},component:()=>be(()=>import("./AddNewServicesCode-d20ee21f.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-aadedf2d.css","./CodeBlock-7d9027b4.css","./AddNewServicesCode-7aa0ab0c.css"],import.meta.url)},{path:"dataplanes-overview",name:"onboarding-dataplanes-overview",meta:{onboardingProcess:!0},component:()=>be(()=>import("./DataplanesOverview-25d7632d.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-aadedf2d.css","./DataplanesOverview-c522ab1f.css"],import.meta.url)},{path:"completed",name:"onboarding-completed",meta:{onboardingProcess:!0},component:()=>be(()=>import("./CompletedView-0bde6695.js"),["./OnboardingPage-aadedf2d.css","./CompletedView-b2f4845a.css"],import.meta.url)}]}],qp={routes:$e("onboarding.routes"),guards:$e("onboarding.guards")},Qp=e=>[[qp.routes,{service:Wp,labels:[e.routes]}]];function m7(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Ct={},Oa=[],tr=()=>{},Xp=()=>!1,Jp=/^on[^a-z]/,Ol=e=>Jp.test(e),v7=e=>e.startsWith("onUpdate:"),Ht=Object.assign,g7=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},em=Object.prototype.hasOwnProperty,tt=(e,t)=>em.call(e,t),Ie=Array.isArray,Ia=e=>Il(e)==="[object Map]",$u=e=>Il(e)==="[object Set]",qe=e=>typeof e=="function",Ot=e=>typeof e=="string",C7=e=>typeof e=="symbol",bt=e=>e!==null&&typeof e=="object",Ru=e=>bt(e)&&qe(e.then)&&qe(e.catch),Fu=Object.prototype.toString,Il=e=>Fu.call(e),tm=e=>Il(e).slice(8,-1),zu=e=>Il(e)==="[object Object]",y7=e=>Ot(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ys=m7(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},nm=/-(\w)/g,Mr=Vl(e=>e.replace(nm,(t,n)=>n?n.toUpperCase():"")),rm=/\B([A-Z])/g,Lo=Vl(e=>e.replace(rm,"-$1").toLowerCase()),Pl=Vl(e=>e.charAt(0).toUpperCase()+e.slice(1)),bs=Vl(e=>e?`on${Pl(e)}`:""),pi=(e,t)=>!Object.is(e,t),ws=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},x0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},om=e=>{const t=Ot(e)?Number(e):NaN;return isNaN(t)?e:t};let $3;const S0=()=>$3||($3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function yt(e){if(Ie(e)){const t={};for(let n=0;n{if(n){const r=n.split(im);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function X(e){let t="";if(Ot(e))t=e;else if(Ie(e))for(let n=0;nOt(e)?e:e==null?"":Ie(e)||bt(e)&&(e.toString===Fu||!qe(e.toString))?JSON.stringify(e,ju,2):String(e),ju=(e,t)=>t&&t.__v_isRef?ju(e,t.value):Ia(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:$u(t)?{[`Set(${t.size})`]:[...t.values()]}:bt(t)&&!Ie(t)&&!zu(t)?String(t):t;let Ln;class Gu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ln,!t&&Ln&&(this.index=(Ln.scopes||(Ln.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ln;try{return Ln=this,t()}finally{Ln=n}}}on(){Ln=this}off(){Ln=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Ku=e=>(e.w&xo)>0,Wu=e=>(e.n&xo)>0,pm=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(i.get(n)),t){case"add":Ie(e)?y7(n)&&s.push(i.get("length")):(s.push(i.get(ea)),Ia(e)&&s.push(i.get(A0)));break;case"delete":Ie(e)||(s.push(i.get(ea)),Ia(e)&&s.push(i.get(A0)));break;case"set":Ia(e)&&s.push(i.get(ea));break}if(s.length===1)s[0]&&L0(s[0]);else{const l=[];for(const c of s)c&&l.push(...c);L0(b7(l))}}function L0(e,t){const n=Ie(e)?e:[...e];for(const r of n)r.computed&&F3(r);for(const r of n)r.computed||F3(r)}function F3(e,t){(e!==Jn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function vm(e,t){var n;return(n=$s.get(e))==null?void 0:n.get(t)}const gm=m7("__proto__,__v_isRef,__isVue"),Xu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(C7)),Cm=_7(),ym=_7(!1,!0),bm=_7(!0),z3=wm();function wm(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=rt(this);for(let a=0,i=this.length;a{e[t]=function(...n){l1();const r=rt(this)[t].apply(this,n);return c1(),r}}),e}function _m(e){const t=rt(this);return kn(t,"has",e),t.hasOwnProperty(e)}function _7(e=!1,t=!1){return function(r,o,a){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&a===(e?t?Nm:r8:t?n8:t8).get(r))return r;const i=Ie(r);if(!e){if(i&&tt(z3,o))return Reflect.get(z3,o,a);if(o==="hasOwnProperty")return _m}const s=Reflect.get(r,o,a);return(C7(o)?Xu.has(o):gm(o))||(e||kn(r,"get",o),t)?s:qt(s)?i&&y7(o)?s:s.value:bt(s)?e?a8(s):Qr(s):s}}const km=Ju(),Mm=Ju(!0);function Ju(e=!1){return function(n,r,o,a){let i=n[r];if(oa(i)&&qt(i)&&!qt(o))return!1;if(!e&&(!Rs(o)&&!oa(o)&&(i=rt(i),o=rt(o)),!Ie(n)&&qt(i)&&!qt(o)))return i.value=o,!0;const s=Ie(n)&&y7(r)?Number(r)e,Nl=e=>Reflect.getPrototypeOf(e);function Qi(e,t,n=!1,r=!1){e=e.__v_raw;const o=rt(e),a=rt(t);n||(t!==a&&kn(o,"get",t),kn(o,"get",a));const{has:i}=Nl(o),s=r?k7:n?S7:mi;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 Xi(e,t=!1){const n=this.__v_raw,r=rt(n),o=rt(e);return t||(e!==o&&kn(r,"has",e),kn(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Ji(e,t=!1){return e=e.__v_raw,!t&&kn(rt(e),"iterate",ea),Reflect.get(e,"size",e)}function U3(e){e=rt(e);const t=rt(this);return Nl(t).has.call(t,e)||(t.add(e),Kr(t,"add",e,e)),this}function j3(e,t){t=rt(t);const n=rt(this),{has:r,get:o}=Nl(n);let a=r.call(n,e);a||(e=rt(e),a=r.call(n,e));const i=o.call(n,e);return n.set(e,t),a?pi(t,i)&&Kr(n,"set",e,t):Kr(n,"add",e,t),this}function G3(e){const t=rt(this),{has:n,get:r}=Nl(t);let o=n.call(t,e);o||(e=rt(e),o=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return o&&Kr(t,"delete",e,void 0),a}function Y3(){const e=rt(this),t=e.size!==0,n=e.clear();return t&&Kr(e,"clear",void 0,void 0),n}function es(e,t){return function(r,o){const a=this,i=a.__v_raw,s=rt(i),l=t?k7:e?S7:mi;return!e&&kn(s,"iterate",ea),i.forEach((c,u)=>r.call(o,l(c),l(u),a))}}function ts(e,t,n){return function(...r){const o=this.__v_raw,a=rt(o),i=Ia(a),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?k7:t?S7:mi;return!t&&kn(a,"iterate",l?A0:ea),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:s?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function ro(e){return function(...t){return e==="delete"?!1:this}}function Dm(){const e={get(a){return Qi(this,a)},get size(){return Ji(this)},has:Xi,add:U3,set:j3,delete:G3,clear:Y3,forEach:es(!1,!1)},t={get(a){return Qi(this,a,!1,!0)},get size(){return Ji(this)},has:Xi,add:U3,set:j3,delete:G3,clear:Y3,forEach:es(!1,!0)},n={get(a){return Qi(this,a,!0)},get size(){return Ji(this,!0)},has(a){return Xi.call(this,a,!0)},add:ro("add"),set:ro("set"),delete:ro("delete"),clear:ro("clear"),forEach:es(!0,!1)},r={get(a){return Qi(this,a,!0,!0)},get size(){return Ji(this,!0)},has(a){return Xi.call(this,a,!0)},add:ro("add"),set:ro("set"),delete:ro("delete"),clear:ro("clear"),forEach:es(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=ts(a,!1,!1),n[a]=ts(a,!0,!1),t[a]=ts(a,!1,!0),r[a]=ts(a,!0,!0)}),[e,n,t,r]}const[Tm,Bm,Hm,Om]=Dm();function M7(e,t){const n=t?e?Om:Hm:e?Bm:Tm;return(r,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(tt(n,o)&&o in r?n:r,o,a)}const Im={get:M7(!1,!1)},Vm={get:M7(!1,!0)},Pm={get:M7(!0,!1)},t8=new WeakMap,n8=new WeakMap,r8=new WeakMap,Nm=new WeakMap;function Zm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $m(e){return e.__v_skip||!Object.isExtensible(e)?0:Zm(tm(e))}function Qr(e){return oa(e)?e:x7(e,!1,e8,Im,t8)}function o8(e){return x7(e,!1,Lm,Vm,n8)}function a8(e){return x7(e,!0,Am,Pm,r8)}function x7(e,t,n,r,o){if(!bt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=$m(e);if(i===0)return e;const s=new Proxy(e,i===2?r:n);return o.set(e,s),s}function Va(e){return oa(e)?Va(e.__v_raw):!!(e&&e.__v_isReactive)}function oa(e){return!!(e&&e.__v_isReadonly)}function Rs(e){return!!(e&&e.__v_isShallow)}function i8(e){return Va(e)||oa(e)}function rt(e){const t=e&&e.__v_raw;return t?rt(t):e}function s8(e){return Zs(e,"__v_skip",!0),e}const mi=e=>bt(e)?Qr(e):e,S7=e=>bt(e)?a8(e):e;function l8(e){wo&&Jn&&(e=rt(e),Qu(e.dep||(e.dep=b7())))}function c8(e,t){e=rt(e);const n=e.dep;n&&L0(n)}function qt(e){return!!(e&&e.__v_isRef===!0)}function G(e){return u8(e,!1)}function Rm(e){return u8(e,!0)}function u8(e,t){return qt(e)?e:new Fm(e,t)}class Fm{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:rt(t),this._value=n?t:mi(t)}get value(){return l8(this),this._value}set value(t){const n=this.__v_isShallow||Rs(t)||oa(t);t=n?t:rt(t),pi(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:mi(t),c8(this))}}function E(e){return qt(e)?e.value:e}const zm={get:(e,t,n)=>E(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return qt(o)&&!qt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function d8(e){return Va(e)?e:new Proxy(e,zm)}function Um(e){const t=Ie(e)?new Array(e.length):{};for(const n in e)t[n]=Gm(e,n);return t}class jm{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,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 vm(rt(this._object),this._key)}}function Gm(e,t,n){const r=e[t];return qt(r)?r:new jm(e,t,n)}class Ym{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new w7(t,()=>{this._dirty||(this._dirty=!0,c8(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=rt(this);return l8(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Km(e,t,n=!1){let r,o;const a=qe(e);return a?(r=e,o=tr):(r=e.get,o=e.set),new Ym(r,o,a||!o,n)}function _o(e,t,n,r){let o;try{o=r?e(...r):e()}catch(a){Zl(a,t,n)}return o}function zn(e,t,n,r){if(qe(e)){const a=_o(e,t,n,r);return a&&Ru(a)&&a.catch(i=>{Zl(i,t,n)}),a}const o=[];for(let a=0;a>>1;gi(Jt[r])br&&Jt.splice(t,1)}function Xm(e){Ie(e)?Pa.push(...e):(!Nr||!Nr.includes(e,e.allowRecurse?Uo+1:Uo))&&Pa.push(e),f8()}function K3(e,t=vi?br+1:0){for(;tgi(n)-gi(r)),Uo=0;Uoe.id==null?1/0:e.id,Jm=(e,t)=>{const n=gi(e)-gi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function m8(e){D0=!1,vi=!0,Jt.sort(Jm);const t=tr;try{for(br=0;brOt(f)?f.trim():f)),d&&(o=n.map(x0))}let s,l=r[s=bs(t)]||r[s=bs(Mr(t))];!l&&a&&(l=r[s=bs(Lo(t))]),l&&zn(l,e,6,o);const c=r[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,zn(c,e,6,o)}}function v8(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const a=e.emits;let i={},s=!1;if(!qe(e)){const l=c=>{const u=v8(c,t,!0);u&&(s=!0,Ht(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(bt(e)&&r.set(e,null),null):(Ie(a)?a.forEach(l=>i[l]=null):Ht(i,a),bt(e)&&r.set(e,i),i)}function $l(e,t){return!e||!Ol(t)?!1:(t=t.slice(2).replace(/Once$/,""),tt(e,t[0].toLowerCase()+t.slice(1))||tt(e,Lo(t))||tt(e,t))}let Qt=null,Rl=null;function Fs(e){const t=Qt;return Qt=e,Rl=e&&e.type.__scopeId||null,t}function fn(e){Rl=e}function pn(){Rl=null}function A(e,t=Qt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&i4(-1);const a=Fs(t);let i;try{i=e(...o)}finally{Fs(a),r._d&&i4(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function k2(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:a,propsOptions:[i],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:h,setupState:f,ctx:v,inheritAttrs:_}=e;let C,b;const w=Fs(e);try{if(n.shapeFlag&4){const k=o||r;C=Cr(u.call(k,k,d,a,f,h,v)),b=l}else{const k=t;C=Cr(k.length>1?k(a,{attrs:l,slots:s,emit:c}):k(a,null)),b=t.props?l:tv(l)}}catch(k){q1.length=0,Zl(k,e,1),C=V(Bn)}let g=C;if(b&&_!==!1){const k=Object.keys(b),{shapeFlag:B}=g;k.length&&B&7&&(i&&k.some(v7)&&(b=nv(b,i)),g=Wr(g,b))}return n.dirs&&(g=Wr(g),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),C=g,Fs(w),C}const tv=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ol(n))&&((t||(t={}))[n]=e[n]);return t},nv=(e,t)=>{const n={};for(const r in e)(!v7(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function rv(e,t,n){const{props:r,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?W3(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function iv(e,t){t&&t.pendingBranch?Ie(e)?t.effects.push(...e):t.effects.push(e):Xm(e)}function g8(e,t){return Fl(e,null,t)}function sv(e,t){return Fl(e,null,{flush:"post"})}const ns={};function De(e,t,n){return Fl(e,t,n)}function Fl(e,t,{immediate:n,deep:r,flush:o,onTrack:a,onTrigger:i}=Ct){var s;const l=Yu()===((s=zt)==null?void 0:s.scope)?zt:null;let c,u=!1,d=!1;if(qt(e)?(c=()=>e.value,u=Rs(e)):Va(e)?(c=()=>e,r=!0):Ie(e)?(d=!0,u=e.some(k=>Va(k)||Rs(k)),c=()=>e.map(k=>{if(qt(k))return k.value;if(Va(k))return Ko(k);if(qe(k))return _o(k,l,2)})):qe(e)?t?c=()=>_o(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),zn(e,l,3,[f])}:c=tr,t&&r){const k=c;c=()=>Ko(k())}let h,f=k=>{h=w.onStop=()=>{_o(k,l,4)}},v;if(wi)if(f=tr,t?n&&zn(t,l,3,[c(),d?[]:void 0,f]):c(),o==="sync"){const k=Wv();v=k.__watcherHandles||(k.__watcherHandles=[])}else return tr;let _=d?new Array(e.length).fill(ns):ns;const C=()=>{if(w.active)if(t){const k=w.run();(r||u||(d?k.some((B,Z)=>pi(B,_[Z])):pi(k,_)))&&(h&&h(),zn(t,l,3,[k,_===ns?void 0:d&&_[0]===ns?[]:_,f]),_=k)}else w.run()};C.allowRecurse=!!t;let b;o==="sync"?b=C:o==="post"?b=()=>yn(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),b=()=>A7(C));const w=new w7(c,b);t?n?C():_=w.run():o==="post"?yn(w.run.bind(w),l&&l.suspense):w.run();const g=()=>{w.stop(),l&&l.scope&&g7(l.scope.effects,w)};return v&&v.push(g),g}function lv(e,t,n){const r=this.proxy,o=Ot(e)?e.includes(".")?C8(r,e):()=>r[e]:e.bind(r,r);let a;qe(t)?a=t:(a=t.handler,n=t);const i=zt;qa(this);const s=Fl(o,a.bind(r),n);return i?qa(i):ta(),s}function C8(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{Ko(n,t)});else if(zu(e))for(const n in e)Ko(e[n],t);return e}function zs(e,t){const n=Qt;if(n===null)return e;const r=Yl(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),ir(()=>{e.isUnmounting=!0}),e}const In=[Function,Array],b8={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:In,onEnter:In,onAfterEnter:In,onEnterCancelled:In,onBeforeLeave:In,onLeave:In,onAfterLeave:In,onLeaveCancelled:In,onBeforeAppear:In,onAppear:In,onAfterAppear:In,onAppearCancelled:In},cv={name:"BaseTransition",props:b8,setup(e,{slots:t}){const n=Ii(),r=y8();let o;return()=>{const a=t.default&&L7(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const _ of a)if(_.type!==Bn){i=_;break}}const s=rt(e),{mode:l}=s;if(r.isLeaving)return M2(i);const c=q3(i);if(!c)return M2(i);const u=Ci(c,s,r,n);yi(c,u);const d=n.subTree,h=d&&q3(d);let f=!1;const{getTransitionKey:v}=c.type;if(v){const _=v();o===void 0?o=_:_!==o&&(o=_,f=!0)}if(h&&h.type!==Bn&&(!jo(c,h)||f)){const _=Ci(h,s,r,n);if(yi(h,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},M2(i);l==="in-out"&&c.type!==Bn&&(_.delayLeave=(C,b,w)=>{const g=w8(r,h);g[String(h.key)]=h,C._leaveCb=()=>{b(),C._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=w})}return i}}},uv=cv;function w8(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ci(e,t,n,r){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:_,onAppear:C,onAfterAppear:b,onAppearCancelled:w}=t,g=String(e.key),k=w8(n,e),B=(F,D)=>{F&&zn(F,r,9,D)},Z=(F,D)=>{const S=D[1];B(F,D),Ie(F)?F.every(R=>R.length<=1)&&S():F.length<=1&&S()},j={mode:a,persisted:i,beforeEnter(F){let D=s;if(!n.isMounted)if(o)D=_||s;else return;F._leaveCb&&F._leaveCb(!0);const S=k[g];S&&jo(e,S)&&S.el._leaveCb&&S.el._leaveCb(),B(D,[F])},enter(F){let D=l,S=c,R=u;if(!n.isMounted)if(o)D=C||l,S=b||c,R=w||u;else return;let I=!1;const U=F._enterCb=le=>{I||(I=!0,le?B(R,[F]):B(S,[F]),j.delayedLeave&&j.delayedLeave(),F._enterCb=void 0)};D?Z(D,[F,U]):U()},leave(F,D){const S=String(e.key);if(F._enterCb&&F._enterCb(!0),n.isUnmounting)return D();B(d,[F]);let R=!1;const I=F._leaveCb=U=>{R||(R=!0,D(),U?B(v,[F]):B(f,[F]),F._leaveCb=void 0,k[S]===e&&delete k[S])};k[S]=e,h?Z(h,[F,I]):I()},clone(F){return Ci(F,t,n,r)}};return j}function M2(e){if(zl(e))return e=Wr(e),e.children=null,e}function q3(e){return zl(e)?e.children?e.children[0]:void 0:e}function yi(e,t){e.shapeFlag&6&&e.component?yi(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 L7(e,t=!1,n){let r=[],o=0;for(let a=0;a1)for(let a=0;aHt({name:e.name},t,{setup:e}))():e}const Y1=e=>!!e.type.__asyncLoader,zl=e=>e.type.__isKeepAlive;function dv(e,t){_8(e,"a",t)}function hv(e,t){_8(e,"da",t)}function _8(e,t,n=zt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ul(t,r,n),n){let o=n.parent;for(;o&&o.parent;)zl(o.parent.vnode)&&fv(r,t,n,o),o=o.parent}}function fv(e,t,n,r){const o=Ul(t,e,r,!0);sr(()=>{g7(r[t],o)},n)}function Ul(e,t,n=zt,r=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;l1(),qa(n);const s=zn(t,n,e,i);return ta(),c1(),s});return r?o.unshift(a):o.push(a),a}}const Xr=e=>(t,n=zt)=>(!wi||e==="sp")&&Ul(e,(...r)=>t(...r),n),pv=Xr("bm"),ht=Xr("m"),mv=Xr("bu"),k8=Xr("u"),ir=Xr("bum"),sr=Xr("um"),vv=Xr("sp"),gv=Xr("rtg"),Cv=Xr("rtc");function yv(e,t=zt){Ul("ec",e,t)}const D7="components";function jt(e,t){return x8(D7,e,!0,t)||e}const M8=Symbol.for("v-ndc");function Do(e){return Ot(e)?x8(D7,e,!1)||e:e||M8}function x8(e,t,n=!0,r=!1){const o=Qt||zt;if(o){const a=o.type;if(e===D7){const s=Gv(a,!1);if(s&&(s===t||s===Mr(t)||s===Pl(Mr(t))))return a}const i=Q3(o[e]||a[e],t)||Q3(o.appContext[e],t);return!i&&r?a:i}}function Q3(e,t){return e&&(e[t]||e[Mr(t)]||e[Pl(Mr(t))])}function Xe(e,t,n,r){let o;const a=n&&n[r];if(Ie(e)||Ot(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=r.fn(...o);return a&&(a.key=r.key),a}:r.fn)}return e}function $(e,t,n={},r,o){if(Qt.isCE||Qt.parent&&Y1(Qt.parent)&&Qt.parent.isCE)return t!=="default"&&(n.name=t),V("slot",n,r&&r());let a=e[t];a&&a._c&&(a._d=!1),m();const i=a&&S8(a(n)),s=Q(ke,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function S8(e){return e.some(t=>Gs(t)?!(t.type===Bn||t.type===ke&&!S8(t.children)):!0)?e:null}function T0(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:bs(r)]=e[r];return n}const B0=e=>e?N8(e)?Yl(e)||e.proxy:B0(e.parent):null,K1=Ht(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=>T7(e),$forceUpdate:e=>e.f||(e.f=()=>A7(e.update)),$nextTick:e=>e.n||(e.n=hn.bind(e.proxy)),$watch:e=>lv.bind(e)}),x2=(e,t)=>e!==Ct&&!e.__isScriptSetup&&tt(e,t),bv={get({_:e},t){const{ctx:n,setupState:r,data:o,props:a,accessCache:i,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const f=i[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return a[t]}else{if(x2(r,t))return i[t]=1,r[t];if(o!==Ct&&tt(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&tt(c,t))return i[t]=3,a[t];if(n!==Ct&&tt(n,t))return i[t]=4,n[t];H0&&(i[t]=0)}}const u=K1[t];let d,h;if(u)return t==="$attrs"&&kn(e,"get",t),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Ct&&tt(n,t))return i[t]=4,n[t];if(h=l.config.globalProperties,tt(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:a}=e;return x2(o,t)?(o[t]=n,!0):r!==Ct&&tt(r,t)?(r[t]=n,!0):tt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:a}},i){let s;return!!n[i]||e!==Ct&&tt(e,i)||x2(t,i)||(s=a[0])&&tt(s,i)||tt(r,i)||tt(K1,i)||tt(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:tt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function xt(){return E8().slots}function lr(){return E8().attrs}function E8(){const e=Ii();return e.setupContext||(e.setupContext=$8(e))}function X3(e){return Ie(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let H0=!0;function wv(e){const t=T7(e),n=e.proxy,r=e.ctx;H0=!1,t.beforeCreate&&J3(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:f,updated:v,activated:_,deactivated:C,beforeDestroy:b,beforeUnmount:w,destroyed:g,unmounted:k,render:B,renderTracked:Z,renderTriggered:j,errorCaptured:F,serverPrefetch:D,expose:S,inheritAttrs:R,components:I,directives:U,filters:le}=t;if(c&&_v(c,r,null),i)for(const re in i){const Ce=i[re];qe(Ce)&&(r[re]=Ce.bind(n))}if(o){const re=o.call(n,n);bt(re)&&(e.data=Qr(re))}if(H0=!0,a)for(const re in a){const Ce=a[re],je=qe(Ce)?Ce.bind(n,n):qe(Ce.get)?Ce.get.bind(n,n):tr,Pe=!qe(Ce)&&qe(Ce.set)?Ce.set.bind(n):tr,Ye=T({get:je,set:Pe});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:ze=>Ye.value=ze})}if(s)for(const re in s)A8(s[re],r,n,re);if(l){const re=qe(l)?l.call(n):l;Reflect.ownKeys(re).forEach(Ce=>{Na(Ce,re[Ce])})}u&&J3(u,e,"c");function ce(re,Ce){Ie(Ce)?Ce.forEach(je=>re(je.bind(n))):Ce&&re(Ce.bind(n))}if(ce(pv,d),ce(ht,h),ce(mv,f),ce(k8,v),ce(dv,_),ce(hv,C),ce(yv,F),ce(Cv,Z),ce(gv,j),ce(ir,w),ce(sr,k),ce(vv,D),Ie(S))if(S.length){const re=e.exposed||(e.exposed={});S.forEach(Ce=>{Object.defineProperty(re,Ce,{get:()=>n[Ce],set:je=>n[Ce]=je})})}else e.exposed||(e.exposed={});B&&e.render===tr&&(e.render=B),R!=null&&(e.inheritAttrs=R),I&&(e.components=I),U&&(e.directives=U)}function _v(e,t,n=tr){Ie(e)&&(e=O0(e));for(const r in e){const o=e[r];let a;bt(o)?"default"in o?a=_n(o.from||r,o.default,!0):a=_n(o.from||r):a=_n(o),qt(a)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[r]=a}}function J3(e,t,n){zn(Ie(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function A8(e,t,n,r){const o=r.includes(".")?C8(n,r):()=>n[r];if(Ot(e)){const a=t[e];qe(a)&&De(o,a)}else if(qe(e))De(o,e.bind(n));else if(bt(e))if(Ie(e))e.forEach(a=>A8(a,t,n,r));else{const a=qe(e.handler)?e.handler.bind(n):t[e.handler];qe(a)&&De(o,a,e)}}function T7(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,s=a.get(t);let l;return s?l=s:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Us(l,c,i,!0)),Us(l,t,i)),bt(t)&&a.set(t,l),l}function Us(e,t,n,r=!1){const{mixins:o,extends:a}=t;a&&Us(e,a,n,!0),o&&o.forEach(i=>Us(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const s=kv[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const kv={data:e4,props:t4,emits:t4,methods:Z1,computed:Z1,beforeCreate:rn,created:rn,beforeMount:rn,mounted:rn,beforeUpdate:rn,updated:rn,beforeDestroy:rn,beforeUnmount:rn,destroyed:rn,unmounted:rn,activated:rn,deactivated:rn,errorCaptured:rn,serverPrefetch:rn,components:Z1,directives:Z1,watch:xv,provide:e4,inject:Mv};function e4(e,t){return t?e?function(){return Ht(qe(e)?e.call(this,this):e,qe(t)?t.call(this,this):t)}:t:e}function Mv(e,t){return Z1(O0(e),O0(t))}function O0(e){if(Ie(e)){const t={};for(let n=0;n1)return n&&qe(t)?t.call(r&&r.proxy):t}}function Av(e,t,n,r=!1){const o={},a={};Zs(a,Gl,1),e.propsDefaults=Object.create(null),D8(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:o8(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function Lv(e,t,n,r){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=rt(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,f]=T8(d,t,!0);Ht(i,h),f&&s.push(...f)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return bt(e)&&r.set(e,Oa),Oa;if(Ie(a))for(let u=0;u-1,f[1]=_<0||v<_,(v>-1||tt(f,"default"))&&s.push(d)}}}const c=[i,s];return bt(e)&&r.set(e,c),c}function n4(e){return e[0]!=="$"}function r4(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function o4(e,t){return r4(e)===r4(t)}function a4(e,t){return Ie(t)?t.findIndex(n=>o4(n,e)):qe(t)&&o4(t,e)?0:-1}const B8=e=>e[0]==="_"||e==="$stable",B7=e=>Ie(e)?e.map(Cr):[Cr(e)],Dv=(e,t,n)=>{if(t._n)return t;const r=A((...o)=>B7(t(...o)),n);return r._c=!1,r},H8=(e,t,n)=>{const r=e._ctx;for(const o in e){if(B8(o))continue;const a=e[o];if(qe(a))t[o]=Dv(o,a,r);else if(a!=null){const i=B7(a);t[o]=()=>i}}},O8=(e,t)=>{const n=B7(t);e.slots.default=()=>n},Tv=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=rt(t),Zs(t,"_",n)):H8(t,e.slots={})}else e.slots={},t&&O8(e,t);Zs(e.slots,Gl,1)},Bv=(e,t,n)=>{const{vnode:r,slots:o}=e;let a=!0,i=Ct;if(r.shapeFlag&32){const s=t._;s?n&&s===1?a=!1:(Ht(o,t),!n&&s===1&&delete o._):(a=!t.$stable,H8(t,o)),i=t}else t&&(O8(e,t),i={default:1});if(a)for(const s in o)!B8(s)&&!(s in i)&&delete o[s]};function V0(e,t,n,r,o=!1){if(Ie(e)){e.forEach((h,f)=>V0(h,t&&(Ie(t)?t[f]:t),n,r,o));return}if(Y1(r)&&!o)return;const a=r.shapeFlag&4?Yl(r.component)||r.component.proxy:r.el,i=o?null:a,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Ct?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(Ot(c)?(u[c]=null,tt(d,c)&&(d[c]=null)):qt(c)&&(c.value=null)),qe(l))_o(l,s,12,[i,u]);else{const h=Ot(l),f=qt(l);if(h||f){const v=()=>{if(e.f){const _=h?tt(d,l)?d[l]:u[l]:l.value;o?Ie(_)&&g7(_,a):Ie(_)?_.includes(a)||_.push(a):h?(u[l]=[a],tt(d,l)&&(d[l]=u[l])):(l.value=[a],e.k&&(u[e.k]=l.value))}else h?(u[l]=i,tt(d,l)&&(d[l]=i)):f&&(l.value=i,e.k&&(u[e.k]=i))};i?(v.id=-1,yn(v,n)):v()}}}const yn=iv;function Hv(e){return Ov(e)}function Ov(e,t){const n=S0();n.__VUE__=!0;const{insert:r,remove:o,patchProp:a,createElement:i,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:f=tr,insertStaticContent:v}=e,_=(M,L,O,q=null,W=null,J=null,he=!1,ue=null,fe=!!L.dynamicChildren)=>{if(M===L)return;M&&!jo(M,L)&&(q=Y(M),ze(M,W,J,!0),M=null),L.patchFlag===-2&&(fe=!1,L.dynamicChildren=null);const{type:se,ref:Se,shapeFlag:ye}=L;switch(se){case jl:C(M,L,O,q);break;case Bn:b(M,L,O,q);break;case W1:M==null&&w(L,O,q,he);break;case ke:I(M,L,O,q,W,J,he,ue,fe);break;default:ye&1?B(M,L,O,q,W,J,he,ue,fe):ye&6?U(M,L,O,q,W,J,he,ue,fe):(ye&64||ye&128)&&se.process(M,L,O,q,W,J,he,ue,fe,N)}Se!=null&&W&&V0(Se,M&&M.ref,J,L||M,!L)},C=(M,L,O,q)=>{if(M==null)r(L.el=s(L.children),O,q);else{const W=L.el=M.el;L.children!==M.children&&c(W,L.children)}},b=(M,L,O,q)=>{M==null?r(L.el=l(L.children||""),O,q):L.el=M.el},w=(M,L,O,q)=>{[M.el,M.anchor]=v(M.children,L,O,q,M.el,M.anchor)},g=({el:M,anchor:L},O,q)=>{let W;for(;M&&M!==L;)W=h(M),r(M,O,q),M=W;r(L,O,q)},k=({el:M,anchor:L})=>{let O;for(;M&&M!==L;)O=h(M),o(M),M=O;o(L)},B=(M,L,O,q,W,J,he,ue,fe)=>{he=he||L.type==="svg",M==null?Z(L,O,q,W,J,he,ue,fe):D(M,L,W,J,he,ue,fe)},Z=(M,L,O,q,W,J,he,ue)=>{let fe,se;const{type:Se,props:ye,shapeFlag:Ee,transition:Oe,dirs:te}=M;if(fe=M.el=i(M.type,J,ye&&ye.is,ye),Ee&8?u(fe,M.children):Ee&16&&F(M.children,fe,null,q,W,J&&Se!=="foreignObject",he,ue),te&&Ho(M,null,q,"created"),j(fe,M,M.scopeId,he,q),ye){for(const ve in ye)ve!=="value"&&!ys(ve)&&a(fe,ve,null,ye[ve],J,M.children,q,W,Ge);"value"in ye&&a(fe,"value",null,ye.value),(se=ye.onVnodeBeforeMount)&&dr(se,q,M)}te&&Ho(M,null,q,"beforeMount");const Me=(!W||W&&!W.pendingBranch)&&Oe&&!Oe.persisted;Me&&Oe.beforeEnter(fe),r(fe,L,O),((se=ye&&ye.onVnodeMounted)||Me||te)&&yn(()=>{se&&dr(se,q,M),Me&&Oe.enter(fe),te&&Ho(M,null,q,"mounted")},W)},j=(M,L,O,q,W)=>{if(O&&f(M,O),q)for(let J=0;J{for(let se=fe;se{const ue=L.el=M.el;let{patchFlag:fe,dynamicChildren:se,dirs:Se}=L;fe|=M.patchFlag&16;const ye=M.props||Ct,Ee=L.props||Ct;let Oe;O&&Oo(O,!1),(Oe=Ee.onVnodeBeforeUpdate)&&dr(Oe,O,L,M),Se&&Ho(L,M,O,"beforeUpdate"),O&&Oo(O,!0);const te=W&&L.type!=="foreignObject";if(se?S(M.dynamicChildren,se,ue,O,q,te,J):he||Ce(M,L,ue,null,O,q,te,J,!1),fe>0){if(fe&16)R(ue,L,ye,Ee,O,q,W);else if(fe&2&&ye.class!==Ee.class&&a(ue,"class",null,Ee.class,W),fe&4&&a(ue,"style",ye.style,Ee.style,W),fe&8){const Me=L.dynamicProps;for(let ve=0;ve{Oe&&dr(Oe,O,L,M),Se&&Ho(L,M,O,"updated")},q)},S=(M,L,O,q,W,J,he)=>{for(let ue=0;ue{if(O!==q){if(O!==Ct)for(const ue in O)!ys(ue)&&!(ue in q)&&a(M,ue,O[ue],null,he,L.children,W,J,Ge);for(const ue in q){if(ys(ue))continue;const fe=q[ue],se=O[ue];fe!==se&&ue!=="value"&&a(M,ue,se,fe,he,L.children,W,J,Ge)}"value"in q&&a(M,"value",O.value,q.value)}},I=(M,L,O,q,W,J,he,ue,fe)=>{const se=L.el=M?M.el:s(""),Se=L.anchor=M?M.anchor:s("");let{patchFlag:ye,dynamicChildren:Ee,slotScopeIds:Oe}=L;Oe&&(ue=ue?ue.concat(Oe):Oe),M==null?(r(se,O,q),r(Se,O,q),F(L.children,O,Se,W,J,he,ue,fe)):ye>0&&ye&64&&Ee&&M.dynamicChildren?(S(M.dynamicChildren,Ee,O,W,J,he,ue),(L.key!=null||W&&L===W.subTree)&&I8(M,L,!0)):Ce(M,L,O,Se,W,J,he,ue,fe)},U=(M,L,O,q,W,J,he,ue,fe)=>{L.slotScopeIds=ue,M==null?L.shapeFlag&512?W.ctx.activate(L,O,q,he,fe):le(L,O,q,W,J,he,fe):ie(M,L,fe)},le=(M,L,O,q,W,J,he)=>{const ue=M.component=Fv(M,q,W);if(zl(M)&&(ue.ctx.renderer=N),zv(ue),ue.asyncDep){if(W&&W.registerDep(ue,ce),!M.el){const fe=ue.subTree=V(Bn);b(null,fe,L,O)}return}ce(ue,M,L,O,W,J,he)},ie=(M,L,O)=>{const q=L.component=M.component;if(rv(M,L,O))if(q.asyncDep&&!q.asyncResolved){re(q,L,O);return}else q.next=L,Qm(q.update),q.update();else L.el=M.el,q.vnode=L},ce=(M,L,O,q,W,J,he)=>{const ue=()=>{if(M.isMounted){let{next:Se,bu:ye,u:Ee,parent:Oe,vnode:te}=M,Me=Se,ve;Oo(M,!1),Se?(Se.el=te.el,re(M,Se,he)):Se=te,ye&&ws(ye),(ve=Se.props&&Se.props.onVnodeBeforeUpdate)&&dr(ve,Oe,Se,te),Oo(M,!0);const He=k2(M),ee=M.subTree;M.subTree=He,_(ee,He,d(ee.el),Y(ee),M,W,J),Se.el=He.el,Me===null&&ov(M,He.el),Ee&&yn(Ee,W),(ve=Se.props&&Se.props.onVnodeUpdated)&&yn(()=>dr(ve,Oe,Se,te),W)}else{let Se;const{el:ye,props:Ee}=L,{bm:Oe,m:te,parent:Me}=M,ve=Y1(L);if(Oo(M,!1),Oe&&ws(Oe),!ve&&(Se=Ee&&Ee.onVnodeBeforeMount)&&dr(Se,Me,L),Oo(M,!0),ye&&ae){const He=()=>{M.subTree=k2(M),ae(ye,M.subTree,M,W,null)};ve?L.type.__asyncLoader().then(()=>!M.isUnmounted&&He()):He()}else{const He=M.subTree=k2(M);_(null,He,O,q,M,W,J),L.el=He.el}if(te&&yn(te,W),!ve&&(Se=Ee&&Ee.onVnodeMounted)){const He=L;yn(()=>dr(Se,Me,He),W)}(L.shapeFlag&256||Me&&Y1(Me.vnode)&&Me.vnode.shapeFlag&256)&&M.a&&yn(M.a,W),M.isMounted=!0,L=O=q=null}},fe=M.effect=new w7(ue,()=>A7(se),M.scope),se=M.update=()=>fe.run();se.id=M.uid,Oo(M,!0),se()},re=(M,L,O)=>{L.component=M;const q=M.vnode.props;M.vnode=L,M.next=null,Lv(M,L.props,q,O),Bv(M,L.children,O),l1(),K3(),c1()},Ce=(M,L,O,q,W,J,he,ue,fe=!1)=>{const se=M&&M.children,Se=M?M.shapeFlag:0,ye=L.children,{patchFlag:Ee,shapeFlag:Oe}=L;if(Ee>0){if(Ee&128){Pe(se,ye,O,q,W,J,he,ue,fe);return}else if(Ee&256){je(se,ye,O,q,W,J,he,ue,fe);return}}Oe&8?(Se&16&&Ge(se,W,J),ye!==se&&u(O,ye)):Se&16?Oe&16?Pe(se,ye,O,q,W,J,he,ue,fe):Ge(se,W,J,!0):(Se&8&&u(O,""),Oe&16&&F(ye,O,q,W,J,he,ue,fe))},je=(M,L,O,q,W,J,he,ue,fe)=>{M=M||Oa,L=L||Oa;const se=M.length,Se=L.length,ye=Math.min(se,Se);let Ee;for(Ee=0;EeSe?Ge(M,W,J,!0,!1,ye):F(L,O,q,W,J,he,ue,fe,ye)},Pe=(M,L,O,q,W,J,he,ue,fe)=>{let se=0;const Se=L.length;let ye=M.length-1,Ee=Se-1;for(;se<=ye&&se<=Ee;){const Oe=M[se],te=L[se]=fe?po(L[se]):Cr(L[se]);if(jo(Oe,te))_(Oe,te,O,null,W,J,he,ue,fe);else break;se++}for(;se<=ye&&se<=Ee;){const Oe=M[ye],te=L[Ee]=fe?po(L[Ee]):Cr(L[Ee]);if(jo(Oe,te))_(Oe,te,O,null,W,J,he,ue,fe);else break;ye--,Ee--}if(se>ye){if(se<=Ee){const Oe=Ee+1,te=OeEe)for(;se<=ye;)ze(M[se],W,J,!0),se++;else{const Oe=se,te=se,Me=new Map;for(se=te;se<=Ee;se++){const Ve=L[se]=fe?po(L[se]):Cr(L[se]);Ve.key!=null&&Me.set(Ve.key,se)}let ve,He=0;const ee=Ee-te+1;let pe=!1,we=0;const st=new Array(ee);for(se=0;se=ee){ze(Ve,W,J,!0);continue}let wt;if(Ve.key!=null)wt=Me.get(Ve.key);else for(ve=te;ve<=Ee;ve++)if(st[ve-te]===0&&jo(Ve,L[ve])){wt=ve;break}wt===void 0?ze(Ve,W,J,!0):(st[wt-te]=se+1,wt>=we?we=wt:pe=!0,_(Ve,L[wt],O,null,W,J,he,ue,fe),He++)}const Ze=pe?Iv(st):Oa;for(ve=Ze.length-1,se=ee-1;se>=0;se--){const Ve=te+se,wt=L[Ve],pt=Ve+1{const{el:J,type:he,transition:ue,children:fe,shapeFlag:se}=M;if(se&6){Ye(M.component.subTree,L,O,q);return}if(se&128){M.suspense.move(L,O,q);return}if(se&64){he.move(M,L,O,N);return}if(he===ke){r(J,L,O);for(let ye=0;yeue.enter(J),W);else{const{leave:ye,delayLeave:Ee,afterLeave:Oe}=ue,te=()=>r(J,L,O),Me=()=>{ye(J,()=>{te(),Oe&&Oe()})};Ee?Ee(J,te,Me):Me()}else r(J,L,O)},ze=(M,L,O,q=!1,W=!1)=>{const{type:J,props:he,ref:ue,children:fe,dynamicChildren:se,shapeFlag:Se,patchFlag:ye,dirs:Ee}=M;if(ue!=null&&V0(ue,null,O,M,!0),Se&256){L.ctx.deactivate(M);return}const Oe=Se&1&&Ee,te=!Y1(M);let Me;if(te&&(Me=he&&he.onVnodeBeforeUnmount)&&dr(Me,L,M),Se&6)Te(M.component,O,q);else{if(Se&128){M.suspense.unmount(O,q);return}Oe&&Ho(M,null,L,"beforeUnmount"),Se&64?M.type.remove(M,L,O,W,N,q):se&&(J!==ke||ye>0&&ye&64)?Ge(se,L,O,!1,!0):(J===ke&&ye&384||!W&&Se&16)&&Ge(fe,L,O),q&&de(M)}(te&&(Me=he&&he.onVnodeUnmounted)||Oe)&&yn(()=>{Me&&dr(Me,L,M),Oe&&Ho(M,null,L,"unmounted")},O)},de=M=>{const{type:L,el:O,anchor:q,transition:W}=M;if(L===ke){Ne(O,q);return}if(L===W1){k(M);return}const J=()=>{o(O),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(M.shapeFlag&1&&W&&!W.persisted){const{leave:he,delayLeave:ue}=W,fe=()=>he(O,J);ue?ue(M.el,J,fe):fe()}else J()},Ne=(M,L)=>{let O;for(;M!==L;)O=h(M),o(M),M=O;o(L)},Te=(M,L,O)=>{const{bum:q,scope:W,update:J,subTree:he,um:ue}=M;q&&ws(q),W.stop(),J&&(J.active=!1,ze(he,M,L,O)),ue&&yn(ue,L),yn(()=>{M.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&M.asyncDep&&!M.asyncResolved&&M.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},Ge=(M,L,O,q=!1,W=!1,J=0)=>{for(let he=J;heM.shapeFlag&6?Y(M.component.subTree):M.shapeFlag&128?M.suspense.next():h(M.anchor||M.el),z=(M,L,O)=>{M==null?L._vnode&&ze(L._vnode,null,null,!0):_(L._vnode||null,M,L,null,null,null,O),K3(),p8(),L._vnode=M},N={p:_,um:ze,m:Ye,r:de,mt:le,mc:F,pc:Ce,pbc:S,n:Y,o:e};let K,ae;return t&&([K,ae]=t(N)),{render:z,hydrate:K,createApp:Ev(z,K)}}function Oo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function I8(e,t,n=!1){const r=e.children,o=t.children;if(Ie(r)&&Ie(o))for(let a=0;a>1,e[n[s]]0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,i=n[a-1];a-- >0;)n[a]=i,i=t[i];return n}const Vv=e=>e.__isTeleport,ke=Symbol.for("v-fgt"),jl=Symbol.for("v-txt"),Bn=Symbol.for("v-cmt"),W1=Symbol.for("v-stc"),q1=[];let er=null;function m(e=!1){q1.push(er=e?null:[])}function Pv(){q1.pop(),er=q1[q1.length-1]||null}let bi=1;function i4(e){bi+=e}function V8(e){return e.dynamicChildren=bi>0?er||Oa:null,Pv(),bi>0&&er&&er.push(e),e}function x(e,t,n,r,o,a){return V8(p(e,t,n,r,o,a,!0))}function Q(e,t,n,r,o){return V8(V(e,t,n,r,o,!0))}function Gs(e){return e?e.__v_isVNode===!0:!1}function jo(e,t){return e.type===t.type&&e.key===t.key}const Gl="__vInternal",P8=({key:e})=>e??null,_s=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ot(e)||qt(e)||qe(e)?{i:Qt,r:e,k:t,f:!!n}:e:null);function p(e,t=null,n=null,r=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&&P8(t),ref:t&&_s(t),scopeId:Rl,slotScopeIds:null,children:n,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:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Qt};return s?(H7(l,n),a&128&&e.normalize(l)):n&&(l.shapeFlag|=Ot(n)?8:16),bi>0&&!i&&er&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&er.push(l),l}const V=Nv;function Nv(e,t=null,n=null,r=0,o=null,a=!1){if((!e||e===M8)&&(e=Bn),Gs(e)){const s=Wr(e,t,!0);return n&&H7(s,n),bi>0&&!a&&er&&(s.shapeFlag&6?er[er.indexOf(e)]=s:er.push(s)),s.patchFlag|=-2,s}if(Yv(e)&&(e=e.__vccOpts),t){t=Zv(t);let{class:s,style:l}=t;s&&!Ot(s)&&(t.class=X(s)),bt(l)&&(i8(l)&&!Ie(l)&&(l=Ht({},l)),t.style=yt(l))}const i=Ot(e)?1:av(e)?128:Vv(e)?64:bt(e)?4:qe(e)?2:0;return p(e,t,n,r,o,i,a,!0)}function Zv(e){return e?i8(e)||Gl in e?Ht({},e):e:null}function Wr(e,t,n=!1){const{props:r,ref:o,patchFlag:a,children:i}=e,s=t?We(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&P8(s),ref:t&&t.ref?n&&o?Ie(o)?o.concat(_s(t)):[o,_s(t)]:_s(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&&Wr(e.ssContent),ssFallback:e.ssFallback&&Wr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function y(e=" ",t=0){return V(jl,null,e,t)}function Oi(e,t){const n=V(W1,null,e);return n.staticCount=t,n}function P(e="",t=!1){return t?(m(),Q(Bn,null,e)):V(Bn,null,e)}function Cr(e){return e==null||typeof e=="boolean"?V(Bn):Ie(e)?V(ke,null,e.slice()):typeof e=="object"?po(e):V(jl,null,String(e))}function po(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wr(e)}function H7(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ie(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),H7(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Gl in t)?t._ctx=Qt:o===3&&Qt&&(Qt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else qe(t)?(t={default:t,_ctx:Qt},n=32):(t=String(t),r&64?(n=16,t=[y(t)]):n=8);e.children=t,e.shapeFlag|=n}function We(...e){const t={};for(let n=0;nzt||Qt;let O7,Ca,s4="__VUE_INSTANCE_SETTERS__";(Ca=S0()[s4])||(Ca=S0()[s4]=[]),Ca.push(e=>zt=e),O7=e=>{Ca.length>1?Ca.forEach(t=>t(e)):Ca[0](e)};const qa=e=>{O7(e),e.scope.on()},ta=()=>{zt&&zt.scope.off(),O7(null)};function N8(e){return e.vnode.shapeFlag&4}let wi=!1;function zv(e,t=!1){wi=t;const{props:n,children:r}=e.vnode,o=N8(e);Av(e,n,o,t),Tv(e,r);const a=o?Uv(e,t):void 0;return wi=!1,a}function Uv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=s8(new Proxy(e.ctx,bv));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?$8(e):null;qa(e),l1();const a=_o(r,e,0,[e.props,o]);if(c1(),ta(),Ru(a)){if(a.then(ta,ta),t)return a.then(i=>{l4(e,i,t)}).catch(i=>{Zl(i,e,0)});e.asyncDep=a}else l4(e,a,t)}else Z8(e,t)}function l4(e,t,n){qe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:bt(t)&&(e.setupState=d8(t)),Z8(e,n)}let c4;function Z8(e,t,n){const r=e.type;if(!e.render){if(!t&&c4&&!r.render){const o=r.template||T7(e).template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,c=Ht(Ht({isCustomElement:a,delimiters:s},i),l);r.render=c4(o,c)}}e.render=r.render||tr}qa(e),l1(),wv(e),c1(),ta()}function jv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return kn(e,"get","$attrs"),t[n]}}))}function $8(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return jv(e)},slots:e.slots,emit:e.emit,expose:t}}function Yl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(d8(s8(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in K1)return K1[n](e)},has(t,n){return n in t||n in K1}}))}function Gv(e,t=!0){return qe(e)?e.displayName||e.name:e.name||t&&e.__name}function Yv(e){return qe(e)&&"__vccOpts"in e}const T=(e,t)=>Km(e,t,wi);function Le(e,t,n){const r=arguments.length;return r===2?bt(t)&&!Ie(t)?Gs(t)?V(e,null,[t]):V(e,t):V(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gs(n)&&(n=[n]),V(e,t,n))}const Kv=Symbol.for("v-scx"),Wv=()=>_n(Kv),qv="3.3.4",Qv="http://www.w3.org/2000/svg",Go=typeof document<"u"?document:null,u4=Go&&Go.createElement("template"),Xv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?Go.createElementNS(Qv,e):Go.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Go.createTextNode(e),createComment:e=>Go.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Go.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,a){const i=n?n.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===a||!(o=o.nextSibling)););else{u4.innerHTML=r?`${e}`:e;const s=u4.content;if(r){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Jv(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function eg(e,t,n){const r=e.style,o=Ot(n);if(n&&!o){if(t&&!Ot(t))for(const a in t)n[a]==null&&P0(r,a,"");for(const a in n)P0(r,a,n[a])}else{const a=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=a)}}const d4=/\s*!important$/;function P0(e,t,n){if(Ie(n))n.forEach(r=>P0(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=tg(e,t);d4.test(n)?e.setProperty(Lo(r),n.replace(d4,""),"important"):e[r]=n}}const h4=["Webkit","Moz","ms"],S2={};function tg(e,t){const n=S2[t];if(n)return n;let r=Mr(t);if(r!=="filter"&&r in e)return S2[t]=r;r=Pl(r);for(let o=0;oE2||(sg.then(()=>E2=0),E2=Date.now());function cg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;zn(ug(r,n.value),t,5,[r])};return n.value=e,n.attached=lg(),n}function ug(e,t){if(Ie(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const m4=/^on[a-z]/,dg=(e,t,n,r,o=!1,a,i,s,l)=>{t==="class"?Jv(e,r,o):t==="style"?eg(e,n,r):Ol(t)?v7(t)||ag(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):hg(e,t,r,o))?rg(e,t,r,a,i,s,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ng(e,t,r,o))};function hg(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&m4.test(t)&&qe(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||m4.test(t)&&Ot(n)?!1:t in e}function u1(e){const t=Ii();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>Z0(a,o))},r=()=>{const o=e(t.proxy);N0(t.subTree,o),n(o)};sv(r),ht(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),sr(()=>o.disconnect())})}function N0(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{N0(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Z0(e.el,t);else if(e.type===ke)e.children.forEach(n=>N0(n,t));else if(e.type===W1){let{el:n,anchor:r}=e;for(;n&&(Z0(n,t),n!==r);)n=n.nextSibling}}function Z0(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const oo="transition",E1="animation",aa=(e,{slots:t})=>Le(uv,F8(e),t);aa.displayName="Transition";const R8={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},fg=aa.props=Ht({},b8,R8),Io=(e,t=[])=>{Ie(e)?e.forEach(n=>n(...t)):e&&e(...t)},v4=e=>e?Ie(e)?e.some(t=>t.length>1):e.length>1:!1;function F8(e){const t={};for(const I in e)I in R8||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,v=pg(o),_=v&&v[0],C=v&&v[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:g,onLeave:k,onLeaveCancelled:B,onBeforeAppear:Z=b,onAppear:j=w,onAppearCancelled:F=g}=t,D=(I,U,le)=>{ho(I,U?u:s),ho(I,U?c:i),le&&le()},S=(I,U)=>{I._isLeaving=!1,ho(I,d),ho(I,f),ho(I,h),U&&U()},R=I=>(U,le)=>{const ie=I?j:w,ce=()=>D(U,I,le);Io(ie,[U,ce]),g4(()=>{ho(U,I?l:a),Vr(U,I?u:s),v4(ie)||C4(U,r,_,ce)})};return Ht(t,{onBeforeEnter(I){Io(b,[I]),Vr(I,a),Vr(I,i)},onBeforeAppear(I){Io(Z,[I]),Vr(I,l),Vr(I,c)},onEnter:R(!1),onAppear:R(!0),onLeave(I,U){I._isLeaving=!0;const le=()=>S(I,U);Vr(I,d),U8(),Vr(I,h),g4(()=>{I._isLeaving&&(ho(I,d),Vr(I,f),v4(k)||C4(I,r,C,le))}),Io(k,[I,le])},onEnterCancelled(I){D(I,!1),Io(g,[I])},onAppearCancelled(I){D(I,!0),Io(F,[I])},onLeaveCancelled(I){S(I),Io(B,[I])}})}function pg(e){if(e==null)return null;if(bt(e))return[A2(e.enter),A2(e.leave)];{const t=A2(e);return[t,t]}}function A2(e){return om(e)}function Vr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function ho(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function g4(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let mg=0;function C4(e,t,n,r){const o=e._endId=++mg,a=()=>{o===e._endId&&r()};if(n)return setTimeout(a,n);const{type:i,timeout:s,propCount:l}=z8(e,t);if(!i)return r();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,h),a()},h=f=>{f.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[v]||"").split(", "),o=r(`${oo}Delay`),a=r(`${oo}Duration`),i=y4(o,a),s=r(`${E1}Delay`),l=r(`${E1}Duration`),c=y4(s,l);let u=null,d=0,h=0;t===oo?i>0&&(u=oo,d=i,h=a.length):t===E1?c>0&&(u=E1,d=c,h=l.length):(d=Math.max(i,c),u=d>0?i>c?oo:E1:null,h=u?u===oo?a.length:l.length:0);const f=u===oo&&/\b(transform|all)(,|$)/.test(r(`${oo}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:f}}function y4(e,t){for(;e.lengthb4(n)+b4(e[r])))}function b4(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function U8(){return document.body.offsetHeight}const j8=new WeakMap,G8=new WeakMap,Y8={name:"TransitionGroup",props:Ht({},fg,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ii(),r=y8();let o,a;return k8(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!wg(o[0].el,n.vnode.el,i))return;o.forEach(Cg),o.forEach(yg);const s=o.filter(bg);U8(),s.forEach(l=>{const c=l.el,u=c.style;Vr(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const d=c._moveCb=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",d),c._moveCb=null,ho(c,i))};c.addEventListener("transitionend",d)})}),()=>{const i=rt(e),s=F8(i);let l=i.tag||ke;o=a,a=t.default?L7(t.default()):[];for(let c=0;cdelete e.mode;Y8.props;const gg=Y8;function Cg(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function yg(e){G8.set(e,e.el.getBoundingClientRect())}function bg(e){const t=j8.get(e),n=G8.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${r}px,${o}px)`,a.transitionDuration="0s",e}}function wg(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=z8(r);return o.removeChild(r),a}const w4=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ie(t)?n=>ws(t,n):t};function _g(e){e.target.composing=!0}function _4(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const kg={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=w4(o);const a=r||o.props&&o.props.type==="number";xa(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=x0(s)),e._assign(s)}),n&&xa(e,"change",()=>{e.value=e.value.trim()}),t||(xa(e,"compositionstart",_g),xa(e,"compositionend",_4),xa(e,"change",_4))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},a){if(e._assign=w4(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(o||e.type==="number")&&x0(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Mg=["ctrl","shift","alt","meta"],xg={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)=>Mg.some(n=>e[`${n}Key`]&&!t.includes(n))},Dt=(e,t)=>(n,...r)=>{for(let o=0;on=>{if(!("key"in n))return;const r=Lo(n.key);if(t.some(o=>o===r||Sg[o]===r))return e(n)},$0={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):A1(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),A1(e,!0),r.enter(e)):r.leave(e,()=>{A1(e,!1)}):A1(e,t))},beforeUnmount(e,{value:t}){A1(e,t)}};function A1(e,t){e.style.display=t?e._vod:"none"}const Eg=Ht({patchProp:dg},Xv);let k4;function Ag(){return k4||(k4=Hv(Eg))}const K8=(...e)=>{const t=Ag().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Lg(r);if(!o)return;const a=t._component;!qe(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function Lg(e){return Ot(e)?document.querySelector(e):e}function Dg(){return W8().__VUE_DEVTOOLS_GLOBAL_HOOK__}function W8(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Tg=typeof Proxy=="function",Bg="devtools-plugin:setup",Hg="plugin:settings:set";let ya,R0;function Og(){var e;return ya!==void 0||(typeof window<"u"&&window.performance?(ya=!0,R0=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(ya=!0,R0=global.perf_hooks.performance):ya=!1),ya}function Ig(){return Og()?R0.now():Date.now()}class Vg{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const s=t.settings[i];r[i]=s.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let a=Object.assign({},r);try{const i=localStorage.getItem(o),s=JSON.parse(i);Object.assign(a,s)}catch{}this.fallbacks={getSettings(){return a},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}a=i},now(){return Ig()}},n&&n.on(Hg,(i,s)=>{i===this.plugin.id&&this.fallbacks.setSettings(s)}),this.proxiedOn=new Proxy({},{get:(i,s)=>this.target?this.target.on[s]:(...l)=>{this.onQueue.push({method:s,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,s)=>this.target?this.target[s]:s==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(s)?(...l)=>(this.targetQueue.push({method:s,args:l,resolve:()=>{}}),this.fallbacks[s](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:s,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Pg(e,t){const n=e,r=W8(),o=Dg(),a=Tg&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))o.emit(Bg,e,t);else{const i=a?new Vg(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*! +var ep=Object.defineProperty;var tp=(e,t,n)=>t in e?ep(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var lt=(e,t,n)=>(tp(e,typeof t!="symbol"?t+"":t,n),n),w2=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var oe=(e,t,n)=>(w2(e,t,"read from private field"),n?n.call(e):t.get(e)),Qe=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},$t=(e,t,n,r)=>(w2(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var ge=(e,t,n)=>(w2(e,t,"access private method"),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(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"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(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 r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();const np="modulepreload",rp=function(e,t){return e[0]==="."?new URL(e,t).href:e},P3={},be=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=rp(a,r),a in P3)return;P3[a]=!0;const i=a.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const d=o[u];if(d.href===a&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":np,i||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),i)return new Promise((u,d)=>{c.addEventListener("load",u),c.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})},op=e=>({"/control-plane/addresses":async(t,n)=>(n.close(),{http:e("KUMA_API_URL"),kds:"grpcs://:5685"})});var _2=new WeakMap,Iu=new Map,ap=new Map,ra;(function(e){e[e.Constant=0]="Constant",e[e.Instance=1]="Instance",e[e.Factory=2]="Factory"})(ra||(ra={}));var Yr;(function(e){e[e.Container=0]="Container",e[e.Resolution=1]="Resolution",e[e.Singleton=2]="Singleton",e[e.Transient=3]="Transient"})(Yr||(Yr={}));var ip=class{constructor(e){this.impl=e,this.type=ra.Constant}},sp=class{constructor(e){this.impl=e,this.type=ra.Factory}},lp=e=>e.type===ra.Factory,Hl=class{constructor(e){this.impl=e,this.type=ra.Instance}},cp=class extends Hl{constructor(){super(...arguments),this.scope=Yr.Container,this.cache=new WeakMap}},up=class extends Hl{constructor(){super(...arguments),this.scope=Yr.Resolution}},dp=class extends Hl{constructor(e){super(e),this.impl=e,this.scope=Yr.Singleton}},hp=class extends Hl{constructor(){super(...arguments),this.scope=Yr.Transient}},fp=e=>e.type===ra.Instance,pp=e=>e.scope===Yr.Container,mp=e=>e.scope===Yr.Resolution,vp=e=>e.scope===Yr.Singleton,gp=e=>Symbol(e),$e=e=>{const t=Symbol(e);return{__t:null,__d:e,__s:t,__o:!1,optional:{__t:null,__d:e,__s:t,__o:!0}}},P1=class{constructor(){this.parent=null,this.map=new Map}set(e,t,n=P1.notag){const r=this.map.get(t.__s);r?r.set(n,e):this.map.set(t.__s,new Map().set(n,e))}find(e,t,n){const r=this.map.get(e.__s);if(r!==void 0){if(n){const o=r.get(n);if(o)return o}if(t)for(let o=0,a=t.length;o{t.map.set(r,e(n))}),t}clone(){return this.from(e=>new Map(e))}},Vu=P1;Vu.notag=gp("NO_TAG");var Cp=class{constructor(e,t,n,r){this.vault=e,this.tokens=t,this.getVault=n,this.condition=r}from(e){const{tokens:t}=this;for(let n=0,r=t.length;nthis.resolveToken(o,n,r,t.split()))}resolveToken(e,t,n,r=new Pu){const o=this.vault.get(e,r,t,n);if(o)return this.resolveBinding(o,r);if(!e.__o)throw new Error(`No matching bindings found for '${e.__d}' token.`)}resolveBinding(e,t){return fp(e)?vp(e)?this.resolveCache(e,t,()=>e.cache,n=>{e.cache=n}):pp(e)?this.resolveCache(e,t,()=>e.cache.get(this.vault),n=>{e.cache.set(this.vault,n)}):mp(e)?this.resolveCache(e,t,()=>t.instances.get(e),n=>{t.instances.set(e,n)}):this.createInstance(e.impl,t):lp(e)?(...n)=>{const r=this.createInstance(e.impl.creator,t);return r instanceof Promise?r.then(o=>Cs.resolveInitialization(o,n,e.impl.initializer)):Cs.resolveInitialization(r,n,e.impl.initializer)}:e.impl}resolveCache(e,t,n,r){const o=n();if(o!==void 0)return o;const a=this.createInstance(e.impl,t);return r(a),a}createInstance(e,t){const n=this.getParameters(e,t),r=_2.get(e);if(r!==void 0)return r?e(...n):new e(...n);try{const o=e(...n);return _2.set(e,!0),o}catch{const a=new e(...n);return _2.set(e,!1),a}}getParameters(e,t){const n=Iu.get(e);if(n)return this.resolveTokens(n,t,ap.get(e),e);if(e.length===0)return[];throw new Error(`Missing required 'injected' registration of '${e.name}'`)}static resolveInitialization(e,t,n){const r=n==null?void 0:n(e,...t);return r instanceof Promise?r.then(()=>e):e}},kp=()=>new Cs,Mp=(e,...t)=>(Iu.set(e,t),e),Lie=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sp=function(t){return Ep(t)&&!Ap(t)};function Ep(e){return!!e&&typeof e=="object"}function Ap(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Tp(e)}var Lp=typeof Symbol=="function"&&Symbol.for,Dp=Lp?Symbol.for("react.element"):60103;function Tp(e){return e.$$typeof===Dp}function Bp(e){return Array.isArray(e)?[]:{}}function fi(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Wa(Bp(e),e,t):e}function Hp(e,t,n){return e.concat(t).map(function(r){return fi(r,n)})}function Op(e,t){if(!t.customMerge)return Wa;var n=t.customMerge(e);return typeof n=="function"?n:Wa}function Ip(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function N3(e){return Object.keys(e).concat(Ip(e))}function Nu(e,t){try{return t in e}catch{return!1}}function Vp(e,t){return Nu(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Pp(e,t,n){var r={};return n.isMergeableObject(e)&&N3(e).forEach(function(o){r[o]=fi(e[o],n)}),N3(t).forEach(function(o){Vp(e,o)||(Nu(e,o)&&n.isMergeableObject(t[o])?r[o]=Op(o,n)(e[o],t[o],n):r[o]=fi(t[o],n))}),r}function Wa(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||Hp,n.isMergeableObject=n.isMergeableObject||Sp,n.cloneUnlessOtherwiseSpecified=fi;var r=Array.isArray(t),o=Array.isArray(e),a=r===o;return a?r?n.arrayMerge(e,t,n):Pp(e,t,n):fi(t,n)}Wa.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,o){return Wa(r,o,n)},{})};var Np=Wa,Zp=Np;const $p=xp(Zp),f7=kp(),Rp=(...e)=>[...new Map([...e.flat()]).entries()],Fp=e=>{const t=new Map(e);return e.forEach(([n,r])=>{if(typeof r.decorates<"u"){const o=r.decorates,a=t.get(o);if(typeof a<"u"){const{labels:i,...s}=a,l=$e("inner"),c=$e("inner.wrapper");t.set(l,{...s}),t.set(c,{service:()=>()=>Hi(l)}),t.set(o,{...r,arguments:[c],labels:i})}r.decorates=void 0}}),[...t.entries()]},Hi=e=>f7.get(e),zp=(...e)=>(Fp(Rp(...e)).forEach(n=>Zu(...n)),Hi),p7=(...e)=>e.map(t=>()=>Hi(t)),qi=new WeakMap,Zu=(e,t)=>{const n=f7.bind(e);switch(!0){case"constant"in t:n.toConstant(t.constant);break;case"service"in t:{const r=n.toInstance(t.service);(typeof t.shared>"u"||t.shared===!0)&&r.inSingletonScope();break}}typeof t.labels<"u"&&t.labels.forEach(r=>{qi.has(r)||(qi.set(r,[]),Zu(r,{service:()=>qi.get(r).reduce((a,i)=>{const s=Hi(i);return Array.isArray(s)?a.concat(s):s instanceof Object?$p(a,s):a},[])})),qi.get(r).push(e)}),typeof t.arguments<"u"&&typeof t.service<"u"&&(t.arguments.forEach((r,o)=>{if(typeof r>"u")throw new Error(`Unable to find token for argument[${o}]`)}),Mp(t.service,...t.arguments))},nn=(e,t)=>{const n=$e(t.description);return f7.bind(n).toConstant(e),n},Up={sources:$e("control-planes.sources")},jp=e=>[[Up.sources,{service:op,arguments:[e.env],labels:[e.sources]}]],Gp=()=>[{path:"/diagnostics",name:"diagnostics",component:()=>be(()=>import("./DiagnosticsView-12b69980.js"),["./CodeBlock-7d9027b4.css"],import.meta.url)}],Yp=e=>({"/config":async(t,n)=>(n.close(),await e.getConfig())}),Z3={sources:$e("diagnostics.sources"),routes:$e("diagnostics.routes")},Kp=e=>[[Z3.sources,{service:Yp,arguments:[e.api],labels:[e.sources]}],[Z3.routes,{service:Gp,labels:[e.routes]}]],Wp=()=>[{path:"/onboarding",redirect:{name:"onboarding-welcome"},component:()=>be(()=>import("./OnboardingView-9b18497e.js"),[],import.meta.url),children:[{path:"welcome",name:"onboarding-welcome",meta:{onboardingProcess:!0},component:()=>be(()=>import("./WelcomeView-1a6f1991.js"),["./OnboardingPage-aadedf2d.css","./WelcomeView-f4477083.css"],import.meta.url)},{path:"deployment-types",name:"onboarding-deployment-types",meta:{onboardingProcess:!0},component:()=>be(()=>import("./DeploymentTypes-7fbcd872.js"),["./OnboardingPage-aadedf2d.css","./DeploymentTypes-2b5f2b6d.css"],import.meta.url)},{path:"configuration-types",name:"onboarding-configuration-types",meta:{onboardingProcess:!0},component:()=>be(()=>import("./ConfigurationTypes-29d69e6c.js"),["./OnboardingPage-aadedf2d.css","./ConfigurationTypes-e6e1e836.css"],import.meta.url)},{path:"multi-zone",name:"onboarding-multi-zone",meta:{onboardingProcess:!0},component:()=>be(()=>import("./MultiZoneView-737f58ac.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-aadedf2d.css","./MultiZoneView-d34220a6.css"],import.meta.url)},{path:"create-mesh",name:"onboarding-create-mesh",meta:{onboardingProcess:!0},component:()=>be(()=>import("./CreateMesh-eff97ff1.js"),["./OnboardingPage-aadedf2d.css","./CreateMesh-a99ab9f3.css"],import.meta.url)},{path:"add-services",name:"onboarding-add-services",meta:{onboardingProcess:!0},component:()=>be(()=>import("./AddNewServices-fb834d87.js"),["./OnboardingPage-aadedf2d.css","./AddNewServices-28d481d8.css"],import.meta.url)},{path:"add-services-code",name:"onboarding-add-services-code",meta:{onboardingProcess:!0},component:()=>be(()=>import("./AddNewServicesCode-ac5a36a6.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-aadedf2d.css","./CodeBlock-7d9027b4.css","./AddNewServicesCode-7aa0ab0c.css"],import.meta.url)},{path:"dataplanes-overview",name:"onboarding-dataplanes-overview",meta:{onboardingProcess:!0},component:()=>be(()=>import("./DataplanesOverview-1b43a989.js"),["./LoadingBox-0bc10551.css","./OnboardingPage-aadedf2d.css","./DataplanesOverview-c522ab1f.css"],import.meta.url)},{path:"completed",name:"onboarding-completed",meta:{onboardingProcess:!0},component:()=>be(()=>import("./CompletedView-52156695.js"),["./OnboardingPage-aadedf2d.css","./CompletedView-b2f4845a.css"],import.meta.url)}]}],qp={routes:$e("onboarding.routes"),guards:$e("onboarding.guards")},Qp=e=>[[qp.routes,{service:Wp,labels:[e.routes]}]];function m7(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Ct={},Oa=[],tr=()=>{},Xp=()=>!1,Jp=/^on[^a-z]/,Ol=e=>Jp.test(e),v7=e=>e.startsWith("onUpdate:"),Ht=Object.assign,g7=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},em=Object.prototype.hasOwnProperty,tt=(e,t)=>em.call(e,t),Ie=Array.isArray,Ia=e=>Il(e)==="[object Map]",$u=e=>Il(e)==="[object Set]",qe=e=>typeof e=="function",Ot=e=>typeof e=="string",C7=e=>typeof e=="symbol",bt=e=>e!==null&&typeof e=="object",Ru=e=>bt(e)&&qe(e.then)&&qe(e.catch),Fu=Object.prototype.toString,Il=e=>Fu.call(e),tm=e=>Il(e).slice(8,-1),zu=e=>Il(e)==="[object Object]",y7=e=>Ot(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ys=m7(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},nm=/-(\w)/g,Mr=Vl(e=>e.replace(nm,(t,n)=>n?n.toUpperCase():"")),rm=/\B([A-Z])/g,Lo=Vl(e=>e.replace(rm,"-$1").toLowerCase()),Pl=Vl(e=>e.charAt(0).toUpperCase()+e.slice(1)),bs=Vl(e=>e?`on${Pl(e)}`:""),pi=(e,t)=>!Object.is(e,t),ws=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},x0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},om=e=>{const t=Ot(e)?Number(e):NaN;return isNaN(t)?e:t};let $3;const S0=()=>$3||($3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function yt(e){if(Ie(e)){const t={};for(let n=0;n{if(n){const r=n.split(im);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function X(e){let t="";if(Ot(e))t=e;else if(Ie(e))for(let n=0;nOt(e)?e:e==null?"":Ie(e)||bt(e)&&(e.toString===Fu||!qe(e.toString))?JSON.stringify(e,ju,2):String(e),ju=(e,t)=>t&&t.__v_isRef?ju(e,t.value):Ia(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:$u(t)?{[`Set(${t.size})`]:[...t.values()]}:bt(t)&&!Ie(t)&&!zu(t)?String(t):t;let Ln;class Gu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ln,!t&&Ln&&(this.index=(Ln.scopes||(Ln.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ln;try{return Ln=this,t()}finally{Ln=n}}}on(){Ln=this}off(){Ln=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Ku=e=>(e.w&xo)>0,Wu=e=>(e.n&xo)>0,pm=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(i.get(n)),t){case"add":Ie(e)?y7(n)&&s.push(i.get("length")):(s.push(i.get(ea)),Ia(e)&&s.push(i.get(A0)));break;case"delete":Ie(e)||(s.push(i.get(ea)),Ia(e)&&s.push(i.get(A0)));break;case"set":Ia(e)&&s.push(i.get(ea));break}if(s.length===1)s[0]&&L0(s[0]);else{const l=[];for(const c of s)c&&l.push(...c);L0(b7(l))}}function L0(e,t){const n=Ie(e)?e:[...e];for(const r of n)r.computed&&F3(r);for(const r of n)r.computed||F3(r)}function F3(e,t){(e!==Jn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function vm(e,t){var n;return(n=$s.get(e))==null?void 0:n.get(t)}const gm=m7("__proto__,__v_isRef,__isVue"),Xu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(C7)),Cm=_7(),ym=_7(!1,!0),bm=_7(!0),z3=wm();function wm(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=rt(this);for(let a=0,i=this.length;a{e[t]=function(...n){l1();const r=rt(this)[t].apply(this,n);return c1(),r}}),e}function _m(e){const t=rt(this);return kn(t,"has",e),t.hasOwnProperty(e)}function _7(e=!1,t=!1){return function(r,o,a){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&a===(e?t?Nm:r8:t?n8:t8).get(r))return r;const i=Ie(r);if(!e){if(i&&tt(z3,o))return Reflect.get(z3,o,a);if(o==="hasOwnProperty")return _m}const s=Reflect.get(r,o,a);return(C7(o)?Xu.has(o):gm(o))||(e||kn(r,"get",o),t)?s:qt(s)?i&&y7(o)?s:s.value:bt(s)?e?a8(s):Qr(s):s}}const km=Ju(),Mm=Ju(!0);function Ju(e=!1){return function(n,r,o,a){let i=n[r];if(oa(i)&&qt(i)&&!qt(o))return!1;if(!e&&(!Rs(o)&&!oa(o)&&(i=rt(i),o=rt(o)),!Ie(n)&&qt(i)&&!qt(o)))return i.value=o,!0;const s=Ie(n)&&y7(r)?Number(r)e,Nl=e=>Reflect.getPrototypeOf(e);function Qi(e,t,n=!1,r=!1){e=e.__v_raw;const o=rt(e),a=rt(t);n||(t!==a&&kn(o,"get",t),kn(o,"get",a));const{has:i}=Nl(o),s=r?k7:n?S7:mi;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 Xi(e,t=!1){const n=this.__v_raw,r=rt(n),o=rt(e);return t||(e!==o&&kn(r,"has",e),kn(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Ji(e,t=!1){return e=e.__v_raw,!t&&kn(rt(e),"iterate",ea),Reflect.get(e,"size",e)}function U3(e){e=rt(e);const t=rt(this);return Nl(t).has.call(t,e)||(t.add(e),Kr(t,"add",e,e)),this}function j3(e,t){t=rt(t);const n=rt(this),{has:r,get:o}=Nl(n);let a=r.call(n,e);a||(e=rt(e),a=r.call(n,e));const i=o.call(n,e);return n.set(e,t),a?pi(t,i)&&Kr(n,"set",e,t):Kr(n,"add",e,t),this}function G3(e){const t=rt(this),{has:n,get:r}=Nl(t);let o=n.call(t,e);o||(e=rt(e),o=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return o&&Kr(t,"delete",e,void 0),a}function Y3(){const e=rt(this),t=e.size!==0,n=e.clear();return t&&Kr(e,"clear",void 0,void 0),n}function es(e,t){return function(r,o){const a=this,i=a.__v_raw,s=rt(i),l=t?k7:e?S7:mi;return!e&&kn(s,"iterate",ea),i.forEach((c,u)=>r.call(o,l(c),l(u),a))}}function ts(e,t,n){return function(...r){const o=this.__v_raw,a=rt(o),i=Ia(a),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?k7:t?S7:mi;return!t&&kn(a,"iterate",l?A0:ea),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:s?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function ro(e){return function(...t){return e==="delete"?!1:this}}function Dm(){const e={get(a){return Qi(this,a)},get size(){return Ji(this)},has:Xi,add:U3,set:j3,delete:G3,clear:Y3,forEach:es(!1,!1)},t={get(a){return Qi(this,a,!1,!0)},get size(){return Ji(this)},has:Xi,add:U3,set:j3,delete:G3,clear:Y3,forEach:es(!1,!0)},n={get(a){return Qi(this,a,!0)},get size(){return Ji(this,!0)},has(a){return Xi.call(this,a,!0)},add:ro("add"),set:ro("set"),delete:ro("delete"),clear:ro("clear"),forEach:es(!0,!1)},r={get(a){return Qi(this,a,!0,!0)},get size(){return Ji(this,!0)},has(a){return Xi.call(this,a,!0)},add:ro("add"),set:ro("set"),delete:ro("delete"),clear:ro("clear"),forEach:es(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=ts(a,!1,!1),n[a]=ts(a,!0,!1),t[a]=ts(a,!1,!0),r[a]=ts(a,!0,!0)}),[e,n,t,r]}const[Tm,Bm,Hm,Om]=Dm();function M7(e,t){const n=t?e?Om:Hm:e?Bm:Tm;return(r,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(tt(n,o)&&o in r?n:r,o,a)}const Im={get:M7(!1,!1)},Vm={get:M7(!1,!0)},Pm={get:M7(!0,!1)},t8=new WeakMap,n8=new WeakMap,r8=new WeakMap,Nm=new WeakMap;function Zm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $m(e){return e.__v_skip||!Object.isExtensible(e)?0:Zm(tm(e))}function Qr(e){return oa(e)?e:x7(e,!1,e8,Im,t8)}function o8(e){return x7(e,!1,Lm,Vm,n8)}function a8(e){return x7(e,!0,Am,Pm,r8)}function x7(e,t,n,r,o){if(!bt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=$m(e);if(i===0)return e;const s=new Proxy(e,i===2?r:n);return o.set(e,s),s}function Va(e){return oa(e)?Va(e.__v_raw):!!(e&&e.__v_isReactive)}function oa(e){return!!(e&&e.__v_isReadonly)}function Rs(e){return!!(e&&e.__v_isShallow)}function i8(e){return Va(e)||oa(e)}function rt(e){const t=e&&e.__v_raw;return t?rt(t):e}function s8(e){return Zs(e,"__v_skip",!0),e}const mi=e=>bt(e)?Qr(e):e,S7=e=>bt(e)?a8(e):e;function l8(e){wo&&Jn&&(e=rt(e),Qu(e.dep||(e.dep=b7())))}function c8(e,t){e=rt(e);const n=e.dep;n&&L0(n)}function qt(e){return!!(e&&e.__v_isRef===!0)}function G(e){return u8(e,!1)}function Rm(e){return u8(e,!0)}function u8(e,t){return qt(e)?e:new Fm(e,t)}class Fm{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:rt(t),this._value=n?t:mi(t)}get value(){return l8(this),this._value}set value(t){const n=this.__v_isShallow||Rs(t)||oa(t);t=n?t:rt(t),pi(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:mi(t),c8(this))}}function E(e){return qt(e)?e.value:e}const zm={get:(e,t,n)=>E(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return qt(o)&&!qt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function d8(e){return Va(e)?e:new Proxy(e,zm)}function Um(e){const t=Ie(e)?new Array(e.length):{};for(const n in e)t[n]=Gm(e,n);return t}class jm{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,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 vm(rt(this._object),this._key)}}function Gm(e,t,n){const r=e[t];return qt(r)?r:new jm(e,t,n)}class Ym{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new w7(t,()=>{this._dirty||(this._dirty=!0,c8(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=rt(this);return l8(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Km(e,t,n=!1){let r,o;const a=qe(e);return a?(r=e,o=tr):(r=e.get,o=e.set),new Ym(r,o,a||!o,n)}function _o(e,t,n,r){let o;try{o=r?e(...r):e()}catch(a){Zl(a,t,n)}return o}function zn(e,t,n,r){if(qe(e)){const a=_o(e,t,n,r);return a&&Ru(a)&&a.catch(i=>{Zl(i,t,n)}),a}const o=[];for(let a=0;a>>1;gi(Jt[r])br&&Jt.splice(t,1)}function Xm(e){Ie(e)?Pa.push(...e):(!Nr||!Nr.includes(e,e.allowRecurse?Uo+1:Uo))&&Pa.push(e),f8()}function K3(e,t=vi?br+1:0){for(;tgi(n)-gi(r)),Uo=0;Uoe.id==null?1/0:e.id,Jm=(e,t)=>{const n=gi(e)-gi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function m8(e){D0=!1,vi=!0,Jt.sort(Jm);const t=tr;try{for(br=0;brOt(f)?f.trim():f)),d&&(o=n.map(x0))}let s,l=r[s=bs(t)]||r[s=bs(Mr(t))];!l&&a&&(l=r[s=bs(Lo(t))]),l&&zn(l,e,6,o);const c=r[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,zn(c,e,6,o)}}function v8(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const a=e.emits;let i={},s=!1;if(!qe(e)){const l=c=>{const u=v8(c,t,!0);u&&(s=!0,Ht(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(bt(e)&&r.set(e,null),null):(Ie(a)?a.forEach(l=>i[l]=null):Ht(i,a),bt(e)&&r.set(e,i),i)}function $l(e,t){return!e||!Ol(t)?!1:(t=t.slice(2).replace(/Once$/,""),tt(e,t[0].toLowerCase()+t.slice(1))||tt(e,Lo(t))||tt(e,t))}let Qt=null,Rl=null;function Fs(e){const t=Qt;return Qt=e,Rl=e&&e.type.__scopeId||null,t}function fn(e){Rl=e}function pn(){Rl=null}function A(e,t=Qt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&i4(-1);const a=Fs(t);let i;try{i=e(...o)}finally{Fs(a),r._d&&i4(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function k2(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:a,propsOptions:[i],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:h,setupState:f,ctx:v,inheritAttrs:_}=e;let C,b;const w=Fs(e);try{if(n.shapeFlag&4){const k=o||r;C=Cr(u.call(k,k,d,a,f,h,v)),b=l}else{const k=t;C=Cr(k.length>1?k(a,{attrs:l,slots:s,emit:c}):k(a,null)),b=t.props?l:tv(l)}}catch(k){q1.length=0,Zl(k,e,1),C=V(Bn)}let g=C;if(b&&_!==!1){const k=Object.keys(b),{shapeFlag:B}=g;k.length&&B&7&&(i&&k.some(v7)&&(b=nv(b,i)),g=Wr(g,b))}return n.dirs&&(g=Wr(g),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),C=g,Fs(w),C}const tv=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ol(n))&&((t||(t={}))[n]=e[n]);return t},nv=(e,t)=>{const n={};for(const r in e)(!v7(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function rv(e,t,n){const{props:r,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?W3(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function iv(e,t){t&&t.pendingBranch?Ie(e)?t.effects.push(...e):t.effects.push(e):Xm(e)}function g8(e,t){return Fl(e,null,t)}function sv(e,t){return Fl(e,null,{flush:"post"})}const ns={};function De(e,t,n){return Fl(e,t,n)}function Fl(e,t,{immediate:n,deep:r,flush:o,onTrack:a,onTrigger:i}=Ct){var s;const l=Yu()===((s=zt)==null?void 0:s.scope)?zt:null;let c,u=!1,d=!1;if(qt(e)?(c=()=>e.value,u=Rs(e)):Va(e)?(c=()=>e,r=!0):Ie(e)?(d=!0,u=e.some(k=>Va(k)||Rs(k)),c=()=>e.map(k=>{if(qt(k))return k.value;if(Va(k))return Ko(k);if(qe(k))return _o(k,l,2)})):qe(e)?t?c=()=>_o(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),zn(e,l,3,[f])}:c=tr,t&&r){const k=c;c=()=>Ko(k())}let h,f=k=>{h=w.onStop=()=>{_o(k,l,4)}},v;if(wi)if(f=tr,t?n&&zn(t,l,3,[c(),d?[]:void 0,f]):c(),o==="sync"){const k=Wv();v=k.__watcherHandles||(k.__watcherHandles=[])}else return tr;let _=d?new Array(e.length).fill(ns):ns;const C=()=>{if(w.active)if(t){const k=w.run();(r||u||(d?k.some((B,Z)=>pi(B,_[Z])):pi(k,_)))&&(h&&h(),zn(t,l,3,[k,_===ns?void 0:d&&_[0]===ns?[]:_,f]),_=k)}else w.run()};C.allowRecurse=!!t;let b;o==="sync"?b=C:o==="post"?b=()=>yn(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),b=()=>A7(C));const w=new w7(c,b);t?n?C():_=w.run():o==="post"?yn(w.run.bind(w),l&&l.suspense):w.run();const g=()=>{w.stop(),l&&l.scope&&g7(l.scope.effects,w)};return v&&v.push(g),g}function lv(e,t,n){const r=this.proxy,o=Ot(e)?e.includes(".")?C8(r,e):()=>r[e]:e.bind(r,r);let a;qe(t)?a=t:(a=t.handler,n=t);const i=zt;qa(this);const s=Fl(o,a.bind(r),n);return i?qa(i):ta(),s}function C8(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{Ko(n,t)});else if(zu(e))for(const n in e)Ko(e[n],t);return e}function zs(e,t){const n=Qt;if(n===null)return e;const r=Yl(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),ir(()=>{e.isUnmounting=!0}),e}const In=[Function,Array],b8={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:In,onEnter:In,onAfterEnter:In,onEnterCancelled:In,onBeforeLeave:In,onLeave:In,onAfterLeave:In,onLeaveCancelled:In,onBeforeAppear:In,onAppear:In,onAfterAppear:In,onAppearCancelled:In},cv={name:"BaseTransition",props:b8,setup(e,{slots:t}){const n=Ii(),r=y8();let o;return()=>{const a=t.default&&L7(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const _ of a)if(_.type!==Bn){i=_;break}}const s=rt(e),{mode:l}=s;if(r.isLeaving)return M2(i);const c=q3(i);if(!c)return M2(i);const u=Ci(c,s,r,n);yi(c,u);const d=n.subTree,h=d&&q3(d);let f=!1;const{getTransitionKey:v}=c.type;if(v){const _=v();o===void 0?o=_:_!==o&&(o=_,f=!0)}if(h&&h.type!==Bn&&(!jo(c,h)||f)){const _=Ci(h,s,r,n);if(yi(h,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},M2(i);l==="in-out"&&c.type!==Bn&&(_.delayLeave=(C,b,w)=>{const g=w8(r,h);g[String(h.key)]=h,C._leaveCb=()=>{b(),C._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=w})}return i}}},uv=cv;function w8(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ci(e,t,n,r){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:_,onAppear:C,onAfterAppear:b,onAppearCancelled:w}=t,g=String(e.key),k=w8(n,e),B=(F,D)=>{F&&zn(F,r,9,D)},Z=(F,D)=>{const S=D[1];B(F,D),Ie(F)?F.every(R=>R.length<=1)&&S():F.length<=1&&S()},j={mode:a,persisted:i,beforeEnter(F){let D=s;if(!n.isMounted)if(o)D=_||s;else return;F._leaveCb&&F._leaveCb(!0);const S=k[g];S&&jo(e,S)&&S.el._leaveCb&&S.el._leaveCb(),B(D,[F])},enter(F){let D=l,S=c,R=u;if(!n.isMounted)if(o)D=C||l,S=b||c,R=w||u;else return;let I=!1;const U=F._enterCb=le=>{I||(I=!0,le?B(R,[F]):B(S,[F]),j.delayedLeave&&j.delayedLeave(),F._enterCb=void 0)};D?Z(D,[F,U]):U()},leave(F,D){const S=String(e.key);if(F._enterCb&&F._enterCb(!0),n.isUnmounting)return D();B(d,[F]);let R=!1;const I=F._leaveCb=U=>{R||(R=!0,D(),U?B(v,[F]):B(f,[F]),F._leaveCb=void 0,k[S]===e&&delete k[S])};k[S]=e,h?Z(h,[F,I]):I()},clone(F){return Ci(F,t,n,r)}};return j}function M2(e){if(zl(e))return e=Wr(e),e.children=null,e}function q3(e){return zl(e)?e.children?e.children[0]:void 0:e}function yi(e,t){e.shapeFlag&6&&e.component?yi(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 L7(e,t=!1,n){let r=[],o=0;for(let a=0;a1)for(let a=0;aHt({name:e.name},t,{setup:e}))():e}const Y1=e=>!!e.type.__asyncLoader,zl=e=>e.type.__isKeepAlive;function dv(e,t){_8(e,"a",t)}function hv(e,t){_8(e,"da",t)}function _8(e,t,n=zt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ul(t,r,n),n){let o=n.parent;for(;o&&o.parent;)zl(o.parent.vnode)&&fv(r,t,n,o),o=o.parent}}function fv(e,t,n,r){const o=Ul(t,e,r,!0);sr(()=>{g7(r[t],o)},n)}function Ul(e,t,n=zt,r=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;l1(),qa(n);const s=zn(t,n,e,i);return ta(),c1(),s});return r?o.unshift(a):o.push(a),a}}const Xr=e=>(t,n=zt)=>(!wi||e==="sp")&&Ul(e,(...r)=>t(...r),n),pv=Xr("bm"),ht=Xr("m"),mv=Xr("bu"),k8=Xr("u"),ir=Xr("bum"),sr=Xr("um"),vv=Xr("sp"),gv=Xr("rtg"),Cv=Xr("rtc");function yv(e,t=zt){Ul("ec",e,t)}const D7="components";function jt(e,t){return x8(D7,e,!0,t)||e}const M8=Symbol.for("v-ndc");function Do(e){return Ot(e)?x8(D7,e,!1)||e:e||M8}function x8(e,t,n=!0,r=!1){const o=Qt||zt;if(o){const a=o.type;if(e===D7){const s=Gv(a,!1);if(s&&(s===t||s===Mr(t)||s===Pl(Mr(t))))return a}const i=Q3(o[e]||a[e],t)||Q3(o.appContext[e],t);return!i&&r?a:i}}function Q3(e,t){return e&&(e[t]||e[Mr(t)]||e[Pl(Mr(t))])}function Xe(e,t,n,r){let o;const a=n&&n[r];if(Ie(e)||Ot(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=r.fn(...o);return a&&(a.key=r.key),a}:r.fn)}return e}function $(e,t,n={},r,o){if(Qt.isCE||Qt.parent&&Y1(Qt.parent)&&Qt.parent.isCE)return t!=="default"&&(n.name=t),V("slot",n,r&&r());let a=e[t];a&&a._c&&(a._d=!1),m();const i=a&&S8(a(n)),s=Q(ke,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function S8(e){return e.some(t=>Gs(t)?!(t.type===Bn||t.type===ke&&!S8(t.children)):!0)?e:null}function T0(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:bs(r)]=e[r];return n}const B0=e=>e?N8(e)?Yl(e)||e.proxy:B0(e.parent):null,K1=Ht(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=>T7(e),$forceUpdate:e=>e.f||(e.f=()=>A7(e.update)),$nextTick:e=>e.n||(e.n=hn.bind(e.proxy)),$watch:e=>lv.bind(e)}),x2=(e,t)=>e!==Ct&&!e.__isScriptSetup&&tt(e,t),bv={get({_:e},t){const{ctx:n,setupState:r,data:o,props:a,accessCache:i,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const f=i[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return a[t]}else{if(x2(r,t))return i[t]=1,r[t];if(o!==Ct&&tt(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&tt(c,t))return i[t]=3,a[t];if(n!==Ct&&tt(n,t))return i[t]=4,n[t];H0&&(i[t]=0)}}const u=K1[t];let d,h;if(u)return t==="$attrs"&&kn(e,"get",t),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Ct&&tt(n,t))return i[t]=4,n[t];if(h=l.config.globalProperties,tt(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:a}=e;return x2(o,t)?(o[t]=n,!0):r!==Ct&&tt(r,t)?(r[t]=n,!0):tt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:a}},i){let s;return!!n[i]||e!==Ct&&tt(e,i)||x2(t,i)||(s=a[0])&&tt(s,i)||tt(r,i)||tt(K1,i)||tt(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:tt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function xt(){return E8().slots}function lr(){return E8().attrs}function E8(){const e=Ii();return e.setupContext||(e.setupContext=$8(e))}function X3(e){return Ie(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let H0=!0;function wv(e){const t=T7(e),n=e.proxy,r=e.ctx;H0=!1,t.beforeCreate&&J3(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:f,updated:v,activated:_,deactivated:C,beforeDestroy:b,beforeUnmount:w,destroyed:g,unmounted:k,render:B,renderTracked:Z,renderTriggered:j,errorCaptured:F,serverPrefetch:D,expose:S,inheritAttrs:R,components:I,directives:U,filters:le}=t;if(c&&_v(c,r,null),i)for(const re in i){const Ce=i[re];qe(Ce)&&(r[re]=Ce.bind(n))}if(o){const re=o.call(n,n);bt(re)&&(e.data=Qr(re))}if(H0=!0,a)for(const re in a){const Ce=a[re],je=qe(Ce)?Ce.bind(n,n):qe(Ce.get)?Ce.get.bind(n,n):tr,Pe=!qe(Ce)&&qe(Ce.set)?Ce.set.bind(n):tr,Ye=T({get:je,set:Pe});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:ze=>Ye.value=ze})}if(s)for(const re in s)A8(s[re],r,n,re);if(l){const re=qe(l)?l.call(n):l;Reflect.ownKeys(re).forEach(Ce=>{Na(Ce,re[Ce])})}u&&J3(u,e,"c");function ce(re,Ce){Ie(Ce)?Ce.forEach(je=>re(je.bind(n))):Ce&&re(Ce.bind(n))}if(ce(pv,d),ce(ht,h),ce(mv,f),ce(k8,v),ce(dv,_),ce(hv,C),ce(yv,F),ce(Cv,Z),ce(gv,j),ce(ir,w),ce(sr,k),ce(vv,D),Ie(S))if(S.length){const re=e.exposed||(e.exposed={});S.forEach(Ce=>{Object.defineProperty(re,Ce,{get:()=>n[Ce],set:je=>n[Ce]=je})})}else e.exposed||(e.exposed={});B&&e.render===tr&&(e.render=B),R!=null&&(e.inheritAttrs=R),I&&(e.components=I),U&&(e.directives=U)}function _v(e,t,n=tr){Ie(e)&&(e=O0(e));for(const r in e){const o=e[r];let a;bt(o)?"default"in o?a=_n(o.from||r,o.default,!0):a=_n(o.from||r):a=_n(o),qt(a)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[r]=a}}function J3(e,t,n){zn(Ie(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function A8(e,t,n,r){const o=r.includes(".")?C8(n,r):()=>n[r];if(Ot(e)){const a=t[e];qe(a)&&De(o,a)}else if(qe(e))De(o,e.bind(n));else if(bt(e))if(Ie(e))e.forEach(a=>A8(a,t,n,r));else{const a=qe(e.handler)?e.handler.bind(n):t[e.handler];qe(a)&&De(o,a,e)}}function T7(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,s=a.get(t);let l;return s?l=s:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Us(l,c,i,!0)),Us(l,t,i)),bt(t)&&a.set(t,l),l}function Us(e,t,n,r=!1){const{mixins:o,extends:a}=t;a&&Us(e,a,n,!0),o&&o.forEach(i=>Us(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const s=kv[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const kv={data:e4,props:t4,emits:t4,methods:Z1,computed:Z1,beforeCreate:rn,created:rn,beforeMount:rn,mounted:rn,beforeUpdate:rn,updated:rn,beforeDestroy:rn,beforeUnmount:rn,destroyed:rn,unmounted:rn,activated:rn,deactivated:rn,errorCaptured:rn,serverPrefetch:rn,components:Z1,directives:Z1,watch:xv,provide:e4,inject:Mv};function e4(e,t){return t?e?function(){return Ht(qe(e)?e.call(this,this):e,qe(t)?t.call(this,this):t)}:t:e}function Mv(e,t){return Z1(O0(e),O0(t))}function O0(e){if(Ie(e)){const t={};for(let n=0;n1)return n&&qe(t)?t.call(r&&r.proxy):t}}function Av(e,t,n,r=!1){const o={},a={};Zs(a,Gl,1),e.propsDefaults=Object.create(null),D8(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:o8(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function Lv(e,t,n,r){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=rt(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,f]=T8(d,t,!0);Ht(i,h),f&&s.push(...f)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return bt(e)&&r.set(e,Oa),Oa;if(Ie(a))for(let u=0;u-1,f[1]=_<0||v<_,(v>-1||tt(f,"default"))&&s.push(d)}}}const c=[i,s];return bt(e)&&r.set(e,c),c}function n4(e){return e[0]!=="$"}function r4(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function o4(e,t){return r4(e)===r4(t)}function a4(e,t){return Ie(t)?t.findIndex(n=>o4(n,e)):qe(t)&&o4(t,e)?0:-1}const B8=e=>e[0]==="_"||e==="$stable",B7=e=>Ie(e)?e.map(Cr):[Cr(e)],Dv=(e,t,n)=>{if(t._n)return t;const r=A((...o)=>B7(t(...o)),n);return r._c=!1,r},H8=(e,t,n)=>{const r=e._ctx;for(const o in e){if(B8(o))continue;const a=e[o];if(qe(a))t[o]=Dv(o,a,r);else if(a!=null){const i=B7(a);t[o]=()=>i}}},O8=(e,t)=>{const n=B7(t);e.slots.default=()=>n},Tv=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=rt(t),Zs(t,"_",n)):H8(t,e.slots={})}else e.slots={},t&&O8(e,t);Zs(e.slots,Gl,1)},Bv=(e,t,n)=>{const{vnode:r,slots:o}=e;let a=!0,i=Ct;if(r.shapeFlag&32){const s=t._;s?n&&s===1?a=!1:(Ht(o,t),!n&&s===1&&delete o._):(a=!t.$stable,H8(t,o)),i=t}else t&&(O8(e,t),i={default:1});if(a)for(const s in o)!B8(s)&&!(s in i)&&delete o[s]};function V0(e,t,n,r,o=!1){if(Ie(e)){e.forEach((h,f)=>V0(h,t&&(Ie(t)?t[f]:t),n,r,o));return}if(Y1(r)&&!o)return;const a=r.shapeFlag&4?Yl(r.component)||r.component.proxy:r.el,i=o?null:a,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Ct?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(Ot(c)?(u[c]=null,tt(d,c)&&(d[c]=null)):qt(c)&&(c.value=null)),qe(l))_o(l,s,12,[i,u]);else{const h=Ot(l),f=qt(l);if(h||f){const v=()=>{if(e.f){const _=h?tt(d,l)?d[l]:u[l]:l.value;o?Ie(_)&&g7(_,a):Ie(_)?_.includes(a)||_.push(a):h?(u[l]=[a],tt(d,l)&&(d[l]=u[l])):(l.value=[a],e.k&&(u[e.k]=l.value))}else h?(u[l]=i,tt(d,l)&&(d[l]=i)):f&&(l.value=i,e.k&&(u[e.k]=i))};i?(v.id=-1,yn(v,n)):v()}}}const yn=iv;function Hv(e){return Ov(e)}function Ov(e,t){const n=S0();n.__VUE__=!0;const{insert:r,remove:o,patchProp:a,createElement:i,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:f=tr,insertStaticContent:v}=e,_=(M,L,O,q=null,W=null,J=null,he=!1,ue=null,fe=!!L.dynamicChildren)=>{if(M===L)return;M&&!jo(M,L)&&(q=Y(M),ze(M,W,J,!0),M=null),L.patchFlag===-2&&(fe=!1,L.dynamicChildren=null);const{type:se,ref:Se,shapeFlag:ye}=L;switch(se){case jl:C(M,L,O,q);break;case Bn:b(M,L,O,q);break;case W1:M==null&&w(L,O,q,he);break;case ke:I(M,L,O,q,W,J,he,ue,fe);break;default:ye&1?B(M,L,O,q,W,J,he,ue,fe):ye&6?U(M,L,O,q,W,J,he,ue,fe):(ye&64||ye&128)&&se.process(M,L,O,q,W,J,he,ue,fe,N)}Se!=null&&W&&V0(Se,M&&M.ref,J,L||M,!L)},C=(M,L,O,q)=>{if(M==null)r(L.el=s(L.children),O,q);else{const W=L.el=M.el;L.children!==M.children&&c(W,L.children)}},b=(M,L,O,q)=>{M==null?r(L.el=l(L.children||""),O,q):L.el=M.el},w=(M,L,O,q)=>{[M.el,M.anchor]=v(M.children,L,O,q,M.el,M.anchor)},g=({el:M,anchor:L},O,q)=>{let W;for(;M&&M!==L;)W=h(M),r(M,O,q),M=W;r(L,O,q)},k=({el:M,anchor:L})=>{let O;for(;M&&M!==L;)O=h(M),o(M),M=O;o(L)},B=(M,L,O,q,W,J,he,ue,fe)=>{he=he||L.type==="svg",M==null?Z(L,O,q,W,J,he,ue,fe):D(M,L,W,J,he,ue,fe)},Z=(M,L,O,q,W,J,he,ue)=>{let fe,se;const{type:Se,props:ye,shapeFlag:Ee,transition:Oe,dirs:te}=M;if(fe=M.el=i(M.type,J,ye&&ye.is,ye),Ee&8?u(fe,M.children):Ee&16&&F(M.children,fe,null,q,W,J&&Se!=="foreignObject",he,ue),te&&Ho(M,null,q,"created"),j(fe,M,M.scopeId,he,q),ye){for(const ve in ye)ve!=="value"&&!ys(ve)&&a(fe,ve,null,ye[ve],J,M.children,q,W,Ge);"value"in ye&&a(fe,"value",null,ye.value),(se=ye.onVnodeBeforeMount)&&dr(se,q,M)}te&&Ho(M,null,q,"beforeMount");const Me=(!W||W&&!W.pendingBranch)&&Oe&&!Oe.persisted;Me&&Oe.beforeEnter(fe),r(fe,L,O),((se=ye&&ye.onVnodeMounted)||Me||te)&&yn(()=>{se&&dr(se,q,M),Me&&Oe.enter(fe),te&&Ho(M,null,q,"mounted")},W)},j=(M,L,O,q,W)=>{if(O&&f(M,O),q)for(let J=0;J{for(let se=fe;se{const ue=L.el=M.el;let{patchFlag:fe,dynamicChildren:se,dirs:Se}=L;fe|=M.patchFlag&16;const ye=M.props||Ct,Ee=L.props||Ct;let Oe;O&&Oo(O,!1),(Oe=Ee.onVnodeBeforeUpdate)&&dr(Oe,O,L,M),Se&&Ho(L,M,O,"beforeUpdate"),O&&Oo(O,!0);const te=W&&L.type!=="foreignObject";if(se?S(M.dynamicChildren,se,ue,O,q,te,J):he||Ce(M,L,ue,null,O,q,te,J,!1),fe>0){if(fe&16)R(ue,L,ye,Ee,O,q,W);else if(fe&2&&ye.class!==Ee.class&&a(ue,"class",null,Ee.class,W),fe&4&&a(ue,"style",ye.style,Ee.style,W),fe&8){const Me=L.dynamicProps;for(let ve=0;ve{Oe&&dr(Oe,O,L,M),Se&&Ho(L,M,O,"updated")},q)},S=(M,L,O,q,W,J,he)=>{for(let ue=0;ue{if(O!==q){if(O!==Ct)for(const ue in O)!ys(ue)&&!(ue in q)&&a(M,ue,O[ue],null,he,L.children,W,J,Ge);for(const ue in q){if(ys(ue))continue;const fe=q[ue],se=O[ue];fe!==se&&ue!=="value"&&a(M,ue,se,fe,he,L.children,W,J,Ge)}"value"in q&&a(M,"value",O.value,q.value)}},I=(M,L,O,q,W,J,he,ue,fe)=>{const se=L.el=M?M.el:s(""),Se=L.anchor=M?M.anchor:s("");let{patchFlag:ye,dynamicChildren:Ee,slotScopeIds:Oe}=L;Oe&&(ue=ue?ue.concat(Oe):Oe),M==null?(r(se,O,q),r(Se,O,q),F(L.children,O,Se,W,J,he,ue,fe)):ye>0&&ye&64&&Ee&&M.dynamicChildren?(S(M.dynamicChildren,Ee,O,W,J,he,ue),(L.key!=null||W&&L===W.subTree)&&I8(M,L,!0)):Ce(M,L,O,Se,W,J,he,ue,fe)},U=(M,L,O,q,W,J,he,ue,fe)=>{L.slotScopeIds=ue,M==null?L.shapeFlag&512?W.ctx.activate(L,O,q,he,fe):le(L,O,q,W,J,he,fe):ie(M,L,fe)},le=(M,L,O,q,W,J,he)=>{const ue=M.component=Fv(M,q,W);if(zl(M)&&(ue.ctx.renderer=N),zv(ue),ue.asyncDep){if(W&&W.registerDep(ue,ce),!M.el){const fe=ue.subTree=V(Bn);b(null,fe,L,O)}return}ce(ue,M,L,O,W,J,he)},ie=(M,L,O)=>{const q=L.component=M.component;if(rv(M,L,O))if(q.asyncDep&&!q.asyncResolved){re(q,L,O);return}else q.next=L,Qm(q.update),q.update();else L.el=M.el,q.vnode=L},ce=(M,L,O,q,W,J,he)=>{const ue=()=>{if(M.isMounted){let{next:Se,bu:ye,u:Ee,parent:Oe,vnode:te}=M,Me=Se,ve;Oo(M,!1),Se?(Se.el=te.el,re(M,Se,he)):Se=te,ye&&ws(ye),(ve=Se.props&&Se.props.onVnodeBeforeUpdate)&&dr(ve,Oe,Se,te),Oo(M,!0);const He=k2(M),ee=M.subTree;M.subTree=He,_(ee,He,d(ee.el),Y(ee),M,W,J),Se.el=He.el,Me===null&&ov(M,He.el),Ee&&yn(Ee,W),(ve=Se.props&&Se.props.onVnodeUpdated)&&yn(()=>dr(ve,Oe,Se,te),W)}else{let Se;const{el:ye,props:Ee}=L,{bm:Oe,m:te,parent:Me}=M,ve=Y1(L);if(Oo(M,!1),Oe&&ws(Oe),!ve&&(Se=Ee&&Ee.onVnodeBeforeMount)&&dr(Se,Me,L),Oo(M,!0),ye&&ae){const He=()=>{M.subTree=k2(M),ae(ye,M.subTree,M,W,null)};ve?L.type.__asyncLoader().then(()=>!M.isUnmounted&&He()):He()}else{const He=M.subTree=k2(M);_(null,He,O,q,M,W,J),L.el=He.el}if(te&&yn(te,W),!ve&&(Se=Ee&&Ee.onVnodeMounted)){const He=L;yn(()=>dr(Se,Me,He),W)}(L.shapeFlag&256||Me&&Y1(Me.vnode)&&Me.vnode.shapeFlag&256)&&M.a&&yn(M.a,W),M.isMounted=!0,L=O=q=null}},fe=M.effect=new w7(ue,()=>A7(se),M.scope),se=M.update=()=>fe.run();se.id=M.uid,Oo(M,!0),se()},re=(M,L,O)=>{L.component=M;const q=M.vnode.props;M.vnode=L,M.next=null,Lv(M,L.props,q,O),Bv(M,L.children,O),l1(),K3(),c1()},Ce=(M,L,O,q,W,J,he,ue,fe=!1)=>{const se=M&&M.children,Se=M?M.shapeFlag:0,ye=L.children,{patchFlag:Ee,shapeFlag:Oe}=L;if(Ee>0){if(Ee&128){Pe(se,ye,O,q,W,J,he,ue,fe);return}else if(Ee&256){je(se,ye,O,q,W,J,he,ue,fe);return}}Oe&8?(Se&16&&Ge(se,W,J),ye!==se&&u(O,ye)):Se&16?Oe&16?Pe(se,ye,O,q,W,J,he,ue,fe):Ge(se,W,J,!0):(Se&8&&u(O,""),Oe&16&&F(ye,O,q,W,J,he,ue,fe))},je=(M,L,O,q,W,J,he,ue,fe)=>{M=M||Oa,L=L||Oa;const se=M.length,Se=L.length,ye=Math.min(se,Se);let Ee;for(Ee=0;EeSe?Ge(M,W,J,!0,!1,ye):F(L,O,q,W,J,he,ue,fe,ye)},Pe=(M,L,O,q,W,J,he,ue,fe)=>{let se=0;const Se=L.length;let ye=M.length-1,Ee=Se-1;for(;se<=ye&&se<=Ee;){const Oe=M[se],te=L[se]=fe?po(L[se]):Cr(L[se]);if(jo(Oe,te))_(Oe,te,O,null,W,J,he,ue,fe);else break;se++}for(;se<=ye&&se<=Ee;){const Oe=M[ye],te=L[Ee]=fe?po(L[Ee]):Cr(L[Ee]);if(jo(Oe,te))_(Oe,te,O,null,W,J,he,ue,fe);else break;ye--,Ee--}if(se>ye){if(se<=Ee){const Oe=Ee+1,te=OeEe)for(;se<=ye;)ze(M[se],W,J,!0),se++;else{const Oe=se,te=se,Me=new Map;for(se=te;se<=Ee;se++){const Ve=L[se]=fe?po(L[se]):Cr(L[se]);Ve.key!=null&&Me.set(Ve.key,se)}let ve,He=0;const ee=Ee-te+1;let pe=!1,we=0;const st=new Array(ee);for(se=0;se=ee){ze(Ve,W,J,!0);continue}let wt;if(Ve.key!=null)wt=Me.get(Ve.key);else for(ve=te;ve<=Ee;ve++)if(st[ve-te]===0&&jo(Ve,L[ve])){wt=ve;break}wt===void 0?ze(Ve,W,J,!0):(st[wt-te]=se+1,wt>=we?we=wt:pe=!0,_(Ve,L[wt],O,null,W,J,he,ue,fe),He++)}const Ze=pe?Iv(st):Oa;for(ve=Ze.length-1,se=ee-1;se>=0;se--){const Ve=te+se,wt=L[Ve],pt=Ve+1{const{el:J,type:he,transition:ue,children:fe,shapeFlag:se}=M;if(se&6){Ye(M.component.subTree,L,O,q);return}if(se&128){M.suspense.move(L,O,q);return}if(se&64){he.move(M,L,O,N);return}if(he===ke){r(J,L,O);for(let ye=0;yeue.enter(J),W);else{const{leave:ye,delayLeave:Ee,afterLeave:Oe}=ue,te=()=>r(J,L,O),Me=()=>{ye(J,()=>{te(),Oe&&Oe()})};Ee?Ee(J,te,Me):Me()}else r(J,L,O)},ze=(M,L,O,q=!1,W=!1)=>{const{type:J,props:he,ref:ue,children:fe,dynamicChildren:se,shapeFlag:Se,patchFlag:ye,dirs:Ee}=M;if(ue!=null&&V0(ue,null,O,M,!0),Se&256){L.ctx.deactivate(M);return}const Oe=Se&1&&Ee,te=!Y1(M);let Me;if(te&&(Me=he&&he.onVnodeBeforeUnmount)&&dr(Me,L,M),Se&6)Te(M.component,O,q);else{if(Se&128){M.suspense.unmount(O,q);return}Oe&&Ho(M,null,L,"beforeUnmount"),Se&64?M.type.remove(M,L,O,W,N,q):se&&(J!==ke||ye>0&&ye&64)?Ge(se,L,O,!1,!0):(J===ke&&ye&384||!W&&Se&16)&&Ge(fe,L,O),q&&de(M)}(te&&(Me=he&&he.onVnodeUnmounted)||Oe)&&yn(()=>{Me&&dr(Me,L,M),Oe&&Ho(M,null,L,"unmounted")},O)},de=M=>{const{type:L,el:O,anchor:q,transition:W}=M;if(L===ke){Ne(O,q);return}if(L===W1){k(M);return}const J=()=>{o(O),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(M.shapeFlag&1&&W&&!W.persisted){const{leave:he,delayLeave:ue}=W,fe=()=>he(O,J);ue?ue(M.el,J,fe):fe()}else J()},Ne=(M,L)=>{let O;for(;M!==L;)O=h(M),o(M),M=O;o(L)},Te=(M,L,O)=>{const{bum:q,scope:W,update:J,subTree:he,um:ue}=M;q&&ws(q),W.stop(),J&&(J.active=!1,ze(he,M,L,O)),ue&&yn(ue,L),yn(()=>{M.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&M.asyncDep&&!M.asyncResolved&&M.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},Ge=(M,L,O,q=!1,W=!1,J=0)=>{for(let he=J;heM.shapeFlag&6?Y(M.component.subTree):M.shapeFlag&128?M.suspense.next():h(M.anchor||M.el),z=(M,L,O)=>{M==null?L._vnode&&ze(L._vnode,null,null,!0):_(L._vnode||null,M,L,null,null,null,O),K3(),p8(),L._vnode=M},N={p:_,um:ze,m:Ye,r:de,mt:le,mc:F,pc:Ce,pbc:S,n:Y,o:e};let K,ae;return t&&([K,ae]=t(N)),{render:z,hydrate:K,createApp:Ev(z,K)}}function Oo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function I8(e,t,n=!1){const r=e.children,o=t.children;if(Ie(r)&&Ie(o))for(let a=0;a>1,e[n[s]]0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,i=n[a-1];a-- >0;)n[a]=i,i=t[i];return n}const Vv=e=>e.__isTeleport,ke=Symbol.for("v-fgt"),jl=Symbol.for("v-txt"),Bn=Symbol.for("v-cmt"),W1=Symbol.for("v-stc"),q1=[];let er=null;function m(e=!1){q1.push(er=e?null:[])}function Pv(){q1.pop(),er=q1[q1.length-1]||null}let bi=1;function i4(e){bi+=e}function V8(e){return e.dynamicChildren=bi>0?er||Oa:null,Pv(),bi>0&&er&&er.push(e),e}function x(e,t,n,r,o,a){return V8(p(e,t,n,r,o,a,!0))}function Q(e,t,n,r,o){return V8(V(e,t,n,r,o,!0))}function Gs(e){return e?e.__v_isVNode===!0:!1}function jo(e,t){return e.type===t.type&&e.key===t.key}const Gl="__vInternal",P8=({key:e})=>e??null,_s=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ot(e)||qt(e)||qe(e)?{i:Qt,r:e,k:t,f:!!n}:e:null);function p(e,t=null,n=null,r=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&&P8(t),ref:t&&_s(t),scopeId:Rl,slotScopeIds:null,children:n,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:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Qt};return s?(H7(l,n),a&128&&e.normalize(l)):n&&(l.shapeFlag|=Ot(n)?8:16),bi>0&&!i&&er&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&er.push(l),l}const V=Nv;function Nv(e,t=null,n=null,r=0,o=null,a=!1){if((!e||e===M8)&&(e=Bn),Gs(e)){const s=Wr(e,t,!0);return n&&H7(s,n),bi>0&&!a&&er&&(s.shapeFlag&6?er[er.indexOf(e)]=s:er.push(s)),s.patchFlag|=-2,s}if(Yv(e)&&(e=e.__vccOpts),t){t=Zv(t);let{class:s,style:l}=t;s&&!Ot(s)&&(t.class=X(s)),bt(l)&&(i8(l)&&!Ie(l)&&(l=Ht({},l)),t.style=yt(l))}const i=Ot(e)?1:av(e)?128:Vv(e)?64:bt(e)?4:qe(e)?2:0;return p(e,t,n,r,o,i,a,!0)}function Zv(e){return e?i8(e)||Gl in e?Ht({},e):e:null}function Wr(e,t,n=!1){const{props:r,ref:o,patchFlag:a,children:i}=e,s=t?We(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&P8(s),ref:t&&t.ref?n&&o?Ie(o)?o.concat(_s(t)):[o,_s(t)]:_s(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&&Wr(e.ssContent),ssFallback:e.ssFallback&&Wr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function y(e=" ",t=0){return V(jl,null,e,t)}function Oi(e,t){const n=V(W1,null,e);return n.staticCount=t,n}function P(e="",t=!1){return t?(m(),Q(Bn,null,e)):V(Bn,null,e)}function Cr(e){return e==null||typeof e=="boolean"?V(Bn):Ie(e)?V(ke,null,e.slice()):typeof e=="object"?po(e):V(jl,null,String(e))}function po(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wr(e)}function H7(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ie(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),H7(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Gl in t)?t._ctx=Qt:o===3&&Qt&&(Qt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else qe(t)?(t={default:t,_ctx:Qt},n=32):(t=String(t),r&64?(n=16,t=[y(t)]):n=8);e.children=t,e.shapeFlag|=n}function We(...e){const t={};for(let n=0;nzt||Qt;let O7,Ca,s4="__VUE_INSTANCE_SETTERS__";(Ca=S0()[s4])||(Ca=S0()[s4]=[]),Ca.push(e=>zt=e),O7=e=>{Ca.length>1?Ca.forEach(t=>t(e)):Ca[0](e)};const qa=e=>{O7(e),e.scope.on()},ta=()=>{zt&&zt.scope.off(),O7(null)};function N8(e){return e.vnode.shapeFlag&4}let wi=!1;function zv(e,t=!1){wi=t;const{props:n,children:r}=e.vnode,o=N8(e);Av(e,n,o,t),Tv(e,r);const a=o?Uv(e,t):void 0;return wi=!1,a}function Uv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=s8(new Proxy(e.ctx,bv));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?$8(e):null;qa(e),l1();const a=_o(r,e,0,[e.props,o]);if(c1(),ta(),Ru(a)){if(a.then(ta,ta),t)return a.then(i=>{l4(e,i,t)}).catch(i=>{Zl(i,e,0)});e.asyncDep=a}else l4(e,a,t)}else Z8(e,t)}function l4(e,t,n){qe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:bt(t)&&(e.setupState=d8(t)),Z8(e,n)}let c4;function Z8(e,t,n){const r=e.type;if(!e.render){if(!t&&c4&&!r.render){const o=r.template||T7(e).template;if(o){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,c=Ht(Ht({isCustomElement:a,delimiters:s},i),l);r.render=c4(o,c)}}e.render=r.render||tr}qa(e),l1(),wv(e),c1(),ta()}function jv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return kn(e,"get","$attrs"),t[n]}}))}function $8(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return jv(e)},slots:e.slots,emit:e.emit,expose:t}}function Yl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(d8(s8(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in K1)return K1[n](e)},has(t,n){return n in t||n in K1}}))}function Gv(e,t=!0){return qe(e)?e.displayName||e.name:e.name||t&&e.__name}function Yv(e){return qe(e)&&"__vccOpts"in e}const T=(e,t)=>Km(e,t,wi);function Le(e,t,n){const r=arguments.length;return r===2?bt(t)&&!Ie(t)?Gs(t)?V(e,null,[t]):V(e,t):V(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gs(n)&&(n=[n]),V(e,t,n))}const Kv=Symbol.for("v-scx"),Wv=()=>_n(Kv),qv="3.3.4",Qv="http://www.w3.org/2000/svg",Go=typeof document<"u"?document:null,u4=Go&&Go.createElement("template"),Xv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?Go.createElementNS(Qv,e):Go.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Go.createTextNode(e),createComment:e=>Go.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Go.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,a){const i=n?n.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===a||!(o=o.nextSibling)););else{u4.innerHTML=r?`${e}`:e;const s=u4.content;if(r){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Jv(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function eg(e,t,n){const r=e.style,o=Ot(n);if(n&&!o){if(t&&!Ot(t))for(const a in t)n[a]==null&&P0(r,a,"");for(const a in n)P0(r,a,n[a])}else{const a=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=a)}}const d4=/\s*!important$/;function P0(e,t,n){if(Ie(n))n.forEach(r=>P0(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=tg(e,t);d4.test(n)?e.setProperty(Lo(r),n.replace(d4,""),"important"):e[r]=n}}const h4=["Webkit","Moz","ms"],S2={};function tg(e,t){const n=S2[t];if(n)return n;let r=Mr(t);if(r!=="filter"&&r in e)return S2[t]=r;r=Pl(r);for(let o=0;oE2||(sg.then(()=>E2=0),E2=Date.now());function cg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;zn(ug(r,n.value),t,5,[r])};return n.value=e,n.attached=lg(),n}function ug(e,t){if(Ie(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const m4=/^on[a-z]/,dg=(e,t,n,r,o=!1,a,i,s,l)=>{t==="class"?Jv(e,r,o):t==="style"?eg(e,n,r):Ol(t)?v7(t)||ag(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):hg(e,t,r,o))?rg(e,t,r,a,i,s,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ng(e,t,r,o))};function hg(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&m4.test(t)&&qe(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||m4.test(t)&&Ot(n)?!1:t in e}function u1(e){const t=Ii();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>Z0(a,o))},r=()=>{const o=e(t.proxy);N0(t.subTree,o),n(o)};sv(r),ht(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),sr(()=>o.disconnect())})}function N0(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{N0(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Z0(e.el,t);else if(e.type===ke)e.children.forEach(n=>N0(n,t));else if(e.type===W1){let{el:n,anchor:r}=e;for(;n&&(Z0(n,t),n!==r);)n=n.nextSibling}}function Z0(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const oo="transition",E1="animation",aa=(e,{slots:t})=>Le(uv,F8(e),t);aa.displayName="Transition";const R8={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},fg=aa.props=Ht({},b8,R8),Io=(e,t=[])=>{Ie(e)?e.forEach(n=>n(...t)):e&&e(...t)},v4=e=>e?Ie(e)?e.some(t=>t.length>1):e.length>1:!1;function F8(e){const t={};for(const I in e)I in R8||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,v=pg(o),_=v&&v[0],C=v&&v[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:g,onLeave:k,onLeaveCancelled:B,onBeforeAppear:Z=b,onAppear:j=w,onAppearCancelled:F=g}=t,D=(I,U,le)=>{ho(I,U?u:s),ho(I,U?c:i),le&&le()},S=(I,U)=>{I._isLeaving=!1,ho(I,d),ho(I,f),ho(I,h),U&&U()},R=I=>(U,le)=>{const ie=I?j:w,ce=()=>D(U,I,le);Io(ie,[U,ce]),g4(()=>{ho(U,I?l:a),Vr(U,I?u:s),v4(ie)||C4(U,r,_,ce)})};return Ht(t,{onBeforeEnter(I){Io(b,[I]),Vr(I,a),Vr(I,i)},onBeforeAppear(I){Io(Z,[I]),Vr(I,l),Vr(I,c)},onEnter:R(!1),onAppear:R(!0),onLeave(I,U){I._isLeaving=!0;const le=()=>S(I,U);Vr(I,d),U8(),Vr(I,h),g4(()=>{I._isLeaving&&(ho(I,d),Vr(I,f),v4(k)||C4(I,r,C,le))}),Io(k,[I,le])},onEnterCancelled(I){D(I,!1),Io(g,[I])},onAppearCancelled(I){D(I,!0),Io(F,[I])},onLeaveCancelled(I){S(I),Io(B,[I])}})}function pg(e){if(e==null)return null;if(bt(e))return[A2(e.enter),A2(e.leave)];{const t=A2(e);return[t,t]}}function A2(e){return om(e)}function Vr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function ho(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function g4(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let mg=0;function C4(e,t,n,r){const o=e._endId=++mg,a=()=>{o===e._endId&&r()};if(n)return setTimeout(a,n);const{type:i,timeout:s,propCount:l}=z8(e,t);if(!i)return r();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,h),a()},h=f=>{f.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[v]||"").split(", "),o=r(`${oo}Delay`),a=r(`${oo}Duration`),i=y4(o,a),s=r(`${E1}Delay`),l=r(`${E1}Duration`),c=y4(s,l);let u=null,d=0,h=0;t===oo?i>0&&(u=oo,d=i,h=a.length):t===E1?c>0&&(u=E1,d=c,h=l.length):(d=Math.max(i,c),u=d>0?i>c?oo:E1:null,h=u?u===oo?a.length:l.length:0);const f=u===oo&&/\b(transform|all)(,|$)/.test(r(`${oo}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:f}}function y4(e,t){for(;e.lengthb4(n)+b4(e[r])))}function b4(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function U8(){return document.body.offsetHeight}const j8=new WeakMap,G8=new WeakMap,Y8={name:"TransitionGroup",props:Ht({},fg,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ii(),r=y8();let o,a;return k8(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!wg(o[0].el,n.vnode.el,i))return;o.forEach(Cg),o.forEach(yg);const s=o.filter(bg);U8(),s.forEach(l=>{const c=l.el,u=c.style;Vr(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const d=c._moveCb=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",d),c._moveCb=null,ho(c,i))};c.addEventListener("transitionend",d)})}),()=>{const i=rt(e),s=F8(i);let l=i.tag||ke;o=a,a=t.default?L7(t.default()):[];for(let c=0;cdelete e.mode;Y8.props;const gg=Y8;function Cg(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function yg(e){G8.set(e,e.el.getBoundingClientRect())}function bg(e){const t=j8.get(e),n=G8.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${r}px,${o}px)`,a.transitionDuration="0s",e}}function wg(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=z8(r);return o.removeChild(r),a}const w4=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ie(t)?n=>ws(t,n):t};function _g(e){e.target.composing=!0}function _4(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const kg={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=w4(o);const a=r||o.props&&o.props.type==="number";xa(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=x0(s)),e._assign(s)}),n&&xa(e,"change",()=>{e.value=e.value.trim()}),t||(xa(e,"compositionstart",_g),xa(e,"compositionend",_4),xa(e,"change",_4))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},a){if(e._assign=w4(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(o||e.type==="number")&&x0(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Mg=["ctrl","shift","alt","meta"],xg={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)=>Mg.some(n=>e[`${n}Key`]&&!t.includes(n))},Dt=(e,t)=>(n,...r)=>{for(let o=0;on=>{if(!("key"in n))return;const r=Lo(n.key);if(t.some(o=>o===r||Sg[o]===r))return e(n)},$0={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):A1(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),A1(e,!0),r.enter(e)):r.leave(e,()=>{A1(e,!1)}):A1(e,t))},beforeUnmount(e,{value:t}){A1(e,t)}};function A1(e,t){e.style.display=t?e._vod:"none"}const Eg=Ht({patchProp:dg},Xv);let k4;function Ag(){return k4||(k4=Hv(Eg))}const K8=(...e)=>{const t=Ag().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Lg(r);if(!o)return;const a=t._component;!qe(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function Lg(e){return Ot(e)?document.querySelector(e):e}function Dg(){return W8().__VUE_DEVTOOLS_GLOBAL_HOOK__}function W8(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Tg=typeof Proxy=="function",Bg="devtools-plugin:setup",Hg="plugin:settings:set";let ya,R0;function Og(){var e;return ya!==void 0||(typeof window<"u"&&window.performance?(ya=!0,R0=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(ya=!0,R0=global.perf_hooks.performance):ya=!1),ya}function Ig(){return Og()?R0.now():Date.now()}class Vg{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const s=t.settings[i];r[i]=s.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let a=Object.assign({},r);try{const i=localStorage.getItem(o),s=JSON.parse(i);Object.assign(a,s)}catch{}this.fallbacks={getSettings(){return a},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}a=i},now(){return Ig()}},n&&n.on(Hg,(i,s)=>{i===this.plugin.id&&this.fallbacks.setSettings(s)}),this.proxiedOn=new Proxy({},{get:(i,s)=>this.target?this.target.on[s]:(...l)=>{this.onQueue.push({method:s,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,s)=>this.target?this.target[s]:s==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(s)?(...l)=>(this.targetQueue.push({method:s,args:l,resolve:()=>{}}),this.fallbacks[s](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:s,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Pg(e,t){const n=e,r=W8(),o=Dg(),a=Tg&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))o.emit(Bg,e,t);else{const i=a?new Vg(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*! * vue-router v4.2.4 * (c) 2023 Eduardo San Martin Morote * @license MIT @@ -534,7 +534,7 @@ Kongponent Docs: https://kongponents.konghq.com/components/tooltip.html`)),()=>L Get started `)]),_:1})])])]),_:1})])):P("",!0)],64)):P("",!0)]),_:2},1032,["src"])):P("",!0)]),_:1}))}});const dee=Gt(uee,[["__scopeId","data-v-b6afaaa8"]]),hee=["data-testid"],fee=ne({__name:"AppNavItem",props:{name:{type:String,required:!0},routeName:{type:String,required:!0},anchorRouteName:{type:String,required:!1,default:""}},setup(e){const t=e,n=BJ(),r=ql(),o=T(()=>({name:t.routeName})),a=T(()=>!!(t.routeName===r.name||t.anchorRouteName!==""&&r.matched.some(l=>l.name===t.anchorRouteName)));function i(){n.info(ay.SIDEBAR_ITEM_CLICKED,{data:o.value})}return(s,l)=>{const c=jt("router-link");return m(),x("div",{class:X(["nav-item",{[`nav-item-${t.routeName}`]:t.routeName!==""}]),"data-testid":t.routeName||void 0},[V(c,{class:X(["nav-link",{"nav-link--is-active":a.value}]),to:o.value,onClick:i},{default:A(()=>[y(H(e.name),1)]),_:1},8,["class","to"])],10,hee)}}});const pee=Gt(fee,[["__scopeId","data-v-d031dd86"]]),mee={class:"app-sidebar-wrapper"},vee={class:"app-sidebar"},gee=ne({__name:"AppSidebar",setup(e){const t=DJ();return(n,r)=>(m(),x("div",mee,[p("aside",vee,[(m(!0),x(ke,null,Xe(E(t),(o,a)=>(m(),Q(pee,{key:a,name:o.name,"route-name":o.routeName,"anchor-route-name":o.anchorRouteName},null,8,["name","route-name","anchor-route-name"]))),128))])]))}});const Cee=Gt(gee,[["__scopeId","data-v-860dbcaf"]]),yee=""+new URL("product-logo-7a2ca341.png",import.meta.url).href,bee=["alt"],wee=ne({__name:"KumaLogo",setup(e){const{t}=Vt();return(n,r)=>(m(),x("img",{src:yee,alt:`${E(t)("common.product.name")} Logo`},null,8,bee))}});const _ee=Gt(wee,[["__scopeId","data-v-e4708f26"]]),kee=""+new URL("icon-location-on-642f061f.svg",import.meta.url).href,Mee=""+new URL("icon-circles-ext-6b19ab51.svg",import.meta.url).href,rf=""+new URL("icon-wifi-tethering-02725ea9.svg",import.meta.url).href,xee=["href"],See=ne({__name:"DocumentationLink",props:{href:{}},setup(e){const t=e,{t:n}=Vt();return(r,o)=>{const a=jt("KIcon");return m(),x("a",{class:"docs-link",href:t.href,target:"_blank"},[V(a,{icon:"book",color:"currentColor",size:E(D3),title:E(n)("common.documentation")},null,8,["size","title"]),y(),p("span",null,[$(r.$slots,"default",{},()=>[y(H(E(n)("common.documentation")),1)],!0)])],8,xee)}}});const Eee=Gt(See,[["__scopeId","data-v-56c271f5"]]),Aee=ne({__name:"EmptyBlock",setup(e){const{t}=Vt();return(n,r)=>(m(),Q(E(Ao),{"data-testid":"empty-state","cta-is-hidden":"",icon:E(t)("common.emptyState.icon"),"icon-size":"96"},nr({title:A(()=>[$(n.$slots,"title",{},()=>[p("p",null,[$(n.$slots,"default",{},()=>[y(H(E(t)("common.emptyState.title")),1)])])])]),_:2},[n.$slots.message?{name:"message",fn:A(()=>[$(n.$slots,"message")]),key:"0"}:void 0,n.$slots.cta?{name:"cta",fn:A(()=>[$(n.$slots,"cta")]),key:"1"}:void 0]),1032,["icon"]))}}),kr=50,lu=500,cu="Disabled",Vie="kuma.io/zone",Lee={key:0,class:"app-collection-toolbar"},uu=5,Dee=ne({__name:"AppCollection",props:{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(e,{emit:t}){const n=e,{t:r}=Vt(),o=xt(),a=G(n.items),i=G(0),s=G(0),l=G(n.pageNumber),c=T(()=>{const d=n.headers.filter(v=>["warnings","actions"].includes(v.key));if(d.length>4)return"initial";const h=100-d.length*uu,f=n.headers.length-d.length;return`calc(${h}% / ${f})`});De(()=>n.items,(d,h)=>{d!==h&&(i.value++,a.value=n.items)}),De(()=>n.pageNumber,function(){n.pageNumber!==l.value&&s.value++});const u=d=>{const h=d.target.closest("tr");if(h){const f=h.querySelector("a");f!==null&&f.click()}};return(d,h)=>{var f;return m(),Q(E(Rh),{key:s.value,class:"app-collection",style:yt(`--column-width: ${c.value}; --special-column-width: ${uu}%;`),"has-error":typeof n.error<"u","pagination-total-items":n.total,"initial-fetcher-params":{page:n.pageNumber,pageSize:n.pageSize??E(kr)},headers:n.headers,"fetcher-cache-key":String(i.value),fetcher:({page:v,pageSize:_,query:C})=>(l.value=v,t("change",{page:v,size:_,s:C}),{data:a.value}),"cell-attrs":({headerKey:v})=>({class:`${v}-column`}),"disable-sorting":"","hide-pagination-when-optional":"","onRow:click":u},nr({_:2},[((f=n.items)==null?void 0:f.length)===0?{name:"empty-state",fn:A(()=>[V(Aee,null,nr({default:A(()=>[y(H(n.emptyStateTitle??E(r)("common.emptyState.title"))+" ",1),y()]),_:2},[n.emptyStateMessage?{name:"message",fn:A(()=>[y(H(n.emptyStateMessage),1)]),key:"0"}:void 0,n.emptyStateCtaTo?{name:"cta",fn:A(()=>[typeof n.emptyStateCtaTo=="string"?(m(),Q(Eee,{key:0,href:n.emptyStateCtaTo},{default:A(()=>[y(H(n.emptyStateCtaText),1)]),_:1},8,["href"])):(m(),Q(E(Ue),{key:1,appearance:"primary",icon:"plus",to:n.emptyStateCtaTo},{default:A(()=>[y(H(n.emptyStateCtaText),1)]),_:1},8,["to"]))]),key:"1"}:void 0]),1024)]),key:"0"}:void 0,Xe(Object.keys(E(o)),v=>({name:v,fn:A(({row:_,rowValue:C})=>[v==="toolbar"?(m(),x("div",Lee,[$(d.$slots,"toolbar",{},void 0,!0)])):$(d.$slots,v,{key:1,row:_,rowValue:C},void 0,!0)])}))]),1032,["style","has-error","pagination-total-items","initial-fetcher-params","headers","fetcher-cache-key","fetcher","cell-attrs"])}}});const of=Gt(Dee,[["__scopeId","data-v-2dfce7a5"]]),Tee=ne({__name:"MeshesDetails",props:{meshInsights:{type:Array,required:!0}},setup(e){const t=e,{t:n}=Vt(),r=T(()=>t.meshInsights.map(o=>{const{name:a,services:i,dataplanesByType:s}=o;return{name:a,services:i.total??0,dataPlaneProxies:s.standard.total??0}}));return(o,a)=>{const i=jt("RouterLink");return m(),Q(of,{class:"mesh-preview-collection","data-testid":"mesh-preview-collection",headers:[{label:E(n)("main-overview.detail.meshes.table.name"),key:"name"},{label:E(n)("main-overview.detail.meshes.table.services"),key:"services"},{label:E(n)("main-overview.detail.meshes.table.data_plane_proxies"),key:"dataPlaneProxies"}],items:r.value,total:r.value.length,"empty-state-message":E(n)("common.emptyState.message",{type:"Meshes"}),"empty-state-cta-to":E(n)("meshes.href.docs"),"empty-state-cta-text":E(n)("common.documentation")},{name:A(({rowValue:s})=>[V(i,{to:{name:"mesh-detail-view",params:{mesh:s}}},{default:A(()=>[y(H(s),1)]),_:2},1032,["to"])]),_:1},8,["headers","items","total","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}}),Bee=ne({__name:"StatusBadge",props:{status:{type:String,required:!0}},setup(e){const t=e,n=Vt(),r={online:"success",offline:"danger",partially_degraded:"warning",not_available:"neutral",disabled:"neutral"};return(o,a)=>(m(),Q(E(Fn),{class:"status",appearance:r[t.status],"data-testid":"status-badge"},{default:A(()=>[y(H(E(n).t(`http.api.value.${t.status}`)),1)]),_:1},8,["appearance"]))}});const Hee=Gt(Bee,[["__scopeId","data-v-914b11e9"]]);function Oee(e){var r,o;if(e.zone.enabled===!1)return"disabled";const t=((r=e.zoneInsight)==null?void 0:r.subscriptions)??[];if(t.length===0)return"offline";const n=t[t.length-1];return(o=n.connectTime)!=null&&o.length&&!n.disconnectTime?"online":"offline"}const Iee=ne({__name:"ZoneControlPlanesDetails",props:{zoneOverviews:{type:Array,required:!0}},setup(e){const t=e,{t:n}=Vt(),r=C2(),o=T(()=>t.zoneOverviews.map(a=>{const{name:i}=a,s=Oee(a);return{name:i,status:s}}));return(a,i)=>{const s=jt("RouterLink");return m(),Q(of,{class:"zone-cp-preview-collection","data-testid":"zone-cp-preview-collection",headers:[{label:E(n)("main-overview.detail.zone_control_planes.table.name"),key:"name"},{label:E(n)("main-overview.detail.zone_control_planes.table.status"),key:"status"}],items:o.value,total:o.value.length,"empty-state-title":E(n)("zone-cps.empty_state.title"),"empty-state-message":E(r)("KUMA_ZONE_CREATION_FLOW")==="enabled"?E(n)("zone-cps.empty_state.message"):E(n)("common.emptyState.message",{type:"Zones"}),"empty-state-cta-to":E(r)("KUMA_ZONE_CREATION_FLOW")==="enabled"?{name:"zone-create-view"}:void 0,"empty-state-cta-text":E(n)("zones.index.create")},{name:A(({rowValue:l})=>[V(s,{to:{name:"zone-cp-detail-view",params:{zone:l}}},{default:A(()=>[y(H(l),1)]),_:2},1032,["to"])]),status:A(({rowValue:l})=>[l?(m(),Q(Hee,{key:0,status:l},null,8,["status"])):(m(),x(ke,{key:1},[y(H(E(n)("common.collection.none")),1)],64))]),_:1},8,["headers","items","total","empty-state-title","empty-state-message","empty-state-cta-to","empty-state-cta-text"])}}});const Vee={},Pee={class:"definition-card"},Nee={class:"definition-card-title"},Zee={class:"definition-card-container"};function $ee(e,t){return m(),x("div",Pee,[p("div",Nee,[$(e.$slots,"icon",{},void 0,!0),y(),$(e.$slots,"title",{},void 0,!0)]),y(),p("div",Zee,[$(e.$slots,"body",{},void 0,!0)])])}const Hs=Gt(Vee,[["render",$ee],["__scopeId","data-v-d55dbf1c"]]),Ree={key:0},Fee={key:1,class:"status-separator"},zee={class:"status-total"},Uee=ne({__name:"ResourceStatus",props:{total:{type:Number,required:!0},online:{type:Number,default:null}},setup(e){const t=e;return(n,r)=>(m(),Q(Hs,null,nr({title:A(()=>[$(n.$slots,"title",{},void 0,!0)]),body:A(()=>[t.online!==null?(m(),x("span",Ree,H(t.online),1)):P("",!0),t.online!==null?(m(),x("span",Fee,"/")):P("",!0),p("span",zee,H(t.total),1)]),_:2},[n.$slots.icon?{name:"icon",fn:A(()=>[$(n.$slots,"icon",{},void 0,!0)]),key:"0"}:void 0]),1024))}});const qo=Gt(Uee,[["__scopeId","data-v-4af3bbd9"]]),e7=(e={},t={})=>{const n=e.online||0,r=t.online||0,o=e.partiallyDegraded||0,a=t.partiallyDegraded||0,i=e.total||0,s=t.total||0;return{online:n+r,partiallyDegraded:o+a,total:i+s}},jee=(e={},t={})=>{const n=e.total??0,r=t.total??0,o=n+r,a=e.internal??0,i=t.internal??0,s=a+i,l=e.external??0,c=t.external??0,u=l+c;return{total:o,internal:s,external:u}},Gee=(e={},t={})=>Object.entries(t).reduce((n,[r,o])=>{const a=n[r]?n[r].total:0;return{...n,[r]:{total:a+o.total}}},e),du=(e={},t={})=>Object.entries(t).reduce((n,[r,o])=>({...n,[r]:e7(n[r],o)}),e),Yee=(e={kumaDp:{},envoy:{}},t={kumaDp:{},envoy:{}})=>({kumaDp:du(e.kumaDp,t.kumaDp),envoy:du(e.envoy,t.envoy)});function Kee(e){return e.reduce((t,n)=>({meshesTotal:e.length,dataPlaneProxies:e7(t.dataPlaneProxies,n.dataplanesByType.standard),gateways:e7(t.gateways,n.dataplanesByType.gateway),policies:Gee(t.policies,n.policies),dpVersions:Yee(t.dpVersions,n.dpVersions),services:jee(t.services,n.services)}),{meshesTotal:0,dataPlaneProxies:{online:0,partiallyDegraded:0,total:0},gateways:{online:0,partiallyDegraded:0,total:0},policies:{},dpVersions:{kumaDp:{},envoy:{}},services:{total:0,internal:0,external:0}})}const y2=e=>(fn("data-v-7eb37f01"),e=e(),pn(),e),Wee={class:"stack"},qee={class:"card-header"},Qee={class:"card-title"},Xee={class:"columns",style:{"--columns":"4"}},Jee=y2(()=>p("img",{src:kee},null,-1)),ete=y2(()=>p("img",{src:Mee},null,-1)),tte=y2(()=>p("img",{src:rf},null,-1)),nte=y2(()=>p("img",{src:rf},null,-1)),rte={class:"columns",style:{"--columns":"2"}},ote={class:"card-header"},ate={class:"card-title"},ite={key:0,class:"card-actions"},ste={class:"card-header"},lte={class:"card-title"},cte=ne({__name:"ControlPlaneDetails",props:{meshInsights:{type:Array,default:()=>[]},zoneOverviews:{type:Array,default:()=>[]}},setup(e){const t=e,{t:n}=Vt(),r=T3(),o=T(()=>Kee(t.meshInsights));return(a,i)=>{const s=jt("RouterLink"),l=jt("KButton");return m(),x("div",Wee,[V(E(na),null,{body:A(()=>[p("div",qee,[p("div",Qee,[p("h2",null,H(E(n)("main-overview.detail.health.title")),1)])]),y(),p("div",Xee,[V(qo,{total:E(r)("use zones")?t.zoneOverviews.length:1,"data-testid":"zone-control-planes-status"},{icon:A(()=>[Jee]),title:A(()=>[y(H(E(n)("main-overview.detail.health.zone_control_planes")),1)]),_:1},8,["total"]),y(),V(qo,{total:o.value.meshesTotal,"data-testid":"meshes-status"},{icon:A(()=>[ete]),title:A(()=>[y(H(E(n)("main-overview.detail.health.meshes")),1)]),_:1},8,["total"]),y(),V(qo,{total:o.value.services.total,"data-testid":"services-status"},{icon:A(()=>[tte]),title:A(()=>[y(H(E(n)("main-overview.detail.health.services")),1)]),_:1},8,["total"]),y(),V(qo,{total:o.value.dataPlaneProxies.total,"data-testid":"data-plane-proxies-status"},{icon:A(()=>[nte]),title:A(()=>[y(H(E(n)("main-overview.detail.health.data_plane_proxies")),1)]),_:1},8,["total"])])]),_:1}),y(),p("div",rte,[E(r)("use zones")?(m(),Q(E(na),{key:0},{body:A(()=>[p("div",ote,[p("div",ate,[p("h2",null,H(E(n)("main-overview.detail.zone_control_planes.title")),1),y(),V(s,{to:{name:"zone-cp-list-view"}},{default:A(()=>[y(H(E(n)("main-overview.detail.health.view_all")),1)]),_:1})]),y(),E(r)("create zones")&&t.zoneOverviews.length>0?(m(),x("div",ite,[V(l,{appearance:"primary",icon:"plus",to:{name:"zone-create-view"}},{default:A(()=>[y(H(E(n)("zones.index.create")),1)]),_:1})])):P("",!0)]),y(),V(Iee,{"data-testid":"zone-control-planes-details","zone-overviews":t.zoneOverviews.slice(0,10)},null,8,["zone-overviews"])]),_:1})):P("",!0),y(),V(E(na),null,{body:A(()=>[p("div",ste,[p("div",lte,[p("h2",null,H(E(n)("main-overview.detail.meshes.title")),1),y(),V(s,{to:{name:"mesh-list-view"}},{default:A(()=>[y(H(E(n)("main-overview.detail.health.view_all")),1)]),_:1})])]),y(),V(Tee,{"data-testid":"meshes-details","mesh-insights":t.meshInsights.slice(0,10)},null,8,["mesh-insights"])]),_:1})])])}}});const ute=Gt(cte,[["__scopeId","data-v-7eb37f01"]]),dte={class:"visually-hidden"},hte={inheritAttrs:!1},fte=ne({...hte,__name:"CopyButton",props:{text:{type:String,required:!1,default:""},getText:{type:Function,required:!1,default:null},copyText:{type:String,required:!1,default:"Copy"},tooltipSuccessText:{type:String,required:!1,default:"Copied code!"},tooltipFailText:{type:String,required:!1,default:"Failed to copy!"},hasBorder:{type:Boolean,default:!1},hideTitle:{type:Boolean,default:!1}},setup(e){const t=e;async function n(r,o){const a=r.currentTarget;let i=!1;try{const s=t.getText?await t.getText():t.text;i=await o(s)}catch{i=!1}finally{const s=i?t.tooltipSuccessText:t.tooltipFailText;a instanceof HTMLButtonElement&&(a.setAttribute("data-tooltip-copy-success",String(i)),a.setAttribute("data-tooltip-text",s),window.setTimeout(function(){a instanceof HTMLButtonElement&&a.removeAttribute("data-tooltip-text")},1500))}}return(r,o)=>(m(),Q(E(g9),null,{default:A(({copyToClipboard:a})=>[V(E(Ue),We(r.$attrs,{appearance:"outline",class:["copy-button",{"non-visual-button":!t.hasBorder}],"data-testid":"copy-button","is-rounded":!1,size:"small",title:t.hideTitle?void 0:t.copyText,type:"button",onClick:i=>n(i,a)}),{default:A(()=>[V(E(Ae),{color:"currentColor",icon:"copy",size:E(D3),title:t.hideTitle?void 0:t.copyText,"hide-title":t.hideTitle},null,8,["size","title","hide-title"]),y(),$(r.$slots,"default",{},()=>[p("span",dte,H(t.copyText),1)],!0)]),_:2},1040,["class","title","onClick"])]),_:3}))}});const pte=Gt(fte,[["__scopeId","data-v-ccab109b"]]),mte={class:"copy-button-wrapper"},vte={class:"text"},gte=ne({__name:"TextWithCopyButton",props:{text:{type:String,required:!0}},setup(e){const t=e,n=Vt();return(r,o)=>(m(),x("div",mte,[p("span",vte,[$(r.$slots,"default",{},()=>[y(H(t.text),1)],!0)]),y(),V(pte,{text:t.text,"copy-text":E(n).t("common.copyText"),"tooltip-success-text":E(n).t("common.copySuccessText")},null,8,["text","copy-text","tooltip-success-text"])]))}});const Cte=Gt(gte,[["__scopeId","data-v-d9bd773a"]]),yte=ne({__name:"WarningIcon",props:{size:{default:"64"},hideTitle:{type:Boolean,default:!1}},setup(e){const t=e;return(n,r)=>(m(),Q(E(Ae),{icon:"warning",color:"#0b172d","secondary-color":"#ffd68c",size:t.size,"hide-title":t.hideTitle},null,8,["size","hide-title"]))}});class Os extends Error{constructor({status:n,type:r=null,title:o,detail:a=null,instance:i=null,invalidParameters:s=[]}){super(o);lt(this,"status");lt(this,"type");lt(this,"title");lt(this,"detail");lt(this,"instance");lt(this,"invalidParameters");this.name="ApiError",this.status=n,this.type=r,this.title=o,this.detail=a,this.instance=i,this.invalidParameters=s}toJSON(){return{status:this.status,type:this.type,title:this.title,detail:this.detail,instance:this.instance,invalidParameters:this.invalidParameters}}}const bte={"data-testid":"error-state",class:"error-block"},wte={key:1},_te={key:2,class:"error-block-details","data-testid":"error-invalid-parameters"},kte={key:0,class:"badge-list"},Mte=ne({__name:"ErrorBlock",props:{error:{type:Error,required:!0},icon:{type:String,required:!1,default:"warning"},badgeAppearance:{type:String,required:!1,default:"warning"}},setup(e){const t=e,{t:n}=Vt(),r=T(()=>t.error instanceof Os?t.error.invalidParameters:[]);return(o,a)=>(m(),x("div",bte,[V(E(Ao),{"cta-is-hidden":""},{title:A(()=>[t.icon==="warning"?(m(),Q(yte,{key:0,class:"mb-3",size:E(J6)},null,8,["size"])):(m(),Q(E(Ae),{key:1,class:"mb-3",icon:t.icon,size:E(J6)},null,8,["icon","size"])),y(),$(o.$slots,"default",{},()=>[p("p",null,H(e.error instanceof E(Os)?e.error.detail:E(n)("common.error_state.title")),1)],!0)]),message:A(()=>[o.$slots.message?$(o.$slots,"message",{key:0},void 0,!0):(m(),x("p",wte,H(e.error.message),1)),y(),r.value.length>0?(m(),x("details",_te,[p("summary",null,H(E(n)("common.error_state.details")),1),y(),p("ul",null,[(m(!0),x(ke,null,Xe(r.value,(i,s)=>(m(),x("li",{key:s},[y(H(E(n)("common.error_state.field"))+" ",1),p("b",null,[p("code",null,H(i.field),1)]),y(": "+H(i.reason),1)]))),128))])])):P("",!0)]),_:3}),y(),e.error instanceof E(Os)?(m(),x("div",kte,[V(E(Fn),{appearance:t.badgeAppearance,"data-testid":"error-status"},{default:A(()=>[y(H(e.error.status),1)]),_:1},8,["appearance"]),y(),e.error.type?(m(),Q(E(Fn),{key:0,appearance:"neutral","data-testid":"error-type"},{default:A(()=>[y(` type: `+H(e.error.type),1)]),_:1})):P("",!0),y(),e.error.instance?(m(),Q(E(Fn),{key:1,appearance:"neutral","data-testid":"error-trace"},{default:A(()=>[y(` - trace: `),V(Cte,{text:e.error.instance},null,8,["text"])]),_:1})):P("",!0)])):P("",!0)]))}});const hu=Gt(Mte,[["__scopeId","data-v-964f2b84"]]),xte=p("p",null,"Loading data …",-1),Ste=ne({__name:"LoadingBlock",setup(e){return(t,n)=>(m(),Q(E(Ao),{"cta-is-hidden":"","data-testid":"loading-block"},{title:A(()=>[V(E(Ae),{class:"mb-3",icon:"spinner",color:"rgba(0, 0, 0, 0.1)",size:E(J6)},null,8,["size"]),y(),$(t.$slots,"default",{},()=>[xte])]),_:3}))}}),Ete=ne({__name:"MainOverview",setup(e){const t=T3();return(n,r)=>(m(),Q(Li,{src:"/all-mesh-insights"},{default:A(({data:o,error:a})=>[V(Li,{src:E(t)("use zones")?"/all-zone-overviews":""},{default:A(({data:i,error:s})=>[a?(m(),Q(hu,{key:0,error:a},null,8,["error"])):s?(m(),Q(hu,{key:1,error:s},null,8,["error"])):o===void 0||E(t)("use zones")&&i===void 0?(m(),Q(Ste,{key:2})):(m(),Q(ute,{key:3,"data-testid":"detail-view-details","mesh-insights":o.items,"zone-overviews":(i==null?void 0:i.items)??[]},null,8,["mesh-insights","zone-overviews"]))]),_:2},1032,["src"])]),_:1}))}}),Ate={class:"stack"},Lte={class:"columns",style:{"--columns":"3"}},Dte={class:"columns",style:{"--columns":"3"}},Tte=ne({__name:"MeshDetails",props:{mesh:{type:Object,required:!0},meshInsight:{type:Object,required:!0}},setup(e){const t=e,{t:n}=Vt(),r=T(()=>i(t.mesh.mtls)),o=T(()=>i(t.mesh.metrics)),a=T(()=>Object.values(t.meshInsight.policies??{}).reduce((s,l)=>s+l.total,0));function i(s){if(s!=null&&s.enabledBackend&&Array.isArray(s.backends)){const l=s.backends.find(c=>c.name===s.enabledBackend);if(l!==void 0)return`${l.type} / ${l.name}`}return""}return(s,l)=>(m(),Q(E(na),null,{body:A(()=>[p("div",Ate,[p("div",Lte,[V(qo,{total:t.meshInsight.services.total??0,"data-testid":"services-status"},{title:A(()=>[y(H(E(n)("meshes.detail.services")),1)]),_:1},8,["total"]),y(),V(qo,{total:t.meshInsight.dataplanesByType.standard.total??0,"data-testid":"data-plane-proxies-status"},{title:A(()=>[y(H(E(n)("meshes.detail.data_plane_proxies")),1)]),_:1},8,["total"]),y(),V(qo,{total:a.value,"data-testid":"policies-status"},{title:A(()=>[y(H(E(n)("meshes.detail.policies")),1)]),_:1},8,["total"])]),y(),p("div",Dte,[V(Hs,null,{title:A(()=>[y(H(E(n)("http.api.property.mtls")),1)]),body:A(()=>[r.value===""?(m(),Q(E(Fn),{key:0,appearance:"neutral"},{default:A(()=>[y(H(E(n)("meshes.detail.disabled")),1)]),_:1})):(m(),x(ke,{key:1},[y(H(r.value),1)],64))]),_:1}),y(),V(Hs,null,{title:A(()=>[y(H(E(n)("http.api.property.metrics")),1)]),body:A(()=>[o.value===""?(m(),Q(E(Fn),{key:0,appearance:"neutral"},{default:A(()=>[y(H(E(n)("meshes.detail.disabled")),1)]),_:1})):(m(),x(ke,{key:1},[y(H(o.value),1)],64))]),_:1}),y(),V(Hs,null,{title:A(()=>[y(H(E(n)("http.api.property.zoneEgress")),1)]),body:A(()=>[V(E(Fn),{appearance:"neutral"},{default:A(()=>{var c;return[y(H(E(n)(`meshes.detail.${(c=t.mesh.routing)!=null&&c.zoneEgress?"enabled":"disabled"}`)),1)]}),_:1})]),_:1})])])]),_:1}))}}),Bte={width:"794",height:"181",viewBox:"0 0 794 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Hte=p("path",{d:"M664.743 139.274L663.48 140.633V144H661.052V132.216H663.48V137.558L664.548 136.093L667.551 132.216H670.537L666.353 137.453L670.659 144H667.769L664.743 139.274ZM677.745 143.11C677.167 143.811 676.369 144.162 675.349 144.162C674.41 144.162 673.693 143.892 673.196 143.353C672.705 142.813 672.454 142.023 672.444 140.981V135.243H674.782V140.9C674.782 141.812 675.198 142.268 676.029 142.268C676.822 142.268 677.367 141.993 677.664 141.443V135.243H680.011V144H677.809L677.745 143.11ZM690.941 139.703C690.941 141.105 690.641 142.201 690.042 142.988C689.443 143.771 688.607 144.162 687.533 144.162C686.584 144.162 685.826 143.798 685.259 143.069L685.154 144H683.05V131.569H685.389V136.028C685.928 135.397 686.638 135.081 687.517 135.081C688.586 135.081 689.422 135.475 690.026 136.263C690.636 137.045 690.941 138.149 690.941 139.573V139.703ZM688.602 139.533C688.602 138.648 688.461 138.003 688.181 137.598C687.9 137.188 687.482 136.983 686.926 136.983C686.182 136.983 685.669 137.288 685.389 137.898V141.354C685.675 141.969 686.193 142.276 686.943 142.276C687.698 142.276 688.194 141.904 688.432 141.159C688.545 140.803 688.602 140.261 688.602 139.533ZM697.695 144.162C696.411 144.162 695.364 143.768 694.555 142.98C693.751 142.193 693.349 141.143 693.349 139.832V139.605C693.349 138.726 693.519 137.941 693.859 137.25C694.198 136.554 694.679 136.02 695.299 135.648C695.925 135.27 696.637 135.081 697.436 135.081C698.634 135.081 699.575 135.459 700.26 136.214C700.951 136.97 701.296 138.041 701.296 139.427V140.382H695.72C695.796 140.954 696.022 141.413 696.4 141.758C696.783 142.104 697.266 142.276 697.848 142.276C698.75 142.276 699.454 141.95 699.961 141.297L701.11 142.584C700.759 143.08 700.285 143.469 699.686 143.749C699.087 144.024 698.423 144.162 697.695 144.162ZM697.428 136.975C696.964 136.975 696.586 137.132 696.295 137.445C696.009 137.758 695.825 138.205 695.744 138.788H698.998V138.602C698.987 138.084 698.847 137.685 698.577 137.404C698.307 137.118 697.924 136.975 697.428 136.975ZM708.827 137.436C708.509 137.393 708.228 137.372 707.985 137.372C707.101 137.372 706.521 137.671 706.245 138.27V144H703.906V135.243H706.116L706.181 136.287C706.65 135.483 707.3 135.081 708.131 135.081C708.39 135.081 708.633 135.116 708.859 135.187L708.827 137.436ZM713.388 135.243L713.461 136.255C714.087 135.473 714.926 135.081 715.978 135.081C716.906 135.081 717.596 135.354 718.05 135.899C718.503 136.444 718.735 137.258 718.746 138.343V144H716.407V138.4C716.407 137.903 716.299 137.544 716.083 137.323C715.867 137.097 715.508 136.983 715.007 136.983C714.348 136.983 713.855 137.264 713.525 137.825V144H711.187V135.243H713.388ZM725.831 144.162C724.547 144.162 723.501 143.768 722.691 142.98C721.887 142.193 721.485 141.143 721.485 139.832V139.605C721.485 138.726 721.655 137.941 721.995 137.25C722.335 136.554 722.815 136.02 723.436 135.648C724.062 135.27 724.774 135.081 725.572 135.081C726.77 135.081 727.712 135.459 728.397 136.214C729.088 136.97 729.433 138.041 729.433 139.427V140.382H723.857C723.932 140.954 724.159 141.413 724.536 141.758C724.92 142.104 725.402 142.276 725.985 142.276C726.886 142.276 727.59 141.95 728.097 141.297L729.247 142.584C728.896 143.08 728.421 143.469 727.822 143.749C727.223 144.024 726.56 144.162 725.831 144.162ZM725.564 136.975C725.1 136.975 724.723 137.132 724.431 137.445C724.145 137.758 723.962 138.205 723.881 138.788H727.134V138.602C727.124 138.084 726.983 137.685 726.714 137.404C726.444 137.118 726.061 136.975 725.564 136.975ZM734.843 133.09V135.243H736.341V136.959H734.843V141.329C734.843 141.653 734.905 141.885 735.03 142.025C735.154 142.166 735.391 142.236 735.742 142.236C736.001 142.236 736.23 142.217 736.43 142.179V143.951C735.971 144.092 735.499 144.162 735.013 144.162C733.373 144.162 732.537 143.334 732.504 141.677V136.959H731.226V135.243H732.504V133.09H734.843ZM742.949 144.162C741.665 144.162 740.618 143.768 739.809 142.98C739.005 142.193 738.603 141.143 738.603 139.832V139.605C738.603 138.726 738.773 137.941 739.113 137.25C739.453 136.554 739.933 136.02 740.553 135.648C741.179 135.27 741.891 135.081 742.69 135.081C743.888 135.081 744.829 135.459 745.514 136.214C746.205 136.97 746.55 138.041 746.55 139.427V140.382H740.974C741.05 140.954 741.276 141.413 741.654 141.758C742.037 142.104 742.52 142.276 743.103 142.276C744.004 142.276 744.708 141.95 745.215 141.297L746.364 142.584C746.014 143.08 745.539 143.469 744.94 143.749C744.341 144.024 743.677 144.162 742.949 144.162ZM742.682 136.975C742.218 136.975 741.84 137.132 741.549 137.445C741.263 137.758 741.079 138.205 740.999 138.788H744.252V138.602C744.241 138.084 744.101 137.685 743.831 137.404C743.561 137.118 743.178 136.975 742.682 136.975ZM753.903 141.58C753.903 141.294 753.76 141.07 753.474 140.908C753.194 140.741 752.741 140.593 752.115 140.463C750.032 140.026 748.991 139.141 748.991 137.809C748.991 137.032 749.312 136.384 749.954 135.866C750.601 135.343 751.446 135.081 752.487 135.081C753.598 135.081 754.486 135.343 755.15 135.866C755.819 136.39 756.153 137.07 756.153 137.906H753.814C753.814 137.571 753.706 137.296 753.491 137.08C753.275 136.859 752.938 136.749 752.479 136.749C752.085 136.749 751.78 136.838 751.564 137.016C751.349 137.194 751.241 137.42 751.241 137.695C751.241 137.954 751.362 138.165 751.605 138.327C751.853 138.483 752.268 138.621 752.851 138.739C753.434 138.853 753.925 138.982 754.324 139.128C755.56 139.581 756.177 140.366 756.177 141.483C756.177 142.282 755.835 142.929 755.15 143.425C754.464 143.916 753.58 144.162 752.495 144.162C751.761 144.162 751.108 144.032 750.537 143.773C749.97 143.509 749.525 143.15 749.201 142.697C748.877 142.238 748.716 141.745 748.716 141.216H750.933C750.955 141.631 751.108 141.95 751.394 142.171C751.68 142.392 752.063 142.503 752.544 142.503C752.991 142.503 753.329 142.419 753.555 142.252C753.787 142.079 753.903 141.855 753.903 141.58Z",fill:"black"},null,-1),Ote=p("path",{d:"M667.908 163.554H662.972L661.863 166.63H660.26L664.76 154.846H666.12L670.628 166.63H669.033L667.908 163.554ZM663.441 162.276H667.447L665.44 156.764L663.441 162.276ZM673.768 162.017V166.63H672.214V154.846H676.56C677.849 154.846 678.858 155.175 679.587 155.833C680.321 156.492 680.687 157.363 680.687 158.447C680.687 159.591 680.329 160.473 679.611 161.094C678.899 161.709 677.876 162.017 676.544 162.017H673.768ZM673.768 160.746H676.56C677.391 160.746 678.027 160.552 678.47 160.163C678.912 159.769 679.134 159.203 679.134 158.464C679.134 157.762 678.912 157.201 678.47 156.78C678.027 156.359 677.42 156.141 676.649 156.125H673.768V160.746ZM684.337 166.63H682.784V154.846H684.337V166.63ZM694.769 161.377C693.437 160.994 692.466 160.525 691.856 159.969C691.252 159.408 690.949 158.717 690.949 157.897C690.949 156.969 691.319 156.203 692.058 155.599C692.803 154.989 693.769 154.684 694.956 154.684C695.765 154.684 696.485 154.841 697.116 155.154C697.753 155.467 698.244 155.898 698.589 156.448C698.94 156.999 699.115 157.6 699.115 158.253H697.553C697.553 157.541 697.327 156.983 696.874 156.578C696.42 156.168 695.781 155.963 694.956 155.963C694.189 155.963 693.591 156.133 693.159 156.473C692.733 156.807 692.52 157.274 692.52 157.873C692.52 158.353 692.722 158.76 693.127 159.095C693.537 159.424 694.23 159.726 695.206 160.001C696.188 160.277 696.955 160.581 697.505 160.916C698.061 161.245 698.471 161.631 698.735 162.073C699.005 162.516 699.14 163.036 699.14 163.635C699.14 164.59 698.767 165.356 698.023 165.934C697.278 166.506 696.283 166.792 695.037 166.792C694.227 166.792 693.472 166.638 692.77 166.33C692.069 166.017 691.527 165.591 691.144 165.051C690.766 164.512 690.577 163.9 690.577 163.214H692.139C692.139 163.927 692.401 164.49 692.924 164.906C693.453 165.316 694.157 165.521 695.037 165.521C695.857 165.521 696.485 165.354 696.922 165.019C697.359 164.685 697.578 164.229 697.578 163.651C697.578 163.074 697.375 162.629 696.971 162.316C696.566 161.998 695.832 161.685 694.769 161.377ZM704.538 166.792C703.351 166.792 702.385 166.403 701.64 165.626C700.896 164.844 700.524 163.8 700.524 162.494V162.219C700.524 161.35 700.688 160.576 701.017 159.896C701.352 159.211 701.816 158.677 702.409 158.294C703.008 157.905 703.656 157.711 704.352 157.711C705.49 157.711 706.375 158.086 707.006 158.836C707.637 159.586 707.953 160.66 707.953 162.057V162.68H702.021C702.042 163.543 702.293 164.242 702.774 164.776C703.259 165.305 703.874 165.569 704.619 165.569C705.148 165.569 705.595 165.462 705.962 165.246C706.329 165.03 706.65 164.744 706.925 164.388L707.84 165.1C707.106 166.228 706.005 166.792 704.538 166.792ZM704.352 158.941C703.747 158.941 703.24 159.162 702.83 159.605C702.42 160.042 702.167 160.657 702.069 161.45H706.456V161.337C706.413 160.576 706.208 159.988 705.841 159.572C705.474 159.152 704.978 158.941 704.352 158.941ZM713.926 159.216C713.699 159.179 713.454 159.16 713.189 159.16C712.207 159.16 711.541 159.578 711.19 160.414V166.63H709.693V157.873H711.15L711.174 158.885C711.665 158.102 712.361 157.711 713.262 157.711C713.554 157.711 713.775 157.749 713.926 157.824V159.216ZM718.345 164.598L720.514 157.873H722.043L718.903 166.63H717.762L714.589 157.873H716.119L718.345 164.598ZM727.004 166.792C725.817 166.792 724.852 166.403 724.107 165.626C723.362 164.844 722.99 163.8 722.99 162.494V162.219C722.99 161.35 723.155 160.576 723.484 159.896C723.818 159.211 724.282 158.677 724.876 158.294C725.475 157.905 726.122 157.711 726.818 157.711C727.957 157.711 728.841 158.086 729.473 158.836C730.104 159.586 730.42 160.66 730.42 162.057V162.68H724.487C724.509 163.543 724.76 164.242 725.24 164.776C725.726 165.305 726.341 165.569 727.085 165.569C727.614 165.569 728.062 165.462 728.429 165.246C728.796 165.03 729.117 164.744 729.392 164.388L730.306 165.1C729.573 166.228 728.472 166.792 727.004 166.792ZM726.818 158.941C726.214 158.941 725.707 159.162 725.297 159.605C724.887 160.042 724.633 160.657 724.536 161.45H728.922V161.337C728.879 160.576 728.674 159.988 728.307 159.572C727.94 159.152 727.444 158.941 726.818 158.941ZM736.392 159.216C736.166 159.179 735.92 159.16 735.656 159.16C734.674 159.16 734.008 159.578 733.657 160.414V166.63H732.16V157.873H733.616L733.641 158.885C734.132 158.102 734.828 157.711 735.729 157.711C736.02 157.711 736.241 157.749 736.392 157.824V159.216Z",fill:"black"},null,-1),Ite=p("g",{filter:"url(#filter0_d)"},[p("rect",{x:"498.553",y:"119.823",width:"216.746",height:"105.823",rx:"5.09991",transform:"rotate(-180 498.553 119.823)",fill:"white"})],-1),Vte=p("path",{d:"M23.1485 137.843L25.6008 132.534H28.2553L24.3868 140.044V144.317H21.9184V140.044L18.0499 132.534H20.7125L23.1485 137.843ZM36.0452 141.889H31.7883L30.9789 144.317H28.3972L32.7837 132.534H35.0336L39.4444 144.317H36.8626L36.0452 141.889ZM32.4438 139.923H35.3897L33.9087 135.512L32.4438 139.923ZM44.9925 132.534L48.0193 141.08L51.03 132.534H54.2187V144.317H51.7826V141.096L52.0254 135.536L48.8448 144.317H47.1776L44.0051 135.544L44.2479 141.096V144.317H41.82V132.534H44.9925ZM60.042 142.367H65.1973V144.317H57.614V132.534H60.042V142.367Z",fill:"black"},null,-1),Pte=p("path",{d:"M28.0692 162.891C27.9235 164.137 27.4622 165.1 26.6852 165.78C25.9137 166.454 24.8859 166.792 23.6018 166.792C22.2097 166.792 21.0929 166.292 20.2512 165.294C19.4149 164.296 18.9968 162.961 18.9968 161.288V160.155C18.9968 159.06 19.191 158.097 19.5795 157.266C19.9733 156.435 20.5291 155.798 21.2467 155.356C21.9643 154.908 22.7951 154.684 23.7393 154.684C24.9911 154.684 25.9946 155.035 26.75 155.736C27.5053 156.432 27.9451 157.398 28.0692 158.634H26.5072C26.3723 157.695 26.0783 157.015 25.625 156.594C25.1772 156.173 24.5487 155.963 23.7393 155.963C22.7466 155.963 21.9669 156.33 21.4004 157.064C20.8393 157.797 20.5587 158.841 20.5587 160.196V161.337C20.5587 162.615 20.8258 163.632 21.36 164.388C21.8941 165.143 22.6414 165.521 23.6018 165.521C24.465 165.521 25.126 165.327 25.5846 164.938C26.0486 164.544 26.3561 163.862 26.5072 162.891H28.0692ZM29.5664 162.17C29.5664 161.312 29.7336 160.541 30.0682 159.856C30.4081 159.17 30.8775 158.642 31.4764 158.269C32.0807 157.897 32.7686 157.711 33.5401 157.711C34.7325 157.711 35.6956 158.124 36.4294 158.949C37.1685 159.775 37.5381 160.873 37.5381 162.243V162.348C37.5381 163.201 37.3736 163.967 37.0444 164.647C36.7207 165.321 36.254 165.847 35.6443 166.225C35.04 166.603 34.344 166.792 33.5563 166.792C32.3693 166.792 31.4062 166.379 30.6671 165.553C29.9333 164.728 29.5664 163.635 29.5664 162.276V162.17ZM31.0717 162.348C31.0717 163.32 31.2956 164.099 31.7434 164.687C32.1967 165.275 32.8009 165.569 33.5563 165.569C34.3171 165.569 34.9213 165.273 35.3692 164.679C35.817 164.08 36.0409 163.244 36.0409 162.17C36.0409 161.21 35.8116 160.433 35.353 159.84C34.8998 159.241 34.2955 158.941 33.5401 158.941C32.8009 158.941 32.2047 159.235 31.7515 159.823C31.2983 160.411 31.0717 161.253 31.0717 162.348ZM40.832 157.873L40.8806 158.974C41.5496 158.132 42.4237 157.711 43.5027 157.711C45.3534 157.711 46.2868 158.755 46.303 160.843V166.63H44.8057V160.835C44.8003 160.204 44.6547 159.737 44.3687 159.435C44.0881 159.133 43.6484 158.982 43.0495 158.982C42.5639 158.982 42.1377 159.111 41.7708 159.37C41.4039 159.629 41.118 159.969 40.9129 160.39V166.63H39.4157V157.873H40.832ZM49.0627 166.63V159.03H47.6788V157.873H49.0627V157.128C49.0627 156.152 49.3406 155.391 49.8963 154.846C50.4574 154.301 51.2479 154.029 52.2676 154.029C52.8719 154.029 53.6353 154.193 54.5579 154.522L54.3071 155.785C53.6326 155.515 52.9906 155.38 52.3809 155.38C51.7388 155.38 51.2748 155.526 50.9889 155.817C50.7083 156.103 50.568 156.535 50.568 157.112V157.873H52.3566V159.03H50.568V166.63H49.0627ZM55.3025 166.63H53.7972V157.873H55.3025V166.63ZM57.3824 162.178C57.3824 160.813 57.6981 159.729 58.3293 158.925C58.9606 158.116 59.7969 157.711 60.8382 157.711C61.9065 157.711 62.7401 158.089 63.339 158.844L63.4118 157.873H64.7796V166.419C64.7796 167.552 64.4423 168.445 63.7679 169.098C63.0989 169.751 62.1979 170.077 61.0648 170.077C60.4336 170.077 59.8158 169.942 59.2115 169.673C58.6072 169.403 58.1459 169.033 57.8276 168.564L58.6045 167.666C59.2466 168.459 60.0316 168.855 60.9596 168.855C61.688 168.855 62.2545 168.65 62.6592 168.24C63.0692 167.83 63.2742 167.253 63.2742 166.508V165.756C62.6753 166.446 61.8579 166.792 60.822 166.792C59.7969 166.792 58.966 166.379 58.3293 165.553C57.6981 164.728 57.3824 163.603 57.3824 162.178ZM58.8878 162.348C58.8878 163.336 59.0901 164.113 59.4948 164.679C59.8994 165.24 60.4659 165.521 61.1943 165.521C62.1385 165.521 62.8318 165.092 63.2742 164.234V160.236C62.8156 159.4 62.1277 158.982 61.2105 158.982C60.4821 158.982 59.9129 159.265 59.5028 159.831C59.0928 160.398 58.8878 161.237 58.8878 162.348ZM77.8904 161.426H72.9455V166.63H71.3916V154.846H78.6916V156.125H72.9455V160.155H77.8904V161.426ZM81.9451 166.63H80.4478V157.873H81.9451V166.63ZM80.3264 155.55C80.3264 155.307 80.3993 155.102 80.545 154.935C80.696 154.768 80.9172 154.684 81.2086 154.684C81.5 154.684 81.7212 154.768 81.8722 154.935C82.0233 155.102 82.0988 155.307 82.0988 155.55C82.0988 155.793 82.0233 155.995 81.8722 156.157C81.7212 156.319 81.5 156.4 81.2086 156.4C80.9172 156.4 80.696 156.319 80.545 156.157C80.3993 155.995 80.3264 155.793 80.3264 155.55ZM85.9754 166.63H84.4782V154.199H85.9754V166.63ZM92.0129 166.792C90.8259 166.792 89.8601 166.403 89.1156 165.626C88.371 164.844 87.9987 163.8 87.9987 162.494V162.219C87.9987 161.35 88.1633 160.576 88.4924 159.896C88.8269 159.211 89.2909 158.677 89.8844 158.294C90.4833 157.905 91.1308 157.711 91.8268 157.711C92.9652 157.711 93.8501 158.086 94.4813 158.836C95.1126 159.586 95.4282 160.66 95.4282 162.057V162.68H89.496C89.5175 163.543 89.7684 164.242 90.2486 164.776C90.7342 165.305 91.3493 165.569 92.0938 165.569C92.6226 165.569 93.0704 165.462 93.4373 165.246C93.8042 165.03 94.1252 164.744 94.4004 164.388L95.3149 165.1C94.5811 166.228 93.4805 166.792 92.0129 166.792ZM91.8268 158.941C91.2225 158.941 90.7153 159.162 90.3053 159.605C89.8952 160.042 89.6416 160.657 89.5445 161.45H93.931V161.337C93.8878 160.576 93.6828 159.988 93.3159 159.572C92.949 159.152 92.4526 158.941 91.8268 158.941ZM102.267 164.307C102.267 163.902 102.113 163.589 101.806 163.368C101.503 163.142 100.972 162.947 100.211 162.785C99.4559 162.624 98.8543 162.429 98.4065 162.203C97.9641 161.976 97.6349 161.706 97.4191 161.393C97.2087 161.08 97.1035 160.708 97.1035 160.277C97.1035 159.559 97.4056 158.952 98.0099 158.456C98.6196 157.959 99.3965 157.711 100.341 157.711C101.333 157.711 102.137 157.967 102.752 158.48C103.373 158.992 103.683 159.648 103.683 160.446H102.178C102.178 160.036 102.003 159.683 101.652 159.386C101.307 159.09 100.869 158.941 100.341 158.941C99.7958 158.941 99.3696 159.06 99.062 159.297C98.7545 159.535 98.6007 159.845 98.6007 160.228C98.6007 160.589 98.7437 160.862 99.0296 161.045C99.3156 161.229 99.8309 161.404 100.575 161.571C101.325 161.739 101.932 161.938 102.396 162.17C102.86 162.402 103.203 162.683 103.424 163.012C103.651 163.336 103.764 163.732 103.764 164.202C103.764 164.984 103.451 165.613 102.825 166.087C102.199 166.557 101.387 166.792 100.389 166.792C99.6879 166.792 99.0674 166.667 98.5279 166.419C97.9883 166.171 97.5648 165.826 97.2573 165.383C96.9551 164.935 96.804 164.453 96.804 163.935H98.3013C98.3282 164.436 98.5279 164.836 98.9002 165.132C99.2778 165.424 99.7742 165.569 100.389 165.569C100.956 165.569 101.409 165.456 101.749 165.23C102.094 164.998 102.267 164.69 102.267 164.307Z",fill:"black"},null,-1),Nte=p("path",{d:"M410.19 54.1275C410.168 54.0625 410.162 53.9928 410.173 53.9248C410.184 53.8569 410.213 53.7929 410.255 53.7388C411.891 51.6738 413.376 49.2985 413.376 47.4765C413.376 43.4276 411.065 40.1372 406.036 40.1372C403.545 40.1372 401.717 40.947 400.516 42.2507C400.462 42.3107 400.392 42.3537 400.314 42.3748C400.236 42.3958 400.153 42.394 400.076 42.3695C398.159 41.7489 396.195 41.2841 394.203 40.9794C394.136 40.9704 394.068 40.9781 394.004 41.0018C393.941 41.0255 393.885 41.0644 393.84 41.1152C393.795 41.1659 393.764 41.2269 393.749 41.2926C393.733 41.3584 393.734 41.427 393.752 41.4922C394.168 43.0497 396.662 52.9452 398.67 60.4788C399.885 65.0379 396.737 69.516 392.019 69.5025H389.098C384.332 69.5025 381.438 65.0082 382.537 60.5274C384.391 52.956 386.931 43.1388 387.344 41.5192C387.361 41.4546 387.362 41.3867 387.347 41.3214C387.332 41.2562 387.301 41.1957 387.257 41.1453C387.213 41.0949 387.158 41.0561 387.095 41.0323C387.032 41.0085 386.965 41.0006 386.899 41.0091C384.58 41.2793 382.299 41.8015 380.094 42.5665C380.013 42.5952 379.926 42.5983 379.843 42.5756C379.76 42.553 379.687 42.5055 379.632 42.4397C378.431 41.028 376.558 40.1453 373.964 40.1453C368.935 40.1453 366.624 43.4303 366.624 47.4846C366.624 49.6089 368.643 52.489 370.565 54.7456C370.658 54.8568 370.687 55.0077 370.641 55.1451L367.369 64.6465C367.368 64.6563 367.368 64.6663 367.369 64.6762C367.283 65.0082 366.02 70.6145 375.618 79.5383C378.49 82.2133 388.496 91.8523 390.294 93.5745C390.369 93.6462 390.47 93.6863 390.574 93.6863C390.678 93.6863 390.778 93.6462 390.853 93.5745C392.702 91.855 403.081 82.2214 405.969 79.5383C416.339 69.8669 413.87 64.6465 413.87 64.6465L410.19 54.1275V54.1275Z",fill:"var(--graph-color-1)"},null,-1),Zte=p("path",{d:"M392.524 63.2097H388.615C388.461 63.2097 388.308 63.1792 388.166 63.12C388.023 63.0608 387.894 62.9741 387.785 62.8647C387.676 62.7553 387.59 62.6256 387.532 62.4828C387.473 62.3401 387.443 62.1871 387.444 62.0328L386.958 57.2201C386.958 57.066 386.988 56.9134 387.048 56.7711C387.107 56.6288 387.193 56.4996 387.302 56.3907C387.411 56.2819 387.541 56.1957 387.683 56.137C387.826 56.0783 387.978 56.0482 388.132 56.0486H392.991C393.145 56.0482 393.298 56.0783 393.44 56.137C393.582 56.1957 393.712 56.2819 393.821 56.3907C393.93 56.4996 394.017 56.6288 394.076 56.7711C394.135 56.9134 394.165 57.066 394.165 57.2201L393.698 62.0328C393.699 62.1874 393.669 62.3405 393.61 62.4834C393.552 62.6264 393.465 62.7563 393.356 62.8657C393.247 62.975 393.117 63.0618 392.974 63.1208C392.832 63.1799 392.678 63.2101 392.524 63.2097Z",fill:"var(--graph-color-1)"},null,-1),$te=p("path",{d:"M370.061 149.221L368.798 150.581V153.948H366.37V142.164H368.798V147.506L369.867 146.041L372.869 142.164H375.856L371.671 147.4L375.977 153.948H373.088L370.061 149.221ZM387.085 142.164V149.925C387.085 151.215 386.68 152.235 385.871 152.985C385.067 153.735 383.967 154.11 382.569 154.11C381.193 154.11 380.101 153.745 379.291 153.017C378.482 152.289 378.069 151.288 378.053 150.014V142.164H380.481V149.942C380.481 150.713 380.665 151.277 381.031 151.633C381.404 151.984 381.916 152.159 382.569 152.159C383.934 152.159 384.627 151.442 384.649 150.006V142.164H387.085ZM393.523 142.164L396.55 150.711L399.561 142.164H402.75V153.948H400.314V150.727L400.556 145.167L397.376 153.948H395.709L392.536 145.175L392.779 150.727V153.948H390.351V142.164H393.523ZM412.943 151.52H408.686L407.877 153.948H405.295L409.682 142.164H411.932L416.342 153.948H413.761L412.943 151.52ZM409.342 149.553H412.288L410.807 145.142L409.342 149.553Z",fill:"black"},null,-1),Rte=p("path",{d:"M351.129 172.521C350.983 173.767 350.522 174.73 349.745 175.41C348.974 176.085 347.946 176.422 346.662 176.422C345.27 176.422 344.153 175.923 343.311 174.925C342.475 173.926 342.057 172.591 342.057 170.919V169.786C342.057 168.69 342.251 167.727 342.639 166.896C343.033 166.065 343.589 165.429 344.307 164.986C345.024 164.538 345.855 164.315 346.799 164.315C348.051 164.315 349.055 164.665 349.81 165.367C350.565 166.063 351.005 167.028 351.129 168.264H349.567C349.432 167.325 349.138 166.645 348.685 166.225C348.237 165.804 347.609 165.593 346.799 165.593C345.807 165.593 345.027 165.96 344.46 166.694C343.899 167.428 343.619 168.472 343.619 169.826V170.967C343.619 172.246 343.886 173.263 344.42 174.018C344.954 174.774 345.701 175.151 346.662 175.151C347.525 175.151 348.186 174.957 348.645 174.569C349.109 174.175 349.416 173.492 349.567 172.521H351.129ZM352.626 171.801C352.626 170.943 352.794 170.171 353.128 169.486C353.468 168.801 353.937 168.272 354.536 167.9C355.141 167.528 355.829 167.341 356.6 167.341C357.792 167.341 358.756 167.754 359.489 168.58C360.229 169.405 360.598 170.503 360.598 171.874V171.979C360.598 172.831 360.434 173.597 360.104 174.277C359.781 174.952 359.314 175.478 358.704 175.855C358.1 176.233 357.404 176.422 356.616 176.422C355.429 176.422 354.466 176.009 353.727 175.184C352.993 174.358 352.626 173.266 352.626 171.906V171.801ZM354.132 171.979C354.132 172.95 354.356 173.73 354.803 174.318C355.257 174.906 355.861 175.2 356.616 175.2C357.377 175.2 357.981 174.903 358.429 174.31C358.877 173.711 359.101 172.874 359.101 171.801C359.101 170.84 358.872 170.063 358.413 169.47C357.96 168.871 357.355 168.572 356.6 168.572C355.861 168.572 355.265 168.866 354.812 169.454C354.358 170.042 354.132 170.883 354.132 171.979ZM363.892 167.503L363.941 168.604C364.61 167.762 365.484 167.341 366.563 167.341C368.413 167.341 369.347 168.385 369.363 170.473V176.26H367.866V170.465C367.86 169.834 367.715 169.367 367.429 169.065C367.148 168.763 366.708 168.612 366.11 168.612C365.624 168.612 365.198 168.741 364.831 169C364.464 169.259 364.178 169.599 363.973 170.02V176.26H362.476V167.503H363.892ZM373.652 165.383V167.503H375.287V168.661H373.652V174.091C373.652 174.442 373.725 174.706 373.871 174.884C374.017 175.057 374.265 175.143 374.615 175.143C374.788 175.143 375.025 175.111 375.328 175.046V176.26C374.934 176.368 374.551 176.422 374.178 176.422C373.509 176.422 373.005 176.22 372.665 175.815C372.325 175.41 372.155 174.836 372.155 174.091V168.661H370.561V167.503H372.155V165.383H373.652ZM381.276 168.847C381.049 168.809 380.804 168.79 380.54 168.79C379.558 168.79 378.891 169.208 378.541 170.044V176.26H377.043V167.503H378.5L378.524 168.515C379.015 167.733 379.711 167.341 380.612 167.341C380.904 167.341 381.125 167.379 381.276 167.455V168.847ZM382.102 171.801C382.102 170.943 382.269 170.171 382.603 169.486C382.943 168.801 383.413 168.272 384.012 167.9C384.616 167.528 385.304 167.341 386.075 167.341C387.268 167.341 388.231 167.754 388.964 168.58C389.704 169.405 390.073 170.503 390.073 171.874V171.979C390.073 172.831 389.909 173.597 389.58 174.277C389.256 174.952 388.789 175.478 388.179 175.855C387.575 176.233 386.879 176.422 386.091 176.422C384.904 176.422 383.941 176.009 383.202 175.184C382.468 174.358 382.102 173.266 382.102 171.906V171.801ZM383.607 171.979C383.607 172.95 383.831 173.73 384.279 174.318C384.732 174.906 385.336 175.2 386.091 175.2C386.852 175.2 387.456 174.903 387.904 174.31C388.352 173.711 388.576 172.874 388.576 171.801C388.576 170.84 388.347 170.063 387.888 169.47C387.435 168.871 386.831 168.572 386.075 168.572C385.336 168.572 384.74 168.866 384.287 169.454C383.833 170.042 383.607 170.883 383.607 171.979ZM393.578 176.26H392.08V163.829H393.578V176.26ZM401.881 171.647V176.26H400.327V164.476H404.673C405.963 164.476 406.972 164.806 407.7 165.464C408.434 166.122 408.801 166.993 408.801 168.078C408.801 169.222 408.442 170.104 407.724 170.724C407.012 171.339 405.99 171.647 404.657 171.647H401.881ZM401.881 170.376H404.673C405.504 170.376 406.141 170.182 406.583 169.794C407.026 169.4 407.247 168.833 407.247 168.094C407.247 167.393 407.026 166.832 406.583 166.411C406.141 165.99 405.534 165.771 404.762 165.755H401.881V170.376ZM412.176 176.26H410.678V163.829H412.176V176.26ZM419.985 176.26C419.899 176.087 419.829 175.78 419.775 175.337C419.079 176.06 418.248 176.422 417.282 176.422C416.419 176.422 415.71 176.179 415.154 175.693C414.604 175.203 414.328 174.582 414.328 173.832C414.328 172.92 414.674 172.213 415.364 171.712C416.06 171.205 417.037 170.951 418.294 170.951H419.751V170.263C419.751 169.74 419.594 169.324 419.281 169.017C418.968 168.704 418.507 168.547 417.897 168.547C417.363 168.547 416.915 168.682 416.554 168.952C416.192 169.222 416.012 169.548 416.012 169.931H414.506C414.506 169.494 414.66 169.073 414.968 168.669C415.281 168.259 415.701 167.935 416.23 167.697C416.764 167.46 417.35 167.341 417.986 167.341C418.995 167.341 419.786 167.595 420.358 168.102C420.93 168.604 421.226 169.297 421.248 170.182V174.212C421.248 175.016 421.35 175.656 421.556 176.131V176.26H419.985ZM417.501 175.119C417.97 175.119 418.415 174.997 418.836 174.755C419.257 174.512 419.562 174.196 419.751 173.808V172.011H418.577C416.743 172.011 415.826 172.548 415.826 173.622C415.826 174.091 415.982 174.458 416.295 174.722C416.608 174.987 417.01 175.119 417.501 175.119ZM425.011 167.503L425.06 168.604C425.729 167.762 426.603 167.341 427.682 167.341C429.533 167.341 430.466 168.385 430.482 170.473V176.26H428.985V170.465C428.98 169.834 428.834 169.367 428.548 169.065C428.267 168.763 427.828 168.612 427.229 168.612C426.743 168.612 426.317 168.741 425.95 169C425.583 169.259 425.297 169.599 425.092 170.02V176.26H423.595V167.503H425.011ZM436.374 176.422C435.187 176.422 434.221 176.033 433.477 175.256C432.732 174.474 432.36 173.43 432.36 172.124V171.849C432.36 170.981 432.524 170.206 432.854 169.527C433.188 168.841 433.652 168.307 434.246 167.924C434.844 167.536 435.492 167.341 436.188 167.341C437.326 167.341 438.211 167.716 438.842 168.466C439.474 169.216 439.789 170.29 439.789 171.687V172.311H433.857C433.879 173.174 434.13 173.873 434.61 174.407C435.095 174.935 435.71 175.2 436.455 175.2C436.984 175.2 437.432 175.092 437.798 174.876C438.165 174.66 438.486 174.374 438.761 174.018L439.676 174.73C438.942 175.858 437.842 176.422 436.374 176.422ZM436.188 168.572C435.584 168.572 435.076 168.793 434.666 169.235C434.256 169.672 434.003 170.287 433.906 171.08H438.292V170.967C438.249 170.206 438.044 169.618 437.677 169.203C437.31 168.782 436.814 168.572 436.188 168.572Z",fill:"black"},null,-1),Fte=p("path",{d:"M238.841 67L222.904 76.2014L222.904 57.7987L238.841 67ZM143.999 65.4063L224.498 65.4063L224.498 68.5937L143.999 68.5937L143.999 65.4063Z",fill:"var(--graph-color-3)"},null,-1),zte=p("path",{d:"M624.841 67L608.904 76.2014L608.904 57.7987L624.841 67ZM529.999 65.4063L610.497 65.4063L610.497 68.5937L529.999 68.5937L529.999 65.4063Z",fill:"var(--graph-color-3)"},null,-1),Ute=p("g",{filter:"url(#filter1_d)"},[p("path",{d:"M79 106C79 107.105 78.1046 108 77 108L16 108C14.8954 108 14 107.105 14 106L14 28C14 26.8954 14.8954 26 16 26L67 26L67 39.5C67 40.6046 67.8954 41.5 69 41.5L79 41.5L79 106Z",fill:"white"})],-1),jte=p("g",{filter:"url(#filter2_d)"},[p("path",{d:"M79 41.5L67 41.5L67 26L79 41.5Z",fill:"#b6b6bd"})],-1),Gte=p("g",{filter:"url(#filter3_d)"},[p("path",{d:"M691.5 100C708.897 100 723 94.4036 723 87.5V80.5C723 73.5964 708.897 68 691.5 68C674.103 68 660 73.5964 660 80.5V87.5C660 94.4036 674.103 100 691.5 100Z",fill:"white"}),y(),p("path",{d:"M722 87.5C722 88.8593 721.31 90.2576 719.84 91.6363C718.369 93.0166 716.186 94.3058 713.405 95.4093C707.849 97.6142 700.105 99 691.5 99C682.895 99 675.151 97.6142 669.595 95.4093C666.814 94.3058 664.631 93.0166 663.16 91.6363C661.69 90.2576 661 88.8593 661 87.5V80.5C661 79.1407 661.69 77.7424 663.16 76.3637C664.631 74.9834 666.814 73.6942 669.595 72.5907C675.151 70.3858 682.895 69 691.5 69C700.105 69 707.849 70.3858 713.405 72.5907C716.186 73.6942 718.369 74.9834 719.84 76.3637C721.31 77.7424 722 79.1407 722 80.5V87.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),Yte=p("g",{filter:"url(#filter4_d)"},[p("path",{d:"M691.5 86C708.897 86 723 80.4036 723 73.5V66.5C723 59.5964 708.897 54 691.5 54C674.103 54 660 59.5964 660 66.5V73.5C660 80.4036 674.103 86 691.5 86Z",fill:"white"}),y(),p("path",{d:"M722 73.5C722 74.8593 721.31 76.2576 719.84 77.6363C718.369 79.0166 716.186 80.3058 713.405 81.4093C707.849 83.6142 700.105 85 691.5 85C682.895 85 675.151 83.6142 669.595 81.4093C666.814 80.3058 664.631 79.0166 663.16 77.6363C661.69 76.2576 661 74.8593 661 73.5V66.5C661 65.1407 661.69 63.7424 663.16 62.3637C664.631 60.9834 666.814 59.6942 669.595 58.5907C675.151 56.3858 682.895 55 691.5 55C700.105 55 707.849 56.3858 713.405 58.5907C716.186 59.6942 718.369 60.9834 719.84 62.3637C721.31 63.7424 722 65.1407 722 66.5V73.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),Kte=p("g",{filter:"url(#filter5_d)"},[p("path",{d:"M691.5 72C708.897 72 723 66.4036 723 59.5V52.5C723 45.5964 708.897 40 691.5 40C674.103 40 660 45.5964 660 52.5V59.5C660 66.4036 674.103 72 691.5 72Z",fill:"white"}),y(),p("path",{d:"M722 59.5C722 60.8593 721.31 62.2576 719.84 63.6363C718.369 65.0166 716.186 66.3058 713.405 67.4093C707.849 69.6142 700.105 71 691.5 71C682.895 71 675.151 69.6142 669.595 67.4093C666.814 66.3058 664.631 65.0166 663.16 63.6363C661.69 62.2576 661 60.8593 661 59.5V52.5C661 51.1407 661.69 49.7424 663.16 48.3637C664.631 46.9834 666.814 45.6942 669.595 44.5907C675.151 42.3858 682.895 41 691.5 41C700.105 41 707.849 42.3858 713.405 44.5907C716.186 45.6942 718.369 46.9834 719.84 48.3637C721.31 49.7424 722 51.1407 722 52.5V59.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),Wte=p("g",{filter:"url(#filter6_d)"},[p("path",{d:"M691.5 58C708.897 58 723 52.4036 723 45.5V38.5C723 31.5964 708.897 26 691.5 26C674.103 26 660 31.5964 660 38.5V45.5C660 52.4036 674.103 58 691.5 58Z",fill:"white"}),y(),p("path",{d:"M722 45.5C722 46.8593 721.31 48.2576 719.84 49.6363C718.369 51.0166 716.186 52.3058 713.405 53.4093C707.849 55.6142 700.105 57 691.5 57C682.895 57 675.151 55.6142 669.595 53.4093C666.814 52.3058 664.631 51.0166 663.16 49.6363C661.69 48.2576 661 46.8593 661 45.5V38.5C661 37.1407 661.69 35.7424 663.16 34.3637C664.631 32.9834 666.814 31.6942 669.595 30.5907C675.151 28.3858 682.895 27 691.5 27C700.105 27 707.849 28.3858 713.405 30.5907C716.186 31.6942 718.369 32.9834 719.84 34.3637C721.31 35.7424 722 37.1407 722 38.5V45.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),qte=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter7_d)"},[p("circle",{cx:"92",cy:"66",r:"27",fill:"url(#paint0_linear)"}),y(),p("circle",{cx:"92",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M89.7607 70.5791C89.7607 69.0296 89.9489 67.7956 90.3252 66.877C90.7015 65.9583 91.3877 65.0563 92.3838 64.1709C93.391 63.2744 94.0605 62.5495 94.3926 61.9961C94.7246 61.4316 94.8906 60.8395 94.8906 60.2197C94.8906 58.3493 94.0273 57.4141 92.3008 57.4141C91.4818 57.4141 90.8232 57.6686 90.3252 58.1777C89.8382 58.6758 89.5837 59.3675 89.5615 60.2529H84.7471C84.7692 58.139 85.4499 56.4844 86.7891 55.2891C88.1393 54.0938 89.9766 53.4961 92.3008 53.4961C94.6471 53.4961 96.4678 54.0661 97.7627 55.2061C99.0576 56.335 99.7051 57.9342 99.7051 60.0039C99.7051 60.9447 99.4948 61.8356 99.0742 62.6768C98.6536 63.5068 97.9176 64.431 96.8662 65.4492L95.5215 66.7275C94.6803 67.5355 94.1989 68.4818 94.0771 69.5664L94.0107 70.5791H89.7607ZM89.2793 75.6758C89.2793 74.9342 89.5283 74.3255 90.0264 73.8496C90.5355 73.3626 91.1829 73.1191 91.9688 73.1191C92.7546 73.1191 93.3965 73.3626 93.8945 73.8496C94.4036 74.3255 94.6582 74.9342 94.6582 75.6758C94.6582 76.4062 94.4092 77.0094 93.9111 77.4854C93.4242 77.9613 92.7767 78.1992 91.9688 78.1992C91.1608 78.1992 90.5078 77.9613 90.0098 77.4854C89.5228 77.0094 89.2793 76.4062 89.2793 75.6758Z",fill:"var(--graph-color-7)"})],-1),Qte=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter8_d)"},[p("circle",{cx:"495",cy:"66",r:"27",fill:"url(#paint1_linear)"}),y(),p("circle",{cx:"495",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M492.761 70.5791C492.761 69.0296 492.949 67.7956 493.325 66.877C493.701 65.9583 494.388 65.0563 495.384 64.1709C496.391 63.2744 497.061 62.5495 497.393 61.9961C497.725 61.4316 497.891 60.8395 497.891 60.2197C497.891 58.3493 497.027 57.4141 495.301 57.4141C494.482 57.4141 493.823 57.6686 493.325 58.1777C492.838 58.6758 492.584 59.3675 492.562 60.2529H487.747C487.769 58.139 488.45 56.4844 489.789 55.2891C491.139 54.0938 492.977 53.4961 495.301 53.4961C497.647 53.4961 499.468 54.0661 500.763 55.2061C502.058 56.335 502.705 57.9342 502.705 60.0039C502.705 60.9447 502.495 61.8356 502.074 62.6768C501.654 63.5068 500.918 64.431 499.866 65.4492L498.521 66.7275C497.68 67.5355 497.199 68.4818 497.077 69.5664L497.011 70.5791H492.761ZM492.279 75.6758C492.279 74.9342 492.528 74.3255 493.026 73.8496C493.535 73.3626 494.183 73.1191 494.969 73.1191C495.755 73.1191 496.396 73.3626 496.895 73.8496C497.404 74.3255 497.658 74.9342 497.658 75.6758C497.658 76.4062 497.409 77.0094 496.911 77.4854C496.424 77.9613 495.777 78.1992 494.969 78.1992C494.161 78.1992 493.508 77.9613 493.01 77.4854C492.523 77.0094 492.279 76.4062 492.279 75.6758Z",fill:"var(--graph-color-7)"})],-1),Xte=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter9_d)"},[p("circle",{cx:"745",cy:"66",r:"27",fill:"url(#paint2_linear)"}),y(),p("circle",{cx:"745",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M742.761 70.5791C742.761 69.0296 742.949 67.7956 743.325 66.877C743.701 65.9583 744.388 65.0563 745.384 64.1709C746.391 63.2744 747.061 62.5495 747.393 61.9961C747.725 61.4316 747.891 60.8395 747.891 60.2197C747.891 58.3493 747.027 57.4141 745.301 57.4141C744.482 57.4141 743.823 57.6686 743.325 58.1777C742.838 58.6758 742.584 59.3675 742.562 60.2529H737.747C737.769 58.139 738.45 56.4844 739.789 55.2891C741.139 54.0938 742.977 53.4961 745.301 53.4961C747.647 53.4961 749.468 54.0661 750.763 55.2061C752.058 56.335 752.705 57.9342 752.705 60.0039C752.705 60.9447 752.495 61.8356 752.074 62.6768C751.654 63.5068 750.918 64.431 749.866 65.4492L748.521 66.7275C747.68 67.5355 747.199 68.4818 747.077 69.5664L747.011 70.5791H742.761ZM742.279 75.6758C742.279 74.9342 742.528 74.3255 743.026 73.8496C743.535 73.3626 744.183 73.1191 744.969 73.1191C745.755 73.1191 746.396 73.3626 746.895 73.8496C747.404 74.3255 747.658 74.9342 747.658 75.6758C747.658 76.4062 747.409 77.0094 746.911 77.4854C746.424 77.9613 745.777 78.1992 744.969 78.1992C744.161 78.1992 743.508 77.9613 743.01 77.4854C742.523 77.0094 742.279 76.4062 742.279 75.6758Z",fill:"var(--graph-color-7)"})],-1),Jte=Oi(' ',1),ene=ne({__name:"KubernetesGraph",setup(e){const{t}=Vt();return(n,r)=>(m(),x("svg",Bte,[Hte,y(),Ote,y(),Ite,y(),Vte,y(),Pte,y(),Nte,y(),Zte,y(),$te,y(),Rte,y(),Fte,y(),zte,y(),Ute,y(),jte,y(),Gte,y(),Yte,y(),Kte,y(),Wte,y(),V(E(Bt),{trigger:"hover",title:"Yaml","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:A(()=>[y(` + trace: `),V(Cte,{text:e.error.instance},null,8,["text"])]),_:1})):P("",!0)])):P("",!0)]))}});const hu=Gt(Mte,[["__scopeId","data-v-964f2b84"]]),xte=p("p",null,"Loading data …",-1),Ste=ne({__name:"LoadingBlock",setup(e){return(t,n)=>(m(),Q(E(Ao),{"cta-is-hidden":"","data-testid":"loading-block"},{title:A(()=>[V(E(Ae),{class:"mb-3",icon:"spinner",color:"rgba(0, 0, 0, 0.1)",size:E(J6)},null,8,["size"]),y(),$(t.$slots,"default",{},()=>[xte])]),_:3}))}}),Ete=ne({__name:"MainOverview",setup(e){const t=T3();return(n,r)=>(m(),Q(Li,{src:"/all-mesh-insights"},{default:A(({data:o,error:a})=>[V(Li,{src:E(t)("use zones")?"/all-zone-overviews":""},{default:A(({data:i,error:s})=>[a?(m(),Q(hu,{key:0,error:a},null,8,["error"])):s?(m(),Q(hu,{key:1,error:s},null,8,["error"])):o===void 0||E(t)("use zones")&&i===void 0?(m(),Q(Ste,{key:2})):(m(),Q(ute,{key:3,"data-testid":"detail-view-details","mesh-insights":o.items,"zone-overviews":(i==null?void 0:i.items)??[]},null,8,["mesh-insights","zone-overviews"]))]),_:2},1032,["src"])]),_:1}))}}),Ate={class:"stack"},Lte={class:"columns",style:{"--columns":"3"}},Dte={class:"columns",style:{"--columns":"3"}},Tte=ne({__name:"MeshDetails",props:{mesh:{type:Object,required:!0},meshInsight:{type:Object,required:!0}},setup(e){const t=e,{t:n}=Vt(),r=T(()=>i(t.mesh.mtls)),o=T(()=>i(t.mesh.metrics)),a=T(()=>{var s;return Object.values(((s=t.meshInsight)==null?void 0:s.policies)??{}).reduce((l,c)=>l+c.total,0)});function i(s){if(s!=null&&s.enabledBackend&&Array.isArray(s.backends)){const l=s.backends.find(c=>c.name===s.enabledBackend);if(l!==void 0)return`${l.type} / ${l.name}`}return""}return(s,l)=>(m(),Q(E(na),null,{body:A(()=>{var c,u;return[p("div",Ate,[p("div",Lte,[V(qo,{total:((c=t.meshInsight)==null?void 0:c.services.total)??0,"data-testid":"services-status"},{title:A(()=>[y(H(E(n)("meshes.detail.services")),1)]),_:1},8,["total"]),y(),V(qo,{total:((u=t.meshInsight)==null?void 0:u.dataplanesByType.standard.total)??0,"data-testid":"data-plane-proxies-status"},{title:A(()=>[y(H(E(n)("meshes.detail.data_plane_proxies")),1)]),_:1},8,["total"]),y(),V(qo,{total:a.value,"data-testid":"policies-status"},{title:A(()=>[y(H(E(n)("meshes.detail.policies")),1)]),_:1},8,["total"])]),y(),p("div",Dte,[V(Hs,null,{title:A(()=>[y(H(E(n)("http.api.property.mtls")),1)]),body:A(()=>[r.value===""?(m(),Q(E(Fn),{key:0,appearance:"neutral"},{default:A(()=>[y(H(E(n)("meshes.detail.disabled")),1)]),_:1})):(m(),x(ke,{key:1},[y(H(r.value),1)],64))]),_:1}),y(),V(Hs,null,{title:A(()=>[y(H(E(n)("http.api.property.metrics")),1)]),body:A(()=>[o.value===""?(m(),Q(E(Fn),{key:0,appearance:"neutral"},{default:A(()=>[y(H(E(n)("meshes.detail.disabled")),1)]),_:1})):(m(),x(ke,{key:1},[y(H(o.value),1)],64))]),_:1}),y(),V(Hs,null,{title:A(()=>[y(H(E(n)("http.api.property.zoneEgress")),1)]),body:A(()=>[V(E(Fn),{appearance:"neutral"},{default:A(()=>{var d;return[y(H(E(n)(`meshes.detail.${(d=t.mesh.routing)!=null&&d.zoneEgress?"enabled":"disabled"}`)),1)]}),_:1})]),_:1})])])]}),_:1}))}}),Bte={width:"794",height:"181",viewBox:"0 0 794 181",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Hte=p("path",{d:"M664.743 139.274L663.48 140.633V144H661.052V132.216H663.48V137.558L664.548 136.093L667.551 132.216H670.537L666.353 137.453L670.659 144H667.769L664.743 139.274ZM677.745 143.11C677.167 143.811 676.369 144.162 675.349 144.162C674.41 144.162 673.693 143.892 673.196 143.353C672.705 142.813 672.454 142.023 672.444 140.981V135.243H674.782V140.9C674.782 141.812 675.198 142.268 676.029 142.268C676.822 142.268 677.367 141.993 677.664 141.443V135.243H680.011V144H677.809L677.745 143.11ZM690.941 139.703C690.941 141.105 690.641 142.201 690.042 142.988C689.443 143.771 688.607 144.162 687.533 144.162C686.584 144.162 685.826 143.798 685.259 143.069L685.154 144H683.05V131.569H685.389V136.028C685.928 135.397 686.638 135.081 687.517 135.081C688.586 135.081 689.422 135.475 690.026 136.263C690.636 137.045 690.941 138.149 690.941 139.573V139.703ZM688.602 139.533C688.602 138.648 688.461 138.003 688.181 137.598C687.9 137.188 687.482 136.983 686.926 136.983C686.182 136.983 685.669 137.288 685.389 137.898V141.354C685.675 141.969 686.193 142.276 686.943 142.276C687.698 142.276 688.194 141.904 688.432 141.159C688.545 140.803 688.602 140.261 688.602 139.533ZM697.695 144.162C696.411 144.162 695.364 143.768 694.555 142.98C693.751 142.193 693.349 141.143 693.349 139.832V139.605C693.349 138.726 693.519 137.941 693.859 137.25C694.198 136.554 694.679 136.02 695.299 135.648C695.925 135.27 696.637 135.081 697.436 135.081C698.634 135.081 699.575 135.459 700.26 136.214C700.951 136.97 701.296 138.041 701.296 139.427V140.382H695.72C695.796 140.954 696.022 141.413 696.4 141.758C696.783 142.104 697.266 142.276 697.848 142.276C698.75 142.276 699.454 141.95 699.961 141.297L701.11 142.584C700.759 143.08 700.285 143.469 699.686 143.749C699.087 144.024 698.423 144.162 697.695 144.162ZM697.428 136.975C696.964 136.975 696.586 137.132 696.295 137.445C696.009 137.758 695.825 138.205 695.744 138.788H698.998V138.602C698.987 138.084 698.847 137.685 698.577 137.404C698.307 137.118 697.924 136.975 697.428 136.975ZM708.827 137.436C708.509 137.393 708.228 137.372 707.985 137.372C707.101 137.372 706.521 137.671 706.245 138.27V144H703.906V135.243H706.116L706.181 136.287C706.65 135.483 707.3 135.081 708.131 135.081C708.39 135.081 708.633 135.116 708.859 135.187L708.827 137.436ZM713.388 135.243L713.461 136.255C714.087 135.473 714.926 135.081 715.978 135.081C716.906 135.081 717.596 135.354 718.05 135.899C718.503 136.444 718.735 137.258 718.746 138.343V144H716.407V138.4C716.407 137.903 716.299 137.544 716.083 137.323C715.867 137.097 715.508 136.983 715.007 136.983C714.348 136.983 713.855 137.264 713.525 137.825V144H711.187V135.243H713.388ZM725.831 144.162C724.547 144.162 723.501 143.768 722.691 142.98C721.887 142.193 721.485 141.143 721.485 139.832V139.605C721.485 138.726 721.655 137.941 721.995 137.25C722.335 136.554 722.815 136.02 723.436 135.648C724.062 135.27 724.774 135.081 725.572 135.081C726.77 135.081 727.712 135.459 728.397 136.214C729.088 136.97 729.433 138.041 729.433 139.427V140.382H723.857C723.932 140.954 724.159 141.413 724.536 141.758C724.92 142.104 725.402 142.276 725.985 142.276C726.886 142.276 727.59 141.95 728.097 141.297L729.247 142.584C728.896 143.08 728.421 143.469 727.822 143.749C727.223 144.024 726.56 144.162 725.831 144.162ZM725.564 136.975C725.1 136.975 724.723 137.132 724.431 137.445C724.145 137.758 723.962 138.205 723.881 138.788H727.134V138.602C727.124 138.084 726.983 137.685 726.714 137.404C726.444 137.118 726.061 136.975 725.564 136.975ZM734.843 133.09V135.243H736.341V136.959H734.843V141.329C734.843 141.653 734.905 141.885 735.03 142.025C735.154 142.166 735.391 142.236 735.742 142.236C736.001 142.236 736.23 142.217 736.43 142.179V143.951C735.971 144.092 735.499 144.162 735.013 144.162C733.373 144.162 732.537 143.334 732.504 141.677V136.959H731.226V135.243H732.504V133.09H734.843ZM742.949 144.162C741.665 144.162 740.618 143.768 739.809 142.98C739.005 142.193 738.603 141.143 738.603 139.832V139.605C738.603 138.726 738.773 137.941 739.113 137.25C739.453 136.554 739.933 136.02 740.553 135.648C741.179 135.27 741.891 135.081 742.69 135.081C743.888 135.081 744.829 135.459 745.514 136.214C746.205 136.97 746.55 138.041 746.55 139.427V140.382H740.974C741.05 140.954 741.276 141.413 741.654 141.758C742.037 142.104 742.52 142.276 743.103 142.276C744.004 142.276 744.708 141.95 745.215 141.297L746.364 142.584C746.014 143.08 745.539 143.469 744.94 143.749C744.341 144.024 743.677 144.162 742.949 144.162ZM742.682 136.975C742.218 136.975 741.84 137.132 741.549 137.445C741.263 137.758 741.079 138.205 740.999 138.788H744.252V138.602C744.241 138.084 744.101 137.685 743.831 137.404C743.561 137.118 743.178 136.975 742.682 136.975ZM753.903 141.58C753.903 141.294 753.76 141.07 753.474 140.908C753.194 140.741 752.741 140.593 752.115 140.463C750.032 140.026 748.991 139.141 748.991 137.809C748.991 137.032 749.312 136.384 749.954 135.866C750.601 135.343 751.446 135.081 752.487 135.081C753.598 135.081 754.486 135.343 755.15 135.866C755.819 136.39 756.153 137.07 756.153 137.906H753.814C753.814 137.571 753.706 137.296 753.491 137.08C753.275 136.859 752.938 136.749 752.479 136.749C752.085 136.749 751.78 136.838 751.564 137.016C751.349 137.194 751.241 137.42 751.241 137.695C751.241 137.954 751.362 138.165 751.605 138.327C751.853 138.483 752.268 138.621 752.851 138.739C753.434 138.853 753.925 138.982 754.324 139.128C755.56 139.581 756.177 140.366 756.177 141.483C756.177 142.282 755.835 142.929 755.15 143.425C754.464 143.916 753.58 144.162 752.495 144.162C751.761 144.162 751.108 144.032 750.537 143.773C749.97 143.509 749.525 143.15 749.201 142.697C748.877 142.238 748.716 141.745 748.716 141.216H750.933C750.955 141.631 751.108 141.95 751.394 142.171C751.68 142.392 752.063 142.503 752.544 142.503C752.991 142.503 753.329 142.419 753.555 142.252C753.787 142.079 753.903 141.855 753.903 141.58Z",fill:"black"},null,-1),Ote=p("path",{d:"M667.908 163.554H662.972L661.863 166.63H660.26L664.76 154.846H666.12L670.628 166.63H669.033L667.908 163.554ZM663.441 162.276H667.447L665.44 156.764L663.441 162.276ZM673.768 162.017V166.63H672.214V154.846H676.56C677.849 154.846 678.858 155.175 679.587 155.833C680.321 156.492 680.687 157.363 680.687 158.447C680.687 159.591 680.329 160.473 679.611 161.094C678.899 161.709 677.876 162.017 676.544 162.017H673.768ZM673.768 160.746H676.56C677.391 160.746 678.027 160.552 678.47 160.163C678.912 159.769 679.134 159.203 679.134 158.464C679.134 157.762 678.912 157.201 678.47 156.78C678.027 156.359 677.42 156.141 676.649 156.125H673.768V160.746ZM684.337 166.63H682.784V154.846H684.337V166.63ZM694.769 161.377C693.437 160.994 692.466 160.525 691.856 159.969C691.252 159.408 690.949 158.717 690.949 157.897C690.949 156.969 691.319 156.203 692.058 155.599C692.803 154.989 693.769 154.684 694.956 154.684C695.765 154.684 696.485 154.841 697.116 155.154C697.753 155.467 698.244 155.898 698.589 156.448C698.94 156.999 699.115 157.6 699.115 158.253H697.553C697.553 157.541 697.327 156.983 696.874 156.578C696.42 156.168 695.781 155.963 694.956 155.963C694.189 155.963 693.591 156.133 693.159 156.473C692.733 156.807 692.52 157.274 692.52 157.873C692.52 158.353 692.722 158.76 693.127 159.095C693.537 159.424 694.23 159.726 695.206 160.001C696.188 160.277 696.955 160.581 697.505 160.916C698.061 161.245 698.471 161.631 698.735 162.073C699.005 162.516 699.14 163.036 699.14 163.635C699.14 164.59 698.767 165.356 698.023 165.934C697.278 166.506 696.283 166.792 695.037 166.792C694.227 166.792 693.472 166.638 692.77 166.33C692.069 166.017 691.527 165.591 691.144 165.051C690.766 164.512 690.577 163.9 690.577 163.214H692.139C692.139 163.927 692.401 164.49 692.924 164.906C693.453 165.316 694.157 165.521 695.037 165.521C695.857 165.521 696.485 165.354 696.922 165.019C697.359 164.685 697.578 164.229 697.578 163.651C697.578 163.074 697.375 162.629 696.971 162.316C696.566 161.998 695.832 161.685 694.769 161.377ZM704.538 166.792C703.351 166.792 702.385 166.403 701.64 165.626C700.896 164.844 700.524 163.8 700.524 162.494V162.219C700.524 161.35 700.688 160.576 701.017 159.896C701.352 159.211 701.816 158.677 702.409 158.294C703.008 157.905 703.656 157.711 704.352 157.711C705.49 157.711 706.375 158.086 707.006 158.836C707.637 159.586 707.953 160.66 707.953 162.057V162.68H702.021C702.042 163.543 702.293 164.242 702.774 164.776C703.259 165.305 703.874 165.569 704.619 165.569C705.148 165.569 705.595 165.462 705.962 165.246C706.329 165.03 706.65 164.744 706.925 164.388L707.84 165.1C707.106 166.228 706.005 166.792 704.538 166.792ZM704.352 158.941C703.747 158.941 703.24 159.162 702.83 159.605C702.42 160.042 702.167 160.657 702.069 161.45H706.456V161.337C706.413 160.576 706.208 159.988 705.841 159.572C705.474 159.152 704.978 158.941 704.352 158.941ZM713.926 159.216C713.699 159.179 713.454 159.16 713.189 159.16C712.207 159.16 711.541 159.578 711.19 160.414V166.63H709.693V157.873H711.15L711.174 158.885C711.665 158.102 712.361 157.711 713.262 157.711C713.554 157.711 713.775 157.749 713.926 157.824V159.216ZM718.345 164.598L720.514 157.873H722.043L718.903 166.63H717.762L714.589 157.873H716.119L718.345 164.598ZM727.004 166.792C725.817 166.792 724.852 166.403 724.107 165.626C723.362 164.844 722.99 163.8 722.99 162.494V162.219C722.99 161.35 723.155 160.576 723.484 159.896C723.818 159.211 724.282 158.677 724.876 158.294C725.475 157.905 726.122 157.711 726.818 157.711C727.957 157.711 728.841 158.086 729.473 158.836C730.104 159.586 730.42 160.66 730.42 162.057V162.68H724.487C724.509 163.543 724.76 164.242 725.24 164.776C725.726 165.305 726.341 165.569 727.085 165.569C727.614 165.569 728.062 165.462 728.429 165.246C728.796 165.03 729.117 164.744 729.392 164.388L730.306 165.1C729.573 166.228 728.472 166.792 727.004 166.792ZM726.818 158.941C726.214 158.941 725.707 159.162 725.297 159.605C724.887 160.042 724.633 160.657 724.536 161.45H728.922V161.337C728.879 160.576 728.674 159.988 728.307 159.572C727.94 159.152 727.444 158.941 726.818 158.941ZM736.392 159.216C736.166 159.179 735.92 159.16 735.656 159.16C734.674 159.16 734.008 159.578 733.657 160.414V166.63H732.16V157.873H733.616L733.641 158.885C734.132 158.102 734.828 157.711 735.729 157.711C736.02 157.711 736.241 157.749 736.392 157.824V159.216Z",fill:"black"},null,-1),Ite=p("g",{filter:"url(#filter0_d)"},[p("rect",{x:"498.553",y:"119.823",width:"216.746",height:"105.823",rx:"5.09991",transform:"rotate(-180 498.553 119.823)",fill:"white"})],-1),Vte=p("path",{d:"M23.1485 137.843L25.6008 132.534H28.2553L24.3868 140.044V144.317H21.9184V140.044L18.0499 132.534H20.7125L23.1485 137.843ZM36.0452 141.889H31.7883L30.9789 144.317H28.3972L32.7837 132.534H35.0336L39.4444 144.317H36.8626L36.0452 141.889ZM32.4438 139.923H35.3897L33.9087 135.512L32.4438 139.923ZM44.9925 132.534L48.0193 141.08L51.03 132.534H54.2187V144.317H51.7826V141.096L52.0254 135.536L48.8448 144.317H47.1776L44.0051 135.544L44.2479 141.096V144.317H41.82V132.534H44.9925ZM60.042 142.367H65.1973V144.317H57.614V132.534H60.042V142.367Z",fill:"black"},null,-1),Pte=p("path",{d:"M28.0692 162.891C27.9235 164.137 27.4622 165.1 26.6852 165.78C25.9137 166.454 24.8859 166.792 23.6018 166.792C22.2097 166.792 21.0929 166.292 20.2512 165.294C19.4149 164.296 18.9968 162.961 18.9968 161.288V160.155C18.9968 159.06 19.191 158.097 19.5795 157.266C19.9733 156.435 20.5291 155.798 21.2467 155.356C21.9643 154.908 22.7951 154.684 23.7393 154.684C24.9911 154.684 25.9946 155.035 26.75 155.736C27.5053 156.432 27.9451 157.398 28.0692 158.634H26.5072C26.3723 157.695 26.0783 157.015 25.625 156.594C25.1772 156.173 24.5487 155.963 23.7393 155.963C22.7466 155.963 21.9669 156.33 21.4004 157.064C20.8393 157.797 20.5587 158.841 20.5587 160.196V161.337C20.5587 162.615 20.8258 163.632 21.36 164.388C21.8941 165.143 22.6414 165.521 23.6018 165.521C24.465 165.521 25.126 165.327 25.5846 164.938C26.0486 164.544 26.3561 163.862 26.5072 162.891H28.0692ZM29.5664 162.17C29.5664 161.312 29.7336 160.541 30.0682 159.856C30.4081 159.17 30.8775 158.642 31.4764 158.269C32.0807 157.897 32.7686 157.711 33.5401 157.711C34.7325 157.711 35.6956 158.124 36.4294 158.949C37.1685 159.775 37.5381 160.873 37.5381 162.243V162.348C37.5381 163.201 37.3736 163.967 37.0444 164.647C36.7207 165.321 36.254 165.847 35.6443 166.225C35.04 166.603 34.344 166.792 33.5563 166.792C32.3693 166.792 31.4062 166.379 30.6671 165.553C29.9333 164.728 29.5664 163.635 29.5664 162.276V162.17ZM31.0717 162.348C31.0717 163.32 31.2956 164.099 31.7434 164.687C32.1967 165.275 32.8009 165.569 33.5563 165.569C34.3171 165.569 34.9213 165.273 35.3692 164.679C35.817 164.08 36.0409 163.244 36.0409 162.17C36.0409 161.21 35.8116 160.433 35.353 159.84C34.8998 159.241 34.2955 158.941 33.5401 158.941C32.8009 158.941 32.2047 159.235 31.7515 159.823C31.2983 160.411 31.0717 161.253 31.0717 162.348ZM40.832 157.873L40.8806 158.974C41.5496 158.132 42.4237 157.711 43.5027 157.711C45.3534 157.711 46.2868 158.755 46.303 160.843V166.63H44.8057V160.835C44.8003 160.204 44.6547 159.737 44.3687 159.435C44.0881 159.133 43.6484 158.982 43.0495 158.982C42.5639 158.982 42.1377 159.111 41.7708 159.37C41.4039 159.629 41.118 159.969 40.9129 160.39V166.63H39.4157V157.873H40.832ZM49.0627 166.63V159.03H47.6788V157.873H49.0627V157.128C49.0627 156.152 49.3406 155.391 49.8963 154.846C50.4574 154.301 51.2479 154.029 52.2676 154.029C52.8719 154.029 53.6353 154.193 54.5579 154.522L54.3071 155.785C53.6326 155.515 52.9906 155.38 52.3809 155.38C51.7388 155.38 51.2748 155.526 50.9889 155.817C50.7083 156.103 50.568 156.535 50.568 157.112V157.873H52.3566V159.03H50.568V166.63H49.0627ZM55.3025 166.63H53.7972V157.873H55.3025V166.63ZM57.3824 162.178C57.3824 160.813 57.6981 159.729 58.3293 158.925C58.9606 158.116 59.7969 157.711 60.8382 157.711C61.9065 157.711 62.7401 158.089 63.339 158.844L63.4118 157.873H64.7796V166.419C64.7796 167.552 64.4423 168.445 63.7679 169.098C63.0989 169.751 62.1979 170.077 61.0648 170.077C60.4336 170.077 59.8158 169.942 59.2115 169.673C58.6072 169.403 58.1459 169.033 57.8276 168.564L58.6045 167.666C59.2466 168.459 60.0316 168.855 60.9596 168.855C61.688 168.855 62.2545 168.65 62.6592 168.24C63.0692 167.83 63.2742 167.253 63.2742 166.508V165.756C62.6753 166.446 61.8579 166.792 60.822 166.792C59.7969 166.792 58.966 166.379 58.3293 165.553C57.6981 164.728 57.3824 163.603 57.3824 162.178ZM58.8878 162.348C58.8878 163.336 59.0901 164.113 59.4948 164.679C59.8994 165.24 60.4659 165.521 61.1943 165.521C62.1385 165.521 62.8318 165.092 63.2742 164.234V160.236C62.8156 159.4 62.1277 158.982 61.2105 158.982C60.4821 158.982 59.9129 159.265 59.5028 159.831C59.0928 160.398 58.8878 161.237 58.8878 162.348ZM77.8904 161.426H72.9455V166.63H71.3916V154.846H78.6916V156.125H72.9455V160.155H77.8904V161.426ZM81.9451 166.63H80.4478V157.873H81.9451V166.63ZM80.3264 155.55C80.3264 155.307 80.3993 155.102 80.545 154.935C80.696 154.768 80.9172 154.684 81.2086 154.684C81.5 154.684 81.7212 154.768 81.8722 154.935C82.0233 155.102 82.0988 155.307 82.0988 155.55C82.0988 155.793 82.0233 155.995 81.8722 156.157C81.7212 156.319 81.5 156.4 81.2086 156.4C80.9172 156.4 80.696 156.319 80.545 156.157C80.3993 155.995 80.3264 155.793 80.3264 155.55ZM85.9754 166.63H84.4782V154.199H85.9754V166.63ZM92.0129 166.792C90.8259 166.792 89.8601 166.403 89.1156 165.626C88.371 164.844 87.9987 163.8 87.9987 162.494V162.219C87.9987 161.35 88.1633 160.576 88.4924 159.896C88.8269 159.211 89.2909 158.677 89.8844 158.294C90.4833 157.905 91.1308 157.711 91.8268 157.711C92.9652 157.711 93.8501 158.086 94.4813 158.836C95.1126 159.586 95.4282 160.66 95.4282 162.057V162.68H89.496C89.5175 163.543 89.7684 164.242 90.2486 164.776C90.7342 165.305 91.3493 165.569 92.0938 165.569C92.6226 165.569 93.0704 165.462 93.4373 165.246C93.8042 165.03 94.1252 164.744 94.4004 164.388L95.3149 165.1C94.5811 166.228 93.4805 166.792 92.0129 166.792ZM91.8268 158.941C91.2225 158.941 90.7153 159.162 90.3053 159.605C89.8952 160.042 89.6416 160.657 89.5445 161.45H93.931V161.337C93.8878 160.576 93.6828 159.988 93.3159 159.572C92.949 159.152 92.4526 158.941 91.8268 158.941ZM102.267 164.307C102.267 163.902 102.113 163.589 101.806 163.368C101.503 163.142 100.972 162.947 100.211 162.785C99.4559 162.624 98.8543 162.429 98.4065 162.203C97.9641 161.976 97.6349 161.706 97.4191 161.393C97.2087 161.08 97.1035 160.708 97.1035 160.277C97.1035 159.559 97.4056 158.952 98.0099 158.456C98.6196 157.959 99.3965 157.711 100.341 157.711C101.333 157.711 102.137 157.967 102.752 158.48C103.373 158.992 103.683 159.648 103.683 160.446H102.178C102.178 160.036 102.003 159.683 101.652 159.386C101.307 159.09 100.869 158.941 100.341 158.941C99.7958 158.941 99.3696 159.06 99.062 159.297C98.7545 159.535 98.6007 159.845 98.6007 160.228C98.6007 160.589 98.7437 160.862 99.0296 161.045C99.3156 161.229 99.8309 161.404 100.575 161.571C101.325 161.739 101.932 161.938 102.396 162.17C102.86 162.402 103.203 162.683 103.424 163.012C103.651 163.336 103.764 163.732 103.764 164.202C103.764 164.984 103.451 165.613 102.825 166.087C102.199 166.557 101.387 166.792 100.389 166.792C99.6879 166.792 99.0674 166.667 98.5279 166.419C97.9883 166.171 97.5648 165.826 97.2573 165.383C96.9551 164.935 96.804 164.453 96.804 163.935H98.3013C98.3282 164.436 98.5279 164.836 98.9002 165.132C99.2778 165.424 99.7742 165.569 100.389 165.569C100.956 165.569 101.409 165.456 101.749 165.23C102.094 164.998 102.267 164.69 102.267 164.307Z",fill:"black"},null,-1),Nte=p("path",{d:"M410.19 54.1275C410.168 54.0625 410.162 53.9928 410.173 53.9248C410.184 53.8569 410.213 53.7929 410.255 53.7388C411.891 51.6738 413.376 49.2985 413.376 47.4765C413.376 43.4276 411.065 40.1372 406.036 40.1372C403.545 40.1372 401.717 40.947 400.516 42.2507C400.462 42.3107 400.392 42.3537 400.314 42.3748C400.236 42.3958 400.153 42.394 400.076 42.3695C398.159 41.7489 396.195 41.2841 394.203 40.9794C394.136 40.9704 394.068 40.9781 394.004 41.0018C393.941 41.0255 393.885 41.0644 393.84 41.1152C393.795 41.1659 393.764 41.2269 393.749 41.2926C393.733 41.3584 393.734 41.427 393.752 41.4922C394.168 43.0497 396.662 52.9452 398.67 60.4788C399.885 65.0379 396.737 69.516 392.019 69.5025H389.098C384.332 69.5025 381.438 65.0082 382.537 60.5274C384.391 52.956 386.931 43.1388 387.344 41.5192C387.361 41.4546 387.362 41.3867 387.347 41.3214C387.332 41.2562 387.301 41.1957 387.257 41.1453C387.213 41.0949 387.158 41.0561 387.095 41.0323C387.032 41.0085 386.965 41.0006 386.899 41.0091C384.58 41.2793 382.299 41.8015 380.094 42.5665C380.013 42.5952 379.926 42.5983 379.843 42.5756C379.76 42.553 379.687 42.5055 379.632 42.4397C378.431 41.028 376.558 40.1453 373.964 40.1453C368.935 40.1453 366.624 43.4303 366.624 47.4846C366.624 49.6089 368.643 52.489 370.565 54.7456C370.658 54.8568 370.687 55.0077 370.641 55.1451L367.369 64.6465C367.368 64.6563 367.368 64.6663 367.369 64.6762C367.283 65.0082 366.02 70.6145 375.618 79.5383C378.49 82.2133 388.496 91.8523 390.294 93.5745C390.369 93.6462 390.47 93.6863 390.574 93.6863C390.678 93.6863 390.778 93.6462 390.853 93.5745C392.702 91.855 403.081 82.2214 405.969 79.5383C416.339 69.8669 413.87 64.6465 413.87 64.6465L410.19 54.1275V54.1275Z",fill:"var(--graph-color-1)"},null,-1),Zte=p("path",{d:"M392.524 63.2097H388.615C388.461 63.2097 388.308 63.1792 388.166 63.12C388.023 63.0608 387.894 62.9741 387.785 62.8647C387.676 62.7553 387.59 62.6256 387.532 62.4828C387.473 62.3401 387.443 62.1871 387.444 62.0328L386.958 57.2201C386.958 57.066 386.988 56.9134 387.048 56.7711C387.107 56.6288 387.193 56.4996 387.302 56.3907C387.411 56.2819 387.541 56.1957 387.683 56.137C387.826 56.0783 387.978 56.0482 388.132 56.0486H392.991C393.145 56.0482 393.298 56.0783 393.44 56.137C393.582 56.1957 393.712 56.2819 393.821 56.3907C393.93 56.4996 394.017 56.6288 394.076 56.7711C394.135 56.9134 394.165 57.066 394.165 57.2201L393.698 62.0328C393.699 62.1874 393.669 62.3405 393.61 62.4834C393.552 62.6264 393.465 62.7563 393.356 62.8657C393.247 62.975 393.117 63.0618 392.974 63.1208C392.832 63.1799 392.678 63.2101 392.524 63.2097Z",fill:"var(--graph-color-1)"},null,-1),$te=p("path",{d:"M370.061 149.221L368.798 150.581V153.948H366.37V142.164H368.798V147.506L369.867 146.041L372.869 142.164H375.856L371.671 147.4L375.977 153.948H373.088L370.061 149.221ZM387.085 142.164V149.925C387.085 151.215 386.68 152.235 385.871 152.985C385.067 153.735 383.967 154.11 382.569 154.11C381.193 154.11 380.101 153.745 379.291 153.017C378.482 152.289 378.069 151.288 378.053 150.014V142.164H380.481V149.942C380.481 150.713 380.665 151.277 381.031 151.633C381.404 151.984 381.916 152.159 382.569 152.159C383.934 152.159 384.627 151.442 384.649 150.006V142.164H387.085ZM393.523 142.164L396.55 150.711L399.561 142.164H402.75V153.948H400.314V150.727L400.556 145.167L397.376 153.948H395.709L392.536 145.175L392.779 150.727V153.948H390.351V142.164H393.523ZM412.943 151.52H408.686L407.877 153.948H405.295L409.682 142.164H411.932L416.342 153.948H413.761L412.943 151.52ZM409.342 149.553H412.288L410.807 145.142L409.342 149.553Z",fill:"black"},null,-1),Rte=p("path",{d:"M351.129 172.521C350.983 173.767 350.522 174.73 349.745 175.41C348.974 176.085 347.946 176.422 346.662 176.422C345.27 176.422 344.153 175.923 343.311 174.925C342.475 173.926 342.057 172.591 342.057 170.919V169.786C342.057 168.69 342.251 167.727 342.639 166.896C343.033 166.065 343.589 165.429 344.307 164.986C345.024 164.538 345.855 164.315 346.799 164.315C348.051 164.315 349.055 164.665 349.81 165.367C350.565 166.063 351.005 167.028 351.129 168.264H349.567C349.432 167.325 349.138 166.645 348.685 166.225C348.237 165.804 347.609 165.593 346.799 165.593C345.807 165.593 345.027 165.96 344.46 166.694C343.899 167.428 343.619 168.472 343.619 169.826V170.967C343.619 172.246 343.886 173.263 344.42 174.018C344.954 174.774 345.701 175.151 346.662 175.151C347.525 175.151 348.186 174.957 348.645 174.569C349.109 174.175 349.416 173.492 349.567 172.521H351.129ZM352.626 171.801C352.626 170.943 352.794 170.171 353.128 169.486C353.468 168.801 353.937 168.272 354.536 167.9C355.141 167.528 355.829 167.341 356.6 167.341C357.792 167.341 358.756 167.754 359.489 168.58C360.229 169.405 360.598 170.503 360.598 171.874V171.979C360.598 172.831 360.434 173.597 360.104 174.277C359.781 174.952 359.314 175.478 358.704 175.855C358.1 176.233 357.404 176.422 356.616 176.422C355.429 176.422 354.466 176.009 353.727 175.184C352.993 174.358 352.626 173.266 352.626 171.906V171.801ZM354.132 171.979C354.132 172.95 354.356 173.73 354.803 174.318C355.257 174.906 355.861 175.2 356.616 175.2C357.377 175.2 357.981 174.903 358.429 174.31C358.877 173.711 359.101 172.874 359.101 171.801C359.101 170.84 358.872 170.063 358.413 169.47C357.96 168.871 357.355 168.572 356.6 168.572C355.861 168.572 355.265 168.866 354.812 169.454C354.358 170.042 354.132 170.883 354.132 171.979ZM363.892 167.503L363.941 168.604C364.61 167.762 365.484 167.341 366.563 167.341C368.413 167.341 369.347 168.385 369.363 170.473V176.26H367.866V170.465C367.86 169.834 367.715 169.367 367.429 169.065C367.148 168.763 366.708 168.612 366.11 168.612C365.624 168.612 365.198 168.741 364.831 169C364.464 169.259 364.178 169.599 363.973 170.02V176.26H362.476V167.503H363.892ZM373.652 165.383V167.503H375.287V168.661H373.652V174.091C373.652 174.442 373.725 174.706 373.871 174.884C374.017 175.057 374.265 175.143 374.615 175.143C374.788 175.143 375.025 175.111 375.328 175.046V176.26C374.934 176.368 374.551 176.422 374.178 176.422C373.509 176.422 373.005 176.22 372.665 175.815C372.325 175.41 372.155 174.836 372.155 174.091V168.661H370.561V167.503H372.155V165.383H373.652ZM381.276 168.847C381.049 168.809 380.804 168.79 380.54 168.79C379.558 168.79 378.891 169.208 378.541 170.044V176.26H377.043V167.503H378.5L378.524 168.515C379.015 167.733 379.711 167.341 380.612 167.341C380.904 167.341 381.125 167.379 381.276 167.455V168.847ZM382.102 171.801C382.102 170.943 382.269 170.171 382.603 169.486C382.943 168.801 383.413 168.272 384.012 167.9C384.616 167.528 385.304 167.341 386.075 167.341C387.268 167.341 388.231 167.754 388.964 168.58C389.704 169.405 390.073 170.503 390.073 171.874V171.979C390.073 172.831 389.909 173.597 389.58 174.277C389.256 174.952 388.789 175.478 388.179 175.855C387.575 176.233 386.879 176.422 386.091 176.422C384.904 176.422 383.941 176.009 383.202 175.184C382.468 174.358 382.102 173.266 382.102 171.906V171.801ZM383.607 171.979C383.607 172.95 383.831 173.73 384.279 174.318C384.732 174.906 385.336 175.2 386.091 175.2C386.852 175.2 387.456 174.903 387.904 174.31C388.352 173.711 388.576 172.874 388.576 171.801C388.576 170.84 388.347 170.063 387.888 169.47C387.435 168.871 386.831 168.572 386.075 168.572C385.336 168.572 384.74 168.866 384.287 169.454C383.833 170.042 383.607 170.883 383.607 171.979ZM393.578 176.26H392.08V163.829H393.578V176.26ZM401.881 171.647V176.26H400.327V164.476H404.673C405.963 164.476 406.972 164.806 407.7 165.464C408.434 166.122 408.801 166.993 408.801 168.078C408.801 169.222 408.442 170.104 407.724 170.724C407.012 171.339 405.99 171.647 404.657 171.647H401.881ZM401.881 170.376H404.673C405.504 170.376 406.141 170.182 406.583 169.794C407.026 169.4 407.247 168.833 407.247 168.094C407.247 167.393 407.026 166.832 406.583 166.411C406.141 165.99 405.534 165.771 404.762 165.755H401.881V170.376ZM412.176 176.26H410.678V163.829H412.176V176.26ZM419.985 176.26C419.899 176.087 419.829 175.78 419.775 175.337C419.079 176.06 418.248 176.422 417.282 176.422C416.419 176.422 415.71 176.179 415.154 175.693C414.604 175.203 414.328 174.582 414.328 173.832C414.328 172.92 414.674 172.213 415.364 171.712C416.06 171.205 417.037 170.951 418.294 170.951H419.751V170.263C419.751 169.74 419.594 169.324 419.281 169.017C418.968 168.704 418.507 168.547 417.897 168.547C417.363 168.547 416.915 168.682 416.554 168.952C416.192 169.222 416.012 169.548 416.012 169.931H414.506C414.506 169.494 414.66 169.073 414.968 168.669C415.281 168.259 415.701 167.935 416.23 167.697C416.764 167.46 417.35 167.341 417.986 167.341C418.995 167.341 419.786 167.595 420.358 168.102C420.93 168.604 421.226 169.297 421.248 170.182V174.212C421.248 175.016 421.35 175.656 421.556 176.131V176.26H419.985ZM417.501 175.119C417.97 175.119 418.415 174.997 418.836 174.755C419.257 174.512 419.562 174.196 419.751 173.808V172.011H418.577C416.743 172.011 415.826 172.548 415.826 173.622C415.826 174.091 415.982 174.458 416.295 174.722C416.608 174.987 417.01 175.119 417.501 175.119ZM425.011 167.503L425.06 168.604C425.729 167.762 426.603 167.341 427.682 167.341C429.533 167.341 430.466 168.385 430.482 170.473V176.26H428.985V170.465C428.98 169.834 428.834 169.367 428.548 169.065C428.267 168.763 427.828 168.612 427.229 168.612C426.743 168.612 426.317 168.741 425.95 169C425.583 169.259 425.297 169.599 425.092 170.02V176.26H423.595V167.503H425.011ZM436.374 176.422C435.187 176.422 434.221 176.033 433.477 175.256C432.732 174.474 432.36 173.43 432.36 172.124V171.849C432.36 170.981 432.524 170.206 432.854 169.527C433.188 168.841 433.652 168.307 434.246 167.924C434.844 167.536 435.492 167.341 436.188 167.341C437.326 167.341 438.211 167.716 438.842 168.466C439.474 169.216 439.789 170.29 439.789 171.687V172.311H433.857C433.879 173.174 434.13 173.873 434.61 174.407C435.095 174.935 435.71 175.2 436.455 175.2C436.984 175.2 437.432 175.092 437.798 174.876C438.165 174.66 438.486 174.374 438.761 174.018L439.676 174.73C438.942 175.858 437.842 176.422 436.374 176.422ZM436.188 168.572C435.584 168.572 435.076 168.793 434.666 169.235C434.256 169.672 434.003 170.287 433.906 171.08H438.292V170.967C438.249 170.206 438.044 169.618 437.677 169.203C437.31 168.782 436.814 168.572 436.188 168.572Z",fill:"black"},null,-1),Fte=p("path",{d:"M238.841 67L222.904 76.2014L222.904 57.7987L238.841 67ZM143.999 65.4063L224.498 65.4063L224.498 68.5937L143.999 68.5937L143.999 65.4063Z",fill:"var(--graph-color-3)"},null,-1),zte=p("path",{d:"M624.841 67L608.904 76.2014L608.904 57.7987L624.841 67ZM529.999 65.4063L610.497 65.4063L610.497 68.5937L529.999 68.5937L529.999 65.4063Z",fill:"var(--graph-color-3)"},null,-1),Ute=p("g",{filter:"url(#filter1_d)"},[p("path",{d:"M79 106C79 107.105 78.1046 108 77 108L16 108C14.8954 108 14 107.105 14 106L14 28C14 26.8954 14.8954 26 16 26L67 26L67 39.5C67 40.6046 67.8954 41.5 69 41.5L79 41.5L79 106Z",fill:"white"})],-1),jte=p("g",{filter:"url(#filter2_d)"},[p("path",{d:"M79 41.5L67 41.5L67 26L79 41.5Z",fill:"#b6b6bd"})],-1),Gte=p("g",{filter:"url(#filter3_d)"},[p("path",{d:"M691.5 100C708.897 100 723 94.4036 723 87.5V80.5C723 73.5964 708.897 68 691.5 68C674.103 68 660 73.5964 660 80.5V87.5C660 94.4036 674.103 100 691.5 100Z",fill:"white"}),y(),p("path",{d:"M722 87.5C722 88.8593 721.31 90.2576 719.84 91.6363C718.369 93.0166 716.186 94.3058 713.405 95.4093C707.849 97.6142 700.105 99 691.5 99C682.895 99 675.151 97.6142 669.595 95.4093C666.814 94.3058 664.631 93.0166 663.16 91.6363C661.69 90.2576 661 88.8593 661 87.5V80.5C661 79.1407 661.69 77.7424 663.16 76.3637C664.631 74.9834 666.814 73.6942 669.595 72.5907C675.151 70.3858 682.895 69 691.5 69C700.105 69 707.849 70.3858 713.405 72.5907C716.186 73.6942 718.369 74.9834 719.84 76.3637C721.31 77.7424 722 79.1407 722 80.5V87.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),Yte=p("g",{filter:"url(#filter4_d)"},[p("path",{d:"M691.5 86C708.897 86 723 80.4036 723 73.5V66.5C723 59.5964 708.897 54 691.5 54C674.103 54 660 59.5964 660 66.5V73.5C660 80.4036 674.103 86 691.5 86Z",fill:"white"}),y(),p("path",{d:"M722 73.5C722 74.8593 721.31 76.2576 719.84 77.6363C718.369 79.0166 716.186 80.3058 713.405 81.4093C707.849 83.6142 700.105 85 691.5 85C682.895 85 675.151 83.6142 669.595 81.4093C666.814 80.3058 664.631 79.0166 663.16 77.6363C661.69 76.2576 661 74.8593 661 73.5V66.5C661 65.1407 661.69 63.7424 663.16 62.3637C664.631 60.9834 666.814 59.6942 669.595 58.5907C675.151 56.3858 682.895 55 691.5 55C700.105 55 707.849 56.3858 713.405 58.5907C716.186 59.6942 718.369 60.9834 719.84 62.3637C721.31 63.7424 722 65.1407 722 66.5V73.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),Kte=p("g",{filter:"url(#filter5_d)"},[p("path",{d:"M691.5 72C708.897 72 723 66.4036 723 59.5V52.5C723 45.5964 708.897 40 691.5 40C674.103 40 660 45.5964 660 52.5V59.5C660 66.4036 674.103 72 691.5 72Z",fill:"white"}),y(),p("path",{d:"M722 59.5C722 60.8593 721.31 62.2576 719.84 63.6363C718.369 65.0166 716.186 66.3058 713.405 67.4093C707.849 69.6142 700.105 71 691.5 71C682.895 71 675.151 69.6142 669.595 67.4093C666.814 66.3058 664.631 65.0166 663.16 63.6363C661.69 62.2576 661 60.8593 661 59.5V52.5C661 51.1407 661.69 49.7424 663.16 48.3637C664.631 46.9834 666.814 45.6942 669.595 44.5907C675.151 42.3858 682.895 41 691.5 41C700.105 41 707.849 42.3858 713.405 44.5907C716.186 45.6942 718.369 46.9834 719.84 48.3637C721.31 49.7424 722 51.1407 722 52.5V59.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),Wte=p("g",{filter:"url(#filter6_d)"},[p("path",{d:"M691.5 58C708.897 58 723 52.4036 723 45.5V38.5C723 31.5964 708.897 26 691.5 26C674.103 26 660 31.5964 660 38.5V45.5C660 52.4036 674.103 58 691.5 58Z",fill:"white"}),y(),p("path",{d:"M722 45.5C722 46.8593 721.31 48.2576 719.84 49.6363C718.369 51.0166 716.186 52.3058 713.405 53.4093C707.849 55.6142 700.105 57 691.5 57C682.895 57 675.151 55.6142 669.595 53.4093C666.814 52.3058 664.631 51.0166 663.16 49.6363C661.69 48.2576 661 46.8593 661 45.5V38.5C661 37.1407 661.69 35.7424 663.16 34.3637C664.631 32.9834 666.814 31.6942 669.595 30.5907C675.151 28.3858 682.895 27 691.5 27C700.105 27 707.849 28.3858 713.405 30.5907C716.186 31.6942 718.369 32.9834 719.84 34.3637C721.31 35.7424 722 37.1407 722 38.5V45.5Z",stroke:"#b6b6bd","stroke-width":"2"})],-1),qte=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter7_d)"},[p("circle",{cx:"92",cy:"66",r:"27",fill:"url(#paint0_linear)"}),y(),p("circle",{cx:"92",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M89.7607 70.5791C89.7607 69.0296 89.9489 67.7956 90.3252 66.877C90.7015 65.9583 91.3877 65.0563 92.3838 64.1709C93.391 63.2744 94.0605 62.5495 94.3926 61.9961C94.7246 61.4316 94.8906 60.8395 94.8906 60.2197C94.8906 58.3493 94.0273 57.4141 92.3008 57.4141C91.4818 57.4141 90.8232 57.6686 90.3252 58.1777C89.8382 58.6758 89.5837 59.3675 89.5615 60.2529H84.7471C84.7692 58.139 85.4499 56.4844 86.7891 55.2891C88.1393 54.0938 89.9766 53.4961 92.3008 53.4961C94.6471 53.4961 96.4678 54.0661 97.7627 55.2061C99.0576 56.335 99.7051 57.9342 99.7051 60.0039C99.7051 60.9447 99.4948 61.8356 99.0742 62.6768C98.6536 63.5068 97.9176 64.431 96.8662 65.4492L95.5215 66.7275C94.6803 67.5355 94.1989 68.4818 94.0771 69.5664L94.0107 70.5791H89.7607ZM89.2793 75.6758C89.2793 74.9342 89.5283 74.3255 90.0264 73.8496C90.5355 73.3626 91.1829 73.1191 91.9688 73.1191C92.7546 73.1191 93.3965 73.3626 93.8945 73.8496C94.4036 74.3255 94.6582 74.9342 94.6582 75.6758C94.6582 76.4062 94.4092 77.0094 93.9111 77.4854C93.4242 77.9613 92.7767 78.1992 91.9688 78.1992C91.1608 78.1992 90.5078 77.9613 90.0098 77.4854C89.5228 77.0094 89.2793 76.4062 89.2793 75.6758Z",fill:"var(--graph-color-7)"})],-1),Qte=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter8_d)"},[p("circle",{cx:"495",cy:"66",r:"27",fill:"url(#paint1_linear)"}),y(),p("circle",{cx:"495",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M492.761 70.5791C492.761 69.0296 492.949 67.7956 493.325 66.877C493.701 65.9583 494.388 65.0563 495.384 64.1709C496.391 63.2744 497.061 62.5495 497.393 61.9961C497.725 61.4316 497.891 60.8395 497.891 60.2197C497.891 58.3493 497.027 57.4141 495.301 57.4141C494.482 57.4141 493.823 57.6686 493.325 58.1777C492.838 58.6758 492.584 59.3675 492.562 60.2529H487.747C487.769 58.139 488.45 56.4844 489.789 55.2891C491.139 54.0938 492.977 53.4961 495.301 53.4961C497.647 53.4961 499.468 54.0661 500.763 55.2061C502.058 56.335 502.705 57.9342 502.705 60.0039C502.705 60.9447 502.495 61.8356 502.074 62.6768C501.654 63.5068 500.918 64.431 499.866 65.4492L498.521 66.7275C497.68 67.5355 497.199 68.4818 497.077 69.5664L497.011 70.5791H492.761ZM492.279 75.6758C492.279 74.9342 492.528 74.3255 493.026 73.8496C493.535 73.3626 494.183 73.1191 494.969 73.1191C495.755 73.1191 496.396 73.3626 496.895 73.8496C497.404 74.3255 497.658 74.9342 497.658 75.6758C497.658 76.4062 497.409 77.0094 496.911 77.4854C496.424 77.9613 495.777 78.1992 494.969 78.1992C494.161 78.1992 493.508 77.9613 493.01 77.4854C492.523 77.0094 492.279 76.4062 492.279 75.6758Z",fill:"var(--graph-color-7)"})],-1),Xte=p("g",{class:"cursor-help animate-pulse"},[p("g",{filter:"url(#filter9_d)"},[p("circle",{cx:"745",cy:"66",r:"27",fill:"url(#paint2_linear)"}),y(),p("circle",{cx:"745",cy:"66",r:"25",stroke:"white","stroke-width":"4"})]),y(),p("path",{d:"M742.761 70.5791C742.761 69.0296 742.949 67.7956 743.325 66.877C743.701 65.9583 744.388 65.0563 745.384 64.1709C746.391 63.2744 747.061 62.5495 747.393 61.9961C747.725 61.4316 747.891 60.8395 747.891 60.2197C747.891 58.3493 747.027 57.4141 745.301 57.4141C744.482 57.4141 743.823 57.6686 743.325 58.1777C742.838 58.6758 742.584 59.3675 742.562 60.2529H737.747C737.769 58.139 738.45 56.4844 739.789 55.2891C741.139 54.0938 742.977 53.4961 745.301 53.4961C747.647 53.4961 749.468 54.0661 750.763 55.2061C752.058 56.335 752.705 57.9342 752.705 60.0039C752.705 60.9447 752.495 61.8356 752.074 62.6768C751.654 63.5068 750.918 64.431 749.866 65.4492L748.521 66.7275C747.68 67.5355 747.199 68.4818 747.077 69.5664L747.011 70.5791H742.761ZM742.279 75.6758C742.279 74.9342 742.528 74.3255 743.026 73.8496C743.535 73.3626 744.183 73.1191 744.969 73.1191C745.755 73.1191 746.396 73.3626 746.895 73.8496C747.404 74.3255 747.658 74.9342 747.658 75.6758C747.658 76.4062 747.409 77.0094 746.911 77.4854C746.424 77.9613 745.777 78.1992 744.969 78.1992C744.161 78.1992 743.508 77.9613 743.01 77.4854C742.523 77.0094 742.279 76.4062 742.279 75.6758Z",fill:"var(--graph-color-7)"})],-1),Jte=Oi(' ',1),ene=ne({__name:"KubernetesGraph",setup(e){const{t}=Vt();return(n,r)=>(m(),x("svg",Bte,[Hte,y(),Ote,y(),Ite,y(),Vte,y(),Pte,y(),Nte,y(),Zte,y(),$te,y(),Rte,y(),Fte,y(),zte,y(),Ute,y(),jte,y(),Gte,y(),Yte,y(),Kte,y(),Wte,y(),V(E(Bt),{trigger:"hover",title:"Yaml","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:A(()=>[y(` Configuration for all `+H(E(t)("common.product.name"))+` resources is specified in YAML config files. The config files can be stored in an external datastore. `,1)]),default:A(()=>[qte,y()]),_:1}),y(),V(E(Bt),{trigger:"hover",title:E(t)("common.product.name"),"is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:A(()=>[y(` @@ -567,7 +567,7 @@ Kongponent Docs: https://kongponents.konghq.com/components/tooltip.html`)),()=>L The control plane provides the config for all services in the mesh. `)]),default:A(()=>[$re,y()]),_:1},8,["title"]),y(),V(E(Bt),{trigger:"hover",title:"Data Plane Proxy (DPP)","is-svg":!0,tag:"g",placement:"rightEnd","popover-timeout":5},{content:A(()=>[y(H(E(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:A(()=>[Rre,y()]),_:1}),y(),Fre,y(),zre,y(),Ure]))}}),Cn={KumaLogo:nn(_ee,{description:"KumaLogo"}),GithubButton:nn(LJ,{description:"GithubButton"}),MainOverview:nn(Ete,{description:"MainOverview"}),KubernetesGraph:nn(ene,{description:"KubernetesGraph"}),PostgresGraph:nn(_re,{description:"PostgresGraph"}),MemoryGraph:nn(mne,{description:"MemoryGraph"}),MultizoneGraph:nn(Jne,{description:"MultizoneGraph"}),StandaloneGraph:nn(jre,{description:"StandaloneGraph"}),AppSidebar:nn(Cee,{description:"AppSidebar"}),AppHeader:nn(WJ,{description:"AppHeader"}),AppLoadingBar:nn(iee,{description:"AppLoadingBar"}),AppOnboardingNotification:nn(dee,{description:"AppOnboardingNotification"}),MainView:nn(XJ,{description:"MainView"}),MeshDetails:nn(Tte,{description:"MeshDetails"})},[Gre,Yre,Pie,Nie,Zie,$ie,Rie,Fie,zie,Uie,jie,Gie,Kre,Yie]=p7(Cn.KumaLogo,Cn.GithubButton,Cn.MainOverview,Cn.KubernetesGraph,Cn.PostgresGraph,Cn.MemoryGraph,Cn.MultizoneGraph,Cn.StandaloneGraph,Cn.AppSidebar,Cn.AppHeader,Cn.AppLoadingBar,Cn.AppOnboardingNotification,Cn.MainView,Cn.MeshDetails),Wre={key:0,"aria-label":"Breadcrumb"},qre={key:0,class:"app-view-title-bar"},Qre={key:1,class:"actions"},Xre={key:0,class:"app-view-title-bar"},Jre={key:1,class:"actions"},eoe=ne({__name:"AppView",props:{breadcrumbs:{type:Array,required:!1,default:null},fullscreen:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,n=Kre(),r=xt(),o=new Map,a=G([]),i=Symbol("app-view"),s=d=>{const h=[...d.values()];h.some(f=>f.length===0)?a.value=[]:a.value=h.flat()},l={addBreadcrumbs:(d,h)=>{typeof d<"u"&&(o.set(h,d),s(o))},removeBreadcrumbs:d=>{o.delete(d),s(o)}},c=_n("app-view-parent",void 0);c||Na("app-view-parent",l);const u=c||l;return De(()=>t.breadcrumbs,d=>{d!==null&&u.addBreadcrumbs(d,i)},{immediate:!0}),ir(()=>{u.removeBreadcrumbs(i)}),(d,h)=>E(c)?(m(),x("section",{key:1,class:X({"is-fullscreen":t.fullscreen})},[E(r).title?(m(),x("header",Xre,[t.fullscreen?(m(),Q(E(Ae),{key:0,icon:"kong"})):P("",!0),y(),$(d.$slots,"title",{},void 0,!0),y(),E(r).actions?(m(),x("div",Jre,[$(d.$slots,"actions",{},void 0,!0)])):P("",!0)])):P("",!0),y(),$(d.$slots,"default",{},void 0,!0)],2)):(m(),Q(E(n),{key:0,class:"app-main-content"},{default:A(()=>[a.value.length>0?(m(),x("nav",Wre,[V(E(G7),{items:a.value},null,8,["items"])])):P("",!0),y(),p("section",{class:X({"is-fullscreen":t.fullscreen})},[E(r).title?(m(),x("header",qre,[t.fullscreen?(m(),Q(E(Ae),{key:0,icon:"kong"})):P("",!0),y(),$(d.$slots,"title",{},void 0,!0),y(),E(r).actions?(m(),x("div",Qre,[$(d.$slots,"actions",{},void 0,!0)])):P("",!0)])):P("",!0),y(),$(d.$slots,"default",{},void 0,!0)],2)]),_:3}))}});const toe=Gt(eoe,[["__scopeId","data-v-0b9fb9fe"]]),t7=Symbol("route-view-parent"),noe=ne({__name:"RouteTitle",props:{title:{type:String,required:!1,default:""},render:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,n=Symbol("route-title"),r=_n(t7);return typeof r<"u"&&(De(()=>t.title,o=>{o.length>0&&r.addTitle(o,n)},{immediate:!0}),ir(()=>{r.removeTitle(n)})),(o,a)=>t.render?(m(),x(ke,{key:0},[y(H(t.title),1)],64)):P("",!0)}}),af=function(e){let t;return(...n)=>{t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e.bind(e,...n))}},roe=function(e){return(Array.isArray(e)?e[0]:e)??""},ooe=(e=document)=>af(t=>{e.title=t}),aoe=(e=document.documentElement)=>{if(!e)return()=>{};const t=[...e.classList];return af(n=>{const r=n.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(...r.class||[])})},ioe=(e,t)=>{const n={...t},r=Object.entries(e).reduce((o,[a,i])=>(String(i).length>0?o[a]=encodeURIComponent(String(i)):o[a]=void 0,o),n);return{...n,...r}},soe={class:"route-view"},loe={key:0,class:"route-view-title visually-hidden","aria-live":"assertive","aria-atomic":"true"},coe=ne({__name:"RouteView",props:{name:{type:String,required:!1,default:""},attrs:{type:Object,required:!1,default:()=>({})}},setup(e){const t=e,n=C2(),r=T3(),{t:o}=Vt(),a=ql(),i=RC(),s=ooe(document),l=aoe(document.documentElement),c=Symbol("route-view"),u=G(""),d=new Map,h=new Map,f=b=>b.reverse().concat(o("components.route-view.title",{name:o("common.product.name")})).join(" | "),v={addTitle:(b,w)=>{u.value=b,d.set(w,b),s(f([...d.values()]))},removeTitle:b=>{d.delete(b),s(f([...d.values()]))},addAttrs:(b,w)=>{h.set(w,b),l([...h.values()])},removeAttrs:b=>{h.delete(b),l([...h.values()])}},_=_n(t7,void 0);_||(s(o("components.route-view.title",{name:o("common.product.name")})),Na(t7,v));const C=_||v;return De(()=>t.attrs,b=>{Object.keys(b).length>0&&C.addAttrs(b,c)},{immediate:!0}),ir(()=>{C.removeAttrs(c)}),(b,w)=>(m(),x("div",soe,[E(_)?P("",!0):(m(),x("div",loe,H(E(o)("components.route-view.route-announcer",{title:u.value})),1)),y(),$(b.$slots,"default",{t:E(o),env:E(n),can:E(r),route:{update:g=>{const k=E(a).query.page?"push":"replace";E(i)[k]({name:t.name,query:E(ioe)(g,E(a).query)})},replace:(...g)=>{E(i).push(...g)},params:Object.fromEntries(Object.entries(E(a).params).map(([g,k])=>[g,E(roe)(k)]))}})]))}}),uoe=e=>{const t=(n,r)=>typeof e[n]<"u"?e[n](t,r):!1;return t},ui={can:$e("application.can"),features:$e("application.can.features"),applicationComponents:$e("application.components")},doe=e=>[[ui.applicationComponents,{service:()=>[["AppView",toe],["DataSource",Li],["RouteView",coe],["RouteTitle",noe]],labels:[e.components]}],[ui.can,{service:uoe,arguments:[ui.features]}]],hoe=ui,[T3]=p7(ui.can);var di=class{constructor(t,n,r,o,a,i){lt(this,"type",3);lt(this,"name","");lt(this,"prefix","");lt(this,"value","");lt(this,"suffix","");lt(this,"modifier",3);this.type=t,this.name=n,this.prefix=r,this.value=o,this.suffix=a,this.modifier=i}hasCustomName(){return this.name!==""&&typeof this.name!="number"}},foe=/[$_\p{ID_Start}]/u,poe=/[$_\u200C\u200D\p{ID_Continue}]/u,n7=".*";function moe(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function sf(e,t=!1){let n=[],r=0;for(;r{if(il("OTHER_MODIFIER")??l("ASTERISK"),u=w=>{let g=l(w);if(g!==void 0)return g;let{type:k,index:B}=n[i];throw new TypeError(`Unexpected ${k} at ${B}, expected ${w}`)},d=()=>{let w="",g;for(;g=l("CHAR")??l("ESCAPED_CHAR");)w+=g;return w},h=w=>w,f=t.encodePart||h,v="",_=w=>{v+=w},C=()=>{v.length&&(o.push(new di(3,"","",f(v),"",3)),v="")},b=(w,g,k,B,Z)=>{let j=3;switch(Z){case"?":j=1;break;case"*":j=0;break;case"+":j=2;break}if(!g&&!k&&j===3){_(w);return}if(C(),!g&&!k){if(!w)return;o.push(new di(3,"","",f(w),"",j));return}let F;k?k==="*"?F=n7:F=k:F=r;let D=2;F===r?(D=1,F=""):F===n7&&(D=0,F="");let S;if(g?S=g:k&&(S=a++),s.has(S))throw new TypeError(`Duplicate name '${S}'.`);s.add(S),o.push(new di(D,S,f(w),F,f(B),j))};for(;i-1)}return i||(r+=`(?=${a}|${o})`),new RegExp(r,fu(n))}var fo={delimiter:"",prefixes:"",sensitive:!0,strict:!0},goe={delimiter:".",prefixes:"",sensitive:!0,strict:!0},Coe={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function yoe(e,t){return e.length?e[0]==="/"?!0:!t||e.length<2?!1:(e[0]=="\\"||e[0]=="{")&&e[1]=="/":!1}function uf(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function boe(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}function df(e){return!e||e.length<2?!1:e[0]==="["||(e[0]==="\\"||e[0]==="{")&&e[1]==="["}var hf=["ftp","file","http","https","ws","wss"];function ff(e){if(!e)return!0;for(let t of hf)if(e.test(t))return!0;return!1}function woe(e,t){if(e=uf(e,"#"),t||e==="")return e;let n=new URL("https://example.com");return n.hash=e,n.hash?n.hash.substring(1,n.hash.length):""}function _oe(e,t){if(e=uf(e,"?"),t||e==="")return e;let n=new URL("https://example.com");return n.search=e,n.search?n.search.substring(1,n.search.length):""}function koe(e,t){return t||e===""?e:df(e)?vf(e):mf(e)}function Moe(e,t){if(t||e==="")return e;let n=new URL("https://example.com");return n.password=e,n.password}function xoe(e,t){if(t||e==="")return e;let n=new URL("https://example.com");return n.username=e,n.username}function Soe(e,t,n){if(n||e==="")return e;if(t&&!hf.includes(t))return new URL(`${t}:${e}`).pathname;let r=e[0]=="/";return e=new URL(r?e:"/-"+e,"https://example.com").pathname,r||(e=e.substring(2,e.length)),e}function Eoe(e,t,n){return pf(t)===e&&(e=""),n||e===""?e:gf(e)}function Aoe(e,t){return e=boe(e,":"),t||e===""?e:B3(e)}function pf(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function B3(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function Loe(e){if(e==="")return e;let t=new URL("https://example.com");return t.username=e,t.username}function Doe(e){if(e==="")return e;let t=new URL("https://example.com");return t.password=e,t.password}function mf(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 vf(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function gf(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function Toe(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 Boe(e){return e===""?e:new URL(`data:${e}`).pathname}function Hoe(e){if(e==="")return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function Ooe(e){if(e==="")return e;let t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}var $a,an,kt,mt,Qo,Ra,zr,Fa,za,Ua,Tt,Nt,Ml,Cf,Ti,r7,Xo,j1,ja,Is,bn,Pn,Bi,o7,xl,yf,Ga,Vs,Sl,bf,El,wf,Ya,Ps,Co,Ta,Ur,Fo,Al,_f,Ll,kf,Dl,Mf,Tl,xf,Zn,hr,Bl,Sf,Hu,Ioe=(Hu=class{constructor(e){Qe(this,Tt);Qe(this,Ml);Qe(this,Ti);Qe(this,Xo);Qe(this,ja);Qe(this,bn);Qe(this,Bi);Qe(this,xl);Qe(this,Ga);Qe(this,Sl);Qe(this,El);Qe(this,Ya);Qe(this,Co);Qe(this,Ur);Qe(this,Al);Qe(this,Ll);Qe(this,Dl);Qe(this,Tl);Qe(this,Zn);Qe(this,Bl);Qe(this,$a,void 0);Qe(this,an,[]);Qe(this,kt,{});Qe(this,mt,0);Qe(this,Qo,1);Qe(this,Ra,0);Qe(this,zr,0);Qe(this,Fa,0);Qe(this,za,0);Qe(this,Ua,!1);$t(this,$a,e)}get result(){return oe(this,kt)}parse(){for($t(this,an,sf(oe(this,$a),!0));oe(this,mt)0)if(ge(this,Ll,kf).call(this))$t(this,Fa,oe(this,Fa)-1);else continue;if(ge(this,Al,_f).call(this)){$t(this,Fa,oe(this,Fa)+1);continue}switch(oe(this,zr)){case 0:ge(this,Bi,o7).call(this)&&(oe(this,kt).username="",oe(this,kt).password="",oe(this,kt).hostname="",oe(this,kt).port="",oe(this,kt).pathname="",oe(this,kt).search="",oe(this,kt).hash="",ge(this,Xo,j1).call(this,1));break;case 1:if(ge(this,Bi,o7).call(this)){ge(this,Bl,Sf).call(this);let e=7,t=1;oe(this,Ua)&&(oe(this,kt).pathname="/"),ge(this,xl,yf).call(this)?(e=2,t=3):oe(this,Ua)&&(e=2),ge(this,Tt,Nt).call(this,e,t)}break;case 2:ge(this,Ga,Vs).call(this)?ge(this,Xo,j1).call(this,3):(ge(this,Ya,Ps).call(this)||ge(this,Co,Ta).call(this)||ge(this,Ur,Fo).call(this))&&ge(this,Xo,j1).call(this,5);break;case 3:ge(this,Sl,bf).call(this)?ge(this,Tt,Nt).call(this,4,1):ge(this,Ga,Vs).call(this)&&ge(this,Tt,Nt).call(this,5,1);break;case 4:ge(this,Ga,Vs).call(this)&&ge(this,Tt,Nt).call(this,5,1);break;case 5:ge(this,Dl,Mf).call(this)?$t(this,za,oe(this,za)+1):ge(this,Tl,xf).call(this)&&$t(this,za,oe(this,za)-1),ge(this,El,wf).call(this)&&!oe(this,za)?ge(this,Tt,Nt).call(this,6,1):ge(this,Ya,Ps).call(this)?ge(this,Tt,Nt).call(this,7,0):ge(this,Co,Ta).call(this)?ge(this,Tt,Nt).call(this,8,1):ge(this,Ur,Fo).call(this)&&ge(this,Tt,Nt).call(this,9,1);break;case 6:ge(this,Ya,Ps).call(this)?ge(this,Tt,Nt).call(this,7,0):ge(this,Co,Ta).call(this)?ge(this,Tt,Nt).call(this,8,1):ge(this,Ur,Fo).call(this)&&ge(this,Tt,Nt).call(this,9,1);break;case 7:ge(this,Co,Ta).call(this)?ge(this,Tt,Nt).call(this,8,1):ge(this,Ur,Fo).call(this)&&ge(this,Tt,Nt).call(this,9,1);break;case 8:ge(this,Ur,Fo).call(this)&&ge(this,Tt,Nt).call(this,9,1);break}}}},$a=new WeakMap,an=new WeakMap,kt=new WeakMap,mt=new WeakMap,Qo=new WeakMap,Ra=new WeakMap,zr=new WeakMap,Fa=new WeakMap,za=new WeakMap,Ua=new WeakMap,Tt=new WeakSet,Nt=function(e,t){switch(oe(this,zr)){case 0:break;case 1:oe(this,kt).protocol=ge(this,Zn,hr).call(this);break;case 2:break;case 3:oe(this,kt).username=ge(this,Zn,hr).call(this);break;case 4:oe(this,kt).password=ge(this,Zn,hr).call(this);break;case 5:oe(this,kt).hostname=ge(this,Zn,hr).call(this);break;case 6:oe(this,kt).port=ge(this,Zn,hr).call(this);break;case 7:oe(this,kt).pathname=ge(this,Zn,hr).call(this);break;case 8:oe(this,kt).search=ge(this,Zn,hr).call(this);break;case 9:oe(this,kt).hash=ge(this,Zn,hr).call(this);break}ge(this,Ml,Cf).call(this,e,t)},Ml=new WeakSet,Cf=function(e,t){$t(this,zr,e),$t(this,Ra,oe(this,mt)+t),$t(this,mt,oe(this,mt)+t),$t(this,Qo,0)},Ti=new WeakSet,r7=function(){$t(this,mt,oe(this,Ra)),$t(this,Qo,0)},Xo=new WeakSet,j1=function(e){ge(this,Ti,r7).call(this),$t(this,zr,e)},ja=new WeakSet,Is=function(e){return e<0&&(e=oe(this,an).length-e),e=0&&(e.pathname=Ir(r.pathname.substring(0,o+1),n)+e.pathname)}e.pathname=Soe(e.pathname,e.protocol,n)}return typeof t.search=="string"&&(e.search=_oe(t.search,n)),typeof t.hash=="string"&&(e.hash=woe(t.hash,n)),e}function G1(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function Voe(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function Poe(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 n=".*",r=`[^${Voe(t.delimiter)}]+?`,o=/[$_\u200C\u200D\p{ID_Continue}]/u,a="";for(let i=0;i0?e[i-1]:null,d=i0?d.value[0]:"";c=o.test(h)}else c=!d.hasCustomName();if(!c&&!s.prefix.length&&u&&u.type===3){let h=u.value[u.value.length-1];c=t.prefixes.includes(h)}c&&(a+="{"),a+=G1(s.prefix),l&&(a+=`:${s.name}`),s.type===2?a+=`(${s.value})`:s.type===1?l||(a+=`(${r})`):s.type===0&&(!l&&(!u||u.type===3||u.modifier!==3||c||s.prefix!=="")?a+="*":a+=`(${n})`),s.type===1&&l&&s.suffix.length&&o.test(s.suffix[0])&&(a+="\\"),a+=G1(s.suffix),c&&(a+="}"),s.modifier!==3&&(a+=Ha(s.modifier))}return a}var vr,Jo,Ka,Rt,gr,Ou,Ef=(Ou=class{constructor(t={},n,r){Qe(this,vr,void 0);Qe(this,Jo,{});Qe(this,Ka,{});Qe(this,Rt,{});Qe(this,gr,{});try{let o;if(typeof n=="string"?o=n:r=n,typeof t=="string"){let l=new Ioe(t);if(l.parse(),t=l.result,o===void 0&&typeof t.protocol!="string")throw new TypeError("A base URL must be provided for a relative constructor string.");t.baseURL=o}else{if(!t||typeof t!="object")throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");if(o)throw new TypeError("parameter 1 is not of type 'string'.")}typeof r>"u"&&(r={ignoreCase:!1});let a={ignoreCase:r.ignoreCase===!0};$t(this,vr,V1({pathname:co,protocol:co,username:co,password:co,hostname:co,port:co,search:co,hash:co},t,!0)),pf(oe(this,vr).protocol)===oe(this,vr).port&&(oe(this,vr).port="");let s;for(s of b0){if(!(s in oe(this,vr)))continue;let l={},c=oe(this,vr)[s];switch(oe(this,Ka)[s]=[],s){case"protocol":Object.assign(l,fo),l.encodePart=B3;break;case"username":Object.assign(l,fo),l.encodePart=Loe;break;case"password":Object.assign(l,fo),l.encodePart=Doe;break;case"hostname":Object.assign(l,goe),df(c)?l.encodePart=vf:l.encodePart=mf;break;case"port":Object.assign(l,fo),l.encodePart=gf;break;case"pathname":ff(oe(this,Jo).protocol)?(Object.assign(l,Coe,a),l.encodePart=Toe):(Object.assign(l,fo,a),l.encodePart=Boe);break;case"search":Object.assign(l,fo,a),l.encodePart=Hoe;break;case"hash":Object.assign(l,fo,a),l.encodePart=Ooe;break}try{oe(this,gr)[s]=lf(c,l),oe(this,Jo)[s]=cf(oe(this,gr)[s],oe(this,Ka)[s],l),oe(this,Rt)[s]=Poe(oe(this,gr)[s],l)}catch{throw new TypeError(`invalid ${s} pattern '${oe(this,vr)[s]}'.`)}}}catch(o){throw new TypeError(`Failed to construct 'URLPattern': ${o.message}`)}}test(t={},n){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof t!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof t>"u")return!1;try{typeof t=="object"?r=V1(r,t,!1):r=V1(r,pu(t,n),!1)}catch{return!1}let o;for(o of b0)if(!oe(this,Jo)[o].exec(r[o]))return!1;return!0}exec(t={},n){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof t!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof t>"u")return;try{typeof t=="object"?r=V1(r,t,!1):r=V1(r,pu(t,n),!1)}catch{return null}let o={};n?o.inputs=[t,n]:o.inputs=[t];let a;for(a of b0){let i=oe(this,Jo)[a].exec(r[a]);if(!i)return null;let s={};for(let[l,c]of oe(this,Ka)[a].entries())if(typeof c=="string"||typeof c=="number"){let u=i[l+1];s[c]=u}o[a]={input:r[a]??"",groups:s}}return o}static compareComponent(t,n,r){let o=(l,c)=>{for(let u of["type","modifier","prefix","value","suffix"]){if(l[u]{let u=0;for(;u{this.routes.set(new Ef({pathname:n}),r)})}match(t){for(const[n,r]of this.routes){const o=`data:${t}`;if(n.test(o)){const a=n.exec(o);return{route:r,params:(a==null?void 0:a.pathname.groups)||{}}}}throw new Error(`Matching route for '${t}' not found`)}}class Zoe{constructor(t,n){lt(this,"pool",new Map);this.create=t,this.destroy=n}acquire(t,n){if(!this.pool.has(t)){const o={value:this.create(t),references:new Set};this.pool.set(t,o)}const r=this.pool.get(t);return r.references.add(n),r.value}release(t,n){if(this.pool.has(t)){const r=this.pool.get(t);r.references.delete(n),r.references.size===0&&(this.pool.delete(t),this.destroy(t,r.value))}}}class $oe{constructor(t,{create:n,destroy:r},o){lt(this,"cache",new Map);lt(this,"pool");lt(this,"getCacheKeyPrefix");const a=new Noe(t);this.pool=new Zoe(i=>n(i,a),(i,s)=>{r(i,s)}),this.getCacheKeyPrefix=o}source(t,n){const r=this.getCacheKeyPrefix()+t,o=this.pool.acquire(t,n);return o.addEventListener("message",a=>{this.cache.set(r,a.data)}),this.cache.has(r)&&Promise.resolve().then(()=>{o==null||o.dispatchEvent(new MessageEvent("message",{data:this.cache.get(r)}))}),o}close(t,n){return this.pool.release(t,n)}}const Roe=0,Foe=1,zo=2,zoe=e=>e.readyState===zo;class Uoe extends EventTarget{constructor(n,r={}){super();lt(this,"url","");lt(this,"withCredentials",!1);lt(this,"CONNECTING",Roe);lt(this,"OPEN",Foe);lt(this,"CLOSED",zo);lt(this,"onerror",null);lt(this,"onmessage",null);lt(this,"onopen",null);lt(this,"readyState",zo);this.source=n,this._open()}_open(){(async function(n){try{n.readyState=0;const r=n.source();for await(const o of r)if(n.dispatchEvent(new MessageEvent("message",{data:o})),n.readyState===zo)break;n.readyState=zo}catch(r){n.dispatchEvent(new ErrorEvent("error",{error:r}))}})(this)}open(){this.readyState!==zo&&this._open()}close(){this.readyState=zo}}const joe=(e,t)=>{const[n,r]=e.split("?"),o=new URLSearchParams(r),a=t.match(n);return new Uoe(async function*(){for(;;)this.readyState=1,yield a.route({offset:parseInt(o.get("offset")||"0"),size:parseInt(o.get("size")||"0"),page:parseInt(o.get("page")||"0"),search:o.get("search")||"",...a.params},this),zoe(this)||await new Promise(s=>setTimeout(s,5e3))})},Goe=(e,t)=>{t&&t.close()},Yoe={create:joe,destroy:Goe},Koe=["protocol","service","zone"];function a7(e){const t=new Map;for(const[n,r]of e){const o=Koe.includes(n),a=o?"tag":n;t.has(a)||t.set(a,[]);const i=t.get(a);let s;a==="tag"?s=(o?`kuma.io/${n}:${r}`:r).replace(/\s+/g,""):s=r,i.push(s.trim())}return t}const Woe=e=>({"/meshes/:mesh/dataplanes":async(t,n)=>{n.close();const{mesh:r,size:o}=t,a=t.size*(t.page-1),i="false",s=Object.fromEntries(a7(JSON.parse(t.search||"[]")));return e.getAllDataplaneOverviewsFromMesh({mesh:r},{...s,gateway:i,offset:a,size:o})},"/meshes/:mesh/dataplanes/:name":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getDataplaneFromMesh({mesh:r,name:o})},"/meshes/:mesh/dataplanes/:name/data-path/:dataPath":(t,n)=>{n.close();const{mesh:r,name:o,dataPath:a}=t;return e.getDataplaneData({mesh:r,dppName:o,dataPath:a})},"/meshes/:mesh/dataplanes/:name/sidecar-dataplanes-policies":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getSidecarDataplanePolicies({mesh:r,name:o})},"/meshes/:mesh/dataplanes/:name/rules":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getDataplaneRules({mesh:r,name:o})},"/meshes/:mesh/dataplane-overviews/:name":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getDataplaneOverviewFromMesh({mesh:r,name:o})},"/meshes/:mesh/dataplanes/for/:service/of/:type":async(t,n)=>{n.close();const{mesh:r,size:o}=t,a=t.size*(t.page-1),i=Object.fromEntries(a7(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:r},{...i,...s,offset:a,size:o})}});function Ft(e,t=0){const n=qoe(e);return n!==void 0?parseInt(n):t}function qoe(e){const t=Array.isArray(e)?e:[e];return t[t.length-1]??void 0}const Qoe=()=>({items:(t="data-planes")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"data-planes"},redirect:()=>({name:"data-planes-list-view"}),children:[{path:"",name:`${t}-list-view`,props:n=>({mesh:n.params.mesh,page:Ft(n.query.page,1),size:Ft(n.query.size,kr),query:decodeURIComponent(String(n.query.query||"")),search:decodeURIComponent(String(n.query.s||""))}),component:()=>be(()=>import("./DataPlaneListView-31a5f3e1.js"),["./KFilterBar-919ca0fb.css","./DataPlaneListView-07060462.css"],import.meta.url)}]}],item:(t="data-plane")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"data-planes"},redirect:()=>({name:"data-planes-list-view"}),children:[{path:":dataPlane",name:`${t}-detail-tabs-view`,component:()=>be(()=>import("./DataPlaneDetailTabsView-87e7932c.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:`${t}-detail-view`,component:()=>be(()=>import("./DataPlaneDetailView-9298105f.js"),["./AccordionList-8bab9627.css","./SubscriptionList-64757846.css","./TagList-613e8329.css","./DataPlaneDetailView-cb3782fe.css"],import.meta.url)},{path:"policies",name:`${t}-policies-view`,component:()=>be(()=>import("./DataPlanePoliciesView-c516bd61.js"),["./AccordionList-8bab9627.css","./CodeBlock-7d9027b4.css","./PolicyTypeTag-05fd0df0.css","./TagList-613e8329.css","./DataPlanePoliciesView-3172c9cb.css"],import.meta.url)},{path:"xds-config",name:`${t}-xds-config-view`,component:()=>be(()=>import("./DataPlaneXdsConfigView-17755515.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"stats",name:`${t}-stats-view`,component:()=>be(()=>import("./DataPlaneStatsView-1caac936.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"clusters",name:`${t}-clusters-view`,component:()=>be(()=>import("./DataPlaneClustersView-ce652d1f.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"config",name:`${t}-config-view`,component:()=>be(()=>import("./DataPlaneConfigView-5e401de5.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}]}),Xoe={sources:$e("mesh.sources")},Joe=e=>[[Xoe.sources,{service:Woe,arguments:[e.api],labels:[e.sources]}]],eae=e=>({"/meshes/:mesh/gateways":async(t,n)=>{n.close();const r=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{gateway:"true",offset:r,size:t.size})},"/meshes/:mesh/gateways/of/:type":async(t,n)=>{n.close();const r=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{...Object.fromEntries(a7(JSON.parse(t.search||"[]"))),gateway:t.type==="all"?"true":t.type,offset:r,size:t.size})},"/meshes/:mesh/gateways/:name/policies":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getMeshGatewayDataplane({mesh:r,name:o})}}),tae=()=>({items:(t="gateways")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"gateways"},redirect:()=>({name:"gateways-list-view"}),children:[{path:"",name:`${t}-list-view`,props:n=>({mesh:n.params.mesh,page:Ft(n.query.page,1),size:Ft(n.query.size,kr),query:decodeURIComponent(String(n.query.query||"")),search:decodeURIComponent(String(n.query.s||"")),gatewayType:n.query.gatewayType||"all"}),component:()=>be(()=>import("./GatewayListView-f73c3f81.js"),["./KFilterBar-919ca0fb.css","./GatewayListView-ee4c1bd8.css"],import.meta.url)}]}],item:(t="gateway")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"gateways"},redirect:()=>({name:"gateways-list-view"}),children:[{path:":dataPlane",name:`${t}-detail-tabs-view`,component:()=>be(()=>import("./DataPlaneDetailTabsView-87e7932c.js"),["./NavTabs-423b9d69.css"],import.meta.url),props:{isGatewayView:!0},children:[{path:"",name:`${t}-detail-view`,component:()=>be(()=>import("./DataPlaneDetailView-9298105f.js"),["./AccordionList-8bab9627.css","./SubscriptionList-64757846.css","./TagList-613e8329.css","./DataPlaneDetailView-cb3782fe.css"],import.meta.url)},{path:"policies",name:`${t}-policies-view`,component:()=>be(()=>import("./GatewayPoliciesView-fb4bdea7.js"),["./AccordionList-8bab9627.css","./GatewayPoliciesView-15d674af.css"],import.meta.url)},{path:"xds-config",name:`${t}-xds-config-view`,component:()=>be(()=>import("./DataPlaneXdsConfigView-17755515.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"stats",name:`${t}-stats-view`,component:()=>be(()=>import("./DataPlaneStatsView-1caac936.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"clusters",name:`${t}-clusters-view`,component:()=>be(()=>import("./DataPlaneClustersView-ce652d1f.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)}]}]}]}),nae={sources:$e("gateway.sources")},rae=e=>[[nae.sources,{service:eae,arguments:[e.api],labels:[e.sources]}]];function oae(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 aae=e=>({"use kubernetes":t=>e("KUMA_ENVIRONMENT")==="kubernetes"});function H3(e,t,n=void 0){if(typeof e!="object"||Array.isArray(e)||Array.isArray(t)&&t.length===0)return n;const r=Array.isArray(t)?t:t.split(".");if(r.length===1){const o=e[r[0]];return o===void 0?n:o}return H3(e[r[0]],r.slice(1),n)}async function mu(e){try{let t=null,n=0,r=[],o=null;for(;;){const a={size:lu,offset:n},{total:i,items:s,next:l}=await e(a);if(Array.isArray(s)&&(r=r.concat(s)),t===null&&(t=i),!l||o===l)break;o=l,n+=lu}return{total:t,items:r}}catch(t){throw new Error(`Resource fetching failed: ${t}`)}}function qie(e){var n;const t=((n=e.zoneInsight)==null?void 0:n.subscriptions)??[];if(t.length>0){const r=t[t.length-1];if(r.config){const o=JSON.parse(r.config);return H3(o,"dpServer.auth.type",cu)}}return cu}const iae=e=>({"/all-mesh-insights":(t,n)=>(n.close(),mu(e.getAllMeshInsights.bind(e))),"/all-zone-overviews":(t,n)=>(n.close(),mu(e.getAllZoneOverviews.bind(e)))}),vu={sources:$e("control-planes.sources"),features:$e("control-planes.features")},sae=e=>[[vu.sources,{service:iae,arguments:[e.api],labels:[e.sources]}],[vu.features,{service:aae,arguments:[e.env],labels:[e.features]}]],lae=e=>({"/meshes":async(t,n)=>{n.close();const{size:r}=t,o=t.size*(t.page-1);return e.getAllMeshes({size:r,offset:o})},"/meshes/:name":(t,n)=>{n.close();const{name:r}=t;return e.getMesh({name:r})},"/mesh-insights":async(t,n)=>{n.close();const{size:r}=t,o=t.size*(t.page-1);return e.getAllMeshInsights({size:r,offset:o})},"/mesh-insights/:name":async(t,n)=>{n.close();const{name:r}=t;return e.getMeshInsights({name:r})}}),cae=(e,t,n,r)=>[{path:"/meshes",name:"mesh-list-view",props:o=>({page:Ft(o.query.page,1),size:Ft(o.query.size,kr)}),component:()=>be(()=>import("./MeshListView-d43a4b72.js"),["./MeshListView-faf820c1.css"],import.meta.url)},{path:"/mesh",name:"mesh-index-view",redirect:{name:"mesh-list-view"},component:()=>be(()=>import("./MeshIndexView-8dc41b36.js"),[],import.meta.url),children:[{path:":mesh",name:"mesh",redirect:{name:"mesh-detail-view"},children:[{path:"",name:"mesh-tabs-view",redirect:{name:"mesh-detail-view"},component:()=>be(()=>import("./MeshTabsView-be91824d.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"overview",meta:{module:"meshes"},name:"mesh-detail-view",component:()=>be(()=>import("./MeshDetailView-1eee9c73.js"),["./MeshDetailView-1ba4c3a0.css"],import.meta.url)},{path:"config",name:"mesh-config-view",component:()=>be(()=>import("./MeshConfigView-cd34ae1c.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},...e.items("services"),...t.items("gateways"),...n.items("data-planes"),...r.items("policies")]},...e.item("service"),...t.item("gateway"),...n.item("data-plane"),...r.item("policy")]}]}],uae={sources:$e("mesh.sources")},dae=e=>[[uae.sources,{service:lae,arguments:[e.api],labels:[e.sources]}]],hae=e=>({"/*/policy-types":(t,n)=>(n.close(),e.getPolicyTypes()),"/meshes/:mesh/policy-path/:path":(t,n)=>{n.close();const{mesh:r,path:o,size:a}=t,i=t.size*(t.page-1);return e.getAllPolicyEntitiesFromMesh({mesh:r,path:o},{offset:i,size:a})},"/meshes/:mesh/policy-path/:path/policy/:name":(t,n)=>{n.close();const{mesh:r,path:o,name:a}=t;return e.getSinglePolicyEntity({mesh:r,path:o,name:a})},"/meshes/:mesh/policy-path/:path/policy/:name/dataplanes":(t,n)=>{n.close();const{mesh:r,path:o,name:a}=t;return e.getPolicyConnections({mesh:r,path:o,name:a})}}),fae=()=>({items:(t="policies")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"policies"},redirect:()=>({name:"policies"}),children:[{path:"",name:`${t}`,redirect:n=>({...n,params:{...n.params,policyPath:"circuit-breakers"},name:"policies-list-view"}),children:[{path:":policyPath",name:`${t}-list-view`,component:()=>be(()=>import("./PolicyListView-5dab4e6d.js"),["./PolicyTypeTag-05fd0df0.css","./PolicyListView-4bf6d71e.css"],import.meta.url),props:n=>({page:Ft(n.query.page,1),size:Ft(n.query.size,kr)})}]}]}],item:(t="policy")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"policies"},redirect:()=>({name:"policies"}),children:[{path:`${t==="policy"?":policyPath/":""}:policy`,name:`${t}-detail-view`,component:()=>be(()=>import("./PolicyDetailView-588bac1d.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),pae={sources:$e("policy.sources")},mae=e=>[[pae.sources,{service:hae,arguments:[e.api],labels:[e.sources]}]],vae=e=>({"/meshes/:mesh/service-insights":(t,n)=>{n.close();const{mesh:r,size:o}=t,a=t.size*(t.page-1);return e.getAllServiceInsightsFromMesh({mesh:r},{size:o,offset:a})},"/meshes/:mesh/service-insights/:name":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getServiceInsight({mesh:r,name:o})},"/meshes/:mesh/external-services/:name":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getExternalServiceByServiceInsightName(r,o)}}),gae=()=>({items:(t="services")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"services"},redirect:()=>({name:"services-list-view"}),children:[{path:"",name:`${t}-list-view`,props:n=>({mesh:n.params.mesh,page:Ft(n.query.page,1),size:Ft(n.query.size,kr)}),component:()=>be(()=>import("./ServiceListView-072d3644.js"),["./ServiceListView-8471a598.css"],import.meta.url)}]}],item:(t="")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"services"},redirect:()=>({name:"services-list-view"}),children:[{path:":service",name:`${t}-detail-tabs-view`,component:()=>be(()=>import("./ServiceDetailTabsView-df9470ef.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:`${t}-detail-view`,component:()=>be(()=>import("./ServiceDetailView-4da9cb0f.js"),["./TagList-613e8329.css"],import.meta.url)},{path:"config",name:`${t}-config-view`,component:()=>be(()=>import("./ServiceConfigView-7dad6aff.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},{path:"data-plane-proxies",name:`${t}-data-plane-proxies-view`,component:()=>be(()=>import("./ServiceDataPlaneProxiesView-1609bf62.js"),["./KFilterBar-919ca0fb.css","./ServiceDataPlaneProxiesView-48d9ed34.css"],import.meta.url),props:n=>({gatewayType:n.query.gatewayType||"all",page:Ft(n.query.page,1),size:Ft(n.query.size,kr),query:decodeURIComponent(String(n.query.query||"")),search:decodeURIComponent(String(n.query.s||""))})}]}]}]}),Cae={sources:$e("service.sources")},yae=e=>[[Cae.sources,{service:vae,arguments:[e.api],labels:[e.sources]}]],bae=e=>({"use zones":()=>e("KUMA_MODE")==="global","create zones":t=>t("use zones")&&e("KUMA_ZONE_CREATION_FLOW")==="enabled"}),wae=e=>({"/zone-cps":async(t,n)=>{n.close();const{size:r}=t,o=t.size*(t.page-1);return await e.getAllZoneOverviews({size:r,offset:o})},"/zone-cps/:name":async(t,n)=>{n.close();const{name:r}=t;return await e.getZoneOverview({name:r})},"/zone-ingresses/:name":async(t,n)=>{n.close();const{name:r}=t;return await e.getZoneIngress({name:r})},"/zone-ingresses/:name/data-path/:dataPath":(t,n)=>{n.close();const{name:r,dataPath:o}=t;return e.getZoneIngressData({zoneIngressName:r,dataPath:o})},"/zone-ingress-overviews":async(t,n)=>{n.close();const{size:r}=t,o=t.size*(t.page-1);return await e.getAllZoneIngressOverviews({size:r,offset:o})},"/zone-ingress-overviews/:name":async(t,n)=>{n.close();const{name:r}=t;return await e.getZoneIngressOverview({name:r})},"/zone-egresses/:name":async(t,n)=>{n.close();const{name:r}=t;return await e.getZoneEgress({name:r})},"/zone-egresses/:name/data-path/:dataPath":(t,n)=>{n.close();const{name:r,dataPath:o}=t;return e.getZoneEgressData({zoneEgressName:r,dataPath:o})},"/zone-egress-overviews":async(t,n)=>{n.close();const{size:r}=t,o=t.size*(t.page-1);return await e.getAllZoneEgressOverviews({size:r,offset:o})},"/zone-egress-overviews/:name":async(t,n)=>{n.close();const{name:r}=t;return await e.getZoneEgressOverview({name:r})}}),_ae=()=>[{path:"/zones/create",name:"zone-create-view",meta:{isWizard:!0},component:()=>be(()=>import("./ZoneCreateView-84db27d8.js"),["./CodeBlock-7d9027b4.css","./ZoneCreateView-54090d60.css"],import.meta.url)}],kae=e=>[...e,{path:"/zones",name:"zone-index-view",redirect:{name:"zone-cp-list-view"},children:[{path:"zone-cps",name:"zone-cps",children:[{path:"",name:"zone-cp-tabs-view",meta:{module:"zone-cps"},component:()=>be(()=>import("./ZoneTabsView-dbb8efbf.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-cp-list-view",props:t=>({page:Ft(t.query.page,1),size:Ft(t.query.size,kr)}),component:()=>be(()=>import("./ZoneListView-2c4af29e.js"),["./ZoneListView-a5681263.css"],import.meta.url)}]},{path:":zone",name:"zone-cp-detail-tabs-view",component:()=>be(()=>import("./ZoneDetailTabsView-aa7f5f25.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-cp-detail-view",component:()=>be(()=>import("./ZoneDetailView-ff2da6e3.js"),["./AccordionList-8bab9627.css","./SubscriptionList-64757846.css"],import.meta.url)},{path:"config",name:"zone-cp-config-view",component:()=>be(()=>import("./ZoneConfigView-d4d631ea.js"),["./CodeBlock-7d9027b4.css"],import.meta.url)}]}]},{path:"zone-ingresses",name:"zone-ingresses",children:[{path:"",name:"zone-ingress-tabs-view",meta:{module:"zone-ingresses"},component:()=>be(()=>import("./ZoneTabsView-dbb8efbf.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-ingress-list-view",props:t=>({page:Ft(t.query.page,1),size:Ft(t.query.size,kr)}),component:()=>be(()=>import("./ZoneIngressListView-081cf988.js"),["./ZoneIngressListView-227cedc3.css"],import.meta.url)}]},{path:":zoneIngress",name:"zone-ingress-detail-tabs-view",component:()=>be(()=>import("./ZoneIngressDetailTabsView-6c72596e.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-ingress-detail-view",component:()=>be(()=>import("./ZoneIngressDetailView-897c27ff.js"),["./AccordionList-8bab9627.css","./SubscriptionList-64757846.css"],import.meta.url)},{path:"xds-config",name:"zone-ingress-xds-config-view",component:()=>be(()=>import("./ZoneIngressXdsConfigView-96c5d184.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"stats",name:"zone-ingress-stats-view",component:()=>be(()=>import("./ZoneIngressStatsView-4436ef0d.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"clusters",name:"zone-ingress-clusters-view",component:()=>be(()=>import("./ZoneIngressClustersView-2bd601a9.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"config",name:"zone-ingress-config-view",component:()=>be(()=>import("./ZoneIngressConfigView-b9c58969.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]},{path:"zone-egresses",name:"zone-egresses",children:[{path:"",name:"zone-egress-tabs-view",meta:{module:"zone-egresses"},component:()=>be(()=>import("./ZoneTabsView-dbb8efbf.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-egress-list-view",props:t=>({page:Ft(t.query.page,1),size:Ft(t.query.size,kr)}),component:()=>be(()=>import("./ZoneEgressListView-5b269cc4.js"),["./ZoneEgressListView-5a0b14a5.css"],import.meta.url)}]},{path:":zoneEgress",name:"zone-egress-detail-tabs-view",component:()=>be(()=>import("./ZoneEgressDetailTabsView-f81c7144.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-egress-detail-view",component:()=>be(()=>import("./ZoneEgressDetailView-316a608d.js"),["./AccordionList-8bab9627.css","./SubscriptionList-64757846.css"],import.meta.url)},{path:"xds-config",name:"zone-egress-xds-config-view",component:()=>be(()=>import("./ZoneEgressXdsConfigView-8cf6c5f2.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"stats",name:"zone-egress-stats-view",component:()=>be(()=>import("./ZoneEgressStatsView-51e5c48a.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"clusters",name:"zone-egress-clusters-view",component:()=>be(()=>import("./ZoneEgressClustersView-2ee6a831.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"config",name:"zone-egress-config-view",component:()=>be(()=>import("./ZoneEgressConfigView-90b68de1.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}]}],gu={sources:$e("zone.sources"),features:$e("zone.features")},Mae=e=>[[gu.sources,{service:wae,arguments:[e.api],labels:[e.sources]}],[gu.features,{service:bae,arguments:[e.env],labels:[e.features]}]],xae={common:{product:{name:"Kuma",href:{docs:{index:"{KUMA_DOCS_URL}/"}},environment:{universal:"Universal",kubernetes:"Kubernetes"},mode:{standalone:"Standalone",global:"Multi-Zone"}},copyText:"Copy",copySuccessText:"Copied!",copyKubernetesText:"Copy as Kubernetes",copyKubernetesShortText:"as k8s",documentation:"Documentation",error_state:{title:"An error has occurred while trying to load this data.",details:"Details",field:"Field"},emptyState:{title:"No data",message:"There are no {type} present",icon:"stateNoData"},collection:{none:" ",actions:{delete:"Delete",edit:"Edit",view:"View details"}},detail:{subscriptions:{no_stats:"There are no statistics for subscription “{id}”",connect_time:"Connected",disconnect_time:"Disconnected",type:"Type",responses_sent_acknowledged:"Responses sent/ack’ed"},none:"—",created:"Created",modified:"Modified",no_envoy_data:"No Envoy data is available because the {resource} is not online"}}},Sae={components:{"route-view":{title:"{name} Manager","route-announcer":"Navigated to {title}"}}},Eae={http:{api:{property:{tls:"TLS",mtls:"mTLS",mTLS:"mTLS",globalInstanceId:"Global instance ID",controlPlaneInstanceId:"CP instance ID",connectTime:"Connected",disconnectTime:"Disconnected",cds:"CDS",eds:"EDS",lds:"LDS",rds:"RDS",responsesSent:"Responses sent",responsesAcknowledged:"Responses acknowledged",responsesRejected:"Responses rejected",certificateExpirationTime:"Expiration time",lastCertificateRegeneration:"Last generated",certificateRegenerations:"Regenerations",authenticationType:"Authentication type"},value:{online:"online",offline:"offline",partiallyDegraded:"partially degraded",partially_degraded:"partially degraded",notAvailable:"information not available",not_available:"information not available",disabled:"disabled"}}}},Aae={"data-planes":{routes:{item:{title:"{name}",breadcrumbs:"Data Plane Proxies",navigation:{"data-plane-detail-view":"Overview","data-plane-policies-view":"Policies","data-plane-xds-config-view":"XDS Configuration","data-plane-stats-view":"Stats","data-plane-clusters-view":"Clusters","data-plane-config-view":"YAML"}},items:{title:"Data Plane Proxies"}},href:{docs:{data_plane_proxy:"{KUMA_DOCS_URL}/production/dp-config/dpp?{KUMA_UTM_QUERY_PARAMS}",gateway:"{KUMA_DOCS_URL}/explore/gateway?{KUMA_UTM_QUERY_PARAMS}","mutual-tls":"{KUMA_DOCS_URL}/policies/mutual-tls?{KUMA_UTM_QUERY_PARAMS}"}},list:{version_mismatch:"Version mismatch"},detail:{mtls:"Certificate",subscriptions:"XDS connections",no_mtls:"This Data Plane Proxy does not have mTLS configured, yet",no_mtls_learn_more:"Learn about certificates in {product}",configuration:"Configuration"}}},Lae={diagnostics:{routes:{item:{title:"Diagnostics",breadcrumbs:"Diagnostics"}}}},Dae={gateways:{routes:{item:{title:"{name}",breadcrumbs:"Gateways",navigation:{"gateway-detail-view":"Overview","gateway-policies-view":"Policies","gateway-xds-config-view":"XDS Configuration","gateway-stats-view":"Stats","gateway-clusters-view":"Clusters","gateway-config-view":"YAML"}},items:{title:"Gateways"}}}},Tae={"main-overview":{routes:{item:{title:"Overview"}},detail:{health:{title:"Global Control Plane health",view_all:"(view all)",zone_control_planes:"Zones",meshes:"Meshes",services:"Services",data_plane_proxies:"Data Plane Proxies"},zone_control_planes:{title:"Zones",table:{name:"Name",status:"Status"}},meshes:{title:"Meshes",table:{name:"Name",services:"Services",data_plane_proxies:"Data Plane Proxies"}}}}},Bae={meshes:{routes:{item:{title:"{name}",breadcrumbs:"Meshes",navigation:{"mesh-detail-view":"Overview","mesh-config-view":"YAML","services-abstract-view":"Services","data-planes-abstract-view":"Data Plane Proxies","gateways-abstract-view":"Gateways","policies-abstract-view":"Policies"}},items:{title:"Meshes",breadcrumbs:"Meshes"},overview:{title:"Mesh overview"}},href:{docs:"{KUMA_DOCS_URL}/production/mesh?{KUMA_UTM_QUERY_PARAMS}"},detail:{services:"Services",data_plane_proxies:"Data Plane Proxies",policies:"Policies",enabled:"Enabled",disabled:"Disabled"}}},Hae={onboarding:{href:{docs:{install:"{KUMA_DOCS_URL}/deployments/multi-zone?{KUMA_UTM_QUERY_PARAMS}#zone-control-plane"}},routes:{welcome:{title:"Welcome to {name}!"},"deployment-types":{title:"Deployment Types"},"configuration-types":{title:"Configuration Types"},multizone:{title:"Multizone"},"create-mesh":{title:"Create the Mesh"},"add-services":{title:"Add new services"},"add-services-code":{title:"Add new services"},"dataplanes-overview":{title:"Data plane overview"},completed:{title:"Completed"}}}},Oae={policies:{routes:{item:{title:"{name}",breadcrumbs:"Policies"},items:{title:"Policies"}},href:{docs:"{KUMA_DOCS_URL}/policies/{name}?{KUMA_UTM_QUERY_PARAMS}"},collection:{beta:"Beta",title:"About {name}",description:"Use policies to apply filters to incoming or outgoing traffic of Data Plane Proxies. To generate the Envoy configuration of a proxy the control-plane uses its data-plane configuration with the policies matching it.",inbound:"Inbound",outbound:"Outbound"},detail:{affected_dpps:"Affected Data Plane Proxies"}}},Iae={services:{routes:{item:{title:"{name}",breadcrumbs:"Services",navigation:{"service-detail-view":"Overview","service-data-plane-proxies-view":"Data Plane Proxies","service-config-view":"YAML"}},items:{title:"Services"}}}},Vae={"zone-cps":{routes:{item:{title:"{name}",breadcrumbs:"Zone Control Planes",navigation:{"zone-cp-detail-view":"Overview","zone-cp-config-view":"Config"}},items:{title:"Zone Control Planes",breadcrumbs:"Zone Control Planes"}},list:{version_mismatch:"Version mismatch"},detail:{subscriptions:"KDS connections",configuration_title:"Configuration",no_subscriptions:"This zone has no subscriptions"},empty_state:{title:"No Zones yet …",message:"Create your first Zone to start managing your Mesh"}},"zone-ingresses":{routes:{item:{title:"{name}",breadcrumbs:"Ingresses",navigation:{"zone-ingress-detail-view":"Overview","zone-ingress-xds-config-view":"XDS Configuration","zone-ingress-stats-view":"Stats","zone-ingress-clusters-view":"Clusters","zone-ingress-config-view":"YAML"}},items:{title:"Ingresses",breadcrumbs:"Ingresses"}},href:{docs:"{KUMA_DOCS_URL}/production/cp-deployment/zone-ingress?{KUMA_UTM_QUERY_PARAMS}"},detail:{subscriptions:"XDS connections"}},"zone-egresses":{routes:{item:{title:"{name}",breadcrumbs:"Egresses",navigation:{"zone-egress-detail-view":"Overview","zone-egress-xds-config-view":"XDS Configuration","zone-egress-stats-view":"Stats","zone-egress-clusters-view":"Clusters","zone-egress-config-view":"YAML"}},items:{title:"Egresses",breadcrumbs:"Egresses"}},href:{docs:"{KUMA_DOCS_URL}/production/cp-deployment/zoneegress?{KUMA_UTM_QUERY_PARAMS}"},detail:{subscriptions:"XDS connections"}},zones:{href:{docs:{cta:"{KUMA_DOCS_URL}/documentation/deployments?{KUMA_UTM_QUERY_PARAMS}"}},routes:{create:{title:"Create & connect Zone"},items:{title:"Zones",navigation:{"zone-cp-list-view":"Zone Control Planes","zone-ingress-list-view":"Ingresses","zone-egress-list-view":"Egresses"}}},index:{create:"Create Zone"},form:{exit:"Exit",section:{name:{title:"Zone name"},configuration:{title:"Configuration"},connect_zone:{title:"Connect Zone"},scanner:{title:"Waiting for Zone to be connected …"}},nameLabel:"Name",name_tooltip:"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 '-'.",createZoneButtonLabel:"Create Zone & generate token",environmentLabel:"Environment",universalLabel:"Universal",kubernetesLabel:"Kubernetes",zoneIngressLabel:"Zone Ingress",zoneIngressEnabledLabel:"Enabled",zoneEgressLabel:"Zone Egress",zoneEgressEnabledLabel:"Enabled",confirm_modal:{action_button:"Yes, exit",title:"Are you sure you want to exit?",body:"You’ve already created a Zone with a token. You won’t have access to the Zone’s token once you exit."},scan:{waitTitle:"Waiting for Zone to be connected …",completeTitle:"Done!",completeDescription:"The Zone “{name}” is now connected.",completeButtonLabel:"Go to Zone “{name}”",errorTitle:"Could not connect Zone",errorDescription:"We were unable to connect Zone."},universal:{saveToken:{title:"Save token",saveTokenDescription:"Save the token to a file.",saveTokenCommand:`mkdir -p ~/kuma-cp \\ + `,1)]),default:A(()=>[Rre,y()]),_:1}),y(),Fre,y(),zre,y(),Ure]))}}),Cn={KumaLogo:nn(_ee,{description:"KumaLogo"}),GithubButton:nn(LJ,{description:"GithubButton"}),MainOverview:nn(Ete,{description:"MainOverview"}),KubernetesGraph:nn(ene,{description:"KubernetesGraph"}),PostgresGraph:nn(_re,{description:"PostgresGraph"}),MemoryGraph:nn(mne,{description:"MemoryGraph"}),MultizoneGraph:nn(Jne,{description:"MultizoneGraph"}),StandaloneGraph:nn(jre,{description:"StandaloneGraph"}),AppSidebar:nn(Cee,{description:"AppSidebar"}),AppHeader:nn(WJ,{description:"AppHeader"}),AppLoadingBar:nn(iee,{description:"AppLoadingBar"}),AppOnboardingNotification:nn(dee,{description:"AppOnboardingNotification"}),MainView:nn(XJ,{description:"MainView"}),MeshDetails:nn(Tte,{description:"MeshDetails"})},[Gre,Yre,Pie,Nie,Zie,$ie,Rie,Fie,zie,Uie,jie,Gie,Kre,Yie]=p7(Cn.KumaLogo,Cn.GithubButton,Cn.MainOverview,Cn.KubernetesGraph,Cn.PostgresGraph,Cn.MemoryGraph,Cn.MultizoneGraph,Cn.StandaloneGraph,Cn.AppSidebar,Cn.AppHeader,Cn.AppLoadingBar,Cn.AppOnboardingNotification,Cn.MainView,Cn.MeshDetails),Wre={key:0,"aria-label":"Breadcrumb"},qre={key:0,class:"app-view-title-bar"},Qre={key:1,class:"actions"},Xre={key:0,class:"app-view-title-bar"},Jre={key:1,class:"actions"},eoe=ne({__name:"AppView",props:{breadcrumbs:{type:Array,required:!1,default:null},fullscreen:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,n=Kre(),r=xt(),o=new Map,a=G([]),i=Symbol("app-view"),s=d=>{const h=[...d.values()];h.some(f=>f.length===0)?a.value=[]:a.value=h.flat()},l={addBreadcrumbs:(d,h)=>{typeof d<"u"&&(o.set(h,d),s(o))},removeBreadcrumbs:d=>{o.delete(d),s(o)}},c=_n("app-view-parent",void 0);c||Na("app-view-parent",l);const u=c||l;return De(()=>t.breadcrumbs,d=>{d!==null&&u.addBreadcrumbs(d,i)},{immediate:!0}),ir(()=>{u.removeBreadcrumbs(i)}),(d,h)=>E(c)?(m(),x("section",{key:1,class:X({"is-fullscreen":t.fullscreen})},[E(r).title?(m(),x("header",Xre,[t.fullscreen?(m(),Q(E(Ae),{key:0,icon:"kong"})):P("",!0),y(),$(d.$slots,"title",{},void 0,!0),y(),E(r).actions?(m(),x("div",Jre,[$(d.$slots,"actions",{},void 0,!0)])):P("",!0)])):P("",!0),y(),$(d.$slots,"default",{},void 0,!0)],2)):(m(),Q(E(n),{key:0,class:"app-main-content"},{default:A(()=>[a.value.length>0?(m(),x("nav",Wre,[V(E(G7),{items:a.value},null,8,["items"])])):P("",!0),y(),p("section",{class:X({"is-fullscreen":t.fullscreen})},[E(r).title?(m(),x("header",qre,[t.fullscreen?(m(),Q(E(Ae),{key:0,icon:"kong"})):P("",!0),y(),$(d.$slots,"title",{},void 0,!0),y(),E(r).actions?(m(),x("div",Qre,[$(d.$slots,"actions",{},void 0,!0)])):P("",!0)])):P("",!0),y(),$(d.$slots,"default",{},void 0,!0)],2)]),_:3}))}});const toe=Gt(eoe,[["__scopeId","data-v-0b9fb9fe"]]),t7=Symbol("route-view-parent"),noe=ne({__name:"RouteTitle",props:{title:{type:String,required:!1,default:""},render:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,n=Symbol("route-title"),r=_n(t7);return typeof r<"u"&&(De(()=>t.title,o=>{o.length>0&&r.addTitle(o,n)},{immediate:!0}),ir(()=>{r.removeTitle(n)})),(o,a)=>t.render?(m(),x(ke,{key:0},[y(H(t.title),1)],64)):P("",!0)}}),af=function(e){let t;return(...n)=>{t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e.bind(e,...n))}},roe=function(e){return(Array.isArray(e)?e[0]:e)??""},ooe=(e=document)=>af(t=>{e.title=t}),aoe=(e=document.documentElement)=>{if(!e)return()=>{};const t=[...e.classList];return af(n=>{const r=n.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(...r.class||[])})},ioe=(e,t)=>{const n={...t},r=Object.entries(e).reduce((o,[a,i])=>(String(i).length>0?o[a]=encodeURIComponent(String(i)):o[a]=void 0,o),n);return{...n,...r}},soe={class:"route-view"},loe={key:0,class:"route-view-title visually-hidden","aria-live":"assertive","aria-atomic":"true"},coe=ne({__name:"RouteView",props:{name:{type:String,required:!1,default:""},attrs:{type:Object,required:!1,default:()=>({})}},setup(e){const t=e,n=C2(),r=T3(),{t:o}=Vt(),a=ql(),i=RC(),s=ooe(document),l=aoe(document.documentElement),c=Symbol("route-view"),u=G(""),d=new Map,h=new Map,f=b=>b.reverse().concat(o("components.route-view.title",{name:o("common.product.name")})).join(" | "),v={addTitle:(b,w)=>{u.value=b,d.set(w,b),s(f([...d.values()]))},removeTitle:b=>{d.delete(b),s(f([...d.values()]))},addAttrs:(b,w)=>{h.set(w,b),l([...h.values()])},removeAttrs:b=>{h.delete(b),l([...h.values()])}},_=_n(t7,void 0);_||(s(o("components.route-view.title",{name:o("common.product.name")})),Na(t7,v));const C=_||v;return De(()=>t.attrs,b=>{Object.keys(b).length>0&&C.addAttrs(b,c)},{immediate:!0}),ir(()=>{C.removeAttrs(c)}),(b,w)=>(m(),x("div",soe,[E(_)?P("",!0):(m(),x("div",loe,H(E(o)("components.route-view.route-announcer",{title:u.value})),1)),y(),$(b.$slots,"default",{t:E(o),env:E(n),can:E(r),route:{update:g=>{const k=E(a).query.page?"push":"replace";E(i)[k]({name:t.name,query:E(ioe)(g,E(a).query)})},replace:(...g)=>{E(i).push(...g)},params:Object.fromEntries(Object.entries(E(a).params).map(([g,k])=>[g,E(roe)(k)]))}})]))}}),uoe=e=>{const t=(n,r)=>typeof e[n]<"u"?e[n](t,r):!1;return t},ui={can:$e("application.can"),features:$e("application.can.features"),applicationComponents:$e("application.components")},doe=e=>[[ui.applicationComponents,{service:()=>[["AppView",toe],["DataSource",Li],["RouteView",coe],["RouteTitle",noe]],labels:[e.components]}],[ui.can,{service:uoe,arguments:[ui.features]}]],hoe=ui,[T3]=p7(ui.can);var di=class{constructor(t,n,r,o,a,i){lt(this,"type",3);lt(this,"name","");lt(this,"prefix","");lt(this,"value","");lt(this,"suffix","");lt(this,"modifier",3);this.type=t,this.name=n,this.prefix=r,this.value=o,this.suffix=a,this.modifier=i}hasCustomName(){return this.name!==""&&typeof this.name!="number"}},foe=/[$_\p{ID_Start}]/u,poe=/[$_\u200C\u200D\p{ID_Continue}]/u,n7=".*";function moe(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function sf(e,t=!1){let n=[],r=0;for(;r{if(il("OTHER_MODIFIER")??l("ASTERISK"),u=w=>{let g=l(w);if(g!==void 0)return g;let{type:k,index:B}=n[i];throw new TypeError(`Unexpected ${k} at ${B}, expected ${w}`)},d=()=>{let w="",g;for(;g=l("CHAR")??l("ESCAPED_CHAR");)w+=g;return w},h=w=>w,f=t.encodePart||h,v="",_=w=>{v+=w},C=()=>{v.length&&(o.push(new di(3,"","",f(v),"",3)),v="")},b=(w,g,k,B,Z)=>{let j=3;switch(Z){case"?":j=1;break;case"*":j=0;break;case"+":j=2;break}if(!g&&!k&&j===3){_(w);return}if(C(),!g&&!k){if(!w)return;o.push(new di(3,"","",f(w),"",j));return}let F;k?k==="*"?F=n7:F=k:F=r;let D=2;F===r?(D=1,F=""):F===n7&&(D=0,F="");let S;if(g?S=g:k&&(S=a++),s.has(S))throw new TypeError(`Duplicate name '${S}'.`);s.add(S),o.push(new di(D,S,f(w),F,f(B),j))};for(;i-1)}return i||(r+=`(?=${a}|${o})`),new RegExp(r,fu(n))}var fo={delimiter:"",prefixes:"",sensitive:!0,strict:!0},goe={delimiter:".",prefixes:"",sensitive:!0,strict:!0},Coe={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};function yoe(e,t){return e.length?e[0]==="/"?!0:!t||e.length<2?!1:(e[0]=="\\"||e[0]=="{")&&e[1]=="/":!1}function uf(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function boe(e,t){return e.endsWith(t)?e.substr(0,e.length-t.length):e}function df(e){return!e||e.length<2?!1:e[0]==="["||(e[0]==="\\"||e[0]==="{")&&e[1]==="["}var hf=["ftp","file","http","https","ws","wss"];function ff(e){if(!e)return!0;for(let t of hf)if(e.test(t))return!0;return!1}function woe(e,t){if(e=uf(e,"#"),t||e==="")return e;let n=new URL("https://example.com");return n.hash=e,n.hash?n.hash.substring(1,n.hash.length):""}function _oe(e,t){if(e=uf(e,"?"),t||e==="")return e;let n=new URL("https://example.com");return n.search=e,n.search?n.search.substring(1,n.search.length):""}function koe(e,t){return t||e===""?e:df(e)?vf(e):mf(e)}function Moe(e,t){if(t||e==="")return e;let n=new URL("https://example.com");return n.password=e,n.password}function xoe(e,t){if(t||e==="")return e;let n=new URL("https://example.com");return n.username=e,n.username}function Soe(e,t,n){if(n||e==="")return e;if(t&&!hf.includes(t))return new URL(`${t}:${e}`).pathname;let r=e[0]=="/";return e=new URL(r?e:"/-"+e,"https://example.com").pathname,r||(e=e.substring(2,e.length)),e}function Eoe(e,t,n){return pf(t)===e&&(e=""),n||e===""?e:gf(e)}function Aoe(e,t){return e=boe(e,":"),t||e===""?e:B3(e)}function pf(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function B3(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError(`Invalid protocol '${e}'.`)}function Loe(e){if(e==="")return e;let t=new URL("https://example.com");return t.username=e,t.username}function Doe(e){if(e==="")return e;let t=new URL("https://example.com");return t.password=e,t.password}function mf(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 vf(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError(`Invalid IPv6 hostname '${e}'`);return e.toLowerCase()}function gf(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError(`Invalid port '${e}'.`)}function Toe(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 Boe(e){return e===""?e:new URL(`data:${e}`).pathname}function Hoe(e){if(e==="")return e;let t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function Ooe(e){if(e==="")return e;let t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}var $a,an,kt,mt,Qo,Ra,zr,Fa,za,Ua,Tt,Nt,Ml,Cf,Ti,r7,Xo,j1,ja,Is,bn,Pn,Bi,o7,xl,yf,Ga,Vs,Sl,bf,El,wf,Ya,Ps,Co,Ta,Ur,Fo,Al,_f,Ll,kf,Dl,Mf,Tl,xf,Zn,hr,Bl,Sf,Hu,Ioe=(Hu=class{constructor(e){Qe(this,Tt);Qe(this,Ml);Qe(this,Ti);Qe(this,Xo);Qe(this,ja);Qe(this,bn);Qe(this,Bi);Qe(this,xl);Qe(this,Ga);Qe(this,Sl);Qe(this,El);Qe(this,Ya);Qe(this,Co);Qe(this,Ur);Qe(this,Al);Qe(this,Ll);Qe(this,Dl);Qe(this,Tl);Qe(this,Zn);Qe(this,Bl);Qe(this,$a,void 0);Qe(this,an,[]);Qe(this,kt,{});Qe(this,mt,0);Qe(this,Qo,1);Qe(this,Ra,0);Qe(this,zr,0);Qe(this,Fa,0);Qe(this,za,0);Qe(this,Ua,!1);$t(this,$a,e)}get result(){return oe(this,kt)}parse(){for($t(this,an,sf(oe(this,$a),!0));oe(this,mt)0)if(ge(this,Ll,kf).call(this))$t(this,Fa,oe(this,Fa)-1);else continue;if(ge(this,Al,_f).call(this)){$t(this,Fa,oe(this,Fa)+1);continue}switch(oe(this,zr)){case 0:ge(this,Bi,o7).call(this)&&(oe(this,kt).username="",oe(this,kt).password="",oe(this,kt).hostname="",oe(this,kt).port="",oe(this,kt).pathname="",oe(this,kt).search="",oe(this,kt).hash="",ge(this,Xo,j1).call(this,1));break;case 1:if(ge(this,Bi,o7).call(this)){ge(this,Bl,Sf).call(this);let e=7,t=1;oe(this,Ua)&&(oe(this,kt).pathname="/"),ge(this,xl,yf).call(this)?(e=2,t=3):oe(this,Ua)&&(e=2),ge(this,Tt,Nt).call(this,e,t)}break;case 2:ge(this,Ga,Vs).call(this)?ge(this,Xo,j1).call(this,3):(ge(this,Ya,Ps).call(this)||ge(this,Co,Ta).call(this)||ge(this,Ur,Fo).call(this))&&ge(this,Xo,j1).call(this,5);break;case 3:ge(this,Sl,bf).call(this)?ge(this,Tt,Nt).call(this,4,1):ge(this,Ga,Vs).call(this)&&ge(this,Tt,Nt).call(this,5,1);break;case 4:ge(this,Ga,Vs).call(this)&&ge(this,Tt,Nt).call(this,5,1);break;case 5:ge(this,Dl,Mf).call(this)?$t(this,za,oe(this,za)+1):ge(this,Tl,xf).call(this)&&$t(this,za,oe(this,za)-1),ge(this,El,wf).call(this)&&!oe(this,za)?ge(this,Tt,Nt).call(this,6,1):ge(this,Ya,Ps).call(this)?ge(this,Tt,Nt).call(this,7,0):ge(this,Co,Ta).call(this)?ge(this,Tt,Nt).call(this,8,1):ge(this,Ur,Fo).call(this)&&ge(this,Tt,Nt).call(this,9,1);break;case 6:ge(this,Ya,Ps).call(this)?ge(this,Tt,Nt).call(this,7,0):ge(this,Co,Ta).call(this)?ge(this,Tt,Nt).call(this,8,1):ge(this,Ur,Fo).call(this)&&ge(this,Tt,Nt).call(this,9,1);break;case 7:ge(this,Co,Ta).call(this)?ge(this,Tt,Nt).call(this,8,1):ge(this,Ur,Fo).call(this)&&ge(this,Tt,Nt).call(this,9,1);break;case 8:ge(this,Ur,Fo).call(this)&&ge(this,Tt,Nt).call(this,9,1);break}}}},$a=new WeakMap,an=new WeakMap,kt=new WeakMap,mt=new WeakMap,Qo=new WeakMap,Ra=new WeakMap,zr=new WeakMap,Fa=new WeakMap,za=new WeakMap,Ua=new WeakMap,Tt=new WeakSet,Nt=function(e,t){switch(oe(this,zr)){case 0:break;case 1:oe(this,kt).protocol=ge(this,Zn,hr).call(this);break;case 2:break;case 3:oe(this,kt).username=ge(this,Zn,hr).call(this);break;case 4:oe(this,kt).password=ge(this,Zn,hr).call(this);break;case 5:oe(this,kt).hostname=ge(this,Zn,hr).call(this);break;case 6:oe(this,kt).port=ge(this,Zn,hr).call(this);break;case 7:oe(this,kt).pathname=ge(this,Zn,hr).call(this);break;case 8:oe(this,kt).search=ge(this,Zn,hr).call(this);break;case 9:oe(this,kt).hash=ge(this,Zn,hr).call(this);break}ge(this,Ml,Cf).call(this,e,t)},Ml=new WeakSet,Cf=function(e,t){$t(this,zr,e),$t(this,Ra,oe(this,mt)+t),$t(this,mt,oe(this,mt)+t),$t(this,Qo,0)},Ti=new WeakSet,r7=function(){$t(this,mt,oe(this,Ra)),$t(this,Qo,0)},Xo=new WeakSet,j1=function(e){ge(this,Ti,r7).call(this),$t(this,zr,e)},ja=new WeakSet,Is=function(e){return e<0&&(e=oe(this,an).length-e),e=0&&(e.pathname=Ir(r.pathname.substring(0,o+1),n)+e.pathname)}e.pathname=Soe(e.pathname,e.protocol,n)}return typeof t.search=="string"&&(e.search=_oe(t.search,n)),typeof t.hash=="string"&&(e.hash=woe(t.hash,n)),e}function G1(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function Voe(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function Poe(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 n=".*",r=`[^${Voe(t.delimiter)}]+?`,o=/[$_\u200C\u200D\p{ID_Continue}]/u,a="";for(let i=0;i0?e[i-1]:null,d=i0?d.value[0]:"";c=o.test(h)}else c=!d.hasCustomName();if(!c&&!s.prefix.length&&u&&u.type===3){let h=u.value[u.value.length-1];c=t.prefixes.includes(h)}c&&(a+="{"),a+=G1(s.prefix),l&&(a+=`:${s.name}`),s.type===2?a+=`(${s.value})`:s.type===1?l||(a+=`(${r})`):s.type===0&&(!l&&(!u||u.type===3||u.modifier!==3||c||s.prefix!=="")?a+="*":a+=`(${n})`),s.type===1&&l&&s.suffix.length&&o.test(s.suffix[0])&&(a+="\\"),a+=G1(s.suffix),c&&(a+="}"),s.modifier!==3&&(a+=Ha(s.modifier))}return a}var vr,Jo,Ka,Rt,gr,Ou,Ef=(Ou=class{constructor(t={},n,r){Qe(this,vr,void 0);Qe(this,Jo,{});Qe(this,Ka,{});Qe(this,Rt,{});Qe(this,gr,{});try{let o;if(typeof n=="string"?o=n:r=n,typeof t=="string"){let l=new Ioe(t);if(l.parse(),t=l.result,o===void 0&&typeof t.protocol!="string")throw new TypeError("A base URL must be provided for a relative constructor string.");t.baseURL=o}else{if(!t||typeof t!="object")throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");if(o)throw new TypeError("parameter 1 is not of type 'string'.")}typeof r>"u"&&(r={ignoreCase:!1});let a={ignoreCase:r.ignoreCase===!0};$t(this,vr,V1({pathname:co,protocol:co,username:co,password:co,hostname:co,port:co,search:co,hash:co},t,!0)),pf(oe(this,vr).protocol)===oe(this,vr).port&&(oe(this,vr).port="");let s;for(s of b0){if(!(s in oe(this,vr)))continue;let l={},c=oe(this,vr)[s];switch(oe(this,Ka)[s]=[],s){case"protocol":Object.assign(l,fo),l.encodePart=B3;break;case"username":Object.assign(l,fo),l.encodePart=Loe;break;case"password":Object.assign(l,fo),l.encodePart=Doe;break;case"hostname":Object.assign(l,goe),df(c)?l.encodePart=vf:l.encodePart=mf;break;case"port":Object.assign(l,fo),l.encodePart=gf;break;case"pathname":ff(oe(this,Jo).protocol)?(Object.assign(l,Coe,a),l.encodePart=Toe):(Object.assign(l,fo,a),l.encodePart=Boe);break;case"search":Object.assign(l,fo,a),l.encodePart=Hoe;break;case"hash":Object.assign(l,fo,a),l.encodePart=Ooe;break}try{oe(this,gr)[s]=lf(c,l),oe(this,Jo)[s]=cf(oe(this,gr)[s],oe(this,Ka)[s],l),oe(this,Rt)[s]=Poe(oe(this,gr)[s],l)}catch{throw new TypeError(`invalid ${s} pattern '${oe(this,vr)[s]}'.`)}}}catch(o){throw new TypeError(`Failed to construct 'URLPattern': ${o.message}`)}}test(t={},n){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof t!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof t>"u")return!1;try{typeof t=="object"?r=V1(r,t,!1):r=V1(r,pu(t,n),!1)}catch{return!1}let o;for(o of b0)if(!oe(this,Jo)[o].exec(r[o]))return!1;return!0}exec(t={},n){let r={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof t!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(typeof t>"u")return;try{typeof t=="object"?r=V1(r,t,!1):r=V1(r,pu(t,n),!1)}catch{return null}let o={};n?o.inputs=[t,n]:o.inputs=[t];let a;for(a of b0){let i=oe(this,Jo)[a].exec(r[a]);if(!i)return null;let s={};for(let[l,c]of oe(this,Ka)[a].entries())if(typeof c=="string"||typeof c=="number"){let u=i[l+1];s[c]=u}o[a]={input:r[a]??"",groups:s}}return o}static compareComponent(t,n,r){let o=(l,c)=>{for(let u of["type","modifier","prefix","value","suffix"]){if(l[u]{let u=0;for(;u{this.routes.set(new Ef({pathname:n}),r)})}match(t){for(const[n,r]of this.routes){const o=`data:${t}`;if(n.test(o)){const a=n.exec(o);return{route:r,params:(a==null?void 0:a.pathname.groups)||{}}}}throw new Error(`Matching route for '${t}' not found`)}}class Zoe{constructor(t,n){lt(this,"pool",new Map);this.create=t,this.destroy=n}acquire(t,n){if(!this.pool.has(t)){const o={value:this.create(t),references:new Set};this.pool.set(t,o)}const r=this.pool.get(t);return r.references.add(n),r.value}release(t,n){if(this.pool.has(t)){const r=this.pool.get(t);r.references.delete(n),r.references.size===0&&(this.pool.delete(t),this.destroy(t,r.value))}}}class $oe{constructor(t,{create:n,destroy:r},o){lt(this,"cache",new Map);lt(this,"pool");lt(this,"getCacheKeyPrefix");const a=new Noe(t);this.pool=new Zoe(i=>n(i,a),(i,s)=>{r(i,s)}),this.getCacheKeyPrefix=o}source(t,n){const r=this.getCacheKeyPrefix()+t,o=this.pool.acquire(t,n);return o.addEventListener("message",a=>{this.cache.set(r,a.data)}),this.cache.has(r)&&Promise.resolve().then(()=>{o==null||o.dispatchEvent(new MessageEvent("message",{data:this.cache.get(r)}))}),o}close(t,n){return this.pool.release(t,n)}}const Roe=0,Foe=1,zo=2,zoe=e=>e.readyState===zo;class Uoe extends EventTarget{constructor(n,r={}){super();lt(this,"url","");lt(this,"withCredentials",!1);lt(this,"CONNECTING",Roe);lt(this,"OPEN",Foe);lt(this,"CLOSED",zo);lt(this,"onerror",null);lt(this,"onmessage",null);lt(this,"onopen",null);lt(this,"readyState",zo);this.source=n,this._open()}_open(){(async function(n){try{n.readyState=0;const r=n.source();for await(const o of r)if(n.dispatchEvent(new MessageEvent("message",{data:o})),n.readyState===zo)break;n.readyState=zo}catch(r){n.dispatchEvent(new ErrorEvent("error",{error:r}))}})(this)}open(){this.readyState!==zo&&this._open()}close(){this.readyState=zo}}const joe=(e,t)=>{const[n,r]=e.split("?"),o=new URLSearchParams(r),a=t.match(n);return new Uoe(async function*(){for(;;)this.readyState=1,yield a.route({offset:parseInt(o.get("offset")||"0"),size:parseInt(o.get("size")||"0"),page:parseInt(o.get("page")||"0"),search:o.get("search")||"",...a.params},this),zoe(this)||await new Promise(s=>setTimeout(s,5e3))})},Goe=(e,t)=>{t&&t.close()},Yoe={create:joe,destroy:Goe},Koe=["protocol","service","zone"];function a7(e){const t=new Map;for(const[n,r]of e){const o=Koe.includes(n),a=o?"tag":n;t.has(a)||t.set(a,[]);const i=t.get(a);let s;a==="tag"?s=(o?`kuma.io/${n}:${r}`:r).replace(/\s+/g,""):s=r,i.push(s.trim())}return t}const Woe=e=>({"/meshes/:mesh/dataplanes":async(t,n)=>{n.close();const{mesh:r,size:o}=t,a=t.size*(t.page-1),i="false",s=Object.fromEntries(a7(JSON.parse(t.search||"[]")));return e.getAllDataplaneOverviewsFromMesh({mesh:r},{...s,gateway:i,offset:a,size:o})},"/meshes/:mesh/dataplanes/:name":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getDataplaneFromMesh({mesh:r,name:o})},"/meshes/:mesh/dataplanes/:name/data-path/:dataPath":(t,n)=>{n.close();const{mesh:r,name:o,dataPath:a}=t;return e.getDataplaneData({mesh:r,dppName:o,dataPath:a})},"/meshes/:mesh/dataplanes/:name/sidecar-dataplanes-policies":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getSidecarDataplanePolicies({mesh:r,name:o})},"/meshes/:mesh/dataplanes/:name/rules":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getDataplaneRules({mesh:r,name:o})},"/meshes/:mesh/dataplane-overviews/:name":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getDataplaneOverviewFromMesh({mesh:r,name:o})},"/meshes/:mesh/dataplanes/for/:service/of/:type":async(t,n)=>{n.close();const{mesh:r,size:o}=t,a=t.size*(t.page-1),i=Object.fromEntries(a7(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:r},{...i,...s,offset:a,size:o})}});function Ft(e,t=0){const n=qoe(e);return n!==void 0?parseInt(n):t}function qoe(e){const t=Array.isArray(e)?e:[e];return t[t.length-1]??void 0}const Qoe=()=>({items:(t="data-planes")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"data-planes"},redirect:()=>({name:"data-planes-list-view"}),children:[{path:"",name:`${t}-list-view`,props:n=>({mesh:n.params.mesh,page:Ft(n.query.page,1),size:Ft(n.query.size,kr),query:decodeURIComponent(String(n.query.query||"")),search:decodeURIComponent(String(n.query.s||""))}),component:()=>be(()=>import("./DataPlaneListView-414160e2.js"),["./KFilterBar-919ca0fb.css","./DataPlaneListView-07060462.css"],import.meta.url)}]}],item:(t="data-plane")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"data-planes"},redirect:()=>({name:"data-planes-list-view"}),children:[{path:":dataPlane",name:`${t}-detail-tabs-view`,component:()=>be(()=>import("./DataPlaneDetailTabsView-c9b531e6.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:`${t}-detail-view`,component:()=>be(()=>import("./DataPlaneDetailView-69e51d9f.js"),["./AccordionList-8bab9627.css","./SubscriptionList-64757846.css","./TagList-613e8329.css","./DataPlaneDetailView-cb3782fe.css"],import.meta.url)},{path:"policies",name:`${t}-policies-view`,component:()=>be(()=>import("./DataPlanePoliciesView-1b0c4b6a.js"),["./AccordionList-8bab9627.css","./CodeBlock-7d9027b4.css","./PolicyTypeTag-05fd0df0.css","./TagList-613e8329.css","./DataPlanePoliciesView-3172c9cb.css"],import.meta.url)},{path:"xds-config",name:`${t}-xds-config-view`,component:()=>be(()=>import("./DataPlaneXdsConfigView-5e5689d2.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"stats",name:`${t}-stats-view`,component:()=>be(()=>import("./DataPlaneStatsView-644e0d60.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"clusters",name:`${t}-clusters-view`,component:()=>be(()=>import("./DataPlaneClustersView-9478a3a1.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"config",name:`${t}-config-view`,component:()=>be(()=>import("./DataPlaneConfigView-d308b28a.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}]}),Xoe={sources:$e("mesh.sources")},Joe=e=>[[Xoe.sources,{service:Woe,arguments:[e.api],labels:[e.sources]}]],eae=e=>({"/meshes/:mesh/gateways":async(t,n)=>{n.close();const r=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{gateway:"true",offset:r,size:t.size})},"/meshes/:mesh/gateways/of/:type":async(t,n)=>{n.close();const r=t.size*(t.page-1);return e.getAllDataplaneOverviewsFromMesh({mesh:t.mesh},{...Object.fromEntries(a7(JSON.parse(t.search||"[]"))),gateway:t.type==="all"?"true":t.type,offset:r,size:t.size})},"/meshes/:mesh/gateways/:name/policies":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getMeshGatewayDataplane({mesh:r,name:o})}}),tae=()=>({items:(t="gateways")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"gateways"},redirect:()=>({name:"gateways-list-view"}),children:[{path:"",name:`${t}-list-view`,props:n=>({mesh:n.params.mesh,page:Ft(n.query.page,1),size:Ft(n.query.size,kr),query:decodeURIComponent(String(n.query.query||"")),search:decodeURIComponent(String(n.query.s||"")),gatewayType:n.query.gatewayType||"all"}),component:()=>be(()=>import("./GatewayListView-094a3064.js"),["./KFilterBar-919ca0fb.css","./GatewayListView-ee4c1bd8.css"],import.meta.url)}]}],item:(t="gateway")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"gateways"},redirect:()=>({name:"gateways-list-view"}),children:[{path:":dataPlane",name:`${t}-detail-tabs-view`,component:()=>be(()=>import("./DataPlaneDetailTabsView-c9b531e6.js"),["./NavTabs-423b9d69.css"],import.meta.url),props:{isGatewayView:!0},children:[{path:"",name:`${t}-detail-view`,component:()=>be(()=>import("./DataPlaneDetailView-69e51d9f.js"),["./AccordionList-8bab9627.css","./SubscriptionList-64757846.css","./TagList-613e8329.css","./DataPlaneDetailView-cb3782fe.css"],import.meta.url)},{path:"policies",name:`${t}-policies-view`,component:()=>be(()=>import("./GatewayPoliciesView-90f44d56.js"),["./AccordionList-8bab9627.css","./GatewayPoliciesView-15d674af.css"],import.meta.url)},{path:"xds-config",name:`${t}-xds-config-view`,component:()=>be(()=>import("./DataPlaneXdsConfigView-5e5689d2.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"stats",name:`${t}-stats-view`,component:()=>be(()=>import("./DataPlaneStatsView-644e0d60.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"clusters",name:`${t}-clusters-view`,component:()=>be(()=>import("./DataPlaneClustersView-9478a3a1.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)}]}]}]}),nae={sources:$e("gateway.sources")},rae=e=>[[nae.sources,{service:eae,arguments:[e.api],labels:[e.sources]}]];function oae(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 aae=e=>({"use kubernetes":t=>e("KUMA_ENVIRONMENT")==="kubernetes"});function H3(e,t,n=void 0){if(typeof e!="object"||Array.isArray(e)||Array.isArray(t)&&t.length===0)return n;const r=Array.isArray(t)?t:t.split(".");if(r.length===1){const o=e[r[0]];return o===void 0?n:o}return H3(e[r[0]],r.slice(1),n)}async function mu(e){try{let t=null,n=0,r=[],o=null;for(;;){const a={size:lu,offset:n},{total:i,items:s,next:l}=await e(a);if(Array.isArray(s)&&(r=r.concat(s)),t===null&&(t=i),!l||o===l)break;o=l,n+=lu}return{total:t,items:r}}catch(t){throw new Error(`Resource fetching failed: ${t}`)}}function qie(e){var n;const t=((n=e.zoneInsight)==null?void 0:n.subscriptions)??[];if(t.length>0){const r=t[t.length-1];if(r.config){const o=JSON.parse(r.config);return H3(o,"dpServer.auth.type",cu)}}return cu}const iae=e=>({"/all-mesh-insights":(t,n)=>(n.close(),mu(e.getAllMeshInsights.bind(e))),"/all-zone-overviews":(t,n)=>(n.close(),mu(e.getAllZoneOverviews.bind(e)))}),vu={sources:$e("control-planes.sources"),features:$e("control-planes.features")},sae=e=>[[vu.sources,{service:iae,arguments:[e.api],labels:[e.sources]}],[vu.features,{service:aae,arguments:[e.env],labels:[e.features]}]],lae=e=>({"/meshes":async(t,n)=>{n.close();const{size:r}=t,o=t.size*(t.page-1);return e.getAllMeshes({size:r,offset:o})},"/meshes/:name":(t,n)=>{n.close();const{name:r}=t;return e.getMesh({name:r})},"/mesh-insights":async(t,n)=>{n.close();const{size:r}=t,o=t.size*(t.page-1);return e.getAllMeshInsights({size:r,offset:o})},"/mesh-insights/:name":async(t,n)=>{n.close();const{name:r}=t;return e.getMeshInsights({name:r})}}),cae=(e,t,n,r)=>[{path:"/meshes",name:"mesh-list-view",props:o=>({page:Ft(o.query.page,1),size:Ft(o.query.size,kr)}),component:()=>be(()=>import("./MeshListView-98391708.js"),["./MeshListView-faf820c1.css"],import.meta.url)},{path:"/mesh",name:"mesh-index-view",redirect:{name:"mesh-list-view"},component:()=>be(()=>import("./MeshIndexView-33671142.js"),[],import.meta.url),children:[{path:":mesh",name:"mesh",redirect:{name:"mesh-detail-view"},children:[{path:"",name:"mesh-tabs-view",redirect:{name:"mesh-detail-view"},component:()=>be(()=>import("./MeshTabsView-f7c14f67.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"overview",meta:{module:"meshes"},name:"mesh-detail-view",component:()=>be(()=>import("./MeshDetailView-c594e115.js"),["./MeshDetailView-0927735a.css"],import.meta.url)},{path:"config",name:"mesh-config-view",component:()=>be(()=>import("./MeshConfigView-c77120ac.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},...e.items("services"),...t.items("gateways"),...n.items("data-planes"),...r.items("policies")]},...e.item("service"),...t.item("gateway"),...n.item("data-plane"),...r.item("policy")]}]}],uae={sources:$e("mesh.sources")},dae=e=>[[uae.sources,{service:lae,arguments:[e.api],labels:[e.sources]}]],hae=e=>({"/*/policy-types":(t,n)=>(n.close(),e.getPolicyTypes()),"/meshes/:mesh/policy-path/:path":(t,n)=>{n.close();const{mesh:r,path:o,size:a}=t,i=t.size*(t.page-1);return e.getAllPolicyEntitiesFromMesh({mesh:r,path:o},{offset:i,size:a})},"/meshes/:mesh/policy-path/:path/policy/:name":(t,n)=>{n.close();const{mesh:r,path:o,name:a}=t;return e.getSinglePolicyEntity({mesh:r,path:o,name:a})},"/meshes/:mesh/policy-path/:path/policy/:name/dataplanes":(t,n)=>{n.close();const{mesh:r,path:o,name:a}=t;return e.getPolicyConnections({mesh:r,path:o,name:a})}}),fae=()=>({items:(t="policies")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"policies"},redirect:()=>({name:"policies"}),children:[{path:"",name:`${t}`,redirect:n=>({...n,params:{...n.params,policyPath:"circuit-breakers"},name:"policies-list-view"}),children:[{path:":policyPath",name:`${t}-list-view`,component:()=>be(()=>import("./PolicyListView-5aab37ec.js"),["./PolicyTypeTag-05fd0df0.css","./PolicyListView-4bf6d71e.css"],import.meta.url),props:n=>({page:Ft(n.query.page,1),size:Ft(n.query.size,kr)})}]}]}],item:(t="policy")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"policies"},redirect:()=>({name:"policies"}),children:[{path:`${t==="policy"?":policyPath/":""}:policy`,name:`${t}-detail-view`,component:()=>be(()=>import("./PolicyDetailView-5d90e188.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}),pae={sources:$e("policy.sources")},mae=e=>[[pae.sources,{service:hae,arguments:[e.api],labels:[e.sources]}]],vae=e=>({"/meshes/:mesh/service-insights":(t,n)=>{n.close();const{mesh:r,size:o}=t,a=t.size*(t.page-1);return e.getAllServiceInsightsFromMesh({mesh:r},{size:o,offset:a})},"/meshes/:mesh/service-insights/:name":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getServiceInsight({mesh:r,name:o})},"/meshes/:mesh/external-services/:name":(t,n)=>{n.close();const{mesh:r,name:o}=t;return e.getExternalServiceByServiceInsightName(r,o)}}),gae=()=>({items:(t="services")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"services"},redirect:()=>({name:"services-list-view"}),children:[{path:"",name:`${t}-list-view`,props:n=>({mesh:n.params.mesh,page:Ft(n.query.page,1),size:Ft(n.query.size,kr)}),component:()=>be(()=>import("./ServiceListView-a0323091.js"),["./ServiceListView-8471a598.css"],import.meta.url)}]}],item:(t="")=>[{path:`${t}`,name:`${t}-abstract-view`,meta:{module:"services"},redirect:()=>({name:"services-list-view"}),children:[{path:":service",name:`${t}-detail-tabs-view`,component:()=>be(()=>import("./ServiceDetailTabsView-303cd731.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:`${t}-detail-view`,component:()=>be(()=>import("./ServiceDetailView-41e42da7.js"),["./TagList-613e8329.css"],import.meta.url)},{path:"config",name:`${t}-config-view`,component:()=>be(()=>import("./ServiceConfigView-4bb7e12c.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)},{path:"data-plane-proxies",name:`${t}-data-plane-proxies-view`,component:()=>be(()=>import("./ServiceDataPlaneProxiesView-f00b491b.js"),["./KFilterBar-919ca0fb.css","./ServiceDataPlaneProxiesView-48d9ed34.css"],import.meta.url),props:n=>({gatewayType:n.query.gatewayType||"all",page:Ft(n.query.page,1),size:Ft(n.query.size,kr),query:decodeURIComponent(String(n.query.query||"")),search:decodeURIComponent(String(n.query.s||""))})}]}]}]}),Cae={sources:$e("service.sources")},yae=e=>[[Cae.sources,{service:vae,arguments:[e.api],labels:[e.sources]}]],bae=e=>({"use zones":()=>e("KUMA_MODE")==="global","create zones":t=>t("use zones")&&e("KUMA_ZONE_CREATION_FLOW")==="enabled"}),wae=e=>({"/zone-cps":async(t,n)=>{n.close();const{size:r}=t,o=t.size*(t.page-1);return await e.getAllZoneOverviews({size:r,offset:o})},"/zone-cps/:name":async(t,n)=>{n.close();const{name:r}=t;return await e.getZoneOverview({name:r})},"/zone-ingresses/:name":async(t,n)=>{n.close();const{name:r}=t;return await e.getZoneIngress({name:r})},"/zone-ingresses/:name/data-path/:dataPath":(t,n)=>{n.close();const{name:r,dataPath:o}=t;return e.getZoneIngressData({zoneIngressName:r,dataPath:o})},"/zone-ingress-overviews":async(t,n)=>{n.close();const{size:r}=t,o=t.size*(t.page-1);return await e.getAllZoneIngressOverviews({size:r,offset:o})},"/zone-ingress-overviews/:name":async(t,n)=>{n.close();const{name:r}=t;return await e.getZoneIngressOverview({name:r})},"/zone-egresses/:name":async(t,n)=>{n.close();const{name:r}=t;return await e.getZoneEgress({name:r})},"/zone-egresses/:name/data-path/:dataPath":(t,n)=>{n.close();const{name:r,dataPath:o}=t;return e.getZoneEgressData({zoneEgressName:r,dataPath:o})},"/zone-egress-overviews":async(t,n)=>{n.close();const{size:r}=t,o=t.size*(t.page-1);return await e.getAllZoneEgressOverviews({size:r,offset:o})},"/zone-egress-overviews/:name":async(t,n)=>{n.close();const{name:r}=t;return await e.getZoneEgressOverview({name:r})}}),_ae=()=>[{path:"/zones/create",name:"zone-create-view",meta:{isWizard:!0},component:()=>be(()=>import("./ZoneCreateView-7b1463d2.js"),["./CodeBlock-7d9027b4.css","./ZoneCreateView-54090d60.css"],import.meta.url)}],kae=e=>[...e,{path:"/zones",name:"zone-index-view",redirect:{name:"zone-cp-list-view"},children:[{path:"zone-cps",name:"zone-cps",children:[{path:"",name:"zone-cp-tabs-view",meta:{module:"zone-cps"},component:()=>be(()=>import("./ZoneTabsView-296d0b26.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-cp-list-view",props:t=>({page:Ft(t.query.page,1),size:Ft(t.query.size,kr)}),component:()=>be(()=>import("./ZoneListView-ca55b683.js"),["./ZoneListView-a5681263.css"],import.meta.url)}]},{path:":zone",name:"zone-cp-detail-tabs-view",component:()=>be(()=>import("./ZoneDetailTabsView-d1041d2c.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-cp-detail-view",component:()=>be(()=>import("./ZoneDetailView-29bb195b.js"),["./AccordionList-8bab9627.css","./SubscriptionList-64757846.css"],import.meta.url)},{path:"config",name:"zone-cp-config-view",component:()=>be(()=>import("./ZoneConfigView-c9c2add5.js"),["./CodeBlock-7d9027b4.css"],import.meta.url)}]}]},{path:"zone-ingresses",name:"zone-ingresses",children:[{path:"",name:"zone-ingress-tabs-view",meta:{module:"zone-ingresses"},component:()=>be(()=>import("./ZoneTabsView-296d0b26.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-ingress-list-view",props:t=>({page:Ft(t.query.page,1),size:Ft(t.query.size,kr)}),component:()=>be(()=>import("./ZoneIngressListView-9f358e96.js"),["./ZoneIngressListView-227cedc3.css"],import.meta.url)}]},{path:":zoneIngress",name:"zone-ingress-detail-tabs-view",component:()=>be(()=>import("./ZoneIngressDetailTabsView-601f43eb.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-ingress-detail-view",component:()=>be(()=>import("./ZoneIngressDetailView-94c6db67.js"),["./AccordionList-8bab9627.css","./SubscriptionList-64757846.css"],import.meta.url)},{path:"xds-config",name:"zone-ingress-xds-config-view",component:()=>be(()=>import("./ZoneIngressXdsConfigView-b7d716fb.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"stats",name:"zone-ingress-stats-view",component:()=>be(()=>import("./ZoneIngressStatsView-9912283b.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"clusters",name:"zone-ingress-clusters-view",component:()=>be(()=>import("./ZoneIngressClustersView-f219c7da.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"config",name:"zone-ingress-config-view",component:()=>be(()=>import("./ZoneIngressConfigView-1c469f98.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]},{path:"zone-egresses",name:"zone-egresses",children:[{path:"",name:"zone-egress-tabs-view",meta:{module:"zone-egresses"},component:()=>be(()=>import("./ZoneTabsView-296d0b26.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-egress-list-view",props:t=>({page:Ft(t.query.page,1),size:Ft(t.query.size,kr)}),component:()=>be(()=>import("./ZoneEgressListView-04d62a11.js"),["./ZoneEgressListView-5a0b14a5.css"],import.meta.url)}]},{path:":zoneEgress",name:"zone-egress-detail-tabs-view",component:()=>be(()=>import("./ZoneEgressDetailTabsView-d9387de0.js"),["./NavTabs-423b9d69.css"],import.meta.url),children:[{path:"",name:"zone-egress-detail-view",component:()=>be(()=>import("./ZoneEgressDetailView-ab89d3e6.js"),["./AccordionList-8bab9627.css","./SubscriptionList-64757846.css"],import.meta.url)},{path:"xds-config",name:"zone-egress-xds-config-view",component:()=>be(()=>import("./ZoneEgressXdsConfigView-bd527276.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"stats",name:"zone-egress-stats-view",component:()=>be(()=>import("./ZoneEgressStatsView-f35dfa20.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"clusters",name:"zone-egress-clusters-view",component:()=>be(()=>import("./ZoneEgressClustersView-3d8d2942.js"),["./CodeBlock-7d9027b4.css","./EnvoyData-2ae28a0a.css"],import.meta.url)},{path:"config",name:"zone-egress-config-view",component:()=>be(()=>import("./ZoneEgressConfigView-8de54c86.js"),["./CodeBlock-7d9027b4.css","./ResourceCodeBlock-dd906c25.css"],import.meta.url)}]}]}]}],gu={sources:$e("zone.sources"),features:$e("zone.features")},Mae=e=>[[gu.sources,{service:wae,arguments:[e.api],labels:[e.sources]}],[gu.features,{service:bae,arguments:[e.env],labels:[e.features]}]],xae={common:{product:{name:"Kuma",href:{docs:{index:"{KUMA_DOCS_URL}/"}},environment:{universal:"Universal",kubernetes:"Kubernetes"},mode:{standalone:"Standalone",global:"Multi-Zone"}},copyText:"Copy",copySuccessText:"Copied!",copyKubernetesText:"Copy as Kubernetes",copyKubernetesShortText:"as k8s",documentation:"Documentation",error_state:{title:"An error has occurred while trying to load this data.",details:"Details",field:"Field"},emptyState:{title:"No data",message:"There are no {type} present",icon:"stateNoData"},collection:{none:" ",actions:{delete:"Delete",edit:"Edit",view:"View details"}},detail:{subscriptions:{no_stats:"There are no statistics for subscription “{id}”",connect_time:"Connected",disconnect_time:"Disconnected",type:"Type",responses_sent_acknowledged:"Responses sent/ack’ed"},none:"—",created:"Created",modified:"Modified",no_envoy_data:"No Envoy data is available because the {resource} is not online"}}},Sae={components:{"route-view":{title:"{name} Manager","route-announcer":"Navigated to {title}"}}},Eae={http:{api:{property:{tls:"TLS",mtls:"mTLS",mTLS:"mTLS",globalInstanceId:"Global instance ID",controlPlaneInstanceId:"CP instance ID",connectTime:"Connected",disconnectTime:"Disconnected",cds:"CDS",eds:"EDS",lds:"LDS",rds:"RDS",responsesSent:"Responses sent",responsesAcknowledged:"Responses acknowledged",responsesRejected:"Responses rejected",certificateExpirationTime:"Expiration time",lastCertificateRegeneration:"Last generated",certificateRegenerations:"Regenerations",authenticationType:"Authentication type"},value:{online:"online",offline:"offline",partiallyDegraded:"partially degraded",partially_degraded:"partially degraded",notAvailable:"information not available",not_available:"information not available",disabled:"disabled"}}}},Aae={"data-planes":{routes:{item:{title:"{name}",breadcrumbs:"Data Plane Proxies",navigation:{"data-plane-detail-view":"Overview","data-plane-policies-view":"Policies","data-plane-xds-config-view":"XDS Configuration","data-plane-stats-view":"Stats","data-plane-clusters-view":"Clusters","data-plane-config-view":"YAML"}},items:{title:"Data Plane Proxies"}},href:{docs:{data_plane_proxy:"{KUMA_DOCS_URL}/production/dp-config/dpp?{KUMA_UTM_QUERY_PARAMS}",gateway:"{KUMA_DOCS_URL}/explore/gateway?{KUMA_UTM_QUERY_PARAMS}","mutual-tls":"{KUMA_DOCS_URL}/policies/mutual-tls?{KUMA_UTM_QUERY_PARAMS}"}},list:{version_mismatch:"Version mismatch"},detail:{mtls:"Certificate",subscriptions:"XDS connections",no_mtls:"This Data Plane Proxy does not have mTLS configured, yet",no_mtls_learn_more:"Learn about certificates in {product}",configuration:"Configuration"}}},Lae={diagnostics:{routes:{item:{title:"Diagnostics",breadcrumbs:"Diagnostics"}}}},Dae={gateways:{routes:{item:{title:"{name}",breadcrumbs:"Gateways",navigation:{"gateway-detail-view":"Overview","gateway-policies-view":"Policies","gateway-xds-config-view":"XDS Configuration","gateway-stats-view":"Stats","gateway-clusters-view":"Clusters","gateway-config-view":"YAML"}},items:{title:"Gateways"}}}},Tae={"main-overview":{routes:{item:{title:"Overview"}},detail:{health:{title:"Global Control Plane health",view_all:"(view all)",zone_control_planes:"Zones",meshes:"Meshes",services:"Services",data_plane_proxies:"Data Plane Proxies"},zone_control_planes:{title:"Zones",table:{name:"Name",status:"Status"}},meshes:{title:"Meshes",table:{name:"Name",services:"Services",data_plane_proxies:"Data Plane Proxies"}}}}},Bae={meshes:{routes:{item:{title:"{name}",breadcrumbs:"Meshes",navigation:{"mesh-detail-view":"Overview","mesh-config-view":"YAML","services-abstract-view":"Services","data-planes-abstract-view":"Data Plane Proxies","gateways-abstract-view":"Gateways","policies-abstract-view":"Policies"}},items:{title:"Meshes",breadcrumbs:"Meshes"},overview:{title:"Mesh overview"}},href:{docs:"{KUMA_DOCS_URL}/production/mesh?{KUMA_UTM_QUERY_PARAMS}"},detail:{services:"Services",data_plane_proxies:"Data Plane Proxies",policies:"Policies",enabled:"Enabled",disabled:"Disabled"}}},Hae={onboarding:{href:{docs:{install:"{KUMA_DOCS_URL}/deployments/multi-zone?{KUMA_UTM_QUERY_PARAMS}#zone-control-plane"}},routes:{welcome:{title:"Welcome to {name}!"},"deployment-types":{title:"Deployment Types"},"configuration-types":{title:"Configuration Types"},multizone:{title:"Multizone"},"create-mesh":{title:"Create the Mesh"},"add-services":{title:"Add new services"},"add-services-code":{title:"Add new services"},"dataplanes-overview":{title:"Data plane overview"},completed:{title:"Completed"}}}},Oae={policies:{routes:{item:{title:"{name}",breadcrumbs:"Policies"},items:{title:"Policies"}},href:{docs:"{KUMA_DOCS_URL}/policies/{name}?{KUMA_UTM_QUERY_PARAMS}"},collection:{beta:"Beta",title:"About {name}",description:"Use policies to apply filters to incoming or outgoing traffic of Data Plane Proxies. To generate the Envoy configuration of a proxy the control-plane uses its data-plane configuration with the policies matching it.",inbound:"Inbound",outbound:"Outbound"},detail:{affected_dpps:"Affected Data Plane Proxies"}}},Iae={services:{routes:{item:{title:"{name}",breadcrumbs:"Services",navigation:{"service-detail-view":"Overview","service-data-plane-proxies-view":"Data Plane Proxies","service-config-view":"YAML"}},items:{title:"Services"}}}},Vae={"zone-cps":{routes:{item:{title:"{name}",breadcrumbs:"Zone Control Planes",navigation:{"zone-cp-detail-view":"Overview","zone-cp-config-view":"Config"}},items:{title:"Zone Control Planes",breadcrumbs:"Zone Control Planes"}},list:{version_mismatch:"Version mismatch"},detail:{subscriptions:"KDS connections",configuration_title:"Configuration",no_subscriptions:"This zone has no subscriptions"},empty_state:{title:"No Zones yet …",message:"Create your first Zone to start managing your Mesh"}},"zone-ingresses":{routes:{item:{title:"{name}",breadcrumbs:"Ingresses",navigation:{"zone-ingress-detail-view":"Overview","zone-ingress-xds-config-view":"XDS Configuration","zone-ingress-stats-view":"Stats","zone-ingress-clusters-view":"Clusters","zone-ingress-config-view":"YAML"}},items:{title:"Ingresses",breadcrumbs:"Ingresses"}},href:{docs:"{KUMA_DOCS_URL}/production/cp-deployment/zone-ingress?{KUMA_UTM_QUERY_PARAMS}"},detail:{subscriptions:"XDS connections"}},"zone-egresses":{routes:{item:{title:"{name}",breadcrumbs:"Egresses",navigation:{"zone-egress-detail-view":"Overview","zone-egress-xds-config-view":"XDS Configuration","zone-egress-stats-view":"Stats","zone-egress-clusters-view":"Clusters","zone-egress-config-view":"YAML"}},items:{title:"Egresses",breadcrumbs:"Egresses"}},href:{docs:"{KUMA_DOCS_URL}/production/cp-deployment/zoneegress?{KUMA_UTM_QUERY_PARAMS}"},detail:{subscriptions:"XDS connections"}},zones:{href:{docs:{cta:"{KUMA_DOCS_URL}/documentation/deployments?{KUMA_UTM_QUERY_PARAMS}"}},routes:{create:{title:"Create & connect Zone"},items:{title:"Zones",navigation:{"zone-cp-list-view":"Zone Control Planes","zone-ingress-list-view":"Ingresses","zone-egress-list-view":"Egresses"}}},index:{create:"Create Zone"},form:{exit:"Exit",section:{name:{title:"Zone name"},configuration:{title:"Configuration"},connect_zone:{title:"Connect Zone"},scanner:{title:"Waiting for Zone to be connected …"}},nameLabel:"Name",name_tooltip:"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 '-'.",createZoneButtonLabel:"Create Zone & generate token",environmentLabel:"Environment",universalLabel:"Universal",kubernetesLabel:"Kubernetes",zoneIngressLabel:"Zone Ingress",zoneIngressEnabledLabel:"Enabled",zoneEgressLabel:"Zone Egress",zoneEgressEnabledLabel:"Enabled",confirm_modal:{action_button:"Yes, exit",title:"Are you sure you want to exit?",body:"You’ve already created a Zone with a token. You won’t have access to the Zone’s token once you exit."},scan:{waitTitle:"Waiting for Zone to be connected …",completeTitle:"Done!",completeDescription:"The Zone “{name}” is now connected.",completeButtonLabel:"Go to Zone “{name}”",errorTitle:"Could not connect Zone",errorDescription:"We were unable to connect Zone."},universal:{saveToken:{title:"Save token",saveTokenDescription:"Save the token to a file.",saveTokenCommand:`mkdir -p ~/kuma-cp \\ && echo {token} > ~/kuma-cp/cpTokenFile \\ && chmod 600 ~/kuma-cp/cpTokenFile `},connectZone:{title:"Connect Zone",configDescription:"Copy and paste the following configuration into the config.yaml on your local machine.",configFileName:"config.yaml",config:`environment: universal @@ -604,7 +604,7 @@ 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 '-'.",statusError:{409:{title:"A Zone with the name {zoneName} 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:"An error occurred while creating the Zone {zoneName}",description:"You may retry this operation."}}},delete:{confirmModal:{text1:"Are you sure you want to delete the Zone {zoneName}?",text2:"This action cannot be reversed.",proceedText:"Yes, delete",title:"Delete Zone",errorText:"An unexpected error occurred"}}}},Pae={...xae,...Eae,...Sae,...Tae,...Hae,...Lae,...Bae,...Iae,...Oae,...Aae,...Dae,...Vae},Nae=e=>[{path:"/404",name:"not-found",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>be(()=>import("./AppNotFoundView-eb9982c8.js"),[],import.meta.url)},{path:"/",name:"home",component:()=>be(()=>import("./MainOverviewView-a261fefb.js"),[],import.meta.url)},...e];function Zae(e=""){return{baseGuiPath:"/gui",apiUrl:e,version:"2.3.0",product:"Kuma",mode:"global",environment:"universal",apiReadOnly:!1}}class $ae{constructor(t){lt(this,"env");let n=t;const r=(s,l="")=>this.var(s,(n==null?void 0:n[s])??l),o=this.getConfig(),a=Fae(r("KUMA_VERSION",o.version)),i=encodeURIComponent(r("KUMA_PRODUCT_NAME"));n={...n,KUMA_UTM_QUERY_PARAMS:`utm_source=${i}&utm_medium=${i}`},this.env={...n,KUMA_INSTALL_URL:`${r("KUMA_INSTALL_URL")}?${r("KUMA_UTM_QUERY_PARAMS")}`,KUMA_DOCS_URL:`${r("KUMA_DOCS_URL")}/${a.patch==="0.0.0"?"dev":a.patch.replace(/\.\d+$/,".x")}`,KUMA_VERSION:a.pre,KUMA_API_URL:r("KUMA_API_URL")||o.apiUrl,KUMA_BASE_PATH:r("KUMA_BASE_PATH")||o.baseGuiPath,KUMA_MODE:r("KUMA_MODE")||o.mode,KUMA_ENVIRONMENT:r("KUMA_ENVIRONMENT")||o.environment}}var(t,n=""){var r;return((r=this.env)==null?void 0:r[t])??n}getConfig(){const t=document.querySelector("#kuma-config");let n;if(t instanceof HTMLScriptElement&&t.textContent)try{n=JSON.parse(t.textContent.trim())}catch(r){console.error(r)}return n||(n=Zae(),console.error("Unable to parse kuma config. Falling back to defaults")),n.apiUrl=Rae(n.apiUrl),n}}function Af(e){return e.endsWith("/")?Af(e.slice(0,-1)):e}function Rae(e){return e=!e.includes("://")&&!e.startsWith("/")?`/${e}`:e,Af(e)}function Fae(e){const[t,n,...r]=e.split(".");if(isNaN(parseInt(t)))return{major:t,minor:t,patch:t,pre:t};const[o,a]=r.join(".").split("-");return{major:t,minor:`${t}.${n}`,patch:`${t}.${n}.${o}`,pre:`${t}.${n}.${o}${a!==void 0?`-${a}`:""}`}}var i7=function(e,t){return i7=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},i7(e,t)};function ur(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");i7(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Be=function(){return Be=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0}),n=[],r=0,o=t;r1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Qae,function(l,c,u,d,h,f){if(c)t.minimumIntegerDigits=u.length;else{if(d&&h)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Nf.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(yu.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(yu,function(l,c,u,d,h,f){return u==="*"?t.minimumFractionDigits=c.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:h&&f?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+f.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var a=o.options[0];a==="w"?t=Be(Be({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Be(Be({},t),bu(a)));continue}if(Pf.test(o.stem)){t=Be(Be({},t),bu(o.stem));continue}var i=Zf(o.stem);i&&(t=Be(Be({},t),i));var s=Xae(o.stem);s&&(t=Be(Be({},t),s))}return t}var vs={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function e1e(e,t){for(var n="",r=0;r>1),l="a",c=t1e(t);for((c=="H"||c=="k")&&(s=0);s-- >0;)n+=l;for(;i-- >0;)n=c+n}else o==="J"?n+="H":n+=o}return n}function t1e(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var o=vs[r||""]||vs[n||""]||vs["".concat(n,"-001")]||vs["001"];return o[0]}var w0,n1e=new RegExp("^".concat(Vf.source,"*")),r1e=new RegExp("".concat(Vf.source,"*$"));function et(e,t){return{start:e,end:t}}var o1e=!!String.prototype.startsWith,a1e=!!String.fromCodePoint,i1e=!!Object.fromEntries,s1e=!!String.prototype.codePointAt,l1e=!!String.prototype.trimStart,c1e=!!String.prototype.trimEnd,u1e=!!Number.isSafeInteger,d1e=u1e?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},l7=!0;try{var h1e=Rf("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");l7=((w0=h1e.exec("a"))===null||w0===void 0?void 0:w0[0])==="a"}catch{l7=!1}var _u=o1e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},c7=a1e?String.fromCodePoint:function(){for(var e=[],t=0;to;){if(a=e[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},ku=i1e?Object.fromEntries:function(e){for(var t={},n=0,r=e;n=n)){var r=e.charCodeAt(t),o;return r<55296||r>56319||t+1===n||(o=e.charCodeAt(t+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},f1e=l1e?function(e){return e.trimStart()}:function(e){return e.replace(n1e,"")},p1e=c1e?function(e){return e.trimEnd()}:function(e){return e.replace(r1e,"")};function Rf(e,t){return new RegExp(e,t)}var u7;if(l7){var Mu=Rf("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");u7=function(e,t){var n;Mu.lastIndex=t;var r=Mu.exec(e);return(n=r[1])!==null&&n!==void 0?n:""}}else u7=function(e,t){for(var n=[];;){var r=$f(e,t);if(r===void 0||Ff(r)||C1e(r))break;n.push(r),t+=r>=65536?2:1}return c7.apply(void 0,n)};var m1e=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var o=[];!this.isEOF();){var a=this.char();if(a===123){var i=this.parseArgument(t,r);if(i.err)return i;o.push(i.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),o.push({type:gt.pound,location:et(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(Je.UNMATCHED_CLOSING_TAG,et(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&d7(this.peek()||0)){var i=this.parseTag(t,n);if(i.err)return i;o.push(i.val)}else{var i=this.parseLiteral(t,n);if(i.err)return i;o.push(i.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:gt.literal,value:"<".concat(o,"/>"),location:et(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var i=a.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:gt.tag,value:o,children:i,location:et(r,this.clonePosition())},err:null}:this.error(Je.INVALID_TAG,et(s,this.clonePosition())))}else return this.error(Je.UNCLOSED_TAG,et(r,this.clonePosition()))}else return this.error(Je.INVALID_TAG,et(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&g1e(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),o="";;){var a=this.tryParseQuote(n);if(a){o+=a;continue}var i=this.tryParseUnquoted(t,n);if(i){o+=i;continue}var s=this.tryParseLeftAngleBracket();if(s){o+=s;continue}break}var l=et(r,this.clonePosition());return{val:{type:gt.literal,value:o,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!v1e(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return c7.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),c7(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,et(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Je.EMPTY_ARGUMENT,et(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(Je.MALFORMED_ARGUMENT,et(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,et(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:gt.argument,value:o,location:et(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,et(r,this.clonePosition())):this.parseArgumentOptions(t,n,o,r);default:return this.error(Je.MALFORMED_ARGUMENT,et(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=u7(this.message,n),o=n+r.length;this.bumpTo(o);var a=this.clonePosition(),i=et(t,a);return{value:r,location:i}},e.prototype.parseArgumentOptions=function(t,n,r,o){var a,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(Je.EXPECT_ARGUMENT_TYPE,et(i,l));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var h=p1e(d.val);if(h.length===0)return this.error(Je.EXPECT_ARGUMENT_STYLE,et(this.clonePosition(),this.clonePosition()));var f=et(u,this.clonePosition());c={style:h,styleLocation:f}}var v=this.tryParseArgumentClose(o);if(v.err)return v;var _=et(o,this.clonePosition());if(c&&_u(c==null?void 0:c.style,"::",0)){var C=f1e(c.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(C,c.styleLocation);return d.err?d:{val:{type:gt.number,value:r,location:_,style:d.val},err:null}}else{if(C.length===0)return this.error(Je.EXPECT_DATE_TIME_SKELETON,_);var b=C;this.locale&&(b=e1e(C,this.locale));var h={type:s1.dateTime,pattern:b,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Yae(b):{}},w=s==="date"?gt.date:gt.time;return{val:{type:w,value:r,location:_,style:h},err:null}}}return{val:{type:s==="number"?gt.number:s==="date"?gt.date:gt.time,value:r,location:_,style:(a=c==null?void 0:c.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var g=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Je.EXPECT_SELECT_ARGUMENT_OPTIONS,et(g,Be({},g)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),B=0;if(s!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(Je.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,et(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(Je.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Je.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),k=this.parseIdentifierIfPossible(),B=d.val}var Z=this.tryParsePluralOrSelectOptions(t,s,n,k);if(Z.err)return Z;var v=this.tryParseArgumentClose(o);if(v.err)return v;var j=et(o,this.clonePosition());return s==="select"?{val:{type:gt.select,value:r,options:ku(Z.val),location:j},err:null}:{val:{type:gt.plural,value:r,options:ku(Z.val),offset:B,pluralType:s==="plural"?"cardinal":"ordinal",location:j},err:null}}default:return this.error(Je.INVALID_ARGUMENT_TYPE,et(i,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,et(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Je.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,et(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Wae(t)}catch{return this.error(Je.INVALID_NUMBER_SKELETON,n)}return{val:{type:s1.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Jae(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,o){for(var a,i=!1,s=[],l=new Set,c=o.value,u=o.location;;){if(c.length===0){var d=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(Je.EXPECT_PLURAL_ARGUMENT_SELECTOR,Je.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=et(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}else break}if(l.has(c))return this.error(n==="select"?Je.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Je.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);c==="other"&&(i=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?Je.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Je.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,et(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,n,r);if(v.err)return v;var _=this.tryParseArgumentClose(f);if(_.err)return _;s.push([c,{value:v.val,location:et(f,this.clonePosition())}]),l.add(c),this.bumpSpace(),a=this.parseIdentifierIfPossible(),c=a.value,u=a.location}return s.length===0?this.error(n==="select"?Je.EXPECT_SELECT_ARGUMENT_SELECTOR:Je.EXPECT_PLURAL_ARGUMENT_SELECTOR,et(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Je.MISSING_OTHER_CLAUSE,et(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,i=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,i=i*10+(s-48),this.bump();else break}var l=et(o,this.clonePosition());return a?(i*=r,d1e(i)?{val:i,err:null}:this.error(n,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=$f(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(_u(this.message,t,this.offset())){for(var n=0;n=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ff(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function d7(e){return e>=97&&e<=122||e>=65&&e<=90}function v1e(e){return d7(e)||e===47}function g1e(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ff(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function C1e(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function h7(e){e.forEach(function(t){if(delete t.location,Bf(t)||Hf(t))for(var n in t.options)delete t.options[n].location,h7(t.options[n].value);else Lf(t)&&If(t.style)||(Df(t)||Tf(t))&&s7(t.style)?delete t.style.location:Of(t)&&h7(t.children)})}function y1e(e,t){t===void 0&&(t={}),t=Be({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new m1e(e,t).parse();if(n.err){var r=SyntaxError(Je[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||h7(n.val),n.val}function pr(e,t){var n=t&&t.cache?t.cache:x1e,r=t&&t.serializer?t.serializer:M1e,o=t&&t.strategy?t.strategy:w1e;return o(e,{cache:n,serializer:r})}function b1e(e){return e==null||typeof e=="number"||typeof e=="boolean"}function zf(e,t,n,r){var o=b1e(r)?r:n(r),a=t.get(o);return typeof a>"u"&&(a=e.call(this,r),t.set(o,a)),a}function Uf(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),a=t.get(o);return typeof a>"u"&&(a=e.apply(this,r),t.set(o,a)),a}function O3(e,t,n,r,o){return n.bind(t,e,r,o)}function w1e(e,t){var n=e.length===1?zf:Uf;return O3(e,this,n,t.cache.create(),t.serializer)}function _1e(e,t){return O3(e,this,Uf,t.cache.create(),t.serializer)}function k1e(e,t){return O3(e,this,zf,t.cache.create(),t.serializer)}var M1e=function(){return JSON.stringify(arguments)};function I3(){this.cache=Object.create(null)}I3.prototype.get=function(e){return this.cache[e]};I3.prototype.set=function(e,t){this.cache[e]=t};var x1e={create:function(){return new I3}},mr={variadic:_1e,monadic:k1e},Er;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Er||(Er={}));var Bo=function(e){ur(t,e);function t(n,r,o){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=o,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),xu=function(e){ur(t,e);function t(n,r,o,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(o).join('", "'),'"'),Er.INVALID_VALUE,a)||this}return t}(Bo),S1e=function(e){ur(t,e);function t(n,r,o){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Er.INVALID_VALUE,o)||this}return t}(Bo),E1e=function(e){ur(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Er.MISSING_VALUE,r)||this}return t}(Bo),cn;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(cn||(cn={}));function A1e(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==cn.literal||n.type!==cn.literal?t.push(n):r.value+=n.value,t},[])}function L1e(e){return typeof e=="function"}function Ns(e,t,n,r,o,a,i){if(e.length===1&&Cu(e[0]))return[{type:cn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l[{path:"/404",name:"not-found",alias:"/:pathMatch(.*)*",meta:{title:"Item not found"},component:()=>be(()=>import("./AppNotFoundView-1b5f0d25.js"),[],import.meta.url)},{path:"/",name:"home",component:()=>be(()=>import("./MainOverviewView-65a81058.js"),[],import.meta.url)},...e];function Zae(e=""){return{baseGuiPath:"/gui",apiUrl:e,version:"2.3.0",product:"Kuma",mode:"global",environment:"universal",apiReadOnly:!1}}class $ae{constructor(t){lt(this,"env");let n=t;const r=(s,l="")=>this.var(s,(n==null?void 0:n[s])??l),o=this.getConfig(),a=Fae(r("KUMA_VERSION",o.version)),i=encodeURIComponent(r("KUMA_PRODUCT_NAME"));n={...n,KUMA_UTM_QUERY_PARAMS:`utm_source=${i}&utm_medium=${i}`},this.env={...n,KUMA_INSTALL_URL:`${r("KUMA_INSTALL_URL")}?${r("KUMA_UTM_QUERY_PARAMS")}`,KUMA_DOCS_URL:`${r("KUMA_DOCS_URL")}/${a.patch==="0.0.0"?"dev":a.patch.replace(/\.\d+$/,".x")}`,KUMA_VERSION:a.pre,KUMA_API_URL:r("KUMA_API_URL")||o.apiUrl,KUMA_BASE_PATH:r("KUMA_BASE_PATH")||o.baseGuiPath,KUMA_MODE:r("KUMA_MODE")||o.mode,KUMA_ENVIRONMENT:r("KUMA_ENVIRONMENT")||o.environment}}var(t,n=""){var r;return((r=this.env)==null?void 0:r[t])??n}getConfig(){const t=document.querySelector("#kuma-config");let n;if(t instanceof HTMLScriptElement&&t.textContent)try{n=JSON.parse(t.textContent.trim())}catch(r){console.error(r)}return n||(n=Zae(),console.error("Unable to parse kuma config. Falling back to defaults")),n.apiUrl=Rae(n.apiUrl),n}}function Af(e){return e.endsWith("/")?Af(e.slice(0,-1)):e}function Rae(e){return e=!e.includes("://")&&!e.startsWith("/")?`/${e}`:e,Af(e)}function Fae(e){const[t,n,...r]=e.split(".");if(isNaN(parseInt(t)))return{major:t,minor:t,patch:t,pre:t};const[o,a]=r.join(".").split("-");return{major:t,minor:`${t}.${n}`,patch:`${t}.${n}.${o}`,pre:`${t}.${n}.${o}${a!==void 0?`-${a}`:""}`}}var i7=function(e,t){return i7=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},i7(e,t)};function ur(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");i7(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Be=function(){return Be=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0}),n=[],r=0,o=t;r1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Qae,function(l,c,u,d,h,f){if(c)t.minimumIntegerDigits=u.length;else{if(d&&h)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Nf.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(yu.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(yu,function(l,c,u,d,h,f){return u==="*"?t.minimumFractionDigits=c.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:h&&f?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+f.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var a=o.options[0];a==="w"?t=Be(Be({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Be(Be({},t),bu(a)));continue}if(Pf.test(o.stem)){t=Be(Be({},t),bu(o.stem));continue}var i=Zf(o.stem);i&&(t=Be(Be({},t),i));var s=Xae(o.stem);s&&(t=Be(Be({},t),s))}return t}var vs={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function e1e(e,t){for(var n="",r=0;r>1),l="a",c=t1e(t);for((c=="H"||c=="k")&&(s=0);s-- >0;)n+=l;for(;i-- >0;)n=c+n}else o==="J"?n+="H":n+=o}return n}function t1e(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var o=vs[r||""]||vs[n||""]||vs["".concat(n,"-001")]||vs["001"];return o[0]}var w0,n1e=new RegExp("^".concat(Vf.source,"*")),r1e=new RegExp("".concat(Vf.source,"*$"));function et(e,t){return{start:e,end:t}}var o1e=!!String.prototype.startsWith,a1e=!!String.fromCodePoint,i1e=!!Object.fromEntries,s1e=!!String.prototype.codePointAt,l1e=!!String.prototype.trimStart,c1e=!!String.prototype.trimEnd,u1e=!!Number.isSafeInteger,d1e=u1e?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},l7=!0;try{var h1e=Rf("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");l7=((w0=h1e.exec("a"))===null||w0===void 0?void 0:w0[0])==="a"}catch{l7=!1}var _u=o1e?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},c7=a1e?String.fromCodePoint:function(){for(var e=[],t=0;to;){if(a=e[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},ku=i1e?Object.fromEntries:function(e){for(var t={},n=0,r=e;n=n)){var r=e.charCodeAt(t),o;return r<55296||r>56319||t+1===n||(o=e.charCodeAt(t+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},f1e=l1e?function(e){return e.trimStart()}:function(e){return e.replace(n1e,"")},p1e=c1e?function(e){return e.trimEnd()}:function(e){return e.replace(r1e,"")};function Rf(e,t){return new RegExp(e,t)}var u7;if(l7){var Mu=Rf("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");u7=function(e,t){var n;Mu.lastIndex=t;var r=Mu.exec(e);return(n=r[1])!==null&&n!==void 0?n:""}}else u7=function(e,t){for(var n=[];;){var r=$f(e,t);if(r===void 0||Ff(r)||C1e(r))break;n.push(r),t+=r>=65536?2:1}return c7.apply(void 0,n)};var m1e=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var o=[];!this.isEOF();){var a=this.char();if(a===123){var i=this.parseArgument(t,r);if(i.err)return i;o.push(i.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),o.push({type:gt.pound,location:et(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(Je.UNMATCHED_CLOSING_TAG,et(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&d7(this.peek()||0)){var i=this.parseTag(t,n);if(i.err)return i;o.push(i.val)}else{var i=this.parseLiteral(t,n);if(i.err)return i;o.push(i.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:gt.literal,value:"<".concat(o,"/>"),location:et(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var i=a.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:gt.tag,value:o,children:i,location:et(r,this.clonePosition())},err:null}:this.error(Je.INVALID_TAG,et(s,this.clonePosition())))}else return this.error(Je.UNCLOSED_TAG,et(r,this.clonePosition()))}else return this.error(Je.INVALID_TAG,et(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&g1e(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),o="";;){var a=this.tryParseQuote(n);if(a){o+=a;continue}var i=this.tryParseUnquoted(t,n);if(i){o+=i;continue}var s=this.tryParseLeftAngleBracket();if(s){o+=s;continue}break}var l=et(r,this.clonePosition());return{val:{type:gt.literal,value:o,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!v1e(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return c7.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),c7(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,et(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Je.EMPTY_ARGUMENT,et(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(Je.MALFORMED_ARGUMENT,et(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,et(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:gt.argument,value:o,location:et(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,et(r,this.clonePosition())):this.parseArgumentOptions(t,n,o,r);default:return this.error(Je.MALFORMED_ARGUMENT,et(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=u7(this.message,n),o=n+r.length;this.bumpTo(o);var a=this.clonePosition(),i=et(t,a);return{value:r,location:i}},e.prototype.parseArgumentOptions=function(t,n,r,o){var a,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(Je.EXPECT_ARGUMENT_TYPE,et(i,l));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var h=p1e(d.val);if(h.length===0)return this.error(Je.EXPECT_ARGUMENT_STYLE,et(this.clonePosition(),this.clonePosition()));var f=et(u,this.clonePosition());c={style:h,styleLocation:f}}var v=this.tryParseArgumentClose(o);if(v.err)return v;var _=et(o,this.clonePosition());if(c&&_u(c==null?void 0:c.style,"::",0)){var C=f1e(c.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(C,c.styleLocation);return d.err?d:{val:{type:gt.number,value:r,location:_,style:d.val},err:null}}else{if(C.length===0)return this.error(Je.EXPECT_DATE_TIME_SKELETON,_);var b=C;this.locale&&(b=e1e(C,this.locale));var h={type:s1.dateTime,pattern:b,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Yae(b):{}},w=s==="date"?gt.date:gt.time;return{val:{type:w,value:r,location:_,style:h},err:null}}}return{val:{type:s==="number"?gt.number:s==="date"?gt.date:gt.time,value:r,location:_,style:(a=c==null?void 0:c.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var g=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Je.EXPECT_SELECT_ARGUMENT_OPTIONS,et(g,Be({},g)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),B=0;if(s!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(Je.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,et(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(Je.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Je.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),k=this.parseIdentifierIfPossible(),B=d.val}var Z=this.tryParsePluralOrSelectOptions(t,s,n,k);if(Z.err)return Z;var v=this.tryParseArgumentClose(o);if(v.err)return v;var j=et(o,this.clonePosition());return s==="select"?{val:{type:gt.select,value:r,options:ku(Z.val),location:j},err:null}:{val:{type:gt.plural,value:r,options:ku(Z.val),offset:B,pluralType:s==="plural"?"cardinal":"ordinal",location:j},err:null}}default:return this.error(Je.INVALID_ARGUMENT_TYPE,et(i,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(Je.EXPECT_ARGUMENT_CLOSING_BRACE,et(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Je.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,et(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Wae(t)}catch{return this.error(Je.INVALID_NUMBER_SKELETON,n)}return{val:{type:s1.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Jae(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,o){for(var a,i=!1,s=[],l=new Set,c=o.value,u=o.location;;){if(c.length===0){var d=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(Je.EXPECT_PLURAL_ARGUMENT_SELECTOR,Je.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=et(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}else break}if(l.has(c))return this.error(n==="select"?Je.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Je.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);c==="other"&&(i=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?Je.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Je.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,et(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,n,r);if(v.err)return v;var _=this.tryParseArgumentClose(f);if(_.err)return _;s.push([c,{value:v.val,location:et(f,this.clonePosition())}]),l.add(c),this.bumpSpace(),a=this.parseIdentifierIfPossible(),c=a.value,u=a.location}return s.length===0?this.error(n==="select"?Je.EXPECT_SELECT_ARGUMENT_SELECTOR:Je.EXPECT_PLURAL_ARGUMENT_SELECTOR,et(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Je.MISSING_OTHER_CLAUSE,et(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,i=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,i=i*10+(s-48),this.bump();else break}var l=et(o,this.clonePosition());return a?(i*=r,d1e(i)?{val:i,err:null}:this.error(n,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=$f(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(_u(this.message,t,this.offset())){for(var n=0;n=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ff(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function d7(e){return e>=97&&e<=122||e>=65&&e<=90}function v1e(e){return d7(e)||e===47}function g1e(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ff(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function C1e(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function h7(e){e.forEach(function(t){if(delete t.location,Bf(t)||Hf(t))for(var n in t.options)delete t.options[n].location,h7(t.options[n].value);else Lf(t)&&If(t.style)||(Df(t)||Tf(t))&&s7(t.style)?delete t.style.location:Of(t)&&h7(t.children)})}function y1e(e,t){t===void 0&&(t={}),t=Be({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new m1e(e,t).parse();if(n.err){var r=SyntaxError(Je[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||h7(n.val),n.val}function pr(e,t){var n=t&&t.cache?t.cache:x1e,r=t&&t.serializer?t.serializer:M1e,o=t&&t.strategy?t.strategy:w1e;return o(e,{cache:n,serializer:r})}function b1e(e){return e==null||typeof e=="number"||typeof e=="boolean"}function zf(e,t,n,r){var o=b1e(r)?r:n(r),a=t.get(o);return typeof a>"u"&&(a=e.call(this,r),t.set(o,a)),a}function Uf(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),a=t.get(o);return typeof a>"u"&&(a=e.apply(this,r),t.set(o,a)),a}function O3(e,t,n,r,o){return n.bind(t,e,r,o)}function w1e(e,t){var n=e.length===1?zf:Uf;return O3(e,this,n,t.cache.create(),t.serializer)}function _1e(e,t){return O3(e,this,Uf,t.cache.create(),t.serializer)}function k1e(e,t){return O3(e,this,zf,t.cache.create(),t.serializer)}var M1e=function(){return JSON.stringify(arguments)};function I3(){this.cache=Object.create(null)}I3.prototype.get=function(e){return this.cache[e]};I3.prototype.set=function(e,t){this.cache[e]=t};var x1e={create:function(){return new I3}},mr={variadic:_1e,monadic:k1e},Er;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Er||(Er={}));var Bo=function(e){ur(t,e);function t(n,r,o){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=o,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),xu=function(e){ur(t,e);function t(n,r,o,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(o).join('", "'),'"'),Er.INVALID_VALUE,a)||this}return t}(Bo),S1e=function(e){ur(t,e);function t(n,r,o){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Er.INVALID_VALUE,o)||this}return t}(Bo),E1e=function(e){ur(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Er.MISSING_VALUE,r)||this}return t}(Bo),cn;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(cn||(cn={}));function A1e(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==cn.literal||n.type!==cn.literal?t.push(n):r.value+=n.value,t},[])}function L1e(e){return typeof e=="function"}function Ns(e,t,n,r,o,a,i){if(e.length===1&&Cu(e[0]))return[{type:cn.literal,value:e[0].value}];for(var s=[],l=0,c=e;l"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=y1e,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),ca;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(ca||(ca={}));var Wi=function(e){ur(t,e);function t(n,r,o){var a=this,i=o?o instanceof Error?o:new Error(String(o)):void 0;return a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,` `).concat(i?` @@ -625,4 +625,4 @@ Try polyfilling it using "@formatjs/intl-pluralrules" Try polyfilling it using "@formatjs/intl-relativetimeformat" `,Er.MISSING_INTL_API));try{return eie(e,t,o).format(n,r)}catch(i){e.onError(new qn("Error formatting relative time.",e.locale,i))}return String(n)}var nie=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Wf(e,t,n){var r=e.locale,o=e.formats,a=e.onError;n===void 0&&(n={});var i=n.format,s=i&&V3(o,"number",i,a)||{},l=ga(n,nie,s);return t(r,l)}function rie(e,t,n,r){r===void 0&&(r={});try{return Wf(e,t,r).format(n)}catch(o){e.onError(new qn("Error formatting number.",e.locale,o))}return String(n)}function oie(e,t,n,r){r===void 0&&(r={});try{return Wf(e,t,r).formatToParts(n)}catch(o){e.onError(new qn("Error formatting number.",e.locale,o))}return[]}function aie(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function iie(e){e.onWarn&&e.defaultRichTextElements&&aie(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. Please consider using "@formatjs/cli" to pre-compile your messages for performance. -For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function sie(e,t){var n=Z1e(t),r=Be(Be({},N1e),e),o=r.locale,a=r.defaultLocale,i=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new Su('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new Su('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(i&&i(new O1e('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),iie(r),Be(Be({},r),{formatters:n,formatNumber:rie.bind(null,r,n.getNumberFormat),formatNumberToParts:oie.bind(null,r,n.getNumberFormat),formatRelativeTime:tie.bind(null,r,n.getRelativeTimeFormat),formatDate:R1e.bind(null,r,n.getDateTimeFormat),formatDateToParts:U1e.bind(null,r,n.getDateTimeFormat),formatTime:F1e.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:z1e.bind(null,r,n.getDateTimeFormat),formatTimeToParts:j1e.bind(null,r,n.getDateTimeFormat),formatPlural:X1e.bind(null,r,n.getPluralRules),formatMessage:Lu.bind(null,r,n),$t:Lu.bind(null,r,n),formatList:q1e.bind(null,r,n.getListFormat),formatListToParts:Kf.bind(null,r,n.getListFormat),formatDisplayName:Y1e.bind(null,r,n.getDisplayNames)})}var lie=Di;Di.flatten=Di;Di.unflatten=Xf;function qf(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Qf(e){return e}function Di(e,t){t=t||{};const n=t.delimiter||".",r=t.maxDepth,o=t.transformKey||Qf,a={};function i(s,l,c){c=c||1,Object.keys(s).forEach(function(u){const d=s[u],h=t.safe&&Array.isArray(d),f=Object.prototype.toString.call(d),v=qf(d),_=f==="[object Object]"||f==="[object Array]",C=l?l+n+o(u):o(u);if(!h&&!v&&_&&Object.keys(d).length&&(!t.maxDepth||c0&&(d=i(u.shift()),h=i(u[0]))}f[d]=Xf(e[c],t)}),a}const cie=Gf(),uie=(e,t,n=!1)=>{const r=sie({...typeof n=="boolean"?null:n,locale:e,messages:lie.flatten(t,{safe:!0})},cie),{$t:o,...a}=r,i=a,s=c=>{const u="Invalid Date";if(!c)return u;try{const d=new Date(c*1e3);return i.formatDate(d,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"})}catch{return u}},l={formatUnixTimeStamp:s,formatIsoDate:c=>{const u=Date.parse(c)/1e3;return s(u)},t:(c,u,d)=>i.formatMessage({id:c},u,d),te:c=>!!i.messages[c],tm:c=>i.messages[c]||[],...i,source:t};return typeof n=="boolean"&&n===!0||typeof n!="boolean"&&n.isGlobal,l};function die(e){const t=e.split(/([A-Z][a-z]+)/).join(" ").replace(/\s+/g," ").trim();return t.charAt(0).toUpperCase()+t.substring(1)}class Tu extends Error{get key(){return this.message}}const hie=(e,t)=>{const n=uie("en-us",e,!0);return{...n,t:function(...r){const o=r[0];try{if(typeof H3(e,o)>"u")throw o.startsWith("http.api.")?new Tu(o):new Error(`Missing message: "${o}" for locale "en-us", using id as fallback`);return r[1]={KUMA_DOCS_URL:t("KUMA_DOCS_URL"),KUMA_UTM_QUERY_PARAMS:t("KUMA_UTM_QUERY_PARAMS"),...r[1]},n.t(...r)}catch(a){switch(!0){case a instanceof Tu:return die(a.key.split(".").pop());default:throw a}}}}};class fie{constructor(t,n){this.client=t,this.env=n}get baseUrl(){return this.client.baseUrl}}class pie extends fie{async getLatestVersion(){return this.client.get(this.env("KUMA_VERSION_URL"))}getConfig(){return this.client.get("/config")}getPolicyTypes(){return this.client.get("/policies")}getGlobalInsights(){return this.client.get("/global-insights")}getZones(t){return this.client.get("/zones",{params:t})}getZone({name:t},n){return this.client.get(`/zones/${t}`,{params:n})}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+insights",{params:t})}getZoneOverview({name:t},n){return this.client.get(`/zones+insights/${t}`,{params:n})}getZoneIngress({name:t},n){return this.client.get(`/zoneingresses/${t}`,{params:n})}getZoneIngressData({zoneIngressName:t,dataPath:n},r){return this.client.get(`/zoneingresses/${t}/${n}`,{params:r})}getAllZoneIngressOverviews(t){return this.client.get("/zoneingresses+insights",{params:t})}getZoneIngressOverview({name:t},n){return this.client.get(`/zoneingresses+insights/${t}`,{params:n})}getZoneEgress({name:t},n){return this.client.get(`/zoneegresses/${t}`,{params:n})}getZoneEgressData({zoneEgressName:t,dataPath:n},r){return this.client.get(`/zoneegresses/${t}/${n}`,{params:r})}getAllZoneEgressOverviews(t){return this.client.get("/zoneegressoverviews",{params:t})}getZoneEgressOverview({name:t},n){return this.client.get(`/zoneegressoverviews/${t}`,{params:n})}getAllMeshes(t){return this.client.get("/meshes",{params:t})}getMesh({name:t},n){return this.client.get(`/meshes/${t}`,{params:n})}getAllMeshInsights(t){return this.client.get("/mesh-insights",{params:t})}getMeshInsights({name:t},n){return this.client.get(`/mesh-insights/${t}`,{params:n})}getAllDataplanes(t){return this.client.get("/dataplanes",{params:t})}getDataplaneFromMesh({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/dataplanes/${n}`,{params:r})}getAllDataplaneOverviews(t){return this.client.get("/dataplanes+insights",{params:t})}getAllDataplaneOverviewsFromMesh({mesh:t},n){return this.client.get(`/meshes/${t}/dataplanes+insights`,{params:n})}getDataplaneOverviewFromMesh({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/dataplanes+insights/${n}`,{params:r})}getSidecarDataplanePolicies({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/dataplanes/${n}/policies`,{params:r})}getMeshGatewayDataplane({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/dataplanes/${n}/policies`,{params:r})}getDataplaneRules({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/dataplanes/${n}/rules`,{params:r})}getDataplaneData({mesh:t,dppName:n,dataPath:r},o){return this.client.get(`/meshes/${t}/dataplanes/${n}/${r}`,{params:o})}getAllServiceInsights(t){return this.client.get("/service-insights",{params:t})}getAllServiceInsightsFromMesh({mesh:t},n){return this.client.get(`/meshes/${t}/service-insights`,{params:n})}getServiceInsight({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/service-insights/${n}`,{params:r})}getAllExternalServices(t){return this.client.get("/external-services",{params:t})}getAllExternalServicesFromMesh({mesh:t},n){return this.client.get(`/meshes/${t}/external-services`,{params:n})}getExternalService({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/external-services/${n}`,{params:r})}async getExternalServiceByServiceInsightName(t,n){const{items:r}=await this.getAllExternalServicesFromMesh({mesh:t},{name:n});return Array.isArray(r)?r.find(a=>a.tags["kuma.io/service"]===n)??null:null}getPolicyConnections({mesh:t,path:n,name:r},o){return this.client.get(`/meshes/${t}/${n}/${r}/dataplanes`,{params:o})}getAllPolicyEntitiesFromMesh({mesh:t,path:n},r){return this.client.get(`/meshes/${t}/${n}`,{params:r})}getSinglePolicyEntity({mesh:t,path:n,name:r},o){return this.client.get(`/meshes/${t}/${n}/${r}`,{params:o})}}async function mie(e,t={},n){var u;const r=t,o=r.method??"GET";r.headers=r.headers instanceof Headers?r.headers:new Headers(r.headers),!r.headers.has("content-type")&&["POST","PUT","PATCH"].includes(o)&&r.headers.set("content-type","application/json");let a=e;"params"in t&&t.params!==void 0&&o==="GET"&&(a+=`?${new URLSearchParams(t.params).toString()}`),n!==void 0&&((u=r.headers.get("content-type"))!=null&&u.startsWith("application/json")?r.body=JSON.stringify(n):r.body=n);let i;try{i=await fetch(a,r)}catch(d){throw vie(d)}const s=i.headers.get("content-type"),c=(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:c};throw gie(i,c)}function vie(e){const t=e instanceof Error?e.message:"An unknown network error occurred.";return new Error(t)}function gie(e,t){const n=e.status;let r,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"&&(r=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)),n===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 Os({status:n,type:r,title:o,detail:a,instance:i,invalidParameters:s})}class Cie{constructor(t){this.env=t}get baseUrl(){return this.env("KUMA_API_URL")}async get(t,n){const{data:r}=await this.raw(t,void 0,n,"GET");return r}async delete(t,n){await this.raw(t,void 0,n,"DELETE")}async post(t,n,r){const{data:o}=await this.raw(t,n,r,"POST");return o}async put(t,n,r){const{data:o}=await this.raw(t,n,r,"PUT");return o}async patch(t,n,r){const{data:o}=await this.raw(t,n,r,"PATCH");return o}async raw(t,n,r={},o="GET"){const a=Bu(r);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[c,u]of l)i.set(c,u)}Object.keys(i).length>0&&(a.headers=i);const s=Bu(a);return mie(`${t.startsWith("http")?"":this.baseUrl}${t}`,s,n)}}function Bu(e){const t=e??{};if(t.params&&!Array.isArray(t.params)){const n=[];for(const[r,o]of Object.entries(t.params))if(o!==void 0)if(Array.isArray(o))for(const a of o)n.push([r,a]);else n.push([r,o]);t.params=n}return t}class yie{constructor(t){lt(this,"storageAdapter");this.storageAdapter=t}get(t){let n;try{n=this.storageAdapter.getItem(t)}catch{return null}if(n===null||!(n.startsWith("[")||n.startsWith("{")))return n;try{return JSON.parse(n)}catch{return n}}set(t,n){try{const r=typeof n=="string"?n:JSON.stringify(n);this.storageAdapter.setItem(t,r)}catch{}}has(t){try{return this.storageAdapter.getItem(t)!==null}catch{return!1}}remove(t){try{this.storageAdapter.removeItem(t)}catch{}}}const hi=new yie(window.localStorage),bie={isCompleted:hi.get("onboardingIsCompleted")==="true",step:hi.get("onboardingStep")||"onboarding-welcome",mode:"demo"},wie={SET_STEP:(e,t)=>e.step=t,SET_IS_COMPLETED:(e,t)=>e.isCompleted=t,UPDATE_MODE:(e,t)=>e.mode=t},_ie={completeOnboarding({commit:e}){e("SET_IS_COMPLETED",!0),hi.set("onboardingIsCompleted","true"),hi.remove("onboardingStep")},changeStep({commit:e},t){e("SET_STEP",t),hi.set("onboardingStep",t)},changeMode({commit:e},t){e("UPDATE_MODE",t)}},kie={namespaced:!0,state:()=>bie,mutations:wie,actions:_ie},Mie=()=>({modules:{onboarding:kie}}),xie={...hoe,...Pr},Sie=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.Env,{service:$ae,arguments:[e.EnvVars]}],[e.env,{service:()=>(...t)=>Hi(e.Env).var(...t)}],[e.i18n,{service:hie,arguments:[e.enUs,e.env]}],[e.kumaEnUs,{constant:Pae,labels:[e.enUs]}],[e.httpClient,{service:Cie,arguments:[e.env]}],[e.dataSourceLifecycle,{constant:Yoe}],[e.getDataSourceCacheKeyPrefix,{service:()=>()=>"",arguments:[e.router]}],[e.dataSourcePool,{service:$oe,arguments:[e.sources,e.dataSourceLifecycle,e.getDataSourceCacheKeyPrefix]}],[e.api,{service:pie,arguments:[e.httpClient,e.env]}],[e.logger,{service:sy}],[e.store,{service:()=>oy(Mie())}],[e.router,{service:(t,n,r)=>{const o=ZC({history:tC(t("KUMA_BASE_PATH")),routes:n});return r.forEach(a=>{typeof a=="function"&&o.beforeEach(a)}),o},arguments:[e.env,e.routes,e.navigationGuards]}],[e.guards,{service:()=>[],labels:[e.navigationGuards]}],[e.nav,{service:t=>oae(t("use zones")),arguments:[e.can]}],[e.app,{service:AJ,arguments:[e.store,e.router,e.components]}],[e.routes,{service:Nae,arguments:[e.routesLabel]}],[e.meshRoutes,{service:cae,arguments:[e.serviceRoutes,e.gatewayRoutes,e.dataplaneRoutes,e.policyRoutes],labels:[e.routesLabel]}],[e.dataplaneRoutes,{service:Qoe}],[e.gatewayRoutes,{service:tae}],[e.serviceRoutes,{service:gae}],[e.policyRoutes,{service:fae}],[e.zoneRoutes,{service:kae,arguments:[nn([...{}.VITE_ZONE_CREATION_FLOW==="enabled"?_ae():[]],{description:"kuma.zone.action.routes"})],labels:[e.routesLabel]}],...doe(e),...sae(e),...Mae(e),...dae(e),...yae(e),...Joe(e),...rae(e),...mae(e)],uo=xie;async function Eie(){(await zp(Sie(uo),jp({...uo,routes:uo.routesLabel}),Qp({...uo,routes:uo.routesLabel}),Kp({...uo,routes:uo.routesLabel}),[])(uo.app)((await be(()=>import("./App-164e8152.js"),["./App-8dc50ba3.css"],import.meta.url)).default)).mount("#app")}Eie();export{Hi as $,toe as A,pn as B,noe as C,H as D,hu as E,ke as F,Xe as G,Ae as H,Rie as I,Fie as J,D3 as K,Vt as L,T3 as M,Vq as N,Nie as O,$ie as P,Zie as Q,TJ as R,sr as S,aa as T,$ as U,ir as V,Rh as W,nr as X,Hee as Y,xt as Z,coe as _,Uie as a,uo as a0,Ue as a1,yte as a2,Ao as a3,Pie as a4,na as a5,of as a6,Sh as a7,Tie as a8,fl as a9,Die as aA,Hie as aB,Os as aC,Jr as aD,$i as aE,OK as aF,Ih as aG,Dq as aH,Oee as aI,C2 as aJ,qie as aK,RC as aa,Cte as ab,Yie as ac,Vie as ad,Hs as ae,f1 as af,t2 as ag,U9 as ah,qo as ai,Fn as aj,Lie as ak,xp as al,hi as am,yt as an,_S as ao,qQ as ap,pte as aq,_n as ar,Na as as,J6 as at,Aee as au,De as av,Bie as aw,zs as ax,kg as ay,Eee as az,jie as b,Gie as c,ne as d,ql as e,T as f,Q as g,V as h,E as i,x as j,P as k,y as l,p as m,Do as n,m as o,Li as p,Gt as q,jt as r,Ste as s,G as t,zie as u,ht as v,A as w,X as x,Oi as y,fn as z}; +For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function sie(e,t){var n=Z1e(t),r=Be(Be({},N1e),e),o=r.locale,a=r.defaultLocale,i=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new Su('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new Su('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(i&&i(new O1e('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),iie(r),Be(Be({},r),{formatters:n,formatNumber:rie.bind(null,r,n.getNumberFormat),formatNumberToParts:oie.bind(null,r,n.getNumberFormat),formatRelativeTime:tie.bind(null,r,n.getRelativeTimeFormat),formatDate:R1e.bind(null,r,n.getDateTimeFormat),formatDateToParts:U1e.bind(null,r,n.getDateTimeFormat),formatTime:F1e.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:z1e.bind(null,r,n.getDateTimeFormat),formatTimeToParts:j1e.bind(null,r,n.getDateTimeFormat),formatPlural:X1e.bind(null,r,n.getPluralRules),formatMessage:Lu.bind(null,r,n),$t:Lu.bind(null,r,n),formatList:q1e.bind(null,r,n.getListFormat),formatListToParts:Kf.bind(null,r,n.getListFormat),formatDisplayName:Y1e.bind(null,r,n.getDisplayNames)})}var lie=Di;Di.flatten=Di;Di.unflatten=Xf;function qf(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Qf(e){return e}function Di(e,t){t=t||{};const n=t.delimiter||".",r=t.maxDepth,o=t.transformKey||Qf,a={};function i(s,l,c){c=c||1,Object.keys(s).forEach(function(u){const d=s[u],h=t.safe&&Array.isArray(d),f=Object.prototype.toString.call(d),v=qf(d),_=f==="[object Object]"||f==="[object Array]",C=l?l+n+o(u):o(u);if(!h&&!v&&_&&Object.keys(d).length&&(!t.maxDepth||c0&&(d=i(u.shift()),h=i(u[0]))}f[d]=Xf(e[c],t)}),a}const cie=Gf(),uie=(e,t,n=!1)=>{const r=sie({...typeof n=="boolean"?null:n,locale:e,messages:lie.flatten(t,{safe:!0})},cie),{$t:o,...a}=r,i=a,s=c=>{const u="Invalid Date";if(!c)return u;try{const d=new Date(c*1e3);return i.formatDate(d,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"})}catch{return u}},l={formatUnixTimeStamp:s,formatIsoDate:c=>{const u=Date.parse(c)/1e3;return s(u)},t:(c,u,d)=>i.formatMessage({id:c},u,d),te:c=>!!i.messages[c],tm:c=>i.messages[c]||[],...i,source:t};return typeof n=="boolean"&&n===!0||typeof n!="boolean"&&n.isGlobal,l};function die(e){const t=e.split(/([A-Z][a-z]+)/).join(" ").replace(/\s+/g," ").trim();return t.charAt(0).toUpperCase()+t.substring(1)}class Tu extends Error{get key(){return this.message}}const hie=(e,t)=>{const n=uie("en-us",e,!0);return{...n,t:function(...r){const o=r[0];try{if(typeof H3(e,o)>"u")throw o.startsWith("http.api.")?new Tu(o):new Error(`Missing message: "${o}" for locale "en-us", using id as fallback`);return r[1]={KUMA_DOCS_URL:t("KUMA_DOCS_URL"),KUMA_UTM_QUERY_PARAMS:t("KUMA_UTM_QUERY_PARAMS"),...r[1]},n.t(...r)}catch(a){switch(!0){case a instanceof Tu:return die(a.key.split(".").pop());default:throw a}}}}};class fie{constructor(t,n){this.client=t,this.env=n}get baseUrl(){return this.client.baseUrl}}class pie extends fie{async getLatestVersion(){return this.client.get(this.env("KUMA_VERSION_URL"))}getConfig(){return this.client.get("/config")}getPolicyTypes(){return this.client.get("/policies")}getGlobalInsights(){return this.client.get("/global-insights")}getZones(t){return this.client.get("/zones",{params:t})}getZone({name:t},n){return this.client.get(`/zones/${t}`,{params:n})}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+insights",{params:t})}getZoneOverview({name:t},n){return this.client.get(`/zones+insights/${t}`,{params:n})}getZoneIngress({name:t},n){return this.client.get(`/zoneingresses/${t}`,{params:n})}getZoneIngressData({zoneIngressName:t,dataPath:n},r){return this.client.get(`/zoneingresses/${t}/${n}`,{params:r})}getAllZoneIngressOverviews(t){return this.client.get("/zoneingresses+insights",{params:t})}getZoneIngressOverview({name:t},n){return this.client.get(`/zoneingresses+insights/${t}`,{params:n})}getZoneEgress({name:t},n){return this.client.get(`/zoneegresses/${t}`,{params:n})}getZoneEgressData({zoneEgressName:t,dataPath:n},r){return this.client.get(`/zoneegresses/${t}/${n}`,{params:r})}getAllZoneEgressOverviews(t){return this.client.get("/zoneegressoverviews",{params:t})}getZoneEgressOverview({name:t},n){return this.client.get(`/zoneegressoverviews/${t}`,{params:n})}getAllMeshes(t){return this.client.get("/meshes",{params:t})}getMesh({name:t},n){return this.client.get(`/meshes/${t}`,{params:n})}getAllMeshInsights(t){return this.client.get("/mesh-insights",{params:t})}getMeshInsights({name:t},n){return this.client.get(`/mesh-insights/${t}`,{params:n})}getAllDataplanes(t){return this.client.get("/dataplanes",{params:t})}getDataplaneFromMesh({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/dataplanes/${n}`,{params:r})}getAllDataplaneOverviews(t){return this.client.get("/dataplanes+insights",{params:t})}getAllDataplaneOverviewsFromMesh({mesh:t},n){return this.client.get(`/meshes/${t}/dataplanes+insights`,{params:n})}getDataplaneOverviewFromMesh({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/dataplanes+insights/${n}`,{params:r})}getSidecarDataplanePolicies({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/dataplanes/${n}/policies`,{params:r})}getMeshGatewayDataplane({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/dataplanes/${n}/policies`,{params:r})}getDataplaneRules({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/dataplanes/${n}/rules`,{params:r})}getDataplaneData({mesh:t,dppName:n,dataPath:r},o){return this.client.get(`/meshes/${t}/dataplanes/${n}/${r}`,{params:o})}getAllServiceInsights(t){return this.client.get("/service-insights",{params:t})}getAllServiceInsightsFromMesh({mesh:t},n){return this.client.get(`/meshes/${t}/service-insights`,{params:n})}getServiceInsight({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/service-insights/${n}`,{params:r})}getAllExternalServices(t){return this.client.get("/external-services",{params:t})}getAllExternalServicesFromMesh({mesh:t},n){return this.client.get(`/meshes/${t}/external-services`,{params:n})}getExternalService({mesh:t,name:n},r){return this.client.get(`/meshes/${t}/external-services/${n}`,{params:r})}async getExternalServiceByServiceInsightName(t,n){const{items:r}=await this.getAllExternalServicesFromMesh({mesh:t},{name:n});return Array.isArray(r)?r.find(a=>a.tags["kuma.io/service"]===n)??null:null}getPolicyConnections({mesh:t,path:n,name:r},o){return this.client.get(`/meshes/${t}/${n}/${r}/dataplanes`,{params:o})}getAllPolicyEntitiesFromMesh({mesh:t,path:n},r){return this.client.get(`/meshes/${t}/${n}`,{params:r})}getSinglePolicyEntity({mesh:t,path:n,name:r},o){return this.client.get(`/meshes/${t}/${n}/${r}`,{params:o})}}async function mie(e,t={},n){var u;const r=t,o=r.method??"GET";r.headers=r.headers instanceof Headers?r.headers:new Headers(r.headers),!r.headers.has("content-type")&&["POST","PUT","PATCH"].includes(o)&&r.headers.set("content-type","application/json");let a=e;"params"in t&&t.params!==void 0&&o==="GET"&&(a+=`?${new URLSearchParams(t.params).toString()}`),n!==void 0&&((u=r.headers.get("content-type"))!=null&&u.startsWith("application/json")?r.body=JSON.stringify(n):r.body=n);let i;try{i=await fetch(a,r)}catch(d){throw vie(d)}const s=i.headers.get("content-type"),c=(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:c};throw gie(i,c)}function vie(e){const t=e instanceof Error?e.message:"An unknown network error occurred.";return new Error(t)}function gie(e,t){const n=e.status;let r,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"&&(r=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)),n===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 Os({status:n,type:r,title:o,detail:a,instance:i,invalidParameters:s})}class Cie{constructor(t){this.env=t}get baseUrl(){return this.env("KUMA_API_URL")}async get(t,n){const{data:r}=await this.raw(t,void 0,n,"GET");return r}async delete(t,n){await this.raw(t,void 0,n,"DELETE")}async post(t,n,r){const{data:o}=await this.raw(t,n,r,"POST");return o}async put(t,n,r){const{data:o}=await this.raw(t,n,r,"PUT");return o}async patch(t,n,r){const{data:o}=await this.raw(t,n,r,"PATCH");return o}async raw(t,n,r={},o="GET"){const a=Bu(r);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[c,u]of l)i.set(c,u)}Object.keys(i).length>0&&(a.headers=i);const s=Bu(a);return mie(`${t.startsWith("http")?"":this.baseUrl}${t}`,s,n)}}function Bu(e){const t=e??{};if(t.params&&!Array.isArray(t.params)){const n=[];for(const[r,o]of Object.entries(t.params))if(o!==void 0)if(Array.isArray(o))for(const a of o)n.push([r,a]);else n.push([r,o]);t.params=n}return t}class yie{constructor(t){lt(this,"storageAdapter");this.storageAdapter=t}get(t){let n;try{n=this.storageAdapter.getItem(t)}catch{return null}if(n===null||!(n.startsWith("[")||n.startsWith("{")))return n;try{return JSON.parse(n)}catch{return n}}set(t,n){try{const r=typeof n=="string"?n:JSON.stringify(n);this.storageAdapter.setItem(t,r)}catch{}}has(t){try{return this.storageAdapter.getItem(t)!==null}catch{return!1}}remove(t){try{this.storageAdapter.removeItem(t)}catch{}}}const hi=new yie(window.localStorage),bie={isCompleted:hi.get("onboardingIsCompleted")==="true",step:hi.get("onboardingStep")||"onboarding-welcome",mode:"demo"},wie={SET_STEP:(e,t)=>e.step=t,SET_IS_COMPLETED:(e,t)=>e.isCompleted=t,UPDATE_MODE:(e,t)=>e.mode=t},_ie={completeOnboarding({commit:e}){e("SET_IS_COMPLETED",!0),hi.set("onboardingIsCompleted","true"),hi.remove("onboardingStep")},changeStep({commit:e},t){e("SET_STEP",t),hi.set("onboardingStep",t)},changeMode({commit:e},t){e("UPDATE_MODE",t)}},kie={namespaced:!0,state:()=>bie,mutations:wie,actions:_ie},Mie=()=>({modules:{onboarding:kie}}),xie={...hoe,...Pr},Sie=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.Env,{service:$ae,arguments:[e.EnvVars]}],[e.env,{service:()=>(...t)=>Hi(e.Env).var(...t)}],[e.i18n,{service:hie,arguments:[e.enUs,e.env]}],[e.kumaEnUs,{constant:Pae,labels:[e.enUs]}],[e.httpClient,{service:Cie,arguments:[e.env]}],[e.dataSourceLifecycle,{constant:Yoe}],[e.getDataSourceCacheKeyPrefix,{service:()=>()=>"",arguments:[e.router]}],[e.dataSourcePool,{service:$oe,arguments:[e.sources,e.dataSourceLifecycle,e.getDataSourceCacheKeyPrefix]}],[e.api,{service:pie,arguments:[e.httpClient,e.env]}],[e.logger,{service:sy}],[e.store,{service:()=>oy(Mie())}],[e.router,{service:(t,n,r)=>{const o=ZC({history:tC(t("KUMA_BASE_PATH")),routes:n});return r.forEach(a=>{typeof a=="function"&&o.beforeEach(a)}),o},arguments:[e.env,e.routes,e.navigationGuards]}],[e.guards,{service:()=>[],labels:[e.navigationGuards]}],[e.nav,{service:t=>oae(t("use zones")),arguments:[e.can]}],[e.app,{service:AJ,arguments:[e.store,e.router,e.components]}],[e.routes,{service:Nae,arguments:[e.routesLabel]}],[e.meshRoutes,{service:cae,arguments:[e.serviceRoutes,e.gatewayRoutes,e.dataplaneRoutes,e.policyRoutes],labels:[e.routesLabel]}],[e.dataplaneRoutes,{service:Qoe}],[e.gatewayRoutes,{service:tae}],[e.serviceRoutes,{service:gae}],[e.policyRoutes,{service:fae}],[e.zoneRoutes,{service:kae,arguments:[nn([...{}.VITE_ZONE_CREATION_FLOW==="enabled"?_ae():[]],{description:"kuma.zone.action.routes"})],labels:[e.routesLabel]}],...doe(e),...sae(e),...Mae(e),...dae(e),...yae(e),...Joe(e),...rae(e),...mae(e)],uo=xie;async function Eie(){(await zp(Sie(uo),jp({...uo,routes:uo.routesLabel}),Qp({...uo,routes:uo.routesLabel}),Kp({...uo,routes:uo.routesLabel}),[])(uo.app)((await be(()=>import("./App-c7a418f8.js"),["./App-8dc50ba3.css"],import.meta.url)).default)).mount("#app")}Eie();export{Hi as $,toe as A,pn as B,noe as C,H as D,hu as E,ke as F,Xe as G,Ae as H,Rie as I,Fie as J,D3 as K,Vt as L,T3 as M,Vq as N,Nie as O,$ie as P,Zie as Q,TJ as R,sr as S,aa as T,$ as U,ir as V,Rh as W,nr as X,Hee as Y,xt as Z,coe as _,Uie as a,uo as a0,Ue as a1,yte as a2,Ao as a3,Pie as a4,na as a5,of as a6,Sh as a7,Tie as a8,fl as a9,Die as aA,Hie as aB,Os as aC,Jr as aD,$i as aE,OK as aF,Ih as aG,Dq as aH,Oee as aI,C2 as aJ,qie as aK,RC as aa,Cte as ab,Yie as ac,Vie as ad,Hs as ae,f1 as af,t2 as ag,U9 as ah,qo as ai,Fn as aj,Lie as ak,xp as al,hi as am,yt as an,_S as ao,qQ as ap,pte as aq,_n as ar,Na as as,J6 as at,Aee as au,De as av,Bie as aw,zs as ax,kg as ay,Eee as az,jie as b,Gie as c,ne as d,ql as e,T as f,Q as g,V as h,E as i,x as j,P as k,y as l,p as m,Do as n,m as o,Li as p,Gt as q,jt as r,Ste as s,G as t,zie as u,ht as v,A as w,X as x,Oi as y,fn as z}; diff --git a/app/kuma-ui/pkg/resources/data/index.html b/app/kuma-ui/pkg/resources/data/index.html index 030338815c1b..d46987a66bc0 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 diff --git a/app/kuma-ui/pkg/resources/data/mockServiceWorker.js b/app/kuma-ui/pkg/resources/data/mockServiceWorker.js index d8bc3ace3414..36a99274578d 100644 --- a/app/kuma-ui/pkg/resources/data/mockServiceWorker.js +++ b/app/kuma-ui/pkg/resources/data/mockServiceWorker.js @@ -2,7 +2,7 @@ /* tslint:disable */ /** - * Mock Service Worker (1.3.0). + * Mock Service Worker (1.2.3). * @see https://github.com/mswjs/msw * - Please do NOT modify this file. * - Please do NOT serve this file on production.